2008-10-10 Alexander Sack <asac@ubuntu.com>
[NetworkManager.git] / ChangeLog
1 2008-10-10  Alexander Sack  <asac@ubuntu.com>
2
3         Add support to track network devices that have a configuration
4         with a matching interface.name in /etc/network/interfaces
5
6         * system-settings/plugins/ifupdown/plugin.c
7                 - (typedef struct SCPluginIfupdownPrivate): add hash table
8                         to track |well_known_udis|
9                 - (get_iface_for_udi): helper function to get interface.name
10                         for a udi
11                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
12                         that add and remove devices to and from the well_known_udis
13                         set depending on whether their |interface.name| matches
14                         any interface definition in /etc/network/interfaces
15                 - (SCPluginIfupdown_init): connect callbacks from above with
16                         hal_mgr and setup well_known_udis hashtable
17                 - (GObject__dispose): destroy well_known_udis hashtable
18                 - (hal_device_added_cb2): implement wrapper callback with GFunc
19                         signature. user_data is supposed to be a triple (hal_mgr,
20                         config and devtype)
21                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
22                         startup and call hal_device_added_cb2
23
24 2008-10-10  Alexander Sack  <asac@ubuntu.com>
25
26         Remove implementation for not used NMSystemConfigInterface callback functions
27         in ifupdown plugin
28
29         * system-settings/plugins/ifupdown/plugin.c
30                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
31                 - (SCPluginIfupdown_connection_added): removed
32
33 2008-10-08  Dan Williams  <dcbw@redhat.com>
34
35         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
36
37         * src/NetworkManagerUtils.c
38                 - (nm_utils_call_dispatcher): add a 'hostname' action
39
40         * src/NetworkManagerPolicy.c
41                 - (set_system_hostname): dispatch hostname changes
42
43         * callouts/nm-dispatcher-action.c
44                 - (nm_dispatcher_action): handle 'hostname' actions
45
46 2008-10-08  Dan Williams  <dcbw@redhat.com>
47
48         * src/NetworkManagerSystem.c
49                 - (find_route): ref the route so it doesn't get destroyed when the cache
50                         is cleared
51                 - (nm_system_device_set_priority): unref the route here after it's done
52                         being used
53
54 2008-10-08  Dan Williams  <dcbw@redhat.com>
55
56         * src/nm-serial-device.c
57                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
58
59 2008-10-08  Tambet Ingo  <tambet@gmail.com>
60
61         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
62         connection with new settings before saving it.
63
64 2008-10-06  Dan Williams  <dcbw@redhat.com>
65
66         * src/nm-ip4-config.c
67           src/nm-ip4-config.h
68                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
69
70         * src/nm-device-interface.c
71                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
72                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
73                         by using '/' for the object path
74
75         * src/nm-device.c
76                 - (src/nm-device.c): marshal missing/unexported ip4-config through
77                         dbus as '/' since dbus-glib can't handle NULL objects nor can
78                         dbus handle NULL object paths
79
80 2008-10-03  Alexander Sack  <asac@ubuntu.com>
81
82         Implement system hostname support for debian/ubuntu
83
84         * system-settings/plugins/ifupdown/plugin.c
85                 - (GObject__get_property): extend announced capabilities; add
86                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
87                 - (GObject__set_property,write_system_hostname): implement
88                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
89                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
90                    update_system_hostname, get_hostname):
91                         implement hostname property that watches and
92                         parses /etc/hostname
93
94 2008-10-03  Alexander Sack  <asac@ubuntu.com>
95
96         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
97           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
98           system-settings/plugins/ifcfg-fedora/Makefile.am
99           system-settings/src/nm-inotify-helper.c
100           system-settings/src/nm-inotify-helper.h
101           src/Makefile.am
102                 - Move ifcfg-fedora inotify helpers to the system settings service so
103                         they are available to all plugins
104
105 2008-10-03  Alexander Sack  <asac@ubuntu.com>
106
107         Implement support for wep-tx-keyidx in ifupdown system
108         config plugin.
109
110         * system-settings/plugins/ifupdown/parser.c
111                 - (update_wireless_security_setting_from_if_block): introduce
112                         free_type_mapping func table; rename a few local
113                         variables to improve readability; add wpa security mapping
114                         for wep-tx-keyidx property
115                 - (string_to_gpointerint): new function used for the auto_type_mapping
116                         of new wep-tx-keyidx property
117                 - (slist_free_all): free func used for mapped slist types
118
119 2008-10-03  Alexander Sack  <asac@ubuntu.com>
120
121         * system-settings/src/main.c:
122                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
123                         always used as the hash key; fixes a crash when removing wired
124                         devices
125
126 2008-10-02  Dan Williams  <dcbw@redhat.com>
127
128         * src/nm-gsm-device.c
129                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
130                         pass the required GSM secret along via user_data rather than keeping
131                         it around in the private data where it sometimes didn't get cleared
132                 - (real_get_ppp_name): implement using the GSM username
133
134 2008-10-02  Dan Williams  <dcbw@redhat.com>
135
136         * src/ppp-manager/nm-ppp-manager.c
137           src/ppp-manager/nm-ppp-manager.h
138                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
139                         the settings daemon for completely new ones
140                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
141                         local PPP peer name; allow PPP debuging by launching NM with
142                         the environment variable NM_PPP_DEBUG defined
143                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
144                         create_pppd_cmd_line()
145
146         * src/nm-serial-device.c
147           src/nm-serial-device.h
148                 - New 'get_ppp_name' function for subclasses to implement to return the
149                         local PPP peer name
150                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
151                         and pass that name to the PPP manager
152
153         * src/nm-device-ethernet.c
154                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
155                         the local peer name
156
157         * src/nm-cdma-device.c
158                 - (real_get_ppp_name): implement using the CDMA username
159
160 2008-10-02  Dan Williams  <dcbw@redhat.com>
161
162         Patch from Alexander Sack <asac ubuntu com>
163
164         * system-settings/plugins/ifupdown/parser.c
165                 - Implement more graceful ip4 config parsing for cases where
166                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
167                   by using default values
168
169 2008-10-02  Dan Williams  <dcbw@redhat.com>
170
171         * src/NetworkManagerPolicy.c
172                 - (device_state_changed): when marking a connection invalid, clear its
173                         secrets too so that fresh secrets get requested the next time
174
175 2008-10-01  Dan Williams  <dcbw@redhat.com>
176
177         * system-settings/src/dbus-settings.c
178                 - (nm_sysconfig_settings_init): cache system hostname on startup as
179                         a fallback if no plugin provides a hostname
180                 - (get_property): fall back to cached hostname if no plugin provides
181                         a hostname
182
183 2008-10-01  Dan Williams  <dcbw@redhat.com>
184
185         Fix setting value comparison issue that caused some settings to look the
186         same when they were really different (rh #464417)
187
188         * libnm-util/nm-param-spec-specialized.c
189                 - (type_is_fixed_size): return fundamental size of the fixed type too
190                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
191                         in the comparison so that the _entire_ fixed type collection gets
192                         compared rather than just the first 'len1' bytes
193
194 2008-09-30  Dan Williams  <dcbw@redhat.com>
195
196         * src/NetworkManagerPolicy.c
197                 - (lookup_thread_worker): don't store the idle handler ID becuase the
198                         idle handler could have already run and freed the LookupThread
199                         structure
200
201 2008-09-30  Tambet Ingo  <tambet@gmail.com>
202
203         * src/nm-device.c (nm_device_get_priority): Implement.
204         (nm_device_set_ip4_config): Send the device priority to system ip4 
205         config setter.
206
207         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
208         Add priority argument and if it's >= 0, set the priority of the network
209         route added automatically by netlink (or kernel?).
210         (nm_system_device_set_priority): Implement.
211
212         * src/NetworkManagerPolicy.c (get_best_device): Use 
213         nm_device_get_priority() instead of home-grown version. Revert the
214         meaning, best priority is the lowest one.
215
216 2008-09-29  Dan Williams  <dcbw@redhat.com>
217
218         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
219         when it returns EAGAIN (rh #362421)
220
221         * src/nm-device-wifi.c
222                 - (wireless_get_range): try GIWRANGE a few times until the card responds
223                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
224
225 2008-09-28  Dan Williams  <dcbw@redhat.com>
226
227         * src/nm-serial-device.c
228           src/nm-serial-device.h
229                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
230                         cleaned at the right times when subclasses close the serial port too
231                 - (nm_serial_device_send_command): use a default send delay; don't
232                         spin forever on EAGAIN
233                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
234                         remove, no longer used
235                 - (find_response): return the matched response if any
236                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
237                         while doing so
238                 - (wait_for_reply_done): pass the matched response to the callback
239                 - (wait_for_reply_got_data): save the matched response; simplify timeout
240                         handling
241                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
242                         const since they never get modified
243                 - (cleanup_device): split out common cleanup stuff to a new function
244                 - (real_deactivate_quickly, finalize): use cleanup_device()
245
246         * src/nm-gsm-device.c
247                 - (modem_get_reply): remove, unused
248                 - (set_apn): give the card a bit more time to respond
249                 - (manual_registration_again, schedule_manual_registration_again,
250                    manual_registration_response, manual_registration): handle manual
251                         registration timeouts better by retrying registration a few times
252                         because cards are a bit slow after CFUN=1
253                 - (automatic_registration_get_network, get_network_response): use
254                         modem_wait_for_reply() because it interacts better with the serial
255                         buffer and does more intelligent matching; need to wait for 'OK'
256                         rather than just matching terminators
257                 - (schedule_automatic_registration_again,
258                    automatic_registration_response, automatic_registration): retry
259                         registration a few times on timeout or "searching" because cards
260                         take a bit to find a network after being powered up with CFUN=1
261                 - (power_up_response, power_up, init_full_done, enter_pin,
262                    check_pin_done): power up the card with CFUN=1 before trying to
263                         register with the network
264                 - (init_modem_full, init_modem): use more standard 3G init strings
265
266         * src/nm-hso-gsm-device.c
267                 - (modem_get_reply): remove, unused
268                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
269                         modem_wait_for_reply() to match actual responses instead of single
270                         termination characters; it doesn't leave stuff in the serial buffer
271                         that might confuse later calls
272                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
273                         to ensure that the call is really disconnected and not leave extra
274                         stuff in the serial buffer
275
276         * src/nm-cdma-device.c
277                 - (power_up_response, power_up, init_done): try Sierra-style modem
278                         power up before attempting to connect
279
280 2008-09-27  Dan Williams  <dcbw@redhat.com>
281
282         * libnm-util/nm-setting-gsm.c
283                 - (verify): verify GSM network ID
284
285 2008-09-25  Dan Williams  <dcbw@redhat.com>
286
287         * libnm-util/nm-setting-gsm.c
288           libnm-util/nm-setting-gsm.h
289                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
290                         technology terms (bgo #551361)
291
292 2008-09-25  Dan Williams  <dcbw@redhat.com>
293
294         Fix bgo #549401 (inspired by patch from Alexander Sack)
295
296         * src/nm-device-ethernet.c
297                 - (finish_supplicant_task): clean up scheduled tasks and free memory
298                 - (remove_supplicant_interface_error_handler): remove the supplicant
299                         error idle callback too
300                 - (supplicant_interface_release): rename from supplicant_interface_clean
301                         to match nm-device-wifi.c; clean up supplicant interface-related
302                         state tasks when the supplicant interface is disposed of
303                 - (schedule_state_handler): add scheduled tasks to a list so they can
304                         be cleaned up later
305                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
306                    supplicant_iface_connection_state_cb_handler): use
307                         finish_supplicant_task() to clean up each completed task
308                 - (supplicant_iface_connection_error_cb_handler,
309                    supplicant_connection_timeout_cb): clear source id when the task is
310                         complete
311                 - (supplicant_iface_connection_error_cb): save scheduled task id for
312                         later cleanup
313                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
314                         tasks
315
316         * src/nm-device-wifi.c
317                 - (finish_supplicant_task): clean up scheduled tasks and free memory
318                 - (remove_supplicant_interface_error_handler): remove the supplicant
319                         error idle callback too
320                 - (supplicant_interface_release): clean up supplicant interface-related
321                         state tasks when the supplicant interface is disposed of
322                 - (schedule_state_handler): add scheduled tasks to a list so they can
323                         be cleaned up later
324                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
325                    supplicant_iface_connection_state_cb_handler): use
326                         finish_supplicant_task() to clean up each completed task
327                 - (supplicant_iface_connection_error_cb_handler): clear source id when
328                         the task is complete
329                 - (supplicant_iface_connection_error_cb): save scheduled task id for
330                         later cleanup
331                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
332
333 2008-09-24  Tambet Ingo  <tambet@gmail.com>
334
335         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
336         method and get/set hostname property.
337
338 2008-09-24  Tambet Ingo  <tambet@gmail.com>
339
340         * src/supplicant-manager/nm-supplicant-interface.c
341         (nm_supplicant_interface_disconnect): Don't increment the reference 
342         count when disconnecting. The problem is on shutdown, when the replies
343         to these commands do not arrive before NM exits, resulting on never
344         calling supplicant interface's dispose(), which removes the interface
345         from supplicant.
346
347 2008-09-24  Tambet Ingo  <tambet@gmail.com>
348
349         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
350         all the public function arguments.
351
352 2008-09-22  Tambet Ingo  <tambet@gmail.com>
353
354         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
355         "Failure" signal from VPN plugins, store the failure reason, and
356         use it when the state is changed to failure.
357
358         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
359         description.
360
361         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
362         reason to the end of the list to not break the API.
363         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
364         so it can be shared by plugins and daemon.
365
366 2008-09-18  Dan Williams  <dcbw@redhat.com>
367
368         Patch from Alexander Sack <asac@ubuntu.com>
369
370         * configure.in
371           system-settings/plugins/Makefile.am
372           system-settings/plugins/ifupdown/Makefile.am
373           system-settings/plugins/ifupdown/interface_parser.c
374           system-settings/plugins/ifupdown/interface_parser.h
375           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
376           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
377           system-settings/plugins/ifupdown/parser.c
378           system-settings/plugins/ifupdown/parser.h
379           system-settings/plugins/ifupdown/plugin.c
380           system-settings/plugins/ifupdown/plugin.h
381                 - Implement a Debian/Ubuntu legacy network configuration plugin
382                         (gnome.org #551941)
383
384 2008-09-18  Dan Williams  <dcbw@redhat.com>
385
386         Implement support for honoring configured and automatic hostnames, and for
387         setting the configured hostname.
388
389         * introspection/nm-ip4-config.xml
390           src/nm-ip4-config.c
391           src/nm-ip4-config.h
392           src/dhcp-manager/nm-dhcp-manager.c
393                 - Remove useless hostname property; it's not really part of the IPv4
394                         config
395
396         * introspection/nm-settings-system.xml
397           libnm-glib/nm-dbus-settings-system.c
398           libnm-glib/nm-dbus-settings-system.h
399                 - Add SetHostname() call to system settings D-Bus interface
400                 - Add Hostname property to system settings D-Bus interface
401                 - (nm_dbus_settings_system_save_hostname,
402                    nm_dbus_settings_system_get_hostname): implement
403
404         * src/nm-device.c
405           src/nm-device.h
406                 - (nm_device_get_dhcp4_config): implement
407
408         * src/nm-manager.c
409           src/nm-manager.h
410                 - Fetch and track system settings service hostname changes, and proxy
411                         the changes via a GObject property of the manager
412
413         * system-settings/src/nm-system-config-interface.c
414           system-settings/src/nm-system-config-interface.h
415                 - Replace nm_system_config_interface_supports_add() with a capabilities
416                         bitfield
417
418         * system-settings/src/nm-system-config-error.c
419           system-settings/src/nm-system-config-error.h
420                 - Add additional errors
421
422         * system-settings/src/dbus-settings.c
423           system-settings/src/dbus-settings.h
424                 - (get_property, nm_sysconfig_settings_class_init): add hostname
425                         property; first plugin returning a hostname wins
426                 - (impl_settings_add_connection): use plugin capabilities instead of
427                         nm_system_config_interface_supports_add()
428                 - (impl_settings_save_hostname): implement hostname saving
429
430         * src/NetworkManagerPolicy.c
431                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
432                    lookup_thread_die): implement an asynchronous hostname lookup thread
433                         which given an IPv4 address tries to look up the hostname for that
434                         address with reverse DNS
435                 - (get_best_device): split out best device code from
436                         update_routing_and_dns()
437                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
438                         to preserve the 127.0.0.1 reverse mapping that so many things require
439                 - (set_system_hostname): set a given hostname
440                 - (update_system_hostname): implement hostname policy; a configured
441                         hostname (from the system settings service) is used if available,
442                         otherwise an automatically determined hostname from DHCP, VPN, etc.
443                         If there was no automatically determined hostname, reverse DNS of
444                         the best device's IP address will be used, and as a last resort the
445                         hostname 'localhost.localdomain' is set.
446                 - (update_routing_and_dns): use get_best_device(); update the system
447                         hostname when the network config changes
448                 - (hostname_changed): update system hostname if the system settings
449                         service signals a hostname change
450                 - (nm_policy_new): list for system settings service hostname changes
451                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
452                         gets told to die
453
454         * system-settings/plugins/keyfile/plugin.c
455           system-settings/plugins/ifcfg-suse/plugin.c
456                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
457                         capabilities properties
458
459         * system-settings/plugins/ifcfg-fedora/shvar.c
460                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
461                         writes out /etc/sysconfig/network now
462
463         * system-settings/plugins/ifcfg-fedora/plugin.c
464                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
465                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
466                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
467                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
468                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
469                         hostname get/set and capabilities get
470
471 2008-09-18  Dan Williams  <dcbw@redhat.com>
472
473         * libnm-util/nm-setting-wireless.c
474                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
475                         group ciphers if the wireless-security setting explicitly specified
476                         them, effectively making the default be "all ciphers"  (idea from
477                         Alexander Sack)
478
479 2008-09-15  Dan Williams  <dcbw@redhat.com>
480
481         Patch from Alexander Sack <asac@ubuntu.com>
482
483         * src/named-manager/nm-named-manager.c
484                 - (dispatch_resolvconf): respect resolvconf exit code
485
486 2008-09-12  Tambet Ingo  <tambet@gmail.com>
487
488         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
489         again. Add some debugging.
490
491 2008-09-11  Dan Williams  <dcbw@redhat.com>
492
493         * system-settings/plugins/keyfile/plugin.c
494                 - (update_connection_settings): update connection manually, since
495                         nm_exported_connection_update() does authentication
496                 - (dir_changed): update_connection_settings() doesn't need to return
497                         an error
498
499 2008-09-09  Dan Williams  <dcbw@redhat.com>
500
501         * libnm-glib/nm-vpn-plugin-ui-interface.c
502           libnm-glib/nm-vpn-plugin-ui-interface.h
503           libnm-glib/libnm_glib_vpn.ver
504                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
505                         should clean up resources related to the connection (like keyring
506                         secrets)
507                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
508                         should save user-scope secrets (like to the keyring)
509
510 2008-09-08  Dan Williams  <dcbw@redhat.com>
511
512         Patch from Alexander Sack <asac@ubuntu.com>
513
514         * libnm-util/crypto_gnutls.c
515           libnm-util/crypto_nss.c
516                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
517
518         * libnm-util/nm-utils.c
519           libnm-util/nm-utils.h
520           libnm-util/libnm-util.ver
521                 - (nm_utils_init): initialize libnm-util
522                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
523
524         * libnm-util/nm-setting-8021x.c
525                 - (nm_setting_802_1x_class_init): init libnm-util when needed
526
527 2008-09-05  Dan Williams  <dcbw@redhat.com>
528
529         Patch from Roy Marples <roy@marples.name> and others
530
531         * configure.in
532           src/named-manager/nm-named-manager.c
533                 - Add support for resolvconf; use --with-resolvconf at configure time
534                         to enable it
535
536 2008-09-05  Dan Williams  <dcbw@redhat.com>
537
538         * libnm-util/crypto_nss.c
539           libnm-util/crypto_gnutls.c
540           libnm-util/crypto.h
541                 - (crypto_init): return error when init fails
542
543 2008-09-05  Dan Williams  <dcbw@redhat.com>
544
545         * libnm-glib/nm-device-wifi.c
546                 - (access_point_removed_proxy): clean up the active access point too
547                         just in case the active ap changed signal didn't come through yet
548                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
549
550 2008-09-05  Dan Williams  <dcbw@redhat.com>
551
552         * libnm-glib/nm-client.c
553                 - (constructor): get initial state after we know whether NM is running
554                         or not
555
556 2008-09-05  Dan Williams  <dcbw@redhat.com>
557
558         * libnm-glib/nm-ip4-config.c
559           libnm-glib/nm-dhcp4-config.c
560                 - (finalize): clean up the DBusGProxy
561
562 2008-09-04  Dan Williams  <dcbw@redhat.com>
563
564         * src/nm-ip4-config.c
565           src/nm-ip4-config.h
566                 - (nm_ip4_config_new): don't export over D-Bus here
567                 - (nm_ip4_config_export): new function; export the config over D-Bus
568                 - (nm_ip4_config_is_exported): new function
569
570         * src/nm-device.c
571                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
572                         objects by balancing the IP4Config constructor; the device holds
573                         a reference to the IP4Config already
574                 - (nm_device_set_ip4_config): export the IP4Config when needed
575
576 2008-09-04  Dan Williams  <dcbw@redhat.com>
577
578         * src/supplicant-manager/nm-supplicant-settings-verify.c
579                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
580
581 2008-09-04  Dan Williams  <dcbw@redhat.com>
582
583         * libnm-util/nm-setting-vpn.c
584           libnm-util/nm-setting-vpn.h
585                 - Split VPN secrets from VPN data so that settings services can actually
586                         figure out that they are secrets and store them accordingly
587
588         * system-settings/plugins/keyfile/nm-keyfile-connection.c
589           system-settings/plugins/keyfile/reader.c
590           system-settings/plugins/keyfile/reader.h
591           system-settings/plugins/keyfile/writer.c
592                 - Store VPN secrets separately from VPN data so that they can be fetched
593                         on demand
594                 - Implement the get_secrets() call so that (a) secrets don't leak out
595                         to unprivileged callers, and (b) secrets can be sent to privileged
596                         callers when needed
597
598         * vpn-daemons/vpnc/src/nm-vpnc-service.c
599                 - Handle split VPN secrets
600
601 2008-08-27  Dan Williams  <dcbw@redhat.com>
602
603         * system-settings/plugins/ifcfg-fedora/reader.c
604                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
605
606 2008-08-27  Dan Williams  <dcbw@redhat.com>
607
608         Ensure zombie children get cleaned up.  To get notifications when children
609         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
610         that requires calling waitpid() yourself if you've removed the child watch
611         handler before the process has actually died, which NM needs to do in a few
612         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
613         cleans up after the child when required.  Should fix problems trying to
614         activate mobile broadband connections after a previous failure.
615
616         * src/dhcp-manager/nm-dhcp-dhclient.c
617           src/dhcp-manager/nm-dhcp-dhcpcd.c
618                 - Use G_SPAWN_DO_NOT_REAP_CHILD
619
620         * src/dhcp-manager/nm-dhcp-manager.c
621                 - (nm_dhcp_device_destroy): ensure child is cleaned up
622                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
623                         block on child quitting, since the non-blocking functionality was
624                         never actually used
625
626         * src/dnsmasq-manager/nm-dnsmasq-manager.c
627                 - (dm_watch_cb): child is already reaped here
628                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
629
630         * src/nm-device.c
631                 - (aipd_cleanup): block until child is dead
632
633         * src/named-manager/nm-named-manager.c
634                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
635                         event bothering to watch the child
636
637         * src/ppp-manager/nm-ppp-manager.c
638                 - (ppp_watch_cb): child is already reaped here
639                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
640
641         * src/vpn-manager/nm-vpn-service.c
642                 - (vpn_service_watch_cb): child is already reaped here
643                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
644                         status of the child is actually tracked
645                 - (ensure_killed, finalize): block until child is dead
646
647 2008-08-26  Dan Williams  <dcbw@redhat.com>
648
649         * system-settings/plugins/keyfile/nm-keyfile-connection.c
650                 - (update): Update filename of the connection if the connection id
651                         was changed
652
653         * system-settings/plugins/keyfile/plugin.c
654                 - (dir_changed): first pass at handling connection renames correctly
655
656         * system-settings/plugins/keyfile/writer.c
657           system-settings/plugins/keyfile/writer.h
658                 - (write_connection): replace '/' with '*' when writing out the filename
659                         from the connection id
660
661 2008-08-26  Dan Williams  <dcbw@redhat.com>
662
663         Add connection UUIDs, since connection names can be changed, and since
664         old-style connection IDs could change over the life of the connection.  The
665         UUID should be assigned at connection creation time, be stable for a given
666         connection, and should be unique among all connections for a given settings
667         service.
668
669         * configure.in
670           libnm-util/Makefile.am
671                 - Require libuuid
672
673         * introspection/nm-exported-connection.xml
674                 - Remove "GetID" method
675
676         * libnm-glib/nm-dbus-connection.c
677           libnm-glib/nm-settings.c
678           libnm-glib/nm-settings.h
679                 - Remove id-related stuff
680
681         * libnm-util/nm-utils.c
682           libnm-util/nm-utils.h
683           libnm-util/libnm-util.ver
684                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
685                         utility functions to generate UUIDs
686
687         * libnm-util/nm-setting-connection.c
688           libnm-util/nm-setting-connection.h
689                 - Add 'uuid' member to the connection setting
690                 - (verify): require valid 'uuid' for a valid connection
691
692         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
693           system-settings/plugins/ifcfg-fedora/reader.c
694           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
695           system-settings/plugins/ifcfg-suse/parser.c
696           system-settings/plugins/keyfile/nm-keyfile-connection.c
697           system-settings/src/main.c
698                 - Remove id-related stuff
699                 - Give connections UUIDs where needed
700
701 2008-08-25  Dan Williams  <dcbw@redhat.com>
702
703         * libnm-util/crypto_gnutls.c
704           libnm-util/crypto_nss.c
705                 - (crypto_init, crypto_deinit): refcount init/deinit
706                 - (crypto_md5_hash): allow NULL salt
707
708 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
709
710         * libnm-glib/Makefile.am
711           libnm-util/Makefile.am
712           libnm-glib/libnm_glib.ver
713           libnm-glib/libnm_glib_vpn.ver
714           libnm-util/libnm-util.ver
715                 - Use linker version scripts to control the list of exported 
716                 symbols. List each exported symbol explicitely.
717         * libnm-util/Makefile.am
718                 - Fix compilation of the test-crypto binary. The crypto
719                 functions are no longer part of the libnm-util API. Add 
720                 crypto_*.c to test_crypto_SOURCES and link against the correct
721                 crypto libraries.
722
723 2008-08-19  Dan Williams  <dcbw@redhat.com>
724
725         * configure.in
726           test/Makefile.am
727                 - Don't build test/test-common
728                 - Remove unused stuff
729
730         * test/nm-set-fallback
731           test/nmtestdevices.c
732           test/test-common/.cvsignore
733           test/test-common/Makefile.am
734           test/test-common/test-common.c
735           test/test-common/test-common.h
736                 - delete
737
738 2008-08-18  Dan Williams  <dcbw@redhat.com>
739
740         * libnm-util/nm-utils.c
741           libnm-util/nm-utils.h
742                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
743                         export anything that needs to be converted with this function
744
745         * src/dhcp-manager/nm-dhcp-manager.c
746                 - (garray_to_string): convert a byte array to a UTF-8 string with
747                         minimal validation; the DHCP client sends it in ASCII anyway
748                 - (get_option, copy_option): use garray_to_string()
749
750 2008-08-18  Dan Williams  <dcbw@redhat.com>
751
752         * include/NetworkManager.h
753           introspection/nm-device.xml
754                 - Add a "missing firmware" device state reason
755
756         * src/NetworkManagerSystem.c
757           src/NetworkManagerSystem.h
758                 - (nm_system_device_set_up_down): add a no_firmware argument
759                 - (nm_system_device_set_up_down_with_iface): if the result of setting
760                         IFF_UP is ENOENT, that almost always means missing firmware
761
762         * src/backends/NetworkManagerGeneric.c
763           src/nm-device-ethernet.c
764           src/nm-device-private.h
765           src/nm-device-wifi.c
766           src/nm-device.c
767           src/nm-device.h
768           src/nm-hso-gsm-device.c
769           src/vpn-manager/nm-vpn-connection.c
770                 - Pass no_firmware along; check it where appropriate
771
772 2008-08-18  Dan Williams  <dcbw@redhat.com>
773
774         Patch from Robert Buchholz <rbu@gentoo.org>
775
776         * autogen.sh
777           configure.in
778                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
779                         1003.1-1988, allowing for file names longer than 99 characters
780
781 2008-08-17  Dan Williams  <dcbw@redhat.com>
782
783         * include/NetworkManager.h
784           introspection/nm-device.xml
785           src/nm-gsm-device.c
786                 - Finer-grained GSM registration failure error codes
787
788 2008-08-17  Dan Williams  <dcbw@redhat.com>
789
790         * callouts/Makefile.am
791           src/Makefile.am
792                 - Move dispatcher directory creation to callouts/Makefile.am
793
794         * system-settings/plugins/keyfile/Makefile.am
795                 - Create keyfile connections directory in DESTDIR (bgo #546833)
796
797 2008-08-15  Dan Williams  <dcbw@redhat.com>
798
799         Do connection sharing in a cleaner manner; all required iptables rules
800         are now stored in the activation request and pertain only to the device
801         which is being shared to other computers. (rh #458625)
802
803         * src/nm-activation-request.c
804           src/nm-activation-request.h
805                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
806                         the activation request which will get torn down automatically when
807                         the activation request dies
808                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
809                         is started, and tear them down when sharing is stopped
810
811         * src/nm-device.c
812                 - (start_sharing): start up sharing by doing the required iptables magic
813                 - (share_init): poke the right bits of the kernel and load the right
814                         modules for NAT
815                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
816                         connection if it's a 'shared' connection
817
818         * src/NetworkManagerPolicy.c
819                 - Remove all sharing stuff; done in the device code itself
820
821 2008-08-15  Dan Williams  <dcbw@redhat.com>
822
823         * src/dnsmasq-manager/nm-dnsmasq-manager.c
824                 - (create_dm_cmd_line): send the right router address
825
826 2008-08-15  Dan Williams  <dcbw@redhat.com>
827
828         * src/ppp-manager/nm-ppp-manager.c
829                 - (pppd_timed_out): ensure timeouts fail the connection
830
831 2008-08-14  Dan Williams  <dcbw@redhat.com>
832
833         * src/nm-properties-changed-signal.c
834           src/nm-properties-changed-signal.h
835                 - Add a property spec flag for "don't export this property" in
836                         property changed signals
837
838         * src/nm-hso-gsm-device.c
839           src/nm-gsm-device.c
840           src/nm-cdma-device.c
841                 - Don't export monitor interface or netdev interface properties
842
843 2008-08-14  Dan Williams  <dcbw@redhat.com>
844
845         * src/NetworkManagerPolicy.c
846                 - (update_routing_and_dns): 'hso' devices can be default even if they
847                         don't have a gateway
848
849 2008-08-14  Dan Williams  <dcbw@redhat.com>
850
851         * src/nm-device.c
852                 - (nm_device_deactivate_quickly): tear down activation request after
853                         calling device-specific deactivation
854
855         * src/nm-hso-gsm-device.c
856                 - (real_deactivate_quickly): terminate connection when deactivating
857
858 2008-08-14  Dan Williams  <dcbw@redhat.com>
859
860         * src/nm-activation-request.h
861                 - Add HSO secrets caller
862
863         * src/nm-gsm-device.c
864           src/nm-gsm-device.h
865                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
866                         something to the callback function
867                 - (set_apn, set_apn_done): call class dial function, not a static one
868                 - (nm_gsm_device_class_init): add a class 'dial' function
869
870         * src/nm-hal-manager.c
871                 - (get_hso_netdev): find the hso-driven hardware's net device
872                 - (modem_device_creator): recognize hso-driven hardware and create the
873                         right type of device object for it
874
875         * src/Makefile.am
876           src/nm-hso-gsm-device.c
877           src/nm-hso-gsm-device.h
878                 - Implement support for devices driven by the 'hso' driver as a subclass
879                         of NMGsmDevice
880
881 2008-08-14  Dan Williams  <dcbw@redhat.com>
882
883         * src/NetworkManagerSystem.c
884                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
885                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
886                         success if the operation really was successful
887
888 2008-08-14  Dan Williams  <dcbw@redhat.com>
889
890         * src/nm-netlink-monitor.c
891           src/nm-netlink-monitor.h
892           src/nm-device-ethernet.c
893                 - (nm_netlink_monitor_request_status): return an error on failure
894                 - (constructor): don't segfault on missing error
895
896 2008-08-13  Dan Williams  <dcbw@redhat.com>
897
898         * callouts/nm-dispatcher-action.c
899                 - Add IP4 config info to script environment
900
901 2008-08-12  Dan Williams  <dcbw@redhat.com>
902
903         * src/nm-device.c
904                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
905                         that want to use DHCP hostnames should use dispatcher scripts
906                         for that
907
908         * src/NetworkManagerSystem.h
909           src/backends/NetworkManagerArch.c
910           src/backends/NetworkManagerDebian.c
911           src/backends/NetworkManagerFrugalware.c
912           src/backends/NetworkManagerGeneric.c
913           src/backends/NetworkManagerGeneric.h
914           src/backends/NetworkManagerGentoo.c
915           src/backends/NetworkManagerMandriva.c
916           src/backends/NetworkManagerPaldo.c
917           src/backends/NetworkManagerRedHat.c
918           src/backends/NetworkManagerSlackware.c
919           src/backends/NetworkManagerSuSE.c
920                 - Remove nm_system_set_hostname(), no longer used
921           
922         * src/backends/Makefile.am
923           src/backends/shvar.c
924           src/backends/shvar.h
925                 - Remove shvar.*; no longer used
926
927 2008-08-12  Dan Williams  <dcbw@redhat.com>
928
929         Revert most of the 'hostname' patch.  Too much stuff still breaks when
930         hostname is updated at runtime.  Distros or users who want hostname updates
931         can use dispatcher scripts to update the hostname if they need it.
932
933 2008-08-12  Dan Williams  <dcbw@redhat.com>
934
935         * introspection/nm-settings-system.xml
936           system-settings/src/dbus-settings.c
937           system-settings/src/dbus-settings.h
938                 - Add a 'Hostname' property (rw) which represents the configured
939                         hostname and domain of the system, if any
940
941         * system-settings/src/nm-system-config-error.c
942           system-settings/src/nm-system-config-error.h
943           system-settings/src/nm-system-config-interface.c
944           system-settings/src/nm-system-config-interface.h
945                 - Add a 'hostname' property to the plugin interface
946                 - Add a method to send updated hostname to plugins to save in their
947                         backing configuration store
948
949         * system-settings/plugins/keyfile/nm-keyfile-connection.c
950           system-settings/plugins/keyfile/plugin.c
951           system-settings/plugins/keyfile/writer.c
952           system-settings/plugins/keyfile/writer.h
953           system-settings/plugins/ifcfg-suse/plugin.c
954                 - Add minimal hostname support
955
956         * system-settings/plugins/ifcfg-fedora/plugin.c
957                 - Add support for updating system hostname in /etc/sysconfig/network
958
959 2008-08-12  Dan Williams  <dcbw@redhat.com>
960
961         * system-settings/plugins/ifcfg-fedora/shvar.c
962           system-settings/plugins/ifcfg-fedora/shvar.c
963                 - Fix double-free caused by svSetValue() followed by svCloseFile()
964
965 2008-08-12  Tambet Ingo  <tambet@gmail.com>
966
967         * Makefile.am: Fix distcheck.
968
969 2008-08-12  Tambet Ingo  <tambet@gmail.com>
970
971         * libnm-glib/*.c. Document some more.
972
973 2008-08-12  Tambet Ingo  <tambet@gmail.com>
974
975         Start documenting libnm-glib public API using gtk-doc.
976
977         * libnm-glib/nm-serial-device.c: 
978         * libnm-glib/nm-object.c: 
979         * libnm-glib/nm-gsm-device.c: 
980         * libnm-glib/nm-device.c: 
981         * libnm-glib/nm-device-wifi.c: 
982         * libnm-glib/nm-device-ethernet.c: 
983         * libnm-glib/nm-client.c: 
984         * libnm-glib/nm-cdma-device.c: Document the public API.
985
986         * docs/libnm-glib/libnm-glib.types: Implement.
987
988         * docs/libnm-glib/Makefile.am: Implement.
989
990         * autogen.sh: 
991         * configure.in: 
992         * Makefile.am: Add gtk-doc support.
993
994 2008-08-12  Tambet Ingo  <tambet@gmail.com>
995
996         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
997
998         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
999         the composite result of all the IP4 configurations and call a distro
1000         specific update_resolv_conf().
1001         (update_resolv_conf): Implement one for directly writing to 
1002         /etc/resolv.conf and one for opensuse to call netconfig.
1003
1004 2008-08-11  Dan Williams  <dcbw@redhat.com>
1005
1006         * src/ppp-manager/nm-ppp-manager.c
1007                 - (impl_ppp_manager_need_secrets): pass interface as required
1008
1009 2008-08-11  Dan Williams  <dcbw@redhat.com>
1010
1011         Merge the vpn-properties setting with the vpn setting since it was pointless
1012         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1013         of string:string (instead of string:variant) so that system settings plugins
1014         can have an easier time dealing with the arbitrary key/value pairs.
1015
1016 2008-08-11  Dan Williams  <dcbw@redhat.com>
1017
1018         * libnm-util/nm-utils.c
1019                 - (nm_utils_register_value_transformations): add value transform for
1020                         a hash table of string:string
1021
1022 2008-08-10  Dan Williams  <dcbw@redhat.com>
1023
1024         * libnm-glib/nm-vpn-plugin.c
1025                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1026                         an idle handler so the Connect reply gets delivered before the
1027                         stop StateChanged signal
1028
1029 2008-08-10  Dan Williams  <dcbw@redhat.com>
1030
1031         * src/nm-ip4-config.c
1032                 - (get_property): use common ip4 address/route conversion functions
1033                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1034                         copy the new route here, not take ownership
1035
1036 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1037
1038         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1039         Update the IP4 setting's method name.
1040
1041 2008-08-07  Dan Williams  <dcbw@redhat.com>
1042
1043         * introspection/nm-ip4-config.xml
1044           libnm-glib/libnm-glib-test.c
1045           libnm-glib/nm-ip4-config.c
1046           libnm-glib/nm-ip4-config.h
1047           src/NetworkManagerSystem.h
1048           src/backends/NetworkManagerArch.c
1049           src/backends/NetworkManagerDebian.c
1050           src/backends/NetworkManagerFrugalware.c
1051           src/backends/NetworkManagerGeneric.c
1052           src/backends/NetworkManagerGeneric.h
1053           src/backends/NetworkManagerGentoo.c
1054           src/backends/NetworkManagerMandriva.c
1055           src/backends/NetworkManagerPaldo.c
1056           src/backends/NetworkManagerRedHat.c
1057           src/backends/NetworkManagerSlackware.c
1058           src/backends/NetworkManagerSuSE.c
1059           src/dhcp-manager/nm-dhcp-manager.c
1060           src/nm-device.c
1061           src/nm-ip4-config.c
1062           src/nm-ip4-config.h
1063                 - Remove NIS logic; should be done from dispatcher scripts instead
1064
1065 2008-08-07  Dan Williams  <dcbw@redhat.com>
1066
1067         * src/dhcp-manager/nm-dhcp-manager.c
1068                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1069                         mis-handling of DHCP responses that returned more than one router
1070                         (found by Grant Williamson)
1071
1072 2008-08-07  Dan Williams  <dcbw@redhat.com>
1073
1074         * callouts/nm-dispatcher-action.c
1075                 - (nm_dispatcher_action): grab device path and create the device; pass
1076                         the device's DHCP4 config to script caller
1077                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1078                         scripts
1079
1080         * libnm-glib/nm-dhcp4-config.c
1081           libnm-glib/nm-dhcp4-config.h
1082                 - (nm_dhcp4_config_get_options): expose
1083                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1084
1085 2008-08-07  Dan Williams  <dcbw@redhat.com>
1086
1087         * include/NetworkManager.h
1088                 - Add the DHCP4Config D-Bus interface
1089
1090         * libnm-glib/Makefile.am
1091           libnm-glib/nm-dhcp4-config.c
1092           libnm-glib/nm-dhcp4-config.h
1093                 - Handle DHCP4 config objects exported by NM over D-Bus
1094
1095         * libnm-glib/nm-device.c
1096           libnm-glib/nm-device.h
1097                 - Add a 'dhcp4-config' property
1098
1099         * libnm-glib/libnm-glib-test.c
1100                 - Print out DHCP4 config for devices
1101                 - Fix some crashes when no connections are active
1102
1103         * src/nm-device-interface.c
1104           src/nm-device.c
1105           src/nm-dhcp4-config.c
1106           src/nm-dhcp4-config.h
1107                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1108                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1109                         doesn't let us do when the property type is G_TYPE_OBJECT
1110
1111 2008-08-07  Dan Williams  <dcbw@redhat.com>
1112
1113         * src/NetworkManager.c
1114           src/NetworkManagerSystem.h
1115           src/backends/NetworkManagerArch.c
1116           src/backends/NetworkManagerDebian.c
1117           src/backends/NetworkManagerFrugalware.c
1118           src/backends/NetworkManagerGeneric.c
1119           src/backends/NetworkManagerGeneric.h
1120           src/backends/NetworkManagerGentoo.c
1121           src/backends/NetworkManagerMandriva.c
1122           src/backends/NetworkManagerPaldo.c
1123           src/backends/NetworkManagerRedHat.c
1124           src/backends/NetworkManagerSlackware.c
1125           src/backends/NetworkManagerSuSE.c
1126                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1127
1128 2008-08-06  Dan Williams  <dcbw@redhat.com>
1129
1130         * libnm-glib/nm-ip4-config.c
1131           libnm-glib/nm-ip4-config.h
1132                 - Add 'routes' property
1133
1134         * libnm-util/nm-setting-vpn.c
1135           libnm-util/nm-setting-vpn.h
1136                 - Remove 'routes' property
1137
1138         * libnm-util/nm-setting-ip4-config.c
1139           libnm-util/nm-setting-ip4-config.h
1140                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1141                 - Add 'ignore-auto-routes' property
1142                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1143                         accomodate route metrics
1144                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1145
1146         * libnm-util/nm-utils.c
1147           libnm-util/nm-utils.h
1148                 - Add helpers for marshalling IP4 routes
1149
1150         * src/NetworkManagerUtils.c
1151                 - (nm_utils_merge_ip4_config): handle property renames and new route
1152                         structure
1153
1154         * src/NetworkManagerSystem.c
1155                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1156                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1157
1158         * src/dhcp-manager/nm-dhcp-manager.c
1159                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1160
1161         * system-settings/plugins/ifcfg-fedora/reader.c
1162           system-settings/plugins/ifcfg-fedora/writer.c
1163                 - Handle routes separately from addresses now that routes have a different
1164                         format
1165
1166         * introspection/nm-ip4-config.xml
1167           src/nm-ip4-config.c
1168           src/nm-ip4-config.h
1169                 - Rename internal routing functions
1170                 - 'static-routes' renamed to 'routes'
1171
1172 2008-08-04  Dan Williams  <dcbw@redhat.com>
1173
1174         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1175
1176         * src/NetworkManager.c
1177           src/nm-manager.c
1178           src/nm-manager.h
1179                 - More explicitly make the NMManager a singleton
1180
1181 2008-08-04  Dan Williams  <dcbw@redhat.com>
1182
1183         * libnm-util/nm-connection.c
1184           libnm-util/nm-connection.h
1185                 - (nm_connection_verify): return error on missing 'connection' setting
1186                         (found by Sjoerd Simons)
1187
1188 2008-08-04  Dan Williams  <dcbw@redhat.com>
1189
1190         Handle multiple concurrent PPP connections.
1191
1192         * src/ppp-manager/nm-ppp-manager.c
1193           src/ppp-manager/nm-ppp-manager.h
1194                 - (constructor): only PPP Manager request bus name once; each
1195                         NMPPPManager object gets a unique object path
1196                 - (nm_ppp_manager_class_init, get_property, set_property,
1197                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1198                         at construct time
1199                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1200                         remove timeout until PPP manager gets an IP4 config
1201                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1202                         the plugin can call back to this specific PPP manager instance
1203
1204         * src/nm-device-ethernet.c
1205           src/nm-serial-device.c
1206                 - Pass parent device in nm_ppp_manager_new()
1207
1208         * src/nm-gsm-device.c
1209           src/nm-cdma-device.c
1210                 - (device_state_changed): don't close serial device on NEED_AUTH
1211                         state changed, that's not a failure case like the rest are
1212
1213         * src/ppp-manager/nm-pppd-plugin.c
1214                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1215                         binds one interface to any pppd process, thus the correct index
1216                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1217                         problems; try harder to get a peer address in spite of pppd
1218                 - (plugin_init): use 'ipparam' as the object path back to our specific
1219                         PPP manager instance
1220
1221 2008-08-04  Dan Williams  <dcbw@redhat.com>
1222
1223         * src/ppp-manager/nm-ppp-manager.c
1224                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1225                         since the GSM and CDMA settings now implement need_secrets, we can
1226                         rely on them to do the right thing.  Where secrets are not required,
1227                         just pass empty strings back to the pppd plugin.
1228                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1229                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1230                         on successful IP4 config receipt
1231
1232 2008-08-04  Dan Williams  <dcbw@redhat.com>
1233
1234         * libnm-util/nm-setting-cdma.c
1235           libnm-util/nm-setting-gsm.c
1236                 - (verify): validate username & password if they exist
1237                 - (need_secrets): if username given, require a password too
1238
1239 2008-08-04  Dan Williams  <dcbw@redhat.com>
1240
1241         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1242                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1243                         manpage says about --listen-address without --interface
1244                         (bgo #546033)
1245
1246 2008-08-01  Dan Williams  <dcbw@redhat.com>
1247
1248         * libnm-glib/nm-device.c
1249                 - (proxy_get_string): util function for querying a HAL property
1250                 - (get_ancestor_device): split out from get_product_and_vendor()
1251                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1252                         from PCI devices by querying subsys properties
1253                 - (nm_device_update_description): simplify
1254
1255 2008-08-01  Dan Williams  <dcbw@redhat.com>
1256
1257         * libnm-util/nm-setting-ip4-config.c
1258           libnm-util/nm-setting-ip4-config.h
1259                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1260                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1261                         settings, and they don't necessarily use DHCP.
1262
1263         * src/NetworkManagerPolicy.c
1264           src/nm-device.c
1265           system-settings/plugins/ifcfg-fedora/reader.c
1266           system-settings/plugins/ifcfg-suse/parser.c
1267                 - Fixup for method changes
1268
1269 2008-07-31  Dan Williams  <dcbw@redhat.com>
1270
1271         * src/nm-activation-request.c
1272           src/vpn-manager/nm-vpn-connection.c
1273                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1274                         itself should be attached to the activation request or the VPN
1275                         connection, not the NMConnection object, since the call is not
1276                         expected to live as long as the NMConnection itself
1277
1278 2008-07-31  Dan Williams  <dcbw@redhat.com>
1279
1280         * src/nm-device-wifi.c
1281                 - (real_act_stage2_config): fix issue where association would continue
1282                         even though secrets were needed; 'goto out' was in wrong scope and
1283                         result of handle_auth_or_fail() should have been dumped directly to
1284                         'ret' to ensure that the association was postponed until secrets
1285                         are available
1286
1287 2008-07-31  Dan Williams  <dcbw@redhat.com>
1288
1289         * system-settings/plugins/ifcfg-fedora/plugin.c
1290           system-settings/plugins/ifcfg-fedora/reader.c
1291                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1292                         valid NM connection
1293
1294 2008-07-29  Dan Williams  <dcbw@redhat.com>
1295
1296         * src/nm-gsm-device.c
1297                 - (automatic_registration_response, automatic_registration): recognize
1298                         denied registration and reorder responses
1299
1300 2008-07-29  Dan Williams  <dcbw@redhat.com>
1301
1302         * src/nm-serial-device.c
1303                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1304                         time(2) is used for current time, which returns seconds, we shouldn't
1305                         be multiplying by 1000.
1306
1307 2008-07-28  Dan Williams  <dcbw@redhat.com>
1308
1309         Patch from Fabrice Bellet <fabrice@bellet.info>
1310
1311         * src/NetworkManagerSystem.c
1312                 - (route_in_same_subnet): mask addresses and compare them so that the
1313                         function actually does what it says it's going to do (rh #456685)
1314
1315 2008-07-27  Dan Williams  <dcbw@redhat.com>
1316
1317         * libnm-util/nm-setting-ip6-config.c
1318                 - (set_property): add missing break that caused routes to be overwritten
1319                         with addresses
1320
1321         * libnm-util/nm-setting-ip6-config.c
1322                 - (verify): validate routes and return GError everywhere on invalid setting
1323                 - (finalize): don't leak routes
1324                 - (set_property): add missing break that caused routes to be overwritten
1325                         with addresses
1326
1327 2008-07-27  Dan Williams  <dcbw@redhat.com>
1328
1329         * libnm-util/*
1330                 - Relicense to LGPLv2+
1331
1332 2008-07-27  Dan Williams  <dcbw@redhat.com>
1333
1334         * system-settings/plugins/ifcfg-fedora/reader.c
1335                 - (make_ip4_setting): fix parsing automatic configs
1336
1337 2008-07-27  Dan Williams  <dcbw@redhat.com>
1338
1339         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1340           src/nm-device.c
1341           src/ppp-manager/nm-ppp-manager.c
1342                 - Ensure child process gets reaped.  The child watch function may be
1343                         removed from the mainloop before the child gets killed, so we have
1344                         to make sure the child is reaped when it's told to die intentionally
1345
1346 2008-07-27  Dan Williams  <dcbw@redhat.com>
1347
1348         Patch from Roy Marples <roy@marples.name>
1349
1350         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1351                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1352
1353 2008-07-27  Dan Williams  <dcbw@redhat.com>
1354
1355         * src/nm-gsm-device.c
1356                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1357                         Huawei devices turn echo back on after CPIN (rh #456770)
1358
1359 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1360
1361         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1362         format argument to g_set_error() call.
1363
1364         * src/backends/interface_parser.[ch]: Remove.
1365
1366         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1367
1368 2008-07-21  Dan Williams  <dcbw@redhat.com>
1369
1370         * src/ppp-manager/nm-ppp-manager.c
1371                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1372                         to prevent pppd from picking up some random local address from an
1373                         interface that doesn't have anything to do with the one we're
1374                         interested in (rh #455348)
1375
1376 2008-07-17  Dan Williams  <dcbw@redhat.com>
1377
1378         * libnm-util/nm-utils.c
1379                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1380                         by locale
1381                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1382                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1383
1384 2008-07-17  Dan Williams  <dcbw@redhat.com>
1385
1386         * introspection/Makefile.am
1387           introspection/nm-device.xml
1388           introspection/nm-dhcp4-config.xml
1389                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1390                         itself
1391         * src/nm-device-interface.c
1392           src/nm-device-interface.h
1393                 - Add the DHCP4Config property
1394
1395         * src/nm-device.c
1396                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1397                         D-Bus clients when it changes
1398
1399         * src/nm-dhcp4-config.c
1400           src/nm-dhcp4-config.h
1401                 - Simple object to store DHCP4 options, export them over D-Bus, and
1402                         notify when they change
1403
1404         * src/dhcp-manager/nm-dhcp-manager.c
1405           src/dhcp-manager/nm-dhcp-manager.h
1406                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1407                         filter server-returned DHCP options into an NMDHCP4Config object
1408
1409 2008-07-16  Dan Williams  <dcbw@redhat.com>
1410
1411         * introspection/nm-device.xml
1412                 - Add device state reasons
1413
1414 2008-07-16  Dan Williams  <dcbw@redhat.com>
1415
1416         Patch from Roy Marples <roy@marples.name>
1417
1418         * configure.in
1419                 - Add --with-dhcp-client option
1420
1421         * src/dhcp-manager/Makefile.am
1422                 - pass DHCP_CLIENT_PATH on compile line
1423
1424         * src/dhcp-manager/nm-dhcp-manager.c
1425           src/dhcp-manager/nm-dhcp-manager.h
1426                 - Genericize for both dhcpcd and dhclient
1427
1428         * src/dhcp-manager/nm-dhcp-dhclient.c
1429                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1430
1431         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1432                 - Implement support for dhcpcd too
1433
1434 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1435
1436         * system-settings/src/nm-system-config-interface.c 
1437         (nm_system_config_interface_supports_add): Implement.
1438         (nm_system_config_interface_add_connection): Return a boolean to notify
1439         of errors.
1440
1441         * system-settings/src/nm-polkit-helpers.c: 
1442         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1443         a separate file.
1444
1445         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1446         Return an error when none of the plugins support add or if addition
1447         failed for some reason.
1448
1449         * system-settings/src/nm-system-config-error.h: 
1450         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1451         here from nm-polkit-helpers.[ch].
1452
1453         * system-settings/src/Makefile.am: Build new files.
1454
1455         * system-settings/plugins/keyfile/reader.c 
1456         (read_array_of_array_of_uint): Make it more general so that it would
1457         work for routes as well.
1458
1459         * system-settings/plugins/keyfile/writer.c
1460         (write_array_of_array_of_uint): Ditto.
1461         Fix the netmask/prefix writing.
1462
1463         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1464         boolean to notify errors.
1465
1466         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1467         Return more specific error.
1468         (delete): Ditto.
1469
1470 2008-07-11  Dan Williams  <dcbw@redhat.com>
1471
1472         Modify the NMDevice::state-changed signal to include the previous state
1473         and reason. Enables the applet to provide more information why device
1474         activation failed.
1475
1476 2008-07-09  Dan Williams  <dcbw@redhat.com>
1477
1478         * callouts/Makefile.am
1479           callouts/nm-avahi-autoipd-action.c
1480           callouts/nm-avahi-autoipd.conf
1481                 - avahi-autoipd callout to send options back to NM
1482
1483         * src/autoip.c
1484           src/autoip.h
1485                 - remove
1486
1487         * src/nm-device.c
1488           src/nm-device-private.h
1489           src/nm-manager.c
1490                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1491                         old custom stuff
1492
1493 2008-07-07  Dan Williams  <dcbw@redhat.com>
1494
1495         * system-settings/plugins/ifcfg-fedora/reader.c
1496                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1497                         handle PREFIX too; clean up
1498
1499 2008-07-07  Dan Williams  <dcbw@redhat.com>
1500
1501         Convert to using IPv4 prefixes instead of netmasks.
1502
1503 2008-07-03  Dan Williams  <dcbw@redhat.com>
1504
1505         * libnm-util/nm-setting-ip4-config.c
1506           libnm-util/nm-setting-ip4-config.h
1507                 - Add properties for DHCP Client Identifier and DHCP Hostname
1508
1509         * src/dhcp-manager/nm-dhcp-manager.c
1510           src/dhcp-manager/nm-dhcp-manager.h
1511                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1512                         setting as an argument to pass on to the dhclient config file
1513                         creation function
1514                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1515                         DHCP is torn down
1516                 - (dhclient_run): punt config file handling to create_dhclient_config()
1517                 - (create_dhclient_config): create an interface-specific dhclient
1518                         config file since there may need to be interface-specific options
1519                         passed to dhclient
1520                 - (merge_dhclient_config): merge normal distro dhclient config file and
1521                         add options from the connection
1522                 - (nm_dhcp_device_new): generate the interface specific dhclient
1523                         config file path once
1524                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1525                         dhclient config file path
1526
1527         * src/nm-device.c
1528                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1529                         DHCP manager when starting DHCP
1530
1531 2008-07-02  Dan Williams  <dcbw@redhat.com>
1532
1533         * libnm-util/nm-setting-8021x.c
1534                 - (verify): allow forcing the PEAP label to 0
1535
1536 2008-07-02  Dan Williams  <dcbw@redhat.com>
1537
1538         * introspection/nm-active-connection.xml
1539           introspection/nm-vpn-connection.xml
1540           libnm-glib/nm-active-connection.c
1541           src/nm-activation-request.c
1542           src/nm-active-connection.h
1543           src/vpn-manager/nm-vpn-connection.c
1544                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1545                         and libnm-glib API since sharing didn't get implemented that way
1546
1547 2008-07-02  Dan Williams  <dcbw@redhat.com>
1548
1549         * src/nm-device-wifi.c
1550                 - (can_scan): don't scan when a shared connection is activated since
1551                         that makes drivers mad (causing disconnects); also NM doesn't need
1552                         to hedge against disconnects by keeping up-to-date network topology
1553                         because the connection originates from the local machine, and thus
1554                         there should be no disconnects
1555
1556 2008-07-01  Dan Williams  <dcbw@redhat.com>
1557
1558         Fix mobile broadband username/password issues.  NM was never requesting
1559         mobile broadband secrets, nor was it passing back the username and password
1560         if it had them.
1561
1562         * marshallers/nm-marshal.list
1563                 - Add some new types for activation request objects
1564
1565         * src/nm-activation-request.c
1566           src/nm-activation-request.h
1567                 - (get_secrets_cb): pass the caller type in the signal
1568                 - (nm_act_request_request_connection_secrets): take a caller type, so
1569                         that GetSecrets() reply handlers know who asked for the secrets in
1570                         the first place; use secret hints too so the settings service can
1571                         figure out exactly what NM wants (ie, PIN or the PPP password)
1572
1573         * src/ppp-manager/nm-ppp-manager.c
1574           src/ppp-manager/nm-ppp-manager.h
1575                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1576                         detect needed secrets when the secret could be blank, like GSM/CDMA
1577                         passwords.  So always ask for secrets, and send a hint as to what
1578                         secret we really want.
1579                 - (nm_ppp_manager_update_secrets): make function more generic by making
1580                         the device specific class figure out the username and password, and
1581                         accept an error argument to return back over D-Bus
1582
1583         * src/nm-device-wifi.c
1584                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1585                         nm_act_request_request_connection_secrets()
1586                 - (real_connection_secrets_updated): update for 'caller' changes
1587
1588         * src/nm-device.c
1589           src/nm-device.h
1590                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1591                         for 'caller' changes
1592
1593         * src/nm-device-ethernet.c
1594                 - (real_connection_secrets_updated): update for 'caller' changes and
1595                         move logic for getting PPPoE username and password here before
1596                         calling nm_ppp_manager_update_secrets()
1597                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1598                         nm_act_request_request_connection_secrets()
1599
1600         * src/nm-cdma-device.c
1601                 - (real_connection_secrets_updated): pass username and password back
1602                         to the PPP manager when required
1603
1604         * src/nm-gsm-device.c
1605                 - (enter_pin): send the required secret name to the settings service
1606                 - (real_connection_secrets_updated): pass username and password back
1607                         to the PPP manager when required
1608
1609 2008-06-30  Dan Williams  <dcbw@redhat.com>
1610
1611         * src/nm-device-wifi.c
1612                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1613
1614 2008-06-30  Dan Williams  <dcbw@redhat.com>
1615
1616         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1617         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1618         priv->supplicant.iface.  When either condition is false, the device should
1619         transition back to UNAVAILABLE because it cannot be used.
1620
1621         * src/nm-device-wifi.c
1622                 - (constructor): cleanup; connect to supplicant manager here since the
1623                         supplicant manager is always around
1624                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1625                         ensure the supplicant manager is in the IDLE state
1626                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1627                         cancel any pending scans too
1628                 - (real_bring_up): don't set up the supplicnat interface here, because
1629                         we need the supplicant interface at times when the device may not
1630                         be "up"
1631                 - (real_take_down): just remove the periodic source
1632                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1633                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1634                         do anything if there's no supplicant interface
1635                 - (cleanup_association_attempt): cleanup
1636                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1637                         the interface enters the READY state; transition to UNAVAILABLE
1638                         state when the interface goes down because the device can't be used
1639                         without a supplicant interface
1640                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1641                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1642                         acquire the supplicant interface and transition to DISCONNECTED
1643                         if the radio isn't killed
1644                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1645                 - (state_changed_cb): release any existing supplicant interface; if the
1646                         radio is enabled then try to acquire a new supplicant interface;
1647                         if the radio is enabled and a supplicant interface has been acquired,
1648                         we can transition to DISCONNECTED
1649                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1650                         don't enable the radio, because HAL probably lied to us about the
1651                         killswitch being off.  If bringing the hardware up worked, then
1652                         try to grab a supplicant interface, and if that was successful,
1653                         transition to DISCONNECTED
1654
1655 2008-06-30  Dan Williams  <dcbw@redhat.com>
1656
1657         * src/supplicant-manager/nm-supplicant-interface.c
1658                 - (request_scan_results, nm_supplicant_interface_dispose,
1659                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1660                         the id of the timeout, not a GSource
1661
1662 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1663
1664         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1665         bunch of typoes introduced by "Patch from David Cantrell 
1666         <dcantrell@redhat.com> and me".
1667
1668 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1669
1670         * src/nm-serial-device.c: 
1671         * src/nm-gsm-device.c: 
1672         * src/nm-cdma-device.c: Move the pending call handling to a common location
1673         in serial device. Handle setting device state to failed in one place as well.
1674
1675 2008-06-29  Dan Williams <dcbw@redhat.com>
1676
1677         * src/nm-hal-manager.c
1678                 - Rework killswitch handling to query killswitch status immediately
1679                         when the first killswitch is added, so that rfkill state is
1680                         known as early as possible
1681                 - Also treat failure of GetPower() as rfkill when the dbus method
1682                         call times out (but not when the HAL callout returns an error)
1683
1684 2008-06-26  Dan Williams <dcbw@redhat.com>
1685
1686         Patch from David Cantrell <dcantrell@redhat.com> and me
1687
1688         * include/nm-dbus-glib-types.h
1689                 - Add IP6 address types
1690
1691         * libnm-util/Makefile.am
1692           libnm-util/nm-setting-ip6-config.c
1693           libnm-util/nm-setting-ip6-config.h
1694                 - Add IP6 settings object
1695
1696         * libnm-util/nm-connection.c
1697                 - (register_default_settings): register ip6 settings object
1698
1699         * libnm-util/nm-utils.c
1700           libnm-util/nm-utils.h
1701                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1702                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1703                         ip6 address conversion functions
1704         
1705 2008-06-26  Dan Williams <dcbw@redhat.com>
1706
1707         Patch from David Cantrell <dcantrell@redhat.com>
1708         
1709         * Use inet_ntop() and inet_pton() everwhere and check for errors
1710
1711 2008-06-26  Dan Williams <dcbw@redhat.com>
1712
1713         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1714
1715 2008-06-26  Dan Williams <dcbw@redhat.com>
1716
1717         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1718
1719         * src/nm-device-wifi.c
1720                 - (link_timeout_cb): don't ignore disconnects due to scanning
1721                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1722                         a longer timeout when scanning; avoids case where supplicant can't
1723                         find the AP and just keeps scanning forever but isn't connected
1724
1725 2008-06-26  Dan Williams <dcbw@redhat.com>
1726
1727         Patch from Michael Biebl <biebl@debian.org>
1728
1729         * Clean up build system stuff
1730
1731 2008-06-23  Christian Persch  <chpe@gnome.org>
1732
1733         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1734         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1735         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1736         (impl_get_object):
1737         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1738         (impl_get_object):
1739         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1740         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1741         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1742         (impl_get_object):
1743         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1744         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1745         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1746         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1747         * vpn-daemons/pptp/properties/vpnui_opt.c:
1748         (vpnui_opt_connect_signals):
1749         * vpn-daemons/pptp/properties/vpnui_opt.h:
1750         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1751         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1752         deprecated gtk type macros. Bug #539325.
1753
1754 2008-06-20  Dan Williams  <dcbw@redhat.com>
1755
1756         * libnm-glib/nm-vpn-plugin-ui-interface.c
1757           libnm-glib/nm-vpn-plugin-ui-interface.h
1758                 - 'validity-changed' -> 'changed' to work better with the connection
1759                         editor.  Plugin UI widgets should emit 'changed' whenever their
1760                         UI values change in a meaningful way.
1761                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1762                         update_connection member now returns validity of the UI widget
1763
1764 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1765
1766         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1767
1768 2008-06-17  Dan Williams  <dcbw@redhat.com>
1769
1770         * libnm-glib/nm-vpn-plugin-ui-interface.c
1771           libnm-glib/nm-vpn-plugin-ui-interface.h
1772                 - Add "desc" property for longer descriptions of the VPN plugin
1773
1774 2008-06-16  Dan Williams  <dcbw@redhat.com>
1775
1776         * configure.in
1777           libnm-glib/libnm_glib_vpn.pc.in
1778                 - add a .pc file for libnm_glib_vpn
1779
1780         * libnm-glib/nm-vpn-plugin-ui-interface.c
1781           libnm-glib/nm-vpn-plugin-ui-interface.h
1782                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1783                         rework it substantially
1784
1785 2008-06-12  Dan Williams  <dcbw@redhat.com>
1786
1787         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1788         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
1789         returns a descriptive GError when verification fails.
1790
1791 2008-06-11  Dan Williams  <dcbw@redhat.com>
1792
1793         Patch from Tambet Ingo <tambet@gmail.com>
1794
1795         * libnm-util/nm-setting-gsm.c
1796                 - (verify): validate APN
1797
1798         * src/nm-gsm-device.c
1799                 - (manual_registration_done): start setting APN if needed
1800                 - (set_apn, set_apn_done): set the APN
1801                 - (do_dial): use the APN when dialing
1802
1803 2008-06-11  Dan Williams  <dcbw@redhat.com>
1804
1805         * src/NetworkManagerSystem.c
1806                 - (nm_system_device_set_ip4_route,
1807                    nm_system_device_replace_default_ip4_route): check for the right
1808                         return value from rtnl_route_add() to know when to add a gateway
1809                         route (from Tambet)
1810
1811 2008-06-11  Dan Williams  <dcbw@redhat.com>
1812
1813         * src/NetworkManagerPolicy.c
1814                 - do_ipt_cmd -> do_cmd
1815                 - (sharing_init): use do_cmd() instead of system()
1816
1817 2008-06-10  Dan Williams  <dcbw@redhat.com>
1818
1819         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
1820         and use "wifi" everwhere instead.
1821
1822 2008-06-10  Dan Williams  <dcbw@redhat.com>
1823
1824         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
1825
1826 2008-06-10  Dan Williams  <dcbw@redhat.com>
1827
1828         Patch from Tambet Ingo <tambet@gmail.com>
1829
1830         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1831                 changes.
1832
1833         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1834                 a signal to emit these changes over dbus.
1835
1836         * src/Makefile.am: Genereate nm-serial-device-glue.
1837
1838         * libnm-glib/nm-serial-device.[ch]: Implement.
1839
1840         * libnm-glib/nm-cdma-device.[ch]
1841           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
1842
1843         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
1844
1845         * introspection/nm-device-serial.xml: Implement.
1846
1847         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
1848
1849         * introspection/Makefile.am: Add nm-device-serial.xml.
1850
1851         * include/NetworkManager.h: Add a DBus interface for serial device.
1852
1853 2008-06-10  Dan Williams  <dcbw@redhat.com>
1854
1855         * configure.in
1856                 - Add TARGET_* define to config.h to distinguish distros
1857
1858         * src/dhcp-manager/nm-dhcp-manager.c
1859                 - (dhclient_run): use distro-specific path for dhclient config file
1860
1861 2008-06-09  Dan Williams  <dcbw@redhat.com>
1862
1863         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1864           src/dnsmasq-manager/nm-dnsmasq-manager.h
1865                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
1866                         calculate the addresses passed to dnsmasq instead of hard-coding
1867                         them
1868
1869         * src/nm-device.c
1870                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
1871                         IP addresses for shared connections to guard against shared
1872                         connection address collisions
1873                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
1874                         error conditions
1875                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
1876                         the dnsmasq manager
1877
1878 2008-06-09  Dan Williams  <dcbw@redhat.com>
1879
1880         * src/NetworkManagerPolicy.c
1881                 - (update_routing_and_dns): set the default connection _after_ unsetting
1882                         default on all non-default connections so that two connections can
1883                         never be default at the same time
1884                 - (device_state_changed): start and stop connection sharing when
1885                         needed
1886                 - (active_connection_default_changed): restart or stop sharing when
1887                         the default connection changes to keep shared connections always
1888                         NAT-ed through the default connection
1889                 - (check_sharing): handle activation/deactivation of shared connections
1890                 - (sharing_restart): atom-bomb approach to connection sharing until we
1891                         can use libnl; reinit all sharing when the default connection or
1892                         shared connections change
1893                 - (sharing_init, sharing_stop): evil functions that init and deinit
1894                         iptables
1895
1896 2008-06-09  Dan Williams  <dcbw@redhat.com>
1897
1898         * src/nm-activation-request.c
1899           src/nm-activation-request.h
1900                 - (nm_act_request_set_shared, nm_act_request_get_shared,
1901                    nm_act_request_get_device): new functions to facilitate connection
1902                         sharing
1903
1904 2008-06-09  Dan Williams  <dcbw@redhat.com>
1905
1906         * src/nm-device.c
1907                 - (clear_act_request): unset the 'default' property of the activation
1908                         request when clearing it to ensure the property changed signal gets
1909                         delivered and handled
1910
1911 2008-06-09  Dan Williams  <dcbw@redhat.com>
1912
1913         * libnm-glib/nm-device-802-11-wireless.c
1914                 - (access_point_removed_proxy): actually unref the AP after removing
1915                         it from the device's AP list.  Fixes refcounting bug for APs that
1916                         caused them to get mixed up in the applet's menu.
1917
1918 2008-06-09  Tambet Ingo  <tambet@gmail.com>
1919
1920         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
1921         (nm_dhcp_device_destroy): Destroy the device options hash table.
1922
1923 2008-06-06  Dan Williams <dcbw@redhat.com>
1924
1925         * system-settings/src/nm-polkit-helpers.c
1926                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
1927                         unref the context if the initialization fails; also avoid spew when
1928                         the error isn't set
1929
1930 2008-06-06  Dan Williams <dcbw@redhat.com>
1931
1932         Patch from Tambet Ingo  <tambet@gmail.com>
1933
1934         * src/NetworkManagerSystem.c
1935           src/NetworkManagerSystem.h
1936                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
1937                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
1938                 - (nm_system_device_set_ip4_route): clean up
1939                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
1940
1941         * src/nm-device.c
1942                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
1943
1944         * src/vpn-manager/nm-vpn-connection.c
1945                 - (ip_address_to_string): new function
1946                 - (print_vpn_config): use ip_address_to_string
1947                 - (merge_vpn_routes): add user-defined routes to the ip4 config
1948                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
1949
1950         * include/NetworkManagerVPN.h
1951                 - Add 'routes' key
1952
1953 2008-06-05  Dan Williams <dcbw@redhat.com>
1954
1955         Patch from Markus Becker <mab@comnets.uni-bremen.de>
1956
1957         * test/nm-tool.c
1958                 - Show which device is the default device
1959
1960 2008-06-05  Tambet Ingo  <tambet@gmail.com>
1961
1962         Fix memory leaks.
1963
1964         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
1965         Free data returned from dbus method call.
1966
1967         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
1968         dbus_g_method_get_sender() returns a duplicated string, free it 
1969         when done.
1970         (check_polkit_privileges): Looks like policykit sometimes returns
1971         error and non-null return value, don't leak errors in that case.
1972
1973         * system-settings/src/main.c (find_plugin): Don't leak existing 
1974         plugin names.
1975         (load_stuff): Don't leak device list and list items.
1976         (have_connection_for_device): Don't leak connection list.
1977
1978         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
1979         Free the data received from g_keyfile_get_*.
1980
1981         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
1982         the key when the security object is updated.
1983
1984         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
1985         Free data returned from dbus method call.
1986         (iface_state_cb): Ditto.
1987         (add_network_cb): Ditto.
1988         (nm_supplicant_interface_add_cb): Don't make another copy of already
1989         duplicated object path.
1990         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
1991         when done.
1992
1993         * src/supplicant-manager/nm-supplicant-config.c 
1994         (ADD_STRING_LIST_VAL): Fix a memory leak.
1995
1996         * src/nm-manager.c (free_get_settings_info): Free the allocated
1997         memory slice.
1998         (list_connections_cb): Free data returned from dbus method call.
1999         (system_settings_get_unmanaged_devices_cb): Ditto.
2000
2001         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2002
2003         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2004         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2005         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2006         of the GList.
2007
2008         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2009         arguments after the object is created.
2010
2011 2008-06-04  Dan Williams <dcbw@redhat.com>
2012
2013         * libnm-util/Makefile.am
2014                 - Don't distribute nm-param-spec-specialized.h
2015
2016 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2017
2018         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2019
2020         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2021         NMIP4Address, update the getters and setters.
2022
2023         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2024         Use the updated NMIP4Config routes api.
2025
2026         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2027         static routes as well.
2028
2029         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2030         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2031         routes api.
2032
2033 2008-05-30  Dan Williams <dcbw@redhat.com>
2034
2035         * src/named-manager/nm-named-manager.c
2036           src/named-manager/nm-named-manager.h
2037                 - Remove stale/obsolete bits for controlling bind over DBus
2038
2039 2008-05-29  Dan Williams <dcbw@redhat.com>
2040
2041         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2042           src/dnsmasq-manager/nm-dnsmasq-manager.h
2043                 - (nm_dnsmasq_manager_new): move iface argument here
2044                 - (constructor): remove, not needed
2045                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2046                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2047
2048         * src/nm-device.c
2049                 - (real_act_stage4_get_ip4_config,
2050                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2051                         changes
2052
2053 2008-05-29  Dan Williams <dcbw@redhat.com>
2054
2055         * src/nm-device.c
2056                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2057                         something happens to dnsmasq
2058                 - (nm_device_new_ip4_shared_config): new function; create a new
2059                         ip4-config for shared connections.  Shared connections always use a
2060                         fixed static IP address.
2061                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2062                         autoip connections by actually using the returned ip4-config and
2063                         not leaking it
2064                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2065                         connections
2066                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2067                         if its active
2068
2069 2008-05-29  Dan Williams <dcbw@redhat.com>
2070
2071         * src/nm-device-802-11-wireless.c
2072                 - (real_get_best_auto_connection): auto-activate 'shared' method
2073                         connections too
2074
2075 2008-05-29  Dan Williams <dcbw@redhat.com>
2076
2077         * libnm-util/nm-setting-ip4-config.c
2078           libnm-util/nm-setting-ip4-config.h
2079                 - Add a 'shared' method to indicate that this connection should be
2080                         brought up with a DHCP and proxy DNS server to facilitate
2081                         connection sharing.
2082                 - (verify): 'shared' method doesn't allow DNS or searches either
2083
2084 2008-05-29  Dan Williams <dcbw@redhat.com>
2085
2086         * configure.in
2087           src/Makefile.am
2088           src/dnsmasq-manager/Makefile.am
2089           src/dnsmasq-manager/nm-dnsmasq-manager.c
2090           src/dnsmasq-manager/nm-dnsmasq-manager.h
2091                 - Add a dnsmasq daemon manager to facilitate connection sharing
2092
2093 2008-05-29  Dan Williams <dcbw@redhat.com>
2094
2095         * src/nm-device-private.h
2096                 - Remove unused prototypes and clean up
2097
2098         * src/nm-device.c
2099                 - Remove anything related to system_config_data, which is no longer used
2100                 - (nm_device_new_ip4_autoip_config): make static
2101
2102 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2103
2104         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2105         (file_changed): Fix a bug where suse system settings plugin didn't
2106         update the connections automatically when the files changed.
2107
2108 2008-05-28  Dan Williams  <dcbw@redhat.com>
2109
2110         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2111
2112 2008-05-28  Dan Williams  <dcbw@redhat.com>
2113
2114         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2115
2116         * src/NetworkManagerSystem.c
2117                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2118                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2119                         was causing -EINVAL errors since the libnl code actually does flush
2120                         the routes on VPN interfaces now
2121
2122         * src/backends/NetworkManagerArch.c
2123           src/backends/NetworkManagerDebian.c
2124           src/backends/NetworkManagerFrugalware.c
2125           src/backends/NetworkManagerGeneric.c
2126           src/backends/NetworkManagerGentoo.c
2127           src/backends/NetworkManagerMandriva.c
2128           src/backends/NetworkManagerPaldo.c
2129           src/backends/NetworkManagerRedHat.c
2130           src/backends/NetworkManagerSlackware.c
2131           src/backends/NetworkManagerSuSE.c
2132                 - (nm_system_device_flush_ip4_routes,
2133                    nm_system_device_flush_ip4_routes_with_iface): remove
2134
2135 2008-05-28  Dan Williams  <dcbw@redhat.com>
2136
2137         * libnm-util/nm-setting-wireless.c
2138           libnm-util/nm-setting-wireless.h
2139                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2140                         'adhoc-create' property, which when TRUE indicates that NM should
2141                         create this connection as an adhoc wifi network if it's not found
2142                         as an adhoc network during scanning.  Can be used to auto-create
2143                         adhoc networks when used in combination with autoconnect.
2144
2145 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2146
2147         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2148
2149         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2150         checked, it doesn't work on some devices.
2151
2152 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2153
2154         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2155         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2156
2157         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2158         Use inet_aton() everywhere to improve error detection.
2159         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2160         provided.
2161
2162 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2163
2164         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2165         Fix a typo.
2166
2167 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2168
2169         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2170         reference counting issue.
2171
2172 2008-05-23  Dan Williams  <dcbw@redhat.com>
2173
2174         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2175
2176         * src/backends/NetworkManagerGeneric.c
2177                 - (nm_generic_enable_loopback): use libnl
2178
2179 2008-05-23  Dan Williams  <dcbw@redhat.com>
2180
2181         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2182
2183         * src/NetworkManagerSystem.h
2184           src/backends/NetworkManagerArch.c
2185           src/backends/NetworkManagerDebian.c
2186           src/backends/NetworkManagerFrugalware.c
2187           src/backends/NetworkManagerGentoo.c
2188           src/backends/NetworkManagerMandriva.c
2189           src/backends/NetworkManagerPaldo.c
2190           src/backends/NetworkManagerRedHat.c
2191           src/backends/NetworkManagerSlackware.c
2192           src/backends/NetworkManagerSuSE.c
2193                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2194                    nm_system_flush_arp_cache): remove, unused
2195
2196         * src/backends/NetworkManagerGeneric.c
2197           src/backends/NetworkManagerGeneric.h
2198                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2199                    nm_generic_flush_arp_cache): remove, unused
2200
2201 2008-05-23  Dan Williams  <dcbw@redhat.com>
2202
2203         * system-settings/plugins/ifcfg-fedora/reader.c
2204                 - (make_ip4_setting): honor PEERDNS setting
2205
2206 2008-05-23  Dan Williams  <dcbw@redhat.com>
2207
2208         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2209
2210         * src/NetworkManagerSystem.c
2211                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2212                         libnl
2213
2214         * src/backends/NetworkManagerArch.c
2215           src/backends/NetworkManagerDebian.c
2216           src/backends/NetworkManagerFrugalware.c
2217           src/backends/NetworkManagerGentoo.c
2218           src/backends/NetworkManagerMandriva.c
2219           src/backends/NetworkManagerPaldo.c
2220           src/backends/NetworkManagerRedHat.c
2221           src/backends/NetworkManagerSlackware.c
2222           src/backends/NetworkManagerSuSE.c
2223                 - (nm_system_device_flush_ip4_addresses,
2224                    nm_system_device_flush_ip4_addresses_with_iface): remove
2225
2226         * src/backends/NetworkManagerGeneric.c
2227                 - (nm_generic_device_flush_ip4_addresses,
2228                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2229
2230 2008-05-23  Dan Williams  <dcbw@redhat.com>
2231
2232         * src/supplicant-manager/nm-supplicant-settings-verify.c
2233                 - Switch 'bssid' from bytes to keyword type
2234                 - (validate_type_keyword): allow NULL keyword lists
2235
2236         * src/supplicant-manager/nm-supplicant-config.c
2237                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2238                         a byte array to string form, which is what the supplicant expects
2239
2240 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2241
2242         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2243         information received from DHCP.
2244
2245         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2246         to make it possible to ignore the DNS information (both servers and 
2247         searches) returned by DHCP server.
2248
2249         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2250         name servers and searches if "ignore_dhcp_dns" is set.
2251
2252         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2253         (nm_ip4_config_reset_searches): Implement.
2254
2255 2008-05-22  Dan Williams  <dcbw@redhat.com>
2256
2257         Remove anything mDNS related.  This is better done from a distro-specific
2258         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2259         avahi, since avahi can handle interface changes just fine using netlink.
2260
2261         * configure.in
2262                 - Remove --with-mdns-provider
2263
2264         * src/NetworkManagerPolicy.c
2265                 - (global_state_changed): don't restart the mdns provider
2266
2267         * src/NetworkManagerSystem.h
2268           src/backends/NetworkManagerArch.c
2269           src/backends/NetworkManagerDebian.c
2270           src/backends/NetworkManagerFrugalware.c
2271           src/backends/NetworkManagerGentoo.c
2272           src/backends/NetworkManagerMandriva.c
2273           src/backends/NetworkManagerPaldo.c
2274           src/backends/NetworkManagerRedHat.c
2275           src/backends/NetworkManagerSlackware.c
2276           src/backends/NetworkManagerSuSE.c
2277                 - (nm_system_restart_mdns_responder): remove
2278
2279         * src/backends/NetworkManagerGeneric.c
2280           src/backends/NetworkManagerGeneric.h
2281                 - (nm_generic_restart_mdns_responder): remove
2282
2283 2008-05-22  Dan Williams  <dcbw@redhat.com>
2284
2285         * configure.in
2286                 - clean up crypto options; just use --with-crypto=nss or
2287                         --with-crypto=gnutls
2288
2289 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2290
2291         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2292         anymore, do it right away.
2293
2294 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2295
2296         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2297         serial device open when we're not connecting or connected.
2298
2299         * src/nm-cdma-device.c (device_state_changed): Ditto.
2300
2301 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2302
2303         Don't remove all devices on waking up, sync with HAL.
2304
2305         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2306         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2307         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2308
2309 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2310
2311         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2312         If the default gateway is unreachable, add a route to gateway and try
2313         again.
2314
2315 2008-05-20  Dan Williams  <dcbw@redhat.com>
2316
2317         * system-settings/plugins/ifcfg-fedora/reader.c
2318                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2319
2320 2008-05-19  Dan Williams  <dcbw@redhat.com>
2321
2322         * system-settings/plugins/ifcfg-fedora/reader.c
2323                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2324                         if the ifcfg doesn't specify one (rh #446527)
2325
2326 2008-05-19  Dan Williams  <dcbw@redhat.com>
2327
2328         Make the system settings service exit when the bus goes away.  Since it's
2329         a bus-activated service, it's lifetime is limited to the bus that activated
2330         it (rh #444976).
2331
2332         * system-settings/src/Makefile.am
2333           system-settings/src/nm-system-config-hal-manager-private.h
2334                 - Remove nm-system-config-hal-manager-private.h
2335
2336         * system-settings/src/nm-system-config-hal-manager.c
2337                 - (nm_system_config_hal_manager_reinit_dbus,
2338                    nm_system_config_hal_manager_deinit_dbus): remove
2339
2340         * system-settings/src/main.c
2341                 - (dbus_reconnect): remove
2342                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2343                 - (destroy_cb): just quit when the bus goes away
2344                 - (start_dbus_service, dbus_init): simplify
2345                 - (main): destroy the wired devices hash table after destroying
2346                         the HAL manager so we don't have to disconnect signals from the
2347                         HAL manager
2348
2349 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2350
2351         Move crypto functions from nm-applet to libnm-util.
2352
2353         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2354         (nm_setting_802_1x_set_client_cert)
2355         (nm_setting_802_1x_set_phase2_ca_cert)
2356         (nm_setting_802_1x_set_phase2_client_cert)
2357         (nm_setting_802_1x_set_private_key)
2358         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2359         file (or private key and it's password), read the certificate data.
2360
2361         * libnm-util/crypto_nss.c: 
2362         * libnm-util/crypto_gnutls.c: 
2363         * libnm-util/crypto.[ch]: Move here from nm-applet.
2364
2365         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2366
2367         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2368         Imlement WPA-EAP configuration reading from sysconfig.
2369
2370 2008-05-16  Dan Williams  <dcbw@redhat.com>
2371
2372         * src/nm-device-802-11-wireless.c
2373                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2374                         wireless
2375
2376 2008-05-14  Dan Williams  <dcbw@redhat.com>
2377
2378         Fix Linus' bug in rh #134886
2379
2380         * src/nm-device-802-3-ethernet.c
2381                 - (constructor): request initial carrier state
2382
2383         * src/nm-netlink-monitor.c
2384                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2385                         signals after refilling the link cache.  Because the refill is a 
2386                         synchronous operation, the normal message hander won't get called
2387                         since libnl has already consumed the messages.
2388                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2389
2390 2008-05-14  Dan Williams  <dcbw@redhat.com>
2391
2392         * src/NetworkManagerSystem.c
2393                 - (nm_system_device_is_up_with_iface): clean up
2394
2395 2008-05-13  Dan Williams  <dcbw@redhat.com>
2396
2397         Fix refcounting issues over sleep/wake when a VPN connection was active that
2398         caused NM to try registering an object path for a device upon wake that was
2399         the same as an already registered object path.
2400
2401         * src/nm-device.c
2402                 - (nm_device_take_down): properly handle cases where the device is
2403                         no longer active but was just active, and therefore must be
2404                         deactivated.  When a device moves to unmanaged mode, this function
2405                         previously would not deactivate the device, because the state was
2406                         already unmanaged by the time this function was called.
2407
2408         * src/vpn-manager/nm-vpn-connection.c
2409                 - (device_state_changed): properly handle multiple devices states in
2410                         which the device is now deactivated.  Code previously didn't handle
2411                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2412                         UNMANAGED states.
2413
2414 2008-05-13  Dan Williams  <dcbw@redhat.com>
2415
2416         * src/nm-device-private.h
2417           src/nm-device.c
2418                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2419
2420         * src/nm-device-802-11-wireless.c
2421                 - (nm_device_802_11_wireless_set_enabled): take devices up
2422                         and down as appropriate for the rfkill state
2423
2424 2008-05-13  Dan Williams  <dcbw@redhat.com>
2425
2426         * marshallers/nm-marshal.list
2427                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2428
2429         * system-settings/plugins/ifcfg-fedora/Makefile.am
2430           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2431           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2432                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2433                         events.  Solely for use watching ifcfg files to pick up changes
2434                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2435
2436         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2437                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2438                         file contents change
2439                 - (finalize): clean up inotify watches
2440                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2441                         and the connection ifcfg for changes on their hardlinks
2442                 - (files_changed_cb): proxy the changed signal back out to listeners
2443
2444         * system-settings/plugins/ifcfg-fedora/plugin.c
2445                 - (dir_changed): 
2446                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2447                         changes
2448                 - (read_one_connection): connect to change signals on the new connection
2449                 - (dir_changed, connection_changed_handler,
2450                    handle_connection_remove_or_new): break out connection change
2451                         handling and connection new/remove handling so it can be used from
2452                         both the GFileMonitor callback and the NMIfcfgConnection changed
2453                         signals
2454
2455         * system-settings/plugins/ifcfg-fedora/reader.c
2456           system-settings/plugins/ifcfg-fedora/reader.h
2457                 - (connection_from_file): return the keyfile path the connection would use
2458
2459 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2460
2461         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2462         single PolKitContext which is shared by all. PolKitContext::unref leaks
2463         just about everything, including all open file descriptiors and results
2464         in 99% cpu usage when data arrives to any of the fds that don't belong
2465         to any context anymore.
2466
2467 2008-05-12  Dan Williams  <dcbw@redhat.com>
2468
2469         * gfilemonitor/glocaldirectorymonitor.c
2470           gfilemonitor/glocaldirectorymonitor.h
2471                 - (g_local_directory_monitor_constructor): actually subscribe to the
2472                         watch
2473                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2474
2475         * gfilemonitor/glocalfilemonitor.c
2476           gfilemonitor/glocalfilemonitor.h
2477                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2478                 - (_g_local_file_monitor_new): ensure that inotify is started up
2479
2480 2008-05-11  Dan Williams  <dcbw@redhat.com>
2481
2482         * configure.in
2483                 - record PolicyKit version
2484
2485         * system-settings/src/nm-polkit-helpers.c
2486                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2487                         with PolicyKit <= 0.6
2488
2489 2008-05-11  Dan Williams  <dcbw@redhat.com>
2490
2491         Update Fedora system-settings plugin to support latest API and use
2492         GFileMonitor rather than home-rolled inotify code.
2493
2494         * system-settings/plugins/ifcfg-fedora/Makefile.am
2495           system-settings/plugins/ifcfg-fedora/common.h
2496           system-settings/plugins/ifcfg-fedora/plugin.c
2497                 - Update to latest system settings plugin API; use GIO instead of
2498                         custom inotify code; use NMIfcfgConnection objects instead of
2499                         ConnectionData structures tacked onto NMConnection objects
2500
2501         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2502           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2503                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2504                         connections
2505
2506         * system-settings/plugins/ifcfg-fedora/reader.c
2507           system-settings/plugins/ifcfg-fedora/reader.h
2508                 - Move ifcfg parsing bits here from parser.c
2509
2510         * system-settings/plugins/ifcfg-fedora/parser.c
2511           system-settings/plugins/ifcfg-fedora/parser.h
2512                 - Remove; most code moved to reader.c
2513
2514 2008-05-11  Dan Williams  <dcbw@redhat.com>
2515
2516         * configure.in
2517           Makefile.am
2518           gfilemonitor/*
2519                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2520                         implementation, so that the same change monitoring code can be used
2521                         on systems without glib-2.14 (like Fedora 8)
2522
2523         * system-settings/plugins/keyfile/Makefile.am
2524           system-settings/plugins/keyfile/plugin.c
2525           system-settings/plugins/ifcfg-suse/Makefile.am
2526           system-settings/plugins/ifcfg-suse/plugin.c
2527                 - Use private gfilemonitor code if GIO is not present
2528
2529 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2530
2531         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2532         NMExportedConnection's 'update' and 'delete' and return error with
2533         descriptive message.
2534
2535 2008-05-08  Dan Williams  <dcbw@redhat.com>
2536
2537         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2538
2539         * src/nm-gsm-device.c
2540           src/nm-cdma-device.c
2541                 - (real_get_best_auto_connection): implement; allow autoconnection
2542                         to GSM & CDMA devices
2543
2544 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2545
2546         Use PolicyKit to authorize the system settings' AddConnection method
2547         and the system settings connections' Update and Delete methods.
2548         
2549         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2550         (impl_exported_connection_delete, nm_exported_connection_update)
2551         (nm_exported_connection_delete): Return boolean and fill GError
2552         to notify the callers of the reasons why it might have failed.
2553
2554         * libnm-glib/nm-dbus-settings-system.c
2555         (nm_dbus_settings_system_add_connection): Return the error from dbus
2556         call so that the callers can see why it failed.
2557
2558         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2559         signatures.
2560
2561         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2562
2563         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2564         abstract base class that checks PolicyKit permissions.
2565
2566         * system-settings/src/dbus-settings.c:
2567         (impl_settings_add_connection): Check the policy before carring out
2568         the request.
2569
2570         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2571         Inherit from NMSysconfigConnection, check the policies before
2572         allowing updating or removing.
2573
2574         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2575         Inherit from NMSysconfigConnection.
2576
2577         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2578         "Delete" methods with async flag so that the implementations can get
2579         access to DBusGMethodInvocation.
2580
2581         * system-settings/src/dbus-settings.c 
2582         (settings_add_connection_check_privileges): Implement.
2583         (impl_settings_add_connection): Check the privileges before adding a new
2584         connection. Improve error reporting.
2585
2586         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2587         async so that the implementation can access DBusGMethodInvocation.
2588
2589         * configure.in: Check for PolicyKit.
2590
2591         * policy/org.freedesktop.network-manager-settings.system.policy: 
2592         New file.
2593
2594         * policy/Makefile.am: Install the policy file.
2595
2596         * configure.in: Add 'policy' subdir.
2597
2598 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2599
2600         Rewrite the suse system settings plugin.
2601
2602         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2603
2604         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2605
2606         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2607
2608         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2609
2610         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2611
2612         * system-settings/src/main.c (load_plugins): Improve error reporting.
2613
2614         * system-settings/src/sha1.[ch] Add.
2615
2616         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2617
2618 2008-05-07  Dan Williams  <dcbw@redhat.com>
2619
2620         * system-settings/plugins/keyfile/reader.c
2621                 - (read_one_setting_value): handle IP address items separately
2622                 - (read_array_of_uint): read IPv4 DNS option as a string array
2623                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2624                         array
2625
2626         * system-settings/plugins/keyfile/writer.c
2627                 - (write_setting_value): handle IP address items separately
2628                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2629                         not an array of uint, so that it's user-editable
2630                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2631                         arrays, so they are user-editable
2632
2633 2008-05-07  Dan Williams  <dcbw@redhat.com>
2634
2635         * system-settings/plugins/keyfile/Makefile.am
2636                 - Change location of the keyfile plugin settings to
2637                         /etc/NetworkManager/system-connections
2638
2639 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2640
2641         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2642
2643         * system-settings/plugins/keyfile/plugin.c: Work with
2644         NMKeyfileConnections.
2645
2646         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2647         Plugins are supposed to return NMExportedConnections now and handle the
2648         updated(), removed(), and GetSecrets().
2649         Store the internal list of connections in hash table to make it easier
2650         to find duplicates.
2651
2652 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2653
2654         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2655         for multiple IP addresses.
2656
2657 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2658
2659         Patch from André Lemos.
2660
2661         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2662         corruption.
2663
2664 2008-05-06  Dan Williams  <dcbw@redhat.com>
2665
2666         * src/dhcp-manager/nm-dhcp-manager.c
2667                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2668                         NMIP4Config to support multiple IP addresses
2669
2670         * src/NetworkManagerUtils.c
2671                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2672
2673         * src/nm-ip4-config.c
2674           src/nm-ip4-config.h
2675                 - Store a list of IPv4 address/netmask/gateway tuples
2676                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2677                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2678                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2679                    nm_ip4_config_set_address): remove
2680                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2681                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2682                         new functions; handle multiple IPv4 addresses
2683
2684         * src/nm-device.c
2685           src/ppp-manager/nm-ppp-manager.c
2686           src/vpn-manager/nm-vpn-connection.c
2687           src/NetworkManagerPolicy.c
2688           test/nm-tool.c
2689           libnm-glib/libnm-glib-test.c
2690                 - update for changes to NMIP4Config for multiple IPv4 addresses
2691
2692         * src/NetworkManagerSystem.c
2693                 - (nm_system_device_set_ip4_route): don't add the route if any address
2694                         is on the same subnet as the destination
2695                 - (check_one_address): ignore the exact match, just match family and
2696                         interface index
2697                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2698                         an interface
2699                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2700                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2701
2702         * introspection/nm-ip4-config.xml
2703                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2704                 - Add 'addresses' property which is an array of (uuu) tuples of
2705                         address/netmask/gateway
2706
2707         * libnm-util/nm-setting-ip4-config.c
2708                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2709
2710         * libnm-glib/nm-ip4-config.c
2711           libnm-glib/nm-ip4-config.h
2712                 - Handle D-Bus interface changes to support multiple IP addresses
2713
2714 2008-05-06  Dan Williams  <dcbw@redhat.com>
2715
2716         * libnm-util/nm-utils.c
2717           libnm-util/nm-utils.h
2718                 - (nm_utils_ip4_addresses_from_gvalue,
2719                    nm_utils_ip4_addresses_to_gvalue): new functions
2720
2721 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2722
2723         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2724         the returned connection paths.
2725
2726 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2727
2728         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2729         "PropertiesChanged" signal signature.
2730
2731         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2732         defined in nm-dbus-glib-types.h.
2733         Don't register the connection on dbus, we're a proxy class to 
2734         communicate with an already registered connection over dbus.
2735
2736 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2737
2738         Implement new subclasses of NMSettings and NMExportedConnection to make
2739         it easier for the applet to access and modify system settings.
2740
2741         * libnm-glib/nm-dbus-connection.[ch]:
2742         * libnm-glib/nm-dbus-settings.[ch]:
2743         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2744
2745         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2746         bindings and glue.
2747
2748         * include/NetworkManager.h: Define the system settings DBus interface.
2749
2750 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2751
2752         Implement additional C API for exported connections to make them identical
2753         with the DBus API. Change the (list_connections) virtual function to be
2754         more usable from C - instead of requiring implementers to return a GPtrArray
2755         of dbus paths, return a list of connections.
2756
2757         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2758         (nm_settings_list_connections):
2759         (nm_exported_connection_new):
2760         (nm_exported_connection_update):
2761         (nm_exported_connection_delete): Implement.
2762
2763         (impl_settings_list_connections):
2764         (impl_exported_connection_update):
2765         (impl_exported_connection_delete): Use the new public functions to make 
2766         sure the C and dbus interfaces stay in sync.
2767
2768         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2769         connections.
2770
2771 2008-05-02  Dan Williams  <dcbw@redhat.com>
2772
2773         * system-settings/plugins/ifcfg-fedora/plugin.c
2774                 - (dispose): use right unref call on the DBusGConnection
2775
2776 2008-05-02  Dan Williams  <dcbw@redhat.com>
2777
2778         * src/nm-serial-device.c
2779                 - (find_terminator): don't compare the whole line, just the size of the
2780                         terminator, since some modems put stuff after the terminator, like
2781                         "CONNECT 9600"
2782
2783 2008-05-01  Dan Williams  <dcbw@redhat.com>
2784
2785         Patch from Michael Biebl <biebl@debian.org>
2786
2787         * callouts/Makefile.am
2788           callouts/org.freedesktop.nm_dispatcher.service.in
2789           system-settings/src/Makefile.am
2790           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2791                 - use the right install location for dbus-activated stuff
2792
2793 2008-04-30  Dan Williams  <dcbw@redhat.com>
2794
2795         * src/nm-gsm-device.c
2796                 - (enter_pin): fix setting name passed to applets when asking for a GSM
2797                         PIN or PUK
2798
2799 2008-04-30  Dan Williams  <dcbw@redhat.com>
2800
2801         * src/nm-manager.c
2802                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2803
2804 2008-04-30  Dan Williams  <dcbw@redhat.com>
2805
2806         * src/nm-device-802-3-ethernet.c
2807           src/nm-device-802-11-wireless.c
2808                 - (real_is_up): return true instead of chaining up to unimplemented
2809                         parent method
2810
2811 2008-04-30  Dan Williams  <dcbw@redhat.com>
2812
2813         * src/NetworkManagerSystem.c
2814           src/NetworkManagerSystem.h
2815                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2816                         functions to check device flags for IFF_UP
2817
2818         * src/nm-serial-device.c
2819                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2820                         implement is_up
2821
2822         * src/nm-device-802-3-ethernet.c
2823           src/nm-device-802-11-wireless.c
2824                 - (real_hw_is_up): call nm_system_device_is_up()
2825
2826         * src/nm-device.c
2827                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2828                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2829                         does not implement
2830
2831 2008-04-29  Dan Williams  <dcbw@redhat.com>
2832
2833         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2834
2835         * marshallers/nm-marshal.list
2836                 - Add marshaller
2837
2838         * src/NetworkManager.c
2839                 - (main): let the NMManager handle the NMHalManager
2840
2841         * src/nm-hal-manager.c
2842           src/nm-hal-manager.h
2843                 - convert to a GObject, and emit singals when stuff changes.  Let the
2844                         NMManager handle the signals, instead of the NMHalManager calling
2845                         into the NMManager.  
2846
2847         * src/nm-manager.c
2848           src/nm-manager.h
2849                 - (remove_one_device): consolidate device removals here
2850                 - (dispose): use remove_one_device()
2851                 - (nm_manager_get_device_by_udi): make static
2852                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
2853                         manager for devices at startup or wakeup time
2854                 - (nm_manager_new): create and monitor the HAL manager
2855                 - (hal_manager_udi_added_cb): new function; do what
2856                         nm_manager_add_device() used to do when signalled by the hal manager
2857                 - (hal_manager_udi_removed_cb): new function; do what
2858                         nm_manager_remove_device() used to do when signalled by the hal
2859                         manager
2860                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
2861                         hal manager
2862                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
2863                         in our device list that aren't known to HAL
2864                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
2865                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
2866                         commits ago
2867                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
2868                    nm_manager_activation_pending, nm_manager_wireless_enabled,
2869                    nm_manager_wireless_hardware_enabled,
2870                    nm_manager_set_wireless_hardware_enabled): remove, unused
2871
2872 2008-04-28  Dan Williams  <dcbw@redhat.com>
2873
2874         Fix the device up/down ambiguities.  Up/down state used to be a
2875         conglomeration of hardware state (IFF_UP) and any device-specific things
2876         (supplicant, periodic timers, etc) that the device used to indicate
2877         readiness.  Unfortunately, if the hardware was already IFF_UP for some
2878         reason, then the device specific stuff wouldn't get run, and the device
2879         would be stuck.
2880
2881         * src/nm-device.c
2882           src/nm-device.h
2883                 - Create hw_is_up, hw_bring_up, and hw_take_down
2884                 - Rename bring_down -> take_down
2885                 - (real_hw_is_up): check interface flags for IFF_UP
2886                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
2887                 - (nm_device_is_up): make static; only used locally
2888                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
2889                         if the device is already up; if the device isn't up, bring it up
2890                 - (nm_device_hw_take_down): just take down hardware
2891                 - (nm_device_bring_up): bring up HW first, then device specific stuff
2892                 - (nm_device_take_down): always deactivate device when called; always
2893                         try to take hardware down too
2894                 - (nm_device_state_changed): take device down when entering unmanaged
2895                         state from a higher state
2896
2897         * src/nm-device-802-11-wireless.c
2898                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2899                         check IFF_UP really
2900                 - (real_take_down, supplicant_iface_state_cb_handler, 
2901                    supplicant_iface_connection_state_cb_handler,
2902                    supplicant_mgr_state_cb_handler): fix some messages
2903
2904         * src/nm-device-802-3-ethernet.c
2905                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2906                         check IFF_UP really
2907
2908 2008-04-28  Dan Williams  <dcbw@redhat.com>
2909
2910         * src/nm-manager.c
2911           src/nm-manager.h
2912                 - (nm_manager_error_get_type): add new error
2913                 - (nm_manager_remove_device): don't bother taking down the device here,
2914                         the state change from unmanaging the device will do it
2915                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
2916                         uses it; when going to sleep, just unmanage the device instead of
2917                         taking it down, because stuff will cleaned up correctly when the
2918                         device gets unmanaged
2919
2920 2008-04-28  Dan Williams  <dcbw@redhat.com>
2921
2922         * src/nm-hal-manager.c
2923                 - (add_initial_devices): convert to a GSourceFunc prototype
2924                 - (nm_manager_state_changed): when coming out of sleep, punt the
2925                         device re-addition to an idle handler to let D-Bus events go out
2926                         first, fixing a potential dbus-glib assert if the old device was
2927                         not yet disposed (due to references held while emitting the D-Bus
2928                         signals) but the new device was found, because the mainloop didn't
2929                         run between signal emission and add_initial_devices()
2930
2931 2008-04-27  Dan Williams  <dcbw@redhat.com>
2932
2933         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2934
2935         * initscript/paldo/NetworkManager.in
2936           initscript/SUSE/networkmanager.in
2937                 - Remove last bits of dhcdbd
2938
2939 2008-04-27  Dan Williams  <dcbw@redhat.com>
2940
2941         * src/nm-device-802-11-wireless.c
2942                 - (link_timeout_cb): don't ask for secrets when disconnected during
2943                         association/authentication phase, drivers are still just too crappy
2944
2945 2008-04-27  Dan Williams  <dcbw@redhat.com>
2946
2947         * Makefile.am
2948           configure.in
2949           dispatcher-daemon/Makefile.am
2950           dispatcher-daemon/NetworkManagerDispatcher.c
2951           initscript/Arch/Makefile.am
2952           initscript/Arch/networkmanager-dispatcher.in
2953           initscript/Gentoo/Makefile.am
2954           initscript/Gentoo/NetworkManagerDispatcher.in
2955           initscript/Mandriva/Makefile.am
2956           initscript/Mandriva/networkmanagerdispatcher.in
2957           initscript/RedHat/Makefile.am
2958           initscript/RedHat/NetworkManagerDispatcher.in
2959           initscript/SUSE/Makefile.am
2960           initscript/SUSE/networkmanager-dispatcher.in
2961           initscript/Slackware/Makefile.am
2962           initscript/Slackware/rc.networkmanager-dispatcher.in
2963           initscript/paldo/Makefile.am
2964           initscript/paldo/NetworkManagerDispatcher.in
2965           man/Makefile.am
2966           man/NetworkManagerDispatcher.8.in
2967                 - Remove the dispatcher daemon
2968
2969 2008-04-27  Dan Williams  <dcbw@redhat.com>
2970
2971         * callouts/Makefile.am
2972           callouts/nm-dispatcher-action.c
2973           callouts/nm-dispatcher-action.h
2974           callouts/nm-dispatcher.conf
2975           callouts/nm-dispatcher.xml
2976           callouts/org.freedesktop.nm_dispatcher.service
2977                 - Re-implement the dispatcher as a system-bus activated service that
2978                         NM calls on-demand, rather than an always running daemon
2979
2980         * src/Makefile.am
2981                 - Add callouts dir to includes to pick up dispatcher defines
2982
2983         * src/nm-device.c
2984                 - (nm_device_state_changed): call dispatcher on device activated/
2985                         deactivated
2986
2987         * src/vpn-manager/nm-vpn-connection.c
2988                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
2989                         go up and down
2990
2991         * src/NetworkManagerUtils.c
2992           src/NetworkManagerUtils.h
2993                 - (nm_utils_call_dispatcher): helper to call dispatcher
2994
2995 2008-04-27  Dan Williams  <dcbw@redhat.com>
2996
2997         * src/NetworkManagerUtils.c
2998           src/NetworkManagerUtils.h
2999                 - remove unneeded includes
3000                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3001                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3002                    nm_timeval_cmp, nm_timeval_add): remove, unused
3003                 - clean up formatting
3004                 - (nm_spawn_process): de-uglify
3005
3006         * src/nm-device-802-11-wireless.c
3007                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3008
3009 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3010
3011         * initscript/Gentoo/NetworkManager.in:
3012                 Fix for starting the daemon.
3013
3014 2008-04-25  Dan Williams  <dcbw@redhat.com>
3015
3016         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3017
3018         * src/NetworkManagerSystem.c
3019                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3020
3021 2008-04-25  Dan Williams  <dcbw@redhat.com>
3022
3023         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3024
3025         * src/NetworkManagerSystem.c
3026                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3027                         implementation of nm_system_device_replace_default_route()
3028
3029         * src/NetworkManagerPolicy.c
3030                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3031
3032         * src/backends/NetworkManagerArch.c
3033           src/backends/NetworkManagerDebian.c
3034           src/backends/NetworkManagerFrugalware.c
3035           src/backends/NetworkManagerGeneric.c
3036           src/backends/NetworkManagerGeneric.h
3037           src/backends/NetworkManagerGentoo.c
3038           src/backends/NetworkManagerMandriva.c
3039           src/backends/NetworkManagerPaldo.c
3040           src/backends/NetworkManagerRedHat.c
3041           src/backends/NetworkManagerSlackware.c
3042           src/backends/NetworkManagerSuSE.c
3043                 - (nm_system_device_replace_default_route): remove
3044
3045 2008-04-25  Dan Williams  <dcbw@redhat.com>
3046
3047         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3048
3049         * src/NetworkManagerSystem.c
3050                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3051                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3052                         replace nm_system_device_add_route_via_device_with_iface() in the
3053                         backends
3054
3055         * src/backends/NetworkManagerArch.c
3056           src/backends/NetworkManagerDebian.c
3057           src/backends/NetworkManagerFrugalware.c
3058           src/backends/NetworkManagerGeneric.c
3059           src/backends/NetworkManagerGeneric.h
3060           src/backends/NetworkManagerGentoo.c
3061           src/backends/NetworkManagerMandriva.c
3062           src/backends/NetworkManagerPaldo.c
3063           src/backends/NetworkManagerRedHat.c
3064           src/backends/NetworkManagerSlackware.c
3065           src/backends/NetworkManagerSuSE.c
3066                 - Remove nm_system_device_add_route_via_device_with_iface()
3067
3068 2008-04-25  Dan Williams  <dcbw@redhat.com>
3069
3070         * system-settings/plugins/ifcfg-fedora/parser.c
3071                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3072
3073 2008-04-24  Dan Williams  <dcbw@redhat.com>
3074
3075         * dispatcher-daemon/NetworkManagerDispatcher.c
3076                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3077
3078 2008-04-24  Dan Williams  <dcbw@redhat.com>
3079
3080         * initscript/RedHat/NetworkManager.in
3081           initscript/RedHat/NetworkManagerDispatcher.in
3082                 - Be active at runlevel 2
3083                 - Adjust priorities earlier
3084
3085 2008-04-22  Dan Williams  <dcbw@redhat.com>
3086
3087         * src/NetworkManagerPolicy.c
3088                 - (update_routing_and_dns): when checking for a gateway, look at the
3089                         composite IP4 config, not the connection's ip4-config setting, which
3090                         doesn't include DHCP-returned information
3091
3092 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3093
3094         Implement GKeyFile system settings plugin.
3095         Implement writing system settings (currently supported only by GKeyFile plugin).
3096
3097         * system-settings/src/main.c: 
3098         * system-settings/src/dbus-settings.c: Move the communication with plugins
3099         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3100         plugins for adding/updating/removing connections.
3101
3102         * system-settings/src/nm-system-config-interface.c
3103         (nm_system_config_interface_add_connection): Implement
3104         (nm_system_config_interface_update_connection): Implement.
3105         (nm_system_config_interface_remove_connection): Implement.
3106
3107         * system-settings/plugins/keyfile/Makefile.am:
3108         * system-settings/plugins/keyfile/plugin.[ch]:
3109         * system-settings/plugins/keyfile/writer.[ch]:
3110         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3111
3112         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3113
3114         * configure.in: Generate GKeyFile Makefile.
3115
3116         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3117         corruption, need to duplicate the returned string.
3118         (impl_exported_connection_update): Implement.
3119         (impl_exported_connection_delete): Implement.
3120
3121         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3122
3123         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3124
3125 2008-04-22  Dan Williams  <dcbw@redhat.com>
3126
3127         Patch from Charles R. Anderson (cra@wpi.edu)
3128
3129         * src/NetworkManagerPolicy.c
3130                 - (update_routing_and_dns): don't select devices without a gateway
3131                         as having the default route (rh #437338)
3132
3133 2008-04-21  Dan Williams  <dcbw@redhat.com>
3134
3135         * src/nm-activation-request.c
3136           src/nm-activation-request.h
3137                 - (dispose): ensure to disconnect from the device's state-changed signal
3138                         when appropriate so the signal doesn't get handled by an already
3139                         disposed NMActRequest
3140                 - (device_state_changed): update is_default here too just to make sure
3141                         default is only True when the child device is activated
3142                 - (nm_act_request_set_default): new function
3143
3144         * src/NetworkManagerPolicy.c
3145                 - (update_routing_and_dns): set 'default' on the active connection which
3146                         has the default route and DNS
3147
3148 2008-04-21  Dan Williams  <dcbw@redhat.com>
3149
3150         * src/NetworkManagerPolicy.c
3151                 - (device_state_changed): update routing and DNS when a device goes
3152                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3153
3154 2008-04-21  Dan Williams  <dcbw@redhat.com>
3155
3156         * include/NetworkManager.h
3157                 - Add NMActiveConnectionState enum
3158
3159         * introspection/nm-active-connection.xml
3160           introspection/nm-vpn-connection.xml
3161                 - Add 'State' property for overall active connection state
3162                 - Add 'Default' property, when True means this active connection
3163                         has the default route
3164                 - Add PropertyChanged signals so changes actually go out over the bus
3165
3166         * src/nm-active-connection.h
3167                 - Add defines for State & Default properties
3168
3169         * src/nm-activation-request.c
3170                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3171                         signal to determine active connection state
3172
3173         * src/vpn-manager/nm-vpn-connection.c
3174           src/vpn-manager/nm-vpn-connection.h
3175           src/vpn-manager/nm-vpn-manager.c
3176           src/vpn-manager/nm-vpn-service.c
3177                 - Rename old 'state' to 'vpn-state'
3178                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3179                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3180                         'vpn-state-changed' signal
3181
3182         * libnm-glib/nm-active-connection.c
3183           libnm-glib/nm-active-connection.h
3184                 - Add new 'state' and 'default' properties and accessors
3185
3186         * libnm-glib/nm-vpn-connection.c
3187           libnm-glib/nm-vpn-connection.h
3188                 - Rename old 'state' property to 'vpn-state'
3189                 - Add new 'state' and 'default' properties and accessors
3190
3191 2008-04-21  Dan Williams  <dcbw@redhat.com>
3192
3193         * src/nm-ip4-config.c
3194                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3195                         not specified (rh #443474)
3196
3197 2008-04-20  Dan Williams  <dcbw@redhat.com>
3198
3199         * src/NetworkManagerUtils.c
3200           src/NetworkManagerUtils.h
3201                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3202                         NMSettingIP4Config to an NMIP4Config object
3203
3204         * src/nm-device.c
3205                 - (merge_ip4_config): move to NetworkManagerUtils.c
3206
3207         * src/vpn-manager/nm-vpn-connection.c
3208                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3209                         too
3210
3211 2008-04-18  Dan Williams  <dcbw@redhat.com>
3212
3213         * libnm-util/nm-setting-ppp.c
3214           libnm-util/nm-setting-ppp.h
3215                 - Add 'no-vj-comp' option for TCP header compression
3216                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3217                         uint32
3218
3219 2008-04-18  Dan Williams  <dcbw@redhat.com>
3220
3221         * libnm-util/nm-setting-ppp.c
3222           libnm-util/nm-setting-ppp.h
3223           src/ppp-manager/nm-ppp-manager.c
3224                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3225
3226 2008-04-18  Dan Williams  <dcbw@redhat.com>
3227
3228         * libnm-util/nm-setting-ppp.c
3229           libnm-util/nm-setting-ppp.h
3230           src/ppp-manager/nm-ppp-manager.c
3231                 - Remove the 'usepeerdns' option and always request DNS servers from
3232                         the PPP server; the connection chooses to use/override/ignore the
3233                         DNS servers returned from the PPP server
3234
3235 2008-04-18  Dan Williams  <dcbw@redhat.com>
3236
3237         * libnm-util/nm-setting-ppp.c
3238           libnm-util/nm-setting-ppp.h
3239           src/ppp-manager/nm-ppp-manager.c
3240                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3241                         it seems to have been an erroneous addition to the PPTP plugin in
3242                         the first place (from which the ppp-manager is derived)
3243
3244 2008-04-17  Dan Williams  <dcbw@redhat.com>
3245
3246         * libnm-util/nm-setting-pppoe.c
3247                 - (verify): require a PPP setting too
3248
3249         * src/ppp-manager/nm-ppp-manager.c
3250                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3251                         segfaulting
3252
3253 2008-04-17  Dan Williams  <dcbw@redhat.com>
3254
3255         * src/nm-device.c
3256                 - (nm_device_state_changed): do deactivation and and promotion to
3257                         unavailable here, so that the device gets cleaned up before the
3258                         manager runs and starts emitting signals; do the
3259                         FAILED->DISCONNECTED transition from an idle handler rather than
3260                         immediately to guard against recursion
3261                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3262                         FAILED->DISCONNECTED handler if it's scheduled
3263
3264 2008-04-17  Dan Williams  <dcbw@redhat.com>
3265
3266         * src/nm-device-802-11-wireless.c
3267                 - (state_changed_cb): clear AP list when device transitions to
3268                         unavailable or unmanaged
3269                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3270                         since this is already done in device_cleanup()
3271                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3272                         isn't available or managed
3273                 - (device_cleanup): use remove_all_aps()
3274                 - (remove_all_aps): consolidate code removing all APs
3275
3276 2008-04-17  Dan Williams  <dcbw@redhat.com>
3277
3278         * src/nm-serial-device.c
3279           src/nm-serial-device.h
3280                 - (wait_for_reply_got_data): break input into lines, and search each
3281                         line for responses _and_ terminator strings; also make sure that
3282                         the read loop doesn't continue after the timeout is supposed to fire
3283                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3284
3285         * src/nm-gsm-device.c
3286           src/nm-cdma-device.c
3287                 - Send terminators to nm_serial_device_wait_for_reply()
3288
3289 2008-04-16  Dan Williams  <dcbw@redhat.com>
3290
3291         Patch from 陈鑫 <znscnchen@gmail.com>
3292
3293         * src/ppp-manager/nm-pppd-plugin.c
3294                 - (get_credentials): return correct value for success; handle case where
3295                         pppd just does some checking but doesn't want a password
3296                 - (plugin_init): make CHAP work too
3297
3298 2008-04-16  Dan Williams  <dcbw@redhat.com>
3299
3300         Patch from 陈鑫 <znscnchen@gmail.com>
3301
3302         * src/ppp-manager/nm-ppp-manager.c
3303                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3304
3305 2008-04-16  Dan Williams  <dcbw@redhat.com>
3306
3307         Patch from 陈鑫 <znscnchen@gmail.com>
3308
3309         * src/nm-device-802-3-ethernet.c
3310                 - (real_deactivate_quickly): clear the IP interface name on
3311                         deactivation, otherwise the wrong interface might get used later
3312                         for routing and IP management
3313
3314 2008-04-15  Dan Williams  <dcbw@redhat.com>
3315
3316         * libnm-glib/nm-device.c
3317                 - (get_product_and_vendor): handle serial devices correctly
3318                 - (nm_device_update_description): pass device to get_product_and_vendor()
3319
3320 2008-04-15  Dan Williams  <dcbw@redhat.com>
3321
3322         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3323
3324         * src/NetworkManagerSystem.h
3325           src/backends/NetworkManagerArch.c
3326           src/backends/NetworkManagerDebian.c
3327           src/backends/NetworkManagerFrugalware.c
3328           src/backends/NetworkManagerGeneric.c
3329           src/backends/NetworkManagerGeneric.h
3330           src/backends/NetworkManagerGentoo.c
3331           src/backends/NetworkManagerMandriva.c
3332           src/backends/NetworkManagerPaldo.c
3333           src/backends/NetworkManagerRedHat.c
3334           src/backends/NetworkManagerSlackware.c
3335           src/backends/NetworkManagerSuSE.c
3336           src/nm-device.c
3337                 - (nm_generic_device_add_ip6_link_address,
3338                    nm_system_device_add_ip6_link_address): remove
3339
3340 2008-04-15  Dan Williams  <dcbw@redhat.com>
3341
3342         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3343
3344         * src/backends/NetworkManagerArch.c
3345           src/backends/NetworkManagerDebian.c
3346           src/backends/NetworkManagerFrugalware.c
3347           src/backends/NetworkManagerGeneric.c
3348           src/backends/NetworkManagerGeneric.h
3349           src/backends/NetworkManagerGentoo.c
3350           src/backends/NetworkManagerMandriva.c
3351           src/backends/NetworkManagerPaldo.c
3352           src/backends/NetworkManagerRedHat.c
3353           src/backends/NetworkManagerSlackware.c
3354           src/backends/NetworkManagerSuSE.c
3355           src/NetworkManagerSystem.h
3356                 - flush_routes -> flush_ip4_routes
3357                 - flush_addresses -> flush_ip4_addresses
3358
3359         * src/NetworkManagerSystem.c
3360           src/nm-device.c
3361           src/vpn-manager/nm-vpn-connection.c
3362                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3363
3364 2008-04-15  Dan Williams  <dcbw@redhat.com>
3365
3366         Remove exposure of wireless-tools mode types in the API.
3367
3368         * include/NetworkManager.h
3369                 - Define NM80211Mode enum
3370
3371         * introspection/generic-types.xml
3372                 - Describe NM_802_11_MODE enum
3373                 - Remove IW_MODE_* enum
3374
3375         * introspection/nm-access-point.xml
3376           libnm-glib/nm-access-point.c
3377           libnm-glib/nm-access-point.h
3378                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3379
3380         * introspection/nm-device-802-11-wireless.xml
3381           libnm-glib/nm-device-802-11-wireless.c
3382           libnm-glib/nm-device-802-11-wireless.h
3383                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3384
3385         * libnm-util/nm-setting-wireless.c
3386           src/NetworkManagerAP.c
3387           src/NetworkManagerAP.h
3388           src/nm-device-802-11-wireless.c
3389           src/nm-device-802-11-wireless.h
3390           test/nm-tool.c
3391                 - Use NM80211Mode not IW_MODE_*
3392
3393 2008-04-15  Dan Williams  <dcbw@redhat.com>
3394
3395         Enhance nm-online based on a patch from Bill Nottingham.
3396
3397         * test/nm-online.c
3398                 - Add a '-q' option
3399                 - Add help messages and option summary
3400                 - Add long-format options
3401                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3402
3403 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3404
3405         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3406
3407         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3408
3409 2008-04-15  Dan Williams  <dcbw@redhat.com>
3410
3411         * nm-setting-ip4-config.c
3412                 - (ip4_addresses_from_gvalue): handle NULL address array
3413
3414         * nm-setting-8021x.c
3415                 - (verify_tls, verify_ttls): warn on failed verification
3416
3417 2008-04-10  Dan Williams  <dcbw@redhat.com>
3418
3419         * src/nm-gsm-device.c
3420                 - (automatic_registration): accept "+CREG: 0,0"
3421                 - (automatic_registration_response): fail on "+CREG: 0,0"
3422
3423 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3424
3425         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3426
3427 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3428
3429         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3430         Make it compile again by commenting out broken code that at first didn't work and
3431         now didn't compile either.
3432
3433 2008-04-08  Dan Williams  <dcbw@redhat.com>
3434
3435         * libnm-glib/nm-object-cache.c
3436           libnm-glib/nm-settings.c
3437           src/dhcp-manager/nm-dhcp-manager.c
3438           system-settings/plugins/ifcfg-fedora/plugin.c
3439           system-settings/plugins/ifcfg-suse/plugin.c
3440           system-settings/src/nm-system-config-hal-manager.c
3441           libnm-util/nm-utils.c
3442                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3443                         not threadsafe anyway
3444
3445 2008-04-08  Dan Williams  <dcbw@redhat.com>
3446
3447         * system-settings/src/main.c
3448                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3449                         callbacks take a device type too
3450
3451 2008-04-08  Dan Williams  <dcbw@redhat.com>
3452
3453         The system settings service will now create a new default DHCP connection
3454         for wired devices that have no existing applicable connection.
3455
3456         * system-settings/src/nm-system-config-hal-manager.c
3457           system-settings/src/nm-system-config-hal-manager.h
3458                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3459
3460         * system-settings/src/dbus-settings.c
3461           system-settings/src/dbus-settings.h
3462                 - (nm_sysconfig_settings_get_connections): new function
3463                 - (nm_sysconfig_settings_is_device_managed): new function
3464
3465         * system-settings/src/main.c
3466                 - (load_stuff): check for wired devices that need a default connection
3467                 - (get_details_for_udi): get interface and MAC address from HAL
3468                 - (add_default_dhcp_connection): add a default connection for a wired
3469                         device if needed
3470                 - (device_added_cb, device_removed_cb): do the right thing with
3471                         wired devices and their default connections on HAL device events
3472
3473 2008-04-07  Dan Williams  <dcbw@redhat.com>
3474
3475         * libnm-glib/nm-device.c
3476           libnm-glib/nm-device.h
3477                 - Proxy the 'managed' property
3478
3479 2008-04-07  Dan Williams  <dcbw@redhat.com>
3480
3481         * src/nm-gsm-device.c
3482           src/nm-cdma-device.c
3483                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3484                         handler to transition to DISCONNECTED
3485
3486 2008-04-07  Dan Williams  <dcbw@redhat.com>
3487
3488         Patch from Bill Nottingham
3489
3490         * dispatcher-daemon/NetworkManagerDispatcher.c
3491                 - ignore backup/packaging crufy (rh #440143)
3492
3493 2008-04-07  Dan Williams  <dcbw@redhat.com>
3494
3495         * include/NetworkManager.h
3496                 - Remove the DOWN and CANCELLED device states
3497                 - Add UNMANAGED and UNAVAILABLE device states
3498                 - Document the device states
3499
3500         * introspection/nm-device.xml
3501           src/nm-device-interface.c
3502           src/nm-device-interface.h
3503                 - Add the 'managed' property
3504
3505         * test/nm-tool.c
3506                 - (detail_device): print out device state
3507
3508         * src/NetworkManagerSystem.h
3509           src/backends/NetworkManagerArch.c
3510           src/backends/NetworkManagerDebian.c
3511           src/backends/NetworkManagerFrugalware.c
3512           src/backends/NetworkManagerGentoo.c
3513           src/backends/NetworkManagerMandriva.c
3514           src/backends/NetworkManagerPaldo.c
3515           src/backends/NetworkManagerRedHat.c
3516           src/backends/NetworkManagerSlackware.c
3517           src/backends/NetworkManagerSuSE.c
3518                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3519                    nm_system_device_free_system_config): remove; they were unused and
3520                         their functionality should be re-implemented in each distro's
3521                         system settings service plugin 
3522
3523         * src/nm-gsm-device.c
3524           src/nm-gsm-device.h
3525           src/nm-cdma-device.c
3526           src/nm-cdma-device.h
3527                 - (*_new): take the 'managed' argument
3528
3529         * src/nm-device.c
3530                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3531                 - (nm_device_init): start in unmanaged state, not disconnected
3532                 - (constructor): don't start device until the system settings service
3533                         has had a chance to figure out if the device is managed or not
3534                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3535                         don't set device state here, let callers handle that as appropriate
3536                 - (nm_device_dispose): don't touch the device if it's not managed
3537                 - (set_property, get_property, nm_device_class_init): implement the
3538                         'managed' property
3539                 - (nm_device_state_changed): bring the device up if its now managed,
3540                         and deactivate it if it used to be active
3541                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3542                         with the managed state
3543
3544         * src/nm-hal-manager.c
3545                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3546                         take initial managed state and pass it along to device constructors
3547                 - (create_device_and_add_to_list): get managed state and pass to
3548                         type creators
3549
3550         * src/nm-device-802-11-wireless.c
3551                 - (real_can_activate): fold in most of
3552                         nm_device_802_11_wireless_can_activate()
3553                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3554                 - (link_timeout_cb): instead of deactivating, change device state and
3555                         let the device state handler to it
3556                 - (real_update_hw_address): clean up
3557                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3558                         handler to transition to DISCONNECTED if the device isn't rfkilled
3559
3560         * src/nm-device-802-3-ethernet.c
3561                 - (set_carrier): move above callers and get rid of prototype
3562                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3563                         idle handler to transition to DISCONNECTED if the device has a
3564                         carrier
3565                 - (real_update_hw_address): clean up
3566                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3567                         deactivation directly as deactivation doesn't change state anymore
3568
3569         * src/NetworkManagerPolicy.c
3570                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3571                         the NMManager and wireless devices work that out themselves now
3572                 - (device_state_changed): change to a switch and update for new device
3573                         states
3574                 - (device_carrier_changed): remove; device handles this now through
3575                         state changes
3576                 - (device_added): don't care about carrier any more; the initial
3577                         activation check will happen when the device transitions to
3578                         DISCONNECTED
3579
3580         * src/nm-manager.c
3581                 - (dispose): clear unmanaged devices
3582                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3583                         the managed property on each device when needed
3584                 - (system_settings_properties_changed_cb): handle signals from the
3585                         system settings service
3586                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3587                         getting the unmanaged device list method call
3588                 - (query_unmanaged_devices): ask the system settings service for its
3589                         list of unmanaged devices
3590                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3591                         devices
3592                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3593                         devices directly and let them handle the necessary state transitions
3594                 - (manager_device_state_changed): update for new device states
3595                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3596                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3597                 - (nm_manager_activate_connection): return error if the device is
3598                         unmanaged
3599                 - (nm_manager_sleep): handle new device states correctly; don't change
3600                         the state of unavailable/unmanaged devices
3601
3602         * libnm-glib/nm-device-802-11-wireless.c
3603                 - (state_changed_cb): update for new device states
3604
3605 2008-04-07  Dan Williams  <dcbw@redhat.com>
3606
3607         * marshallers/nm-marshal.list
3608                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3609
3610 2008-04-07  Dan Williams  <dcbw@redhat.com>
3611
3612         * system-settings/src/main.c
3613                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3614                         plugins to the dbus settings object
3615                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3616                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3617                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3618                 - (main): switch default logging to syslog with a 'debug' option to
3619                         output to console; start up the HAL manager
3620
3621 2008-04-07  Dan Williams  <dcbw@redhat.com>
3622
3623         * introspection/nm-settings-system.xml
3624           introspection/Makefile.am
3625                 - Define the unmanaged devices interface for the system settings service
3626
3627         * system-settings/src/nm-system-config-hal-manager.c
3628           system-settings/src/nm-system-config-hal-manager.h
3629           system-settings/src/nm-system-config-hal-manager-private.h
3630           system-settings/src/Makefile.am
3631                 - Add a lightweight HAL manager object for tracking network devices for
3632                         the purpose of determining unmanaged devices and which devices need
3633                         the default DHCP connections
3634
3635         * system-settings/src/nm-system-config-interface.c
3636           system-settings/src/nm-system-config-interface.h
3637                 - (nm_system_config_interface_init): add the HAL manager as an argument
3638                 - (nm_system_config_interface_get_unmanaged_devices): implement
3639                 - Define 'unmanaged-devices-changed' signal
3640
3641         * system-settings/src/dbus-settings.c
3642           system-settings/src/dbus-settings.h
3643                 - Implement the unmanaged devices interface; some cleanups
3644
3645         * system-settings/plugins/ifcfg-suse/plugin.c
3646                 - Fixup for plugin interface changes
3647
3648         * system-settings/plugins/ifcfg-fedora/plugin.c
3649                 - (get_ether_device_udi): new function; find the device that has
3650                         a specified MAC address and return its UDI
3651                 - (get_udi_for_connection): new function; try to find the specific
3652                         device a connection is locked to, if any
3653                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3654                         response to HAL events
3655                 - (get_unmanaged_devices): new function; return unmanaged device list
3656                 - (build_one_connection): set the connection's locked device, if any
3657                 - (write_auto_wired_connection): remove
3658                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3659                 - (handle_connection_changed): alert listeners that the unmanaged device
3660                         list has changed
3661                 - (init): fixup for plugin interface changes, implement unmanaged devices
3662
3663         * system-settings/plugins/ifcfg-fedora/parser.c
3664           system-settings/plugins/ifcfg-fedora/parser.h
3665                 - (connection_data_free): clean up connection UDI
3666
3667 2008-04-07  Dan Williams  <dcbw@redhat.com>
3668
3669         * system-settings/plugins/ifcfg-fedora/parser.c
3670                 - (make_ip4_setting): fix parsing of DNS servers
3671
3672 2008-04-05  Dan Williams  <dcbw@redhat.com>
3673
3674         * Makefile.am
3675           configure.in
3676           marshallers/Makefile.am
3677           marshallers/nm-marshal-main.c
3678           marshallers/nm-marshal.list
3679                 - Consolidate marshallers
3680
3681         * libnm-glib/nm-marshal-main.c
3682           libnm-glib/nm-marshal.list
3683           src/marshallers/Makefile.am
3684           src/marshallers/nm-marshal-main.c
3685           src/marshallers/nm-marshal.list
3686                 - Remove
3687
3688         * libnm-glib/Makefile.am
3689           src/Makefile.am
3690           src/dhcp-manager/Makefile.am
3691           src/ppp-manager/Makefile.am
3692           src/supplicant-manager/Makefile.am
3693           src/vpn-manager/Makefile.am
3694                 - Use consolidated marshallers
3695
3696 2008-04-04  Dan Williams  <dcbw@redhat.com>
3697
3698         * src/nm-hal-manager.c
3699           src/nm-hal-manager.h
3700                 - (hal_init): don't look for hardware here
3701                 - (nm_hal_manager_start): new function; look for hardware here instead,
3702                         which can be done at a later time than hal_init()
3703
3704         * src/NetworkManager.c
3705                 - (main): start HAL manager after entering the main loop
3706
3707 2008-04-03  Dan Williams  <dcbw@redhat.com>
3708
3709         * libnm-glib/nm-settings.c
3710           libnm-glib/nm-settings.h
3711             - (nm_exported_connection_get_id): new function
3712                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3713
3714 2008-04-02  Dan Williams  <dcbw@redhat.com>
3715
3716         * src/nm-device-interface.c
3717           src/nm-device-interface.h
3718           src/nm-device.c
3719           src/nm-device.h
3720                 - Rename check_connection_conflicts() to check_connection_compatible()
3721
3722         * src/nm-device-802-11-wireless.c
3723                 - (real_check_connection_conflicts): remove
3724                 - (real_check_connection_compatible): implement; match MAC address
3725
3726         * src/nm-device-802-3-ethernet.c
3727                 - (real_check_connection_conflicts): remove
3728                 - (real_check_connection_compatible): implement; match MAC address
3729                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3730
3731         * src/nm-manager.c
3732                 - (check_connection_allowed): remove; unused until PolicyKit integration
3733                 - (internal_activate_device): check whether the connection is compatible
3734                         with the device before trying to activate it
3735
3736 2008-04-02  Dan Williams  <dcbw@redhat.com>
3737
3738         * system-settings/plugins/ifcfg-fedora/parser.c
3739                 - (read_mac_address): new function; read in MAC address and stuff it
3740                         into the connection
3741                 - (add_one_wep_key): remove debug spew
3742                 - (make_wireless_security_setting): validate the default TX key; don't
3743                         add the wireless-security setting if the connection doesn't need
3744                         security; don't leak the keys shvarFile on error cases
3745                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3746                         address
3747
3748 2008-04-02  Dan Williams  <dcbw@redhat.com>
3749
3750         * libnm-util/nm-setting-connection.c
3751           libnm-util/nm-setting-connection.h
3752                 - (set_property, get_property, nm_setting_connection_class_init): remove
3753                         the 'lockdown' property; it's functionality will be replaced by
3754                         PolicyKit instead
3755
3756 2008-04-01  Dan Williams  <dcbw@redhat.com>
3757
3758         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3759
3760         * configure.in
3761           initscript/Makefile.am
3762           initscript/Mandriva/Makefile.am
3763           initscript/Mandriva/networkmanager.in
3764           initscript/Mandriva/networkmanagerdispatcher.in
3765           src/backends/Makefile.am
3766           src/backends/NetworkManagerMandriva.c
3767           system-settings/plugins/Makefile.am
3768                 - Add Mandriva support
3769
3770 2008-03-31  Dan Williams  <dcbw@redhat.com>
3771
3772         * src/vpn-manager/nm-vpn-service.c
3773                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3774                         errors can be passed back to the caller; also no longer scheduled
3775                         as an idle handler, but called directly; and bump up VPN service
3776                         spawn timeout, 2s is really short
3777                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3778                         but call it directly so that errors are reported on return from
3779                         ActivateConnection() and don't get lost.  If scheduled as an idle
3780                         handler, clients don't have the time to query NM for the new VPN
3781                         connection's properties before the VPN connection is torn down again
3782                         if the service couldn't be launched, and therefore launch errors
3783                         get lost.
3784
3785 2008-03-31  Dan Williams  <dcbw@redhat.com>
3786
3787         * src/vpn-manager/nm-vpn-connection.c
3788                 - (device_state_changed): send correct state on device failure too
3789                 - (plugin_state_changed): failed state means unexpected disconnection,
3790                         thus if the service goes away while the VPN connection is activated
3791                         that's a failure too
3792
3793 2008-03-31  Dan Williams  <dcbw@redhat.com>
3794
3795         * src/vpn-manager/nm-vpn-manager.c
3796           src/vpn-manager/nm-vpn-manager.h
3797                 - Make VPNManager errors more available; add a service-start-failed error
3798
3799 2008-03-31  Dan Williams  <dcbw@redhat.com>
3800
3801         * libnm-glib/nm-client.c
3802           libnm-glib/nm-client.h
3803                 - (activate_cb): pass the new active connection to callback; fix
3804                         message when no callback is specified
3805
3806 2008-03-30  Dan Williams  <dcbw@redhat.com>
3807
3808         * libnm-util/nm-setting-wireless-security.c
3809                 - (need_secrets): only require key0 if the transmit key index is also
3810                         0
3811                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3812
3813 2008-03-29  Dan Williams  <dcbw@redhat.com>
3814
3815         * libnm-util/nm-setting-8021x.c
3816           libnm-util/nm-setting-ip4-config.c
3817           libnm-util/nm-setting-vpn-properties.c
3818           libnm-util/nm-setting-vpn.c
3819           libnm-util/nm-setting-wireless-security.c
3820           libnm-util/nm-setting-wireless.c
3821           libnm-util/nm-utils.c
3822           src/dhcp-manager/nm-dhcp-manager.c
3823           src/nm-activation-request.c
3824           src/nm-ip4-config.c
3825           src/nm-manager.c
3826           src/nm-properties-changed-signal.c
3827           src/ppp-manager/nm-pppd-plugin.c
3828           src/supplicant-manager/nm-supplicant-interface.c
3829           src/vpn-manager/nm-vpn-connection.c
3830                 - consistently use nm-dbus-glib-types.h
3831
3832 2008-03-29  Dan Williams  <dcbw@redhat.com>
3833
3834         * src/vpn-manager/nm-vpn-connection.c
3835                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3836                         not string
3837
3838         * src/nm-activation-request.c
3839                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3840                         not string
3841
3842 2008-03-29  Dan Williams  <dcbw@redhat.com>
3843
3844         * libnm-glib/nm-device-802-11-wireless.c
3845                 - (access_point_added_proxy): create new APs if not found
3846
3847 2008-03-29  Dan Williams  <dcbw@redhat.com>
3848
3849         * libnm-glib/nm-client.c
3850                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
3851                         before freeing them
3852
3853 2008-03-29  Dan Williams  <dcbw@redhat.com>
3854
3855         * system-settings/plugins/ifcfg-fedora/parser.c
3856                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
3857                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
3858
3859 2008-03-29  Dan Williams  <dcbw@redhat.com>
3860
3861         * system-settings/plugins/ifcfg-fedora/parser.c
3862                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
3863
3864 2008-03-27  Dan Williams  <dcbw@redhat.com>
3865
3866         * nm-object.c
3867                 - (nm_object_queue_notify): don't notify multiple times for the same
3868                         property
3869
3870         * nm-object-private.h
3871                 - (handle_ptr_array_return): return NULL if the given array is NULL or
3872                         if it has zero elements
3873
3874         * nm-ip4-config.c
3875                 - (finalize): use g_ptr_array_foreach() when freeing domains
3876                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
3877
3878         * nm-active-connection.c
3879                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
3880
3881         * nm-device-802-11-wireless.c
3882           nm-device-802-11-wireless.h
3883                 - (nm_device_802_11_wireless_get_access_points): return const; use
3884                         handle_ptr_array_return()
3885
3886         * nm-types.c
3887                 - (nm_object_array_demarshal): always create an array, even of length
3888                         zero, to distinguish between "NM returned no items" and "haven't
3889                         asked NM yet"
3890
3891         * nm-client.c
3892                 - (dispose): free active connections too
3893                 - (proxy_name_owner_changed): free active connections too when NM goes
3894                         away
3895                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
3896                 - (nm_client_get_active_connections): use handle_ptr_array_return()
3897
3898 2008-03-26  Dan Williams  <dcbw@redhat.com>
3899
3900         Rework VPN connection handling for a more consistent D-Bus API.  The
3901         VPNManager object has been removed, and active VPN connections are now the
3902         same as any other active connection.  The Manager object's ActivateConnection
3903         and DeactivateConnection methods are used to start and stop a VPN connection,
3904         and the VPNConnection objects are subclasses of the ActiveConnection objects.
3905         When activating a VPN connection, pass the path of the active connection
3906         to which the VPN connection is tied in the 'specific_object' argument.
3907
3908         Consequently, the libnm-glib API has been reworked to match this arrangement,
3909         with the VPNManager object removed, and the NMVPNConnection objects now
3910         being subclasses of NMActiveConnection.
3911
3912 2008-03-25  Dan Williams  <dcbw@redhat.com>
3913
3914         Patch from Björn Martensen <bjoern.martensen@gmail.com>
3915
3916         * initscript/Arch/networkmanager.in
3917           initscript/Arch/networkmanager-dispatcher.in
3918                 - Updates for Arch Linux (gnome.org #523701)
3919
3920 2008-03-25  Dan Williams  <dcbw@redhat.com>
3921
3922         * libnm-glib/nm-ip4-config.c
3923           libnm-glib/nm-active-connection.c
3924           libnm-glib/nm-access-point.c
3925                 - Use nm_object_queue_notify() instead of g_object_notify()
3926
3927         * libnm-glib/nm-device.c
3928                 - (demarshal_ip4_config): distinguish between successful but missing
3929                         ip4-config request, and unsuccessful and missing ip4-config request
3930                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
3931                         path
3932                 - Use nm_object_queue_notify() instead of g_object_notify()
3933
3934         * libnm-glib/nm-device-802-11-wireless.c
3935                 - (demarshal_active_ap): distinguish between successfull but missing
3936                         active-ap request, and unsuccessful and missing active-ap request
3937                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
3938                         code
3939                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
3940                         for the NMClient to notify the device that wireless is disabled,
3941                         and therefore to clear the AP list and active AP
3942                 - Use nm_object_queue_notify() instead of g_object_notify()
3943
3944         * libnm-glib/nm-client.c
3945                 - (poke_wireless_devices_with_rf_status): new function
3946                 - (update_wireless_status): notify wireless devices of the rfkill status
3947                         so they can clean up if needed
3948                 - Use nm_object_queue_notify() instead of g_object_notify()
3949
3950 2008-03-25  Dan Williams  <dcbw@redhat.com>
3951
3952         * libnm-glib/nm-object.c
3953           libnm-glib/nm-object-private.h
3954                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
3955                         signals to an idle handler
3956                 - (nm_object_get_property): add a timeout to the D-Bus method call
3957
3958 2008-03-25  Dan Williams  <dcbw@redhat.com>
3959
3960         * introspection/nm-device-cdma.xml
3961           introspection/nm-device-gsm.xml
3962           introspection/Makefile.am
3963           introspection/all.xml
3964                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
3965
3966         * src/nm-gsm-device.h
3967           src/nm-gsm-device.c
3968           src/nm-cdma-device.h
3969           src/nm-cdma-device.c
3970           src/Makefile.am
3971                 - Implement PropertiesChanged signals
3972
3973         * libnm-glib/nm-cdma-device.c
3974           libnm-glib/nm-cdma-device.c
3975                 - Attach to PropertiesChanged signals
3976
3977 2008-03-24  Dan Williams  <dcbw@redhat.com>
3978
3979         * libnm-glib/nm-client.c
3980                 - (client_device_added_proxy): add new devices to the internal device
3981                         list so they appear to clients
3982
3983 2008-03-24  Dan Williams  <dcbw@redhat.com>
3984
3985         Massive fixup of libnm-glib to:
3986         a) have all objects (with the exception of VPN) cache their properties and
3987                 update them asynchronously on PropertiesChanged signals from NM
3988         b) return internal const data for most attributes/properties instead of
3989                 allocated values that the caller must free
3990         c) cache wrapped objects such that a given D-Bus path will always map to the
3991                 same GObject returned by libnm-glib
3992         d) remove a few signals and move them to GObject property notifications
3993         e) match recent NM D-Bus API changes for activation/deactivation
3994         f) remove some private functions from libnm-glib headers
3995
3996 2008-03-20  Dan Williams  <dcbw@redhat.com>
3997
3998         * src/nm-manager.c
3999                 - (nm_manager_update_state, manager_device_state_changed,
4000                    nm_manager_activate_device, connection_added_default_handler,
4001                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4002                         queue PropertyChanged singals when the active connections change
4003
4004 2008-03-20  Dan Williams  <dcbw@redhat.com>
4005
4006         * introspection/nm-manager.xml
4007           introspection/nm-manager-client.xml
4008                 - (ActivateConnection): return the object path of the active connection
4009                         on success
4010                 - (GetActiveConnections): remove
4011                 - (DeactivateConnection): new function; deactivate a currently active
4012                         connection
4013                 - Add an ActiveConnections property which returns an array of
4014                         active connection object paths
4015
4016         * introspection/nm-device.xml
4017                 - (Deactivate): remove
4018
4019         * introspection/all.xml
4020                 - Add ActiveConnection introspection
4021
4022         * introspection/nm-active-connection.xml
4023                 - Add the ActiveConnection object
4024
4025         * include/NetworkManager.h
4026                 - Add the Connection.Active D-Bus interface
4027
4028         * src/nm-device-interface.c
4029                 - (impl_device_deactivate): remove
4030
4031         * src/nm-activation-request.c
4032           src/nm-activation-request.c
4033           src/Makefile.am
4034                 - Implement the Connection.Active D-Bus interface
4035
4036         * src/nm-manager.c
4037                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4038                 - (nm_manager_activate_device): return the active connection path
4039                 - (connection_added_default_handler, impl_manager_activate_connection):
4040                         return the active connection to the caller
4041                 - (add_one_connection_element, impl_manager_get_active_connections):
4042                         remove
4043                 - (impl_manager_deactivate_connection): new function; deactivate an
4044                         active connection
4045
4046         * libnm-glib/nm-device.c
4047           libnm-glib/nm-device.h
4048                 - Remove Deactivate() function
4049
4050 2008-03-19  Dan Williams  <dcbw@redhat.com>
4051
4052         * introspection/nm-manager.xml
4053           introspection/nm-manager-client.xml
4054                 - Rename the ActivateDevice method to ActivateConnection to better
4055                         reflect it's usage; it's arguments get reordered a bit too
4056                 - Convert GetActiveConnections method return from a struct to a dict
4057
4058         * include/NetworkManager.h
4059                 - Define the dict keys for return value of GetActiveConnections
4060
4061         * src/nm-manager.c
4062                 - impl_manager_activate_device -> impl_manager_activate_connection
4063                 - (add_one_connection_element): return a populated hash table, not
4064                         a structure
4065
4066         * libnm-glib/nm-client.c
4067           libnm-glib/nm-client.h
4068                 - nm_client_activate_device -> nm_client_activate_connection
4069                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4070                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4071                         instead of the custom structures.  Each element of the returned list
4072                         must be freed with nm_client_free_active_connections_element()
4073
4074 2008-03-18  Dan Williams  <dcbw@redhat.com>
4075
4076         * system-settings/plugins/ifcfg-fedora/parser.c
4077           system-settings/plugins/ifcfg-fedora/parser.h
4078           system-settings/plugins/ifcfg-fedora/plugin.c
4079                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4080                         profiles.  DNS servers and searches must now be stored in the ifcfg
4081                         files themselves
4082
4083 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4084
4085         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4086         print out username and password, it's supposed to be a secret.
4087
4088         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4089         request and set the device state accordingly.
4090
4091 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4092
4093         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4094
4095         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4096
4097 2008-03-18  Dan Williams  <dcbw@redhat.com>
4098
4099         * src/vpn-manager/nm-vpn-connection.c
4100                 - (get_secrets_cb): handle new GetSecrets return format
4101
4102 2008-03-18  Dan Williams  <dcbw@redhat.com>
4103
4104         Adapt system settings service for split 802.1x.
4105
4106         * system-settings/src/nm-system-config-interface.h
4107                 - clarify return value of get_secrets()
4108
4109         * system-settings/src/dbus-settings.c
4110                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4111                 - (check_for_secrets): check if there actually secrets returned by a
4112                         plugin
4113                 - (exported_connection_get_secrets): just return the plugin-returned
4114                         hash of settings' secrets if it looks valid
4115
4116         * system-settings/plugins/ifcfg-fedora/plugin.c
4117                 - (get_secrets): add split secrets with correct format to reply hash
4118
4119         * system-settings/plugins/ifcfg-fedora/parser.c
4120           system-settings/plugins/ifcfg-fedora/parser.h
4121                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4122                    connection_data_free, connection_data_add): keep secrets for
4123                         different settings in different hashes
4124
4125 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4126
4127         Clean up activating device deactivation.
4128
4129         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4130         should be done whether the device activation gets cancelled or the device
4131         is just getting deactivated.
4132         (nm_device_activation_cancel): Remove.
4133         (nm_device_deactivate_quickly): Handle the case where device is activating.
4134
4135         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4136         It does the exact same thing as real_deactivate_quickly().
4137
4138 2008-03-17  Dan Williams  <dcbw@redhat.com>
4139
4140         Split the 802.1x bits out of the wireless-security setting so they are
4141         generalized enough for wired 802.1x to use too.
4142
4143         * introspection/nm-exported-connection.xml
4144                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4145                         of just a hash of the secrets for one setting
4146
4147         * libnm-util/nm-setting-wireless-security.c
4148           libnm-util/nm-setting-wireless-security.h
4149                 - Remove 802.1x-specific stuff
4150                 - Added leap-username and leap-password properties for old-school LEAP
4151
4152         * src/nm-device.c
4153           src/nm-device.h
4154                 - (connection_secrets_updated_cb): take a list of updated settings names,
4155                         not just one
4156
4157         * src/supplicant-manager/nm-supplicant-config.c
4158           src/supplicant-manager/nm-supplicant-config.h
4159                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4160                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4161                         to nm_supplicant_config_add_setting_8021x()
4162                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4163                         the supplicant config
4164
4165         * src/nm-device-802-11-wireless.c
4166                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4167                 - (real_connection_secrets_updated): take a list of updated settings
4168                         names, not just one
4169
4170         * src/nm-device-802-3-ethernet.c
4171           src/nm-cdma-device.c
4172           src/nm-gsm-device.c
4173                 - (real_connection_secrets_updated_cb): take a list of updated settings
4174                         names, not just one
4175
4176         * src/nm-activation-request.c
4177           src/nm-activation-request.h
4178                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4179                         now passes a list of updated settings names, not just one
4180                 - (update_one_setting): new function; handle one updated setting
4181                 - (get_secrets_cb): handle multiple settings returned from the
4182                         settings service; have to be careful of ordering here as there are
4183                         some dependencies between settings (ex. wireless-security and 802.1x
4184                         in some cases)
4185
4186         * src/marshallers/nm-marshal.list
4187                 - new marshaller for connection-secrets-updated signal
4188
4189         * libnm-util/nm-setting-8021x.c
4190                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4191                         methods
4192                 - (verify): a valid 'eap' property is now required
4193
4194         * libnm-util/nm-connection.c
4195                 - (register_default_settings): add priorities to settings; there are
4196                         some dependencies between settings, and during the need_secrets
4197                         calls this priority needs to be respected.  For example, only the
4198                         wireless-security setting knows whether or not the connection is
4199                         going to use 802.1x or now, so it must be asked for secrets before
4200                         any existing 802.1x setting is
4201                 - (nm_connection_lookup_setting_type): expose
4202
4203         * libnm-util/nm-setting-wireless.c
4204                 - (verify): should verify even if all_settings is NULL; otherwise won't
4205                         catch the case where there is missing security
4206
4207         * libnm-util/nm-setting-wireless-security.c
4208                 - Remove everything to do with 802.1x
4209                 - Add old-school LEAP specific properties for username and password
4210                 - (need_secrets): rework LEAP secrets checking
4211                 - (verify): rework for LEAP and 802.1x verification
4212
4213 2008-03-17  Dan Williams  <dcbw@redhat.com>
4214
4215         * src/NetworkManagerPolicy.c
4216                 - (auto_activate_device): always remove the current activation check
4217                         from the pending activation list, otherwise when the policy gets
4218                         destroyed on NM exit it will attempt to free the already freed
4219                         activation check
4220
4221 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4222
4223         * src/backends/NetworkManagerSlackware.c 
4224         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4225
4226         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4227
4228 2008-03-14  Dan Williams  <dcbw@redhat.com>
4229
4230         * src/nm-manager.c
4231                 - (nm_device_interface_get_iface): g_object_get() will return an
4232                         allocated value, so this function must not return const
4233                 - (nm_device_interface_activate): free returned iface
4234
4235 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4236
4237         * libnm-util/Makefile.am: Add new files to build.
4238
4239         * libnm-util/nm-connection.c: Register NMSetting8021x.
4240
4241         * libnm-util/nm-setting-8021x.c
4242         * libnm-util/nm-setting-8021x.h: Implement.
4243
4244 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4245
4246         * libnm-util/Makefile.am: Add new files to build.
4247
4248         * libnm-util/nm-connection.c: Register NMSetting8021x.
4249
4250         * libnm-util/nm-setting-8021x.c
4251         * libnm-util/nm-setting-8021x.h: Implement.
4252
4253 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4254
4255         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4256         data.
4257
4258 2008-03-14  Dan Williams  <dcbw@redhat.com>
4259
4260         * include/wireless-helper.h
4261           include/Makefile.am
4262                 - One place for all the junk needed for #including wireless.h
4263
4264         * test/nm-tool.c
4265           src/NetworkManagerAP.c
4266           src/wpa.c
4267           src/Makefile.am
4268           libnm-util/nm-utils.c
4269           libnm-util/nm-setting-wireless.c
4270           libnm-glib/nm-device-802-11-wireless.c
4271           libnm-glib/nm-access-point.c
4272           libnm-glib/libnm-glib-test.c
4273                 - include wireless-helper.h, not iwlib.h
4274
4275         * configure.in
4276                 - Don't need libiw really, just need to check for wireless.h
4277
4278         * src/kernel-types.h
4279                 - Remove; used types moved into wpa.c
4280
4281         * src/nm-device-802-11-wireless.c
4282                 - (nm_device_802_11_wireless_update_signal_strength,
4283                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4284                    nm_device_802_11_wireless_set_mode,
4285                    nm_device_802_11_wireless_get_frequency,
4286                    nm_device_802_11_wireless_get_ssid,
4287                    nm_device_802_11_wireless_set_ssid,
4288                    nm_device_802_11_wireless_get_bitrate,
4289                    nm_device_802_11_wireless_get_bssid,
4290                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4291                         instead of iwlib functions
4292
4293 2008-03-14  Dan Williams  <dcbw@redhat.com>
4294
4295         * src/ppp-manager/nm-ppp-manager.c
4296                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4297                         should only take the DBusGMethodInvocation argument, not user/pass
4298                         too.  With dbus-glib, async functions only take 2 C arguments since
4299                         the real dbus method arguments get passed back with
4300                         dbus_g_method_return()
4301
4302 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4303
4304         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4305         Adapt the changes of NMSettingIP4Config.
4306
4307 2008-03-13  Dan Williams  <dcbw@redhat.com>
4308
4309         * src/NetworkManagerUtils.c
4310           src/NetworkManagerUtils.h
4311                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4312
4313         * src/NetworkManagerAP.c
4314           src/nm-device-802-11-wireless.c
4315           src/nm-device-802-3-ethernet.c
4316                 - s/iw_ether_ntop/nm_ether_ntop/g
4317
4318 2008-03-13  Dan Williams  <dcbw@redhat.com>
4319
4320         * src/NetworkManagerPolicy.c
4321                 - (update_routing_and_dns): never set the default route through an
4322                         IPv4LL addressed device
4323
4324 2008-03-13  Dan Williams  <dcbw@redhat.com>
4325
4326         * NetworkManagerUtils.c
4327           NetworkManagerUtils.h
4328                 - Remove NMSock stuff
4329                 - Remove the completion stuff
4330
4331         * nm-device.c
4332           nm-device.h
4333           NetworkManager.c
4334           NetworkManagerSystem.c
4335           autoip.c
4336           nm-device-802-11-wireless.c
4337           nm-device-802-3-ethernet.c
4338                 - Remove NMSock and completion stuff
4339                 - Remove nm_ioctl_info()
4340
4341 2008-03-12  Dan Williams  <dcbw@redhat.com>
4342
4343         * src/nm-device.c
4344                 - (merge_ip4_config): avoid duplicates
4345
4346 2008-03-12  Dan Williams  <dcbw@redhat.com>
4347
4348         * libnm-util/nm-setting-ip4-config.c
4349           libnm-util/nm-setting-ip4-config.h
4350                 - Remove 'manual' and 'autoip' properties
4351                 - Add 'method' property
4352                 - (verify): fix verification with 'method'
4353                 - (finalize): free 'method'
4354                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4355                         up for 'method'
4356
4357         * src/nm-device.c
4358                 - (real_act_stage3_ip_config_start): check IP4Config method
4359                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4360                         the future
4361                 - (merge_ip4_config): IP settings are valid with DHCP too
4362                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4363                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4364
4365         * src/nm-device-802-11-wireless.c
4366                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4367                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4368                         only on demand
4369
4370         * system-settings/plugins/ifcfg-fedora/parser.c
4371           system-settings/plugins/ifcfg-suse/parser.c
4372                 - (make_ip4_setting): fix up for 'method'
4373
4374 2008-03-12  Dan Williams  <dcbw@redhat.com>
4375
4376         * system-settings/plugins/ifcfg-fedora/parser.c
4377           system-settings/plugins/ifcfg-fedora/parser.h
4378                 - (get_ifcfg_name): ignore more file suffixes
4379                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4380
4381 2008-03-12  Dan Williams  <dcbw@redhat.com>
4382
4383         * configure.in
4384                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4385
4386 2008-03-12  Dan Williams  <dcbw@redhat.com>
4387
4388         * system-settings/plugins/ifcfg-fedora/plugin.c
4389                 - (write_auto_wired_connection): new function; write out an auto
4390                         wired connection file since the applet isn't doing it any more
4391                 - (reload_all_connections): write out the auto wired connection file
4392                         if there aren't any wired connections already
4393                 - (init): don't leak a GError
4394
4395 2008-03-12  Dan Williams  <dcbw@redhat.com>
4396
4397         * src/nm-device-interface.c
4398                 - (nm_device_interface_activate): print the ID of the connection
4399                         that's about to be activated
4400
4401 2008-03-12  Dan Williams  <dcbw@redhat.com>
4402
4403         Harmonize the 802.11 bitrate API
4404
4405         * introspection/nm-access-point.xml
4406                 - 'Rate' -> 'MaxBitrate'; clarify units
4407
4408         * introspection/nm-device-802-11-wireless.xml
4409                 - Clarify units of 'Bitrate'
4410
4411         * src/NetworkManagerAP.c
4412           src/NetworkManagerAP.h
4413                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4414                         property to 'max-bitrate'
4415                 - (foreach_property_cb): convert rate to Kb/s
4416
4417         * src/nm-device-802-11-wireless.c
4418                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4419
4420         * libnm-glib/nm-access-point.c
4421           libnm-glib/nm-access-point.h
4422                 - 'rate' -> 'max-bitrate'
4423
4424         * test/nm-tool.c
4425           libnm-glib/libnm-glib-test.c
4426                 - Fix up for these changes
4427
4428 2008-03-12  Dan Williams  <dcbw@redhat.com>
4429
4430         * src/nm-device.c
4431                 - (nm_device_set_ip4_config): don't send property notifications when
4432                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4433                         which dbus-glib can't parse because the value is NULL, which isn't
4434                         a legal object path.  Setting the IP4 config to NULL is only
4435                         valid when deactivating a device anyway, so the device state change
4436                         will alert listeners that the ip4 config is invalid.
4437
4438 2008-03-12  Dan Williams  <dcbw@redhat.com>
4439
4440         * src/nm-properties-changed-signal.c
4441                 - (add_to_string): better handling of NULL objects
4442
4443 2008-03-12  Dan Williams  <dcbw@redhat.com>
4444
4445         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4446         convert the libnm-glib NMDevice8023Ethernet to cached properties
4447
4448         * introspection/nm-device-802-3-ethernet.xml
4449                 - New 'Carrier' property
4450                 - New 'PropertiesChanged' signal
4451
4452         * introspection/nm-device.xml
4453                 - Remove 'Carrier' property
4454                 - Remove 'CarrierChanged' signal
4455
4456         * src/nm-device-interface.c
4457           src/nm-device-interface.h
4458                 - (nm_device_interface_init): remove 'carrier' property and
4459                         'carrier-changed' signal
4460
4461         * src/nm-device.c
4462           src/nm-device.h
4463                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4464                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4465                         the link here; wired device will handle that
4466                 - (handle_dhcp_lease_change): don't bother updating link here
4467                 - (get_property, nm_device_class_init): remove carrier property
4468
4469         * src/nm-device-802-11-wireless.c
4470                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4471                         real_update_link(); wireless devices don't use carrier at all
4472                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4473                    supplicant_iface_connection_state_cb_handler,
4474                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4475
4476         * src/nm-device-802-3-ethernet.c
4477           src/nm-device-802-3-ethernet.h
4478                 - (nm_device_802_3_ethernet_carrier_on,
4479                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4480                         instead of nm_device_set_carrier()
4481                 - (device_state_changed): update link from sysfs on activation;
4482                         replaces real_update_link()
4483                 - (real_update_link): remove, replaced by device_state_changed()
4484                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4485                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4486                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4487                         new get_carrier function
4488                 - (get_property): add 'carrier' property
4489                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4490                         hook into property-changed signal helper
4491
4492         * src/NetworkManagerPolicy.c
4493                 - (device_carrier_changed): will only ever be called with a wired device
4494                 - (device_added): only hook up to carrier-changed for wired devices
4495
4496         * libnm-glib/nm-device.c
4497           libnm-glib/nm-device.h
4498                 - (constructor, nm_device_class_init): remove carrier-changed signal
4499                 - (device_carrier_changed_proxy): remove; unused
4500                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4501
4502         * libnm-glib/nm-device-802-3-ethernet.c
4503           libnm-glib/nm-device-802-3-ethernet.h
4504                 - Convert to cached properties like AP and Wireless objects
4505                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4506                         instead of a 'char *', return value should not be freed
4507                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4508                 - (constructor): hook into properties-changed helper
4509                 - (set_property, get_property): new functions
4510                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4511
4512         * test/nm-tool.c
4513                 - (detail_device): strdup the wired hardware address too since it's
4514                         cached now
4515
4516         * libnm-glib/libnm-glib-test.c
4517                 - (dump_wired): strdup the wired hardware address too since it's
4518                         cached now
4519
4520 2008-03-12  Dan Williams  <dcbw@redhat.com>
4521
4522         * libnm-util/nm-setting-ip4-config.c
4523           libnm-util/nm-setting-ip4-config.h
4524                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4525                         the 'autoip' property from the spec
4526
4527 2008-03-11  Dan Williams  <dcbw@redhat.com>
4528
4529         * src/backends/NetworkManagerGeneric.c
4530           src/backends/NetworkManagerGeneric.h
4531                 - (nm_generic_device_get_use_dhcp): remove
4532
4533 2008-03-11  Dan Williams  <dcbw@redhat.com>
4534
4535         * src/nm-device.c
4536                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4537                         already in nm_device_set_ip4_config()
4538                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4539                         due to a DHCP rebind fails
4540                 - (nm_device_set_ip4_config): send property notifications when the
4541                         ip4 config changes
4542                 - (get_property): only report IP4Config property during valid states
4543
4544         * src/NetworkManagerPolicy.c
4545                 - (update_routing_and_dns): ignore devices that don't have an ip4
4546                         config; add parameter 'force_update' to allow callers to specify
4547                         that changes should be made even if the default device doesn't change
4548                 - (device_ip4_config_changed): update DNS and routing when the device's
4549                         IP4Config changes, like for DHCP updates
4550                 - (device_added): listen for ip4-config property changes
4551
4552 2008-03-11  Dan Williams  <dcbw@redhat.com>
4553
4554         Fix address handling as a result of DHCP rebind/renew/reboot.
4555
4556         * src/NetworkManagerSystem.c
4557                 - (check_one_address): delete an address if it doesn't match a given
4558                         one for the same interface
4559                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4560                         be smarter about flushing addresses (only flush ones that don't
4561                         match the one we're about to apply)
4562
4563         * src/backends/NetworkManagerDebian.c
4564           src/backends/NetworkManagerSuSE.c
4565           src/backends/NetworkManagerArch.c
4566           src/backends/NetworkManagerSlackware.c
4567           src/backends/NetworkManagerRedHat.c
4568           src/backends/NetworkManagerPaldo.c
4569           src/backends/NetworkManagerFrugalware.c
4570           src/backends/NetworkManagerGentoo.c
4571                 - (nm_system_delete_default_route): remove
4572
4573         * src/backends/NetworkManagerGeneric.c
4574           src/backends/NetworkManagerGeneric.h
4575                 - (nm_generic_enable_loopback): fix the loopback device label
4576                 - (nm_generic_delete_default_route): remove; no longer used
4577
4578 2008-03-11  Dan Williams  <dcbw@redhat.com>
4579
4580         * src/nm-device-interface.h
4581                 - Delimit property name words with '-', otherwise g_object_notify()
4582                         doesn't work the way we expect
4583
4584 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4585
4586         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4587
4588 2008-03-11  Dan Williams  <dcbw@redhat.com>
4589
4590         * src/NetworkManagerPolicy.c
4591                 - (update_routing_and_dns): don't change anything if the default device
4592                         hasn't changed; print something out when switching the default route
4593                         and DNS
4594
4595 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4596
4597         Implement PPPoE.
4598
4599         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4600         setting. Use "nic-$eth".
4601
4602         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4603         the device is activating here to fix a race condition.
4604
4605         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4606
4607         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4608         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4609         (nm_ppp_manager_start): Take activation request instead of connection, we might
4610         need it for asking secrets.
4611         (nm_ppp_manager_update_secrets): Implement.
4612
4613         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4614         ppp manager start. It might be needed for asking secrets.
4615
4616         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4617         (ppp_state_changed): Handle pppd daemon disappearing.
4618         (pppoe_stage2_config): Send activation request to ppp manager start.
4619
4620         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4621
4622         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4623         username and password.
4624         
4625 2008-03-10  Dan Williams  <dcbw@redhat.com>
4626
4627         * src/nm-device.c
4628                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4629                         response to a DHCP lease change
4630                 - (dhcp_state_changed): handle DHCP lease changes while activated
4631                 - (nm_device_set_ip4_config): remove a previously set named config
4632                         when setting an ip4 config
4633
4634 2008-03-10  Dan Williams  <dcbw@redhat.com>
4635
4636         * src/nm-serial-device.c
4637                 - (nm_serial_device_send_command): report errno on error
4638                 - (get_reply_got_data): limit the size of the overall buffer
4639                 - (wait_for_reply_info_destroy): destroy result string
4640                 - (wait_for_reply_got_data): append received data to an overall buffer
4641                         until timeout, filled buffer, or error instead of keeping a per-call
4642                         buffer.  Some devices send data slowly enough that this function
4643                         gets called multiple times for the same command stream.
4644                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4645                         wait_for_reply_got_data() here
4646
4647 2008-03-10  Dan Williams  <dcbw@redhat.com>
4648
4649         * src/nm-cdma-device.c
4650                 - (do_dial, init_modem): handle errors from
4651                         nm_serial_device_send_command_string()
4652
4653         * src/nm-gsm-device.c
4654                 - (do_dial, manual_registration, automatic_registration_get_network,
4655                    automatic_registration, enter_pin, check_pin, init_modem): handle
4656                         errors from nm_serial_device_send_command_string()
4657
4658 2008-03-10  Dan Williams  <dcbw@redhat.com>
4659
4660         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4661
4662         * src/named-manager/nm-named-manager.c
4663                 - (compute_searches): prefer searches before domains
4664                 - (compute_domain): new function
4665                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4666                 - (merge_one_ip4_config): if there are no searches in the source config,
4667                         merge domains of the source config into the target config
4668                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4669
4670 2008-03-10  Dan Williams  <dcbw@redhat.com>
4671
4672         * src/nm-serial-device.c
4673                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4674                 - (wait_for_reply_got_data): try to handle slower serial devices where
4675                         the reply is broken up into multiple reads by concatenating replies
4676                         together until either an error is received or the search string is
4677                         found
4678
4679 2008-03-10  Dan Williams  <dcbw@redhat.com>
4680
4681         * src/nm-device.c
4682                 - (nm_device_bring_down): deactivate the device if it's activating too,
4683                         not just if it's already activated.  This makes sure that everything
4684                         from an association attempt is cleaned up (like DHCP for example)
4685
4686 2008-03-10  Dan Williams  <dcbw@redhat.com>
4687
4688         * src/nm-serial-device.c
4689                 - (config_fd): report error from TCSETA
4690                 - (nm_serial_device_open): fail when config_fd() fails
4691
4692 2008-03-10  Dan Williams  <dcbw@redhat.com>
4693
4694         * src/nm-ip4-config.c
4695                 - (nm_ip4_config_init): allocate searches list
4696                 - (finalize): free searches list
4697
4698 2008-03-09  Dan Williams  <dcbw@redhat.com>
4699
4700         Patch from Bas Zoetekouw <bas@debian.org>
4701
4702         * src/dhcp-manager/nm-dhcp-manager.c
4703                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4704
4705 2008-03-09  Dan Williams  <dcbw@redhat.com>
4706
4707         Patch from Bas Zoetekouw <bas@debian.org>
4708
4709         * src/nm-ip4-config.c
4710           src/nm-ip4-config.h
4711                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4712                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4713                         domains.  'searches' is the correct way to store multiple search
4714                         domains, whereas 'domains' is really just supposed to store one
4715                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4716                         search domains to the client.
4717                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4718
4719 2008-03-09  Dan Williams  <dcbw@redhat.com>
4720
4721         * src/dhcp-manager/nm-dhcp-manager.c
4722                 - (dhclient_run): send interface-specific config files to dhclient
4723
4724 2008-03-07  Dan Williams  <dcbw@redhat.com>
4725
4726         * system-settings/plugins/ifcfg-fedora/parser.c
4727                 - (is_wireless_device): new function; test a device for wireless
4728                         extensions
4729                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4730                         test the device for wireless extensions to determine the type
4731
4732 2008-03-07  Dan Williams  <dcbw@redhat.com>
4733
4734         Change manager's StateChange signal to StateChanged for consistency.
4735
4736         * introspection/nm-manager.xml
4737                 - Add 'StateChanged' signal
4738                 - Move 'StateChange' down to the deprecated section
4739
4740         * src/nm-hal-manager.c
4741                 - (nm_hal_manager_new): connect to 'state-changed' instead
4742
4743         * src/NetworkManagerPolicy.c
4744                 - (nm_policy_new): connect to 'state-changed' instead
4745
4746         * src/nm-manager.c
4747           src/nm-manager.h
4748                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4749                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4750                         of 'state-change'
4751
4752         * libnm-glib/nm-client.c
4753           libnm-glib/nm-client.h
4754                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4755                         track and proxy 'state-changed' instead of 'state-change'
4756
4757 2008-03-07  Dan Williams  <dcbw@redhat.com>
4758
4759         First pass of multiple active device support.  Expect bugs.
4760
4761         * src/nm-ip4-config.c
4762           src/nm-ip4-config.h
4763                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4764                         there are better ways to do this in the named manager
4765
4766         * src/nm-device.c
4767           src/nm-device.h
4768                 - (nm_device_can_activate): return whether the device can activate a
4769                         connection right now; taking into account things like carrier state
4770                         and rfkill state
4771                 - (nm_device_get_best_auto_connection): renamed from
4772                         nm_device_get_best_connection
4773                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4774                         device subclasses themselves, so that each device can override the
4775                         MTU from it's NMSetting subclass if needed
4776                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4777                         in NetworkManagerSystem.c, not here
4778
4779         * src/named-manager/nm-named-manager.c
4780           src/named-manager/nm-named-manager.h
4781                 - (nm_named_manager_name_owner_changed,
4782                    nm_named_manager_dbus_connection_changed): fix for changes to
4783                         rewrite_resolv_conf()
4784                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4785                         from parameter list
4786                 - (merge_one_ip4_config): new function; merge ip4 configs together
4787                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4788                         ip4 configs; the VPN config takes precedence, then the best
4789                         device config, then the rest of the configs
4790                 - (get_domain_for_config): take the NMNamedManager as an argument
4791                         to check whether the config is the VPN config
4792                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4793                         attribute from ip4 configs
4794                 - (add_all_ip4_configs_to_named): add all the configs in priority order
4795                 - (remove_ip4_config_from_named): fix for changes to
4796                         get_domain_for_config()
4797                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4798                         based on its type; callers must pass in the type now
4799                 - (get_last_default_domain): remove, unused
4800                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4801
4802         * src/nm-device-802-11-wireless.c
4803                 - (real_can_activate): new function
4804                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4805                 - (real_act_stage4_get_ip4_config): handle MTU override
4806
4807         * src/nm-device-802-3-ethernet.c
4808                 - (real_can_activate): new function
4809                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4810                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4811
4812         * src/vpn-manager/nm-vpn-connection.c
4813                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4814                         attribute on the ip4 config
4815
4816         * src/NetworkManagerPolicy.c
4817                 - (nm_policy_auto_get_best_device): remove
4818                 - (nm_policy_device_change_check): remove
4819                 - (update_default_route): new function; set the default route via
4820                         the specified device
4821                 - (get_device_priority): new function; return the priority number of
4822                         a device type WRT which one should have the default route.  Order is
4823                         (highest to lowest)  wired, wireless, GSM, CDMA.
4824                 - (update_routing_and_dns): new function; determine which device should
4825                         have the default route, then update the routing table and DNS
4826                 - (maybe_auto_activate_device): new function; if a device is now
4827                         available for activation, find out what connection it would like to
4828                         activate and do it
4829                 - (schedule_activate_check): new function; if a device can be activated
4830                         now, schedule the activation.  Each device may have only one
4831                         pending activation at a given time.
4832                 - (device_state_changed): if activation was canceled, try again,
4833                         possibly with another connection; if the device was activated,
4834                         update routing and DNS; if the device was deactivated, try again
4835                         with another connection
4836                 - (device_carrier_changed): if there is no carrier, deactivate the
4837                         device; otherwise schedule an activation check for the device
4838                 - (wireless_networks_changed): schedule an activation check for the
4839                         device
4840                 - (device_added): keep track of the signal handler IDs so they can
4841                         be removed when the device goes away
4842                 - (device_removed): remove any signal handlers that might be attached
4843                         to the device; update routing and DNS
4844                 - (schedule_activate_all): new function
4845                 - (connections_added, connection_added, connection_updated): when
4846                         connections change, schedule all devices for an activation check
4847                 - (connection_removed): when a device is deactivated because its
4848                         connection was removed, schedule another activation check for it
4849                 - (nm_policy_destroy): destroy pending activations and disconnect
4850                         all device signal handlers
4851
4852         * src/nm-manager.c
4853                 - (nm_manager_activate_device): if the device was already actived,
4854                         deactivate it
4855                 - (deactivate_old_device): remove
4856                 - (connection_added_default_handler, impl_manager_activate_device):
4857                         don't deactivate other devices when activating this one
4858
4859         * src/backends/NetworkManagerGentoo.c
4860           src/backends/NetworkManagerFrugalware.c
4861           src/backends/NetworkManagerPaldo.c
4862           src/backends/NetworkManagerRedHat.c
4863           src/backends/NetworkManagerSlackware.c
4864           src/backends/NetworkManagerArch.c
4865           src/backends/NetworkManagerSuSE.c
4866           src/backends/NetworkManagerDebian.c
4867                 - (nm_system_get_mtu): remove; MTU should be provided through the
4868                         distro's system settings service plugin instead
4869                 - (nm_system_device_add_default_route_via_device): remove
4870                 - (nm_system_device_add_default_route_via_device_with_iface): remove
4871                 - (nm_system_device_replace_default_route): new function; call
4872                         generic implementation
4873
4874         * src/backends/NetworkManagerGeneric.c
4875           src/backends/NetworkManagerGeneric.h
4876                 - (nm_generic_device_add_default_route_via_device,
4877                    nm_generic_device_add_default_route_via_device_with_iface): remove
4878                 - (nm_generic_device_replace_default_route): replace the default route
4879                         with the given route via some gateway
4880
4881         * src/NetworkManagerSystem.c
4882           src/NetworkManagerSystem.h
4883                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
4884                         to routing and DNS; but set the MTU here
4885                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
4886                         ip_iface of the active device; use the standard MTU setting function
4887                 - (nm_system_set_mtu): remove
4888                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
4889
4890 2008-03-07  Tambet Ingo  <tambet@gmail.com>
4891
4892         Rework the interaction between ppp manager and pppd plugin. Register a well
4893         known DBUS service in manager and let the plugin call it's methods instead
4894         of listening plugin's signals.
4895
4896         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
4897         of emitting signals.
4898
4899         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
4900
4901         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
4902
4903         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
4904         nm_ppp_manager_start().
4905
4906         * introspection/nm-ppp-manager.xml: New file.
4907
4908         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
4909         the case correctly where driver is trying to send -1 for the speed, which gets
4910         casted to u16 and thus is always > 0.
4911
4912 2008-03-07  Dan Williams  <dcbw@redhat.com>
4913
4914         * src/nm-hal-manager.c
4915                 - (nm_get_device_driver_name): use net.originating_device first, fall
4916                         back to physical device.  HAL has deprecated physical_device.
4917
4918         * libnm-glib/nm-device.c
4919                 - (get_product_and_vendor): use net.originating_device first, fall
4920                         back to physical device.  HAL has deprecated physical_device.
4921                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
4922
4923 2008-03-07  Dan Williams  <dcbw@redhat.com>
4924
4925         * src/nm-netlink.c
4926                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
4927                         last commit; fix that
4928                 - (get_link_cache): print error string
4929
4930 2008-03-07  Dan Williams  <dcbw@redhat.com>
4931
4932         * src/nm-netlink.c
4933                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
4934                         don't need this hack any more (Benoit Boissinot)
4935
4936 2008-03-06  Dan Williams  <dcbw@redhat.com>
4937
4938         * autogen.sh
4939                 - Die gnome-common, die
4940
4941 2008-03-04  Dan Williams  <dcbw@redhat.com>
4942
4943         Patch from Michael Biebl <biebl@debian.org>
4944
4945         * NetworkManager.pc.in
4946                 - doesn't actually depend on dbus-1
4947
4948         * libnm-util/nm-utils.h
4949                 - remove unused #include <dbus/dbus.h>
4950
4951         * libnm-glib/libnm_glib.pc.in
4952                 - depends on glib and dbus-glib
4953
4954 2008-03-02  Dan Williams  <dcbw@redhat.com>
4955
4956         * src/NetworkManagerPolicy.c
4957                 - s/device_state_changed_idle_id/update_state_id/
4958
4959 2008-03-02  Dan Williams  <dcbw@redhat.com>
4960
4961         * src/nm-device.c
4962           src/nm-device.h
4963           src/nm-device-802-11-wireless.c
4964           src/nm-device-802-3-ethernet.c
4965           src/NetworkManagerPolicy.c
4966                 - s/link_active/carrier
4967                 - nm_device_set_active_link() -> nm_device_set_carrier()
4968                 - nm_device_has_active_link() -> nm_device_get_carrier()
4969
4970 2008-03-02  Dan Williams  <dcbw@redhat.com>
4971
4972         * system-settings/plugins/ifcfg-fedora/parser.c
4973                 - (make_wireless_setting): fail connection creation on missing SSID
4974
4975 2008-02-29  Dan Williams  <dcbw@redhat.com>
4976
4977         * src/NetworkManagerPolicy.c
4978                 - (nm_policy_device_change_check): ensure that a previously active
4979                         device with a system connection has a link before denying a switch
4980                         to a user connection
4981
4982 2008-02-29  Dan Williams  <dcbw@redhat.com>
4983
4984         * src/nm-device-802-11-wireless.c
4985                 - (link_timeout_cb): try again if scanning; deactivate the device when
4986                         activated if the link dies
4987                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
4988                         15 seconds
4989
4990 2008-02-29  Dan Williams  <dcbw@redhat.com>
4991
4992         * src/nm-device-802-11-wireless.c
4993           src/nm-device-802-11-wireless.h
4994                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
4995                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
4996                 - (device_cleanup): reset the scan interval lower when the device
4997                         deactivates
4998                 - (can_scan): base decision mostly off device state, not supplicant
4999                         interface state since the supplicant interface state isn't a
5000                         great indicator of whether the device is active or not
5001                 - (request_wireless_scan): clean up; schedule the next scan here
5002                 - (schedule_scan): only back the scan interval off if a new scan
5003                         actually gets scheduled; and make scan intervals tighter when the
5004                         device is disconnected
5005                 - (supplicant_iface_state_cb_handler): fold in the bits of
5006                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5007                         interval to minimum
5008                 - (activation_success_handler): reset scan interval to something
5009                         reasonable 
5010
5011 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5012
5013         reviewed by: Steev <steev@steev.net>
5014
5015         * configure.in:
5016         * src/backends/NetworkManagerGentoo.c:
5017         (nm_system_restart_mdns_responder):
5018                 Howl is no longer a supported mDNS provider
5019
5020 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5021
5022         Get rid of a bunch of unused distro specific functions.
5023
5024 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5025
5026         Implement suse plugin for system settings daemon.
5027
5028         * system-settings/plugins/ifcfg-suse/*: Implement.
5029
5030         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5031         suse.
5032
5033         * configure.in: Check (without failing) for gio.
5034         Create ifcfg-suse plugin's Makefile.
5035
5036 2008-02-20  Dan Williams  <dcbw@redhat.com>
5037
5038         * libnm-util/nm-connection.c
5039           libnm-util/nm-connection.h
5040                 - (nm_connection_compare): accept compare flags and pass them to the
5041                         setting compare function
5042
5043         * libnm-util/nm-setting.c
5044           libnm-util/nm-setting.h
5045                 - (nm_setting_compare): accept compare flags; ignore properties that are
5046                         marked fuzzy
5047
5048         * libnm-util/nm-setting-connection.c
5049           libnm-util/nm-setting-wireless.c
5050           libnm-util/nm-setting-ppp.c
5051           libnm-util/nm-setting-wired.c
5052                 - Mark some setting properties as ignorable when doing a fuzzy compare
5053
5054         * src/nm-device.c
5055                 - (device_activation_precheck): use exact compare
5056
5057 2008-02-20  Dan Williams  <dcbw@redhat.com>
5058
5059         * src/NetworkManagerPolicy.c
5060                 - (nm_policy_device_change_check): get scope off the connection, not
5061                         using the manager helper
5062
5063         * src/nm-manager.c
5064           src/nm-manager.h
5065                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5066                 - (connection_get_settings_cb): set scope and path on connection, not
5067                         using GObject data items
5068                 - (get_connection_for_proxy): don't need to return path, since that
5069                         can be gotten from the connection
5070                 - (get_connection_for_proxy): get path off the connection, not from
5071                         parameters
5072                 - (connection_removed_cb, connection_updated_cb): don't need to get
5073                         path from get_connection_for_proxy(); get scope off the connection
5074                         instead of using GObject data items
5075                 - (connection_added_default_handler, add_one_connection_element): use
5076                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5077                 - (nm_manager_get_connection_dbus_path): remove
5078                 - (nm_manager_get_connection_scope): remove
5079
5080 2008-02-20  Dan Williams  <dcbw@redhat.com>
5081
5082         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5083                 on confusing names
5084
5085         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5086                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5087                 NMExportedConnection
5088
5089         * Internally rename NMConnectionType -> NMConnectionScope
5090
5091         * Provide default implementations of the 'get_id' and 'get_settings' methods
5092                 of NMExportedConnection
5093
5094 2008-02-15  Dan Williams  <dcbw@redhat.com>
5095
5096         * src/nm-device-802-11-wireless.c
5097                 - (device_cleanup): release the AP list here too so that the AP list
5098                         doesn't survive across suspend/resume and up/down.  There is some
5099                         room for optimization, for example blow the list away when the card
5100                         brought back up, but only if the device has only been down for a
5101                         minute or more.
5102
5103 2008-02-15  Dan Williams  <dcbw@redhat.com>
5104
5105         * src/nm-hal-manager.c
5106                 - (modem_device_creator): recognize new HAL modem capabilities
5107
5108 2008-02-12  Dan Williams  <dcbw@redhat.com>
5109
5110         * system-settings/plugins/ifcfg-fedora/plugin.c
5111                 - (watch_path): handle IN_DELETE_SELF too
5112                 - (handle_connection_changed): notify when removing a connection
5113                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5114                         case of a file moving out of the profile directory
5115
5116 2008-02-12  Dan Williams  <dcbw@redhat.com>
5117
5118         * system-settings/plugins/ifcfg-fedora/parser.c
5119                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5120
5121 2008-02-12  Dan Williams  <dcbw@redhat.com>
5122
5123         * libnm-util/nm-utils.c
5124                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5125                         just any empty array
5126
5127 2008-02-12  Dan Williams  <dcbw@redhat.com>
5128
5129         * system-settings/src/nm-system-config-interface.c
5130           system-settings/src/nm-system-config-interface.h
5131                 - (load_connections): get_connections() should now return an allocated
5132                         GSList that the system settings service will free
5133
5134         * system-settings/plugins/ifcfg-fedora/plugin.c
5135           system-settings/plugins/ifcfg-fedora/parser.h
5136           system-settings/plugins/ifcfg-fedora/parser.c
5137                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5138                         in the profile directory, handle resolv.conf file changes
5139
5140 2008-02-10  Dan Williams  <dcbw@redhat.com>
5141
5142         * src/nm-device-802-3-ethernet.c
5143                 - (real_bring_up): save the supplicant interface state signal id
5144                 - (real_bring_down): disconnect from the supplicant interface state
5145                         signal
5146
5147 2008-02-07  Dan Williams  <dcbw@redhat.com>
5148
5149         * initscript/RedHat/NetworkManager.in
5150           initscript/RedHat/NetworkManagerDispatcher.in
5151                 - Add new-style LSB init headers
5152
5153 2008-02-07  Dan Williams  <dcbw@redhat.com>
5154
5155         * system-settings/src/dbus-settings.c
5156           system-settings/src/dbus-settings.h
5157                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5158                         table of secrets
5159                 - (connection_settings_get_secrets): consolidate error returns into
5160                         one place; use the new get_secrets() plugin interface function to
5161                         get secrets from the plugin itself rather than using GObject data
5162                         magic
5163
5164         * system-settings/src/main.c
5165                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5166                    load_connections): keep a private list of the plugin-returned
5167                         connections, don't use the plugin's GSList
5168
5169         * system-settings/plugins/ifcfg-fedora/plugin.c
5170                 - (watch_path): watch the path, not the filename (duh)
5171                 - (reload_all_connections): use the direct hash/equal functions; the
5172                         ones for int aren't appropriate here
5173                 - (get_secrets, system_config_interface_init): implement the
5174                         get_secrets() function
5175                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5176                         now in the connection's ConnectionData instead of being a GObject
5177                         data property
5178                 - (handle_profile_item_changed): ifcfg file path is now in the
5179                         connection's ConnectionData instead of being a GObject data property;
5180                         be sure to copy secrets over from the new connection to the existing
5181                         connection when updating the connection's settings
5182                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5183                         file descriptor
5184
5185         * system-settings/plugins/ifcfg-fedora/parser.c
5186           system-settings/plugins/ifcfg-fedora/parser.h
5187                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5188                    connection_data_copy_secrets, connection_data_free,
5189                    connection_data_add): new functions; connection data manipulation
5190                 - (make_wireless_security_setting): stuff secrets into the
5191                         connection data, not as GObject data items; make sure to close
5192                         the keys ifcfg file
5193                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5194                         connection data to the connection
5195
5196 2008-02-07  Dan Williams  <dcbw@redhat.com>
5197
5198         * system-settings/src/nm-system-config-interface.c
5199           system-settings/src/nm-system-config-interface.h
5200                 - Add a get_secrets() interface function to retrieve secrets for a
5201                         specific setting of a specific connection.  Document the interface
5202                         a bit more too.
5203
5204 2008-02-07  Dan Williams  <dcbw@redhat.com>
5205
5206         * src/nm-device-802-11-wireless.c
5207                 - (handle_auth_or_fail): new function; consolidate device activation
5208                         failure check after a certain number of failures getting secrets
5209                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5210                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5211                         the connection if secrets were requested more than a few times
5212                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5213                         tries here; otherwise they are cleared before the IP configure
5214                         timeout, which happens with open system WEP when key is wrong
5215                 - (activation_success_handler): clear wireless secrets tries here too
5216
5217 2008-02-07  Dan Williams  <dcbw@redhat.com>
5218
5219         * src/NetworkManagerPolicy.c
5220                 - (connection_updated): clear invalid tag when connection gets updated
5221                         to allow that connection to be tried again
5222                 - (nm_policy_new): save signal ids so they can be disconnected when
5223                         the policy is destroyed
5224                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5225                         and disconnect all signals from the manager object so that none
5226                         of the policy functions gets called after the policy is destroyed
5227
5228 2008-02-06  Dan Williams  <dcbw@redhat.com>
5229
5230         * src/nm-manager.c
5231                 - (finalize): remove devices a bit earlier; clean up system settings
5232                         poke
5233                 - (nm_manager_name_owner_changed): clean up system settings poke when
5234                         the service appears, and try to restart it if it fails
5235                 - (poke_system_settings_daemon_cb): try to get the system settings
5236                         service started through D-Bus service activation
5237                 - (initial_get_connections): start the system settings daemon if it's
5238                         not already running
5239
5240 2008-02-05  Dan Williams  <dcbw@redhat.com>
5241
5242         * src/supplicant-manager/nm-supplicant-config.c
5243                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5244                         broadcast networks too
5245
5246 2008-02-04  Dan Williams  <dcbw@redhat.com>
5247
5248         * system-settings/plugins/ifcfg-fedora/parser.c
5249                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5250                         need key_mgmt set too
5251                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5252                         .bak files; ensure that an error is set whenever NULL gets returned
5253
5254 2008-02-04  Dan Williams  <dcbw@redhat.com>
5255
5256         * system-settings/src/Makefile.am
5257                 - Install D-Bus service activation file for the system settings
5258                         service
5259
5260         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5261                 - D-Bus service activation file for system settings service
5262
5263 2008-02-04  Dan Williams  <dcbw@redhat.com>
5264
5265         * system-settings/src/main.c
5266                 - (parse_config_file): parse a config file
5267                 - (main): accept --config option and read plugins from config file
5268
5269 2008-02-04  Dan Williams  <dcbw@redhat.com>
5270
5271         * system-settings/plugins/ifcfg-fedora/plugin.c
5272                 - Change reported name to 'ifcfg-fedora'
5273                 - Use IFCFG_PLUGIN_NAME
5274
5275         * system-settings/plugins/ifcfg-fedora/plugin.c
5276                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5277
5278 2008-02-04  Dan Williams  <dcbw@redhat.com>
5279
5280         * system-settings/plugins/ifcfg-fedora/parser.c
5281                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5282                 - (make_connection_setting): use get_ifcfg_name()
5283                 - (make_wireless_security_setting): handle shadow key files
5284                 - (get_one_wep_key): treat empty string as NULL
5285
5286 2008-02-04  Dan Williams  <dcbw@redhat.com>
5287
5288         * src/supplicant-manager/nm-supplicant-manager.c
5289                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5290                         glib automatically reschedule
5291                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5292                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5293                         the supplicant
5294
5295 2008-02-01  Dan Williams  <dcbw@redhat.com>
5296
5297         * src/NetworkManagerPolicy.c
5298                 - (device_state_changed): schedule a change check when a device gets
5299                         deactivated so something happens if you disconnect GSM/CDMA
5300
5301 2008-01-31  Dan Williams  <dcbw@redhat.com>
5302
5303         * src/nm-device-802-11-wireless.h
5304           src/nm-device-802-11-wireless.c
5305                 - (ap_list_get_ap_by_ssid, is_associated,
5306                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5307                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5308                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5309                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5310                         function
5311
5312 2008-01-30  Dan Williams  <dcbw@redhat.com>
5313
5314         * system-settings/plugins/ifcfg
5315         * system-settings/plugins/ifcfg-fedora
5316                 - Move the ifcfg plugin to ifcfg-fedora
5317
5318 2008-01-24  Dan Williams  <dcbw@redhat.com>
5319
5320         * libnm-glib/nm-device-802-11-wireless.c
5321                 - (get_access_point): move the "/" check here; check for invalid path
5322                         too
5323                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5324                         to get_access_point()
5325                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5326                         to send signals for non-existent access points
5327
5328 2008-01-24  Dan Williams  <dcbw@redhat.com>
5329
5330         * libnm-glib/nm-device-802-11-wireless.c
5331                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5332
5333 2008-01-23  Dan Williams  <dcbw@redhat.com>
5334
5335         * libnm-glib/libnm_glib.c
5336                 - (libnm_glib_init): make thread joinable
5337                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5338
5339 2008-01-23  Dan Williams  <dcbw@redhat.com>
5340
5341         * test/libnm_glib_test.c
5342                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5343                 - (main): set up signal handlers; call libnm_glib_shutdown
5344
5345 2008-01-21  Dan Williams  <dcbw@redhat.com>
5346
5347         * include/NetworkManager.h
5348                 - Add CDMA mobile broadband card device type
5349
5350         * src/nm-hal-manager.c
5351                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5352                         must now be tagged with 'cdma' or 'gsm' capability
5353
5354         * src/nm-cdma-device.c
5355           src/nm-cdma-device.h
5356           src/Makefile.am
5357                 - Add the CDMA mobile broadband card device class
5358
5359         * libnm-util/nm-connection.c
5360                 - (register_default_settings): add NMSettingCdma
5361
5362         * libnm-util/nm-setting-cdma.c
5363           libnm-util/nm-setting-cdma.h
5364           libnm-util/Makefile.am
5365                 - Add the CDMA mobile broadband card setting class
5366
5367         * libnm-glib/nm-cdma-device.c
5368           libnm-glib/nm-cdma-device.h
5369           libnm-glib/Makefile.am
5370                 - Add the CDMA mobile broadband card GLib proxy class
5371
5372         * libnm-glib/nm-client.c
5373                 - (get_device): handle CDMA devices too
5374
5375 2008-01-21  Dan Williams  <dcbw@redhat.com>
5376
5377         * src/ppp-manager/nm-ppp-manager.c
5378                 - (ip4_config_get): set peer address too
5379
5380         * src/ppp-manager/nm-pppd-plugin.c
5381                 - (nm_ip_up): try harder to get the peer's address
5382
5383         * src/NetworkManagerSystem.c
5384                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5385                         address, use that too.  Otherwise, some PPP connections won't work.
5386
5387 2008-01-19  Dan Williams  <dcbw@redhat.com>
5388
5389         * src/NetworkManagerPolicy.c
5390                 - (nm_policy_device_change_check): system connections override user
5391                         connections; don't activate a user connection if there's a currently
5392                         active system connection, and new, better system connections always
5393                         interrupt user connections
5394
5395 2008-01-19  Dan Williams  <dcbw@redhat.com>
5396
5397         * src/nm-manager.h
5398                 - (nm_manager_get_connection_type): new function
5399
5400 2008-01-19  Dan Williams  <dcbw@redhat.com>
5401
5402         * src/nm-device-802-11-wireless.c
5403                 - (real_get_best_connection): collapse find_best_connection() into this
5404                         function
5405
5406 2008-01-19  Dan Williams  <dcbw@redhat.com>
5407
5408         * src/nm-device-802-3-ethernet.c
5409                 - (real_get_best_connection): collapse find_best_connection() into this
5410                         function
5411
5412 2008-01-18  Dan Williams  <dcbw@redhat.com>
5413
5414         * src/nm-device-802-3-ethernet.c
5415                 - (find_best_connection): check MAC address too
5416                 - (real_get_best_connection): let autoconnect=True connections activate
5417                         for devices that don't have carrier detection
5418
5419         * src/nm-device-802-11-wireless.c
5420                 - (find_best_connection): check MAC address too
5421
5422 2008-01-18  Dan Williams  <dcbw@redhat.com>
5423
5424         * system-settings/plugins/ifcfg/parser.c
5425                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5426
5427 2008-01-17  Dan Williams  <dcbw@redhat.com>
5428
5429         * src/nm-device-802-3-ethernet.c
5430                 - (nm_device_802_3_ethernet_carrier_on,
5431                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5432                         carrier events that might come in for devices that don't support
5433                         carrier detect
5434
5435 2008-01-17  Dan Williams  <dcbw@redhat.com>
5436
5437         * src/nm-device-interface.c
5438                 - (nm_device_interface_check_connection_conflicts): need to actually
5439                         get the interface, not cast to the object
5440
5441         * src/nm-device.c
5442                 - (nm_device_check_connection_conflicts): need to get the device class,
5443                         not cast the device to the device class
5444
5445 2008-01-17  Dan Williams  <dcbw@redhat.com>
5446
5447         * src/nm-device-802-11-wireless.c
5448                 - (real_check_connection_conflicts): ignore connections that aren't
5449                         wireless connections
5450
5451 2008-01-17  Dan Williams  <dcbw@redhat.com>
5452
5453         * src/NetworkManagerPolicy.c
5454                 - (nm_policy_device_change_check): clear change check idle here
5455                 - (device_change_check_done): remove
5456                 - (schedule_change_check): simplify
5457
5458 2008-01-17  Dan Williams  <dcbw@redhat.com>
5459
5460         * src/nm-manager.c
5461                 - (check_connection_allowed): take an NMDeviceInterface instead of
5462                         an NMDevice object as an argument
5463                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5464                         check_connection_allowed()
5465
5466 2008-01-13  Dan Williams  <dcbw@redhat.com>
5467
5468         * libnm-glib/nm-device-802-11-wireless.c
5469                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5470
5471 2008-01-12  Dan Williams  <dcbw@redhat.com>
5472
5473         * src/nm-device-802-11-wireless.c
5474                 - (activation_success_handler): if a match was found in the scan list
5475                         and that match is a hidden AP, update that AP's SSID
5476
5477 2008-01-11  Dan Williams  <dcbw@redhat.com>
5478
5479         * src/NetworkManagerAP.c
5480                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5481
5482         * src/nm-device-802-11-wireless.c
5483                 - (get_active_ap): do two passes over the scan list if the caller
5484                         requests that hidden APs get matched too; during the second pass
5485                         when matching hidden APs, ignore the SSID since hidden APs in the
5486                         scan list don't have an SSID yet
5487                 - (periodic_update): move some checks to
5488                         nm_device_802_11_periodic_update() because not all callers need them
5489                 - (nm_device_802_11_periodic_update): move some checks here from
5490                         perodic_update()
5491                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5492                         matching on incoming scan results, because the fake AP's flags
5493                         might be slightly different (yet still compatible) with the incoming
5494                         scan result's flags and they might actually be the same AP; update
5495                         the rate on merged APs too
5496                 - (activation_success_handler): update the frequency of the fake AP
5497                         on successful connection; match hidden APs too since if the
5498                         current AP is fake, there might already be a scan result in the
5499                         scan list for the desired AP, just without it's SSID filled in yet
5500
5501 2008-01-10  Dan Williams  <dcbw@redhat.com>
5502
5503         * src/NetworkManagerAP.c
5504                 - (foreach_property_cb): catch more hidden SSID formats
5505
5506 2008-01-10  Dan Williams  <dcbw@redhat.com>
5507
5508         Fix gnome.org #464215.  Requires the kernel patch titled
5509         "Introduce WEXT scan capabilities" but will handle the patch not being
5510         present, you'll just continue to have problems with hidden SSIDs when
5511         using mac80211-based drivers.
5512
5513         * src/supplicant-manager/nm-supplicant-config.h
5514           src/supplicant-manager/nm-supplicant-config.c
5515                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5516                         whether the driver supports SSID scans or not.  If it does, and if
5517                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5518
5519         * src/nm-device-802-11-wireless.c
5520                 - (constructor): check whether or not the driver supports SSID scans
5521                 - (build_supplicant_config): pass driver SSID scan capability when
5522                         building the wireless bits of the supplicant config
5523
5524 2008-01-09  Dan Williams  <dcbw@redhat.com>
5525
5526         * src/nm-device.c
5527           src/nm-device.h
5528                 - (device_activation_precheck, check_connection_complete): remove this
5529                         virtual function; incomplete connections should be invalid by
5530                         definition, complete-ness should be checked in the setting's
5531                         verify function
5532
5533         * src/nm-serial-device.c
5534           src/nm-gsm-device.c
5535                 - (real_check_connection_complete): remove
5536
5537         * libnm-util/nm-setting-serial.c
5538                 - (verify): new function; ensure there is a PPP setting too
5539
5540         * libnm-util/nm-setting-gsm.c
5541                 - (verify): ensure there is a serial setting too
5542
5543 2008-01-06  Dan Williams  <dcbw@redhat.com>
5544
5545         * src/dhcp-manager/nm-dhcp-manager.c
5546                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5547                         (gnome.org #332953)
5548
5549 2008-01-04  Dan Williams  <dcbw@redhat.com>
5550
5551         * src/named-manager/nm-named-manager.c
5552                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5553                         nameservers if the secondary config doesn't have any
5554                         (gnome.org #346833)
5555
5556 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5557
5558         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5559         with G_PARAM_CONSTRUCT so that they get the default values.
5560
5561         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5562         the monitoring device and prints out the output for now. Or more precicely, doesn't
5563         do absolutely anything right now since the montoring device argument is never set.
5564
5565         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5566         requires it's own knob to turn it on.
5567         (config_fd): Add NMSettingSerial to the arguments list.
5568         (nm_serial_device_open): Ditto.
5569         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5570         (nm_serial_device_get_io_channel): Implement.
5571
5572         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5573         a new reference every time (and forgetting to release it sometimes) is a pain and
5574         it's not like NMManager could work without dbus.
5575         (nm_manager_add_device): Register the added device on dbus here.
5576
5577         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5578         device.
5579
5580         * src/nm-device.c (constructor): Don't export the device here, instead export
5581         it when it's added to the NMManager's device list.
5582
5583 2007-12-31  Dan Williams  <dcbw@redhat.com>
5584
5585         * src/nm-device-interface.c
5586           src/nm-device-interface.h
5587                 - (nm_device_interface_check_connection_conflicts): new function
5588
5589         * src/nm-device.c
5590           src/nm-device.h
5591                 - (nm_device_check_connection_conflicts): new function
5592                 - (device_activation_precheck): don't require subclasses to implement
5593                         check_connection_complete()
5594                 - check_connection() -> check_connection_complete()
5595
5596         * src/nm-device-802-11-wireless.c
5597                 - (real_check_connection): remove; unused
5598                 - (real_check_connection_conflicts): implement, handle lockdown for
5599                         system connections
5600
5601         * src/nm-device-802-3-ethernet.c
5602                 - (real_check_connection): remove; unused
5603
5604         * src/nm-manager.c
5605                 - (check_connection_allowed): new function
5606                 - (nm_manager_activate_device): ensure the connection being requested
5607                         is allowed to be activated
5608
5609         * src/nm-serial-device.c
5610           src/nm-gsm-device.c
5611                 - real_check_connection() -> real_check_connection_complete()
5612
5613 2007-12-27  Dan Williams  <dcbw@redhat.com>
5614
5615         * src/nm-device-interface.c
5616           src/nm-device-interface.h
5617                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5618                         normalize and expand errors
5619                 - (nm_device_interface_init): register errors so they can be marshalled
5620                         through dbus-glib
5621                 - (nm_device_interface_activate): ensure that failure of activation
5622                         returns an error
5623
5624         * src/nm-device.c
5625           src/nm-device.h
5626                 - (device_activation_precheck): implementations of check_connection()
5627                         now take a GError and must fill it in if the check fails.  Return
5628                         more descriptive error if the requested connection is already
5629                         activating
5630                 - (nm_device_activate): actually try to return descriptive errors on
5631                         failures
5632
5633         * src/nm-device-802-11-wireless.c
5634           src/nm-device-802-3-ethernet.c
5635           src/nm-serial-device.c
5636           src/nm-gsm-device.c
5637                 - (real_check_connection): return more descriptive errors on failure
5638
5639         * src/NetworkManagerPolicy.c
5640                 - (nm_policy_device_change_check): print activation errors in the logs
5641
5642         * src/nm-manager.c
5643                 - (nm_manager_error_quark, nm_manager_error_get_type,
5644                    nm_manager_class_init): new errors
5645                 - (nm_manager_activate_device): handle errors
5646                 - (nm_manager_error_new): removed
5647                 - (wait_for_connection_expired, connection_added_default_handler,
5648                    impl_manager_activate_device): better error handling
5649
5650 2007-12-27  Dan Williams  <dcbw@redhat.com>
5651
5652         Fixes gnome.org #466954
5653
5654         * src/supplicant-manager/nm-supplicant-settings-verify.c
5655                 - Allow 'frequency' network property
5656
5657         * src/supplicant-manager/nm-supplicant-config.c
5658           src/supplicant-manager/nm-supplicant-config.h
5659                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5660                         for callers to specify the frequency an Ad-Hoc network should operate
5661                         on.  Some drivers require this to successfully create an Ad-Hoc
5662                         network.
5663
5664         * src/nm-device-802-11-wireless.c
5665                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5666                         guint32 value in MHz
5667                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5668                         iw_freq_to_uint32()
5669                 - (find_supported_frequency): new function; find a free supported
5670                         frequency for a user-created Ad-Hoc network
5671                 - (build_supplicant_config): if no frequency was specified for a user-
5672                         created Ad-Hoc network, find a free one to use
5673                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5674                         a specific object as user-created
5675
5676 2007-12-27  Dan Williams  <dcbw@redhat.com>
5677
5678         * libnm-util/nm-utils.c
5679           libnm-util/nm-utils.h
5680                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5681                         for adhoc networks
5682
5683 2007-12-24  Dan Williams  <dcbw@redhat.com>
5684
5685         * libnm-util/nm-setting-wireless.c
5686                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5687                         185, 187, 188, 192, and 196
5688
5689 2007-12-24  Dan Williams  <dcbw@redhat.com>
5690
5691         * src/nm-device-802-11-wireless.c
5692                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5693                         a channel # instead of a frequency
5694
5695 2007-12-24  Dan Williams  <dcbw@redhat.com>
5696
5697         * src/NetworkManagerAP.c
5698           src/NetworkManagerAP.h
5699                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5700                 - (freq_to_channel): handle split band tables
5701                 - (channel_to_freq): handle split band tables, take a band argument
5702
5703 2007-12-24  Dan Williams  <dcbw@redhat.com>
5704
5705         * libnm-util/nm-setting-connection.h
5706           libnm-util/nm-setting-connection.c
5707                 - Add 'lockdown' member
5708
5709 2007-12-22  Dan Williams  <dcbw@redhat.com>
5710
5711         * libnm-util/nm-setting-wireless.c
5712                 - (nm_setting_wireless_class_init): add missing 'rate' property
5713                         specification
5714
5715 2007-12-18  Dan Williams  <dcbw@redhat.com>
5716
5717         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5718
5719         * src/nm-netlink-monitor.c
5720           src/nm-netlink-monitor.h
5721                 - Remove handrolled netlink, use libnl instead
5722
5723         * src/nm-device-802-3-ethernet.c
5724                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5725                    nm_device_802_3_ethernet_carrier_on): use new names
5726
5727 2007-12-17  Dan Williams  <dcbw@redhat.com>
5728
5729         * configure.in
5730                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5731                         and fixes memory leaks)
5732
5733         * src/nm-netlink.c
5734                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5735                         automatically handle the netlink PID
5736
5737 2007-12-17  Dan Williams  <dcbw@redhat.com>
5738
5739         Patch from Michael Biebl <biebl@debian.org>
5740
5741         * configure.in
5742           src/ppp-manager/Makefile.am
5743                 - fix up install dir of pppd plugin
5744                 - clean up configure.in a bit
5745
5746 2007-12-12  Dan Williams  <dcbw@redhat.com>
5747
5748         * system-settings/src/nm-system-settings.conf
5749                 - Allow non-root clients (like the applet) to read settings
5750
5751 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5752
5753         * Replace all occurences of 'UMTS' with 'GSM'.
5754
5755 2007-12-07  Dan Williams  <dcbw@redhat.com>
5756
5757         * src/nm-serial-device.c
5758                 - (real_is_up): serial devices are always "up"
5759
5760 2007-12-07  Dan Williams  <dcbw@redhat.com>
5761
5762         * src/nm-netlink.c
5763           src/NetworkManagerSystem.c
5764                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5765                         twice (gnome.org #491047)
5766                 - Make more robust against allocation-related failures should they occur
5767
5768 2007-12-07  Dan Williams  <dcbw@redhat.com>
5769
5770         Noticed by Christian Persch <chpe@gnome.org>
5771
5772         Always chain up to parent object in dispose and finalize handlers.
5773                 (gnome.org #433112)
5774
5775 2007-12-07  Dan Williams  <dcbw@redhat.com>
5776
5777         * src/nm-device-802-11-wireless.c
5778                 - Wrap #include of linux/mii.h to fix redefined structures due to
5779                         incorrect kernel headers (gnome.org #350061)
5780
5781 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5782
5783         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5784         before doing anything else.
5785         (init_modem): Move modem initialization here.
5786
5787         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5788         (nm_serial_device_flash): Implement.
5789
5790         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5791         changes signal is "StateChanged" and not "Status".
5792         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5793
5794 2007-12-06  Dan Williams  <dcbw@redhat.com>
5795
5796         * src/supplicant-manager/nm-supplicant-config.c
5797                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5798                         to only send some options when they make sense; also send phase2
5799                         option to the supplicant (possible fix for rh #399631)
5800
5801 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5802
5803         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5804         arguments: This whole file shouldn't really know anything about NMDevices, it
5805         should deal only with device interfaces. Devices might have different ifaces for
5806         different stuff and this place shouldn't know anything about it.
5807
5808         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5809         (global_state_changed): Implement. In the current NM it's not really important,
5810         but will be required in the case of multiple active devices. (Or even better,
5811         if stuff like that gets moved out from NM).
5812
5813         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5814         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
5815         instead.
5816
5817         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5818         devices like serial devices (ttyS0 and ppp0 for example).
5819         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5820         set.
5821         (nm_device_set_ip_iface): Implement.
5822         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5823         after setting ip4_config from here ...
5824         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5825         than this function should call nm_system_device_set_from_ip4_config() because no
5826         other code has enough information on which arguments to use. So instead, other code
5827         could just set the new ip4 config using this function and everyone is happy.
5828
5829         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5830         if we happen to get deactivated while something is pending.
5831         (automatic_registration): Handle the response that indicates pending network
5832         registration and wait until the pending registration is done.
5833         (real_deactivate_quickly): If there's a pending operation, cancel it.
5834
5835         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
5836         (real_deactivate_quickly): ... and remove it when it's down.
5837         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
5838         it if needed.
5839         (nm_serial_device_wait_for_reply): Ditto.
5840
5841 2007-12-05  Tambet Ingo  <tambet@gmail.com>
5842
5843         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
5844         (get_network_done): Remove newline, nm_info() does it already.
5845         (real_act_stage1_prepare): Turn the modem echo off.
5846
5847         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
5848         device, set the route to the device interface. This is a hack.
5849
5850         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
5851         return, no need for a new-line.
5852         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
5853         Change the device iface here (ugh).
5854         (real_act_stage4_get_ip4_config): Implement.
5855         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
5856         Restore the device iface.
5857
5858         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
5859         device is not wired or wireless (eg, automatically upped) device.
5860
5861         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
5862         it isn't.
5863         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
5864
5865         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
5866         before calling it's is_device_fn().
5867
5868 2007-12-05  Dan Williams  <dcbw@redhat.com>
5869
5870         * libnm-util/nm-utils.c
5871                 - (nm_utils_register_value_transformations,
5872                    nm_utils_convert_gvalue_hash_to_string): better debug output of
5873                         GHashTables of GValues too
5874
5875 2007-12-04  Dan Williams  <dcbw@redhat.com>
5876
5877         * initscript/RedHat/NetworkManager.in
5878                 - No longer start named; it's D-Bus interface is going away
5879
5880 2007-12-04  Dan Williams  <dcbw@redhat.com>
5881
5882         Patch from Michael Biebl <biebl@debian.org>
5883
5884         * system-settings/plugins/ifcfg/Makefile.am
5885           system-settings/src/main.c
5886           system-settings/src/Makefile.am
5887                 - Put system settings plugins in NM plugins dir
5888
5889         * src/ppp-manager/Makefile.am
5890           src/ppp-manager/nm-ppp-manager.c
5891                 - Move pppd plugin to NM plugins dir
5892
5893 2007-12-04  Dan Williams  <dcbw@redhat.com>
5894
5895         * libnm-util/nm-setting-vpn-properties.h
5896                 - Clarify usage of the 'data' member of the setting
5897
5898         * libnm-util/nm-setting-vpn-properties.c
5899                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
5900                 - (set_property): just remove all the settings; don't recreate the has
5901                 - (update_one_secret): don't need to create the hash table here since
5902                         it should always be present
5903
5904 2007-12-03  Tambet Ingo  <tambet@gmail.com>
5905
5906         Implement PIN and PUK requesting.
5907
5908         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
5909         (enter_pin): Handle PIN and PUK requests.
5910         (real_act_stage1_prepare): Clear the secret type.
5911         (real_connection_secrets_updated): Implement this class method to get
5912         notified when new secrets arrive.
5913         (nm_umts_device_class_init): Add private data back to the umts device class
5914         to store the required secret type.
5915
5916 2007-12-01  Dan Williams  <dcbw@redhat.com>
5917
5918         * system-settings/plugins/ifcfg/parser.c
5919                 - (parser_parse_file): don't try to verify NULL connections
5920
5921 2007-12-01  Dan Williams  <dcbw@redhat.com>
5922
5923         * system-settings/src/main.c
5924                 - (load_connections, add_connection_to_settings): actually export
5925                         plugin-provided connections over D-Bus so NM can get them
5926
5927 2007-12-01  Dan Williams  <dcbw@redhat.com>
5928
5929         * system-settings/plugins/ifcfg/parser.c
5930           system-settings/plugins/ifcfg/parser.h
5931           system-settings/plugins/ifcfg/plugin.c
5932                 - Hook up more inotify bits (untested)
5933
5934 2007-11-29  Dan Williams  <dcbw@redhat.com>
5935
5936         * system-settings/src/nm-system-config-interface.h
5937           system-settings/src/nm-system-config-interface.c
5938                 - (nm_system_config_interface_init,
5939                    nm_system_config_interface_get_connections): add
5940
5941         * system-settings/src/main.c
5942                 - (load_plugins, load_connections, main): use a GSList for plugins
5943                         to ensure priority ordering
5944
5945         * system-settings/plugins/ifcfg/parser.c
5946                 - (ifcfg_error_quark): move to plugin.c, and rename
5947
5948         * system-settings/plugins/ifcfg/plugin.h
5949           system-settings/plugins/ifcfg/plugin.c
5950                 - (ifcfg_plugin_error_quark): move here from parser.c
5951                 - rework connection loading and initialization
5952                 - Add preliminary inotify support for network profile config file
5953
5954 2007-11-28  Tambet Ingo  <tambet@gmail.com>
5955
5956         Merge the beginnings of the new GSM card support.
5957
5958         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
5959         ppp watch source before killing pppd - If this happens from g_object_unref()
5960         then the ppp manager is already destroyed by the time the watch callback runs.
5961
5962         * src/nm-hal-manager.c: Add a device_type_name string to the device
5963         creators, so that we can print a nice human readable string when a
5964         device is added.
5965
5966         * src/nm-umts-device.c (automatic_registration_get_network): Query
5967         for the activated network, not much is done with the result thought.
5968
5969         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
5970         (ppp_ip4_config): Change the device state to activated here for now.
5971         (real_check_connection): Make sure the connection includes ppp setting.
5972
5973         * libnm-glib/nm-client.c (get_device): Handle umts devices.
5974
5975         * libnm-glib/Makefile.am: Add the new files to build.
5976
5977         * libnm-glib/nm-umts-device.c: 
5978         * libnm-glib/nm-umts-device.h: Implement.
5979
5980 2007-11-26  Tambet Ingo  <tambet@gmail.com>
5981
5982         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
5983         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
5984
5985         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
5986         the timeout source - this function is only called when the timeout source has
5987         been removed.
5988         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
5989         to be big enough to contain the terminating zero element as well.
5990         The timeout argument is meant to be in seconds now.
5991         (real_deactivate_quickly): Implement.
5992
5993         * src/NetworkManager.conf: Allow root to own 
5994         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
5995
5996         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
5997         (not unsigned ints).
5998
5999         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6000         small issue with parity bounds - capital letters have lower ascii codes
6001         than lower case letters.
6002
6003         * libnm-util/nm-connection.c (register_default_settings): Register serial
6004         and umts settings.
6005
6006 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6007
6008         Remove the "index" property from devices as not all device types have this.
6009
6010         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6011
6012         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6013         (wired_device_creator): Get the device interface from hal to create the device.
6014         (wireless_device_creator): Ditto.
6015
6016         * src/nm-device.c (nm_device_init): Remove the index member.
6017         (constructor): Remove the checks for index property, make interface property
6018         a require constructor property.
6019         Use the HAL udi for DBus path for devices.
6020         (nm_device_get_index): Remove.
6021         (set_property): Remove index handling.
6022         (get_property): Ditto.
6023         (nm_device_get_dbus_path): Remove.
6024
6025         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6026         property.
6027
6028         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6029         Access the device index through it's interface.
6030         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6031         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6032         index argument. Add interface argument.
6033
6034         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6035         the useless test_dev argument. Remove index argument. Add interface arugment.
6036
6037         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6038         device index through interface.
6039         (nm_system_set_mtu): Ditto.
6040
6041         * introspection/nm-device.xml: Remove the "Index" property.
6042
6043 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6044
6045         * src/nm-serial-device.c: 
6046         * src/nm-serial-device.c: 
6047         * src/nm-umts-device.c:
6048         * src/nm-umts-device.h: Implement.
6049
6050         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6051         allocated by libhal.
6052         (modem_device_creator): Implement.
6053         (register_built_in_creators): Register the modem creator.
6054
6055         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6056         Remove the unused test_dev argument.
6057
6058         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6059
6060         * src/Makefile.am: Add new files to build.
6061         Link in ppp-manager.
6062
6063         * libnm-util/nm-setting-umts.c: 
6064         * libnm-util/nm-setting-umts.h: 
6065         * libnm-util/nm-setting-serial.c: 
6066         * libnm-util/nm-setting-serial.h: Implement.
6067
6068         * libnm-util/Makefile.am: Add new files to build.
6069
6070 2007-11-28  Dan Williams  <dcbw@redhat.com>
6071
6072         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6073
6074         Support DHCP-provided static routes.
6075
6076         * src/nm-ip4-config.h
6077           src/nm-ip4-config.c
6078                 - Add get/set functions for static routes
6079
6080         * src/dhcp-manager/nm-dhcp-manager.c
6081                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6082                         DHCP response
6083
6084         * src/NetworkManagerSystem.c
6085                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6086                         interface when applying the IP4Config
6087
6088 2007-11-28  Dan Williams  <dcbw@redhat.com>
6089
6090         * src/nm-device-802-11-wireless.c
6091                 - (real_act_stage1_prepare): mark APs created for hidden networks
6092                         as non-broadcasting
6093
6094 2007-11-27  Dan Williams  <dcbw@redhat.com>
6095
6096         * system-settings/src/nm-system-config-interface.h
6097                 - Note how to store secrets on NMSetting objects
6098
6099         * system-settings/src/dbus-settings.c
6100                 - (connection_settings_get_secrets): implement
6101
6102 2007-11-27  Dan Williams  <dcbw@redhat.com>
6103
6104         * system-settings/plugins/ifcfg/Makefile.am
6105           system-settings/plugins/ifcfg/parser.c
6106           system-settings/plugins/ifcfg/parser.h
6107           system-settings/plugins/ifcfg/plugin.c
6108                 - Parse wireless connections too
6109
6110         * system-settings/src/dbus-settings.c
6111           system-settings/src/dbus-settings.h
6112           system-settings/src/main.c
6113                 - Handle connection update/removal if the plugin supports it
6114
6115 2007-11-27  Dan Williams  <dcbw@redhat.com>
6116
6117         * src/nm-dbus-manager.h
6118           src/nm-hal-manager.c
6119                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6120                         do it for them
6121
6122         * src/Makefile.am
6123           src/NetworkManagerDbusUtils.c
6124           src/NetworkManagerDbusUtils.h
6125                 - Remove these two source files; they are unused
6126
6127 2007-11-27  Dan Williams  <dcbw@redhat.com>
6128
6129         * src/vpn-manager/nm-vpn-manager.c
6130                 - (impl_vpn_manager_connect): fix system settings check (found by
6131                         James M. Leddy)
6132
6133 2007-11-26  Dan Williams  <dcbw@redhat.com>
6134
6135         * Fix warnings so everything compiles with --enable-more-warnings
6136
6137 2007-11-25  Dan Williams  <dcbw@redhat.com>
6138
6139         * system-settings/*
6140                 - Rework structure and code to use GModule-loaded plugins and a plugin
6141                         interface that plugins export to the system settings service
6142
6143 2007-11-21  Dan Williams  <dcbw@redhat.com>
6144
6145         * system-settings/*
6146                 - Add Soren's system settings service.  Needs work for distros other
6147                         than Fedora; the backends from NM should mostly migrate to here
6148                         and be converted to GObjects
6149
6150 2007-11-21  Dan Williams  <dcbw@redhat.com>
6151
6152         * libnm-util/nm-setting-vpn-properties.c
6153                 - (set_property): must deep-copy the given settings hash, otherwise
6154                         double-free errors occur when the setting is disposed of
6155
6156 2007-11-21  Dan Williams  <dcbw@redhat.com>
6157
6158         * src/vpn-manager/nm-vpn-act-request.h
6159           src/vpn-manager/nm-vpn-act-request.c
6160                 - Remove; unused
6161
6162 2007-11-20  Dan Williams  <dcbw@redhat.com>
6163
6164         * libnm-util/nm-utils.c
6165                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6166                    nm_utils_convert_ip4_addr_struct_array_to_string,
6167                    nm_utils_register_value_transformations): print out the readable
6168                         values of more types of properties of NMSettings subclasses
6169
6170 2007-11-20  Dan Williams  <dcbw@redhat.com>
6171
6172         * libnm-util/nm-setting-ip4-config.c
6173                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6174                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6175                         marshal GValueArrays inside collections, so switch to types that it
6176                         can actually marshal/demarshal
6177
6178 2007-11-16  Dan Williams  <dcbw@redhat.com>
6179
6180         * libnm-util/nm-setting-wireless-security.c
6181                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6182                         minimal verification of EAP methods too
6183                 - (verify): verify phase1 eap methods too
6184
6185 2007-11-15  Dan Williams  <dcbw@redhat.com>
6186
6187         * libnm-glib/nm-device.h
6188           libnm-glib/nm-device.c
6189                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6190                         const char *
6191
6192 2007-11-15  Dan Williams  <dcbw@redhat.com>
6193
6194         * libnm-glib/nm-device.c
6195                 - (get_product_and_vendor): don't try to free things that should be
6196                         freed
6197
6198 2007-11-15  Dan Williams  <dcbw@redhat.com>
6199
6200         * src/NetworkManagerUtils.c
6201                 - (nm_ethernet_address_is_valid): unbreak previous fix
6202
6203 2007-11-15  Dan Williams  <dcbw@redhat.com>
6204
6205         * src/supplicant-manager/nm-supplicant-config.c
6206                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6207                         options
6208
6209 2007-11-15  Dan Williams  <dcbw@redhat.com>
6210
6211         * src/NetworkManagerUtils.c
6212                 - (nm_ethernet_address_is_valid): fix style, clarify
6213                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6214
6215         * src/nm-device-802-11-wireless.c
6216                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6217                 - (nm_device_802_11_wireless_get_ssid,
6218                    nm_device_802_11_wireless_get_bssid,
6219                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6220                         before calling the ioctl; fixes valgrind-reported jump depends on
6221                         uninitialized value errors
6222
6223 2007-11-15  Dan Williams  <dcbw@redhat.com>
6224
6225         * libnm-util/nm-setting.c
6226                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6227                         unecessary to serialize 'name'
6228
6229         * src/nm-activation-request.c
6230                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6231                         the GetSecrets call
6232
6233 2007-11-15  Dan Williams  <dcbw@redhat.com>
6234
6235         * libnm-util/nm-setting-connection.h
6236           libnm-util/nm-setting-connection.c
6237                 - Rename the 'name' property to 'id', because it conflicted with the
6238                         NMSetting superclass' 'name' property.
6239
6240         * libnm-util/nm-setting.c
6241                 - (nm_setting_to_hash): serialize the 'name' property
6242                 - (one_property_cb): ignore 'name' on deserialization of a connection
6243
6244         * src/nm-device-802-11-wireless.c
6245           src/vpn-manager/nm-vpn-connection.c
6246           src/NetworkManagerPolicy.c
6247                 - Fix up for NMSettingConnection 'name'->'id' changes
6248
6249 2007-11-13  Dan Williams  <dcbw@redhat.com>
6250
6251         * libnm-glib/nm-device-802-11-wireless.h
6252           libnm-glib/nm-device-802-11-wireless.c
6253                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6254
6255         * test/nm-tool.c
6256           libnm-glib/libnm-glib-test.c
6257                 - Fixes for above change
6258
6259 2007-11-12  Dan Williams  <dcbw@redhat.com>
6260
6261         * src/supplicant-manager/nm-supplicant-settings-verify.c
6262                 - Allow fragment_size option
6263
6264         * src/supplicant-manager/nm-supplicant-settings-verify.c
6265                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6266                         EAP fragment size than the default to help some TLS connections
6267
6268 2007-11-12  Dan Williams  <dcbw@redhat.com>
6269
6270         Make certs actually work.  The private key is now a secret, and should be
6271         decrypted when requested by NM.  The private key and phase2 private key
6272         passwords are no longer interesting to NM because they should be used by
6273         the settings service to decrypt the private key itself before passing it
6274         to NM, and hence have been removed as fields.
6275
6276         * libnm-util/nm-setting-wireless-security.h
6277           libnm-util/nm-setting-wireless-security.c
6278                 - Remove private-key-passwd and phase2-private-key-passwd from
6279                         properties
6280                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6281                    need_secrets): use property #defines instead strings to keep things
6282                         consistent
6283                 - (need_secrets_tls): if a client certificate is present but no
6284                         private key, request the private key
6285                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6286                         remove private key password stuff, mark private keys as secret
6287
6288         * src/supplicant-manager/nm-supplicant-settings-verify.c
6289                 - Remove private_key_passwd and private_key2_passwd from opt_table
6290
6291 2007-11-09  Dan Williams  <dcbw@redhat.com>
6292
6293         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6294         Since the vpn-properties are managed and known by the VPN daemons themselves,
6295         libnm-util doesn't know what's secret and what's in the setting's 'data'
6296         member.
6297
6298         * libnm-util/nm-setting.h
6299           libnm-util/nm-setting.c
6300                 - Add the ability for subclasses to override update_one_secret
6301
6302         * libnm-util/nm-setting-vpn-properties.c
6303                 - Override update_one_secret and just copy the values into the
6304                         internal table
6305
6306 2007-11-09  Dan Williams  <dcbw@redhat.com>
6307
6308         * libnm-glib/nm-settings.h
6309           libnm-glib/nm-settings.c
6310                 - (nm_settings_new_error): remove
6311                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6312                         clients should use g_set_error() with NM_SETTINGS_ERROR
6313
6314 2007-11-09  Dan Williams  <dcbw@redhat.com>
6315
6316         * src/supplicant-manager/nm-supplicant-config.c
6317                 - (nm_supplicant_config_add_setting_wireless_security): private key
6318                         passwords are never sent to wpa_supplicant, because the supplicant
6319                         should never be reading random files from the disk.  Clients like
6320                         the applet are required to decrypt the private keys and send NM
6321                         the decrypted blobs.
6322
6323 2007-11-08  Dan Williams  <dcbw@redhat.com>
6324
6325         * libnm-util/nm-setting-wireless-security.h
6326           libnm-util/nm-setting-wireless-security.c
6327                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6328                         members to 802-11-wireless-security structure.  This should be used
6329                         to indicate that the values in private-key and phase2-private-key
6330                         are already decrypted by the user agent, and that no
6331                         private-key-passwd or phase2-private-key-passwd should be expected.
6332                         It is not meant to be a stored configuration value, but meant to
6333                         be set when the conneciton is sent to NM over dbus.
6334
6335 2007-11-08  Dan Williams  <dcbw@redhat.com>
6336
6337         * libnm-util/nm-connection.h
6338           libnm-util/nm-connection.c
6339                 - (nm_connection_need_secrets): add argument to return hints
6340
6341         * src/nm-device-802-11-wireless.c
6342                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6343                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6344                         nm_connection_need_secrets() change
6345
6346 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6347
6348         Rework NMSetting structures: Move each setting to it's own file.
6349         Convert to GObject. Remove home grown setting types and use GTypes.
6350         Use GObject property introspection for hash conversion, enumerating
6351         properties, etc.
6352
6353         * libnm-util/nm-setting-connection.[ch]
6354         * libnm-util/nm-setting-ip4-config.[ch]
6355         * libnm-util/nm-setting-ppp.[ch]
6356         * libnm-util/nm-setting-vpn.[ch]
6357         * libnm-util/nm-setting-vpn-properties.[ch]
6358         * libnm-util/nm-setting-wired.[ch]
6359         * libnm-util/nm-setting-wireless.[ch]
6360         * libnm-util/nm-setting-wireless-security.[ch]
6361
6362         New files, each containing a setting.
6363
6364         * libnm-util/nm-setting-template.[ch]: A template for creating new
6365         settings. To use it, just replace 'template' with the new setting
6366         name, and you're half-way done.
6367
6368         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6369         introspection instead of internal types and tables.
6370
6371         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6372
6373         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6374         GValue types defined by dbus-glib for composed types like collections,
6375         structures and maps.
6376
6377         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6378         a setting from connection takes the setting type now. Also, since
6379         the settings are in multiple files, include relevant settings.
6380
6381 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6382
6383         * configure.in:
6384         * src/backends/NetworkManagerGentoo.c:
6385         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6386         providers in Gentoo.
6387
6388 2007-10-31  Dan Williams  <dcbw@redhat.com>
6389
6390         * libnm-util/nm-connection.c
6391                 - (gvalue_to_string): handle UINT32 arrays
6392
6393 2007-10-31  Dan Williams  <dcbw@redhat.com>
6394
6395         * libnm-glib/nm-device.h
6396           libnm-glib/nm-device.c
6397                 - (nm_device_get_description): remove
6398                 - (nm_device_get_product, nm_device_get_vendor): add
6399                 - (nm_device_update_description): new function (private); walk HAL
6400                         devices to get product and vendor IDs for a specific device
6401
6402 2007-10-31  Dan Williams  <dcbw@redhat.com>
6403
6404         * src/nm-device-802-11-wireless.c
6405                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6406
6407 2007-10-29  Dan Williams  <dcbw@redhat.com>
6408
6409         * src/nm-hal-manager.c
6410                 - (device_added, device_new_capability): ignore device additions while
6411                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6412                         kernel module is unloaded and reloaded and recognized by NM again.
6413
6414 2007-10-26  Dan Williams  <dcbw@redhat.com>
6415
6416         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6417
6418         * src/NetworkManagerAP.c
6419           src/NetworkManagerAP.h
6420           libnm-glib/nm-access-point.c
6421           libnm-glib/nm-access-point.h
6422                 - Make 'rate' property a guint32 to better match with WEXT and
6423                         wpa_supplicant and to allow representation of higher bitrates
6424
6425         * src/nm-device-802-11-wireless.c
6426           introspection/nm-device-802-11-wireless.xml
6427           libnm-glib/nm-device-802-11-wireless.c
6428           libnm-glib/nm-device-802-11-wireless.h
6429                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6430
6431         * src/nm-device-802-3-ethernet.c
6432           src/nm-device-802-3-ethernet.h
6433           introspection/nm-device-802-3-ethernet.xml
6434           libnm-glib/nm-device-802-3-ethernet.c
6435           libnm-glib/nm-device-802-3-ethernet.h
6436                 - Make 'speed' property a guint32 to match other speed/rate types
6437                 - Make nm_device_802_3_ethernet_get_speed() static
6438
6439         * test/nm-tool.c
6440                 - Update for the changes above
6441
6442 2007-10-26  Dan Williams  <dcbw@redhat.com>
6443
6444         * src/named-manager/nm-named-manager.c
6445                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6446                     not calling fclose() twice on some error conditions
6447
6448 2007-10-26  Dan Williams  <dcbw@redhat.com>
6449
6450         * src/nm-activation-request.c
6451                 - (dispose): clean up indentation; get the right DBusGProxy object to
6452                         cancel the GetSecrets pending call on.  Need to use the Secrets
6453                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6454                         pending call doesn't get canceled, and pressing Cancel in the
6455                         applet's password dialog could cause get_secrets_cb() to be called
6456                         after the activation request has already been destroyed
6457
6458 2007-10-24  Dan Williams  <dcbw@redhat.com>
6459
6460         * src/supplicant-manager/nm-supplicant-config.c
6461                 - (nm_supplicant_config_add_blob): pass blob data and length for
6462                         verification
6463                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6464
6465 2007-10-24  Dan Williams  <dcbw@redhat.com>
6466
6467         * src/supplicant-manager/nm-supplicant-settings-verify.c
6468                 - (opt_table): max length for certificates should be 65536
6469
6470 2007-10-24  Dan Williams  <dcbw@redhat.com>
6471
6472         * src/supplicant-manager/nm-supplicant-interface.c
6473                 - (blob_free): correctly free blob data after use
6474                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6475
6476 2007-10-24  Dan Williams  <dcbw@redhat.com>
6477
6478         * libnm-util/nm-setting.c
6479                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6480                         EAP method need secrets
6481
6482 2007-10-24  Dan Williams  <dcbw@redhat.com>
6483
6484         * src/backends/NetworkManagerRedHat.c
6485                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6486
6487 2007-10-23  Dan Williams  <dcbw@redhat.com>
6488
6489         * libnm-util/nm-setting.c
6490           libnm-util/nm-setting.c
6491                 - (nm_setting_compare): implement
6492                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6493                    compare_one_hash_gvalue): compare the contents of a setting
6494
6495         * libnm-util/nm-connection.c
6496                 - (nm_connection_compare): implement
6497
6498 2007-10-23  Dan Williams  <dcbw@redhat.com>
6499
6500         * src/nm-activation-request.c
6501                 - (get_secrets_cb): handle getting a setting back that is more than
6502                         just secrets (ie, user changed auth or EAP method or something)
6503
6504 2007-10-23  Dan Williams  <dcbw@redhat.com>
6505
6506         * libnm-util/nm-setting.c
6507           libnm-util/nm-setting.h
6508                 - (nm_setting_verify): new function; verify one setting
6509                 - (nm_settings_verify_all): rename from nm_settings_verify()
6510                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6511                         all_settings
6512
6513         * libnm-util/nm-connection.c
6514                 - (nm_connection_replace_settings, nm_connection_verify,
6515                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6516
6517 2007-10-23  Dan Williams  <dcbw@redhat.com>
6518
6519         * src/nm-device-802-11-wireless.c
6520                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6521                         desired behavior
6522
6523 2007-10-23  Dan Williams  <dcbw@redhat.com>
6524
6525         * src/supplicant-manager/nm-supplicant-settings-verify.c
6526                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6527                         nm-settings.c
6528
6529 2007-10-23  Dan Williams  <dcbw@redhat.com>
6530
6531         * src/nm-device-802-11-wireless.c
6532                 - (real_act_stage2_config): after the first association failure,
6533                         if the connection still needs secrets ask the user for them
6534                         explicitly.  After the fourth association failure due to bad
6535                         secrets, fail the connection entirely.  Handles the GetSecrets
6536                         loop that NM gets into when the provided secrets don't match up
6537                         with the connection details.
6538
6539 2007-10-23  Dan Williams  <dcbw@redhat.com>
6540
6541         * src/supplicant-manager/nm-supplicant-config.c
6542                 - (nm_supplicant_config_add_setting_wireless_security): only add
6543                         WPA-specific options when WPA is in use
6544
6545 2007-10-23  Dan Williams  <dcbw@redhat.com>
6546
6547         * src/supplicant-manager/nm-supplicant-config.c
6548                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6549                         secret doesn't need to be unhexified
6550
6551 2007-10-23  Dan Williams  <dcbw@redhat.com>
6552
6553         * libnm-util/nm-setting.c
6554                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6555                         before trying to do something with it
6556
6557 2007-10-23  Dan Williams  <dcbw@redhat.com>
6558
6559         * src/nm-device-802-11-wireless.c
6560                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6561
6562 2007-10-23  Dan Williams  <dcbw@redhat.com>
6563
6564         * src/nm-device-802-11-wireless.c
6565                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6566                         non-SSID-broadcasting APs
6567
6568 2007-10-23  Dan Williams  <dcbw@redhat.com>
6569
6570         * src/NetworkManagerAP.c
6571                 - (match_cipher, security_compatible): remove
6572                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6573                         libnm-util instead
6574
6575 2007-10-23  Dan Williams  <dcbw@redhat.com>
6576
6577         * libnm-util/nm-utils.c
6578           libnm-util/nm-utils.h
6579                 - (nm_utils_ap_security_compatible): common function for checking
6580                         whether a specific AP is compatible with an NMConnection
6581
6582 2007-10-23  Dan Williams  <dcbw@redhat.com>
6583
6584         * libnm-util/nm-setting.c
6585                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6586                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6587                    need_secrets_password, setting_wireless_security_verify): fix
6588                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6589                         secrets logic for each supported EAP method
6590
6591 2007-10-23  Dan Williams  <dcbw@redhat.com>
6592
6593         * src/supplicant-manager/nm-supplicant-config.c
6594                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6595                         config option name, should be "private_key2_passwd"
6596
6597 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6598
6599         Implement support for static IP addresses, additional/overridden DNS and
6600         DNS domain search lists.
6601
6602         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6603         (ip4_addresses_to_gvalue): Implement.
6604         (convert_array_to_byte_array): Implement.
6605         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6606         NM_S_TYPE_IP4_ADDRESSES.
6607         (nm_setting_hash): Ditto.
6608         (default_setting_clear_secrets): Add a default case for the switch: IP address
6609         shouldn't be secret, ever.
6610         (setting_ip4_config_verify): Update, requires addresses in case of manual
6611         configurations.
6612         (setting_ip4_config_destroy): Free stuff.
6613
6614         * src/nm-device.c (merge_ip4_config): Implement.
6615         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6616
6617 2007-10-22  Dan Williams  <dcbw@redhat.com>
6618
6619         * libnm-util/nm-setting.c
6620                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6621                         pairwise cipher options for Dynamic WEP
6622
6623 2007-10-21  Dan Williams  <dcbw@redhat.com>
6624
6625         * src/NetworkManagerAP.c
6626           src/NetworkManagerAP.h
6627                 - Rename 'articifical' -> 'fake' since that's what they are until
6628                         noticed in scans
6629                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6630                         from the attributes in an NMConnection object
6631                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6632                         WPA Enterprise
6633                 - (nm_ap_match_in_list): find a matching AP in a scan list
6634
6635         * src/nm-device-802-11-wireless.c
6636                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6637                         AP when searching the scan list; match on frequency and mode too
6638                 - (nm_device_802_11_wireless_get_frequency): implement
6639                 - (merge_scanned_ap): replace duplicate matching logic with
6640                         nm_ap_match_in_list()
6641                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6642                         the user is trying to connect to a hidden network that is not yet
6643                         known from the scan list
6644                 - (activation_success_handler): now that the card knows the AP's BSSID,
6645                         there may already be a scanned AP in the scan list that is what
6646                         we really wanted to connect to, but didn't know at the time.  Use
6647                         that instead of the 'fake' AP created at activation start and get
6648                         rid of the 'fake' AP 
6649                 - (cull_scan_list): don't remove fake APs
6650
6651 2007-10-21  Dan Williams  <dcbw@redhat.com>
6652
6653         * src/nm-activation-request.h
6654           src/nm-activation-request.c
6655                 - (nm_act_request_set_specific_object): new function; allow setting the
6656                         specific object if one isn't set yet
6657
6658 2007-10-20  Dan Williams  <dcbw@redhat.com>
6659
6660         * src/supplicant-manager/nm-supplicant-config.h
6661           src/supplicant-manager/nm-supplicant-config.c
6662                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6663                         table to store blobs
6664                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6665                         blob hash table
6666                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6667                 - (nm_supplicant_config_add_setting_wireless_security): handle
6668                         options that use certificates (ie, blobs)
6669
6670         * src/nm-device-802-11-wireless.c
6671                 - (build_supplicant_config): pass a UID (just use the connection path)
6672                         to the supplicant config as now required
6673
6674         * src/supplicant-manager/nm-supplicant-interface.c
6675                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6676                         there are any blobs to send to wpa_supplicant, send those first
6677                         before sending the network configuration
6678
6679 2007-10-19  Dan Williams  <dcbw@redhat.com>
6680
6681         Split the GetSecrets() call off to a separate D-Bus interface so that it
6682         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6683         should be able to call GetSecrets().
6684
6685         * include/NetworkManager.h
6686                 - Define the connection secrets D-Bus interface
6687
6688         * src/vpn-manager/nm-vpn-connection.c
6689                 - (clear_need_auth): get the right proxy object for the connection
6690                         secrets interface
6691                 - (get_connection_secrets): use the connection secrets proxy; send
6692                         empty hints in get secrets request
6693
6694         * src/nm-activation-request.c
6695                 - (nm_act_request_request_connection_secrets): use the connection
6696                         secrets proxy; send empty hints in get secrets request
6697
6698         * src/nm-manager.c
6699           src/nm-manager.h
6700                 - (connection_get_settings_cb): set the connection secrets proxy on
6701                         the connection object too
6702                 - (internal_new_connection_cb): create the connection secrets proxy
6703
6704         * introspection/nm-settings-connection.xml
6705                 - Define Connection.Secrets interface and move GetSecrets there
6706                 - Add a 'hints' argument to GetSecrets
6707
6708         * libnm-glib/nm-settings.c
6709           libnm-glib/nm-settings.h
6710                 - (impl_connection_settings_get_secrets): add 'hints' argument
6711
6712 2007-10-19  Dan Williams  <dcbw@redhat.com>
6713
6714         * src/nm-device.c
6715                 - (constructor): add message about what path a device is exported as
6716                         to help in debugging rh #339011
6717
6718 2007-10-17  Dan Williams  <dcbw@redhat.com>
6719
6720         * libnm-util/nm-utils.h
6721           libnm-util/nm-utils.c
6722                 - (nm_utils_security_valid): common function to help find the intersection
6723                         of capabilities of devices and (optionally) access points
6724
6725 2007-10-17  Dan Williams  <dcbw@redhat.com>
6726
6727         * src/nm-device-802-11-wireless.c
6728                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6729                         don't get erroneously cleared
6730
6731 2007-10-17  Dan Williams  <dcbw@redhat.com>
6732
6733         * src/nm-manager.h
6734           src/nm-manager.c
6735           src/nm-hal-manager.c
6736                 - (device_removed, finalize, nm_manager_remove_device,
6737                    nm_manager_sleep): add a 'deactivate' argument to 
6738                    nm_manager_remove_device() to fully deactivate devices when necessary
6739                    (ie, always except when waking up)
6740
6741 2007-10-16  Dan Williams  <dcbw@redhat.com>
6742
6743         * libnm-util/nm-setting.c
6744                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6745                         also isn't valid phase2 autheap method
6746
6747 2007-10-16  Dan Williams  <dcbw@redhat.com>
6748
6749         * libnm-glib/nm-client.c
6750                 - (update_wireless_status): consolidate updates of wireless status
6751                 - (constructor): use update_wireless_status()
6752                 - (manager_running): set wireless status off when NM goes away; requery
6753                         the wireless status when NM comes back
6754
6755 2007-10-16  Dan Williams  <dcbw@redhat.com>
6756
6757         * libnm-glib/nm-client.c
6758                 - (nm_client_activate_device): actually use the fixed-up specific
6759                         object path
6760
6761 2007-10-16  Dan Williams  <dcbw@redhat.com>
6762
6763         * src/nm-hal-manager.c
6764                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6765                         killswitch error messages once
6766
6767 2007-10-16  Dan Williams  <dcbw@redhat.com>
6768
6769         * src/nm-manager.c
6770                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6771                         if it's disabled in hardware; don't touch network devices while
6772                         NM is asleep
6773
6774 2007-10-16  Dan Williams  <dcbw@redhat.com>
6775
6776         * libnm-util/nm-client.c
6777                 - (nm_client_activate_device): convert NULL specific_object to "/",
6778                         which is used in place of NULL
6779
6780         * src/nm-manager.c
6781                 - (impl_manager_activate_device): convert "/" specific_object back into
6782                         NULL
6783
6784 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6785
6786         Implement a generic NMSetting creator from setting name.
6787         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6788         add a virtual function 'populate_fn'.
6789
6790         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6791         (register_default_creators): Register setting creators instead of functions
6792         that create and then populate.
6793         (parse_one_setting): Use the common setting creator and then setting specific
6794         poplulation function.
6795
6796         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6797         they all looked exactly the same.
6798         Add a 'populate_fn' virtual function to NMSetting.
6799         Use default virtual functions in case they are not overriden.
6800         (nm_setting_populate_from_hash): Implement.
6801
6802         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6803         name, use a defined string.
6804         (real_act_stage4_get_ip4_config): Ditto.
6805
6806 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6807
6808         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6809         HAL is int, not uint.
6810
6811 2007-10-15  Tambet Ingo  <tambet@gmail.com>
6812
6813         Implement killswitch polling through HAL.
6814
6815         * src/nm-manager.c: Add wireless hardware status property. Add 
6816         'properties-changed' signal for changes in wireless and wireless hardware
6817         state changes.
6818
6819         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6820         and update NMManager's wireless hardware state when it has changed.
6821         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6822         already does that.
6823
6824         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6825         values of wireless state and wireless hardware state. Listen for the
6826         'properties-changed' signals, update the cached values and emit notify.
6827
6828         * include/NetworkManager.h: Fix a typo in a comment.
6829
6830 2007-10-14  Dan Williams  <dcbw@redhat.com>
6831
6832         * libnm-util/nm-setting.c
6833                 - (setting_wireless_security_need_secrets): handle LEAP secrets
6834
6835 2007-10-13  Dan Williams  <dcbw@redhat.com>
6836
6837         * libnm-util/nm-setting.h
6838           libnm-util/nm-setting.c
6839           src/supplicant-manager/nm-supplicant-config.c
6840                 - Make the 'proto' field of the 802-11-wireless-security field a
6841                         string list
6842
6843 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6844
6845         Rework the "properties-changed" signal listening implementation.
6846         Add a generic implementation to NMObject class that listens for
6847         the signal and calls property setters of the target NMObject.
6848
6849         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
6850
6851         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
6852         code to the end of file so that all the static functions are available
6853         without extra declarations.
6854         Remove the "properties-changed" signal handling and use the framework from
6855         NMObject.
6856         Implement property setters for properties that change with 
6857         "properties-changed" signal.
6858
6859         * libnm-glib/nm-access-point.c: Ditto.
6860
6861 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6862
6863         Rework the "properties-changed" signal implementation.
6864         In classes that need to use it, just emit "GObject::notify" and the new
6865         framework takes care of the rest to make the signal available on dbus.
6866         The framework queues the notifications and tries to send as many together
6867         in one signal as possible.
6868
6869         * src/nm-properties-changed-signal.c:
6870         * src/nm-properties-changed-signal.h: Implement.
6871
6872         * src/Makefile.am: Add new files to build.
6873
6874         * src/NetworkManagerAP.c: Use the general framework for properties-changed
6875         signal.
6876
6877         * src/nm-device-802-11-wireless.c: Ditto.
6878
6879 2007-10-10  Dan Williams  <dcbw@redhat.com>
6880
6881         * src/nm-manager.c
6882                 - (wait_for_connection_expired): ensure info is valid
6883                 - (connection_added_default_handler): Should only remove pending
6884                         connection info when the manager has the connection that it's
6885                         waiting for.  Fixes segfault in wait_for_connection_info().  
6886
6887 2007-10-10  Dan Williams  <dcbw@redhat.com>
6888
6889         * libnm-util/nm-setting.c
6890           libnm-util/nm-setting.h
6891                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
6892                         can use if they choose.  Should be filled in by the settings service
6893                         on-the-fly with the currently logged in user's username
6894
6895 2007-10-10  Dan Williams  <dcbw@redhat.com>
6896
6897         * src/nm-device-802-11-wireless.c
6898                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
6899                         as such, because even if the manager fills in the SSID, NM still
6900                         has to indicate to wpa_supplicant that the AP isn't broadcasting
6901                         its SSID
6902
6903 2007-10-10  Tambet Ingo  <tambet@gmail.com>
6904
6905         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
6906         code that used NM's own version of dbus signal handling and custom dictionary
6907         marshalling/unmarshalling. With this change, all that obsolete code can disappear
6908         and we get to maintain over 2000 lines less code.
6909
6910         * libnm-util/dbus-dict-helpers.c:
6911         * libnm-util/dbus-dict-helpers.h: Remove.
6912
6913         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
6914
6915         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
6916
6917         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
6918         handlers.
6919
6920         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
6921
6922         * configure.in: Remove test/libnm-util/Makefile creation.
6923
6924         * test/Makefile.am: Remove libnm-util from SUBDIRS.
6925
6926         * test/libnm-util/: Remove the whole directory.
6927
6928 2007-10-10  Tambet Ingo  <tambet@gmail.com>
6929
6930         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
6931         device_state_changed_idle_id variable or it would contain some random value and the
6932         schedule_change_check calls would not do anything.
6933
6934 2007-10-09  Dan Williams  <dcbw@redhat.com>
6935
6936         * src/nm-device-802-11-wireless.c
6937                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
6938                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
6939                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
6940                         merging of non-SSID-broadcasting APs
6941
6942 2007-10-09  Tambet Ingo  <tambet@gmail.com>
6943
6944         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
6945         "guint8 *" since it's usually used with GByteArray->data.
6946         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
6947
6948 2007-10-09  Tambet Ingo  <tambet@gmail.com>
6949
6950         * src/NetworkManagerUtils.c
6951         (nm_utils_is_empty_ssid):
6952         (nm_utils_escape_ssid):
6953         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
6954         lot of places, so they belong to libnm-utils instead.
6955
6956         Now with 100% less compiler warnings:
6957
6958         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
6959         (nm_dbus_unescape_object_path): Ditto.
6960         (nm_utils_ssid_to_utf8): Ditto.
6961         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
6962         (nm_utils_escape_ssid): Ditto.
6963         (nm_utils_same_ssid): Ditto.
6964
6965         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
6966         (add_one_connection_element): Remove an unused variable.
6967         (impl_manager_get_active_connections): Ditto.
6968
6969         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
6970         variable.
6971
6972         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
6973         from the previous commit.
6974
6975         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
6976         (real_act_stage1_prepare): Ditto.
6977         (activation_success_handler): Ditto.
6978         (get_property): Ditto.
6979
6980         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
6981         variable.
6982
6983         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
6984         it's always set.
6985
6986         * src/supplicant-manager/nm-supplicant-config.c 
6987         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
6988         to expected "char *".
6989         (nm_supplicant_config_add_setting_wireless): Ditto.
6990         (nm_supplicant_config_remove_option): Remove, not used.
6991
6992         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
6993         not double.
6994         (test_wireless_enabled): Ifdef out unused function.
6995         (device_deactivate): Ditto.
6996         (device_state_changed): Ditto.
6997         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
6998         (nm_utils_escape_ssid): Ditto.
6999
7000         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7001         (nm_utils_is_empty_ssid): Ditto.
7002
7003         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7004         unused variable.
7005
7006         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7007         (setting_vpn_properties_update_secrets): Ditto.
7008         (int_to_gvalue): Ifdef out for now, not used.
7009         (byte_to_gvalue): Ditto.
7010
7011         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7012         Unused, remove.
7013
7014 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7015
7016         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7017         about dbus manager, not named manager.
7018         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7019
7020         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7021         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7022         However, the same signal is emitted when we destroy it and there's 
7023         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7024
7025         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7026         releasing the DBusGConnection, since proxy needs a conneciton.
7027         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7028
7029 2007-10-08  Dan Williams  <dcbw@redhat.com>
7030
7031         * src/NetworkManager.c
7032                 - (main): error on unknown command-line options
7033
7034 2007-10-08  Dan Williams  <dcbw@redhat.com>
7035
7036         Reimplement the invalid connection list.  Don't try to re-activate a
7037         connection that just failed or was canceled.
7038
7039         * src/nm-device.c
7040                 - (connection_secrets_failed_cb): fail device activation, don't just
7041                         deactivate the device.  Listeners have to know about the failure.
7042
7043         * src/NetworkManagerPolicy.c
7044                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7045                         the connection list given to a device's get_best_connection()
7046                         method
7047                 - (device_state_changed): tag failed connections as invalid; clear the
7048                         tag from successful connections
7049
7050 2007-10-08  Dan Williams  <dcbw@redhat.com>
7051
7052         Fix problems with interrupted activation.  Previously, choosing an AP
7053         from the menu, then choosing another one before the first connection was
7054         successful wouldn't deactivate the device before starting the new connection
7055         on that same device.
7056
7057         * src/NetworkManagerPolicy.c
7058                 - (deactivate_old_device, device_state_changed, state_changed,
7059                    nm_policy_new): wrong place to deactivate old devices
7060
7061         * src/nm-manager.c
7062                 - (pending_connection_info_destroy, finalize,
7063                    wait_for_connection_expired): decouple destruction of the pending
7064                         connection info from the manager device
7065                 - (connection_added_default_handler): deactivate any active or
7066                         activating device before starting a new activation
7067                 - (impl_manager_activate_device): deactivate any active or activating
7068                         device before starting a new activation; be sure not to leak
7069                         pending connection info if a new activation request arrives but
7070                         there's already a pending one in-process
7071
7072 2007-10-08  Dan Williams  <dcbw@redhat.com>
7073
7074         * src/NetworkManagerAP.h
7075           src/NetworkManagerAP.c
7076                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7077                         should handle default SSIDs and whether or not to autoconnect
7078                         to them
7079
7080 2007-10-08  Dan Williams  <dcbw@redhat.com>
7081
7082         * src/NetworkManagerPolicy.c
7083                 - (nm_policy_device_change_check): print out connection name where
7084                         possible
7085
7086 2007-10-08  Dan Williams  <dcbw@redhat.com>
7087
7088         * src/nm-device-802-11-wireless.c
7089           src/nm-device-802-11-wireless.h
7090                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7091                         'hidden-ap-found' signal (for internal use only) that allows the
7092                         NMManager to fill in the AP's SSID if a connection has that AP's
7093                         BSSID in its seen-bssids list
7094
7095         * src/nm-manager.c
7096                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7097                         wireless device's hidden-ap-found signal and fill in the APs SSID
7098                         if possible
7099
7100 2007-10-07  Dan Williams  <dcbw@redhat.com>
7101
7102         * src/nm-manager.c
7103           src/nm-manager.h
7104                 - Add a 'connections-added' signal to batch together updates of large
7105                         numbers of connections, like when reading from a settings service
7106                         the first time.  Otherwise, the policy would just activate the first
7107                         suitable connection it saw rather than waiting for the full list
7108                         to arrive.
7109                 - (nm_manager_class_init): register new signal
7110                 - (get_type_for_proxy, connection_get_settings_cb,
7111                    get_connection_for_proxy): centralize places where a proxy's setting
7112                         service is determined
7113                 - (free_get_settings_info): if the call being freed is the last call
7114                         in a pending call group, fire off the connections-added signal
7115                 - (internal_new_connection_cb): add call to a pending call group if
7116                         requested
7117                 - (list_connections_cb): always create a call group here, because this
7118                         call results in a batch of new connections
7119                 - (initial_get_connections): start getting system connections first
7120                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7121                         removed signal when destroying connections
7122
7123         * src/NetworkManagerPolicy.c
7124                 - (nm_policy_new, connections_added): handle connections-added signal
7125                         from the manager
7126
7127 2007-10-06  Dan Williams  <dcbw@redhat.com>
7128
7129         * src/nm-device-802-11-wireless.c
7130                 - (constructor): fix leaked socket
7131
7132 2007-10-06  Dan Williams  <dcbw@redhat.com>
7133
7134         * src/NetworkManagerPolicy.c
7135                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7136                         connection in the list returned by nm_manager_get_connections() is
7137                         reffed, but they weren't getting unreffed before returning
7138
7139 2007-10-06  Dan Williams  <dcbw@redhat.com>
7140
7141         * src/nm-manager.c
7142                 - (connections_to_slist): sort connections first on autoconnect, then
7143                         on timestamp
7144
7145 2007-10-06  Dan Williams  <dcbw@redhat.com>
7146
7147         * libnm-util/nm-connection.c
7148                 - (gvalue_to_string): handle UINT64
7149
7150 2007-10-06  Dan Williams  <dcbw@redhat.com>
7151
7152         * src/NetworkManagerPolicy.c
7153                 - (connection_updated, nm_policy_new): recheck state when a connection
7154                         gets updated
7155
7156 2007-10-06  Dan Williams  <dcbw@redhat.com>
7157
7158         * src/nm-manager.c
7159           src/nm-manager.h
7160                 - (nm_manager_get_connection_dbus_path): make static
7161                 - (nm_manager_update_connections): remove; unused
7162                 - Add a connection-updated signal
7163                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7164                         handle connection object updates
7165
7166 2007-10-06  Dan Williams  <dcbw@redhat.com>
7167
7168         * src/NetworkManagerPolicy.c
7169                 - (connection_removed): deactivate removed connections
7170
7171 2007-10-06  Dan Williams  <dcbw@redhat.com>
7172
7173         * libnm-util/nm-connection.c
7174           libnm-util/nm-connection.h
7175                 - (nm_connection_replace_settings): new function
7176
7177 2007-10-06  Dan Williams  <dcbw@redhat.com>
7178
7179         * libnm-glib/nm-device-802-11-wireless.c
7180                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7181                         on error when getting the active access point over D-Bus from NM
7182
7183 2007-10-05  Dan Williams  <dcbw@redhat.com>
7184
7185         * libnm-util/nm-setting.c
7186                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7187                         to the NMSettingWireless table; it's now a string array not an array
7188                         of byte arrays
7189
7190 2007-10-05  Dan Williams  <dcbw@redhat.com>
7191
7192         * libnm-glib/nm-device-802-11-wireless.c
7193                 - Cache properties and update cached properties on D-Bus signals from NM
7194
7195 2007-10-05  Dan Williams  <dcbw@redhat.com>
7196
7197         * src/nm-device-802-11-wireless.c
7198                 - (set_current_ap): consolidate current_ap handling code into one place
7199                         to ensure that PropertiesChanged signals are emitted in all cases
7200                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7201                    nm_device_802_11_wireless_dispose): use set_current_ap()
7202
7203 2007-10-05  Dan Williams  <dcbw@redhat.com>
7204
7205         * libnm-glib/nm-access-point.c
7206           libnm-glib/nm-access-point.h
7207                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7208                         because the value is cached internally now.  Callers should not
7209                         free the internal value.
7210                 - Make signal name defines private
7211
7212         * test/nm-tool.c
7213           libnm-glib/libnm-glib-test.c
7214                 - Don't free value returned from nm_access_point_get_hw_address()
7215
7216 2007-10-04  Dan Williams  <dcbw@redhat.com>
7217
7218         * introspection/nm-device-802-11-wireless.xml
7219           src/nm-device-802-11-wireless.h
7220           src/nm-device-802-11-wireless.c
7221                 - Add a PropertiesChanged signal for wireless device
7222                 - Store currently associated access point
7223                 - (periodic_update): generalize; update rate here too and emit the
7224                         correct PropertiesChanged signal when stuff changes
7225                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7226                    real_activation_cancel_handler): clear current_ap when device is
7227                         deactivated
7228                 - (link_to_specific_ap, get_ap_blacklisted,
7229                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7230                         code
7231                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7232                         outside this file
7233                 - (real_set_hw_address): emit property changed signal if the card's
7234                         MAC address changes
7235                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7236                         the card is supposed to be connecting to
7237                 - (activation_success_handler): send out property updates on successful
7238                         activation
7239                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7240                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7241                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7242                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7243                         is now boxed; add PropertiesChanged signal
7244
7245 2007-10-04  Dan Williams  <dcbw@redhat.com>
7246
7247         * libnm-util/nm-connection.c
7248           libnm-util/nm-connection.h
7249                 - (nm_connection_verify): new function
7250
7251 2007-10-04  Dan Williams  <dcbw@redhat.com>
7252
7253         * libnm-util/nm-setting.c
7254                 - (nm_settings_verify): use #defines when possible rather than strings
7255                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7256                 - (setting_vpn_verify): tighter validity check on 'service_type'
7257
7258 2007-10-04  Dan Williams  <dcbw@redhat.com>
7259
7260         * libnm-glib/nm-settings.c
7261                 - (nm_connection_settings_class_init): provide correct type for argument
7262                         to the Updated signal so that dbus-glib knows how to marshal it
7263
7264 2007-10-03  Dan Williams  <dcbw@redhat.com>
7265
7266         * src/nm-device-802-3-ethernet.c
7267                 - (real_get_best_connection): don't create automatic connections
7268                         internally; clients should provide a setting that applies to
7269                         the device with 'autoconnect: True'.  Problem was that these
7270                         internally auto-created connections don't have a proxy or service
7271                         name becuase they weren't created by a settings daemon, and therefore
7272                         clients have no idea what to do with them.
7273
7274 2007-10-03  Dan Williams  <dcbw@redhat.com>
7275
7276         * src/nm-device-802-11-wireless.c
7277           src/nm-device-802-11-wireless.h
7278           introspection/nm-device-802-11-wireless.xml
7279                 - GetActiveNetworks -> GetAccessPoints
7280                 - ActiveNetwork -> ActiveAccessPoint
7281                 - NetworkAdded -> AccessPointAdded
7282                 - NetowrkRemoved -> AccessPointRemoved
7283
7284         * libnm-glib/nm-device-802-11-wireless.c
7285           libnm-glib/nm-device-802-11-wireless.h
7286                 - network-added signal -> access-point-added
7287                 - network-removed signal -> access-point-removed
7288                 - nm_device_802_11_wireless_get_active_network() ->
7289                         nm_device_802_11_wireless_get_active_access_point()
7290                 - nm_device_802_11_wireless_get_network_by_path() ->
7291                         nm_device_802_11_wireless_get_access_point_by_path()
7292                 - nm_device_802_11_wireless_get_networks() ->
7293                         nm_device_802_11_wireless_get_access_points()
7294
7295         * libnm-glib/libnm-glib-test.c
7296           test/nm-tool.c
7297           src/NetworkManagerPolicy.c
7298                 - Fixups for Network -> AccessPoint
7299
7300 2007-10-03  Dan Williams  <dcbw@redhat.com>
7301
7302         Add a GetActiveConnections() method on the Manager object.
7303
7304         * src/nm-manager.c
7305           src/nm-manager.h
7306           introspection/nm-manager.xml
7307                 - (connection_get_settings_cb): keep connection type around too
7308                 - (impl_manager_get_active_connections, add_one_connection_element):
7309                         implement; returns all active connections and what devices they
7310                         apply to
7311
7312         * libnm-glib/nm-client.c
7313           libnm-glib/nm-client.h
7314           introspection/nm-manager-client.xml
7315                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7316                         by the caller; free here to avoid memory leak
7317                 - (nm_client_get_active_connections): implement; return the list of
7318                         active connections
7319                 - (nm_client_free_active_connection_element): implement; free an element
7320                         of the GSList returned by nm_client_get_active_connections()
7321
7322 2007-10-03  Dan Williams  <dcbw@redhat.com>
7323
7324         * src/nm-device-802-11-wireless.c
7325                 - (nm_device_802_11_wireless_update_bssid): remove
7326                 - (get_active_ap): new function; find the AP in the scan list which
7327                         matches the current BSSID and SSID of the wireless device
7328                 - (nm_device_802_11_periodic_update): get current AP using
7329                         get_active_ap() and print AP roam messages
7330
7331 2007-10-01  Dan Williams  <dcbw@redhat.com>
7332
7333         * libnm-util/nm-setting.h
7334                 - Add a 'timestamp' option to NMSettingConnection
7335                 - Add a UINT64 type
7336
7337         * libnm-util/nm-setting.c
7338                 - (uint64_to_gvalue): new function
7339                 - (nm_setting_populate_from_hash, nm_setting_hash,
7340                    default_setting_clear_secrets): handle UINT64 type
7341                 - con_table: add 'timestamp' member
7342
7343 2007-10-01  Dan Williams  <dcbw@redhat.com>
7344
7345         * src/nm-manager.c
7346                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7347                         value when the connection can be activated immediately
7348
7349 2007-10-01  Dan Williams  <dcbw@redhat.com>
7350
7351         * libnm-glib/nm-device.c
7352                 - (nm_device_class_init): actually tell glib about the carrier-changed
7353                         signal
7354
7355 2007-10-01  Dan Williams  <dcbw@redhat.com>
7356
7357         * configure.in
7358           src/marshallers/Makefile.am
7359           src/marshallers/nm-marshal.list
7360           src/marshallers/nm-marshal-main.c
7361                 - Consolidate glib marshallers into one place
7362
7363         * src/dhcp-manager/Makefile.am
7364           src/dhcp-manager/nm-dhcp-manager.c
7365           src/supplicant-manager/Makefile.am
7366           src/supplicant-manager/nm-supplicant-manager.c
7367           src/supplicant-manager/nm-supplicant-interface.c
7368           src/ppp-manager/Makefile.am
7369           src/ppp-manager/nm-ppp-manager.c
7370           src/vpn-manager/Makefile.am
7371           src/vpn-manager/nm-vpn-connection.c
7372           src/Makefile.am
7373                 - Use consolidated marshallers
7374
7375         * src/dhcp-manager/nm-dhcp-marshal.list
7376           src/dhcp-manager/nm-dhcp-marshal-main.c
7377           src/supplicant-manager/nm-supplicant-marshal-main.c
7378           src/supplicant-manager/nm-supplicant-marshal.list
7379           src/nm-marshal-main.c
7380           src/nm-marshal.list
7381           src/ppp-manager/nm-ppp-marshal-main.c
7382           src/ppp-manager/nm-ppp-marshal.list
7383           src/vpn-manager/nm-vpn-marshal-main.c
7384           src/vpn-manager/nm-vpn-marshal.list
7385                 - Remove
7386
7387 2007-10-01  Dan Williams  <dcbw@redhat.com>
7388
7389         * include/NetworkManagerVPN.h
7390                 - define VPN connection state change reason codes
7391
7392         * src/vpn-manager/Makefile.am
7393           src/vpn-manager/nm-vpn-marshal.list
7394           src/vpn-manager/nm-vpn-marshal-main.c
7395                 - Add marshallers for StateChanged signal
7396
7397         * introspection/nm-vpn-connection.xml
7398                 - New Banner property
7399                 - StateChanged signal now includes a 'reason' argument
7400
7401         * src/vpn-manager/nm-vpn-connection.c
7402           src/vpn-manager/nm-vpn-connection.h
7403                 - Add a "Banner" property that contains the returned VPN server login
7404                         banner (if any); valid only in the ACTIVATED state
7405                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7406                         a 'reason' argument and emits that reason along with the
7407                         state-changed signal
7408                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7409                 - (nm_vpn_connection_ip4_config_get): save banner for later
7410                 - (nm_vpn_connection_get_banner, get_property,
7411                    nm_vpn_connection_class_init): implement Banner property
7412
7413         * src/vpn-manager/nm-vpn-service.c
7414                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7415                         connection list because elements may get added/removed from it
7416                         while iterating over the list
7417                 - (connection_state_changed): signal now includes the 'reason' argument
7418
7419         * libnm-glib/nm-vpn-connection.c
7420           libnm-glib/nm-vpn-connection.h
7421                 - (nm_vpn_connection_get_banner): new function
7422                 - (state_changed_proxy): handle reason argument
7423
7424 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7425
7426         * src/nm-manager.c:
7427         * src/nm-manager.h:
7428         Implement device activation through NMManager.
7429         Implement "pending device activation" here - If the connection isn't found,
7430         we try to wait for up to 5 seconds for the connection to be provided.
7431         Add NMConnectionType argument to "connection-added" and "connection-removed"
7432         signals.
7433         (nm_manager_get): Remove. Finally.
7434
7435         * src/nm-activation-request.c: 
7436         * src/nm-activation-request.h: 
7437         Remove all the deferred activation code.
7438
7439         * src/nm-device.c: Remove all the deferred activation code. Once the device
7440         activation is started, it's started. Update the activation virtual function
7441         signature.
7442
7443         * src/nm-device-interface.c:
7444         * src/nm-device-interface.h:
7445         Device activation now takes only NMActRequest argument.
7446         Don't expose device activation directly on dbus, it's supposed to go through
7447         NMManager now.
7448
7449         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7450         a bit more compact.
7451         Use the new device activation methods through NMManager.
7452
7453         * introspection/nm-manager-client.xml: 
7454         * introspection/nm-manager.xml: 
7455         * libnm-glib/nm-client.c:
7456         * libnm-glib/nm-client.h:
7457         Add device activation method.
7458         
7459         * libnm-glib/nm-device.c: 
7460         * libnm-glib/nm-device.h: 
7461         * introspection/nm-device.xml: 
7462         Remove device activation method. It's done through NMManager now.
7463
7464         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7465         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7466
7467 2007-09-28  Dan Williams  <dcbw@redhat.com>
7468
7469         * libnm-glib/nm-vpn-connection.c
7470                 - (nm_vpn_connection_get_state): try to update state if the current
7471                         state is UNKNOWN
7472
7473 2007-09-27  Dan Williams  <dcbw@redhat.com>
7474
7475         Patch from Bill Nottingham
7476
7477         * src/supplicant-manager/nm-supplicant-config.c
7478                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7479                         data to the supplicant
7480
7481 2007-09-27  Dan Williams  <dcbw@redhat.com>
7482
7483         * src/NetworkManagerSystem.c
7484                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7485                         and all address manipulation here should be happening on the
7486                         _VPN_ device, not the active device
7487
7488 2007-09-26  Dan Williams  <dcbw@redhat.com>
7489
7490         * src/nm-manager.c
7491           src/nm-manager.h
7492           src/nm-activation-request.c
7493           src/nm-activation-request.h
7494                 - Move the GetSecrets stuff out of the NMManager instance because it
7495                         doesn't really need to be there and complicates things
7496
7497         * src/nm-device.c
7498                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7499                         connection-secrets-failed signal and deactivate the device if
7500                         the GetSecrets call fails
7501
7502         * src/nm-device-802-11-wireless.c
7503                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7504                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7505                         secrets and give correct hints about whether new secrets should be
7506                         asked for by the client or not
7507
7508 2007-09-26  Dan Williams  <dcbw@redhat.com>
7509
7510         * src/vpn-manager/nm-vpn-connection.c
7511                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7512                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7513                         to the secrets-updated signal of the NMConnection since updating
7514                         the secrets is done within the scope of the NMVPNConnection object
7515                         already
7516                 - (get_connection_secrets): fix an uninialized variable usage error
7517
7518 2007-09-26  Dan Williams  <dcbw@redhat.com>
7519
7520         * libnm-util/nm-setting.c
7521                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7522                         actually get updated when the user enters them
7523
7524 2007-09-26  Dan Williams  <dcbw@redhat.com>
7525
7526         * libnm-glib/nm-vpn-plugin.c
7527                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7528
7529 2007-09-26  Dan Williams  <dcbw@redhat.com>
7530
7531         * include/NetworkManagerVPN.h
7532                 - Add a NEED_AUTH state
7533
7534         * src/vpn-manager/nm-vpn-connection.c
7535                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7536                         the connection needs secrets, and if so, then ask the settings
7537                         service to fill in the secrets.  Then start the connection.
7538
7539 2007-09-26  Dan Williams  <dcbw@redhat.com>
7540
7541         * src/vpn-manager/nm-vpn-manager.c
7542                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7543
7544 2007-09-26  Dan Williams  <dcbw@redhat.com>
7545
7546         * introspection/nm-vpn-plugin.xml
7547           libnm-glib/nm-vpn-plugin.c
7548           libnm-glib/nm-vpn-plugin.h
7549                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7550                         the name of the NMSetting in an NMConnection that may require
7551                         secrets specific to that VPN plugin
7552
7553 2007-09-26  Dan Williams  <dcbw@redhat.com>
7554
7555         * src/nm-manager.c
7556           src/nm-manager.h
7557                 - (nm_manager_get_connection_secrets): make static, unused outside
7558                         the file
7559                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7560
7561 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7562
7563         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7564         method.
7565         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7566         unreference the connection.
7567
7568         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7569         passing properties hash and routes string list, pass NMConnection (in hashed form).
7570
7571         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7572         as GSList, no need to copy stuff around anymore.
7573         (nm_vpn_connection_activate): Update the plugin activation method.
7574
7575         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7576         routes argument to GSList.
7577
7578 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7579
7580         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7581         state and try to get the secrets.
7582
7583         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7584         connections from NMManager and let the device to choose the best from the list.
7585         Since the connection list is sorted by system ones first and user ones later,
7586         the devices still prefer system connections like they did before.
7587         (deactivate_old_device): Implement. When a device starts activation, we have a
7588         policy (for now at least) to deactivate any other device that might be either
7589         active or still activating.
7590
7591         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7592         It's set on construction, there will be no other way to access it.
7593
7594         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7595         device events and drive the device, not the other way around.
7596
7597         * src/nm-device-802-3-ethernet.c: Ditto.
7598
7599         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7600         sent along, pass it on to virtual functions.
7601
7602         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7603         for now, but should really be public instead of nm_device_get_iface() since iface
7604         is a property of the DeviceInterface, not Device.
7605         (impl_device_activate): Don't touch NMManager!
7606
7607 2007-09-26  Jürg Billeter  <j@bitron.ch>
7608
7609         * initscript/paldo/NetworkManager.in:
7610         * initscript/paldo/NetworkManagerDispatcher.in:
7611         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7612         (nm_system_flush_loopback_routes): update paldo backend
7613
7614 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7615
7616         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7617         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7618         which means none of the devices get brought down properly, which in turn leaves
7619         DHCP client running.
7620
7621         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7622         (supplicant_connection_timeout_cb): Ditto.
7623
7624 2007-09-25  Dan Williams  <dcbw@redhat.com>
7625
7626         * src/nm-device.c
7627                 - (device_activation_go): small hack to work around race when
7628                         activating deferred connections; should solve this in a better way
7629
7630 2007-09-25  Dan Williams  <dcbw@redhat.com>
7631
7632         * introspection/nm-device.xml
7633           libnm-glib/nm-device.c
7634           libnm-glib/nm-device.h
7635                 - Add 'Carrier' property to exported NMDevice objects
7636
7637         * src/nm-device-interface.h
7638           src/nm-device-interface.c
7639           src/nm-device.c
7640                 - Add a 'carrier' property to internal NMDevice objects
7641
7642 2007-09-25  Dan Williams  <dcbw@redhat.com>
7643
7644         * src/nm-device-802-11-wireless.c
7645                 - (ap_auth_enforced): also return the encryption status of the AP so
7646                         that callers can differentiate easily between unencrypted APs
7647                         and encrypted ones, in addition to whether the AP has an
7648                         authenticator
7649                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7650                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7651                         previously would request secrets from unencrypted APs at times
7652
7653 2007-09-25  Dan Williams  <dcbw@redhat.com>
7654
7655         * src/nm-manager.c
7656                 - (nm_manager_update_state): new function; updates state and emits
7657                         appropriate signals ensuring a state-change signal for the same state
7658                         never gets emitted twice in a row.
7659                 - (manager_device_state_changed): handle more device state to get a
7660                         better picture of the overall NM state
7661
7662 2007-09-25  Dan Williams  <dcbw@redhat.com>
7663
7664         * libnm-glib/nm-settings.c
7665           libnm-glib/nm-settings.h
7666                 - (new_error -> nm_settings_new_error): make public so that subclasses
7667                         can use the same error domain.  Also pass a valid error code to
7668                         g_error_new_literal() so that libdbus doesn't assert when converting
7669                         the GError into a DBusError
7670                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7671                    impl_connection_settings_get_settings,
7672                    impl_connection_settings_get_secrets): use new error creator
7673                         function
7674
7675 2007-09-25  Dan Williams  <dcbw@redhat.com>
7676
7677         * src/NetworkManager.c
7678                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7679
7680 2007-09-25  Dan Williams  <dcbw@redhat.com>
7681
7682         * src/supplicant-manager/nm-supplicant-manager.c
7683                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7684                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7685                    nm_supplicant_manager_startup): when the supplicant isn't running,
7686                         try to start it periodically via system bus activation.  Fixes
7687                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7688                         for the supplicant to come back
7689
7690 2007-09-25  Dan Williams  <dcbw@redhat.com>
7691
7692         Ensure that old activation requests are forgotten about; previously
7693         hitting Cancel in the password dialog would deactivate whatever device
7694         that password was requested for, even if that wasn't the currently
7695         activating connection.
7696
7697         * src/nm-manager.c
7698           src/nm-manager.h
7699                 - (nm_manager_get_connection_secrets): track the pending call
7700                         object so it can be canceled later if needed
7701                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7702                         GetSecrets call for a particular connection
7703
7704         * src/nm-activation-request.c
7705                 - (dispose): cancel any outstanding GetSecrets calls on the
7706                         connection
7707
7708 2007-09-25  Dan Williams  <dcbw@redhat.com>
7709
7710         * src/NetworkManagerPolicy.c
7711                 - (nm_policy_device_change_check): handle devices that have a
7712                         deferred activation.  These devices are not really active _yet_,
7713                         but need to be treated as such here.  Don't interrupt them
7714                         automatically.
7715
7716         * src/nm-device-interface.c
7717                 - (impl_device_activate): handle devices that have a deferred activation
7718                         like activating or active devices.  When multiple active devices
7719                         get committed, the device shouldn't be deactivated until the
7720                         connection details are available to avoid DoS and such.  Currently,
7721                         any active, activating, or deferred activation device is deactivated
7722                         here before starting the new activation request.
7723
7724 2007-09-25  Dan Williams  <dcbw@redhat.com>
7725
7726         Properly re-query secrets from the settings daemon when stuff fails.
7727
7728         * src/nm-device-802-11-wireless.c
7729                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7730                         between Shared Key and Open System auth modes
7731                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7732                    real_act_stage4_ip_config_timeout): clear existing secrets and
7733                         request new ones when something fails due to a suspected wrong key
7734                 - (real_act_stage2_config): fix for new request_new argument to
7735                         nm_manager_get_connection_secrets()
7736
7737         * src/nm-manager.c
7738           src/nm-manager.h
7739                 - (nm_manager_get_connection_secrets): return error status; pass
7740                         new request_new argument on to the settings daemon
7741
7742         * introspection/nm-settings-connection.xml
7743                 - New 'request_new' argument to the GetSecrets call that hints to the
7744                         settings daemon to ask the user for completely new secrets
7745
7746         * libnm-glib/nm-settings.c
7747           libnm-glib/nm-settings.h
7748                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7749                         argument
7750
7751 2007-09-25  Dan Williams  <dcbw@redhat.com>
7752
7753         * libnm-util/nm-connection.c
7754           libnm-util/nm-connection.h
7755                 - (nm_connection_clear_secrets): new function; clear secrets out of
7756                         each NMSetting in an NMConnection
7757
7758         * libnm-util/nm-setting.h
7759           libnm-util/nm-setting.c
7760                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7761                         secrets out of an NMSetting
7762                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7763                    nm_setting_wired_new, nm_setting_wireless_new,
7764                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7765                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7766                         to default handler default_setting_clear_secrets()
7767
7768 2007-09-25  Dan Williams  <dcbw@redhat.com>
7769
7770         * src/nm-activation-request.c
7771           src/nm-activation-request.h
7772                 - (nm_act_request_is_deferred): new function
7773
7774 2007-09-24  Dan Williams  <dcbw@redhat.com>
7775
7776         * src/nm-device-802-11-wireless.c
7777                 - (activation_success_handler): update signal strength immediately
7778                         after activation
7779
7780 2007-09-24  Dan Williams  <dcbw@redhat.com>
7781
7782         * libnm-util/nm-setting.c
7783                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7784
7785 2007-09-24  Dan Williams  <dcbw@redhat.com>
7786
7787         * src/NetworkManagerPolicy.c
7788                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7789                         device by deactivating it because it doesn't have a "best connection".
7790                         Since autoconnect=False connections aren't automatically chosen,
7791                         NM would interrupt activation of such a connection because it
7792                         would never be "best" due to autoconnect=False.
7793
7794 2007-09-24  Dan Williams  <dcbw@redhat.com>
7795
7796         * src/nm-manager.c
7797                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7798                         actually has some time to enter a key before the GetSecrets call
7799                         times out
7800
7801 2007-09-24  Dan Williams  <dcbw@redhat.com>
7802
7803         * introspection/nm-manager.xml
7804           src/nm-manager.c
7805                 - (impl_manager_legacy_state): fix 'state' method call return value
7806
7807 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
7808
7809         * test/Makefile.am: Install nm-tool
7810
7811 2007-09-24  Dan Williams  <dcbw@redhat.com>
7812
7813         Patch from Ross Burton <ross@burtonini.com>
7814
7815         * test/nm-tool.c
7816           callouts/nm-dhcp-client-action.c
7817           src/nm-netlink.c
7818           src/vpn-manager/nm-vpn-connection.c
7819           libnm-glib/libnm-glib-test.c
7820                 - warning fixes
7821
7822 2007-09-24  Dan Williams  <dcbw@redhat.com>
7823
7824         * libnm-util/nm-utils.h
7825           libnm-util/nm-utils.c
7826                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7827                         remove, unused
7828
7829 2007-09-23  Dan Williams  <dcbw@redhat.com>
7830
7831         * vpn-daemons/vpnc/properties/nm-vpnc.c
7832                 - Update for new VPN properties API bits; instead of passing around
7833                         a lot of random things, everything goes into the NMConnection
7834                         object.
7835
7836 2007-09-23  Dan Williams  <dcbw@redhat.com>
7837
7838         * libnm-util/nm-setting.c
7839                 - Correctly dispose of settings objects if creating them from a hash
7840                         table fails
7841
7842 2007-09-23  Dan Williams  <dcbw@redhat.com>
7843
7844         * libnm-util/nm-setting.c
7845                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
7846                         the hash table in a standard manner.  Clients of libnm-util should
7847                         only call g_hash_table_remove_all(), never destroy the hash table
7848                         and recreate it.
7849
7850 2007-09-22  Dan Williams  <dcbw@redhat.com>
7851
7852         * src/nm-device-802-11-wireless.c
7853                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
7854                         real reason to do it so often, and reduces wakeups for clients.
7855
7856 2007-09-21  Dan Williams  <dcbw@redhat.com>
7857
7858         * src/nm-device-802-11-wireless.c
7859                 - (build_supplicant_config): wpa_supplicant requires the option
7860                         key_mgmt=NONE for unencrypted networks
7861                 - (real_act_stage2_config): clarify log message on activation
7862
7863 2007-09-21  Dan Williams  <dcbw@redhat.com>
7864
7865         * test/nm-supplicant-test.c
7866           test/Makefile.am
7867                 - Remove supplicant test binary; no longer applicable
7868
7869 2007-09-21  Dan Williams  <dcbw@redhat.com>
7870
7871         * src/supplicant-manager/nm-supplicant-manager.c
7872                 - (nm_supplicant_manager_init): poke the supplicant at startup to
7873                         activate it on the system bus
7874
7875 2007-09-20  Dan Williams  <dcbw@redhat.com>
7876
7877         * initscript/RedHat/NetworkManager.in
7878                 - dhcdbd is no longer used, so don't try to start it from the initscripts
7879
7880 2007-09-20  Dan Williams  <dcbw@redhat.com>
7881
7882         * src/nm-device.c
7883                 - (nm_device_is_activating): work around a race between auto-activation
7884                         and the user activating the same device that is being auto-activated
7885
7886 2007-09-20  Dan Williams  <dcbw@redhat.com>
7887
7888         * src/nm-device-interface.c
7889                 - (impl_device_activate): until multiple active device support lands,
7890                         ensure only one device can be active at a time
7891
7892 2007-09-20  Dan Williams  <dcbw@redhat.com>
7893
7894         * src/supplicant-manager/nm-supplicant-config.c
7895           src/supplicant-manager/nm-supplicant-config.h
7896                 - (nm_supplicant_config_add_option): hide secrets from system logs
7897
7898 2007-09-20  Dan Williams  <dcbw@redhat.com>
7899
7900         * src/NetworkManagerPolicy.c
7901                 - (nm_policy_device_change_check): re-enable the wireless device change
7902                         checking code; insted of checking for SSIDs, check for the same
7903                         connection instead
7904
7905 2007-09-20  Dan Williams  <dcbw@redhat.com>
7906
7907         * src/nm-device-802-11-wireless.c
7908                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
7909                         composite link state when determining when to start the disconnection
7910                         timer; that link state is already based on the supplicant interface's
7911                         status which is exactly what's already being examined, plus the link
7912                         state is a conglomeration of various things that we don't want here
7913
7914 2007-09-20  Dan Williams  <dcbw@redhat.com>
7915
7916         * libnm-glib/nm-access-point.c
7917                 - (handle_property_changed): strength is a UCHAR
7918
7919 2007-09-20  Dan Williams  <dcbw@redhat.com>
7920
7921         * src/supplicant-manager/nm-supplicant-config.c
7922                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
7923                         string list keywords too since that's what wpa_supplicant wants
7924
7925 2007-09-20  Dan Williams  <dcbw@redhat.com>
7926
7927         * libnm-util/nm-setting.c
7928                 - (convert_strv_to_slist): dupe the values in the list because since
7929                         the list is a boxed value, it'll get destroyed when it's container
7930                         (like a hash table or whatever) gets destroyed
7931
7932 2007-09-20  Tambet Ingo  <tambet@gmail.com>
7933
7934         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
7935         GSList.
7936
7937         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
7938
7939         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
7940         just use (g_object_set_data_full).
7941
7942         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
7943         that NMSettingVPN->routes is a GSList, convert it to char **.
7944         (nm_vpn_connection_ip4_config_get): Free routes when done.
7945         (nm_vpn_connection_activate): Ditto.
7946
7947         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
7948         (real_act_stage2_config): Use defined setting names.
7949
7950 2007-09-20  Dan Williams  <dcbw@redhat.com>
7951
7952         * src/nm-device-802-11-wireless.c
7953           src/nm-manager.c
7954           src/nm-manager.h
7955                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
7956                         so that the device can be deactivated if secrets are wrong
7957
7958 2007-09-20  Dan Williams  <dcbw@redhat.com>
7959
7960         * introspection/nm-settings-connection.xml
7961           libnm-glib/nm-settings.c
7962           libnm-glib/nm-settings.h
7963                 - Make GetSecrets asynchronous on the server side
7964
7965 2007-09-20  Dan Williams  <dcbw@redhat.com>
7966
7967         * src/nm-manager.h
7968           src/nm-device.c
7969                 - (nm_device_activate): actually check if a given connection
7970                         exists before assuming it doesn't
7971
7972 2007-09-20  Tambet Ingo  <tambet@gmail.com>
7973
7974         * libnm-util/nm-connection.c (register_default_creators): Use defined
7975         setting names. Register NMSettingVPN and NMSettingVPNProperties.
7976
7977         * libnm-util/nm-setting.c: Define property name strings, use them.
7978         Implement NMSettingVPN and NMSettingVPNProperties settings.
7979         Implement NM_S_TYPE_GVALUE_HASH.
7980         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
7981         (setting_connection_verify): Rename 'devtype' property to 'type'.
7982
7983         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
7984         properties.
7985
7986         * src/vpn-manager/nm-vpn-service.c: Ditto.
7987
7988         * src/vpn-manager/nm-vpn-connection.c: Ditto.
7989
7990         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
7991         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
7992
7993         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
7994         names. NMSettingConnection->devtype got renamed to 'type'.
7995
7996         * src/nm-device-802-3-ethernet.c (find_best_connection):
7997         (real_get_best_connection): Ditto.
7998
7999         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8000
8001         * libnm-glib/nm-vpn-manager.[ch]: Update.
8002
8003 2007-09-19  Dan Williams  <dcbw@redhat.com>
8004
8005         * src/NetworkManagerAP.c
8006           src/NetworkManagerAP.h
8007           introspection/nm-access-point.xml
8008                 - Change strength-changed signal into a properties-changed signal
8009                         for all properties, not just strength.  Export that signal over dbus
8010                         so listeners don't have to poll NM for changes.
8011                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8012                         get exported over D-Bus, so break up the logic and let other bits
8013                         decided when to export the AP
8014                 - (nm_ap_new_from_ap): remove, unused
8015
8016         * src/nm-device-802-11-wireless.c
8017                 - (merge_scanned_ap): only export APs that are actually on the device
8018                         list, not every AP created internally
8019
8020         * libnm-glib/nm-access-point.c
8021           libnm-glib/nm-access-point.h
8022                 - Cache properties internally and only hit DBus when needed.  Get
8023                         property updates from NM signals
8024
8025 2007-09-16  Dan Williams  <dcbw@redhat.com>
8026
8027         * libnm-util/nm-connection.c
8028           libnm-util/nm-connection.h
8029                 - (nm_connection_for_each_setting_value): new function; iterate over
8030                         each setting's value and call a user-provided function with details
8031                         about that value
8032
8033         * libnm-util/nm-setting.c
8034           libnm-util/nm-setting.h
8035                 - (nm_setting_enumerate_values): new function; enumerate the values
8036                         of a specific NMSetting subclass for a user-provided function with
8037                         details about that value
8038                 - Change wep_tx_keyidx to a uint32
8039                 - Create settings value tables for each setting defining their type,
8040                         key name, offset into the NMSetting subclass' structure, and whether
8041                         they are required and/or a secret
8042                 - (nm_setting_populate_from_hash): generic function to populate an
8043                         NMSetting from a GHash table, make all settings use it
8044                 - (nm_setting_hash): generic function to derive a GHashTable from
8045                         an NMSetting object, make all settings use it
8046
8047 2007-09-14  Dan Williams  <dcbw@redhat.com>
8048
8049         Remove unused stuff in libnm-util
8050
8051         * configure.in
8052           libnm-util/Makefile.am
8053           libnm-util/cipher-private.h
8054           libnm-util/cipher-wep-ascii.c
8055           libnm-util/cipher-wep-ascii.h
8056           libnm-util/cipher-wep-hex.c
8057           libnm-util/cipher-wep-hex.h
8058           libnm-util/cipher-wep-passphrase.c
8059           libnm-util/cipher-wep-passphrase.h
8060           libnm-util/cipher-wpa-psk-hex.c
8061           libnm-util/cipher-wpa-psk-hex.h
8062           libnm-util/cipher-wpa-psk-passphrase.c
8063           libnm-util/cipher-wpa-psk-passphrase.h
8064           libnm-util/cipher.c
8065           libnm-util/cipher.h
8066           libnm-util/dbus-helpers.c
8067           libnm-util/dbus-helpers.h
8068           libnm-util/gnome-keyring-md5.c
8069           libnm-util/gnome-keyring-md5.h
8070           libnm-util/sha1.c
8071           libnm-util/sha1.h
8072           src/nm-device-802-11-wireless.c
8073           test/libnm-util/Makefile.am
8074           test/libnm-util/test-ciphers.c
8075           test/libnm-util/test-dbus-helpers.c
8076           test/libnm-util/test-inputs.h
8077                 - Removed
8078
8079 2007-09-14  Dan Williams  <dcbw@redhat.com>
8080
8081         * libnm-util/dbus-method-dispatcher.c
8082           libnm-util/dbus-method-dispatcher.h
8083                 - Remove, unused
8084
8085 2007-09-14  Dan Williams  <dcbw@redhat.com>
8086
8087         Implement deferred activation support in the device class.
8088
8089         * src/nm-device-interface.c
8090           src/nm-device-interface.h
8091                 - (nm_device_interface_activate): take more arguments to support
8092                         deferred activation; callers must pass one of (connection) OR
8093                         (service_name, connection_path)
8094                 - (impl_device_activate): connection validation is punted to the device
8095                         to be able to handle deferred activation.  Yes, this means errors
8096                         don't get returned from the Activate() dbus call, and yes, that
8097                         should be fixed somehow later.
8098
8099         * src/nm-device.c
8100           src/nm-device.h
8101                 - (clear_act_request): clear additional deferred activation stuff too
8102                 - (deferred_activation_timeout_cb): new function; clean up when
8103                         deferred activation times out.
8104                 - (deferred_activation_start_cb): new function; when the connection
8105                         finally becomes available, start device activation
8106                 - (nm_device_activate): attach to the right signals of the activation
8107                         request if we need to defer activation until the connection is valid
8108
8109         * src/NetworkManagerPolicy.c
8110                 - (nm_policy_device_change_check): update for additional arguments
8111                         required for nm_device_interface_activate().  Pass NULL for these
8112                         though because this function already knows exactly which
8113                         NMConnection to use
8114
8115 2007-09-14  Dan Williams  <dcbw@redhat.com>
8116
8117         Implement deferred activation handling in the NMActRequest class.  When a
8118         client wants to activate a device but must create the NMConnection details
8119         on the fly, there likely hasn't been enough time yet for NM to receive the
8120         new connection signal and grab all the connection details.  So the
8121         activation is deferred (and bounded by a timer) for a while, and if the
8122         connection appears within the window, it is activated.
8123
8124         * src/nm-activation-request.c
8125           src/nm-activation-request.h
8126                 - (nm_act_request_class_init): two new signals to support deferred
8127                         activation, to allow the listener to handle both timeout and success
8128                 - (nm_act_request_new_deferred): new function, starts the deferred
8129                         activation timeout handler and listens to the NMManager for
8130                         new-connection signals to notice when the connection comes in
8131
8132 2007-09-14  Dan Williams  <dcbw@redhat.com>
8133
8134         * src/nm-manager.h
8135           src/nm-manager.c
8136                 - (nm_manager_get_connection_service_name,
8137                    nm_manager_get_connection_dbus_path): get details about a connection
8138                         known internally by the NMManager
8139                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8140                         because NMConnection is now a GObject subclass
8141                 - Use constant for the gobject data tag used on NMConnection objects for
8142                         storing the associated DBusGProxy
8143
8144 2007-09-14  Dan Williams  <dcbw@redhat.com>
8145
8146         * utils/Makefile.am
8147           utils/nm-utils.c
8148           utils/nm-utils.h
8149           src/supplicant-manager/Makefile.am
8150           src/dhcp-manager/Makefile.am
8151           src/backends/Makefile.am
8152           src/named-manager/Makefile.am
8153           src/ppp-manager/Makefile.am
8154           src/vpn-manager/Makefile.am
8155           test/libnm-util/Makefile.am
8156           test/test-common/Makefile.am
8157                 - Remove utils/; it was unused
8158
8159 2007-09-13  Dan Williams  <dcbw@redhat.com>
8160
8161         * libnm-glib/nm-vpn-manager.h
8162           libnm-glib/nm-vpn-manager.c
8163                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8164
8165 2007-09-13  Dan Williams  <dcbw@redhat.com>
8166
8167         * src/nm-device-802-3-ethernet.c
8168                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8169                         netlink monitor carrier signals on dispose, not bring down.  The
8170                         carrier signals should be handled over the entire lifetime of the
8171                         device anyway, not created/destroyed on up or down.
8172
8173 2007-09-13  Dan Williams  <dcbw@redhat.com>
8174
8175         * libnm-glib/nm-device.c
8176           libnm-glib/nm-device.h
8177                 - (nm_device_activate): take a connection object path rather than an
8178                         NMConnection because NMConnection isn't exported over D-Bus and
8179                         therefore it dbus-glib can't automatically get an object path from it
8180
8181 2007-09-13  Dan Williams  <dcbw@redhat.com>
8182
8183         * libnm-util/nm-setting.c
8184                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8185
8186 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8187
8188         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8189
8190 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8191
8192         * src/vpn-manager/nm-vpn-connection.[ch]: 
8193         * src/vpn-manager/nm-vpn-manager.[ch]:
8194         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8195         dbus-glib, GObjects, signals etc.
8196
8197         * libnm-glib/nm-vpn-manager.[ch]: 
8198         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8199         so much, rewrite these too.
8200
8201         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8202         the new introspection files.
8203
8204         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8205
8206         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8207         the header with the same name from libnm-utils.
8208
8209         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8210
8211         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8212
8213         * introspection/nm-vpn-plugin.xml: Implement.
8214
8215         * introspection/nm-vpn-connection.xml: Implement.
8216
8217         * introspection/nm-vpn-manager.xml: Implement.
8218
8219         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8220         the named manager argument, it can just as easily get it as the caller.
8221         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8222
8223         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8224
8225         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8226
8227         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8228         libnm-utils.
8229
8230         * libnm-util/nm-connection.c: Ditto.
8231
8232         * src/NetworkManagerMain.h: Remove, it's finally empty.
8233
8234         * configure.in: Remove utils/ from build.
8235
8236         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8237         of hard-coded strings.
8238
8239         * utils/: Move it over to libnm-util.
8240
8241         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8242
8243         * dispatcher-daemon/Makefile.am: Ditto.
8244
8245         * src/Makefile.am: Ditto.
8246
8247 2007-09-12  Dan Williams  <dcbw@redhat.com>
8248
8249         Wireless connections can be made with config data from the applet now.
8250         
8251         Yay.
8252
8253         * src/supplicant-manager/nm-supplicant-config.h
8254           src/supplicant-manager/nm-supplicant-config.c
8255                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8256                 - (nm_supplicant_config_add_setting_wireless,
8257                    nm_supplicant_config_add_setting_wireless_security): new functions;
8258                         add key/value pairs from the settings objects to the supplicant
8259                         config
8260
8261         * src/nm-device-802-11-wireless.c
8262                 - (cull_scan_list): fix check to not prune currently associated AP
8263                 - (build_supplicant_config, real_act_stage2_config): call the functions
8264                         of the NMSupplicantConfig that parse settings objects rather than
8265                         doing it manually here
8266
8267 2007-09-12  Dan Williams  <dcbw@redhat.com>
8268
8269         * src/supplicant-manager/nm-supplicant-interface.c
8270           src/supplicant-manager/nm-supplicant-marshal.list
8271                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8272                         "connection-error" signal arguments should be STRING not CHAR
8273
8274 2007-09-12  Dan Williams  <dcbw@redhat.com>
8275
8276         * src/NetworkManagerUtils.c
8277           src/NetworkManagerUtils.h
8278                 - (nm_utils_hexstr2bin): new function
8279
8280 2007-09-11  Dan Williams  <dcbw@redhat.com>
8281
8282         * src/nm-manager.c
8283                 - (connection_get_settings_cb): emit connection-added signal
8284                 - (connection_removed_cb): uncomment bits for system settings service,
8285                         send connection-removed when appropriate
8286                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8287                         the stack by trying to g_object_set_data() on something that's
8288                         not a GObject; handle case where settings service returns
8289                         empty settings hash table
8290
8291 2007-09-11  Dan Williams  <dcbw@redhat.com>
8292
8293         * src/NetworkManagerPolicy.c
8294                 - (connection_added, connection_removed): trigger device change checks
8295                         on connection changes
8296
8297 2007-09-11  Dan Williams  <dcbw@redhat.com>
8298
8299         * src/nm-activation-request.c
8300                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8301
8302 2007-09-11  Dan Williams  <dcbw@redhat.com>
8303
8304         * src/nm-device-802-11-wireless.c
8305                 - (real_connection_secrets_updated): fix erroneous check
8306
8307 2007-09-11  Dan Williams  <dcbw@redhat.com>
8308
8309         * introspection/nm-device.xml
8310           libnm-glib/nm-device.c
8311           libnm-glib/nm-device.c
8312                 - Fix Activate call argument borkage; Activate takes 3 arguments
8313
8314 2007-09-11  Dan Williams  <dcbw@redhat.com>
8315
8316         * libnm-glib/nm-access-point.c
8317           libnm-glib/nm-access-point.c
8318                 - (nm_access_point_get_frequency): now returns guint32 to match
8319                         property change on 2007-09-10
8320
8321 2007-09-11  Dan Williams  <dcbw@redhat.com>
8322
8323         * src/nm-device-802-11-wireless.c
8324                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8325                         somewhere defines 'index' and I missed this one when I fixed the
8326                         shadow declaration errors earlier
8327
8328 2007-09-11  Dan Williams  <dcbw@redhat.com>
8329
8330         * libnm-util/nm-connection.c
8331                 - (nm_connection_update_secrets, need_secrets_check): move
8332                         802-11-wireless-security need_secrets checks to the setting object
8333                         itself, where it belongs
8334
8335         * libnm-util/nm-setting.c
8336           libnm-util/nm-setting.h
8337                 - (nm_setting_need_secrets): new function
8338                 - (setting_wireless_security_verify,
8339                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8340                 - (setting_wireless_security_need_secrets): mostly copy code over
8341                         from nm-connection.c
8342
8343 2007-09-11  Dan Williams  <dcbw@redhat.com>
8344
8345         * libnm-util/nm-setting.c
8346           libnm-util/nm-setting.h
8347                 - (nm_setting_update_secrets): new function; add a virtual function that
8348                         subclasses can implement to update their secrets
8349                 - (setting_wireless_security_update_secrets): implement that function
8350                         for the 802-11-wireless-security subclass
8351
8352         * libnm-util/nm-connection.c
8353           libnm-util/nm-connection.h
8354                 - (nm_connection_update_secrets): update secrets for a Setting and
8355                         emit a signal on success
8356
8357         * src/nm-manager.c
8358           src/nm-manager.h
8359           src/nm-marshal.list
8360                 - (connection_get_settings_cb): enable system settings bits
8361                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8362                         to request secrets from the settings dbus service and to
8363                         push those secrets to the NMConnection itself
8364
8365         * src/nm-activation-request.c
8366           src/nm-activation-request.h
8367                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8368                         currently being activated, and proxy that signal to other listeners.
8369                         Goes through the activation request because the activation request
8370                         is the thing that manages the lifetime of the NMConnection that's
8371                         being activated.
8372
8373         * src/nm-device-802-11-wireless.c
8374                 - (real_connection_secrets_updated): implement the connection secrets
8375                         updated notification and restart activation when secrets are
8376                         received
8377                 - (real_act_stage2_config): request secrets from the settings dbus
8378                         service if secrets are needed
8379
8380         * src/nm-device.c
8381           src/nm-device.h
8382                 - (clear_act_request, nm_device_activation_cancel,
8383                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8384                         where the activation request is cleared
8385                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8386                         updated secrets signal of activation request and add a function
8387                         that subclasses can override to handle it easily
8388
8389 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8390
8391         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8392         removal of NetworkManagerAPList.
8393
8394 2007-09-10  Dan Williams  <dcbw@redhat.com>
8395
8396         * src/NetworkManagerAP.c
8397           src/NetworkManagerAP.h
8398           introspection/nm-access-point.xml
8399                 - Change 'freq' property to a guint32 instead of a double since we
8400                         weren't using the floating point bits anyway
8401
8402 2007-09-10  Dan Williams  <dcbw@redhat.com>
8403
8404         * NetworkManagerAP.c
8405           NetworkManagerAP.h
8406           NetworkManagerPolicy.c
8407           NetworkManagerSystem.c
8408           NetworkManagerUtils.c
8409           NetworkManagerUtils.h
8410           nm-device-802-11-wireless.c
8411           nm-device-802-3-ethernet.c
8412           nm-hal-manager.c
8413           nm-manager.c
8414           vpn-manager/nm-dbus-vpn.c
8415                 - Warning fixes; casts and removal of unused variables
8416
8417 2007-09-10  Dan Williams  <dcbw@redhat.com>
8418
8419         * include/NetworkManager.h
8420                 - Kill NMNetworkType; AP types don't matter any more
8421
8422         * src/NetworkManagerAPList.c
8423           src/NetworkManagerAPList.h
8424           src/Makefile.am
8425                 - Kill; NMAccessPointList has outlived it's usefulness
8426
8427         * src/NetworkManagerAP.c
8428           src/NetworkManagerAP.h
8429                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8430                         functions; check if an NMConnection object is compatible with the
8431                         settings of this AP
8432                 - (freq_to_channel, channel_to_freq): utility functions for
8433                         channel <-> frequency conversion
8434
8435         * src/nm-device.c
8436           src/nm-device.h
8437                 - (nm_device_get_best_connection): pass the specific object around
8438                          (which might be the object path of a specific AP to connect to).
8439                          The get_best_connection() call should populate this on return
8440                          if needed (wireless does).
8441
8442         * src/nm-device-802-3-ethernet.c
8443                 - (real_get_best_connection): handle specific_object argument
8444
8445         * src/NetworkManager.c
8446           src/NetworkManagerMain.h
8447                 - Remove unused includes
8448
8449         * src/nm-device-802-11-wireless.c
8450           src/nm-device-802-11-wireless.h
8451                 - Convert the ap_list into a GSList from an NMAccessPointList
8452                 - No need for caching the 'activation_ap' since this is now determined
8453                         from the specific_object of the activation request, which is
8454                         populated from the get_best_connection() call or from a user request
8455                 - (nm_device_802_11_wireless_update_bssid): fix warning
8456                 - (get_wireless_capabilities): fix error message format arguments
8457                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8458                 - (find_best_connection, real_get_best_connection): implement
8459                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8460                         move here from NetworkManagerAPList
8461                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8462                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8463                         already verified earlier
8464                 - (real_act_stage2_config): use nm_connection_need_secrets()
8465
8466         * src/NetworkManagerPolicy.c
8467                 - (nm_policy_auto_get_best_device): handle specific objects
8468                 - (create_connection): remove; automatic connection creation functionality
8469                         is handled by the Connection objects
8470                 - (nm_policy_device_change_check): handle specific_object
8471
8472         * libnm-util/nm-connection.c
8473                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8474
8475 2007-09-10  Dan Williams  <dcbw@redhat.com>
8476
8477         * src/nm-manager.c
8478                 - (query_connections): fix uninitialized variable problem that caused
8479                         segfault
8480                 - (nm_manager_add_device): take devices down on startup so that we can
8481                         be assured that nm_device_is_up() won't short-circuit the init
8482                         process.  Hack until the is_up check gets split into two pieces
8483                         that aren't behaviorally confusing.
8484
8485 2007-09-09  Dan Williams  <dcbw@redhat.com>
8486
8487         * introspection/nm-device.xml
8488                 - The 'Activate' method now takes 3 arguments, a service name for the
8489                 settings service (user or system), the object path of the connection
8490                 to activate, and the specific object to activate, if any
8491
8492         * src/nm-device-interface.c
8493                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8494                 Add error bits
8495                 - (impl_device_activate): adapt to new Activate arguments; validate
8496                 the service name and get the Connection object from the NMManager
8497                 before starting to activate the device with the specified connection
8498
8499         * src/nm-device-802-3-ethernet.c
8500                 - (real_get_best_connection): find the best connection, or create a
8501                 default one if no existing connections can be used
8502
8503         * src/NetworkManagerPolicy.c
8504                 - (nm_policy_auto_get_best_device): Get the device's best connection
8505                 and only pick the device if it has one
8506                 - (nm_policy_device_change_check): disable wireless bits for now until
8507                 wireless get_best_connection() can be implemented (replacing "best_ap");
8508                 don't create a default connection here as the device subclass will do
8509                 that if needed
8510
8511         * src/nm-manager.h
8512           src/nm-manager.c
8513                 - (nm_manager_get): make NMManager a singleton and expose the getter
8514                 internally
8515                 - Rework internal NMManager connection handling to use the same
8516                 routines for both the system and user settings services.  Most calls
8517                 take a new NMConnectionType argument specifying either system or user
8518                 connections
8519                 - (nm_manager_get_connection_by_object_path): new function; get a
8520                 connection keyed on its object path
8521
8522         * src/NetworkManager.c
8523                 - (main): use nm_manager_get()
8524
8525 2007-09-09  Dan Williams  <dcbw@redhat.com>
8526
8527         * src/nm-device.h
8528           src/nm-device.c
8529                 - (nm_device_get_best_connection): new function; get best connection
8530                         for the device at that time
8531
8532 2007-09-09  Dan Williams  <dcbw@redhat.com>
8533
8534         * src/nm-device-interface.h
8535                 - Add NMDeviceInterfaceError with an UnknownConnection error
8536
8537 2007-09-09  Dan Williams  <dcbw@redhat.com>
8538
8539         Stupid mistake on my part; object path and interface for settings service
8540         and connection objects can be the same, only the service name must be
8541         different for the system and user settings services.
8542
8543         * include/NetworkManager.h
8544           src/nm-manager.c
8545           introspection/nm-settings-connection.xml
8546           introspection/nm-settings.xml
8547           libnm-glib/nm-settings.c
8548                 - (nm_connection_settings_init, query_user_connections,
8549                    new_connection_cb): Unify NetworkManagerSettings and Connection
8550                    interface name and object path
8551
8552 2007-09-06  Dan Williams  <dcbw@redhat.com>
8553
8554         * libnm-glib/nm-object.c
8555                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8556                    nm_object_get_int_property, nm_object_get_uint_property,
8557                    nm_object_get_boolean_property, nm_object_get_byte_property,
8558                    nm_object_get_double_property, nm_object_get_byte_array_property):
8559                         clear GValues after copying their contents, fixes memory leaks
8560                         after every property access because dbus-glib copies the values
8561                         from the DBusMessage into the GValue already.
8562
8563 2007-09-06  Dan Williams  <dcbw@redhat.com>
8564
8565         * introspection/nm-access-point.xml
8566                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8567                         them to be.  There's some magic property name parsing going on in
8568                         dbus-glib that breaks up property names based on studly-caps and
8569                         puts - between words.
8570
8571         * libnm-glib/nm-access-point.c
8572                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8573                         Fix property names
8574
8575 2007-09-06  Dan Williams  <dcbw@redhat.com>
8576
8577         * src/nm-manager.c
8578                 - (nm_manager_user_connections_destroy): clear the user connections hash
8579                         table, don't destroy it
8580                 - (finalize): only destroy the hash table on NMManager finalization
8581
8582 2007-09-02  Dan Williams  <dcbw@redhat.com>
8583
8584         * include/NetworkManager.h
8585           libnm-glib/nm-settings.c
8586                 - defines for the user settings daemon D-Bus bits
8587
8588         * src/NetworkManager.c
8589                 - Remove stuff that referred to the old NetworkManagerInfo service
8590
8591         * src/vpn-manager/nm-dbus-vpn.h
8592                 - Move old NMI defines to the only place they are used still
8593
8594         * libnm-util/nm-connection.c
8595           libnm-util/nm-connection.h
8596           src/nm-activation-request.c
8597                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8598
8599         * src/nm-manager.c
8600           src/nm-manager.h
8601                 - Get connections and their settings from the user settings daemon
8602                         at the appropriate times
8603
8604 2007-09-02  Dan Williams  <dcbw@redhat.com>
8605
8606         * libnm-util/nm-setting.c
8607                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8608                 - (setting_wireless_hash): set the right value on the item
8609
8610 2007-09-02  Dan Williams  <dcbw@redhat.com>
8611
8612         * test/Makefile.am
8613           test/nminfotest.c
8614                 - Remove, no longer useful
8615
8616 2007-08-30  Dan Williams  <dcbw@redhat.com>
8617
8618         * src/Makefile.am
8619           src/NetworkManagerDbus.c
8620           src/NetworkManagerDbus.h
8621           src/vpn-manager/nm-dbus-vpn.c
8622                 - Remove, no longer necessary.  Move last bits to the only place its
8623                 used, in nm-dbus-vpn.c
8624
8625         * src/NetworkManagerAPList.c
8626           src/nm-device.c
8627           src/NetworkManager.c
8628           src/nm-device-802-11-wireless.c
8629           src/vpn-manager/nm-vpn-manager.c
8630           src/vpn-manager/nm-vpn-service.c
8631           src/NetworkManagerPolicy.c
8632           src/nm-manager.c
8633                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8634                 that was message_is_error()
8635
8636 2007-08-30  Dan Williams  <dcbw@redhat.com>
8637
8638         * libnm-util/sha1.c
8639                 - Include config.h to get defines for endiannes (gnome.org #420216)
8640
8641 2007-08-30  Dan Williams  <dcbw@redhat.com>
8642
8643         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8644
8645         * src/ppp-manager/Makefile.am
8646                 - use -fPIC (gnome.org #471825)
8647
8648 2007-08-29  Dan Williams  <dcbw@redhat.com>
8649
8650         * include/NetworkManager.h
8651                 - Keep NMConnection object path in sync
8652
8653         * libnm-glib/nm-settings.c
8654           libnm-glib/nm-settings.h
8655                 - Break D-Bus object registration out of the init function, because
8656                 every object that's exported over D-Bus needs to use the _same_
8657                 DBusConnection.  Otherwise, each object would get a different object
8658                 path tree and wouldn't be callable.
8659
8660 2007-08-29  Dan Williams  <dcbw@redhat.com>
8661
8662         * libnm-util/nm-setting.h
8663           libnm-util/nm-setting.c
8664           libnm-util/nm-connection.c
8665           src/NetworkManagerPolicy.c
8666                 - 'info' settings object should be 'connection' says the spec
8667                 at NetworkManagerConfigurationSpecification
8668
8669 2007-08-29  Dan Williams  <dcbw@redhat.com>
8670
8671         * libnm-glib/nm-settings.c
8672           libnm-glib/nm-settings.h
8673                 - make the dbus path a property of the object, and autogenerate it.
8674                 It can't be composed of the 'id' field becuase that's not available
8675                 yet during the GObject creation in nm_connection_settings_init()
8676
8677 2007-08-29  Dan Williams  <dcbw@redhat.com>
8678
8679         * introspection/nm-settings-connection.xml
8680           introspection/nm-settings.xml
8681                 - Service name -> NetworkManagerUserSettings because two services
8682                 can't share part of the same path.  I'm not really sure how we'll use
8683                 the same code with the system-settings daemon...
8684
8685 2007-08-28  Dan Williams  <dcbw@redhat.com>
8686
8687         * src/nm-device-interface.c
8688           src/nm-device-interface.h
8689                 - Kill one more bit of NMData
8690
8691 2007-08-28  Dan Williams  <dcbw@redhat.com>
8692
8693         * src/NetworkManagerSystem.h
8694           src/nm-device.c
8695           src/nm-device.h
8696           src/nm-hal-manager.c
8697           src/NetworkManager.c
8698           src/nm-device-802-11-wireless.c
8699           src/nm-hal-manager.h
8700           src/nm-device-802-3-ethernet.c
8701           src/vpn-manager/nm-vpn-service.h
8702           src/vpn-manager/nm-vpn-manager.c
8703           src/vpn-manager/nm-vpn-manager.h
8704           src/vpn-manager/nm-vpn-service.c
8705           src/nm-device-802-11-wireless.h
8706           src/NetworkManagerMain.h
8707           src/nm-device-802-3-ethernet.h
8708           src/backends/NetworkManagerGentoo.c
8709           src/backends/NetworkManagerPaldo.c
8710           src/backends/NetworkManagerFrugalware.c
8711           src/backends/NetworkManagerRedHat.c
8712           src/backends/NetworkManagerSlackware.c
8713           src/backends/NetworkManagerGeneric.c
8714           src/backends/NetworkManagerArch.c
8715           src/backends/NetworkManagerSuSE.c
8716           src/backends/NetworkManagerGeneric.h
8717           src/backends/NetworkManagerDebian.c
8718                 - Kill NMData
8719
8720 2007-08-28  Dan Williams  <dcbw@redhat.com>
8721
8722         * src/NetworkManagerMain.h
8723           src/nm-device-802-11-wireless.c
8724           src/NetworkManager.c
8725                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8726                 for now we should set the 'invalid' property on individual APs, and when
8727                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8728                 that ESS
8729
8730 2007-08-28  Dan Williams  <dcbw@redhat.com>
8731
8732         * src/NetworkManagerAP.c
8733           src/NetworkManagerAP.h
8734                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8735                         'autoconnect' property instead
8736
8737         * src/NetworkManager.c
8738           src/NetworkManagerMain.h
8739           src/NetworkManagerPolicy.c
8740           src/NetworkManagerPolicy.h
8741                 - Remove the 'allowed_ap_list', which should be replaced by 
8742                         NMConnection/NMSettings instead, since _those_ are the allowed
8743                         things that NM can connect to
8744
8745         * src/nm-device-802-11-wireless.c
8746                 - Remove both allowed_ap_list usage and 'fallback' checking
8747
8748 2007-08-28  Dan Williams  <dcbw@redhat.com>
8749
8750         * src/nm-device.c
8751           src/named-manager/nm-named-manager.c
8752           src/named-manager/nm-named-manager.h
8753           src/NetworkManager.c
8754           src/vpn-manager/nm-vpn-manager.c
8755           src/NetworkManagerMain.h
8756           src/NetworkManagerSystem.c
8757                 - Remove the named-manager object from NMData structure in preparation
8758                 for NMData's timely death.  Make the NMNamedManager the singleton that
8759                 it really is
8760
8761 2007-08-28  Dan Williams  <dcbw@redhat.com>
8762
8763         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8764         each AP's capabilities, and by NMConnection/NMSettings objects for user
8765         defined connections.
8766
8767         * include/NetworkManager.h
8768                 - Redefine 802.11 security properties.  There are now device capabilities
8769                         and AP flags and AP security flags.  It was way to unclear before.
8770
8771         * src/Makefile.am
8772           src/nm-ap-security-leap.h
8773           src/nm-ap-security-leap.c
8774           src/nm-ap-security-wpa-eap.c
8775           src/nm-ap-security-wpa-eap.h
8776           src/nm-ap-security-private.h
8777           src/nm-ap-security-wpa-psk.c
8778           src/nm-ap-security-wpa-psk.h
8779           src/nm-ap-security-wep.c
8780           src/nm-ap-security-wep.h
8781           src/nm-ap-security.c
8782           src/nm-ap-security.h
8783                 - Removed, to be replaced with NMConnection/NMSettings objects
8784
8785         * src/nm-dbus-nmi.c
8786           src/nm-dbus-nmi.h
8787                 - Removed, to be replaced by code that talks to the new info daemon
8788                         interface and gets NMConnection/NMSettings objects
8789
8790         * src/backends/NetworkManagerSuSE.c
8791                 - Remove usage of NMAPSecurity; should be replaced by a system-level
8792                         info-daemon that does the same thing but talks the new info-daemon
8793                         D-Bus interface
8794
8795         * src/NetworkManagerAP.h
8796           src/NetworkManagerAP.c
8797           src/NetworkManagerAPList.c
8798           libnm-glib/libnm-glib-test.c
8799                 - Remove usage of NMAPSecurity objects and adjust to new flags for
8800                         WPA/RSN
8801
8802         * libnm-glib/nm-access-point.c
8803           libnm-glib/nm-access-point.h
8804           introspection/nm-access-point.xml
8805           test/nm-tool.c
8806                 - Adjust to new flags for AP security
8807
8808         * utils/nm-utils.c
8809           utils/nm-utils.h
8810           src/vpn-manager/nm-dbus-vpn.c
8811                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8812                         stuff which is the only place it's used
8813
8814         * src/nm-device-interface.c
8815           src/nm-device-interface.h
8816           introspection/nm-device.xml
8817           src/nm-activation-request.c
8818           src/nm-activation-request.h
8819           src/nm-device.c
8820                 - Add a new 'specific_object' argument that hints to NM what actual
8821                         AP or other device-specific thing the connection should apply to.
8822                         NMConnection objects can apply to more than one actual device/AP.
8823
8824         * libnm-util/nm-connection.c
8825         * libnm-util/nm-connection.h
8826                 - Add 'have_secrets" call stubs
8827
8828         * libnm-util/cipher.h
8829                 - Move NM_AUTH_TYPE_* defines here for now
8830
8831         * src/nm-device-802-11-wireless.c
8832                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8833                         NMSettings objects
8834
8835         * src/NetworkManagerDbus.c
8836         * src/NetworkManagerPolicy.c
8837                 - Remove usage of update_allowed_networks, should be pushing data in
8838                         a different manner
8839
8840 2007-08-27  Tambet Ingo  <tambet@gmail.com>
8841
8842         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
8843         dbus-glib frees it when the call is done.
8844
8845 2007-08-26  Dan Williams  <dcbw@redhat.com>
8846
8847         * introspection/nm-device.xml
8848                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
8849
8850 2007-08-26  Dan Williams  <dcbw@redhat.com>
8851
8852         * src/nm-device-802-3-ethernet.c
8853                 - (constructor): move connection of interface-connected/disconnected
8854                         signals here from real_bring_up().  Should be listening to netlink
8855                         for carrier events no matter what the initial state of the device
8856                         is.
8857
8858 2007-08-26  Dan Williams  <dcbw@redhat.com>
8859
8860         * src/nm-netlink-monitor.c
8861                 - (nm_netlink_monitor_class_init): fix marshalling types for
8862                         interface-connected/interface-disconnected
8863                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
8864                         check
8865
8866 2007-08-26  Dan Williams  <dcbw@redhat.com>
8867
8868         Convert to using interface indexes as the primary method of identifying
8869         devices inside NetworkManager.  Indexes are (?) stable, but devices can
8870         be renamed at any time.  Device object paths now refer to the device
8871         index rather than the name, and you can map those two manually if you like
8872         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
8873         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
8874         to use interface indexes rather than names.
8875
8876 2007-08-26  Dan Williams  <dcbw@redhat.com>
8877
8878         * src/nm-netlink-monitor.h
8879                 - Remove one last bit of wireless-event signal
8880
8881 2007-08-26  Dan Williams  <dcbw@redhat.com>
8882
8883         * src/nm-netlink-monitor.c
8884                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
8885                         don't need the 'wireless-event' signal anymore since that's all
8886                         handled by wpa_supplicant
8887
8888 2007-08-25  Dan Williams  <dcbw@redhat.com>
8889
8890         It's 2007. Remove support for drivers that don't support wireless scanning.
8891
8892         * test/nm-tool.c
8893           include/NetworkManager.h
8894           src/NetworkManagerUtils.c
8895           src/NetworkManagerPolicy.c
8896           src/nm-device-802-11-wireless.c
8897                 - Remove special handling for non-scanning devices and mark them
8898                         as unsupported/unhandled
8899
8900 2007-08-20  Dan Williams  <dcbw@redhat.com>
8901
8902         * src/nm-device-802-11-wireless.c
8903           src/nm-device-802-3-ethernet.c
8904                 - (real_is_up): move device-specific tests before generic IFF_UP test,
8905                         because when the card is pulled or the module removed, the device
8906                         is already !IFF_UP and then device-specific cleanup (removing
8907                         the supplicant interface, periodic checks, etc) never gets done
8908
8909 2007-08-20  Dan Williams  <dcbw@redhat.com>
8910
8911         * src/nm-manager.c
8912                 - (nm_manager_remove_device): bring device down before disconnecting
8913                         signal handlers, so that the 'state' signal will get broadcast when
8914                         the device enters the DOWN state
8915                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
8916                         of states that cause the NMManager to recheck its state
8917
8918 2007-08-20  Dan Williams  <dcbw@redhat.com>
8919
8920         * src/supplicant-manager/nm-supplicant-interface.c
8921                 - (interface_disconnect_done): don't try to dispose of the net proxy
8922                         when it may already have been disposed of
8923
8924 2007-08-20  Dan Williams  <dcbw@redhat.com>
8925
8926         * src/nm-device-802-11-wireless.c
8927                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
8928                         the SSID isn't available; this can happen when the card is pulled
8929                         or the module unloaded, during the post-removal deactivation
8930                         paths, when the ioctl returns ENODEV
8931
8932 2007-08-20  Dan Williams  <dcbw@redhat.com>
8933
8934         * src/nm-device-802-11-wireless.c
8935                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
8936                         frequency, and mode match.  Applets are now responsible for grouping
8937                         access points
8938
8939 2007-08-20  Dan Williams  <dcbw@redhat.com>
8940
8941         * src/NetworkManagerAP.c
8942         * src/NetworkManagerAP.h
8943                 - (nm_ap_print_self): new function
8944
8945         * src/NetworkManagerAPList.c
8946                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
8947                         to do it all here
8948         
8949 2007-08-17  Dan Williams  <dcbw@redhat.com>
8950
8951         * src/nm-device-802-3-ethernet.c
8952                 - (real_bring_down): don't try to dispose of stuff that might not
8953                         exist
8954
8955 2007-08-17  Dan Williams  <dcbw@redhat.com>
8956
8957         * src/NetworkManagerAP.c
8958                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
8959                         applet.  This ensures that the case between the seen-bssids and
8960                         the bssids reported by the driver match.
8961
8962 2007-08-17  Dan Williams  <dcbw@redhat.com>
8963
8964         * src/nm-device-802-11-wireless.c
8965                 - (device_cleanup): disconnect the interface in wpa_supplicant before
8966                         we dispose of the interface proxy in NM
8967
8968 2007-08-16  Dan Williams  <dcbw@redhat.com>
8969
8970         * libnm-glib/nm-client.c
8971                 - (nm_client_init): create VPN connections hash table with key free
8972                         function
8973                 - (proxy_vpn_connection_added): VPN connections hash table key should
8974                         be a duplicated value, not the same memory address as the VPN
8975                         connection name.  This is because the VPN connection name could
8976                         potentially be freed and set to something else during the lifetime
8977                         of the NMVPNConnection object.
8978
8979 2007-08-16  Tambet Ingo  <tambet@gmail.com>
8980
8981         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
8982         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
8983         with the file descriptors. Send a child setup function to change the pppd
8984         progress group.
8985
8986 2007-08-15  Dan Williams  <dcbw@redhat.com>
8987
8988         * src/supplicant-manager/nm-supplicant-interface.c
8989                 - (try_remove_iface): new function, ask wpa_supplicant to remove
8990                         an interface
8991                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
8992                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
8993                         happens on hotplug if wpa_supplicant doesn't tear down and readd
8994                         the interface internally
8995
8996 2007-08-15  Dan Williams  <dcbw@redhat.com>
8997
8998         * src/nm-device-802-11-wireless.c
8999                 - (real_bring_down): move most of this function into device_cleanup()
9000                         so that it can be called from elsewhere
9001                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9002                         and stuff on dispose.  These would normally get cleaned up when
9003                         the device is marked down and deactivated, but when the device is
9004                         hot-unplugged, it's already down and real_down() never gets run
9005
9006 2007-08-15  Dan Williams  <dcbw@redhat.com>
9007
9008         * src/nm-dbus-nmi.c
9009                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9010                         caused a reference leak on device for which NM requested a key
9011
9012 2007-08-15  Dan Williams  <dcbw@redhat.com>
9013
9014         * libnm-glib/nm-client.c
9015                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9016
9017 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9018
9019         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9020         nothing is using it at the moment, but it'll be all useful and stuff later on.
9021
9022         * libnm-util/nm-setting.h: Define NMSettingPPP.
9023
9024         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9025
9026         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9027
9028         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9029
9030         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9031
9032         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9033
9034 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9035
9036         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9037
9038         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9039         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9040         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9041         name and different arguments and it won't compile anymore. To fix this, we now have
9042         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9043         that is new API + compatibility API and used by the daemon. The other, 
9044         nm-manager-client.xml is only the new API without compatibility bits and is used
9045         by libnm-glib to make it compile.
9046
9047         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9048
9049         * src/nm-manager.c (impl_manager_legacy_sleep)
9050         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9051         interface functions for 0.6 branch.
9052
9053 2007-08-14  Dan Williams  <dcbw@redhat.com>
9054
9055         * src/NetworkManagerAP.c
9056                 - (nm_ap_new_from_properties): fix mistaken check of return value
9057                         from memcmp (should expect 0)
9058
9059 2007-08-14  Dan Williams  <dcbw@redhat.com>
9060
9061         (force-commit to fix wrong comment and partial commit of r2685; this
9062          commit actually applies to r2685)
9063
9064         * src/NetworkManagerUtils.c
9065                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9066                         ignores trailing nulls in the SSID to work around mismatches in
9067                         expectations between WEXT and what the info-daemon passes back.  The
9068                         info-daemon would pass back the correct length, but due to the
9069                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9070                         the device would always have an SSID + 1 depending on what versions
9071                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9072                         visible by just quitting the applet and relaunching, which caused
9073                         NM to reassociated to the same network over again when reloading
9074                         the save networks.
9075
9076         * src/NetworkManagerPolicy.c
9077           src/NetworkManagerUtils.h
9078           src/nm-device-802-11-wireless.c
9079                 - Update for new parameter to nm_utils_same_ssid()
9080
9081 2007-08-14  Dan Williams  <dcbw@redhat.com>
9082
9083         * src/NetworkManagerAP.c
9084                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9085                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9086                         setting the BSSID to all 0s.  That confused the heck out of NM,
9087                         plus it's useless and probably out-of-spec.
9088
9089 2007-08-14  Dan Williams  <dcbw@redhat.com>
9090
9091         * callouts/Makefile.am
9092           src/dhcp-manager/nm-dhcp-manager.c
9093           src/dhcp-manager/nm-dhcp-manager.h
9094           src/dhcp-manager/Makefile.am
9095                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9096
9097 2007-08-14  Dan Williams  <dcbw@redhat.com>
9098
9099         * src/dhcp-manager/nm-dhcp-manager.c
9100                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9101                         it's really needed, get rid of unused xtra_args parameter
9102
9103 2007-08-14  Dan Williams  <dcbw@redhat.com>
9104
9105         * include/NetworkManagerVPN.h
9106           src/vpn-manager/nm-dbus-vpn.c
9107           src/vpn-manager/nm-dbus-vpn.h
9108           src/vpn-manager/nm-vpn-act-request.c
9109           src/vpn-manager/nm-vpn-act-request.h
9110           src/vpn-manager/nm-vpn-service.c
9111           src/vpn-manager/nm-vpn-service.h
9112           libnm-glib/nm-vpn-connection.c
9113           libnm-glib/nm-vpn-connection.h
9114           libnm-glib/nm-client.h
9115                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9116                         NMVPNServiceState to clarify what they apply to
9117                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9118                         NMVPNActStage -> NMVPNConnectionState for the same reason
9119
9120         * libnm-glib/nm-client.c
9121                 - Constant + type renames from above
9122                 - Properly handle NameOwnerChanged/manager_running signals
9123                         for NM service; only emit when state really changes
9124                 - Use hash tables correctly so that the key (which was previously owned
9125                         by the D-Bus message) now has the same lifetime as the value, since
9126                         the key is now taken from the the NMVPNConnection itself.  This
9127                         really fixes the double-VPN names in the applet
9128
9129 2007-08-13  Dan Williams  <dcbw@redhat.com>
9130
9131         Patch from Michael Biebl <biebl@debian.org>
9132
9133         * po/POTFILES.in
9134           po/POTFILES.skip
9135                 - Update for vpn-properties move
9136
9137 2007-08-13  Dan Williams  <dcbw@redhat.com>
9138
9139         * libnm-glib/nm-client.c
9140                 - Convert internal VPN connection tracking from a list to a hash table
9141                         to easily avoid duplicates
9142                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9143                         must be freed by the caller, like nm_client_get_devices()
9144                 - (nm_client_remove_vpn_connection): don't let the removal signal
9145                         leak through for NMVPNConnection objects that aren't actually
9146                         tracked.
9147                 - (manager_running): throw away VPN connection list when NM goes away,
9148                         like with the device list
9149
9150 2007-08-13  Dan Williams  <dcbw@redhat.com>
9151
9152         * src/dhcp-manager/nm-dhcp-manager.c
9153                 - Stop any dhclient instance that might be already running for a
9154                         particular interface before starting an NM spawned dhclient.  Fixes
9155                         dhclient processes left over if NM crashes, stuff like that.
9156
9157 2007-08-13  Dan Williams  <dcbw@redhat.com>
9158
9159         * src/NetworkManagerAP.c
9160                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9161                         when the AP wasn't broadcasting it's SSID
9162
9163 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9164
9165         * include/NetworkManager.h: added DBus path for connection settings.
9166
9167         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9168         nm_connection_settings_signal_updated,
9169         nm_connection_settings_signal_removed): new functions to wrap the
9170         objects' signals.
9171         (nm_connection_settings_init): register GObject with DBus.
9172         (nm_connection_settings_get_dbus_object_path): new function.
9173
9174         * libnm-glib/Makefile.am: added libnmutil to link flags.
9175
9176 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9177
9178         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9179
9180         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9181         libnm_glib directory got merged with libnm-glib/.
9182
9183         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9184
9185         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9186         Rename the library from libnm-glib to libnm_glib to maintain the library API
9187         compatibility with 0.6 branch.
9188
9189         * Makefile.am: Remove gnome/ SUBDIR.
9190
9191         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9192
9193         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9194
9195         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9196
9197         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9198         anymore.
9199         Remove checks for wpa_supplicant binary, it's used over dbus.
9200         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9201
9202         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9203         Link the binaries with libnm_glib.la.
9204
9205 2007-08-12  Dan Williams  <dcbw@redhat.com>
9206
9207         * src/NetworkManagerPolicy.c
9208                 - (nm_policy_device_change_check): fix policy to deactivate old device
9209                         before activating new one, at least until the multiple active
9210                         device support lands
9211
9212 2007-08-12  Dan Williams  <dcbw@redhat.com>
9213
9214         * src/NetworkManagerPolicy.c
9215                 - (nm_policy_new): hook up to connection-added / connection-removed
9216                         signals instead of connections-changed
9217
9218 2007-08-12  Dan Williams  <dcbw@redhat.com>
9219
9220         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9221         Robert Frank <rfrank@redhat.com>
9222
9223         * src/dhcp-manager/nm-dhcp-manager.c
9224           src/dhcp-manager/nm-dhcp-manager.c
9225           src/nm-device.c
9226                 - Spawn and communicate with dhclient directly, through means of a
9227                 custom dhclient callout script.  Process callout D-Bus signals
9228                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9229                 sent via gobject signals rather than being driven by the dhcp manager
9230                 directly.
9231
9232 2007-08-12  Dan Williams  <dcbw@redhat.com>
9233
9234         * callouts/nm-dhcp-client-action.c
9235                 - (build_message): ignore non-DHCP-related environment variables
9236
9237 2007-08-12  Dan Williams  <dcbw@redhat.com>
9238
9239         * Makefile.am
9240           configure.in
9241           callouts/Makefile.am
9242           callouts/nm-dhcp-client-action.c
9243           callouts/nm-dhcp-client.conf
9244                 - Add dhclient-executed callout that takes the place of dhclient-script
9245                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9246                 NM then listens for
9247
9248 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9249
9250         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9251
9252         * libnm-glib/nm-client.h:
9253         * libnm-glib/nm-object.h:
9254         * libnm-glib/nm-vpn-connection.h:
9255         * libnm-glib/nm-settings.h:
9256         * libnm-glib/nm-device.h:
9257         * libnm-glib/nm-ip4-config.h:
9258         * libnm-glib/nm-access-point.h:
9259         * libnm-glib/nm-device-802-3-ethernet.h:
9260         * libnm-util/nm-setting.h: 
9261         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9262
9263         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9264
9265         * libnm-glib/nm-access-point.c: Strength has type char.
9266
9267         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9268         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9269
9270         * introspection/nm-access-point.xml: Strength property is char, not int.
9271
9272         * src/NetworkManagerAP.c (set_property): Set strength from char.
9273         (get_property): Handle hidden APs (with empty SSID).
9274         Get strength value from char.
9275         (nm_ap_class_init): Strength property has char type.
9276
9277 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9278
9279         * introspection/Makefile.am:
9280         * introspection/nm-settings.xml:
9281         * introspection/nm-settings-connection.xml: added Settings interfaces.
9282
9283         * libnm-glib/nm-settings.[ch]:
9284         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9285         containing the DBus implementation.
9286
9287 2007-07-26  Dan Williams  <dcbw@redhat.com>
9288
9289         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9290
9291         * src/NetworkManagerSystem.c
9292                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9293                         same subnet (#437396)
9294
9295 2007-07-26  Dan Williams  <dcbw@redhat.com>
9296
9297         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9298
9299         * gnome/vpn-properties/nm-vpn-properties.c
9300                 - Fix translatable strings (#445865)
9301
9302 2007-07-26  Dan Williams  <dcbw@redhat.com>
9303
9304         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9305
9306         * configure.in
9307                 - Remove useless junk (#412530)
9308
9309 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9310
9311         Patch from Robert Buchholz <rbu@gentoo.org>:
9312
9313         * configure.in:
9314         * Makefile.am:
9315         * introspection/Makefile.am:
9316         Make make distcheck work again.
9317
9318 2007-06-27  Dan Williams  <dcbw@redhat.com>
9319
9320         * Make SSIDs GByteArrays everywhere
9321         * Rename "essid" -> "ssid" everywhere that's appropriate
9322         * Refcount activation_ap member of the 802.11 wireless device class
9323
9324 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9325
9326         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9327
9328 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9329
9330         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9331         that we got a new AP when we just update existing AP properties.
9332
9333 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9334
9335         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9336
9337         * nm-utils.[ch]: Remove.
9338
9339         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9340         objects for easy property access and dbus connection handling.
9341
9342         * libnm-glib/nm-client.c: Derive from NMObject.
9343
9344         * libnm-glib/nm-device.c: Ditto.
9345
9346         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9347
9348         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9349
9350         * libnm-glib/nm-ip4-config.c: Ditto.
9351
9352         * libnm-glib/nm-access-point.c: Ditto.
9353
9354         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9355         comparision. Currently used by the device activation code to determine if the new
9356         activation is the same as the old one.
9357
9358         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9359         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9360         able to ask password for the AP.
9361
9362         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9363         up if the device is already connected, tear down it's connection (if it isn't the
9364         same as new one) and start the activation.
9365
9366         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9367
9368         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9369         the issue where all APs are always listed as encrypted.
9370
9371         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9372         their own registered paths.
9373
9374         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9375         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9376
9377 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9378
9379         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9380         (0 & 0 == 0, doh)
9381
9382         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9383         because the handling code will cause the next state change and signal listeners
9384         get the signals in wrong order.
9385
9386         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9387         correctly in case of pending activation.
9388
9389         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9390         Convert the essid byte array to string correctly, including the terminating NULL.
9391
9392         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9393         mode with correct types.
9394
9395         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9396         constructed info to dbus call instead of the activation request.
9397
9398 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9399
9400         Patch from Christian Persch <chpe@gnome.org>
9401
9402         * libnm-glib/Makefile.am:
9403         * dispatcher-daemon/Makefile.am:
9404         Use the correct variables, the correct paths, and correct ordering. (446315)
9405
9406 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9407
9408         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9409         argument. The activation request is easy to retrieve.
9410
9411         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9412         just to be a convenient location for devices to store random stuff.
9413
9414 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9415
9416         Patch from Alex Smith <alex@alex-smith.me.uk>
9417
9418         * src/backends/NetworkManagerFrugalware.c:
9419         Update the FrugalWare backend to fix a few segfaults. (#392642)
9420
9421 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9422
9423         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9424
9425         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9426         setting.
9427         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9428
9429 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9430
9431         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9432         automagically.
9433         Implement NMSettingIP4Config.
9434         Finish NMSettingWired by adding all known members.
9435         (setting_wired_verify): Implement.
9436         Finish NMSettingWireless by adding all known members.
9437         (setting_wireless_verify): Implement.
9438
9439         * libnm-util/nm-connection.c: Register "ipv4" setting.
9440         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9441         dump function, we can introspect the GHashTable which is used for sending connections
9442         over dbus.
9443
9444         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9445         Take GByteArray for essid, it's really not a string.
9446
9447         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9448         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9449         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9450         means overriding the values we got from DHCP.
9451         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9452         (nm_device_deactivate_quickly): Ditto.
9453
9454         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9455         for debugging.
9456
9457 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9458
9459         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9460         NMConnection.
9461
9462         * libnm-glib/nm-device-802-11-wireless.c:
9463         (nm_device_802_3_ethernet_activate): Remove.
9464
9465         * libnm-glib/nm-device-802-3-ethernet.c
9466         (nm_device_802_3_ethernet_activate): Remove.
9467
9468         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9469
9470         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9471         NMConnection.
9472
9473         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9474         activation has started.
9475         Implement the new activation using NMConnection.
9476
9477         * src/nm-activation-request.c: Store a generic connection object instead
9478         of a wireless-specific AP.
9479
9480         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9481         on device type, create a device specific connection object suitable for
9482         device activation.
9483
9484         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9485         specific check to validate the connection and on success start the
9486         activation.
9487
9488         * src/nm-device-interface.h: Add a activate virtual function to the
9489         interface definition.
9490
9491         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9492         (impl_device_activate): Implement.
9493
9494         * introspection/nm-device.xml: Add a generic device activation interface
9495         that accepts an abstract NMConnection structure that has device-specific
9496         information in it.
9497
9498         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9499         activation interface.
9500
9501         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9502         activation interface.
9503
9504         * libnm-util/nm-connection.c: 
9505         * libnm-util/nm-connection.h: 
9506         * libnm-util/nm-setting.c:
9507         * libnm-util/nm-setting.h: Add.
9508
9509         * libnm-util/Makefile.am: Build the added files.
9510
9511         * src/nm-dbus-manager.c
9512         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9513         DbusConnection argument from 'name-owner-changed' signal. The manager
9514         is already passed as a first argument to the signal and the connection
9515         is easy enough to get from it.
9516
9517         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9518         Update the signature of the function.
9519
9520         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9521         Ditto.
9522
9523         * src/NetworkManager.c: Ditto.
9524
9525         * src/named-manager/nm-named-manager.c
9526         (nm_named_manager_name_owner_changed): Ditto.
9527
9528         * src/supplicant-manager/nm-supplicant-manager.c
9529         (nm_supplicant_manager_name_owner_changed): Ditto.
9530
9531         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9532
9533         * src/dhcp-manager/nm-dhcp-manager.c
9534         (nm_dhcp_manager_name_owner_changed): Ditto.
9535
9536         * src/nm-hal-manager.c: Add a list of device detectors and creators
9537         to make it easier to add new devices. Each device type has it's own
9538         entry in the table so adding new device types is only a matter of
9539         implementing a couple of functions, one for device detection and the
9540         other for device creation.
9541
9542 2007-04-25  Dan Williams  <dcbw@redhat.com>
9543
9544         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9545                 (gnome.org #432401)
9546
9547 2007-03-30  Dan Williams  <dcbw@redhat.com>
9548
9549         * src/NetworkManagerSystem.c
9550                 - (nm_system_device_set_ip4_route): clean up and fix argument
9551                         to nm_dev_sock_open()
9552
9553 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9554
9555         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9556         data to correct types instead of always using string.
9557
9558         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9559         _not_ have NM_802_11_CAP_PROTO_NONE.
9560         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9561         is not set.
9562
9563 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9564
9565         * libnm-glib/Makefile.am: Fix the build issue.
9566
9567 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9568
9569         * libnm-glib/nm-vpn-connection.h: 
9570         * libnm-glib/nm-vpn-connection.c: Implement.
9571
9572         * libnm-glib/nm-client.c: Add VPN support.
9573
9574         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9575         handler for VPN.
9576
9577         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9578         on DBUS again.
9579
9580 2007-03-26  Dan Williams  <dcbw@redhat.com>
9581
9582         * src/NetworkManagerAPList.c
9583         * src/nm-device-802-11-wireless.c
9584         * src/NetworkManagerAP.c:
9585                 - Store last seen as glong instead of GTimeVal.
9586                 - Fix the upper bound of capabilities, it's a bitfield.
9587
9588 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9589
9590         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9591
9592         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9593         "manager-running" signal that notifies the appearance/disappearance of NM.
9594         (nm_client_sleep): Implement.
9595
9596         * libnm-glib/nm-device.c:
9597         * libnm-glib/nm-device-802-11-wireless.c: 
9598         * libnm-glib/nm-device-802-3-ethernet.c: 
9599
9600         Don't inherit from DBusGProxy, add a proxy to private
9601         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9602         for anything but their own dbus interface. DBusGProxy objects support only one
9603         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9604         interface. The nice side effect of this change is that we do not create a new
9605         DBusGProxy object for each property access.
9606
9607 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9608
9609         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9610         with zeroes before passing them to functions - the functions never do that and
9611         reading the values back may produce wrong values.
9612         (real_bring_up): Store the signal handler id ...
9613         (real_bring_down): ... So that it can be removed here.
9614         Disconnect the supplicant interface here as well.
9615         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9616         from the access point instead of old $device/Networks/$essid.
9617
9618         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9619         device state is connected (instead of just having link/carrier).
9620
9621         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9622         already easily accessible through the device.
9623
9624         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9625         store it within the object.
9626         (nm_ap_get_dbus_path): Export it to public as well.
9627
9628         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9629         of the singleton.
9630
9631 2007-03-12  Dan Williams  <dcbw@redhat.com>
9632
9633         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9634         for non-carrier-detect capable devices, and useless for carrier-detect
9635         devices since we get notifications from netlink about carrier status anyway.
9636
9637         * src/nm-device-802-3-ethernet.c
9638                 - remove 'link_source_id' member from private data
9639                 - (probe_link): remove and collapse into real_update_link()
9640                 - (nm_device_802_3_periodic_update): remove
9641                 - (real_is_up): check for sup_iface rather than link_source_id
9642                 - (real_bring_up): return gboolean for success/fail; require that
9643                         sup_iface be valid for device bringup to succeed
9644                 - (real_bring_down): zero out link signal ids
9645
9646         * src/nm-device.c
9647                 - (nm_device_activate_stage2_device_config): fail activation if device
9648                         bringup fails
9649                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9650                         fails
9651                 - (nm_device_bring_up): return success/fail
9652
9653         * src/nm-device.h
9654                 - bring_up now returns success/fail
9655
9656         * src/nm-device-802-11-wireless.c
9657                 - (real_bring_up): return success from bringup
9658
9659 2007-03-07  Dan Williams  <dcbw@redhat.com>
9660
9661         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9662         * src/nm-ap-security-wpa-psk.c
9663                 - (real_write_supplicant_config): work with PSKs that may contain
9664                         zeros in the binary format rather than treating it as a string
9665
9666 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9667
9668         * libnm-glib/nm-device-802-11-wireless.c
9669         (nm_device_802_11_wireless_get_capabilities): Implement.
9670
9671         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9672
9673         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9674
9675         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9676         reply only if it's not NULL. Not sure why this started happening right now.
9677
9678         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9679         code paths for when devices get removed on shutdown or when a device is just
9680         removed.
9681         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9682         gets freed so any signal from a device (disconnected for instance) would invoke
9683         NMState update which would crash.
9684         (nm_manager_remove_device): Bring the device down when it gets removed.
9685
9686         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9687         the unused dev_type.
9688
9689         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9690         reference to the added device, NMManager will own it (if it wants).
9691
9692         * test/nm-tool.c: Rewrite using libnm-glib.
9693
9694         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9695         We get signalled when it changes.
9696
9697         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9698         when it changes.
9699
9700         * libnm-glib/nm-device.c: Cache the device state property.
9701
9702         * libnm-glib/nm-access-point.c: Cache the strength property.
9703
9704         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9705         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9706         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9707         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9708         the device is down, activating, or activated (in case of A/B/G cards).
9709         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9710         it's all done through supplicant now.
9711
9712         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9713         counting issues with pending calls which caused leaks and crashes when
9714         interface was removed (now that the interface actually gets removed).
9715
9716         * src/nm-call-store.c: Make a copy of data before running a foreach
9717         with user callback on it - The most common usage pattern is to cancel
9718         (and thus remove) all pending calls with foreach which would modify
9719         the hash table we're iterating over.
9720
9721         * src/nm-manager.c: When a device is added, make sure it is "up". When
9722         it's removed or disabled due to disabling wireless or networking, bring
9723         it down.
9724
9725         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9726
9727         * src/nm-device-802-11-wireless.c: 
9728         * src/nm-device-802-3-ethernet.c: 
9729         * src/nm-device.c:
9730                 - Remove "init" virtual function, all gobjects have a place for that
9731                   already (constructor).
9732                 - Replace "start" virtual function with "bring_up", devices can be
9733                   brought up and down more than just on startup now.
9734                 - Add "is_up" virtual function.
9735                 - Implement one way to bring a device down instead of previous 4 different
9736                   ways, each of witch did something different.
9737
9738         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9739         all it needs is the device interface.
9740
9741         Get rid of NMData.dev_list (3 members to go).
9742         Get rif of NMData in a lot of places.
9743
9744         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9745
9746 2007-02-23  Dan Williams  <dcbw@redhat.com>
9747
9748         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9749
9750         * src/NetworkManagerAP.c
9751                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9752                         OR-ing rather than AND-ing
9753
9754 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9755
9756         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9757         "network-removed" signals.
9758
9759         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9760
9761         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9762         when receiving the signal from dbus.
9763
9764         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9765         property.
9766
9767         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9768         deactivation of the previously activated device working again.
9769
9770         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9771         and setter.
9772
9773         * src/nm-device.c (nm_device_is_activated): Remove.
9774         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9775
9776         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9777         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9778         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9779         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9780         Remove NMNetworkStatus and NMActStage enums.
9781
9782 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9783
9784         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9785         Handle device state changes and disconnect VPN if it's device deactivates.
9786
9787         * src/nm-dbus-nm.c: 
9788         * src/nm-dbus-nm.h: 
9789         * src/nm-dbus-device.c: 
9790         * src/nm-dbus-device.c: 
9791         * src/nm-dbus-net.c: 
9792         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9793
9794         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9795
9796         * src/nm-device.c (nm_device_get_by_udi):
9797         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9798         implemented in the correct location (NMManager).
9799         Rip out all the test_device stuff.
9800
9801         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9802         failure handlers, it's all done by NMDevice already.
9803
9804         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9805         Remove the iochannel hack to route the unix signals to the main thread since
9806         we're not threaded anymore.
9807
9808         * src/NetworkManagerAP.c: Implement HWAddress property.
9809
9810         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9811         automatically with dbus-glib.
9812
9813         * src/nm-netlink-monitor.c: 
9814         * src/nm-netlink-monitor.h:
9815                 - Move it low in the class hierarchy, don't reference any NM types.
9816                 - Remove private data from the header.
9817                 - Use type safe checks in public API methods.
9818                 - Make it a singleton so we don't have to pass the single reference around.
9819
9820 2007-02-16  Tambet Ingo  <tambet@ximian.com>
9821
9822         * introspection/nm-ip4-config.xml: Implement.
9823
9824         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9825
9826         * libnm-glib/nm-ip4-config.c:
9827         * libnm-glib/nm-ip4-config.c: Implement.
9828
9829         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9830         securities. APs reference security.
9831
9832         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9833         be exported over DBUS.
9834
9835         * src/nm-device-802-3-ethernet.c: Ditto.
9836
9837         * src/NetworkManagerAP.c:
9838         * src/NetworkManagerAP.h:
9839                 - Convert to GObject, export over DBUS.
9840
9841         * src/nm-ip4-config.h:
9842         * src/nm-ip4-config.h:
9843                 - Convert to GObject, export over DBUS.
9844
9845 2007-02-12  Dan Williams  <dcbw@redhat.com>
9846
9847         Patch from Helmut Schaa <hschaa@suse.de>
9848
9849         * vpn-daemons/pptp/configure.in
9850           vpn-daemons/pptp/Makefile.am
9851           vpn-daemons/openvpn/configure.in
9852           vpn-daemons/openvpn/Makefile.am
9853           vpn-daemons/vpnc/configure.in
9854           vpn-daemons/vpnc/Makefile.am
9855                 - Add --without-gnome switch which disables building gnome bits
9856
9857 2007-02-12  Tambet Ingo  <tambet@ximian.com>
9858
9859         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
9860
9861         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
9862
9863         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
9864         'HwAddress'.
9865
9866         * introspection/nm-device.xml: Remove 'UseDhcp' property.
9867
9868         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
9869
9870         Totally break NetworkManager. Please use 0.6 branch until futher notice.
9871
9872         * src/:
9873                 - Remove old low-level dbus interface implementations and replace them
9874                   with dbus-glib one.
9875
9876         * configure.in:
9877                 - Require dbus-glib >= 0.72.
9878                 - Plug in new sources to build.
9879
9880         * libnm-glib/:
9881                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
9882                   to make it more convenient to use from GObject based programs.
9883
9884         * introspection/:
9885                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
9886
9887 2007-02-09  Tambet Ingo  <tambet@ximian.com>
9888
9889         * src/nm-device-802-11-wireless.c:
9890                 - Add "network-added" and "network-removed" signals.
9891                 - Use gobject boilerplate macros to define the GObject.
9892                 - Implement wireless device activation.
9893                 - Remove activation_failure_handler and activation_success_handler
9894                   and instead listen on state-changed signals and run the same code
9895                   from there.
9896
9897         * src/nm-device.c:
9898                 - Implment NMDeviceInterface::deactivate.
9899                 - Remove activation_failure_handler and activation_success_handler
9900                   virtual methods. Each device which is interested in these events
9901                   can just listen on it's state changed signals.
9902
9903         * src/NetworkManagerPolicy.c:
9904                 - Move a bit more NMData usage to NMManager.
9905                 - Remove activation scheduling bits.
9906                 - Add listeners for wireless device's "network-added" and
9907                   "network-removed" signals.
9908                 - Listen device changed signals and deactivate currently activated
9909                   device when another device start activating (for now).
9910                 - Remove (nm_policy_schedule_device_change_check): There's never a need
9911                   for calling this, the policy code knows exactly when this should happen,
9912                   by listening on events from NMManager and NMDevices.
9913
9914         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
9915         Implement.
9916
9917         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
9918         method on the specific device instead of going to through policy code
9919         and determining the device type by passed in AP's existance.
9920
9921         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
9922         abstract NMDevice deactivation.
9923
9924 2007-02-08  Tambet Ingo  <tambet@ximian.com>
9925
9926         * src/NetworkManager.c:
9927                 - Set up all the shiny new managers.
9928
9929         * src/NetworkManagerPolicy.c:
9930                 - Add the beginnings of new NMPolicy code. Instead of requireing all
9931                   classes to call into policy code, make the policy code kind of like
9932                   a supervisor that monitors what's going on and drives the whole NM.
9933
9934         * src/nm-hal-manager.c: 
9935         * src/nm-hal-manager.h:
9936                 - Collect all libhal code scattered around NM to this one class.
9937                 - Listen libhal and NMManager events and add/remove devices to
9938                   NMManager.
9939
9940         * src/nm-manager.c:
9941         * src/nm-manager.h:
9942                 - Implment a replacement for NMData. NMData is now officially
9943                 deprecated.
9944
9945 2007-02-05  Tambet Ingo  <tambet@ximian.com>
9946
9947         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
9948         * src/supplicant-manager/nm-supplicant-interface.h
9949         * src/supplicant-manager/nm-supplicant-interface.c
9950         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
9951         argument to boolean from enum.
9952
9953         Make NMDevice abstract class, remove almost all references to it's
9954         subclasses (the last place gets removed with new policy manager). Add
9955         NMDeviceInterface (which NMDevice implements) so that when we have
9956         NMDevice exported over DBUS, there's a common NMDevice interface which
9957         all instances have, plus there's a device specific interface for each
9958         specific type.
9959         Remove functions (nm_device_is_802_3_ethernet) and
9960         (nm_device_is_802_11_wireless). There are already standard GObject macros
9961         for type safe checks.
9962         Use the updated supplican manager API.
9963
9964         * src/nm-device-interface.h: 
9965         * src/nm-device-interface.c: 
9966         * src/nm-call-store.h: 
9967         * src/nm-call-store.c: Implement.
9968
9969         * src/supplicant-manager/nm-supplicant-interface.c:
9970         * src/supplicant-manager/nm-supplicant-interface.h:
9971         * src/supplicant-manager/nm-supplicant-manager.c:
9972         * src/supplicant-manager/nm-supplicant-manager.h:
9973                 - Remove all private data type references from public header files.
9974                 - Remove all references to other NM classes, this class is just a
9975                   proxy between wpa_supplicant and NM so it doesn't have to know
9976                   any internals.
9977                 - Convert to dbus-glib bindings.
9978                 - Type safe checks for public methods' arguments.
9979                 - Store pending DBUS call ids to NMCallStore.
9980
9981         * src/supplicant-manager/nm-supplicant-config.c:
9982                 - Store config values in a GHashTable instead of GSList.
9983
9984         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
9985
9986         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
9987         singleton now.
9988
9989         * src/nm-device.c: Use the new DHCP manager API.
9990
9991         * src/nm-activation-request.c:
9992         * src/nm-activation-request.h:
9993                 - Remove all dhcp related properties and methods.
9994
9995         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
9996
9997         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
9998
9999         * src/dhcp-manager/nm-dhcp-manager.c:
10000         * src/dhcp-manager/nm-dhcp-manager.h:
10001                 - Convert it to GObject since we need to signal state changes.
10002                 - Remove all references to other NM classes, this class is one
10003                   of the lowest classes in our hierarchy.
10004                 - One less class to use NMActRequest.
10005                 - Make it singleton, one less user of NMData.
10006                 - Remove a couple of sleep() calls.
10007                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10008                   One less class to use the NM's custom tailored signal handlig.
10009
10010         * Makefile.am: Generate marshallers, add them to build.
10011
10012 2007-02-02  Dan Williams  <dcbw@redhat.com>
10013
10014         * configure.in
10015           gnome/Makefile.am
10016           nm-applet.desktop
10017           Makefile.am
10018                 - Remove last bits referencing gnome applet
10019
10020 2007-02-02  Dan Williams  <dcbw@redhat.com>
10021
10022         * src/vpn-manager/nm-vpn-service.c
10023                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10024                         and NBNS server addresses
10025
10026 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10027
10028         * src/nm-dbus-manager.c:
10029         * src/nm-dbus-manager.h:
10030                 - Convert all internal DBUS code to use dbus-glib bindings.
10031                 - Remove GObject properties, we don't need them here.
10032                 - Don't explicitly set things to NULL after freeing, glib is
10033                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10034                 - Make public API argument checks type safe.
10035                 - Remove unnecessary (and wrong) cast to GObject for the first
10036                   argument to g_signal_* calls - The first argument is a gpointer.
10037                 - Export DBusGConnection to other cool classes that (are going to)
10038                   use dbus-glib.
10039
10040 2007-01-26  Dan Williams  <dcbw@redhat.com>
10041
10042         * libnm-util/dbus-dict-helpers.c
10043           libnm-util/dbus-dict-helpers.h
10044                 - Coordinate style with wpa_supplicant version to minimize diff
10045                 - Add uint32 array support
10046                 - (nmu_dbus_dict_append_uint32_array): new function
10047                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10048                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10049                         version; allow adding string array elements individually
10050
10051         * test/libnm-util/test-dbus-dict-helpers.c
10052                 - Test uint32 arrays
10053
10054 2007-01-27  Jürg Billeter  <j@bitron.ch>
10055
10056         * src/backends/NetworkManagerPaldo.c
10057                 - (nm_system_update_dns): clear nscd hosts cache
10058
10059 2007-01-04  Dan Williams  <dcbw@redhat.com>
10060
10061         Threading removal related cleanups:
10062
10063         - Use the glib default main context.  Remove the device main context
10064                 member from NMDevice, and the main_context member from NMData.  Change
10065                 all the idle and timeout scheduler functions to use plain
10066                 g_idle_add() and g_timeout_add().
10067
10068         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10069                 takes an argument; fix that up too.
10070
10071         - Remove all locking, which is useless since we no longer use threads.  For
10072                 example, nm_get_device_by_iface_locked() has been removed.  The global
10073                 device list lock, the AP List lock, and all static locks in
10074                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10075                 in NetworkManagerUtils.c have also been removed.
10076
10077         - Other cleanups in spacing and code style
10078
10079 2007-01-01  Dan Williams  <dcbw@redhat.com>
10080
10081         Found by Bill Moss:
10082
10083         * src/supplicant-manager/nm-supplicant-interface.c
10084                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10085                         the supplicant interface wasn't already disconnected.  Always
10086                         call removeNetwork and disconnect unless the supplicant interface
10087                         is in the DISCONNECTED or INACTIVE state.
10088
10089 2006-12-28  Dan Williams  <dcbw@redhat.com>
10090
10091         Use a single thread for everything.  With the move to wpa_supplicant
10092         and communication over D-Bus, there's no reason for multiple threads.
10093         Almost all of the blocking code has been removed, with one exception in
10094         the DHCP manager and a few in the VPN manager.  This commit removes the
10095         per-device worker thread and fixes activation cancellation in the absence
10096         of threads.  Further removal of thread-related code would be removing
10097         any locking code (like the device list lock) and simplification of logic
10098         around areas of code or data structures that are currently locked.
10099
10100         * autoip.c
10101           dhcp-manager/nm-dhcp-manager.c 
10102           nm-device-802-11-wireless.c
10103           nm-device-802-3-ethernet.c
10104           nm-device.c
10105           nm-device.h
10106                 - Remove usage of multiple threads
10107
10108 2006-12-19  Dan Williams  <dcbw@redhat.com>
10109
10110         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10111         plus a few other patches from wpa_supplicant bugzilla.
10112
10113         * src/Makefile.am
10114           src/NetworkManagerPolicy.c
10115           src/NetworkManagerUtils.c
10116           src/NetworkManagerUtils.h
10117           src/nm-ap-security-leap.c
10118           src/nm-ap-security-wep.c
10119           src/nm-ap-security-wpa-eap.c
10120           src/nm-ap-security-wpa-psk.c
10121           src/nm-ap-security.c
10122           src/nm-ap-security.h
10123           src/nm-device-802-11-wireless.c
10124           src/nm-device-802-11-wireless.h
10125           src/supplicant-manager/nm-supplicant-config.c
10126           src/supplicant-manager/nm-supplicant-config.h
10127           src/supplicant-manager/nm-supplicant-interface.c
10128           src/supplicant-manager/nm-supplicant-interface.h
10129           src/supplicant-manager/nm-supplicant-marshal.list
10130           src/supplicant-manager/nm-supplicant-settings-verify.c
10131           src/supplicant-manager/nm-supplicant-settings-verify.h
10132                 - Move all connection management and association handling to
10133                         wpa_supplicant over dbus, rather than spawning a private copy
10134
10135 2006-12-19  Dan Williams  <dcbw@redhat.com>
10136
10137         * src/NetworkManagerPolicy.c
10138                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10139                         better locking of the device change check handler ID.  Incorrect
10140                         locking was causing lost device change requests
10141
10142 2006-12-18  Dan Williams  <dcbw@redhat.com>
10143
10144         * libnm-util/dbus-dict-helpers.c
10145                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10146                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10147                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10148
10149 2006-12-18  Dan Williams  <dcbw@redhat.com>
10150
10151         * gnome/libnm_glib/libnm_glib.c
10152                 - Change dbus_connection_close() -> dbus_connection_unref()
10153
10154 2006-12-11  Dan Williams  <dcbw@redhat.com>
10155
10156         * src/supplicant-manager/nm-supplicant-interface.c
10157                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10158                         wpa_supplicant interface state
10159                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10160                         state before transitioning to READY state
10161
10162 2006-12-04  Dan Williams  <dcbw@redhat.com>
10163
10164         * src/nm-device-802-11-wireless.c
10165                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10166                         odd length of ESSID returned from ieee80211 stack-based drivers
10167
10168 2006-12-04  Dan Williams  <dcbw@redhat.com>
10169
10170         * src/nm-device-802-11-wireless.c
10171                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10172                         IE handling blocks that cause mis-parsing of the IE
10173
10174 2006-12-04  Dan Williams  <dcbw@redhat.com>
10175
10176         * src/nm-device-802-11-wireless.c
10177                 - (init_supplicant_interface): new function; pull supplicant interface
10178                         setup code out into standalone function since it must be called from
10179                         two different places
10180                 - (real_init): sup_mgr is now in private object data; get and track
10181                         the supplicant manager object over the NMDevice subclass' lifetime
10182                         and register a signal handler for its state signals; only try to
10183                         initialize the supplicant interface if the supplicant manager is in
10184                         the IDLE state (and therefore is ready for requests)
10185                 - (request_wireless_scan): reschedule the scan request if (a) there is
10186                         no supplicant interface yet (meaning wpa_supplicant isn't running
10187                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10188                         for requests yet
10189                 - (supplicant_iface_connection_state_cb): new function; stub for
10190                         handling supplicant interface connection state signals
10191                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10192                         comes and goes
10193                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10194                         supplicant manager object that's being tracked starting with this
10195                         commit
10196
10197 2006-12-04  Dan Williams  <dcbw@redhat.com>
10198
10199         * src/supplicant-manager/nm-supplicant-interface.c
10200                 - (nm_supplicant_interface_set_property): track signal handler ID
10201                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10202
10203 2006-12-04  Dan Williams  <dcbw@redhat.com>
10204
10205         * src/supplicant-manager/nm-supplicant-interface.[ch]
10206                 - (nm_supplicant_interface_get_state): new function
10207
10208 2006-12-04  Dan Williams  <dcbw@redhat.com>
10209
10210         * src/supplicant-manager/nm-supplicant-interface.c
10211                 - (bssid_properties_cb): don't treat DBus errors as valid
10212                         scanned AP messages
10213
10214 2006-12-04  Dan Williams  <dcbw@redhat.com>
10215
10216         * src/supplicant-manager/nm-supplicant-interface.[ch]
10217                 - (nm_supplicant_interface_get_connection_state): new function
10218                 - define new supplicant connection states
10219                 - send a signal when the supplicant connection state changes
10220
10221 2006-12-03  Dan Williams  <dcbw@redhat.com>
10222
10223         * src/supplicant-manager/Makefile.am
10224           src/supplicant-manager/nm-supplicant-connection.h
10225           src/supplicant-manager/nm-supplicant-connection.c
10226           src/supplicant-manager/nm-supplicant-config.h
10227           src/supplicant-manager/nm-supplicant-config.c
10228           src/supplicant-manager/nm-supplicant-types.h
10229           src/supplicant-manager/nm-supplicant-interface.h
10230           src/supplicant-manager/nm-supplicant-interface.c
10231                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10232
10233 2006-12-03  Dan Williams  <dcbw@redhat.com>
10234
10235         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10236
10237         * po/POTFILES.in
10238           po/POTFILES.skip
10239                 - Move VPN-related translatables to .skip
10240
10241         * vpn-daemons/pptp/po/POTFILES.in
10242                 - Update with new translatables
10243
10244 2006-12-02  Dan Williams  <dcbw@redhat.com>
10245
10246         Patch from Christian Persch <chpe@gnome.org>
10247
10248         * gnome/applet/Makefile.am
10249           gnome/applet/applet-dbus-devices.c
10250           gnome/applet/applet-notifications.c
10251           gnome/applet/applet.c
10252           gnome/applet/applet.h
10253           gnome/applet/main.c
10254                 - Be a GtkStatusIcon on GTK+ >= 2.10
10255
10256 2006-12-02  Dan Williams  <dcbw@redhat.com>
10257
10258         * gnome/applet/applet.c
10259                 - (nma_update_info): fix two unecessary allocations
10260
10261 2006-12-02  Dan Williams  <dcbw@redhat.com>
10262
10263         Patch from Michael Biebl <biebl@teco.edu>
10264         * configure.in
10265           man/NetworkManager.1.in
10266           man/NetworkManagerDispatcher.1.in
10267           man/NetworkManager.8.in
10268           man/NetworkManagerDispatcher.8.in
10269                 - Add .SH NAME stanzas
10270                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10271
10272 2006-12-02  Dan Williams  <dcbw@redhat.com>
10273
10274         Patch from Christian Persch <chpe@gnome.org>
10275
10276         * configure.in
10277                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10278
10279 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10280
10281         Patch by Timo Hoenig <thoenig@suse.de>:
10282         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10283         DBUS-1.0.
10284
10285         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10286         we can't use the one from the main source directory.
10287
10288 2006-11-27  Dan Williams  <dcbw@redhat.com>
10289
10290         Patch from Christian Persch <chpe@gnome.org>
10291
10292         * gnome/applet/applet-dbus-devices.c
10293                 - (hal_info_product_cb): fix memleak; free duped string.
10294                         Gnome.org #379908
10295
10296 2006-11-27  Dan Williams  <dcbw@redhat.com>
10297
10298         Patch from Christian Persch <chpe@gnome.org>
10299
10300         * gnome/applet/menu-items.c
10301                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10302                         as gtk_progress_set_percentage is deprecated.  Should
10303                         work as far back as GTK+ 2.4.  Gnome.org #379780
10304
10305 2006-11-26  Dan Williams  <dcbw@redhat.com>
10306
10307         Scan using wpa_supplicant over DBus.
10308
10309         * src/nm-device-802-11-wireless.c
10310                 - remove wireless extensions netlink event handler bits
10311                         (wireless_event_helper, nm_device_802_11_wireless_event)
10312                 - remove wireless extensions scan event handler bits
10313                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10314                         hex2byte, hex2num, request_and_convert_scan_results,
10315                         free_process_scan_cb_data, scan_results_timeout,
10316                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10317                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10318                         and request scans from the supplicant interface rather than directly
10319                 - Move functionality of convert_scan_results() to cull_scan_list() and
10320                         supplicant_iface_scanned_ap_cb()
10321                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10322                         at the scan interval when the current scan has finished
10323                 - (supplicant_iface_state_cb): start scanning when the supplicant
10324                         interface enters the READY state, and stop scanning when it
10325                         enters the DOWN state
10326                 - (cull_scan_list): weed out old access points from the scan list
10327                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10328                         point into an NMAccessPoint and merge it into the device's scan list
10329
10330         * src/supplicant-manager/nm-supplicant-interface.c
10331           src/supplicant-manager/nm-supplicant-interface.h
10332                 - Add a new signal "scan-result" which is issued when the supplicant
10333                         notifies NM that a scan has completed
10334                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10335                         point found in the scan.  Called once for each access point that
10336                         the supplicant interface object receives from the supplicant as a
10337                         result of the "scanResults" method call
10338                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10339                         for the initial scan results
10340                 - (scan_request_cb): new function; send listeners the result
10341                         (success, error) of a wireless scan request
10342                 - (nm_supplicant_interface_request_scan): new function; ask the
10343                         supplicant to perform an immediate wireless scan
10344
10345 2006-11-25  Dan Williams  <dcbw@redhat.com>
10346
10347         * src/supplicant-manager/Makefile.am
10348                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10349                         add HAL cflags/includes and named-manager includes directory
10350
10351         * src/supplicant-manager/nm-supplicant-interface.h
10352                 - New state STARTING to handle transition from INIT to READY where
10353                         the addInterface pending call is still outstanding
10354
10355         * src/supplicant-manager/nm-supplicant-interface.c
10356                 - track pending calls differently since we may have more than one
10357                         going on at any given time
10358                 - request scan results from wpa_supplicant; but don't do it more often
10359                         than every 4 seconds.  Drivers that do background scanning
10360                         (like the 'ipw' drivers) send a continuous stream of scan completion
10361                         notifications, so we don't want to hammer the supplicant or dbus
10362                         with requests for all scan results every time we get a completion
10363                         notification.
10364
10365 2006-11-25  Dan Williams  <dcbw@redhat.com>
10366
10367         * src/supplicant-manager/nm-supplicant-types.h
10368                 - new file; move all supplicant manager object typedefs here for
10369                         #include sanity
10370
10371         * src/supplicant-manager/nm-supplicant-interface.c
10372           src/supplicant-manager/nm-supplicant-interface.h
10373                 - new file; an object that interfaces an NMDevice object to the
10374                         supplicant and handles signals from the supplicant.  This object
10375                         does all necessary DBus communication with wpa_supplicant.
10376
10377         * src/supplicant-manager/nm-supplicant-manager.c
10378           src/supplicant-manager/nm-supplicant-manager.h
10379                 - Actually do something.  Track the state of the wpa_supplicant service
10380                         and deal with its comings & goings.  Handle life events of
10381                         supplicant interfaces too.
10382                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10383
10384         * src/supplicant-manager/nm-supplicant-connection.h
10385                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10386
10387         * src/supplicant-manager/Makefile.am
10388                 - Add new files to build, and add libnm-util to includes
10389
10390         * src/nm-marshal.list
10391                 - New marshaler type: VOID:UINT,UINT
10392
10393         * src/nm-device-802-3-ethernet.c
10394                 - (real_init): grab a supplicant interface
10395                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10396                 - (supplicant_iface_state_cb): new function, stub for handling
10397                         supplicant interface state changes
10398
10399         * src/nm-device-802-11-wireless.c
10400                 - (real_init): grab a supplicant interface
10401                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10402                 - (supplicant_iface_state_cb): new function, stub for handling
10403                         supplicant interface state changes
10404
10405         * src/NetworkManager.c
10406                 - (main): create and keep the supplicant manager around for the lifetime
10407                         of NetworkManager
10408
10409         * src/Makefile.am
10410                 - Link to the supplicant manager sub-library and use the supplicant
10411                         manager includes
10412
10413 2006-11-25  Dan Williams  <dcbw@redhat.com>
10414
10415         Rework DBus manager signal handling to be more flexible.  Previously,
10416         only one signal handler could be registered for a particular interface.
10417         The DBus manager now reference counts DBus bus matches and allows multiple
10418         clients to register signal handlers for the same interface and sender.
10419
10420         * src/NetworkManager.c
10421                 - (main): track NMI signal handler ID and remove it when we quit
10422
10423         * src/NetworkManagerMain.h
10424                 - Keep track of NMI signal handler ID
10425
10426         * src/nm-dbus-manager.c
10427           src/nm-dbus-manager.h
10428                 - rework signal handling; each signal handler references one signal
10429                         match, but a signal match may be referenced by one or more
10430                         signal handlers.  Matches are refcounted and are destroyed when the
10431                         last signal handler that references the match is removed.  This is
10432                         necessary because two signal handlers may end up requiring the same
10433                         dbus bus match, so the match must live until the last signal handler
10434                         is destroyed (for example, with the wpa_supplicant network interface
10435                         dbus interface).
10436
10437         * src/dhcp-manager/nm-dhcp-manager.c
10438                 - (nm_dhcp_manager_new): track DHCP signal handler id
10439                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10440
10441         * src/vpn-manager/nm-vpn-service.c
10442                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10443                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10444
10445 2006-11-25  Dan Williams  <dcbw@redhat.com>
10446
10447         Suggested by Helmut Schaa <hschaa@suse.de>
10448
10449         * src/vpn-daemons/nm-vpn-service.c
10450                 - (supplicant_child_setup): new function
10451                 - (supplicant_exec): make child process use a new process group id
10452
10453         * src/nm-device-802-11-wireless.c
10454                 - (nm_vpn_service_child_setup): new function
10455                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10456                         process group id
10457
10458 2006-11-19  Dan Williams  <dcbw@redhat.com>
10459
10460         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10461         * gnome/vpn-properties/nm-vpn-properties.c
10462                 - clean up after renamed VPN connection
10463
10464 2006-11-19  Dan Williams  <dcbw@redhat.com>
10465
10466         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10467         * gnome/applet/applet-dbus-vpn.c
10468                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10469
10470         * gnome/vpn-properties/nm-vpn-properties.c
10471                 - (init_app): sort VPN connections
10472
10473 2006-11-09  Dan Williams  <dcbw@redhat.com>
10474
10475         * src/NetworkManagerAPList.c
10476                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10477                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10478                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10479                 broke hidden SSID matching.  Found by Bill Moss.
10480
10481 2006-10-25  Dan Williams  <dcbw@redhat.com>
10482
10483         * src/nm-dbus-nm.c
10484                 - (nm_dbus_nm_set_active_device): return an empty success message on
10485                         success, rather than falling through to the error case.
10486
10487 2006-10-25  Dan Williams  <dcbw@redhat.com>
10488
10489         * src/NetworkManagerUtils.c
10490                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10491                         "SCAN" command
10492
10493 2006-10-24  Dan Williams  <dcbw@redhat.com>
10494
10495         Reduce the number of times the Gnome applet wakes up, especially when
10496         it's doing absolutely nothing and is hidden.  Initial patch by
10497         Chris Aillon.
10498
10499         * gnome/applet/applet-dbus.c
10500                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10501                         kill the redraw timeout.  When NM starts up, start the redraw
10502                         timeout.  Also, if we get kicked off the bus for some reason,
10503                         start the reconnection timeout if one's not already running.
10504                 - (nma_dbus_init): better handling of error conditions, don't leak
10505                         a half-initialized dbus connection
10506                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10507                         the applet's data, just call nm_dbus_init_helper()
10508                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10509                         timeout that calls nma_dbus_connection_watcher()
10510                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10511                         reconnection timeout, and don't start the reconnection timeout
10512                         unconditionally anymore
10513
10514         * gnome/applet/applet-dbus.h
10515                 - Expose nma_start_dbus_connection_watch()
10516
10517         * gnome/applet/applet.c
10518                 - (nma_update_state): no longer static, called from applet-dbus.c for
10519                         immediate UI updates on certain events
10520                 - (nma_set_running): new function; take over setting applet->running,
10521                         when not running (ie, NM is not active), don't activate the redraw
10522                         timeout because we're not showing the applet anyway.  When we are
10523                         running (ie, NM is active), and only when we're running, start the
10524                         redraw timeout.
10525                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10526                         kill any reconnection timeout
10527                 - (nma_get_instance): move one-off dbus initialization code here since
10528                         nm_dbus_init_helper() gets called more than once, possibly by the
10529                         reconnection timeout function too.  And, when we start up, if we
10530                         can't get a connection to the bus, start the reconnection timeout.
10531                         But don't start the redraw timeout yet, only do that when we get
10532                         NM's state and find out if it's running or not.
10533
10534         * gnome/applet/applet.h
10535                 - Add the reconnection GSource ID
10536                 - Add prototypes for nma_set_running() and the no-longer-static
10537                         nma_update_state()
10538
10539 2006-10-24  Dan Williams  <dcbw@redhat.com>
10540
10541         * src/vpn-daemons/nm-dbus-vpnc.c
10542                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10543                         pending call tracker
10544                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10545                         pending call tracker; register one-vpn-connection update pending
10546                         call in pending call tracker
10547                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10548                         update pending call in pending call tracker
10549                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10550                         update pending call in pending call tracker; don't block waiting
10551                         for call to return
10552
10553 2006-10-19  Robert Love  <rml@novell.com>
10554
10555         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10556           refresh the cache.
10557
10558 2006-10-14  Dan Williams  <dcbw@redhat.com>
10559
10560         * src/dhcp-manager/nm-dhcp-manager.c
10561                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10562                 the dbus connection and the device object path rather than
10563                 constructing it inside both functions.  Saves a bit of memory
10564                 and clarifies a failure path.
10565                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10566                 and allocate device path here rather than each of the two
10567                 functions above.
10568
10569 2006-10-13  Dan Williams  <dcbw@redhat.com>
10570
10571         * src/NetworkManager.c
10572                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10573                 this somehow droppout in the refactor
10574
10575 2006-10-13  Dan Williams  <dcbw@redhat.com>
10576
10577         * Huge DBus refactor:
10578                 - Create a "DBus Manager" object which manages the connection and
10579                 sends signals on NameOwnerChanged and connection/disconnection events,
10580                 handles reconnection to the bus if NM gets kicked off, and abstracts
10581                 signal handling
10582                 - Remove DBusConnection members from places where they are no
10583                 longer needed due to the refactor, like the dbus-connection
10584                 property of the named manager, and from NMData
10585                 - Reformats a bunch of the code to gnome style
10586                 (8-space tabs, braces on same line as statement, 80-col width).
10587                 Consider it open season to reformat any bits to gnome style.
10588                 style that aren't already.
10589
10590 2006-10-13  Dan Williams  <dcbw@redhat.com>
10591
10592         * src/supplicant-manager/Makefile.am
10593                 - Add new files
10594
10595         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10596                 - Make it a minimal GObject
10597
10598         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10599                 - Verify settings destined for wpa_supplicant
10600
10601         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10602                 - Minimal GObject to track wpa_supplicant controlled device
10603                 connections
10604
10605 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10606
10607         * gnome/applet/applet.c: (nma_update_info),
10608         (nma_act_stage_to_pixbuf), (nma_update_state):
10609         Mark missing strings for translation. Fixes bug #343306.
10610
10611 2006-10-01  Dan Williams  <dcbw@redhat.com>
10612
10613         * src/vpn-manager/nm-vpn-manager.c
10614                 - (nm_vpn_manager_load_services): split and clean up
10615                 for readability and correctness.  Restrict VPN service
10616                 files to ending in ".name", as was meant from the
10617                 beginning (but not coded in).  Better error reporting.
10618
10619 2006-10-01  Dan Williams  <dcbw@redhat.com>
10620
10621         * utils/nm-utils.h
10622                 - Clean up formatting of debug/info/warning log messages
10623
10624 2006-09-27  Robert Love  <rml@novell.com>
10625
10626         Patch by Tambet Ingo <tambet@ximian.com>:
10627         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10628           actually work.
10629
10630 2006-09-07  Dan Williams <dcbw@redhat.com>
10631
10632         * test/Makefile.am
10633           test/libnm-util/Makefile.am
10634           test/nm-supplicant-test.c
10635                 - Add test program emulating the way NM drives wpa_supplicant
10636                 to help debug supplicant issues
10637
10638 2006-08-24  Dan Williams <dcbw@redhat.com>
10639
10640         * configure.in
10641           src/Makefile.am
10642           src/supplicant-manager/Makefile.am
10643           src/supplicant-manager/nm-supplicant-manager.c
10644           src/supplicant-manager/nm-supplicant-manager.h
10645                 - Add skeleton bits of the wpa_supplicant manager
10646
10647 2006-08-24  Dan Williams <dcbw@redhat.com>
10648
10649         Patch from Ed Catmur:
10650         * src/NetworkManagerUtils.c
10651                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10652                 if netmask is 0 (Gnome #352634)
10653
10654 2006-08-17  Robert Love  <rml@novell.com>
10655
10656         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10657           package is now DBUS-enabled and listens for the NM signals.
10658
10659 2006-08-14  Dan Williams  <dcbw@redhat.com>
10660
10661         * Patch from Christian Persch <chpe gnome org>
10662         * configure.in
10663           po/LINGUAS
10664           vpn-daemons/openvpn/po/LINGUAS
10665           vpn-daemons/openvpn/configure.in
10666           vpn-daemons/pptp/po/LINGUAS
10667           vpn-daemons/pptp/configure.in
10668           vpn-daemons/vpnc/po/LINGUAS
10669           vpn-daemons/vpnc/configure.in
10670                 - Convert to LINGUAS method so translators don't have to modify
10671                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10672                 0.35 or higher
10673
10674 2006-08-14  Dan Williams  <dcbw@redhat.com>
10675
10676         Patch from Alex Smith <alex.extreme2@gmail.com>
10677         * configure.in
10678           src/backends/Makefile.am
10679           src/backends/NetworkManagerFrugalware.c
10680                 - Add support for Frugalware
10681
10682 2006-08-13  Dan Williams  <dcbw@redhat.com>
10683
10684         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10685         * src/nm-device-802-11-wireless.c
10686                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10687                 Gnome #346875
10688
10689 2006-08-13  Dan Williams  <dcbw@redhat.com>
10690
10691         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10692         * src/nm-ap-security.c
10693           src/nm-ap-security.h
10694                 - Add authentication_required bits for subclasses to specify whether
10695                 or not real authentication is required for connections, i.e. whether
10696                 the AP rejects us when an encryption key is wrong or not.
10697
10698         * src/nm-ap-security-wep.c
10699           src/nm-ap-security-wpa-eap.c
10700           src/nm-ap-security-wpa-psk.c
10701           src/nm-ap-security-leap.c
10702                 - Implement authentication_required appropriately for each method
10703
10704         * src/nm-device-802-11-wireless.c
10705                 - Be smarter about when to request a key; for example, using a wrong key
10706                 in WEP shared key mode previously just timed out and did not request
10707                 a new key
10708
10709 2006-08-13  Dan Williams  <dcbw@redhat.com>
10710
10711         * gnome/libnm_glib/libnm_glib.c
10712                 - dbus_connection_disconnect() -> dbus_connection_close() for
10713                 dbus >= 0.90
10714
10715 2006-08-07  Dan Williams  <dcbw@redhat.com>
10716
10717         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10718         * src/NetworkManagerSystem.c
10719                 - Respect specified MTU.  Gnome #344967
10720
10721 2006-08-07  Dan Williams  <dcbw@redhat.com>
10722
10723         * src/vpn-manager/nm-vpn-service.c
10724                 - Simplify print_vpn_config() arguments
10725
10726         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10727         * src/vpn-manager/Makefile.am
10728           src/vpn-manager/nm-vpn-service.c
10729                 - Add new API for passing VPN config options as a dict. Gnome #344967
10730
10731 2006-08-06  Dan Williams  <dcbw@redhat.com>
10732
10733         * gnome/applet/applet-dbus-devices.c
10734           gnome/applet/applet-dbus-vpn.c
10735           gnome/applet/applet-dbus.c
10736           gnome/applet/applet-dbus.h
10737           src/nm-dbus-nmi.c
10738           utils/nm-utils.c
10739           utils/nm-utils.h
10740                 - Make pending call tracking code generic,
10741                 so we can use it in NM as well as the applet
10742
10743 2006-08-06  Dan Williams  <dcbw@redhat.com>
10744
10745         * src/nm-activation-request.c
10746                 - Refcount pending call objects
10747
10748 2006-08-06  Dan Williams  <dcbw@redhat.com>
10749
10750         Patch from Christan Chiesa <christanc@gmail.com>
10751         * configure.in
10752                 - Tell sha1.c to use bigendian mode on PPC
10753
10754 2006-08-04  Robert Love  <rml@novell.com>
10755
10756         Glib Memory Slices!
10757         * configure.in: Require glib 2.10 or later.
10758         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10759           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10760           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10761           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10762           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10763           Memory Slices are the greatest thing since bread slices.
10764         * src/NetworkManagerAP.c: Also, fix memory leak.
10765
10766 2006-08-01  Robert Love  <rml@novell.com>
10767
10768         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10769
10770 2006-07-31  Robert Love  <rml@novell.com>
10771
10772         * src/backends/interface_parser.c: Declarations must begin the block.
10773
10774 2006-07-24  Dan Williams  <dcbw@redhat.com>
10775
10776         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10777         * src/backends/Makefile.am
10778           src/backends/NetworkManagerArch.c
10779           src/backends/NetworkManagerDebian.c
10780           src/backends/NetworkManagerGeneric.c
10781           src/backends/NetworkManagerGeneric.h
10782           src/backends/NetworkManagerGentoo.c
10783           src/backends/NetworkManagerPaldo.c
10784           src/backends/NetworkManagerRedHat.c
10785           src/backends/NetworkManagerSlackware.c
10786           src/backends/NetworkManagerSuSE.c
10787                 - Genericize common backend functions
10788
10789 2006-07-18  Robert Love  <rml@novell.com>
10790
10791         * configure.in: Add "--with-notify" option to allow disabling of
10792           libnotify support.
10793
10794 2006-07-13  Dan Williams  <dcbw@redhat.com>
10795
10796         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10797         * gnome/applet/applet.glade
10798           gnome/applet/Makefile.am
10799           gnome/applet/nm-gconf-wso.c
10800           gnome/applet/nm-gconf-wso-leap.c
10801           gnome/applet/nm-gconf-wso-leap.h
10802           gnome/applet/wireless-security-manager.c
10803           gnome/applet/wso-leap.c
10804           gnome/applet/wso-leap.h
10805           include/NetworkManager.h
10806           libnm-util/dbus-helpers.c
10807           libnm-util/dbus-helpers.h
10808           src/Makefile.am
10809           src/NetworkManagerAP.c
10810           src/nm-ap-security.c
10811           src/nm-ap-security-leap.c
10812           src/nm-ap-security-leap.h
10813                 - Add LEAP authentication support
10814
10815 2006-07-13  Dan Williams  <dcbw@redhat.com>
10816
10817         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10818         * configure.in
10819           src/backends/NetworkManagerArch.c
10820           src/backends/NetworkManagerDebian.c
10821           src/backends/NetworkManagerGentoo.c
10822           src/backends/NetworkManagerPaldo.c
10823           src/backends/NetworkManagerRedHat.c
10824           src/backends/NetworkManagerSlackware.c
10825           src/backends/NetworkManagerSuSE.c
10826                 - Convert hardcoding of 'ip' path to configure-time
10827                         detected one
10828
10829 2006-07-12  Leonid Kanter <leon@asplinux.ru>
10830
10831         * configure.in: added ru to ALL_LINGUAS
10832
10833 2006-07-10  Dan Williams  <dcbw@redhat.com>
10834
10835         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10836         * src/nm-device.c
10837                 - (real_act_stage3_ip_config_start): don't infinite loop when
10838                         dhcdbd isn't running (Gnome #346845)
10839
10840 2006-07-09  Dan Williams  <dcbw@redhat.com>
10841
10842         * gnome/applet/applet.c
10843                 - (nma_destroy): don't pass NULL to notify_notification_close
10844                         (RH #197917)
10845
10846 2006-07-09  Dan Williams  <dcbw@redhat.com>
10847
10848         * gnome/applet/applet.c
10849                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
10850
10851 2006-07-04  Tor Krill  <tor@krill.nu>
10852
10853         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10854         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
10855         (nm_system_restart_mdns_responder), (ArchReadConfig),
10856         (nm_system_device_get_system_config):
10857                 - Explicitly check for DHCP configuration
10858                 - Check if daemons are running before starting them
10859
10860 2006-06-25  Dan Williams  <dcbw@redhat.com>
10861
10862         * libnm-util/dbus-dict-helpers.[ch]
10863           test/libnm-util/test-dbus-dict-helpers.c
10864                 - Add string array support
10865
10866 2006-06-24  Dan Williams  <dcbw@redhat.com>
10867
10868         * src/dhcp-manager/nm-dhcp-manager.c
10869                 - (nm_dhcp_manager_process_signal): clean up spacing
10870
10871 2006-06-21  Dan Williams  <dcbw@redhat.com>
10872
10873         * src/nm-dbus-device.c
10874                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
10875                         through dbus
10876
10877 2006-06-21  Raivis Dejus  <orvils@gmail.com>
10878
10879         * configure.in: Added 'lv' to ALL_LINGUAS
10880
10881 2006-06-19  Dan Williams  <dcbw@redhat.com>
10882
10883         * src/NetworkManagerAP.c
10884                 - Clarify usage of user_created
10885
10886         * src/nm-ap-security-wep.c
10887           src/nm-ap-security-wpa-eap.c
10888           src/nm-ap-security-wpa-psk.c
10889           src/nm-ap-security.c
10890           src/nm-ap-security.h
10891                 - s/user_created/adhoc, because we really do mean adhoc
10892
10893         Patch from Bernard Blackham <bernard@blackham.com.au>
10894         * src/nm-device-802-11-wireless.c         
10895                 - (supplicant_send_network_config): instead of user_created,
10896                         use adhoc, and do AP_SCAN 2 for adhoc networks
10897
10898 2006-06-18  Robert Love  <rml@novell.com>
10899
10900         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
10901           we have a value to set.  Gconf generates a warning if `val' is NULL.
10902         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
10903           unless we actually received a valid private key file passphrase or
10904           password.  Otherwise, we don't know to later ask the applet to pull
10905           the key from the keyring.
10906
10907 2006-06-17  Dan Williams  <dcbw@redhat.com>
10908
10909         * libnm-util/dbus-dict-helpers.[ch]
10910           test/libnm-util/test-dbus-dict-helpers.c
10911                 - Fixes for zero-length byte arrays
10912                 - Replace return values of 0 with FALSE for clarity
10913                 - Test zero-length byte arrays
10914
10915 2006-06-17  Dan Williams  <dcbw@redhat.com>
10916
10917         * libnm-util/dbus-dict-helpers.[ch]
10918           test/libnm-util/test-dbus-dict-helpers.c
10919                 - Add helpers for byte arrays
10920                 - Rework bits of the testcase
10921
10922 2006-06-16  Dan Williams  <dcbw@redhat.com>
10923
10924         * libnm-util/Makefile.am
10925         * libnm-util/dbus-dict-helpers.[ch]
10926                 - Add some helpers to take the pain out of using dict types in
10927                         dbus.
10928
10929         * test/libnm-util/Makefile.am
10930         * test/libnm-util/test-dbus-dict-helpers.c
10931                 - Test cases for the dict helper functions
10932
10933 2006-06-15  Robert Love  <rml@novell.com>
10934
10935         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
10936           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
10937           if there is no key to pass.
10938         * libnm-util/dbus-helpers.c: Given the above, we can trust always
10939           receiving a non-NULL key.
10940
10941 2006-06-14  Robert Love  <rml@novell.com>
10942
10943         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
10944           copy the strings.
10945
10946
10947 2006-06-14  Dan Williams  <dcbw@redhat.com>
10948
10949         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
10950         * src/nm-device-802-11-wireless.c
10951                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
10952                         or ones where the driver is unknown
10953                 - (supplicant_exec): don't wait for supplicant startup here
10954                 - (supplicant_interface_init): finer grained polling for supplicant
10955                         startup
10956
10957 2006-06-13  Robert Love  <rml@novell.com>
10958
10959         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
10960           if it is currently set to TRUE.  Otherwise, we will reset the value
10961           when we connect normally.
10962         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
10963           the old BSSID is valid, too.  The recently added ESSID check may not be
10964           sufficient (we can remove it?).  What we really want to catch is the
10965           case of going from all-zeros to the BSSID of some other network, which
10966           happens on failure.
10967
10968 2006-06-09  Dan Williams  <dcbw@redhat.com>
10969
10970         * src/NetworkManagerSystem.[ch]
10971                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
10972                         it was unused and pointless
10973                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
10974                         fix for set_up_down_with_iface change
10975
10976         * src/vpn-manager/nm-vpn-connection.c
10977                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
10978
10979         * src/backends/NetworkManagerPaldo.c
10980           src/backends/NetworkManagerRedHat.c
10981           src/backends/NetworkManagerSuSE.c
10982           src/backends/NetworkManagerArch.c
10983           src/backends/NetworkManagerDebian.c
10984           src/backends/NetworkManagerGentoo.c
10985                 - (nm_system_enable_loopback): use set_up_down_with_iface where
10986                         appropriate
10987                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
10988                         where appropriate
10989
10990 2006-06-09  Dan Williams  <dcbw@redhat.com>
10991
10992         Patch from Peter Jones:
10993         * src/nm-device-802-11-wireless.c
10994                 - (nm_device_802_11_wireless_update_bssid): make sure that the
10995                         SSID hasn't changed from what we expect before automatically
10996                         updating the saved BSSID from a new AP
10997
10998 2006-06-08  Robert Love  <rml@novell.com>
10999
11000         Add 'fallback' support.  NetworkManager will attempt to brute-force
11001         connect to networks marked as fallback if there are no better wireless
11002         connections available.  This is useful as a method of last resort, to
11003         work around driver problems, and for use with hidden networks.
11004         * gnome/applet/applet-dbus-devices.c,
11005           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11006         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11007           pass it on via DBUS.
11008         * gnome/applet/applet.c: No fallback by default.
11009         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11010           Update other-network-dialog to add UI checkbox toggling fallback.
11011         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11012           propery from AP object.  Add "fallback" property to AP object.
11013         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11014         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11015         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11016           separate function.  Add get_best_fallback_ap() for returning an AP
11017           on which to attempt fallback.
11018         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11019         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11020
11021 2006-06-07  Robert Love  <rml@novell.com>
11022
11023         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11024           checked that the return type was GCONF_VALUE_STRING, not the correct
11025           GCONF_VALUE_BOOL, and thus it never worked.
11026         * src/NetworkManagerAPList.c: Before concluding that two networks are
11027           identical based on their BSSID, make sure that the BSSID in question
11028           is actually valid.  Specifically, an empty or all zero BSSID does not
11029           cut it.
11030         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11031           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11032           similar invariant clean up.
11033
11034 2006-06-02  Robert Love  <rml@novell.com>
11035
11036         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11037
11038 2006-05-28  Dan Williams  <dcbw@redhat.com>
11039
11040         * gnome/applet/applet.glade
11041           gnome/vpn-properties/nm-vpn-properties.glade
11042                 - Set window icons on dialogs  (Gnome.org #333420)
11043
11044 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11045
11046         * gnome/vpn-properties/nm-vpn-properties.glade:
11047         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11048         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11049         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11050                 - Make the VPN properties pages prettier and more HIG
11051                   compliant. Gnome Bug #336913.
11052
11053 2006-05-28  Dan Williams  <dcbw@redhat.com>
11054
11055         Patch from Christian Persch <chpe@gnome.org>
11056         * gnome/vpn-properties/nm-vpn-properties.c
11057         * gnome/vpn-properties/nm-vpn-properties.glade
11058                 - HIG-ification love  (Gnome.org #336846)
11059
11060 2006-05-28  Dan Williams  <dcbw@redhat.com>
11061
11062         Patch from Christian Persch <chpe@gnome.org>
11063         * configure.in
11064           gnome/vpn-properties/nm-vpn-properties.c
11065                 - (main): Fix option parsing.  Gnome.org #336847
11066
11067 2006-05-28  Dan Williams  <dcbw@redhat.com>
11068
11069         * gnome/vpn-properties/nm-vpn-properties.c
11070                 - (find_vpn_ui_by_service_name): protect against NULL service names
11071                 - (update_edit_del_sensitivity): protect against NULL service names
11072                         Gnome.org #341306
11073
11074 2006-05-28  Dan Williams  <dcbw@redhat.com>
11075
11076         Patch from Chris Fuller <crf@grandecom.net>:
11077         * src/nm-device-802-11-wireless.c
11078                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11079                         don't dispose of wireless-specific stuff unless it is actually
11080                         initialized.  Gnome.org #341263
11081
11082 2006-05-28  Dan Williams  <dcbw@redhat.com>
11083
11084         * src/NetworkManagerPolicy.c
11085                 - (nm_policy_device_change_check): don't switch devices if the "best"
11086                         AP is essentially the same as the current activation request, but
11087                         the current activation request isn't done activating yet.  Fixes
11088                         multiple requests for keyring password on startup for Gnome applet.
11089                         Gnome.org #341297
11090
11091 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11092
11093         * src/NetworkManager.c: use GOptions instead of getopt
11094         * configure.in: bump glib required version to >= 2.6 for GOption
11095           support
11096
11097 2006-05-25  Robert Love  <rml@novell.com>
11098
11099         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11100           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11101           instead of dumping ifdef's throughout the code.
11102         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11103           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11104           use nm_ioctl_info() in lieu.
11105
11106 2006-05-25  Robert Love  <rml@novell.com>
11107
11108         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11109         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11110           not using gcrypt.  Otherwise, we get a linker error.
11111
11112 2006-05-25  Robert Love  <rml@novell.com>
11113
11114         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11115         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11116           configure flag to disable building of the GNOME-based applet.
11117
11118 2006-05-25  Robert Love  <rml@novell.com>
11119
11120         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11121           parameter from link, because it shadows a global variable with some
11122           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11123           should never have exported to the entire system a common four letter
11124           word.  But we here at NetworkManager are team players.  Fixes
11125           GNOME bug #336532.
11126
11127 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11128
11129         * configure.in: Added mk.po, Macedonian translation.
11130
11131 2006-05-24  Robert Love  <rml@novell.com>
11132
11133         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11134           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11135           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11136
11137 2006-05-24  Robert Love  <rml@novell.com>
11138
11139         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11140           libnm-util/Makefile.am, src/Makefile.am,
11141           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11142           vpn-daemons/openvpn/properties/Makefile.am,
11143           vpn-daemons/pptp/auth-dialog/Makefile.am,
11144           vpn-daemons/pptp/properties/Makefile.am,
11145           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11146           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11147           user passed for --datadir, if anything, when setting the GNOME locale
11148           directory.  It should be a function of the specified datadir and not
11149           the prefix.
11150
11151 2006-05-24  Robert Love  <rml@novell.com>
11152
11153         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11154           src/NetworkManager.c: Take care to call bindtextdomain with the
11155           location of msgid files.
11156         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11157           files.
11158
11159 2006-05-22  Robert Love  <rml@novell.com>
11160
11161         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11162           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11163           99% of the time there is a real problem with wireless, and a
11164           seemingly successful connection via Zeroconf just confuses the user.
11165           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11166
11167 2006-05-22  Robert Love  <rml@novell.com>
11168
11169         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11170           autofs on interface up if NIS is configured.  On interface down, do
11171           nothing.
11172
11173 2006-05-22  Robert Love  <rml@novell.com>
11174
11175         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11176           to avoid calling g_object_unref() on stale pointers on error in
11177           nma_icons_free().  This happens because we short-circuit loaded the
11178           icons on the first failure but then free all icons.  Normally we have
11179           no issue because the icons were zero'ed out malloc, but we have stale
11180           pointer data after nma_icon_theme_changed().
11181         * gnome/applet/main.c: Return error code if nma_new() failed.
11182
11183 2060-05-21  Dan Williams  <dcbw@redhat.com>
11184
11185         * initscript/NetworkManager.in
11186                 - Ensure both dhcdbd and named are started before NM
11187
11188 2006-05-21  Dan Williams  <dcbw@redhat.com>
11189
11190         * configure.in
11191                 - Bump version to 0.7 to signify we are in 0.7 development
11192
11193 2006-05-21  Dan Williams  <dcbw@redhat.com>
11194
11195         Patch from Adam Schreiber <sadam@clemson.edu>
11196         * gnome/vpn-properties/nm-vpn-properties.c
11197                 - (main): correct Gnome program name  (gnome.org #342498)
11198
11199 2006-05-21  Dan Williams  <dcbw@redhat.com>
11200
11201         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11202
11203         * src/NetworkManagerDbus.[ch]
11204                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11205                         clarify that function's argument should be an escaped dbus object
11206                         path, and look for path segment end before returning a match
11207         * src/nm-dbus-nm.c:
11208                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11209
11210 2006-05-17  Robert Love  <rml@novell.com>
11211
11212         Functionality to differentiate Ad-Hoc networks from infrastructure
11213         networks in the applet, by displaying a special icon:
11214         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11215         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11216         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11217           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11218           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11219           networks, encrypted or not.
11220         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11221           accessor functions to get and set the mode of a given network,
11222           wireless_network_get_mode() and wireless_network_set_mode().
11223
11224 2006-05-17  Robert Love  <rml@novell.com>
11225
11226         Functionality to automatically add BSSIDs to the allowed-MAC list as
11227         one roams from access point to access point on a given network:
11228         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11229           helper function to compare two ether_addr structures and return TRUE
11230           if they contain the same MAC address.
11231         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11232           prototype.
11233         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11234           stored with the current AP.  If the BSSID has indeed changed, we
11235           send it out to the applet, allowing the allowed-MAC list to grow
11236           automatically in response to roaming.
11237
11238 2006-05-16  Robert Love  <rml@novell.com>
11239
11240         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11241           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11242
11243 2006-05-13  Dan Williams  <dcbw@redhat.com>
11244
11245         * src/nm-device-802-3-ethernet.c
11246                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11247                         carrier detect (Debian bug #366373)
11248
11249 2006-05-11  Dan Williams  <dcbw@redhat.com>
11250
11251         Patch from Michael Biebl <biebl@teco.edu>
11252         * src/backends/NetworkManagerDebian.c
11253                 - Debian backend fixups
11254
11255 2006-05-10  Robert Love  <rml@novell.com>
11256
11257         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11258
11259 2006-05-09  Robert Love  <rml@novell.com>
11260
11261         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11262           private certificate passphrase, if any, in the GNOME Keyring.
11263         * libnm-utils/dbus-helpers.c: Update.
11264
11265 2006-05-05  Dan Williams  <dcbw@redhat.com>
11266
11267         * src/nm-device-802-11-wireless.c
11268                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11269                         nm_device_802_11_wireless_disable_encryption() since that's all
11270                         we use it for anymore; we don't ever set WEP keys ourselves.
11271                 - (real_deactivate_quickly): reset SSID and encryption keys
11272                 - (real_deactivate): move SSID and encryption key reset to
11273                         real_deactivate_quickly(), which gets run before us anyway
11274
11275 2006-05-05  Robert Love  <rml@novell.com>
11276
11277         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11278           root has a wacky default of its own (or, more common, a user has a
11279           bad umask and uses su/sudo to restart NetworkManager).  Anything
11280           other than 0022 does not do what we want with, for example,
11281           resolv.conf.  This problem is amplified by our judicious use of
11282           fopen(), which uses mode 0666 -- implying that the only way to get
11283           the permissions we want is with a umask of 0022.
11284
11285 2006-05-05  Dan Williams  <dcbw@redhat.com>
11286
11287         * gnome/libnm_glib/libnm_glib.c
11288                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11289                         to reconnect; instead wait a bit more with each reconnect attempt
11290                         up to a max of one minute.
11291
11292 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11293
11294         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11295           the WirelessNetwork structure using the proper function instead of
11296           just casting it directly to (const char *) (gnome.org #336991)
11297
11298 2006-05-03  Robert Love  <rml@novell.com>
11299
11300         * src/backends/NetworkManagerSuSE.c: Respect the variable
11301           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11302           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11303           to dynamically update /etc/resolv.conf.
11304
11305 2006-05-02  Peter Jones  <pjones@redhat.com>
11306
11307         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11308
11309 2006-05-02  Robert Love  <rml@novell.com>
11310
11311         Patch by Timo Hoenig;
11312         * tests/nm-online.c: Print pretty status indicator as timeout winds
11313           down.  Also fix possible race between DBUS startup and failure
11314           return.
11315
11316 2006-05-01  Robert Love  <rml@novell.com>
11317
11318         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11319           empty, too.
11320
11321 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11322
11323         * src/nm-device.c (discover_device_type): Actually use the hal
11324         device type instead of ioctl poking
11325
11326 2006-04-26  Robert Love  <rml@novell.com>
11327
11328         * tests/nm-online.c: New file.  Simple utility that returns exit status
11329           noting whether the connection is offline or online.  If offline on
11330           start, it waits 30 seconds (or a command-line given value) for an
11331           online signal.  If it times out, it again returns offline.  This is
11332           useful for scripts that want to wait for network connections.
11333
11334 2006-04-25  Robert Love  <rml@novell.com>
11335
11336         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11337           key mode (the authentication algorithm), e.g. open or shared, when we
11338           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11339           only shared was broken.  If the user specified a shared key, set it
11340           explicitly, otherwise let wpa_supplicant go with the default.
11341
11342 2006-04-24  Dan Williams  <dcbw@redhat.com>
11343
11344         * src/nm-device-802-11-wireless.c
11345                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11346
11347 2006-04-24  Dan Williams  <dcbw@redhat.com>
11348
11349         Commit the async scanning patch
11350
11351         * src/nm-device-802-11-wireless.c
11352                 - get rid of scan_mutex
11353                 - (wireless_event_helper): act on wireless scan events
11354                 - (real_start): schedule a pending scan
11355                 - (link_to_specific_ap): fake the link to the AP during a scan
11356                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11357                         strength during scans
11358                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11359                         nm_device_set_bitrate): unused with new scanning code, disable
11360                 - (nm_device_wireless_schedule_scan): removed
11361                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11362                 - (request_and_convert_scan_results): new function; retrieve scan
11363                         results from the driver and schedule the processing function
11364                 - (scan_results_timeout): timeout triggered when card doesn't send
11365                         a scan results wireless event during a certain interval
11366                 - (schedule_scan_results_timeout): new function; schedule the scan
11367                         results timeout
11368                 - (cancel_scan_results_timeout): new function; cancel the scan
11369                         results timeout
11370                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11371                         to do the scanning.  Otherwise, just request a scan but don't
11372                         grab results here; instead schedule a timeout for scan results and
11373                         let netlink notify us of scan completion events
11374                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11375                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11376                 - (supplicant_status_cb): ignore disconnect events while scanning
11377                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11378                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11379                         timeouts
11380                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11381
11382 2006-04-24  Dan Williams  <dcbw@redhat.com>
11383
11384         * gnome/applet/applet-dbus.c
11385                 - Disable the pending call debug stuff, seems under control now
11386
11387 2006-04-20  Robert Love  <rml@novell.com>
11388
11389         Fix bug where hidden ESSID's would not show up in the applet, even
11390         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11391         because nm_policy_device_list_update_from_allowed_list() would merge
11392         the data, putting a name to the hidden networks, but never notify NMI
11393         of the changes.  Simple fix is to invoke the function
11394         nm_dbus_signal_wireless_network_change() if we make a mapping.
11395         * src/NetworkManagerAPList.c: Call the function
11396           nm_dbus_signal_wireless_network_change() if we made a successful
11397           BSSID to ESSID mapping, notifying the applet of the "new" network.
11398         * src/NetworkManagerAPList.h: Update the prototypes for both
11399           nm_ap_list_copy_essids_by_address() and
11400           nm_ap_list_copy_one_essid_by_address().
11401
11402 2006-04-20  Robert Love  <rml@novell.com>
11403
11404         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11405           not set.  Just return zero.
11406
11407 2006-04-20  Robert Love  <rml@novell.com>
11408
11409         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11410           only one copy of nm-vpn-properties is running at a time via the 'ol
11411           X selection trick.  This prevents the user from opening two "VPN
11412           Connections" windows from within the applet, which leads to mass
11413           hysteria.
11414         * clipboard.c: New file, implementing simple X selection logic.
11415         * clipboard.h: New file.
11416         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11417
11418 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11419
11420         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11421         * configure.in
11422           initscript/Gentoo/Makefile.am
11423           initscript/Gentoo/NetworkManagerDispatcher.in
11424                 - New script
11425         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11426           Gentopia
11427
11428 2006-04-16  Dan Williams  <dcbw@redhat.com>
11429
11430         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11431         * configure.in
11432           initscript/Slackware/Makefile.am
11433           initscript/Slackware/rc.networkmanager-dispatcher.in
11434           initscript/Slackware/rc.networkmanager.in
11435                 - Update slackware initscripts
11436
11437 2006-04-10  Robert Love  <rml@novell.com>
11438
11439         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11440           the "delete_event" signal on the druid's parent window and handle it
11441           our way, lest using the WM to close the druid results in a series of
11442           bloody and ultimately lethal errors.
11443
11444 2006-04-10  Robert Love  <rml@novell.com>
11445
11446         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11447           'Back' too or else the 'Forward' option is initially disabled despite
11448           valid input.
11449
11450 2006-04-06  Robert Love  <rml@novell.com>
11451
11452         Fix bad but simple bug where an active modem connection did not update
11453         NM's connection state, breaking any app that did online/offline:
11454         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11455           represented whether a dial up connection is active, or not.
11456         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11457           to modem activation and deactivation.
11458         * src/NetworkManagerDbus.c: When asked our state, do not return
11459           disconnected if the modem is active.
11460
11461 2006-04-04  Robert Love  <rml@novell.com>
11462
11463         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11464           applet.  It just confuses the crap out of people and does not make a
11465           lot of sense, as the daemon still runs.
11466
11467 2006-04-02  Tor Krill  <tor@krill.nu>
11468
11469         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11470           in start of service.
11471         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11472           get Archlinux backend up to date.
11473
11474 2006-03-29  Robert Love  <rml@novell.com>
11475
11476         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11477         to add support for per-route MSS and improve support for per-interface
11478         MTU:
11479         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11480           optionally take an MSS parameter and set it for the given route.
11481           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11482           NMIP4Config's stored MSS, if any.
11483         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11484           the interface's MTU and the route's MSS, respectively.  Add functions
11485           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11486           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11487           MSS.
11488         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11489           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11490           nm_ip4_config_set_mss.
11491         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11492           VPN daemon.
11493         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11494           Change the retval of nm_system_get_mtu to guint32.
11495         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11496           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11497           servers can specify MTU's, we should set it here if the MTU was not
11498           provided.
11499
11500 2006-03-27  Jürg Billeter  <j@bitron.ch>
11501
11502         * configure.in:
11503         * initscript/Makefile.am:
11504         * initscript/paldo/Makefile.am:
11505         * initscript/paldo/NetworkManager.in:
11506         * initscript/paldo/NetworkManagerDispatcher.in:
11507         * src/backends/Makefile.am:
11508         * src/backends/NetworkManagerPaldo.c:
11509                 - Add paldo support
11510
11511 2006-03-27  Dan Williams  <dcbw@redhat.com>
11512
11513         Patch from Christian Persch <chpe@gnome.org>
11514         * gnome/applet/applet.glade
11515                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11516
11517 2006-03-27  Dan Williams  <dcbw@redhat.com>
11518
11519         Patch from Diffe <diffie@blazebox.homeip.net>
11520         * src/backends/NetworkManagerSlackware.c
11521                 - Don't restart howl, since it's been replaced by Avahi
11522                         in most distributions
11523
11524 2006-03-27  Dan Williams  <dcbw@redhat.com>
11525
11526         Patch from Tor Krill <bugzilla@krill.nu>
11527         * configure.in
11528           initscript/Makefile.am
11529           src/backends/Makefile.am
11530           src/backends/NetworkManagerArch.c
11531           initscript/Arch/Makefile.am
11532           initscript/Arch/networkmanager-dispatcher.in
11533           initscript/Arch/networkmanager.in
11534                 - Add Arch Linux support, fixes gnome.org #335147
11535
11536 2006-03-27  Dan Williams  <dcbw@redhat.com>
11537
11538         Patch from Diffe <diffie@blazebox.homeip.net>
11539      * initscript/Slackware/rc.networkmanager
11540         - update, fixed gnome.org #333368
11541
11542 2006-03-27  Robert Love  <rml@novell.com>
11543
11544         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11545           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11546
11547 2006-03-27  Robert Love  <rml@novell.com>
11548
11549         Patch by Jürg Billeter <j@bitron.ch>:
11550         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11551           systems.
11552         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11553           as we prefer glibc over kernel headers, if possible.
11554
11555 2006-03-27  Robert Love  <rml@novell.com>
11556
11557         Patch by Jon Escombe <list@dresco.co.uk>:
11558         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11559         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11560           fail, don't bail out.  We don't expect all of the various WPA-EAP
11561           values to be present.
11562         * src/nm-ap-security.c: We need to match all capabilities for each
11563           encryption type, not any one of them.
11564
11565 2006-03-27  Robert Love  <rml@novell.com>
11566
11567         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11568           restart, not reload, ypbind.  Unfortunately there is no superior
11569           solution.
11570
11571 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11572
11573         * gnome/applet/applet-notifications.c:
11574         When displaying a notification, make sure to get rid of the
11575         previous notification so as to not have competing bubbles,
11576         and stop leaking the old one.
11577
11578         * gnome/applet/applet.c:
11579         * gnome/applet/applet.h:
11580         Add a new 'notification' member to the applet, and zero it out
11581         and free it appropriately.
11582
11583 2006-03-23  Robert Love  <rml@novell.com>
11584
11585         Patch by j <j@bootlab.org>:
11586         * gnome/applet/applet.glade: Don't set the invisible_char property,
11587           which simply overrides the GTK default.  By and by, this behavior
11588           ought to be fixed in Glade.
11589
11590 2006-03-22  Robert Love  <rml@novell.com>
11591
11592         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11593
11594 2006-03-22  Robert Love  <rml@novell.com>
11595
11596         Bug fix by Timo Hoenig <thoenig@suse.de>:
11597         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11598           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11599           and the applet going AWOL.
11600
11601 2006-03-22  Robert Love  <rml@novell.com>
11602
11603         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11604           preprocessor define and use it instead of open-coded the DHCP
11605           timeout, which is currently 25 seconds, everywhere.
11606
11607 2006-03-22  Robert Love  <rml@novell.com>
11608
11609         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11610         key exchange via WPA, ostensibly providing good security without
11611         requiring hardware that supports full WPA.  Also, add UI elements to
11612         allow the user to select the pairwise & group cipher for WPA Enterprise
11613         networks, too:
11614         * gnome/applet/applet.glade: Update glade file.
11615         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11616           key type, too, to and from gconf.
11617         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11618           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11619           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11620           the capabilities match.
11621         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11622           prototype.
11623         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11624           serialize from UI to DBUS.
11625         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11626           one element.
11627         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11628           nmu_security_serialize_wpa_eap_with_cipher(), and
11629           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11630           serialize/deserialize the key type via DBUS as the new third DBUS
11631           parameter.
11632         * libnm-util/dbus-helpers.h: Update prototypes.
11633         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11634           too.  If the key type is WEP104, do Dynamic WEP, which means
11635           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11636           pairwise and group ciphers (fixes a FIXME).
11637
11638 2006-03-21  Robert Love  <rml@novell.com>
11639
11640         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11641           nm_system_get_mtu(), which returns a user-provided or system-mandated
11642           MTU value for a given device, if any, or zero if no such value
11643           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11644           if we have a provided value.
11645         * src/nm-device.c: Set the MTU of devices.
11646         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11647         * src/backends/NetworkManagerDebian.c,
11648           src/backends/NetworkManagerGentoo.c,
11649           src/backends/NetworkManagerRedHat.c,
11650           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11651
11652 2006-03-21  Robert Love  <rml@novell.com>
11653
11654         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11655           configuration file.
11656
11657 2006-03-17  Robert Love  <rml@novell.com>
11658
11659         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11660           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11661           it, in case it is not running in the first place.  We just want its
11662           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11663
11664 2006-03-15  Robert Love  <rml@novell.com>
11665
11666         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11667           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11668           label "WEP 40/128-bit" is inconsistent because the physical key size
11669           is 40 or 104-bits, to which a 24-bit initialisation vector is
11670           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11671           to read "40/104" or "64/128".  I do not care much which, but most
11672           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11673           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11674           WEP passphrase support only handles 128-bit keys, and any future
11675           64-bit passphrase support will require a new option (no way to auto-
11676           detect the target key size), explicitly label our passphrase support
11677           "WEP 128-bit Passphrase".
11678
11679 2006-03-15  Robert Love  <rml@novell.com>
11680
11681         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11682           the system init scripts (or some other mechanism) starting it (or a
11683           compatible DBUS service) before NetworkManager runs.  This means that
11684           distributions might need to update their init scripts.  This fixes
11685           possible races and is quite a bit cleaner.
11686         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11687           starting the NetworkManager daemon.
11688
11689
11690 2006-03-14  Robert Love  <rml@novell.com>
11691
11692         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11693           before adding anything.
11694
11695 2006-03-13  Robert Love  <rml@novell.com>
11696
11697         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11698           widgets, too, if they exist, in case the user hit the back button.
11699           Fixes a bug where the details page contains the widgets of multiple
11700           VPN modules (Novell bug #157048).
11701
11702 2006-03-13  Robert Love  <rml@novell.com>
11703
11704         Patch by Timo Hoenig <thoenig@suse.de>:
11705         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11706           daemon survive DBUS restarts, too.
11707
11708 2006-03-10  Robert Love  <rml@novell.com>
11709
11710         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11711           passphrase or key.
11712         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11713           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11714           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11715           in response to "toggled" signal on new toggle.
11716
11717 2006-03-10  Robert Love  <rml@novell.com>
11718
11719         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11720           serialization if strings are NULL, lest DBUS get angry.
11721
11722 2006-03-10  Robert Love  <rml@novell.com>
11723
11724         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11725
11726 2006-03-09  Robert Love  <rml@novell.com>
11727
11728         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11729           configurations.
11730
11731 2006-03-09  Dan Williams  <dcbw@redhat.com>
11732
11733         Track pending call requests in the applet, and report how many are
11734         outstanding, and how long each completed one takes.
11735         
11736         * gnome/applet/applet-dbus-devices.c
11737           gnome/applet/applet-dbus-vpn.c
11738                 - Track pending calls
11739
11740         * gnome/applet/applet-dbus.[ch]
11741                 - Remove some unused enums
11742                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11743                         new functions to track dbus pending calls and spit out some
11744                         statistics about them
11745
11746 2006-03-09  Robert Love  <rml@novell.com>
11747
11748         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11749           nm_ap_set_timestamp() take the second and micro-second parameters as
11750           direct arguments, which avoids both a dynamic memory allocation and a
11751           structure-to-structure copy!  Add a new interface, the aptly named
11752           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11753           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11754           the return from nm_ap_get_timestamp().  New users should use the new
11755           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11756           the extreme benefit to performance.
11757         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11758           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11759
11760 2006-03-08  Robert Love  <rml@novell.com>
11761
11762         * gnome/applet/applet.glade: Hide the password entry text with
11763           asterisks.
11764
11765 2006-03-08  Robert Love  <rml@novell.com>
11766
11767         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11768           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11769           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11770           a second argument, NMData.
11771         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11772         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11773           config files as trusted.
11774
11775 2006-03-06  Robert Love  <rml@novell.com>
11776
11777         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11778         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11779           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11780           Rivera, detect if the applet was auto-started.  If so, ask the user
11781           if he or she would like to stop automatically running the applet on
11782           login.  If so, disable autostart.
11783
11784 2006-03-06  Robert Love  <rml@novell.com>
11785
11786         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
11787           directory in CFLAGS so developers can actually use NetworkManager.h.
11788
11789 2006-03-06  Robert Love  <rml@novell.com>
11790
11791         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11792           open-coded integer constants.  Add state_to_string() to map a given
11793           state to a textual description, and provide that when notifying of
11794           state change.
11795         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11796           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
11797           this header directly, but it is currently not installed on most
11798           systems.
11799
11800 2006-03-05  Dan Williams  <dcbw@redhat.com>
11801
11802         Process netlink messages in device subclasses rather than in
11803         NetworkManager.c.  Also add support for recognizing Wireless Events.
11804         
11805         * configure.in
11806                 - Find GLIB_GENMARSHAL
11807
11808         * src/Makefile.am
11809                 - Since we're marshalling custom types for wireless event signals,
11810                         we get to create our own marshallers using GLIB_GENMARSHAL
11811
11812         * src/NetworkManager.c
11813                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11814                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11815                         cut down somewhat.  We no longer process signals here.
11816                 - (nm_data_new): create the netlink monitor here, and remove a
11817                         useless call to nm_policy_schedule_device_change_check()
11818                 - (nm_data_free): get rid of the netlink monitor here
11819                 - (nm_device_link_activated, nm_device_link_deactivated): removed
11820                 - (main): don't create the netlink monitor here, let nm_data_new
11821                         do that.  Call nm_policy_schedule_device_change_check() right
11822                         before we jump to the mainloop to figure out which device
11823                         to use first
11824
11825         * src/NetworkManagerSystem.[ch]
11826                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11827                         convert back and forth from interface names to interface
11828                         indexes
11829
11830         * src/nm-device-802-11-wireless.c
11831                 - (real_init): connect to wireless-event signals from the netlink
11832                         monitor object
11833                 - (nm_device_802_11_wireless_event): new function, schedule handler
11834                         for wireless event signals from the netlink monitor object.  We
11835                         want the handler to run in the device's context
11836                 - (wireless_event_helper): handle wireless-event signals from netlink
11837                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
11838                         signal handler
11839
11840         * src/nm-device-802-11-wireless.h
11841                 - remove unused prototype for nm_device_802_11_wireless_new
11842
11843         * src/nm-device-802-3-ethernet.c
11844                 - (real_init): new function; set up signal handlers for link events
11845                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
11846                         handler for netlink link activated events on device's main loop
11847                 - (link_activated_helper): when we get a link activated event, set
11848                         the device's link to be active
11849                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
11850                         handler for netlink link deactivated events on device's main loop
11851                 - (link_deactivated_helper): when we get a link deactivated event, set
11852                         the device's link to be inactive
11853                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
11854                         dispose
11855
11856         * src/nm-device-802-3-ethernet.h
11857                 - remove unused prototype for nm_device_802_3_ethernet_new
11858
11859         * src/nm-device.[ch]
11860                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
11861                         but locks the device list
11862                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
11863
11864         * src/nm-netlink-monitor.[ch]
11865                 - (nm_netlink_monitor_class_install_signals): New signal
11866                         "wireless-event"
11867                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
11868                         at the device list
11869                 - (nm_netlink_monitor_event_handler): expand for wireless events too
11870
11871         * src/nm-marshal-main.c
11872                 - Include generated nm-marshal.c and nm-marshal.h
11873
11874         * src/nm-marshal.list
11875                 - List of custom marshal functions
11876
11877 2006-03-05  Dan Williams  <dcbw@redhat.com>
11878
11879         * gnome/applet/applet-notifications.h
11880                 - Protect prototype of nma_send_event_notification() because it
11881                         includes libnotify-specific types
11882                 - Include libnotify/libnotify.h too, since we technically need it
11883
11884         * gnome/applet/applet.c
11885                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
11886                 - (nma_show_vpn_login_banner_dialog): add some error checking
11887
11888 2006-03-04  Dan Williams  <dcbw@redhat.com>
11889
11890         Clean up activation cancellation.  Should be a lot faster now.  Observed
11891         an issue with wireless devices between stage 2 and 3 of activation, where
11892         activation would be cancelled, but the device thread wouldn't notice until
11893         the supplicant association timed out.  Reorganize activation such that
11894         a cancellation handler gets immediately scheduled in the device's thread,
11895         and devices have a chance to perform any custom cleanup too.
11896
11897         * src/nm-device.[ch]
11898                 - (activation_cancel_handler): new device-type-specific function
11899                         for cleaning up device-type-specific stuff on cancellation
11900                 - (cancel_activation): removed
11901                 - (nm_device_activation_cancel): subsume functionality of
11902                         real_cancel_activation, but instead of doing anything, punt
11903                         operation to a handler that's run in device-thread context
11904                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
11905                         a warning message
11906                 - (activation_handle_cancel_helper): cancellation handler run in
11907                         device-thread context, calls device-type-specific cancelation,
11908                         then tears down the activation request
11909                 - (real_activation_cancel_handler): generic cancellation handler,
11910                         deals with cancelling any in-process DHCP request
11911                 - (nm_device_activate_stage1_device_prepare,
11912                    nm_device_activate_stage2_device_config,
11913                    nm_device_activate_stage3_ip_config_start,
11914                    nm_device_activate_stage4_ip_config_get,
11915                    nm_device_activate_stage4_ip_config_timeout,
11916                    nm_device_activate_stage5_ip_commit): don't call
11917                         nm_device_schedule_activation_handle_cancel() any more, since
11918                         cancellation will have been already scheduled for us by
11919                         nm_device_activation_cancel().  Just exit the function and
11920                         assume that the cancel handler will be called next.
11921
11922         * src/nm-device-802-3-ethernet.c
11923                 - (real_act_stage2_config): remove; didn't do anything anyway
11924
11925         * src/nm-device-802-11-wireless.c
11926                 - (supplicant_status_cb): ensure we don't do anything if the activation
11927                         got cancelled
11928                 - (real_activation_cancel_handler): implement; cancel user key request
11929                         on activation cancellation
11930
11931 2006-03-04  Dan Williams  <dcbw@redhat.com>
11932
11933         * src/nm-device-802-11-wireless.c
11934                 - (supplicant_send_network_config): assume that drivers that don't
11935                         support WPA pretty much suck, and can't handle NM scanning
11936                         along with wpa_supplicant.
11937
11938 2006-03-03  Robert Love  <rml@novell.com>
11939
11940         * configure.in: Bump version to 0.6.0.
11941         * NEWS: Update.
11942
11943 2006-03-03  Robert Love  <rml@novell.com>
11944
11945         * configure.in: Require DBUS 0.60 or later.
11946
11947 2006-03-03  Dan Williams  <dcbw@redhat.com>
11948
11949         Fix a crash if an "Other wireless network" was chosen, failed, then
11950         chosen again from the applet's menu.  If the other network wasn't
11951         noticed in a scan, it wouldn't have any capabilities, but would still
11952         be listed because the user forced the network.  To fix this, we set
11953         sensible capabilities on the forced network, which will get overwritten
11954         with the correct ones if the network shows up later in a scan.
11955         
11956         * src/nm-ap-security.h
11957                 - Add a new "get_default_capabilities_func" member to the
11958                         NMAPSecurity class
11959
11960         * src/nm-ap-security.c
11961                 - (nm_ap_security_get_default_capabilities): new function
11962
11963         * src/nm-ap-security.c
11964           src/nm-ap-security-wep.c
11965           src/nm-ap-security-wpa-psk.c
11966           src/nm-ap-security-wpa-eap.c
11967                 - Implement get_default_capabilities_func() for all, which
11968                         uses the information contained in a specific NMAPSecurity
11969                         object to determine default AP capabilites necessary
11970                         to support that object
11971
11972         As a secondary measure, we now prune artificial access points that fail
11973         to be activated right away.  The thing failed, and we have no scan data for
11974         it, so it's pretty much useless since security information is only saved
11975         in the applets when a connection is successful.
11976
11977         * src/NetworkManagerAPList.c
11978                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
11979                         not artificial.  If we see it, it's no longer a figment of the
11980                         user's imagination :)
11981
11982         * src/NetworkManagerPolicy.c
11983                 - (nm_policy_activation_failed): send along the failed AP if we
11984                         have it
11985
11986         * src/nm-device-802-11-wireless.c
11987                 - (real_activation_failure_handler): remove artificial APs from
11988                         the device list, because activation failed
11989
11990 2006-03-02  Robert Love  <rml@novell.com>
11991
11992         Add support for retrieving both the per-device speed and the
11993         per-network maximum supported rate.  Then change the getProperties
11994         DBUS API for both networks and devices to report this informaiton.
11995         Finally, display the information via both nm-applet and nm-tool:
11996         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
11997           and set it.
11998         * gnome/applet/applet.c: Display the device's speed in the 'Connection
11999           Information' dialog.
12000         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12001         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12002           network_device_get_speed() and network_device_set_speed() for
12003           retrieving and setting, respectively, a network device's current
12004           speed.
12005         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12006         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12007           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12008           not matter (yet) what the units are, because we only feed it its own
12009           output.  Implement SIOCGIRATE and set the per-network maximum
12010           supported rate during scanning.
12011         * src/nm-device-802-11-wireless.h: Export the function
12012           nm_device_802_11_wireless_get_bitrate().
12013         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12014           function nm_device_802_3_ethernet_get_speed() for returning an
12015           802.3's current speed, in Mb/s.
12016         * test/nm-tool.c: Display the per-device current speed, if available,
12017           and the per-network maximum rate.
12018
12019 2006-03-02  Dan Williams  <dcbw@redhat.com>
12020
12021         * src/nm-device-802-11-wireless.c
12022                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12023                         card when it gets initialized.  Since devices don't get added to
12024                         the scan list until they are initialized, this function wasn't
12025                         setting the intitial scan interval correctly, and was leaving
12026                         it at 0.  This caused cards to get many scan requests in a short
12027                         amount of time when they were initialized
12028
12029 2006-03-02  Robert Love  <rml@novell.com>
12030
12031         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12032           active device.  But do not do what we used to do and override the
12033           state, which caused the dreaded icon race of '05.
12034
12035 2006-03-02  Robert Love  <rml@novell.com>
12036
12037         Commit Dan's update of my previous commit:
12038         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12039           set_mode() function itself does the check.  But do only set the
12040           frequency if in Ad-Hoc mode.
12041
12042 2006-03-02  Robert Love  <rml@novell.com>
12043
12044         Patch by Brian Magnuson <magnuson@rcn.com>:
12045         * src/nm-device-802-11-wireless.c: During scanning, only set the
12046           wireless mode to infrastructure if it is not currently in
12047           infrastructure mode.  For some driver, setting the mode is a costly
12048           operation, apparently.
12049
12050 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12051
12052         * Makefile.am: use the correct dir for autostart mechanism.
12053
12054 2006-02-28  Dan Williams  <dcbw@redhat.com>
12055
12056         Patch from Brian Magnuson <magnuson@rcn.com>
12057         * gnome/applet/applet.c
12058                 - (nma_show_vpn_failure_dialog): fix errors left over from
12059                         libnotify support changes
12060
12061 2006-02-28  Dan Williams  <dcbw@redhat.com>
12062
12063         * src/vpn-manager/nm-vpn-act-request.[ch]
12064                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12065                         just one value
12066                 - (nm_vpn_act_request_is_failed): new function; return whether or
12067                         not the vpn activation request has failed
12068
12069         * src/vpn-manager/nm-vpn-manager.c 
12070                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12071                         daemon to kill the connection when the activation request fails.
12072                         Fixes issue where NM would get confused if the VPN activation
12073                         request timed out, and would not allow further VPN connections
12074                         on that service.
12075
12076 2006-02-28  Dan Williams  <dcbw@redhat.com>
12077
12078         * gnome/applet/applet.c
12079                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12080                         overlapping connection requests, disable all VPN menu items
12081                         but the active VPN connection
12082
12083 2006-02-28  Dan Williams  <dcbw@redhat.com>
12084
12085         * src/vpn-manager/nm-vpn-connection.c
12086                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12087                         called g_object_unref() on the connection's parent device
12088                         when it should have been ref-ed instead.  Fixes crash with
12089                         repeated vpn connect requests
12090
12091 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12092
12093         * gnome/applet/applet.glade:
12094         Mark a few strings non-translatable, since they shouldn't be.
12095
12096 2006-02-28  Dan Williams  <dcbw@redhat.com>
12097
12098         * src/vpn-manager/nm-vpn-service.c
12099                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12100                         already running, don't blindly ask it to connect, but wait until
12101                         it's in the STOPPED state first.  Fixes an assertion when user
12102                         starts a second vpn connection without stopping the first.
12103                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12104                         dbus service exists before continuing with the connection
12105                         process, and reduce latency while waiting for it to become
12106                         available
12107                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12108                         waiting for the vpn service daemon to become available
12109                 - General log message cleanups; show progress via "Stage x of 4"
12110                         rather than not telling anyone how many stages there are
12111
12112 2006-02-28  Robert Love  <rml@novell.com>
12113
12114         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12115         * src/backends/NetworkManagerSuSE.c: Implement the interface
12116           nm_system_should_modify_resolv_conf() for SUSE.
12117         * src/backends/NetworkManagerDebian.c,
12118           src/backends/NetworkManagerGentoo.c,
12119           src/backends/NetworkManagerRedHat.c,
12120           src/backends/NetworkManagerSlackware.c: Add stub.
12121         * src/named-manager/Makefile.am: Grab includes from src.
12122         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12123           automatic updating of resolv.conf.  This is useful for testing,
12124           broken static configurations, and administrator lock-down.
12125
12126 2006-02-28  Dan Williams  <dcbw@redhat.com>
12127
12128         * src/nm-device-802-11-wireless.c
12129                 - Move all the wpa_supplicant-related management stuff into its
12130                         own struct, just for oranization's sake
12131                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12132                         to a GIOChannel/GSource
12133                 - (supplicant_log_stdout): new function; grab output from the
12134                         wpa_supplicant stdout pipe and write it to our logs.
12135
12136 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12137
12138         * src/nm-device-802-11-wireless.c:
12139         Err, fix thinko in my previous commit.
12140
12141 2006-02-28  Robert Love  <rml@novell.com>
12142
12143         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12144
12145 2006-02-28  Robert Love  <rml@novell.com>
12146
12147         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12148           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12149           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12150           deserializers are responsible for freeing the returned DBUS strings.
12151
12152 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12153
12154         * src/nm-device-802-11-wireless.c:
12155         The scan list is being pruned prematurely.  We should prune after
12156         the device has gone MIA for three scans, not one.  Split out the
12157         interval to realtime seconds function to better serve this.
12158
12159 2006-02-27  Robert Love  <rml@novell.com>
12160
12161         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12162           Open the pid file O_TRUNC, so if it already exists we truncate it to
12163           zero length.  Also, be more verbose about warnings generated during
12164           writing out the pid file.  Finally, always write out the pid file if
12165           in daemon mode.  Use "--pid-file" to override the default.
12166
12167 2006-02-27  Robert Love  <rml@novell.com>
12168
12169         Patch by R. Vinay <rvinay@novell.com>:
12170         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12171           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12172           Novell bug #153628).
12173           
12174 2006-02-27  Robert Love  <rml@novell.com>
12175
12176         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12177           entry so user can hit <ENTER> after entering passphrase (Novell bug
12178           #153738).
12179
12180 2006-02-27  Dan Williams  <dcbw@redhat.com>
12181
12182         * gnome/applet/*
12183                 - Mass search/replace of:
12184                         nmwa -> nma
12185                         NMWirelessApplet -> NMApplet
12186                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12187                    (it ain't just for wireless anymore, ma!)
12188                 - Fix duplicate function name printing when using nm_warning
12189                 - wireless-applet.glade -> applet.glade
12190
12191 2006-02-27  Dan Williams  <dcbw@redhat.com>
12192
12193         * dispatcher-daemon/NetworkManagerDispatcher.c
12194                 - Accept --pid-file with a path to a pidfile, write it out on
12195                         startup, and delete it on shutdown
12196
12197         * src/NetworkManager.c
12198                 - Accept --pid-file with a path to a pidfile, write it out on
12199                         startup, and delete it on shutdown
12200                 - Move nm_print_usage() lower
12201
12202         * initscripts/RedHat/NetworkManager.in
12203                 - Use new --pid-file option
12204                 - Fix service stopping to wait a bit for NM to quit
12205
12206         * initscripts/RedHat/NetworkManagerDispatcher.in
12207                 - Use new --pid-file option
12208
12209 2006-02-26  Dan Williams  <dcbw@redhat.com>
12210
12211         * src/Makefile.am
12212                 - make and install nm-crash-logger
12213
12214         * src/nm-logging.[ch]
12215                 - New files; consolidate logging and crash handling
12216
12217         * src/nm-crash-logger.c
12218           src/gdb-cmd
12219                 - Standalong crashlogger for NM, grab a backtrace
12220                         using GDB
12221
12222         * src/NetworkManager.[ch]
12223                 - Remove signal handling and put it into nm-logging.c
12224
12225 2006-02-26  Dan Williams  <dcbw@redhat.com>
12226
12227         * configure.in
12228           gnome/applet/Makefile.am
12229                 - Conditionalize all the notify stuff
12230
12231         Merge most of Chris Aillon's notification patch:
12232         
12233         * gnome/applet/applet-notifications.[ch]
12234                 - New files; show a notification
12235         
12236         * gnome/applet/applet-dbus-devices.[ch]
12237                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12238                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12239                         new functions, do the right thing when a device change occurs
12240
12241         * gnome/applet/applet-dbus.c
12242                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12243                         signals, so we can handle them specially
12244
12245         * gnome/applet/applet.[ch]
12246                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12247                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12248                 - (nmwa_notify_state): remove
12249                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12250                         notification work is now done when the appropriate dbus signals
12251                         are received.
12252                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12253                         defer execution of the notification/dialog stuff.  That was an
12254                         artifact of the previous multi-threaded nature of the applet
12255                         and is now pointless.
12256                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12257                         no longer needed.  Function folded into applet-notifications.c
12258
12259         * src/NetworkManagerPolicy.c
12260                 - (nm_policy_activation_finish): send the AP along with the device
12261                         status change signal, if the connection is wireless.  Should
12262                         fix the race where applet would show a connection to "unknown"
12263
12264 2006-02-25  Robert Love  <rml@novell.com>
12265
12266         Add WPA Enterprise support:
12267         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12268           nm-gconf-wso-wpa-eap.h.
12269         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12270           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12271           serialization and deserialization.
12272         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12273           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12274           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12275         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12276           settings related to WPA Enterprise.
12277         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12278           instantiate WPA Enterprise wireless-security-option.
12279         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12280           Implement WPA Enterprise wireless-security-option object.
12281         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12282           defines.  Cleanup.
12283         * libnm-util/cipher-wpa-psk-hex.c,
12284           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12285         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12286           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12287           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12288           including the cipher to DBUS method, and
12289           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12290           to output.
12291         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12292           nm-ap-security-wpa-eap.h
12293         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12294           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12295         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12296           files.  Implement NMAPSecurityWPA_EAP object.
12297         * src/nm-ap-security-wpa-psk.c: Cleanup.
12298         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12299           an NMAPSecurityWPA_EAP object via the method
12300           nm_ap_security_wpa_eap_new_deserialize().
12301         * src/nm-dbus-nm.c: Cleanup.
12302         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12303           WPA Enterprise support.
12304
12305 2006-02-24  Robert Love  <rml@novell.com>
12306
12307         Patch from Timo Hoenig <thoenig@suse.de>:
12308         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12309
12310 2006-02-24  Robert Love  <rml@novell.com>
12311
12312         Patch from Dan Winship <danw@novell.com>:
12313         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12314           area to transparent.
12315
12316 2006-02-21  Dan Williams  <dcbw@redhat.com>
12317
12318         * gnome/applet/applet.[ch]
12319           gnome/applet/applet-dbus.c
12320                 - Implement notification support for VPN messages too
12321
12322 2006-02-21  Dan Williams  <dcbw@redhat.com>
12323
12324         * gnome/applet/applet-dbus-info.c
12325                 - Clean up warning messages to not double-print the function
12326
12327 2006-02-21  Dan Williams  <dcbw@redhat.com>
12328
12329         * gnome/applet/applet-compat.c
12330                 - (convert_one_entry): accept entries without a key_type and
12331                         convert them to unencrypted networks
12332
12333 2006-02-21  Dan Williams  <dcbw@redhat.com>
12334
12335         * gnome/libnm_glib/libnm_glib.c
12336                 - Use __func__ everywhere we can
12337                 - Code cleanups
12338                 - Use dbus pending calls rather than blocking
12339                 - Reduce busywaits for our thread to start and stop
12340                         (gnome.org #330562)
12341                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12342                         stomp on others using the default shared dbus connection.
12343                         Fixes #rh177546# and gnome.org #326572
12344
12345 2006-02-21  Dan Williams  <dcbw@redhat.com>
12346
12347         Patch from Rodney Dawes <dobey@novell.com>
12348         * configure.in
12349           gnome/applet/Makefile.am
12350           gnome/applet/applet.c
12351                 - Add libnotify support if '--enable-notify=yes' is passed
12352                   at configure time
12353
12354 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12355
12356         * configure.in (ALL_LINGUAS): ko added. (Korean)
12357
12358 2006-02-15  Robert Love  <rml@novell.com>
12359
12360         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12361           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12362           and WPA_SUPPLICANT_CONTROL_SOCKET.
12363         
12364 2006-02-15  Robert Love  <rml@novell.com>
12365
12366         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12367           information about what connection stage we are at, provide the total
12368           number of stages, e.g. "Stage 2 of 5", so users know how far along
12369           they are if they experience problems.
12370
12371 2006-02-15  Robert Love  <rml@novell.com>
12372
12373         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12374           define to $sysconfdir.
12375         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12376           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12377           type of VPN and then editing another results in a mangled dialog
12378           box containing the widgets from both VPNs (fixes Novell #150854).
12379           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12380
12381 2006-02-14  Robert Love  <rml@novell.com>
12382
12383         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12384           syslog's file descriptor.
12385
12386 2006-02-14  Robert Love  <rml@novell.com>
12387
12388         Fix bug around since the change to "deal with APs changing settings on
12389         us," checked in on the fifth of February in the year of the dog, 
12390         wherein connecting to non-broadcast encrypted networks always fails
12391         because nm_ap_get_encrypted() always returns FALSE, even when the user
12392         provided a key, because the newly-created fake AP does not have any
12393         capabilities set, which is a sypmtom of security settings not matching
12394         capabilities (Novell bug #150784):
12395         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12396           nm_ap_add_capabilities_from_security(), which sets the given AP's
12397           capabilities off the given security settings.  Also improve our
12398           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12399           NM_AUTH_CIPHER_AUTO.
12400         * src/nm-device-802-11-wireless.c: Call the function
12401           nm_ap_add_capabilities_from_security() to ensure that capabilities
12402           match newly updated security settings.
12403
12404 2006-02-14  Robert Love  <rml@novell.com>
12405
12406         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12407           error as a string, not an integer, if possible; do not print the
12408           function name twice; always give the interface, if possible; misc.
12409           cleanup.
12410
12411 2006-02-12  Dan Williams  <dcbw@redhat.com>
12412
12413         Patch from Tom Parker <palfrey@tevp.net>
12414         * src/NetworkManagerSystem.h
12415                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12416                         no longer used
12417
12418         * src/backends/NetworkManagerDebian.c
12419                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12420                         unused variables
12421
12422 2006-02-12  Dan Williams  <dcbw@redhat.com>
12423
12424         * vpn-daemons/openvpn/intltool-extract.in
12425           vpn-daemons/openvpn/intltool-merge.in
12426           vpn-daemons/openvpn/intltool-update.in
12427           vpn-daemons/pptp/intltool-extract.in
12428           vpn-daemons/pptp/intltool-merge.in
12429           vpn-daemons/pptp/intltool-update.in
12430                 - Remove from CVS, they should get created by intltoolize,
12431                         shouldn't they?
12432
12433 2006-02-12  Dan Williams  <dcbw@redhat.com>
12434
12435         * vpn-daemons/pptp/src/pppd/patchlevel.h
12436         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12437                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12438                         Makefile-defined VERSION
12439
12440 2006-02-09  Dan Williams  <dcbw@redhat.com>
12441
12442         Patch from: Vinay A R <rvinay@novell.com>
12443         * src/vpn-manager/nm-vpn-act-request.[ch]
12444                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12445                         IPSec VPNs require them for std gateway.
12446                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12447                         and 'user_routes_count'
12448                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12449                         defined routes  from NMVPNActRequest object, returns the string
12450                         array of routes.
12451
12452         * src/vpn-manager/nm-vpn-manager.[ch]
12453                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12454                         for 'user_routes' and 'user_routes_count'
12455         
12456         * src/vpn-manager/nm-dbus-vpn.c
12457                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12458                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12459         
12460         * src/vpn-manager/nm-vpn-service.c
12461                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12462                         the vpn daemon
12463
12464         Modifications by Dan:
12465         * src/vpn-manager/nm-vpn-service.c
12466                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12467                         arrays into dbus
12468
12469         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12470         * vpn-daemons/pptp/src/nm-pptp-service.c
12471         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12472                 - Grab user routes from dbus message
12473                 - Free all string arrays we got from dbus
12474
12475 2006-02-07  Robert Love  <rml@novell.com>
12476
12477         Patch by Stefan Seyfried <seife@suse.de>:
12478         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12479
12480 2006-02-06  Robert Love  <rml@novell.com>
12481
12482         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12483
12484 2006-02-06  Robert Love  <rml@novell.com>
12485
12486         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12487           test ">=" is never false.  If no newline is found, we loop forever.
12488           We can just check for ">" because the following if() will see the
12489           zero-th argument if the while() gets that far.
12490
12491 2006-02-05  Dan Williams  <dcbw@redhat.com>
12492
12493         Refine handling of non-broadcast networks.
12494
12495         * src/NetworkManagerAPList.c
12496                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12497                         property from scanned AP to the AP from the device list
12498
12499         * src/nm-device-802-11-wireless.c
12500                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12501                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12502                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12503                         networks since those don't have APs.
12504                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12505                         AP as non-SSID-broadcasting
12506                 - (process_scan_results): don't handle non-SSID-broadcasting here
12507
12508 2006-02-05  Dan Williams  <dcbw@redhat.com>
12509
12510         * src/nm-device-802-11-wireless.c
12511                 - (get_supplicant_timeout): new function; return
12512                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12513                         14 channels.  These are likely a/b/g cards, like Atheros, and
12514                         slow as hell to scan.
12515                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12516                         get_supplicant_timeout()
12517
12518 2006-02-05  Dan Williams  <dcbw@redhat.com>
12519
12520         * src/dhcp-manager/nm-dhcp-manager.c
12521                 - Loose a commit race with Robert; make sure size check
12522                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12523
12524 2006-02-05  Robert Love  <rml@novell.com>
12525
12526         Patch by Christoph Brill <chrisbrill@gmx.net>:
12527         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12528           with DHCP_SERVICE_NAME.
12529
12530 2006-02-05  Dan Williams  <dcbw@redhat.com>
12531
12532         Remove anything having to do with device_setup_func from the
12533         AP security objects, since it's no longer used.
12534
12535         * src/nm-ap-security.h
12536                 - Kill device_setup_func and nm_ap_security_device_setup()
12537
12538         * src/nm-ap-security-wep.c
12539           src/nm-ap-security-wpa-psk.c
12540                 - (real_device_setup): remove
12541
12542         * src/nm-ap-security.c
12543                 - (real_device_setup): remove
12544                 - (nm_ap_security_device_setup): remove
12545
12546         * src/nm-device-802-11-wireless.[ch]
12547                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12548                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12549                         and done by wpa_supplicant now anyway
12550
12551 2006-02-05  Dan Williams  <dcbw@redhat.com>
12552
12553         * src/nm-device-802-11-wireless.c
12554                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12555                         settings on us.  Previously NM would loop asking for the
12556                         key but getting the same one back.  Now, if the NMI-supplied
12557                         cipher doesn't overlap with the scanned AP capabilities,
12558                         we request a completely new key from the user.
12559
12560 2006-02-05  Dan Williams  <dcbw@redhat.com>
12561
12562         * src/NetworkManagerUtils.c
12563                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12564                         Handle newline killing better
12565
12566 2006-02-05  Dan Williams  <dcbw@redhat.com>
12567
12568         * gnome/applet/nm-gconf-wso.c
12569                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12570                         of unencrypted access point security info.
12571
12572 2006-02-03  Robert Love  <rml@novell.com>
12573
12574         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12575           user's encryption key, so we print the err_msg_cmd not the command,
12576           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12577           sense.
12578
12579 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12580
12581         * initscript/RedHat/NetworkManagerDispatcher.in:
12582         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12583         Patch from Dan Walsh <dwalsh@redhat.com>
12584
12585 2006-02-03  Robert Love  <rml@novell.com>
12586
12587         * dispatcher-daemon/NetworkManagerDispatcher.c,
12588           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12589           but use the sysconfdir.
12590
12591 2006-02-03  Robert Love  <rml@novell.com>
12592
12593         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12594           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12595           'char *'.
12596         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12597           nm_ip4_config_get_hostname() and
12598           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12599         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12600           leak g_strdup() result.
12601
12602 2006-02-03  Robert Love  <rml@novell.com>
12603
12604         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12605           broadcast == TRUE.  Also, copy broadcast and artificial properties
12606           from source network to destination in nm_ap_copy().
12607         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12608           since we now default new networks to non-hidden.
12609
12610 2006-02-03  Dan Williams  <dcbw@redhat.com>
12611
12612         * gnome/applet/main.c
12613                 - (main): change the NEVER->ALWAYS so we start at the
12614                         beginning of the session, if being session-managed
12615
12616 2006-02-03  Dan Williams  <dcbw@redhat.com>
12617
12618         * gnome/applet/main.c
12619                 - (main): in a variation on Robert's patch, change
12620                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12621                         he wants.
12622
12623 2006-02-02  Robert Love  <rml@novell.com>
12624
12625         * src/Makefile.am: If we aren't going to create the run directory at,
12626           uh, run-time, create it during install.  Then users just doing
12627           'make install' are cool, too.  While we are here, create the
12628           dispatcher.d directory, too.
12629         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12630           the exact run directory.
12631         * Makefile.am: Install nm-applet.desktop.
12632
12633 2006-02-02  Robert Love  <rml@novell.com>
12634
12635         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12636           structure, which denotes whether or not the AP is hidden.  This is a
12637           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12638           can show up in the scan list.  Add nm_ap_get_broadcast() and
12639           nm_ap_set_broadcast() accessor interfaces.
12640         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12641           nm_ap_set_broadcast().
12642         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12643           "getProperties" method, which denotes whether or not the given
12644           network is hidden.
12645         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12646           an artificial network.  Set broadcast to TRUE when scanning returns
12647           an ESSID and FALSE when not.
12648         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12649           from "getProperties" method on a network.  Possible TODO is to
12650           somehow display this.
12651         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12652
12653 2006-02-02  Dan Williams  <dcbw@redhat.com>
12654
12655         * src/nm-device-802-11-wireless.c
12656                 - (supplicant_interface_init): don't try to create
12657                         /var/run/NetworkManager, since that should be done by
12658                         the distro package.  Causes problems for stuff like SELinux
12659
12660 2006-02-02  Robert Love  <rml@novell.com>
12661
12662         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12663         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12664           Check for and handle empty string for iface.
12665
12666 2006-02-01  Robert Love  <rml@novell.com>
12667
12668         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12669           manpage.
12670
12671 2006-01-31  Dan Williams  <dcbw@redhat.com>
12672
12673         * nm-applet.desktop
12674                 - Add --sm-disable to Exec arguments, presuming that when
12675                         using autostart, we don't want session management
12676
12677 2006-01-31  Robert Love  <rml@novell.com>
12678
12679         * src/NetworkManagerAP.c: Add two new manufacturer default network
12680           names: linksys-a and linksys-g.  These are found (at least) on the
12681           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12682           own ESSID.
12683
12684 2006-01-31  Robert Love  <rml@novell.com>
12685
12686         * src/NetworkManagerAP.c: Optimize the function
12687           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12688           machine code.  This is the first in a series of code tweaks aiming to
12689           generate better machine code and make NetworkManager all the better.
12690           Just kidding.  Who has time to go through the assembly generated for
12691           every function?  I certainly don't.  I have a wife, a kid, a job,
12692           a mortgage, a mistress.  But this function was so bad, I was called
12693           to arms.  Like the book.
12694
12695 2006-01-31  Robert Love  <rml@novell.com>
12696
12697         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12698           AP is not broadcasting, to scan with probe request frames.  Required
12699           for non-broadcast networks.
12700
12701 2006-01-31  Robert Love  <rml@novell.com>
12702
12703         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12704           preprocessor define (still 20s).  Fix message text in nm_info()
12705           s/too too/took too/.
12706
12707 2006-01-30  Dan Williams  <dcbw@redhat.com>
12708
12709         * src/nm-device-802-11-wireless.c
12710                 - (supplicant_monitor_start): increase connect/auth timeout to
12711                         20 seconds from 10 seconds
12712
12713 2006-01-30  Dan Williams  <dcbw@redhat.com>
12714
12715         * src/Makefile.am
12716                 - Define LOCALSTATEDIR
12717
12718         * src/nm-device-802-11-wireless.c
12719                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12720                         socket where we want it to
12721
12722         * src/wpa_ctrl.[ch]
12723                 - (wpa_ctrl_open): accept location to put local control socket
12724
12725 2006-01-30  Robert Love  <rml@novell.com>
12726
12727         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12728           get_ip4_string() for "domain_name".
12729
12730 2006-01-30  Robert Love  <rml@novell.com>
12731
12732         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12733           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12734           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12735           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12736           support for "Automatic" pairwise and group cipher configuration by
12737           letting wpa_supplicant handle the details.  Add UI elements, new
12738           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12739           charm.  Note this does more than add a nice feature, it fixes a bug.
12740           Apparently, some people have AP's where the pairwise cipher does not
12741           match the group cipher.  Insane, but true.
12742
12743 2006-01-30  Dan Williams  <dcbw@redhat.com>
12744
12745         * gnome/applet/applet-dbus-devices.c
12746                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12747                         functions, grab device driver name from NetworkManager
12748                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12749
12750         * gnome/applet/applet.c
12751                 - (nmwa_update_info): show driver name in Connection Information
12752                         dialog
12753
12754         * gnome/applet/nm-device.[ch]
12755                 - (network_device_get_driver, network_device_set_driver): add
12756                         accessors for driver name
12757
12758         * gnome/applet/wireless-applet.glade
12759                 - Add line for driver name to Connection Information dialog
12760
12761         * src/nm-dbus-device.c
12762                 - (nm_dbus_device_get_driver): new function to return driver name
12763                 - (nm_dbus_device_methods): hook up driver name function to dbus
12764
12765         * test/nm-tool.c
12766                 - (get_driver_name): new function
12767                 - (detail_device): grab and show driver name
12768
12769 2006-01-30  Robert Love  <rml@novell.com>
12770
12771         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12772           does not parse the markup if it is not part of the format.
12773
12774 2006-01-30  Robert Love  <rml@novell.com>
12775
12776         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12777           FALSE, we have no security options for this dialog, so we throw up
12778           an error dialog instead of a broken passphrase dialog.  Fixes
12779           Novell #138404.
12780         * gnome/applet/wireless-security-manager.c,
12781           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12782           does not add any security options, not even NONE, print a warning
12783           and return FALSE.  This let's functions constructing a dialog bail
12784           out if the device's capabilities and the network's requirements have
12785           zero overlap.
12786
12787 2006-01-27  Robert Love  <rml@novell.com>
12788
12789         * configure.in: Require wpa_supplicant.  Detect location of binary and
12790           use it.  Override with "--with-wpa_supplicant=foo".
12791         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12792           path to wpa_supplicant but use the auto-detected or user-provided
12793           value from configure.
12794
12795 2006-01-27  Robert Love  <rml@novell.com>
12796
12797         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12798           but the DHCP server did not return a hostname, try to look up our
12799           name via DNS and set the system hostname to that.
12800
12801 2006-01-27  Dan Williams  <dcbw@redhat.com>
12802
12803         * src/backends/NetworkManagerRedHat.c
12804                 - Add NM_CONTROLLED system network script support for RH/Fedora
12805
12806 2006-01-27  Dan Williams  <dcbw@redhat.com>
12807
12808         * src/backends/NetworkManagerGentoo.c
12809                 - (nm_system_device_get_disabled): add missing function.
12810                         Gnome BZ #328780
12811
12812 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
12813
12814         * configure.in: Added vi in ALL_LINGUAS line.
12815         
12816 2006-01-26  Robert Love  <rml@novell.com>
12817
12818         * src/Makefile.am, src/kernel-types.h: Now that two different source
12819           files are feeling the crack-addled leakage of kernel types such as
12820           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12821           types in user-space -- define a header and include it as needed.
12822         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12823         * src/nm-device-802-3-ethernet.h: Remove defines.
12824         * src/wpa.c: Remove defines and include kernel-types.h.
12825
12826 2006-01-26  Robert Love  <rml@novell.com>
12827
12828         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
12829           work.
12830
12831 2006-01-26  Robert Love  <rml@novell.com>
12832
12833         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12834         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
12835           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
12836           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
12837           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12838           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
12839           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
12840           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
12841           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
12842           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
12843           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12844           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
12845           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
12846           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
12847           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
12848           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
12849           Kill unused variables, labels, and static functions.  Don't pass
12850           string literals as the format string for printf-like functions.
12851
12852 2006-01-25  Dan Williams  <dcbw@redhat.com>
12853
12854         * gnome/applet/wireless-applet.glade
12855                 - Remove WPA2 Checkbox
12856
12857         * gnome/applet/wireless-security-manager.c
12858                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
12859                         This means the Wireless Security menu now has two WPA options,
12860                         one for "WPA Personal" and one for "WPA2 Personal"
12861
12862         * gnome/applet/wso-wpa-psk.[ch]
12863                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
12864                         'wpa2' argument to determine WPA version to use
12865                 - (append_dbus_params_func): pass stored WPA version to cipher
12866                         rather than using the (removed) checkbox
12867
12868 2006-01-24  Robert Love  <rml@novell.com>
12869
12870         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
12871           before we g_strdup(), not the ultimate string.
12872
12873 2006-01-23  Dan Williams  <dcbw@redhat.com>
12874
12875         * src/NetworkManagerAP.[ch]
12876                 - (nm_ap_new_from_ap): copy original essid too
12877                 - (nm_ap_unref): free original essid
12878                 - (nm_ap_get_orig_essid): new function
12879                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
12880                         but keep original essid around too
12881
12882         * src/nm-device-802-11-wireless.c
12883                 - (supplicant_send_network_config): send wpa_supplicant the
12884                         _original_ essid, and not as a string, but in hex.  Should
12885                         allow us to connect to more APs that use wierd character
12886                         encodings for their essids
12887
12888         * utils/nm-utils.[ch]
12889                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
12890                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
12891                         use the current locale as a hint for what encoding the essid
12892                         might be in.  Obviously not 100% accurate, but the idea here is
12893                         that if a user's locale is ex. ja_JP, they are more likely than
12894                         not to be in Japan, where access points will likely be in some
12895                         Japanese encoding.
12896
12897 2006-01-23  Dan Williams  <dcbw@redhat.com>
12898
12899         * libnm-util/cipher-private.h
12900           libnm-util/cipher.c
12901           libnm-util/cipher.h
12902                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
12903
12904 2006-01-23  Robert Love  <rml@novell.com>
12905
12906         Patch by Timo Hoenig <thoenig@suse.de>:
12907         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
12908           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
12909           by DHCP and pass it to the backends, allowing distribution-specific
12910           behavior with respect to the DHCP-supplied hostname (if nothing else,
12911           some distributions might not want to set the hostname).
12912         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
12913           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
12914           Also update our NIS behavior.
12915         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
12916           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
12917           Add stub functions.
12918
12919 2006-01-23  Robert Love  <rml@novell.com>
12920
12921         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
12922           gnome-session does autostart.  TODO: We need to install this to
12923           $prefix/share/autostart/.
12924
12925 2006-01-22  Dan Williams  <dcbw@redhat.com>
12926
12927         * src/NetworkManagerAP.[ch]
12928           src/nm-dbus-nmi.c
12929           src/nm-device-802-11-wireless.c         
12930                 - Make nm_ap_get_essid return "const char *"
12931
12932 2006-01-22  Dan Williams  <dcbw@redhat.com>
12933
12934         * src/NetworkManagerAP.[ch]
12935                 - (nm_ap_get_matched, nm_ap_set_matched): remove
12936
12937         * src/NetworkManagerAPList.[ch]
12938                 - (nm_ap_list_diff): removed
12939                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
12940                         deal with access points changing essids on us
12941
12942         * src/nm-device-802-11-wireless.c
12943                 - (add_new_ap_to_device_list): move AP dbus signal logic to
12944                         src/NetworkManagerAPList.c
12945                 - (real_can_interrupt_activation): new function; allow interruption
12946                         of device activation if we are waiting for a network key
12947
12948         * src/NetworkManagerPolicy.c
12949                 - (nm_policy_device_change_check): allow interruption of currently
12950                         activating devices if the device allows it.  Previous behavior
12951                         would refuse to activate a just-plugged wired device if a
12952                         wireless device was waiting for a key.
12953
12954         * src/nm-device.[ch]
12955                 - (nm_device_can_interrupt_activation): new function; ask devices
12956                         whether their activation can be interrupted
12957
12958 2006-01-20  Robert Love  <rml@novell.com>
12959
12960         * Makefile.am, configure.in: Add new man subdirectory.
12961         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
12962           man/Makefile.am: Add man pages for NetworkManager and its
12963           crime-solving bumbling buddy, NetworkManagerDispatcher.
12964         * man/.cvsignore: Add.
12965         * initscript/Debian/NetworkManager,
12966           initscript/Gentoo/NetworkManager.in,
12967           initscript/RedHat/NetworkManager.in,
12968           initscript/RedHat/NetworkManagerDispatcher.in,
12969           initscript/SUSE/networkmanager-dispatcher.in,
12970           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
12971
12972 2006-01-20  Robert Love  <rml@novell.com>
12973
12974         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
12975           instead of queuing.  This prevents the running of multiple NM
12976           daemons concurrently, which does not work whatsoever and results in
12977           neither daemon working correctly.  Also, we don't handle queuing and
12978           name-owner-changes, anyhow.
12979
12980 2006-01-20  Robert Love  <rml@novell.com>
12981
12982         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
12983         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
12984           to sbin, not bin.
12985
12986 2006-01-19  Robert Love  <rml@novell.com>
12987
12988         * configure.in: Require hal 0.5.0 or later.
12989
12990 2006-01-18  Robert Love  <rml@novell.com>
12991
12992         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
12993           Allow backends to flag a device (in whatever distro-dependent way
12994           they so desire) as disabled.  NM will ignore any such device.
12995         * src/backends/NetworkManagerDebian.c,
12996           src/backends/NetworkManagerRedHat.c,
12997           src/backends/NetworkManagerSlackware.c: Add stub function
12998           nm_system_device_get_disabled() that always returns FALSE (enabled).
12999         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13000           SUSE-specific configuration structure.  Fill it in from the
13001           NM_CONTROLLED variable in the system networking scripts.  If this var
13002           exists and is "no", we ignore the device.
13003
13004 2006-01-17  Robert Love  <rml@novell.com>
13005
13006         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13007           identical for NM.  For a full discussion, see the thread at
13008           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13009
13010 2006-01-17  Dan Williams  <dcbw@redhat.com>
13011
13012         * src/nm-device.c
13013                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13014                         function.  Fixes crash when wired DHCP fails.
13015
13016 2006-01-16  Robert Love  <rml@novell.com>
13017
13018         * src/Makefile.am: Don't install NMLoadModules
13019         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13020           from src/ to test/ as no one uses it anymore.  Note that I would be
13021           fine with removing it altogether.
13022
13023 2006-01-16  Robert Love  <rml@novell.com>
13024
13025         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13026           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13027           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13028           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13029           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13030           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13031           declarations, ever.
13032         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13033           NM_STATE_DISCONNECTED is zero).
13034
13035 2006-01-16  Robert Love  <rml@novell.com>
13036
13037         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13038           uninitialized parameter and buffer overflow.  Novell #143496.
13039
13040 2006-01-16  Dan Williams  <dcbw@redhat.com>
13041
13042         Apply the PtP Address bits of a patch from Tim Niemueller
13043
13044         * src/nm-ip4-config.[ch]
13045                 - Add ip4_ptp_address member to object
13046                 - (nm_ip4_config_copy): copy ptp address too
13047                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13048                         new functions
13049                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13050                         rather than local tunnel ip address
13051
13052         * src/vpn-manager/nm-vpn-service.c
13053                 - (print_vpn_config): update for PtP address
13054                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13055                         DBusMessageIters in preparation for getting routes from the VPN
13056                         service daemons too
13057
13058         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13059                 - (send_config_info): update for PtP address, clean up code
13060                 - (main): update for PtP address, clean up code, fix typo
13061
13062         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13063                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13064
13065         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13066                 - (pptp_ip_up): update for PtP address
13067
13068         * vpn-daemons/pptp/src/nm-pptp-service.c
13069                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13070
13071         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13072                 - (print_vpn_config): update for PtP address
13073                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13074
13075 2006-01-16  Dan Williams  <dcbw@redhat.com>
13076
13077         * gnome/applet/applet.c
13078                 - (nmwa_add_networks_helper): don't indicate an active network
13079                         if NM is disconnected or asleep
13080
13081 2006-01-16  Dan Williams  <dcbw@redhat.com>
13082
13083         * src/NetworkManagerPolicy.c
13084                 - (nm_policy_device_change_check): switch devices if we lose the link
13085                         on an ethernet device. 
13086
13087 2006-01-16  Dan Williams  <dcbw@redhat.com>
13088
13089         * gnome/applet/wso-wpa-psk-hex.[ch]
13090                 - Renamed -> wso-wpa-psk.[ch]
13091
13092         * gnome/applet/wso-wpa-psk.[ch]
13093                 - New files
13094
13095         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13096                 - Removed, rolled into wso-wpa-psk.[ch]
13097
13098         * gnome/applet/Makefile.am
13099                 - Updated for above changes
13100
13101         * gnome/applet/wireless-applet.glade
13102                 - Consolidate WPA-PSK options into one notebook
13103                         widget, and make dialogs invisible by default
13104                         to fix screen oddities
13105
13106         * gnome/applet/wireless-security-manager.c
13107                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13108                         than both the old hex & passphrase ones
13109
13110 2006-01-16  Dan Williams  <dcbw@redhat.com>
13111
13112         * gnome/applet/other-network-dialog.c
13113                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13114
13115 2006-01-16  Dan Williams  <dcbw@redhat.com>
13116
13117         * gnome/applet/applet.c
13118                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13119                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13120                         prevention to realize window before trying to get server
13121                         time
13122
13123         * gnome/applet/other-network-dialog.c
13124                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13125                         prevention to realize window before trying to get server
13126                         time
13127
13128         * gnome/applet/passphrase-dialog.c
13129                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13130                         prevention to realize window before trying to get server
13131                         time
13132
13133 2006-01-16  Robert Love  <rml@novell.com>
13134
13135         Patch from Timo Hoenig  <thoenig@suse.de:
13136         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13137           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13138           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13139           libnm-util/dbus-helpers.h: add checks whether headers are used
13140           within a C++ build.
13141
13142 2006-01-16  Dan Williams  <dcbw@redhat.com>
13143
13144         * gnome/applet/wireless-security-option.c
13145                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13146
13147 2006-01-16  Dan Williams  <dcbw@redhat.com>
13148
13149         * libnm-util/cipher-wpa-psk-passphrase.c
13150                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13151                         be 8 - 63 characters inclusive
13152
13153 2006-01-16  Dan Williams  <dcbw@redhat.com>
13154
13155         * src/nm-dbus-nm.c
13156                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13157
13158 2006-01-13  Robert Love  <rml@novell.com>
13159
13160         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13161         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13162           modules that do not use an interface.
13163
13164 2006-01-13  Dan Williams  <dcbw@redhat.com>
13165
13166         * src/nm-device.c
13167           src/nm-device.h
13168                 - Allow subclasses to implement deactivate_quickly()
13169                 - (nm_device_deactivate_quickly): call subclass
13170                         deactivate_quickly() methods
13171                 - (nm_device_set_active_link): small cleanups, and don't
13172                         deactivate the device right away because we risk a deadlock
13173                         when called from device thread, waiting for the device
13174                         thread to cancel activation
13175
13176         * src/nm-device-802-11-wireless.c
13177                 - (real_deactivate_quickly): new function
13178                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13179                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13180                         so that we kill the supplicant when we sleep too
13181                 - (supplicant_interface_init): work around naive naming attempts of
13182                         wpa_ctrl when naming sockets
13183
13184 2006-01-13  Dan Williams  <dcbw@redhat.com>
13185
13186         * src/nm-device-802-11-wireless.c
13187                 - (supplicant_cleanup): delete old device control sockets too
13188                 - (supplicant_get_device_socket_path): new function to consolidate
13189                         locations that need a path to a device's control socket
13190
13191 2006-01-12  Robert Love  <rml@novell.com>
13192
13193         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13194           description so that the description is unique for each
13195           pair (device,provider).  Fixes Novell #142773.
13196
13197 2006-01-12  Dan Williams  <dcbw@redhat.com>
13198
13199         * src/nm-device-802-11-wireless.c
13200                 - (supplicant_exec): ensure GError is correctly initialized
13201                         Reported by Diego González (gnome.org #326708)
13202
13203 2006-01-11  Robert Love  <rml@novell.com>
13204
13205         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13206           define if_mii(), open code the same results, and do so without any
13207           type punning.
13208
13209 2006-01-11  Robert Love  <rml@novell.com>
13210
13211         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13212           that wso_foo_new() returned non-NULL.  Instead, only append the new
13213           wso to wsm->options if the wso is non-NULL.  The crux is that we
13214           assume that the relevant key types are implied by WEP and WPA as
13215           appropriate.  To be sure, they should be, but we should not expect
13216           drivers to not be oozing piles of wolf fecal matter.
13217
13218 2006-01-11  Robert Love  <rml@novell.com>
13219
13220         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13221         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13222           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13223           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13224           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13225           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13226           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13227         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13228           comparing values within DBL_EPSILON.  Also fix shadowed variable
13229           usage.
13230
13231 2006-01-11  Dan Williams  <dcbw@redhat.com>
13232
13233         Add options for WPA2 and WPA1+CCMP (AES).
13234
13235         * gnome/applet/wireless-applet.glade
13236                 - Add UI bits for WPA+CCMP
13237
13238         * gnome/applet/other-network-dialog.c
13239                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13240                         and don't allow creation of WPA2 Ad-Hoc networks since
13241                         wpa_supplicant doesn't support them
13242
13243         * gnome/applet/wireless-security-manager.c
13244                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13245                         on to the specific wireless security option being created
13246
13247         * gnome/applet/wireless-security-option.[ch]
13248                 - (wso_wpa_create_key_type_model): new utility function to create
13249                         the model required for WPA Key Type combo box
13250
13251         * gnome/applet/wso-private.h
13252           gnome/applet/wireless-security-option.h
13253                 - Move private function prototypes into wso-private.h
13254
13255         * gnome/applet/wso-wpa-psk-hex.[ch]
13256           gnome/applet/wso-wpa-psk-passphrase.[ch]
13257                 - (append_dbus_params_func): get WPA version from checkbox and pass
13258                         it to the dbus serialization helper
13259                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13260                         key type combo changes
13261                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13262                         model and options
13263
13264         * libnm-util/cipher-wpa-psk-hex.c
13265           libnm-util/cipher-wpa-psk-passphrase.c
13266                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13267                         new function; allow the cipher to be changed after object creation
13268
13269         * src/nm-ap-security-wpa-psk.c
13270                 - (set_description): Do WPA2 descriptions too
13271
13272         * src/nm-ap-security.c
13273                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13274
13275 2006-01-11  Robert Love  <rml@novell.com>
13276
13277         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13278           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13279           from the ifreq structure in lieu of an open coded solution.  Removes
13280           a life-threatening type-punning.
13281         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13282           types, ever, whatsoever, baby.
13283
13284 2006-01-11  Robert Love  <rml@novell.com>
13285
13286         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13287           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13288           assignments to applet->nm_state into a new nmwa_set_state() function
13289           for both cleanliness and to help debugging.
13290
13291 2006-01-10  Robert Love  <rml@novell.com>
13292
13293         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13294           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13295           seconds, exclusive.  That is, we want to sleep x seconds such that
13296           1 < x < 2.
13297
13298 2006-01-10  Robert Love  <rml@novell.com>
13299
13300         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13301           the attr fields according to the example in the email available at
13302           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13303           Conversely, we do have to free 'name', so we do so, fixing a leak.
13304
13305 2006-01-10  Robert Love  <rml@novell.com>
13306
13307         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13308           sure that we close the socket!
13309
13310 2006-01-10  Robert Love  <rml@novell.com>
13311
13312         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13313           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13314           src/nm-device.c: Fix a FIXME!  Reimplement the function
13315           nm_device_update_hw_address() in device subclass variants,
13316           nm_device_802_3_ethernet_set_address() and
13317           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13318           This fixes the existing bug where MAC addresses are all zeros.
13319
13320 2006-01-10  Robert Love  <rml@novell.com>
13321
13322         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13323           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13324           option to give users ability to globally disconnect and put NM to
13325           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13326           clean disconnect.
13327
13328 2006-01-09  Robert Love  <rml@novell.com>
13329
13330         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13331           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13332           User-space does not supply these types, so we have to define them
13333           ourselves.  The relevant kernel maintainer refused to accept a patch
13334           switching these headers to the proper C99 types.
13335
13336 2006-01-09  Dan Williams  <dcbw@redhat.com>
13337
13338         Apply Robert's 'tray icon redo' patch with fixes
13339         * gnome/applet/applet.c
13340           gnome/applet/applet.h
13341                 - Instead of using a menu bar + menu item, simulate menu
13342                         behavior using a popup menu.  Highlight the area around
13343                         the icon more like a menu too, by playing with the
13344                         applet's size requisition
13345
13346 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13347         * libnm-util/dbus-helpers.c
13348           libnm-util/dbus-helpers.h
13349                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13350                         to 'exception_namespace' (:namespace is a keyword in
13351                         C++)
13352
13353 2006-01-09  Dan Williams  <dcbw@redhat.com>
13354
13355         * src/NetworkManagerPolicy.c
13356                 - (nm_policy_device_change_check): don't autoswitch away from
13357                         Ad-Hoc networks, since there's really no concept of
13358                         "link"
13359
13360         * src/nm-dbus-nm.c
13361                 - (nm_dbus_nm_create_wireless_network): mark created networks
13362                         as Ad-Hoc networks
13363
13364         * src/nm-device-802-11-wireless.c
13365                 - (real_activation_success_handler): add user-created Ad-Hoc
13366                         networks to the device's scan list
13367
13368 2006-01-08  Dan Williams  <dcbw@redhat.com>
13369
13370         We now require a patch for wpa_supplicant to support Ad-Hoc
13371         networks:
13372           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13373
13374         * src/nm-device-802-11-wireless.c
13375                 - (supplicant_send_network_config): turn off wpa_supplicant's
13376                         scanning.  Fixes Ad-Hoc networks.
13377
13378 2006-01-08  Dan Williams  <dcbw@redhat.com>
13379
13380         * src/nm-ap-security.c
13381           src/nm-ap-security.h
13382                 - Add a user_created argument to the write_supplicant_config
13383                         functions
13384
13385         * src/nm-ap-security-wep.c
13386           src/nm-ap-security-wpa-psk.c
13387           src/nm-device-802-11-wireless.c
13388                 - Make Ad-Hoc mode somewhat work, at least write the
13389                         correct options to wpa_supplicant
13390
13391 2006-01-08  Dan Williams  <dcbw@redhat.com>
13392
13393         * src/nm-device-802-11-wireless.c
13394                 - Remove unused code from the old device activation path
13395
13396 2006-01-08  Dan Williams  <dcbw@redhat.com>
13397
13398         * libnm-util/dbus-helpers.c
13399                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13400                         dbus when key == NULL
13401
13402 2006-01-08  Dan Williams  <dcbw@redhat.com>
13403
13404         * gnome/applet/nm-gconf-wso-wpa-psk.c
13405                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13406                         correct arguments to nmu_security_deserialize_wpa_psk()
13407
13408         * src/nm-ap-security-wpa-psk.c
13409                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13410                         arguments to nmu_security_deserialize_wpa_psk()
13411
13412 2006-01-08  Dan Williams  <dcbw@redhat.com>
13413
13414         * gnome/applet/wso-wpa-psk-hex.c
13415           gnome/applet/wso-wpa-psk-passphrase.c
13416                 - Hook up the append_dbus_params_func() function
13417
13418 2006-01-08  Dan Williams  <dcbw@redhat.com>
13419
13420         * src/nm-device-802-11-wireless.c
13421                 - (get_wireless_capabilities): correctly detect driver WPA
13422                         capabilities
13423
13424 2006-01-08  Dan Williams  <dcbw@redhat.com>
13425
13426         * gnome/applet/Makefile.am
13427           gnome/applet/wso-wpa-psk-hex.c
13428           gnome/applet/wso-wpa-psk-hex.h
13429                 - New files, implement WPA-PSK Hex key input
13430
13431         * gnome/applet/wireless-applet.glade
13432                 - Change existing wpa-psk stuff to wpa-psk-hex
13433                 - Add new widgets for wpa-psk-passphrase
13434
13435         * gnome/applet/wireless-security-manager.c
13436                 - (wsm_set_capabilities): enable WPA options
13437
13438         * gnome/applet/wso-wpa-psk-passphrase.c
13439                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13440                         for WPA-PSK passphrase
13441
13442 2006-01-08  Dan Williams  <dcbw@redhat.com>
13443
13444         * include/NetworkManager.h
13445                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13446                         applet/info-daemons
13447
13448         * gnome/applet/passphrase-dialog.c
13449                 - Use the constant.  Fixes a bug where the arguments to
13450                         dbus_message_new_error() were incorrect
13451
13452         * src/nm-dbus-nmi.c
13453                 - Use the constant
13454
13455 2006-01-07  Dan Williams  <dcbw@redhat.com>
13456
13457         * src/nm-device-802-11-wireless.c
13458                 - Add a link timeout so we allow the supplicant time to
13459                         reassociate if it can, before we deactivate the card
13460                 - Fix up link status and link updating so things work better
13461
13462 2006-01-07  Dan Williams  <dcbw@redhat.com>
13463
13464         * src/nm-device-802-11-wireless.c
13465                 - Switch over to using wpa_supplicant
13466                 - Add a timeout of 10s for association of the supplicant
13467                 - Start the monitor callback of the supplicant
13468
13469 2006-01-07  Dan Williams  <dcbw@redhat.com>
13470
13471         * src/NetworkManagerUtils.c
13472                 - (nm_utils_supplicant_request,
13473                   nm_utils_supplicant_request_with_check):
13474                         pass correct buffer length to wpa_ctrl_request()
13475
13476 2006-01-07  Dan Williams  <dcbw@redhat.com>
13477
13478         * src/nm-device-private.h
13479           src/nm-device.c
13480                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13481                         this function available to subclasses
13482
13483 2006-01-06  Robert Love  <rml@novell.com>
13484
13485         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13486           user plugging in a network cable signals their preference for to
13487           switch, unless the user explicitly selected a wireless network and
13488           therefore signaled their preference for said wireless network over
13489           wired.  In other words, do exactly what makes sense.
13490
13491 2006-01-06  Robert Love  <rml@novell.com>
13492
13493         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13494           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13495           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13496           showing up in my greps.
13497
13498 2006-01-06  Robert Love  <rml@novell.com>
13499
13500         * gnome/applet/applet-dbus-devices.c,
13501           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13502           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13503           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13504           New Network' both failed in the non-encrypted case because we were
13505           not appending the security options to the DBUS message.  And
13506           'Connect to Other' was also failing in the encrypted case because
13507           we were not incrementing to the next DBUS parameter.  All fixed.
13508           Thanks to dcdw for some debugging help.
13509
13510 2006-01-06  Robert Love  <rml@novell.com>
13511
13512         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13513           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13514           hangup code and add per-device hangup.  Tie last commit into the
13515           GNOME applet.  TODO:  Save, understand, and respond to the state of
13516           each dialup device.
13517
13518 2006-01-06  Robert Love  <rml@novell.com>
13519
13520         Patch by Timo Hoenig <thoenig@suse.de>:
13521         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13522           hangup specific dialup devices.
13523         * src/backends/NetworkManagerDebian.c,
13524           src/backends/NetworkManagerGentoo.c,
13525           src/backends/NetworkManagerRedHat.c,
13526           src/backends/NetworkManagerSlackware.c: Add stub backend.
13527         * src/backends/NetworkManagerRedHat.c,
13528           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13529           hangup specific dialup devices.
13530
13531 2006-01-04  Robert Love  <rml@novell.com>
13532
13533         * gnome/applet/applet-dbus-devices.c,
13534           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13535           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13536           connections.
13537
13538 2006-01-04  Dan Williams  <dcbw@redhat.com>
13539
13540         First dump of wpa_supplicant-related code.  It's not hooked up to
13541         anything yet though.  Thanks to Kay Sievers for
13542         wpa_supplicant_wrapper.c, which formed the basis for this work,
13543         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13544
13545         * src/Makefile.am
13546           src/wpa_ctrl.[ch]
13547                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13548
13549         * src/NetworkManagerUtils.[ch]
13550                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13551                         Add convenience functions for talking to wpa_supplicant
13552
13553         * src/nm-ap-security.[ch]
13554           src/nm-ap-security-wep.c
13555           src/nm-ap-security-wpa-psk.[ch]
13556                 - Update and implement real_write_supplicant_config functions
13557                         in all security types
13558                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13559                         nm-ap-security-wpa-psk.c
13560
13561         * src/nm-device-802-11-wireless.c
13562                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13563                    wpa_supplicant_start, wpa_supplicant_interface_init,
13564                    wpa_supplicant_send_network_config): add functions to talk to
13565                         wpa_supplicant and write network config to it
13566
13567 2006-01-04  Robert Love  <rml@novell.com>
13568
13569         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13570           values so that distribution-backends can differentiate between the
13571           various types (modem, ISDN, et cetera) of dialup device that they
13572           support.
13573         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13574           needed.
13575
13576 2006-01-03  Dan Williams  <dcbw@redhat.com>
13577
13578         * src/NetworkManagerPolicy.c
13579           src/nm-device.[ch]
13580           src/nm-device-802-11-wireless.c
13581                 - Move wireless-specific activation failure and success code
13582                         into wireless device class
13583
13584 2006-01-03  Robert Love  <rml@novell.com>
13585
13586         Patch by Preggna S:
13587         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13588           IPsec does not require that a VPN client be bound to an interface,
13589           due to the use of the in-kernel IPSec bits.  So make the tunnel
13590           device optional.
13591
13592 2006-01-03  Dan Williams  <dcbw@redhat.com>
13593
13594         * src/NetworkManagerAP.c
13595                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13596                         the WPA IE specifies that WEP is supported
13597
13598         * src/nm-device-802-11-wireless.c
13599                 - (process_scan_results): don't mark an AP as supporting WEP
13600                         if there's already other encryption capability info
13601
13602 2006-01-03  Dan Williams  <dcbw@redhat.com>
13603
13604         * src/dhcp-manager/nm-dhcp-manager.c
13605                 - Recognize activation cancellation when waiting for DHCP
13606                         configuration from dhcdbd
13607                 - Ignore non-dhcdbd messages
13608
13609         * src/nm-device.c
13610                 - (real_act_stage3_ip_config_start): return to correct behavior
13611                         of letting the dhcp-manager notify us of failure or
13612                         success rather than incorrectly doing that ourselves
13613                 - (nm_device_activate_stage4_ip_config_get): deal with
13614                         activation cancellation a bit earlier
13615
13616 2006-01-03  Dan Williams  <dcbw@redhat.com>
13617
13618         * src/nm-device-802-11-wireless.c
13619           src/nm-device.[ch]
13620                 - Add hooks to subclasses for stage3_ip_config_start and
13621                         stage4_ip_config_timeout
13622
13623         * src/nm-device-802-3-ethernet.c
13624                 - (real_get_generic_capabilities): make devices NM-supported
13625                         by default
13626
13627 2006-01-03  Robert Love  <rml@novell.com>
13628
13629         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13630           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13631           latter cannot differentiate between error and the address -1; misc.
13632           clean up.
13633
13634 2006-01-03  Dan Williams  <dcbw@redhat.com>
13635
13636         * src/NetworkManager.c
13637                 - Move link-checking/probing into the device subclasses
13638                         themselves
13639
13640         * src/nm-device.[ch]
13641           src/nm-device-802-11-wireless.c
13642           src/nm-device-802-3-ethernet.c
13643                 - Do periodic link checking in device subclasses rather
13644                         than being triggered from NetworkManager.c
13645                 - discover_wireless_capabilities -> get_wireless_capabilities
13646                 - discover_generic_capabilities -> get_generic_capabilities
13647                 - Device subclass activation routines now return a value of type
13648                         NMActStageReturn to indicate what step to perform next
13649                 - Devices now override stage4_get_ip4_config if they choose
13650
13651 2006-01-01  Dan Williams  <dcbw@redhat.com>
13652
13653         * src/nm-device-802-11-wireless.c
13654                 - (real_init): don't chain up to parent init because we don't
13655                         need to do that anymore
13656
13657         * src/nm-device.c
13658                 - (discover_device_type): fix arguments to ioctl() to correctly
13659                         pass interface name
13660                 - (nm_device_new): consolidate generic device initialization into
13661                         nm_device_new()
13662                 - (real_init): remove, consolidated to nm_device_new()
13663                 - (nm_device_deactivate, real_deactivate): consolidate
13664
13665 2006-01-01  Dan Williams  <dcbw@redhat.com>
13666
13667         * src/nm-activation-request.c
13668                 - Change dhcp_state member of the NMActRequest structure
13669                         from guint8 to guint32
13670
13671         * src/dhcp-manager/nm-dhcp-manager.[ch]
13672                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13673                         than guint8 to match the dbus argument.  Turns out we were
13674                         overwriting memory since we were passing in only a guint8
13675
13676 2005-12-31  Dan Williams  <dcbw@redhat.com>
13677
13678         * refactor NMDevice into a GObject-based framework with separate
13679                 objects for wired and wireless.  The following files are no
13680                 longer used but should stick around for a bit so we don't
13681                 loose code through the cracks:
13682                         NetworkManagerDevice.c
13683                         NetworkManagerDevice.h
13684                         NetworkManagerWireless.c
13685                         NetworkManagerWireless.h
13686
13687         The intent here is to allow each device type to manage its own
13688         connection & activation life-cycle, ie to allow wireless devices
13689         to interface with wpa_supplicant, etc.  There's a fair bit of
13690         encapsulation breakage right now that should gradually get pulled
13691         back into each device, along with things like periodic property
13692         updates and link probing.
13693
13694 2005-12-29  Dan Williams  <dcbw@redhat.com>
13695
13696         * include/NetworkManager.h
13697                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13698                         between networks that don't have any encryption at all
13699
13700 2005-12-29  Dan Williams  <dcbw@redhat.com>
13701
13702         * test/test-common.c
13703           test/test-common.h
13704           test/Makefile.am
13705                 - Move to a test-common subdirectory
13706
13707         * test/libnm-util/test-ciphers.c
13708                 - Move test data to test-inputs.h
13709                 - Test WPA ciphers too
13710
13711         * test/libnm-util/test-dbus-helpers.c
13712                 - Test serialization/deserialization of ciphers
13713
13714 2005-12-29  Dan Williams  <dcbw@redhat.com>
13715
13716         * gnome/applet/applet-dbus-devices.c
13717                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13718                         in dbus calls to NM
13719                 - Set capabilities on WirelessNetwork objects
13720                 - Receive and save type-specific device capabilities too
13721
13722         * gnome/applet/applet-dbus-info.c
13723           gnome/applet/applet-dbus.c
13724                 - Passphrase dialog no longer a singleton; new instance gets created
13725                         on each request.  Updates to deal with that.
13726
13727         * gnome/applet/applet.c
13728                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13729                         than single 'encrypted' flag
13730                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13731                         menu items
13732                 - Passphrase dialog updates per above
13733
13734         * gnome/applet/menu-items.c
13735                 - (network_menu_item_update): use AP capabilities to determine
13736                         encryption
13737
13738         * gnome/applet/nm-device.[ch]
13739                 - Add accessors for type-specific device capabilities
13740
13741         * gnome/applet/other-network-dialog.c
13742                 - Rework to respect device capabilities.  i.e., if the device doesn't
13743                         support WPA, remove that option from the security dropdown
13744
13745         * gnome/applet/passphrase-dialog.c
13746                 - Massive rework so that a new instance is created each time
13747                         it's used, to support wireless network capabilities
13748
13749         * gnome/applet/wireless-network.[ch]
13750                 - Add accessors and members for wireless network capabilities
13751
13752         * gnome/applet/wireless-security-manager.[ch]
13753                 - (wsm_set_capabilities): called after creation to set which
13754                         security options get shown to the user
13755
13756 2005-12-29  Dan Williams  <dcbw@redhat.com>
13757
13758         * libnm-util/cipher-wpa-psk-passphrase.c
13759                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13760                         like other ciphers
13761
13762 2005-12-23  Dan Williams  <dcbw@redhat.com>
13763
13764         * gnome/applet/applet-dbus-info.c
13765                 - (nmi_dbus_get_key_for_network): if there's no entry in
13766                         GConf for a network, assume we want a new key
13767                 - (nmi_save_network_info): serialize wireless security info
13768                         into GConf so its saved
13769
13770         * src/nm-dbus-nm.c
13771                 - Fix warning as we may not be passed security info when
13772                         connecting to a wireless network
13773
13774 2005-12-23  Dan Williams  <dcbw@redhat.com>
13775
13776         * gnome/applet/applet-compat.c
13777                 - Fix bugs in GConf entry conversion
13778
13779         * gnome/applet/applet-dbus-info.c
13780                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13781                         list being zero-length
13782
13783         * libnm-util/cipher-*
13784           libnm-util/dbus-helpers.c
13785                 - All ciphers must now return hashed keys as UTF-8 valid
13786                         hexadecimal strings, ie "8f3dae4023".  They are pushed
13787                         through dbus as strings too.
13788                 - Consolidate various functions that do bin->hex and hex->bin
13789                         conversion into cipher.c
13790
13791         * src/nm-ap-security-wep.c
13792           src/nm-ap-security-wpa-psk.c
13793                 - Handle NULL keys since we may not know keys right away
13794
13795         * src/nm-dbus-nmi.c
13796                 - (nm_dbus_get_network_data_cb): actually advance to the start
13797                         of the wireless security info before we try to deserialize it
13798
13799         * libnm-util/test-ciphers.c
13800                 - Update cipher tests for the change to UTF-8 hexadecimal strings
13801
13802 2005-12-22  Dan Williams  <dcbw@redhat.com>
13803
13804         * gnome/applet/applet-compat.[ch]
13805                 - Convert old-format GConf and keyring entries
13806                         when the applet starts up.
13807
13808         * gnome/applet/applet.c
13809                 - (nmwa_get_instance): Call the conversion function
13810                         on startup before dbus is initialized
13811
13812 2005-12-22  Dan Williams  <dcbw@redhat.com>
13813
13814         * gnome/applet/applet-dbus-info.c
13815                 - Remove nmi_dbus_create_error_message() in favor of
13816                         nmu_create_dbus_error_message()
13817                 - (nmi_dbus_get_network_properties): Error message cleanups
13818                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13819                         gconf key rather than 'addresses', since they really are BSSIDs
13820                 - (nmi_dbus_get_network_properties): Dispose of the security
13821                         object when we're done with it
13822
13823 2005-12-21  Dan Williams  <dcbw@redhat.com>
13824
13825         * Consolidate the info-daemon's "updateNetworkInfo" and
13826                 "addNetworkAddress" calls into just "updateNetworkInfo"
13827
13828 2005-12-21  Dan Williams  <dcbw@redhat.com>
13829
13830         * Make connection after key retrieval work again
13831
13832 2005-12-21  Dan Williams  <dcbw@redhat.com>
13833
13834         * gnome/applet/nm-gconf-wso*
13835                 - Make the serialize functions return gboolean
13836                         rather than int
13837
13838         * gnome/applet/nm-gconf-wso.c
13839                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
13840                         parent class handling so we don't segfault
13841
13842         * src/NetworkManagerAP.[ch]
13843                 - (nm_ap_get_capabilities): new function, return capabilities
13844                         now that something can use them
13845                 - (nm_ap_set_encrypted): assume that an access point supports
13846                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
13847                         we even tell whether it just supports WEP40?
13848
13849         * src/NetworkManagerDevice.c
13850                 - (ap_need_key): resurrect and update for the New World Order
13851                 - (nm_device_wireless_get_activation_ap): if we're not given
13852                         security info to use, create some based on access point
13853                         capabilities
13854
13855         * src/nm-ap-security-wep.c
13856                 - (nm_ap_security_wep_new_from_ap): create a new object
13857                         based on a certain access point's capabilities
13858
13859         * src/nm-ap-security.c
13860                 - (nm_ap_security_new_from_ap): delegate creation of a new
13861                         object based on access point capabilities to a subclass
13862                 - (nm_ap_security_copy_properties): don't segfault if we
13863                         don't have a key yet
13864
13865         * src/nm-dbus-nm.c
13866                 - (nm_dbus_nm_set_active_device): provide more informative
13867                         output when errors occur.  Also construct security info
13868                         for a given access point if we weren't given any
13869
13870 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
13871
13872         * configure.in: Added Lithuanian to ALL_LINGUAS.
13873
13874 2005-12-21  Dan Williams  <dcbw@redhat.com>
13875
13876         * test/libnm-util
13877                 - Add some testcases for WEP ciphers
13878
13879 2005-12-17  Dan Williams  <dcbw@redhat.com>
13880
13881         * Fix bugs
13882
13883 2005-12-17  Dan Williams  <dcbw@redhat.com>
13884
13885         * include/NetworkManager.h
13886                 - Finally kill NMEncKeyType
13887
13888         * gnome/applet/applet-dbus-info.c
13889                 - (nmi_save_network_info): convert to NMGConfWSO
13890
13891         * gnome/applet/nm-gconf-wso-*.c
13892                 - Implement gconf serialization functions
13893
13894         * src/NetworkManagerPolicy.c
13895                 - (nm_policy_activation_finish): fix up meaning of
13896                         automatic/user_requested
13897
13898 2005-12-17  Dan Williams  <dcbw@redhat.com>
13899
13900         * gnome/applet/*
13901                 - More applet cleanups
13902                 - Use the dbus-method-dispatcher
13903
13904         * libnm-util/dbus-method-dispatcher.[ch]
13905                 - Generalize the implementation from NM in
13906                         NetworkManagerUtils.c
13907
13908 2005-12-16  Dan Williams  <dcbw@redhat.com>
13909
13910         * gnome/applet/*
13911                 - Fix up the passphrase dialog to use all the
13912                         WirelessSecurityOption stuff (untested)
13913
13914 2005-12-16  Dan Williams  <dcbw@redhat.com>
13915
13916         * Move nm_gconf_get_*_helper() functions to separate files,
13917                 gconf-helpers.c & gconf-helpers.h
13918
13919         * New NMGConfWSO objects for managing the gconf side of things.
13920                 Eventually these should be merged with the
13921                 WirelessSecurityOption objects and a common base (that can
13922                 serialize/deserialize from dbus & gconf) should be
13923                 refactored out, but for now they are separate.
13924
13925 2005-12-16  Robert Love  <rml@novell.com>
13926
13927         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
13928           binaries unless they exist (nm_spawn_process() emits a warning if
13929           asked to spawn a non-existant process).
13930
13931 2005-12-16  Dan Williams  <dcbw@redhat.com>
13932
13933         * gnome/applet/applet-dbus-info.c
13934                 - Clean up lots of gconf-related code
13935
13936 2005-12-16  Robert Love  <rml@novell.com>
13937
13938         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
13939
13940 2005-12-16  Dan Williams  <dcbw@redhat.com>
13941
13942         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
13943
13944         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
13945                 bits still to be done)
13946
13947 2005-12-16  Dan Williams  <dcbw@redhat.com>
13948
13949         * Finally move info-daemon related stuff out of
13950                 NetworkManagerDbus.c to nm-dbus-nmi.c
13951
13952 2005-12-16  Dan Williams  <dcbw@redhat.com>
13953
13954         * Kill auth_method for access points, since that's now done
13955                 by NMAPSecurity objects
13956
13957         * Add a copy-constructor of sorts to NMAPSecurity
13958                 (how do you do this properly in glib???)
13959
13960 2005-12-15  Dan Williams  <dcbw@redhat.com>
13961
13962         * Exorcise encryption key hashing on APs
13963         * Use libnm-util's serialization/deserialization in both the
13964                 applet and NM
13965         * Random other stuff
13966
13967 2005-12-15  Robert Love  <rml@novell.com>
13968
13969         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
13970           is being added to the icon naming spec, so let's use that (Tango CVS
13971           has the icon).  Because it is new, however, we fall back to the
13972           current "gnome-lockscreen" if the new icon is not around, thus
13973           behavior is the same.
13974         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
13975           factory junk.
13976
13977 2005-12-15  Robert Love  <rml@novell.com>
13978
13979         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
13980           well, help to give.  Couple other misc. bits.
13981
13982 2005-12-15  Dan Williams  <dcbw@redhat.com>
13983
13984         * libnm-util/dbus-helpers.[ch]
13985                 - Make this the one-stop-shop for serializing/deserializing
13986                         AP & connection security settings over dbus.  Both NM
13987                         and applets should use this to ensure consistent dbus
13988                         API going forwared.
13989
13990 2005-12-15  Robert Love  <rml@novell.com>
13991
13992         Patch by Timo Hoenig  <thoenig@suse.de>:
13993         * src/NetworkManagerDbus.c
13994                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
13995                         if HAL jumps off the system bus.  Otherwise libdbus
13996                         (dbus_connection_dispatch) will try to run the filter
13997                         function of our libhal context which is already freed.
13998
13999 2005-12-15  Alexander Shopov  <ash@contact.bg>
14000
14001         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14002
14003 2005-12-14  Dan Williams  <dcbw@redhat.com>
14004
14005         * include/NetworkManager.h
14006           src/NetworkManagerWireless.c
14007                 - Rearrange 802.11 wireless-specific capabilities again
14008
14009         * src/Makefile.am
14010                 - Forgot to add wpa.c/wpa.h to the makefiles
14011
14012         * src/NetworkManagerAP.[ch]
14013                 - Implement access point capabilities and parse the
14014                         WPA/RSN IEs into the capability bitfield
14015                 - Switch the "encrypted" attribute to utilize the bitfield
14016                         and capabilities rather than being independent
14017
14018         * src/NetworkManagerDevice.c
14019                 - (nm_device_wireless_get_activation_ap): break it horribly
14020                         until we can push NMAPSecurity objects into access point
14021                         objects and through the activation chain
14022                 - Stuff WPA & RSN IEs into AP capabilities
14023
14024         * src/nm-dbus-nm.c
14025                 - Take a shot at actually making setActiveDevice work
14026
14027         * src/wpa.[ch]
14028                 - Make the API a bit saner
14029
14030 2005-12-14  Dan Williams  <dcbw@redhat.com>
14031
14032         * include/NetworkManager.h
14033                 - Add 802.11-specific capability for 802.1x key
14034                         management
14035
14036         * src/wpa.[ch]
14037                 - Pull in WPA IE and RSN IE parsing code from
14038                         wpa_supplicant so we can determine access point
14039                         capabilities
14040                 - Move WPA-related constants here from NetworkManagerAP.h
14041                         and NetworkManagerDevice.c
14042
14043         * src/NetworkManagerDevice.c
14044           src/NetworkManagerAP.[ch]
14045                 - Use WPA-related constants from wpa.h
14046
14047 2005-12-14  Dan Williams  <dcbw@redhat.com>
14048
14049         * include/NetworkManager.h
14050                 - Update and split 802.11 wireless-specific capabilities from
14051                         generic device capabilities
14052
14053         * src/NetworkManagerDevice.c
14054           src/NetworkManagerDevicePrivate.h
14055                 - (nm_device_wireless_discover_capabilities): Move 802.11
14056                         wireless-specific capability checks to
14057                         NetworkManagerWireless.c
14058                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14059                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14060
14061         * src/NetworkManagerWireless.[ch]
14062                 - (nm_802_11_wireless_discover_capabilities): Check extended
14063                         802.11 wireless-specific capabilities of the driver
14064
14065 2005-12-14  Robert Love  <rml@novell.com>
14066
14067         Patch from Stefan Scheler <sscheler@suse.de>:
14068         * src/NetworkManagerDevice.c: call backend code to activate and
14069           deactivate NIS.
14070         * src/NetworkManagerSystem.h: add new NIS interfaces.
14071         * src/backends/NetworkManagerDebian.c,
14072           src/backends/NetworkManagerGentoo.c,
14073           src/backends/NetworkManagerRedHat.c,
14074           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14075           support.
14076         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14077
14078 2005-12-14  Dan Williams  <dcbw@redhat.com>
14079
14080         * src/nm-ap-security*.[ch]
14081                 - Add AP security abstractions to NetworkManager
14082
14083         * src/nm-dbus-device.c
14084                 - Begin to parse new format dbus messages from the applet
14085                         and construct an AP security object from the message
14086
14087         * libnm-util/dbus-helpers.c
14088                 - Use message iters so we can append the key as a fixed
14089                         array of bytes, which actually works rather than
14090                         using dbus_message_append_args() as we were before
14091
14092 2005-12-14  Dan Williams  <dcbw@redhat.com>
14093
14094         * src/NetworkManagerDbus.c
14095           gnome/applet/applet-dbus.c
14096                 - Fix up dbus service replacement options.  The applet
14097                         should allow replacement, NM itself should not.
14098
14099 2005-12-13  Robert Love  <rml@novell.com>
14100
14101         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14102           Instead, fail silently if config is NULL by not asserting and not
14103           returning FALSE.  Also, make sure we always fclose() the file.
14104
14105 2005-12-13  Robert Love  <rml@novell.com>
14106
14107         Patch by Stefan Scheler <sscheler@suse.de>:
14108         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14109            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14110            via DHCP.  Still need the backends to commit the NIS domain name and
14111            and servers to yp.conf as needed.
14112
14113 2005-12-13  Robert Love  <rml@novell.com>
14114
14115         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14116           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14117
14118 2005-12-13  Robert Love  <rml@novell.com>
14119
14120         * src/named-manager/nm-named-manager.c: Don't unref the config until
14121           after we call rewrite_resolv_conf(), because get_last_default_domain()
14122           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14123           `config != NULL' failed" assertion failures and "Could not commit DNS
14124           changes" warnings.
14125
14126 2005-12-12  Dan Williams  <dcbw@redhat.com>
14127
14128         * libnm-util/dbus-helpers.[ch]
14129           libnm-util/Makefile.am
14130                 - new helper calls to consolidate locations where
14131                         NM's setDevice method is called
14132
14133         * gnome/applet/applet-dbus-devices.c
14134           gnome/applet/wireless-security-option.c
14135           gnome/applet/wso-*
14136                 - Implement dbus message param append function for
14137                         all wireless security options
14138
14139 2005-12-12  Robert Love  <rml@novell.com>
14140
14141         * libnm-util/cipher-wep-passphrase.c,
14142           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14143           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14144           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14145           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14146           When handling keys, we don't care what the sign is.  The compiler
14147           guarantees us that we get our 8-bits, which is all we care about.
14148         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14149
14150 2005-12-12  Dan Williams  <dcbw@redhat.com>
14151
14152         * gnome/applet/applet-dbus-devices.[ch]
14153           gnome/applet/applet.c
14154           gnome/applet/other-network-dialog.c
14155           gnome/applet/wireless-security-manager.[ch]
14156           gnome/applet/wireless-security-option.[ch]
14157           gnome/applet/wso-*
14158                 - Push the wireless security options further into the applet
14159
14160 2005-12-12  Robert Love  <rml@novell.com>
14161
14162         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14163           return any name servers.  That is perfectly valid.  (Novell #134369).
14164
14165 2005-12-11  Dan Williams  <dcbw@redhat.com>
14166
14167         * gnome/applet/wso-*
14168           gnome/applet/wireless-security-option.*
14169           gnome/applet/Makefile.am
14170                 - split each security option out so we can eventually
14171                         have each one build up their own dbus message
14172                         arguments to send to NM
14173
14174 2005-12-11  Dan Williams  <dcbw@redhat.com>
14175
14176         * Make validation of the key work correctly
14177
14178 2005-12-11  Dan Williams  <dcbw@redhat.com>
14179
14180         * Hook more bits of the Other Network Dialog up to the
14181                 wireless security manager stuff, and restructure
14182                 bits of the dialog so there's less code.
14183
14184 2005-12-10  Dan Williams  <dcbw@redhat.com>
14185
14186         * gnome/applet/Makefile.am
14187                 - Add libnm-util to includes
14188                 - Add libnm-util to link list
14189                 - Add wireless-security-common.* to compile list
14190
14191         * gnome/applet/other-network-dialog.c
14192                 - Convert to using the WirelessSecurityManager code and
14193                         widgets
14194
14195         * gnome/applet/passphrase-dialog.c
14196                 - Comment out references to stuff in the glade file that
14197                         cause runtime errors until it can be fixed up
14198                         to use the WirelessSecurityManager code
14199
14200         * gnome/applet/wireless-applet.glade
14201                 - Rename some widgets
14202                 - Add widgets for the WirelessSecurityManager code
14203                 - Remove passphrase-related stuff since that's now
14204                         handled by the WirelessSecurityManager code
14205
14206 2005-12-10  Dan Williams  <dcbw@redhat.com>
14207
14208         * gnome/applet/applet-dbus-devices.c
14209                 - Print out error message details for dbus pending call callbacks
14210                 - Move nmwa_dbus_update_devices() up
14211
14212         * gnome/applet/applet-dbus-vpn.c
14213                 - Print out error message details for dbus pending call callbacks
14214
14215 2005-12-10  Dan Williams  <dcbw@redhat.com>
14216
14217         * libnm-util/*
14218                 - More fixups
14219                 - Remove cipher-manager.* because we don't need it
14220                 - Forgot to add gnome-keyring-md5 files to compile list
14221
14222 2005-12-09  Dan Williams  <dcbw@redhat.com>
14223
14224         * libnm-util/*
14225           configure.in
14226           Makefile.am
14227                 - Add a utility library for clients of NetworkManager.  It's
14228                         only targetted at applets for the moment, and contains
14229                         a generalized 802.11 cipher framework for different
14230                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14231
14232 2005-12-09  Robert Love  <rml@novell.com>
14233
14234         * src/NetworkManagerDevice.c: handle error better in
14235           nm_device_set_mode().
14236
14237 2005-12-08  Robert Love  <rml@novell.com>
14238
14239         * include/NetworkManager.h: add WPA capabilities constants
14240         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14241           or WPA2 and add the capabilities bits as appropriate.
14242
14243 2005-12-08  Robert Love  <rml@novell.com>
14244
14245         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14246           NetworkManagerDispatcher.
14247         * configure.in, initscript/SUSE/.cvsignore,
14248           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14249           initscript.
14250
14251 2005-12-08  Robert Love  <rml@novell.com>
14252
14253         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14254
14255 2005-12-08  Robert Love  <rml@novell.com>
14256
14257         * src/NetworkManagerDevice.c: We want to fall back on and default to
14258           IW_MODE_AUTO, not -1, which is more in line with our previous
14259           behavior.  Otherwise, we try to set the wireless mode to -1 in
14260           nm_device_set_mode().
14261
14262 2005-12-07  Robert Love  <rml@novell.com>
14263
14264         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14265           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14266           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14267           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14268           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14269           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14270           zero.
14271
14272 2005-12-07  Robert Love  <rml@novell.com>
14273
14274         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14275           supplied IP is invalid, fall back to DHCP.
14276
14277 2005-12-07  Dan Williams  <dcbw@redhat.com>
14278
14279         * Convert NETWORK_MODE_* constants to IW_MODE_*
14280         * Make all the get_mode/set_mode functions take and return 'int'
14281         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14282
14283 2005-12-07  Robert Love  <rml@novell.com>
14284
14285         * src/NetworkManagerDevice.c: strncpy() buffer check.
14286         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14287
14288 2005-12-06  Dan Williams  <dcbw@redhat.com>
14289
14290         * gnome/applet/applet-dbus.c
14291                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14292
14293         * gnome/applet/applet-dbus-vpn.c
14294                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14295                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14296                         to TRUE here if stage was ACTIVATED
14297
14298 2005-12-06  Dan Williams  <dcbw@redhat.com>
14299
14300         * Change nm_device_is_* functions to better names:
14301                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14302                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14303
14304 2005-12-06  Dan Williams  <dcbw@redhat.com>
14305
14306         * Change naming of NMDeviceType to something more sensible:
14307                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14308                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14309                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14310
14311 2005-12-06  Dan Williams  <dcbw@redhat.com>
14312
14313         * Move NetworkManager.h -> include/NetworkManager.h
14314         * Split out VPN stuff into include/NetworkManagerVPN.h
14315         * Fix up makefiles to include new location
14316         * Fix up sources to include NetworkManagerVPN.h
14317
14318 2005-12-06  Dan Williams  <dcbw@redhat.com>
14319
14320         Various changes in the applet to move VPN connection "state" -> "stage",
14321         which it actually is.  I'd like to change the signal as well when we
14322         break compat in the near future.
14323
14324 2005-12-06  Dan Williams  <dcbw@redhat.com>
14325
14326         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14327         * initscript/Slackware/rc.networkmanager
14328                 - Cosmetic fix
14329
14330         * src/backends/NetworkManagerSlackware.c
14331                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14332                         interfaces
14333
14334 2005-12-05  Robert Love  <rml@novell.com>
14335
14336         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14337           to free, particularly here as it just barfs.
14338
14339 2005-12-05  Dan Williams  <dcbw@redhat.com>
14340
14341         * gnome/applet/applet-dbus.c
14342                 - Work with dbus 0.6 too
14343
14344 2005-12-03  Dan Williams  <dcbw@redhat.com>
14345
14346         * src/NetworkManagerUtils.[ch]
14347           src/nm-ip4-config.c
14348                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14349                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14350
14351 2005-12-01  Robert Love  <rml@novell.com>
14352
14353         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14354           need a NULL for the '...' parameter, too, to fill the so-called
14355           sentinel.
14356
14357 2005-12-01  Robert Love  <rml@novell.com>
14358
14359         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14360           interface is already gone, so don't call rtnl_link_change() to down
14361           it (which will segfault, anyhow).
14362
14363 2005-11-22  Robert Love  <rml@novell.com>
14364
14365         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14366           gateway is not set, just print a little note.  Configurations without
14367           gateways are valid.
14368
14369 2005-11-22  Robert Love  <rml@novell.com>
14370
14371         * README: update
14372
14373 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14374
14375         * configure.in: Added Finnish translation to ALL_LINGUAS
14376
14377 2005-11-14  Robert Love  <rml@novell.com>
14378
14379         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14380           Niemueller <tim@niemueller.de>.
14381
14382 2005-11-08  Dan Williams  <dcbw@redhat.com>
14383
14384         Patch from Bill Moss <bmoss@clemson.edu>
14385         * src/NetworkManagerDevice.c
14386                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14387                         of nm_policy_schedule_activation_finish() to prevent a
14388                         race condition that causes the link to be dropped
14389
14390 2005-11-08  Dan Williams  <dcbw@redhat.com>
14391
14392         Patch from Bill Moss <bmoss@clemson.edu>
14393         * src/NetworkManagerAPList.c
14394           src/NetworkManagerDevice.c
14395           src/NetworkManagerDbus.c
14396                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14397                         we get more readable ether/mac addresses
14398
14399 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14400
14401         * gnome/applet/main.c: Don't set the restart command.  This fixes
14402         the issue where the restart command was getting copies of all its
14403         arguments for each time the applet was restarted.
14404
14405 2005-11-02  Robert Love  <rml@novell.com>
14406
14407         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14408           if the widget state differs from our saved state.  This ensures we
14409           do not enter an endless loop of death and destruction.  Also, this
14410           guarantees us that we enforce the widget state.
14411
14412 2005-11-02  Robert Love  <rml@novell.com>
14413
14414         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14415         * gnome/applet/applet-dbus-devices.c: invoke the new function
14416           nmwa_enable_wireless_set_active() to ensure that the state of the
14417           'Enable Wireless' checkbox matches the daemon's state.  This is a
14418           concern because the daemon remembers the state.
14419
14420 2005-11-02  Robert Love  <rml@novell.com>
14421
14422         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14423           Enabled", as checkboxes should be actions/commands not positive
14424           statements, otherwise they are confusing in the unselected case.  See
14425           examples in GNOME HIG, Chapter 6.
14426
14427 2005-11-02  Robert Love  <rml@novell.com>
14428
14429         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14430           show a list of wireless networks or the wireless devices or the
14431           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14432           a bad bug: If wireless is disabled and the user picks a wireless
14433           network, NM will switch to the network, only to immediately switch
14434           back, as wireless is disabled.  This also reassures people that NM
14435           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14436
14437 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14438
14439         * gnome/applet/applet.c:
14440         * gnome/applet/applet.h:
14441         Partial backout of Dan's timeout animation patch.
14442         Timeout IDs cannot legally be 0, so revert the code in place to handle
14443         a timeout ID of 0 to denote the timeout isn't running.
14444
14445 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14446
14447         * src/NetworkManagerPolicy.c:
14448         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14449
14450 2005-10-28  Robert Love  <rml@novell.com>
14451
14452         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14453           "Import Saved Configuration..." to make it clear that importing is
14454           not the next step, but an option.  As an aside, a nice TODO would be
14455           to move Importing out of the vpn-specific dialog and into the main
14456           property editor, as Importing goes with Adding, but that will require
14457           some rearchitecting of the VPN stuff I suspect.
14458
14459 2005-10-27  Dan Williams  <dcbw@redhat.com>
14460
14461         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14462         we should replace most of the distro-specific backend code
14463         with libnl stuff.
14464
14465         Get it here:  http://people.suug.ch/~tgr/libnl/
14466
14467         * configure.in
14468           src/Makefile.am
14469                 - Add checks for libnl pkgconfig file
14470                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14471
14472         * src/NetworkManagerSystem.c
14473           src/nm-ip4-config.[ch]
14474                 - Use libnl rather than ioctl() for most things
14475                 - Remove unused functions
14476
14477 2005-10-27  Robert Love  <rml@novell.com>
14478
14479         * src/backends/NetworkManagerSuSE.c: fix warning message text
14480
14481 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14482
14483         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14484
14485 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14486
14487         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14488         project page <http://www.gnome.org/projects/NetworkManager/>
14489
14490 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14491
14492         * gnome/applet.c: Also use translator credits if we don't have
14493         the new GtkAboutDialog (older versions of GTK+)
14494
14495 2005-10-26  Robert Love  <rml@novell.com>
14496
14497         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14498           failure; correct usage text for "--no-daemon"
14499
14500 2005-10-25  Dan Williams  <dcbw@redhat.com>
14501
14502         * src/NetworkManagerDevice.c
14503                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14504                         no scan results
14505                 - (free_process_scan_cb_data): unref the device when freeing results
14506                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14507                         so we don't unref the device underneath ourselves
14508
14509 2005-10-25  Dan Williams  <dcbw@redhat.com>
14510
14511         * Back out 2005-10-24 commit from Tor Krill.  Patch
14512                 causes nameservers never to be removed from named.
14513
14514 2005-10-24  Dan Williams  <dcbw@redhat.com>
14515
14516         Clean up wireless scanning and wireless link probing.
14517
14518         * src/NetworkManagerDevice.c
14519                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14520                         just see if there's an activation request on the device, and check the
14521                         current link against the activation request access point's ESSID.
14522                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14523                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14524                         don't call process_scan_results() on zero-length data
14525                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14526                         15 seconds (from 10)
14527
14528 2005-10-24  Dan Williams  <dcbw@redhat.com>
14529
14530         Cleanup some applet stuff:
14531
14532         - Animation timeouts.  If NM died while the applet was animating,
14533                 the applet would not hide itself.  This is now fixed.
14534
14535         - Remove some dead code
14536
14537         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14538                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14539
14540         - Track animation timeout using a gboolean rather than the timeout's
14541                 ID, since timeout IDs can legally be 0.
14542
14543 2005-10-24  Dan Williams  <dcbw@redhat.com>
14544
14545         * src/backends/interface_parser.c
14546                 - Add void to function declarations that need it
14547                         to match patch from Engin AYDOGAN
14548
14549         * src/backends/interface_parser.h
14550                 - Remove unused prototype for ifparser_interfaces()
14551
14552         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14553         * src/backends/interface_parser.h:
14554                 - Compile fixes for gcc 4.0.2 (add void)
14555
14556 2005-10-24  Dan Williams  <dcbw@redhat.com>
14557
14558         Patch from Tor Krill <tor@krill.nu>
14559         * src/named-manager/nm-named-manager.c
14560                 - Write more than just the first nameserver to /etc/resolv.conf
14561                 - Write out valid /etc/resolv.conf on exit
14562
14563 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14564
14565         * gnome/applet/applet-dbus-vpn.c:
14566         Get rid of spurious newlines in debug console output
14567
14568 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14569
14570         * src/backends/NetworkManagerGentoo.c:
14571         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14572
14573 2005-10-20  Robert Love  <rml@novell.com>
14574
14575         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14576           direct comparison of floating point values, which is never correct.
14577           Also some misc. cleanup.
14578
14579 2005-10-19  Robert Love  <rml@novell.com>
14580
14581         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14582
14583 2005-10-19  Robert Love  <rml@novell.com>
14584
14585         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14586           sensitivity of the buttons.  Specificaly, do the right thing if
14587           there are no entries.
14588
14589 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14590
14591         * configure.in: Update check for adequate wireless-tools
14592         with an AC_TRY_COMPILE for the new symbols we use.
14593
14594 2005-10-19  Dan Williams  <dcbw@redhat.com>
14595
14596         * src/NetworkManagerDevice.c
14597                 - (process_scan_results): don't drop the last (or only)
14598                         access point we see
14599
14600 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14601
14602         * src/backends/NetworkManagerSlackware.c:
14603         Patch from Nico <lordllucifer@gmail.com>
14604                 - Update the Slackware backend.
14605
14606 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14607
14608         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14609         if we've got GLib 2.8.0
14610
14611 2005-10-18  Robert Love  <rml@novell.com>
14612
14613         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14614           function nm_schedule_state_change_signal_broadcast() when we
14615           deactivate a device, too.
14616
14617 2005-10-18  Robert Love  <rml@novell.com>
14618
14619         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14620           be used uninitialized.
14621
14622 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14623
14624         * test/libnm_glib_test.c: Test unregistering, too.
14625
14626 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14627
14628         * configure.in: Bump to 0.5.0
14629
14630 2005-10-17  Dan Williams  <dcbw@redhat.com>
14631
14632         * NetworkManager.h
14633                 - Remove WPA-related constants so they aren't part of the
14634                         upcoming release.
14635
14636 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14637
14638         * gnome/applet/applet.c:
14639         * gnome/applet/applet.h:
14640         Desensitize the 'Connection Information' menu item when there is
14641         no active connection.
14642
14643 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14644
14645         * gnome/libnm_glib/libnm_glib.c:
14646         Make libnm_glib_unregister_callback () actually unregister the callback
14647
14648 2005-10-17  Robert Love  <rml@novell.com>
14649
14650         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14651           two seconds -- tries is updated every 1/10 of a second, not every
14652           second..
14653
14654 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14655
14656         * gnome/applet/applet-dbus-info.c:
14657         Let D-BUS know that we haven't handled a message when we haven't.
14658
14659 2005-10-17  Robert Love  <rml@novell.com>
14660
14661         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14662           in order to remain 64-bit clean.
14663
14664 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14665
14666         * gnome/applet/applet-dbus-info.c:
14667         Find network encryption keys asynchronously
14668
14669 2005-10-17  Robert Love  <rml@novell.com>
14670
14671         * src/backends/NetworkManagerDebian.c,
14672           src/backends/NetworkManagerRedHat,
14673           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14674           comment delimiter.
14675
14676 2005-10-17  Robert Love  <rml@novell.com>
14677
14678         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14679           "/etc"
14680
14681 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14682
14683         * src/NetworkManagerDevice.c: (process_scan_results)
14684         Fix logic that checks to see whether we have an ESSID.
14685
14686 2005-10-15  Dan Williams  <dcbw@redhat.com>
14687
14688         Move scanning code into NetworkManager rather than use iwlib's
14689         iw_scan() function, so that we can figure out AP capabilities.
14690
14691         * NetworkManager.h
14692                 - Add AP capability bits
14693
14694         * src/NetworkManagerAP.[ch]
14695                 - Add capability field to NMAccessPoint structure
14696                 - Add WPA & RSN Information Element fields and accessor
14697                         functions to NMAccessPoint
14698
14699         * src/NetworkManagerDevice.c
14700                 - Remove usage of iw_scan
14701                 - Add scanning code to NetworkManager rather than use
14702                         iw_scan() from iwlib
14703
14704         * src/NetworkManagerUtils.[ch]
14705                 - (nm_dispose_scan_results): remove, unused
14706
14707 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14708
14709         * gnome/libnm_glib/libnm_glib.c:
14710         * gnome/libnm_glib/libnm_glib.h:
14711         Use guint instead of gint for callback IDs.
14712
14713 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14714
14715         * gnome/applet/applet.c:
14716         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14717         every 1000ms.  It will unconditionally call nmwa_update_state which
14718         kills the existing animation timeout and registers a new one with a
14719         callback to draw a new frame every 100ms.  There are 11 connecting
14720         icon frames, so the last 2 frames kept getting dropped.  Only reset
14721         the animation timeout if we aren't animating.
14722
14723 2005-10-11  Dan Williams  <dcbw@redhat.com>
14724
14725         * gnome/applet/applet-dbus-devices.c
14726                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14727                         We want to grab the product & vendor from net.physical_dev
14728                         rather than info.parent.
14729
14730 2005-10-11  Dan Williams  <dcbw@redhat.com>
14731
14732         * src/NetworkManagerDevice.c
14733                 - Use the driver's WE version for scanning rather than
14734                         the WE version NM was compiled with.  Fixes random
14735                         crashes in iw_scan () in iwlib.
14736
14737 2005-10-10  Dan Williams  <dcbw@redhat.com>
14738
14739         * Remove nm_system_load_device_modules() from backend files
14740                 and from NetworkManager.c
14741
14742 2005-10-10  Dan Williams  <dcbw@redhat.com>
14743
14744         * src/NetworkManagerPolicy.c
14745                 - Fix some bugs introduced by the capabilities patch
14746
14747 2005-10-10  Dan Williams  <dcbw@redhat.com>
14748
14749         * gnome/applet/applet-dbus-info.c
14750                 - (nmi_dbus_get_network_key): hide the menu when putting up
14751                         the keyring dialog.  (not sure if the code is right...)
14752
14753 2005-10-09  Dan Williams  <dcbw@redhat.com>
14754
14755         Patch from Bill Moss <bmoss@clemson.edu>
14756         * src/NetworkManagerDevice.c
14757                 - (nm_device_set_user_key_for_network): don't try to set auth
14758                         mode on the AP from the allowed list if it's NULL
14759
14760 2005-10-09  Dan Williams  <dcbw@redhat.com>
14761
14762         * Replace the "driver support level" stuff with capabilities.  The
14763                 capability field is a bitfield that is more flexible than the
14764                 old driver support level thing.  It's mostly so we can easily
14765                 figure out what supports WPA and what doesn't, but should be
14766                 quite useful later.
14767
14768 2005-10-09  Dan Williams  <dcbw@redhat.com>
14769
14770         * test/nmtest.c
14771                 - Removed
14772
14773         * test/nm-tool.c
14774           test/Makefile.am
14775                 - Added new "nm-tool" tool that gives quite a bit more
14776                         information
14777
14778 2005-10-07  Robert Love  <rml@novell.com>
14779
14780         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14781           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14782           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14783           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14784           appropriate
14785
14786 2005-10-07  Robert Love  <rml@novell.com>
14787
14788         * configure.in: Change our compile flags for the betterment of mankind.
14789           Add "-Wstrict-prototypes" because we comply anyhow and missing a
14790           prototype is very bad on 64-bit platforms as types default to int but
14791           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14792           "-Wmissing-declarations" to warn if we define an exported function
14793           but fail to put it in a header.
14794
14795 2005-10-07  Robert Love  <rml@novell.com>
14796
14797         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14798           by the name nm_update_device_wireless_timeouts() and once tried,
14799           without success, to steal my pet turtle.
14800
14801 2005-10-07  Robert Love  <rml@novell.com>
14802
14803         * Cleanup prototypes: put some functions in header files and mark
14804           others as 'static' -- feel free to invert
14805         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14806           nm_vpn_manager_vpn_connection_list_copy()
14807         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14808           nm_vpn_service_get_dbus_connection()
14809         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14810           nm_vpn_manager_vpn_connection_list_copy()
14811         * src/vpn-manager/nm-vpn-service.c: make
14812           nm_vpn_service_act_request_failed() and
14813           nm_vpn_service_stage2_daemon_wait() static
14814         * src/vpn-manager/nm-vpn-service.h: add prototype for
14815           nm_vpn_service_get_dbus_connection()
14816
14817 2005-10-06  Christopher Aillon  <caillon@redhat.com>
14818
14819         * gnome/applet/applet.c:
14820         * gnome/applet/applet.h:
14821         * gnome/applet/icons/Makefile.am:
14822         Convey information about the current connection stage in the
14823         icons themselves instead of creating a separate progress bar.
14824
14825 2005-10-04  Robert Love  <rml@novell.com>
14826
14827         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14828           convert an ether_addr structure's MAC into a string, because the
14829           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14830           versus 07:3B:04, while the former will not.
14831
14832 2005-10-04  Robert Love  <rml@novell.com>
14833
14834         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14835           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14836           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14837           default route in the 'Connection Information' dialog, send primary
14838           and secondary name servers in in "getProperties" DBUS method, add
14839           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
14840           secondary domain name servers are crucial pieces of information
14841           that a user might need in debugging a network problem.
14842
14843 2005-10-04  Robert Love  <rml@novell.com>
14844
14845         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14846           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14847           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14848           default route in the 'Connection Information' dialog, send default
14849           route in "getProperties" DBUS method, add network_device_set_route(),
14850           and network_device_get_route().  The Gateway is a crucial piece of
14851           connection-related information that a user might need in debugging a
14852           network problem.
14853
14854 2005-10-03  Robert Love  <rml@novell.com>
14855
14856         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
14857           NULL.
14858
14859 2005-10-02  Dan Williams  <dcbw@redhat.com>
14860
14861         * Shorten time taken to sleep by fastpathing bits of device deactivation
14862                 necessary for sleep.
14863
14864         * Fix issue where deactivating a device might deactivate the active
14865                 VPN connection, even if the VPN was not using the device.
14866
14867 2005-10-02  Dan Williams  <dcbw@redhat.com>
14868
14869         * gnome/applet/applet.c
14870                 - Adjust signal strength -> icon mapping values slightly
14871                         (so that 51% signal doesn't show a 75% icon) by adding
14872                         5% to the values. ex: > 5% now shows 25% icon, > 30%
14873                         shows 50% icon, etc.
14874
14875 2005-09-29  Robert Love  <rml@novell.com>
14876
14877         * src/NetworkManager.c: removed unused variable.
14878
14879 2005-09-28  Dan Williams  <dcbw@redhat.com>
14880
14881         Support for named + DBus, using Red Hat DBus patches for named.  You
14882         can find those patches here, with "dbus" in the patch's filename:
14883
14884                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
14885
14886         Don't forget the named dbus service file either.
14887
14888         Instead of writing a config file and spawing a named process, NM will
14889         use an already-running dbus-enabled named if it finds one.  NM will
14890         update named's forwarder configuration on the fly using dbus.
14891
14892         If there is no dbus-enabled named running, NM will automatically fall
14893         back to writing the most-recent DNS server information to /etc/resolv.conf
14894         and calling nm_system_update_dns() to kick the system's resolver.
14895
14896         Accordingly, all named-related configure-time options have been removed.
14897
14898 2005-09-26  Robert Love  <rml@novell.com>
14899
14900         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
14901           ISDN support!
14902         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
14903           bug in error path if "ASKPASSWORD" is "no".
14904
14905 2005-09-26  Robert Love  <rml@novell.com>
14906
14907         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
14908           comment in /etc/resolv.conf -- ';' is not.
14909
14910 2005-09-19  Dan Williams  <dcbw@redhat.com>
14911
14912         * src/backends/NetworkManagerRedHat.c:
14913         * src/backends/NetworkManagerDebian.c:
14914         * src/backends/NetworkManagerSlackware.c:
14915         * src/backends/NetworkManagerGentoo.c:
14916         * src/backends/NetworkManagerSUSE.c:
14917         Fix invocations of "/sbin/ip address" to use short form instead
14918
14919 2005-09-19  Christopher Aillon  <caillon@redhat.com>
14920
14921         * src/nm-dbus-device.c: Don't assert when getting
14922         addresses of a not yet connected interface.
14923
14924         * gnome/applet/applet.c: Free icons if loading fails.
14925         Use translator-credits so translators can make themselves known.
14926
14927 2005-09-15  Christopher Aillon  <caillon@redhat.com>
14928
14929         * src/NetworkManagerAP.c:
14930         * src/NetworkManagerAP.h:
14931         * src/NetworkManagerDevice.c:
14932         Set a blacklist for certain common manufacturer default ESSIDs:
14933         APs with these ESSIDs are extremely likely to be completely
14934         different networks: connecting to one should not make NM
14935         auto-connect to every other AP with the same default ESSID.
14936
14937 2005-09-12  Christopher Aillon  <caillon@redhat.com>
14938
14939         * gnome/applet/wireless-applet.glade:
14940         The passphrase entry should also activate the default
14941
14942         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
14943
14944         * gnome/applet/applet-dbus-devices.c:
14945         * gnome/applet/applet.c:
14946         * gnome/applet/nm-device.c:
14947         * gnome/applet/nm-device.h:
14948         * src/NetworkManagerUtils.c:
14949         * src/NetworkManagerUtils.h:
14950         * src/nm-dbus-device.c:
14951         I've got a fever, and the only cure for it is less ioctl.
14952         Make NM push IP data rather than make the applet open a socket
14953         to the device.
14954
14955 2005-09-10  Christopher Aillon  <caillon@redhat.com>
14956
14957         * gnome/applet/applet.c:
14958         * gnome/applet/applet-dbus-devices.c:
14959         * gnome/applet/applet-dbus-info.c:
14960         * gnome/applet/passphrase-dialog.c:
14961         * gnome/libnm_glib/libnm_glib.c:
14962         * gnome/vpn-properties/nm-vpn-properties.c:
14963         * src/autoip.c:
14964         * src/backends/NetworkManagerRedHat.c:
14965         * src/named-manager/nm-named-manager.c:
14966         * src/NetworkManagerAPList.c:
14967         * src/NetworkManager.c:
14968         * src/NetworkManagerDbus.c:
14969         * src/NetworkManagerDevice.c:
14970         * src/NetworkManagerPolicy.c:
14971         * src/NetworkManagerSystem.c:
14972         * src/nm-dbus-device.c:
14973         * src/nm-dbus-nm.c:
14974         * src/vpn-manager/nm-vpn-manager.c:
14975         * src/vpn-manager/nm-vpn-service.c:
14976         * test/libnm_glib_test.c:
14977         * test/nminfotest.c:
14978         * test/nmtestdevices.c:
14979         Fix a bunch of 'unused variable' compiler warnings
14980
14981         * NetworkManager.h:
14982         * gnome/applet/applet-dbus-info.c:
14983         * gnome/applet/applet-dbus-info.h:
14984         * gnome/applet/applet.c:
14985         * gnome/applet/applet.h:
14986         * src/NetworkManager.c:
14987         * src/NetworkManagerDbus.c:
14988         * src/NetworkManagerDbus.h:
14989         * src/NetworkManagerDevice.c:
14990         * src/NetworkManagerDevice.h:
14991         * src/NetworkManagerMain.h:
14992         * src/NetworkManagerWireless.c:
14993         * src/NetworkManagerWireless.h:
14994         * src/nm-dbus-nm.c:
14995         Make NetworkManager be smart about how frequently to scan
14996         based on its current state.  Remove the UI for choosing when
14997         to scan.  Scanning still may disabled completely by the user
14998         via the "Wireless Enabled" menu item.
14999
15000 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15001
15002         * gnome/applet/applet.c:
15003         Also overlay the vpn connecting icons onto the wired icon,
15004         when appropriate.
15005
15006         * gnome/vpn-properties/nm-vpn-properties.glade:
15007         Clean up a few strings to use better grammar and proper casing.
15008
15009 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15010
15011         * gnome/applet/vpn-connection.c:
15012         * gnome/applet/vpn-connection.h:
15013         Add nmwa_vpn_connection_is_activating ()
15014
15015         * gnome/applet/applet.c:
15016         * gnome/applet/applet.h:
15017         * gnome/applet/icons/nm-vpn-connecting*.png:
15018         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15019         the user know something's happening between clicking the VPN item and it
15020         actually being connected.
15021
15022 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15023
15024         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15025         failure case as well.
15026
15027 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15028
15029         * gnome/panel/eggtrayicon.[ch]:
15030         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15031
15032 2005-09-07  Dan Williams  <dcbw@redhat.com>
15033
15034         Patch from Bill Moss <bmoss@clemson.edu>
15035         * src/applet-dbus.c
15036                 - (nmwa_dbus_filter): strip whitespace from beginning
15037                         and end of VPN login banner
15038
15039 2005-09-07  Dan Williams  <dcbw@redhat.com>
15040
15041         * The great VPN Manager rewrite of 2005
15042
15043 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15044
15045         * gnome/applet/menu-items.c:
15046         * gnome/applet/nm-device.c:
15047         * gnome/applet/wireless-network.c:
15048         * gnome/libnm_glib/libnm_glib.c:
15049         * src/NetworkManagerDbusUtils.c:
15050         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15051         g_malloc0 doesn't return NULL
15052
15053 2005-09-06  Dan Williams  <dcbw@redhat.com>
15054
15055         Patch from Tomislav Vujec <tvujec@redhat.com>
15056         * src/NetworkManagerDevice.c
15057                 - (nm_get_device_by_udi): don't return a device when we
15058                         actually didn't find what we were looking for
15059
15060 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15061
15062         * gnome/applet/applet-dbus-devices.c:
15063         * gnome/applet/applet-dbus-devices.h:
15064         * gnome/applet/applet-dbus.c:
15065         * src/NetworkManagerDbus.c:
15066         * src/NetworkManagerDbus.h:
15067         * src/NetworkManagerDevice.c:
15068         * src/nm-dbus-device.c:
15069         Make NM push updates about active device strength when it changes,
15070         rather than having the applet poll every 2s.
15071
15072 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15073
15074         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15075         network_device_set_strength
15076
15077 2005-09-04  Dan Williams  <dcbw@redhat.com>
15078
15079         Patch from Bill Nottingham <notting@redhat.com>
15080         * src/NetworkManagerDevice.c
15081                 - (nm_device_activation_cancel): reset the quit_activation flag
15082
15083 2005-09-04  Dan Williams  <dcbw@redhat.com>
15084
15085         * src/nm-activation-request.c
15086                 - (nm_act_request_unref): actually free the structure,
15087                         which we didn't seem to be doing before
15088
15089 2005-09-04  Dan Williams  <dcbw@redhat.com>
15090
15091         Patch from John Palmieri <johnp@redhat.com>
15092         * gnome/applet/applet-dbus-devices.c
15093                 - Fix up unreffing of DBusMessage objects
15094
15095 2005-09-04  Dan Williams  <dcbw@redhat.com>
15096
15097         Patch from John Palmieri <johnp@redhat.com>
15098         * gnome/applet/nm-device.c
15099                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15100
15101 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15102
15103         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15104
15105 2005-09-02  Bill Nottingham  <notting@redhat.com>
15106
15107         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15108
15109 2005-09-01  Dan Williams  <dcbw@redhat.com>
15110
15111         * src/NetworkManager.c
15112                 - (nm_remove_device_from_list): rename to nm_remove_device
15113                 - (nm_hal_device_removed): call nm_remove_device()
15114
15115         * src/NetworkManagerDevice.c
15116                 - Change the NMWirelessScanCB member 'reschedule' which
15117                         wasn't used to 'force' to indicate that we need to
15118                         force a scan when adding a device
15119
15120         * src/nm-dbus-nm.c
15121                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15122                         from the device list
15123                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15124
15125 2005-09-01  Robert Love  <rml@novell.com>
15126
15127         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15128           and the check "!iface" in the error case is probably never true.
15129
15130 2005-09-01  Dan Williams  <dcbw@redhat.com>
15131
15132         Patch from Bill Nottingham <notting@redhat.com>
15133         * src/backends/NetworkManagerRedHat.c
15134                 - Add initial dialup support to Red Hat/Fedora backend
15135
15136 2005-09-01  Dan Williams  <dcbw@redhat.com>
15137
15138         * gnome/applet/applet-dbus-devices.c
15139                 - Sort both wireless networks and devices again, which got
15140                         broken when removing threading
15141
15142 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15143
15144         * gnome/applet/applet.c:
15145         Only show the "Stop/Start All Wireless Devices" menuitem
15146         if we actually have wireless devices.
15147
15148         * gnome/applet/applet-dbus-info.c:
15149         * gnome/applet/applet.c:
15150         * gnome/applet/other-network-dialog.c:
15151         * gnome/applet/vpn-password-dialog.c:
15152         Drop the gtk_dialog_run () calls in favor of connecting to
15153         "response" signals, needed now that the applet is not threaded.
15154
15155 2005-08-31  Dan Williams  <dcbw@redhat.com>
15156
15157         Patch from Bill Moss <bmoss@clemson.edu>
15158         * src/NetworkManagerDevice.c
15159                 - (nm_device_wireless_scan): fix scan timeout values
15160
15161 2005-08-30  Dan Williams  <dcbw@redhat.com>
15162
15163         * gnome/applet/wireless-applet.glade
15164                 - HIG-ify the Other Wireless Networks dialog a bit more
15165                 - Fix some potential segfaults in the info dialog
15166
15167 2005-08-30  Dan Williams  <dcbw@redhat.com>
15168
15169         * gnome/applet/applet-dbus-devices.c
15170                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15171
15172 2005-08-30  Dan Williams  <dcbw@redhat.com>
15173
15174         * gnome/applet/applet-dbus.[ch]
15175                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15176                         they weren't being used anyway
15177
15178 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15179
15180         * test/nmtestdevices.c: (print_usage), (main):
15181         Check the number of arguments, and fix a typo
15182
15183 2005-08-29  Dan Williams  <dcbw@redhat.com>
15184
15185         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15186         * gnome/applet/applet.c
15187                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15188
15189 2005-08-29  Dan Williams  <dcbw@redhat.com>
15190
15191         * gnome/applet/*
15192                 - Don't use threads any more.  Anything that blocks
15193                         (like gtk_dialog_run()) will  have to get fixed up which
15194                         should happen quickly.  We really only had threads to make
15195                         the animation smooth, and when everything got converted over
15196                         to DBus Pending Calls, the need for threads kind of went away
15197
15198 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15199
15200         * gnome/applet/applet.c: Draw VPN connections as radio items
15201         since we don't yet support multiple VPNs.
15202         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15203         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15204
15205 2005-08-29  Dan Williams  <dcbw@redhat.com>
15206
15207         Patch from j@bootlab.org
15208         - Make --without-named work
15209         - Make --with-dhcdbd work correctly
15210
15211 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15212
15213         * configure.in: Added "ca" to ALL_LINGUAS.
15214
15215 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15216
15217         * Fix up VPN state handling between the applet and NetworkManager,
15218                 so that the applet doesn't show a VPN as connected when one
15219                 really is not
15220                         - The applet no longer has a pointer to the active VPN's
15221                                 name, but tracks each VPNs state individually
15222                         - NM no longer has a "getActiveVPNConnection" method
15223                         - NM no longer broadcasts the "VPNConnectionChange" signal
15224                         - NM now broadcasts a "VPNConnectionStateChange" signal
15225                                 whenever the state of a VPN changes
15226
15227 2005-08-26  Dan Williams <dcbw@redhat.com>
15228
15229         * gnome/applet/applet-dbus-devices.c
15230           gnome/applet/applet-dbus-vpn.c
15231                 - Remove calls to dbus_pending_call_ref() because we already
15232                         "own" the pending call
15233                 - Remove calls to dbus_pending_call_get_completed() because
15234                         when we are in the callback, the pending call is completed
15235                         by definition
15236
15237 2005-08-22  Dan Williams <dcbw@redhat.com>
15238
15239         Patch by Bill Moss <bmoss@clemson.edu>
15240         * src/dhcp-manager/nm-dhcp-manager.c
15241                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15242                         some time to send out a RELEASE if they like
15243
15244 2005-08-22  Dan Williams <dcbw@redhat.com>
15245
15246         Noticed by Bill Moss <bmoss@clemson.edu>
15247         * src/NetworkManagerDbus.c
15248                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15249                         instead of just cancelling its activation
15250
15251         * src/NetworkManagerDevice.c
15252                 - (nm_device_deactivate): some small cleanups
15253                 - (nm_device_set_user_key_for_network): deactivate the device
15254                         instead of just cancelling its activation
15255
15256 2005-08-22  Dan Williams <dcbw@redhat.com>
15257
15258         Noticed by Bill Moss <bmoss@clemson.edu>
15259         * src/NetworkManagerDevice.c
15260                 - (nm_device_wireless_scan): fix scan timeout, we were
15261                         waiting way too long for scans to complete
15262
15263 2005-08-22  Dan Williams <dcbw@redhat.com>
15264
15265         Patch from j@bootlab.org:
15266         * src/backends/NetworkManagerDebian.c
15267                 - Make the Debian backend work for static IP again
15268
15269 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15270
15271         * gnome/applet/other-network-dialog.c:
15272         The "Create New Network" and "Connect to Other Network"
15273         dialogs share alot of code, but shouldn't share a window
15274         title.  Give them different ones.
15275
15276         * gnome/applet/wireless-applet.glade:
15277         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15278         Some more minor UI tweaks.
15279
15280 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15281
15282         * gnome/applet/other-network-dialog.c:
15283         * gnome/applet/wireless-applet.glade:
15284         Also need mnemonic widgets, and underline enabled.
15285
15286 2005-08-19  Dan Williams <dcbw@redhat.com>
15287
15288         * vpn-daemons/vpnc/nm-vpnc-service.c
15289                 - (vpnc_watch_cb): remove no-longer-relevant comment
15290                 - (write_config_option): new function, helper to write
15291                         config options to vpnc's stdin
15292                 - (nm_vpnc_config_write): use the new helper, make the
15293                         code shorter
15294
15295 2005-08-19  Christopher Aillon <caillon@redhat.com>
15296
15297         * gnome/applet/passphrase-dialog.c:
15298         * gnome/applet/wireless-applet.glade:
15299         Make the passphrase dialog response based, and treat
15300         responses other than OK (such as Esc, [X]) as a cancel.
15301
15302 2005-08-18  Christopher Aillon <caillon@redhat.com>
15303
15304         * initscript/Gentoo/NetworkManager:
15305         * initscript/RedHat/NetworkManager:
15306         * initscript/RedHat/NetworkManagerDispatcher:
15307         * initscript/SUSE/networkmanager:
15308         CVS remove these in place of .in replacements
15309
15310         * configure.in:
15311         * initscript/Gentoo/NetworkManager.in:
15312         * initscript/RedHat/NetworkManager.in:
15313         * initscript/RedHat/NetworkManagerDispatcher.in:
15314         * initscript/SUSE/networkmanager.in:
15315         These scripts now are generated so they work still when
15316         NM is built using a bindir other than /usr/bin
15317
15318 2005-08-18  Dan Williams <dcbw@redhat.com>
15319
15320         * gnome/applet/main.c
15321                 - Revert previous change for --no-session since
15322                         --sm-disable does the same thing
15323
15324 2005-08-18  Dan Williams <dcbw@redhat.com>
15325
15326         * gnome/applet/applet-dbus-info.c
15327                 - (nmi_dbus_create_error_message): new function
15328                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15329                         functions.  Also don't check for both device _and_ network before
15330                         asking for a user's key, because we may not have gotten all our
15331                         networks back from NM quite yet (due to the dbus pending calls
15332                         coming in later).  Fixes a hang in NM/nm-applet.
15333
15334         * src/NetworkManagerDbus.c
15335                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15336                         slightly more sane manner, even though we are still broken for
15337                         certain other error conditions.
15338                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15339                         to the info-daemon too
15340
15341         * src/NetworkManagerDevice.c
15342                 - Fix some debug messages to be info messages instead
15343
15344 2005-08-18  Dan Williams <dcbw@redhat.com>
15345
15346         * gnome/applet/main.c
15347                 - Add new "--no-session" parameter that disables applet
15348                         session management, ie for testing
15349
15350 2005-08-18  Christopher Aillon <caillon@redhat.com>
15351
15352         * gnome/applet/other-network-dialog.c:
15353         * gnome/applet/wireless-applet.glade: More mnemonics
15354
15355 2005-08-17  Robert Love  <rml@novell.com>
15356
15357         * initscript/SUSE/networkmanager: update
15358
15359 2005-08-17  Dan Williams  <dcbw@redhat.com>
15360
15361         * Tag NM_0_4_1_RELEASE
15362
15363 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15364
15365         * gnome/applet/applet.c: More translatable string cleanup
15366
15367
15368 2005-08-17  Dan Williams  <dcbw@redhat.com>
15369
15370         * gnome/applet/applet-dbus-info.c
15371                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15372                         from the dbus message, which tells us to unconditionally
15373                         ask the user for a new key.  Otherwise, we pull the key from
15374                         the keyring and return it.  If we fail to get the key from the
15375                         keyring, we ask the user for a new key.
15376                 - (nmi_dbus_get_network_key): new function to grab the key for
15377                         an essid from the keyring.
15378                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15379                         Also, don't return any key in the dbus message.
15380
15381         * src/NetworkManagerDbus.[ch]
15382                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15383                         indicate that we unconditionally want a new key.  This function
15384                         is now also used to get keys from the info-daemon which are
15385                         pre-stored, not just for asking the user for a new key.  The
15386                         "new_key" parameter indicates whether or not we wish to ask the
15387                         user for a new key.
15388                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15389                         info-daemon in the return message, so use NULL instead.  The
15390                         key will be filled in at connect time by calling
15391                         nm_dbus_get_user_key_for_network()
15392
15393         * src/NetworkManagerDevice.c
15394                 - (nm_device_wireless_configure): update for "new_key" param to
15395                         nm_dbus_get_user_key_for_network().  We initially set new_key
15396                         to FALSE to see if we have a stored key in the info-daemon, but
15397                         if the connection is unsuccessful at this stage we request a
15398                         new one
15399
15400 2005-08-17  Dan Williams  <dcbw@redhat.com>
15401
15402         * gnome/applet/icons/nm-no-connection.png
15403           gnome/applet/icons/nm-device-wired.png
15404                 - Use Diana's new RJ45 connector icons
15405
15406 2005-08-17  Dan Williams  <dcbw@redhat.com>
15407
15408         * src/NetworkManagerPolicy.c
15409                 - (nm_policy_device_change_check): clarify switching rules if
15410                         both new and old devices are valid; mainly, don't switch
15411                         away from user-requested wireless connection back to a wired
15412                         one
15413
15414 2005-08-17  Dan Williams  <dcbw@redhat.com>
15415
15416         * gnome/applet/Makefile.am
15417                 - Relocate the applet to /usr/bin since it is no longer
15418                         executed by anything, but directly by the user
15419
15420 2005-08-17  Dan Williams  <dcbw@redhat.com>
15421
15422         Patch from Bill Moss <bmoss@clemson.edu>
15423
15424         * gnome/applet/applet-dbus-info.[ch]
15425                 - (nmi_save_network_info): save timestamp for network if it
15426                         was a change requested by the user
15427                 - (nmi_dbus_update_network_info): get user_requested from dbus
15428                         message and pass to nmi_save_network_info()
15429
15430         * gnome/applet/applet.c
15431                 - (nmwa_update_network_timestamp): remove
15432                 - (nmwa_menu_item_activate): don't set timestamp on networks
15433                         here, only after a successful connect in nmi_save_network_info()
15434
15435         * src/NetworkManagerDbus.[ch]
15436                 - (nm_dbus_update_network_info): pass user_requested into the 
15437                         dbus message
15438
15439         * src/NetworkManagerPolicy.c
15440                 - (nm_policy_activation_finish): pass user_requested to
15441                         nm_dbus_update_network_info()
15442
15443 2005-08-16  Robert Love  <rml@novell.com>
15444
15445         * gnome/applet/applet.c: Better "Dial Up" menu item.
15446
15447 2005-08-16  Robert Love  <rml@novell.com>
15448
15449         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15450           "Connection Information" menu item.
15451
15452 2005-08-16  Dan Williams  <dcbw@redhat.com>
15453
15454         Patch from j@bootlab.org
15455         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15456
15457         * configure.in: allow specifying the path to dhcdbd
15458
15459 2005-08-16  Robert Love  <rml@novell.com>
15460
15461         Patch from j@bootlab.org
15462         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15463           src/backends/interface_parser.h: Debian dialup support.
15464
15465 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15466
15467         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15468         * gnome/applet/applet.c: Add some mnemonics for VPNC
15469
15470         * vpn-daemons/.cvsignore: fix this up a little bit
15471
15472 2005-08-16  Robert Love  <rml@novell.com>
15473
15474         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15475           support.
15476
15477 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15478
15479         * gnome/applet/applet.c: Split markup out of translatable strings
15480         and clean up logic a little bit.  (fixes #309012)
15481
15482 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15483
15484         * gnome/vpn-properties/nm-vpn-properties.c:
15485         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15486         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15487         Makeshift fix to remove newlines from translatable strings.
15488         Note that we now return an allocated string, so callers of
15489         get_confirmation_details () must now call g_free () on the
15490         result. (fixes #309033).
15491
15492 2005-08-12  Robert Love  <rml@novell.com>
15493
15494         * gnome/applet/applet-dbus.c: remove newlines from translatable
15495           strings--not needed here anyway. (fix b.g.o #309011)
15496         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15497
15498 2005-08-11  Robert Love  <rml@novell.com>
15499
15500         * gnome/applet/applet.c: mark string as translatable.
15501
15502 2005-08-11  Robert Love  <rml@novell.com>
15503
15504         * initscript/SUSE/networkmanager: update.
15505
15506 2005-08-11  Dan Williams  <dcbw@redhat.com>
15507
15508         * src/nm-dhcp-manager.c
15509                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15510                         an gateway returned from DHCP, try to use the address of the DHCP
15511                         server as the gateway instead.  Found by Ralf Ertzinger.
15512
15513 2005-08-10  Robert Love  <rml@novell.com>
15514
15515         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15516           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15517
15518 2005-08-10  Dan Williams  <dcbw@redhat.com>
15519
15520         Patch from Bill Moss <bmoss@clemson.edu>
15521         * Consolidate writes of access point information updates to the info daemon
15522                 so that we only do it when the connection to the access point was
15523                 successful.  Also consolidates updates to GConf in the Gnome applet.
15524
15525         * src/nm-netlink-monitor.c
15526                 - Silence compile warning when calling g_object_new()
15527
15528 2005-08-08  Dan Williams  <dcbw@redhat.com>
15529
15530         Patch from Steev <steev@steev.net>:
15531         * src/backends/NetworkManagerGentoo.c
15532                 - Stub new dialup backend functions
15533
15534 2005-08-08  Dan Williams  <dcbw@redhat.com>
15535
15536         Patch from Colin Slater:
15537         * src/backends/NetworkManagerGentoo.c
15538                 - (nm_system_update_dns): Fix exit status check for restarting
15539                         nscd
15540
15541 2005-08-05  Robert Love  <rml@novell.com>
15542
15543         * NetworkManager.h,
15544           gnome/applet/applet-dbus-devices.c,
15545           gnome/applet/applet-dbus-devices.h,
15546           gnome/applet/applet-dbus.c,
15547           gnome/applet/applet.c,
15548           gnome/applet/applet.h,
15549           src/NetworkManager.c,
15550           src/NetworkManagerMain.h,
15551           src/NetworkManagerSystem.h,
15552           src/backends/NetworkManagerRedHat.c,
15553           src/backends/NetworkManagerSuSE.c,
15554           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15555
15556 2005-08-05  Robert Love  <rml@novell.com>
15557
15558         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15559           machine's hostname to make adhoc creation idiot-proof.
15560
15561 2005-08-04  Robert Love  <rml@novell.com>
15562
15563         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15564           freed.
15565
15566 2005-08-04  Dan Williams  <dcbw@redhat.com>
15567
15568         * gnome/applet/applet-dbus-info.c
15569           gnome/applet/applet-dbus-info.h
15570                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15571                         to store key, key type, and auth method rather than just auth method
15572                 - (nmi_dbus_update_network_info): new function
15573                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15574
15575         * gnome/applet/passphrase-dialog.c
15576                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15577                         of saving the info ourselves
15578
15579         * gnome/libnm_glib/libnm_glib.c
15580                 - Remove the stupid version check for dbus
15581
15582         * src/NetworkManagerAP.c
15583           src/NetworkManagerAP.h
15584                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15585
15586         * src/NetworkManagerDbus.c
15587           src/NetworkManagerDbus.h
15588                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15589                         more than just the auth method
15590
15591         * src/NetworkManagerDevice.c
15592                 - Update network info at the appropriate times
15593
15594 2005-07-29  Ray Strode  <rstrode@redhat.com>
15595
15596         * src/NetworkManager.c (nm_info_handler): don't use input as format
15597         string (Spotted by Ian Jackson).
15598
15599 2005-07-27  Dan Williams  <dcbw@redhat.com>
15600
15601         * src/nm-dbus-nm.c
15602           src/nm-dbus-net.c
15603                 - Random cleanups of spacing
15604
15605         * gnome/applet/applet.h
15606           gnome/applet/other-network-dialog.c
15607           gnome/applet/passphrase-dialog.c
15608                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15609
15610         Patch from Bill Moss:
15611                 - Make Other Wireless Networks work again with encryption keys
15612
15613 2005-07-26  Dan Williams  <dcbw@redhat.com>
15614
15615         Patch from Steev <steev@steev.net>:
15616         * src/backends/NetworkManagerGentoo.c
15617           src/backends/Makefile.am
15618                 - Fix up Gentoo backend
15619
15620 2005-07-26  Robert Love  <rml@novell.com>
15621
15622         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15623
15624 2005-07-25  Robert Love  <rml@novell.com>
15625
15626         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15627           in the same group as the wireless networks, since they are all
15628           mutually exclusive.
15629
15630 2005-07-24  Ray Strode  <rstrode@redhat.com>
15631
15632         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15633         remove unneeded NULL arg from g_object_new().  Any
15634         warnings caused by not having the extra NULL are just a
15635         result of a bug in glib 2.7.0 - 2.7.2.
15636
15637 2005-07-22  Robert Love  <rml@novell.com>
15638
15639         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15640
15641 2005-07-22  Robert Love  <rml@novell.com>
15642
15643         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15644           parameters (gcc 4.0.2 warning fix).
15645
15646 2005-07-18  Robert Love  <rml@novell.com>
15647
15648         Suggested by Aaron Bockover (abockover@novell.com)
15649         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15650           s/Ascii/ASCII
15651         * gnome/applet/passphrase-dialog.c: ditto
15652         * gnome/applet/wireless-applet.glade: ditto
15653
15654 2005-07-13  Dan Williams  <dcbw@redhat.com>
15655
15656         Patch from Ray Strode <halfline@gmail.com>
15657         * vpn-daemons/vpnc/nm-vpnc-service.c
15658                 - Don't let vpnc daemonize, fixes some races with PID file reading
15659
15660 2005-07-13  Dan Williams  <dcbw@redhat.com>
15661
15662         Patch from Ray Strode <halfline@gmail.com>
15663         * Random cleanups for strict CFLAGS
15664
15665 2005-07-07  Dan Williams  <dcbw@redhat.com>
15666
15667         Patch from Derek Atkins <warlord@MIT.EDU>
15668         * src/nm-dbus-net.c:
15669                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15670
15671 2005-07-07  Dan Williams  <dcbw@redhat.com>
15672
15673         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15674         * src/backends/NetworkManagerGentoo.c
15675                 - Gentoo backend Static IP nameserver fixes
15676                 - General Gentoo backend goodness
15677
15678 2005-07-07  Dan Williams  <dcbw@redhat.com>
15679
15680         Patch from Bastien Nocera:
15681         * gnome/applet/applet.c
15682                 - Fix up error reporting when icons or glade files are missing
15683
15684 2005-07-07  Robert Love  <rml@novell.com>
15685
15686         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15687           are not any VPN connections above it.
15688
15689 2005-07-07  Robert Love  <rml@novell.com>
15690
15691         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15692
15693 2005-07-05  Robert Love  <rml@novell.com>
15694
15695         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15696           zero.
15697
15698 2005-07-05  Robert Love  <rml@novell.com>
15699
15700         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15701           on wired or unencrypted wireless.
15702
15703 2005-07-01  Robert Love  <rml@novell.com>
15704
15705         * src/NetworkManagerSystem.c: Print the error via strerror().
15706
15707 2005-06-30  Robert Love  <rml@novell.com>
15708
15709         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15710           then exit if the glade file is not found.  currently the application
15711           just hangs.
15712
15713 2005-06-30  Robert Love  <rml@novell.com>
15714
15715         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15716           explicitly up all interfaces on wake from sleep.
15717
15718 2005-06-30  Robert Love  <rml@novell.com>
15719
15720         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15721           with information about the currently active connection.
15722         * gnome/applet/applet.h: (ditto)
15723         * gnome/applet/wireless-applet.glade: (ditto), new file
15724
15725 2005-06-30  Robert Love  <rml@novell.com>
15726
15727         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15728         * src/nm-dbus-nm.c: print when we sleep and wake up.
15729         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15730         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15731           in /sbin unless D-BUS is, folks).
15732         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15733
15734 2005-06-27  Robert Love  <rml@novell.com>
15735
15736         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15737           case.
15738
15739 2005-06-27  Robert Love  <rml@novell.com>
15740
15741         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15742           items radios.
15743
15744 2005-06-26  Robert Love  <rml@novell.com>
15745
15746         * src/NetworkManagerDevice.c: be specific about which device in
15747           nm_info() message.
15748
15749 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15750
15751         * src/nm-netlink-monitor.c: correct spelling error.
15752
15753 2005-06-23  Robert Love  <rml@novell.com>
15754
15755         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15756         * gnome/applet/passphrase-dialog.c: more of that keyring!
15757
15758 2005-06-23  Robert Love  <rml@novell.com>
15759
15760         * configure.in: remove extraneous GNOMEKEYRING directives.
15761         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15762         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15763         * gnome/applet/passphrase-dialog.c: whitespace.
15764
15765 2005-06-23  Robert Love  <rml@novell.com>
15766
15767         * src/NetworkManagerDevice.c: division in assignment was flipped.
15768
15769 2005-06-23  David Zeuthen  <david@fubar.dk>
15770
15771         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15772         signal to the child to indicate that we got what we wanted when we
15773         see two new-lines right after each other.
15774         (nmwa_vpn_request_password): Pass a structure with several members
15775         instead of just the passwords
15776
15777 2005-06-23  Dan Williams <dcbw@redhat.com>
15778
15779         * src/NetworkManager.c
15780           src/NetworkManagerMain.h
15781                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15782                 - (nm_hal_init): new function, init libhal context then add devices
15783                 - (nm_hal_deinit): new function, clean up libhal context
15784                 - (nm_data_free): Move Hal cleanup here
15785                 - (main): check whether Hal is running, and if so, get a list of
15786                         network devices from it
15787
15788         * src/NetworkManagerDbus.c
15789                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15790                         and when it appears, get a list of network devices from it.  If
15791                         Hal goes away, clean up the libhal context
15792
15793 2005-06-22  Robert Love  <rml@novell.com>
15794
15795         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15796           permissions of scripts before executing.
15797
15798 2005-06-21  Robert Love  <rml@novell.com>
15799
15800         * initscript/SUSE/networkmanager: update.
15801         * src/backends/NetworkManagerSuSE.c: cleanup.
15802
15803 2005-06-21  Robert Love <rml@novell.com>
15804
15805         * gnome/applet/applet.c: use menu mnemonics.
15806         * gnome/applet/menu-items.c: (ditto)
15807
15808 2005-06-21  Robert Love  <rml@novell.com>
15809
15810         * applet/applet-dbus-devices.c: mark non-static functions static.
15811         * applet/applet-dbus-vpn.c: (ditto)
15812         * applet/applet.c: (ditto)
15813         * applet/nm-device.h: (ditto)
15814         * applet/other-network-dialog.c: (ditto)
15815         * applet/passphrase-dialog.c: (ditto)
15816         * NetworkManager.c: (ditto)
15817         * NetworkManagerDbus.c: (ditto)
15818         * NetworkManagerDevice.c: (ditto)
15819         * NetworkManagerPolicy.c: (ditto)
15820         * NetworkManagerUtils.c: (ditto)
15821         * NetworkManagerWireless.c: (ditto)
15822         * NetworkManagerWireless.h: (ditto)
15823         * nm-netlink-monitor.c: (ditto)
15824         * applet/applet-dbus-info.c: (ditto), add FIXME's.
15825         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15826         * autoip.c: include autoip.h.
15827         * autoip.h: new file.  define get_autoip().
15828         * nm-netlink-monitor.h: define nm_netlink_close_connection().
15829         * NetworkManagerDbus.h: remove duplicate definitions.
15830
15831 2005-06-20  Robert Love  <rml@novell.com>
15832
15833         * Makefile.am: Add missing intltool-foo.in generated files to
15834           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
15835           with the start of stuff to cleanup on 'distclea'.
15836         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
15837           stuff right and 'distcheck' works.
15838         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
15839           we keep it, we need to add all of examples/* to EXTRA_DIST and do
15840           Makefile.am for each.  And systray/Makefile needs to be redone.
15841
15842 2005-06-19  Dan Williams <dcbw@redhat.com>
15843
15844         * src/NetworkManagerDevice.c
15845         - (nm_device_wireless_process_scan_results): scan every 20s when
15846           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
15847
15848 2005-06-19  Dan Williams <dcbw@redhat.com>
15849
15850         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
15851
15852 2005-06-18  Ray Strode <rstrode@redhat.com>
15853
15854         * src/nm-netlink-monitor.c 
15855         (nm_netlink_monitor_event_handler): check for the presence
15856         of either error condition not both. 
15857         
15858         (nm_netlink_monitor_error_handler): emit error signal if
15859         error occurs.
15860
15861         (nm_netlink_monitor_event_handler),
15862         (nm_netlink_monitor_error_handler),
15863         (nm_netlink_monitor_disconnect_handler): if an 
15864         assertion fails disconnect the event handler to prevent 
15865         infinite loops.
15866
15867         * src/nm-netlink-monitor.h: add new error condition
15868         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
15869
15870 2005-06-18  Ray Strode <rstrode@redhat.com>
15871
15872         * src/nm-netlink-monitor.c 
15873         (nm_netlink_monitor_event_handler): remove bogus < 0
15874         check on unsigned value and return early if the kernel
15875         didn't send any bytes.
15876
15877 2005-06-17  Robert Love  <rml@novell.com>
15878
15879         * initscript/SUSE/networkmanager: Change the Provides and default
15880         run levels
15881
15882 2005-06-16  Dan Williams <dcbw@redhat.com>
15883
15884         Patch from Robert Love:
15885         * gnome/applet/applet.c
15886                 - Beautify some applet menu item names
15887
15888 2005-06-17  David Zeuthen  <davidz@redhat.com>
15889
15890         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
15891         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
15892         Also add new methods can_export, import_file and export.
15893
15894         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
15895         to the main UI
15896
15897         * gnome/vpn-properties/nm-vpn-properties.c:
15898         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
15899         nm-vpn-ui-interface.h.
15900         (update_edit_del_sensitivity): Also update "Export" sensitivity
15901         (add_vpn_connection): Also add new SVC_NAME column
15902         (import_settings): New function
15903         (retrieve_data_from_selected_connection): New function
15904         (edit_cb): Use retrieve_data_from_selected_connection to simplify
15905         this function
15906         (export_cb): New function
15907         (init_app): Also setup the "export" widget
15908         (main): Support the --import-service and --import-file commandline
15909         arguments
15910
15911         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
15912         D-BUS 0.34
15913
15914 2005-06-16  Dan Williams <dcbw@redhat.com>
15915
15916         Patch from Robert Love:
15917         * gnome/applet/menu-items.c
15918                 - (network_menu_item_new): pass -1 as wireless network
15919                         menu items height size request rather than ascent / 2
15920
15921 2005-06-16  Dan Williams <dcbw@redhat.com>
15922
15923         * Clean up wording in Wireless Scan Methods menu items and constants
15924
15925 2005-06-16  Robert Love  <rml@novell.com>
15926
15927         * po/POTFILES.in
15928                 - remove gtkcell* files
15929
15930 2005-06-15  Dan Williams <dcbw@redhat.com>
15931
15932         Patch from Robert Love: make the applet stetic
15933
15934         * gnome/applet/Makefile.am
15935                 - Don't compile the gtkcellview and gtkcellrendererprogress files
15936
15937         * gnome/applet/gtkcellview.h
15938           gnome/applet/gtkcellview.c
15939           gnome/applet/gtkcellrendererprogress.h
15940           gnome/applet/gtkcellrendererprogress.c
15941                 - Removed
15942
15943         * gnome/applet/menu-items.c
15944                 - Progress bars are 5:1 size ratio
15945                 - Use GTK progress bars rather than internal ones
15946
15947 2005-06-15  Dan Williams <dcbw@redhat.com>
15948
15949         Patch from Robert Love:
15950         * initscript/SUSE/networkmanager
15951                 - Fix typo
15952
15953 2005-06-15  Dan Williams <dcbw@redhat.com>
15954
15955         * src/backends/NetworkManagerSuSE.c
15956           src/backends/NetworkManagerRedHat.c
15957           src/backends/NetworkManagerDebian.c
15958                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
15959
15960 2005-06-15  Dan Williams <dcbw@redhat.com>
15961
15962         * src/backends/NetworkManagerDebian.c
15963                 - Add nm_system_device_get_use_dhcp() to debian backend
15964
15965         Patch from Kay Sievers:
15966         * src/backends/NetworkManagerSuSE.c
15967                 - Update debian backend for static IP nameservers
15968
15969         * src/NetworkManagerDevice.c
15970                 - Actually set the device to use static IP or DHCP rather
15971                         than always DHCP
15972
15973 2005-06-15  Dan Williams <dcbw@redhat.com>
15974
15975         Patch from Thom May:
15976         * src/backends/NetworkManagerDebian.c
15977                 - Update debian backend for static IP nameservers
15978
15979 2005-06-15  Dan Williams <dcbw@redhat.com>
15980
15981         Patches from Robert Love:
15982         * gnome/applet/wireless-applet.glade
15983                 - Tighten up wording
15984
15985         * src/NetworkManagerDevice.c
15986                 - Remove misplaced ';'
15987
15988         * configure.in
15989           initscript/Makefile.am
15990           initscript/SUSE/Makefile.am
15991           initscript/SUSE/networkmanager
15992                 - Add SUSE initscript
15993
15994 2005-06-12  David Zeuthen  <davidz@redhat.com>
15995
15996         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
15997
15998         * gnome/vpn-properties/nm-vpn-properties.glade: New file
15999
16000         * gnome/vpn-properties/nm-vpn-properties.c: New file
16001
16002         * gnome/vpn-properties/Makefile.am: New file
16003
16004         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16005         array of passwords
16006
16007         * src/vpn-manager/nm-vpn-manager.c
16008         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16009         instead of just a single one
16010
16011         * src/vpn-manager/nm-dbus-vpn.c:
16012         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16013         here
16014         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16015
16016         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16017         Change the interface here to give a list of passwords. Also, don't
16018         require username, but do require service
16019
16020         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16021         the binary for the auth-dialog and use that instead of putting up a
16022         dialog asking for a single password
16023
16024         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16025         however do remember the service
16026
16027         * gnome/applet/main.c (main): Setup i18n
16028
16029         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16030         connection to '%s'" to the tooltip if we are connected using VPN
16031         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16032         key to determine whether we the auth-dialog needs to
16033         reprompt. Also cope with the fact that the auth-dialog now returns
16034         an array of passwords.
16035         (nmwa_menu_configure_vpn_item_activate): New handler for
16036         "Configure VPN..." menu item
16037         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16038         (is_vpn_available): New function to determine if we got any
16039         NM-compatible VPN software installed
16040         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16041         items only if we have NM-compatible VPN software installed
16042         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16043         logic for detecting when VPN connections are removed
16044
16045         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16046         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16047         since these are defined elsewhere
16048
16049         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16050         function used to keep track of whether the last attempt succeded
16051         (nmwa_dbus_filter): Update last_attempt according to whether the
16052         VPN connection could be established or not
16053
16054         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16055         Change prototype to take an array of passwords, not just a single
16056         password
16057
16058         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16059         update service, not user
16060         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16061         dbus_active_vpn_name is not NULL before using it
16062         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16063         string array instead of assuming a single password
16064
16065         * gnome/applet/applet-dbus-info.c:
16066         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16067         user name; don't read from gconf
16068
16069         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16070         VPN_NAME_FILES_DIR
16071
16072         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16073
16074         * configure.in: Add checks for gmodule-2.0.
16075         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16076         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16077         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16078         for details
16079
16080         * vpn-daemons/Makefile.am: Removed
16081
16082         * vpn-daemons/README: New file to describe extensions points for VPN
16083         software
16084
16085 2005-06-10  Dan Williams <dcbw@redhat.com>
16086
16087         * src/backends/NetworkManagerRedHat.c
16088                 - (get_current_profile_name): new function, grab current network profile name from
16089                         /etc/sysconfig/network
16090                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16091                         update an IP4 Config structure's settings from it
16092                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16093                         get DNS info from current network profile
16094
16095 2005-06-09  Dan Williams <dcbw@redhat.com>
16096
16097         Patch from Robert Love:
16098         * src/NetworkManagerDevice.c
16099           src/NetworkManagerUtils.c
16100                 - 64-bit build fixes
16101
16102 2005-06-09  Dan Williams <dcbw@redhat.com>
16103
16104         Patch from Kay Sievers and Robert Love:
16105         * configure.in
16106           src/backends/Makefile.am
16107           src/backends/NetworkManagerSuSE.c
16108                 - Add SuSE support
16109
16110 2005-06-09  Dan Williams <dcbw@redhat.com>
16111
16112         * NetworkManager.h
16113                 - Add NMWirelessScanMethod enum for scan methods
16114
16115         * gnome/applet/applet-dbus-devices.c
16116                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16117                 - (nmwa_dbus_update_scanning_enabled): remove
16118                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16119                         since it got removed
16120                 - (nmwa_dbus_enable_scanning): remove
16121
16122         * gnome/applet/applet-dbus-info.c
16123                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16124                         update the wireless scanning method from NMI
16125                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16126                         method value to NetworkManager
16127                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16128
16129         * gnome/applet/applet-dbus-info.h
16130                 - Add prototype for nmi_dbus_signal_update_scan_method
16131
16132         * gnome/applet/applet.c
16133                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16134                         Wireless Scanning menu based on current wireless scan method
16135                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16136                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16137                         and update our menu items to make sure the right one is checked
16138                 - (nmwa_set_scanning_enabled_cb): remove
16139                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16140                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16141                         Scanning menu item
16142                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16143                         from GConf
16144                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16145                         so we get notified of preference values too
16146                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16147
16148         * gnome/applet/applet.h
16149                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16150                 - Add wireless scan method member to applet data
16151                 - Remove pause_scanning_item, add Wireless Scanning submenu
16152
16153         * src/NetworkManager.c
16154                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16155                 - (main): grab scanning method from NMI if we can
16156
16157         * src/NetworkManagerDbus.c
16158                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16159                         nm_dbus_update_wireless_scan_method()
16160                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16161                         from NMI
16162                 - (nm_dbus_nmi_is_running): redundant function, removed
16163                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16164                         when NMI comes back
16165
16166         * src/NetworkManagerDevice.c
16167                 - (nm_device_is_activated): return TRUE if the device is activated
16168                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16169                         and we are activated
16170
16171         * src/nm-dbus-nm.c
16172                 - (nm_dbus_nm_set_scanning_enabled): removed
16173                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16174                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16175
16176 2005-06-09  Dan Williams <dcbw@redhat.com>
16177
16178         * NetworkManager.h
16179           src/vpn-manager/nm-vpn-service.c
16180                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16181
16182 2005-05-27  Dan Williams <dcbw@redhat.com>
16183
16184         * vpn-daemons/vpnc/nm-vpnc-service.c
16185                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16186                         Should fix the bug where the VPN connection terminates the first time.
16187
16188 2005-05-20  Dan Williams <dcbw@redhat.com>
16189
16190         * NetworkManager.h
16191                 - Differentiate VPN config signals between bad VPN config options
16192                         and bad IP config
16193
16194         * gnome/applet/applet-dbus-info.h
16195                 - Add prototypes for wireless network and vpn connection update functions
16196
16197         * gnome/applet/applet-dbus.c
16198                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16199
16200         * gnome/applet/applet.c
16201                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16202                         error signals
16203                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16204                         propogation to NetworkManager
16205                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16206                         notify propogation to NetworkManager
16207
16208         * src/NetworkManagerDbus.c
16209                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16210                         are updating so a network can be removed from it if necessary
16211
16212         * src/vpn-manager/nm-vpn-manager.c
16213                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16214
16215         * vpn-daemons/vpnc/nm-vpnc-service.c
16216                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16217                 - (nm_vpnc_dbus_signal_launch_failed): remove
16218                 - (nm_vpnc_dbus_signal_connect_failed): remove
16219                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16220                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16221                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16222                         for new generalized error signal function, remove config file stuff
16223                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16224                         we can write configuration options to it
16225                 - (nm_vpnc_config_file_generate): removed
16226                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16227                 - (nm_vpnc_config_options_validate): validate the config options we receive
16228                         from NetworkManager to block potential exploits
16229                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16230                         starting vpnc
16231                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16232                         to NetworkManager
16233
16234 2005-05-16  Dan Williams  <dcbw@redhat.com>
16235
16236         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16237                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16238                         is not "connect"
16239
16240 2005-05-16  Dan Williams  <dcbw@redhat.com>
16241
16242         Patch from Tomislav Vujec <tvujec@redhat.com>
16243         * gnome/applet/applet-dbus-info.c
16244                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16245                         GConf and pass them to NetworkManager.  New key is 'routes' under
16246                         the VPN connection, and should be a string list
16247
16248         * src/NetworkManagerSystem.c
16249                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16250                         set them on the device when we set the rest of the VPN config.  Ensure
16251                         they are in the correct format since they are passed directly to the
16252                         command line.
16253
16254         * src/backends/NetworkManagerRedHat.c
16255           src/backends/NetworkManagerDebian.c
16256                 - (nm_system_device_add_route_via_device_with_iface): new function
16257
16258         * src/vpn-manager/nm-dbus-vpn.c
16259                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16260
16261         * src/vpn-manager/nm-vpn-manager.c
16262                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16263                         them into the IP4 config functions
16264
16265 2005-05-15  Dan Williams  <dcbw@redhat.com>
16266
16267         From Filip Miletic:
16268         * po/sr.po
16269           po/sr@Latn.po
16270           configure.in
16271                 - Serbian translation added
16272
16273 2005-05-15  Dan Williams  <dcbw@redhat.com>
16274
16275         * dispatcher-daemon/NetworkManagerDispatcher.c
16276                 - (main): sync arguments with NetworkManager and the applet, now use
16277                         "--no-daemon" rather than "daemon=no"
16278                 - (nmd_print_usage): Fix script path in usage message
16279
16280 2005-05-15  Dan Williams  <dcbw@redhat.com>
16281
16282         * src/NetworkManagerDevice.[ch]
16283           src/NetworkManagerPolicy.c
16284           src/NetworkManager.c
16285           src/nm-dbus-nm.c
16286                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16287                         longer send the DeviceNoLongerActive signal unconditionally, but only
16288                         when the device is actually active.
16289
16290         * dispatcher-daemon/NetworkManagerDispatcher.c
16291                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16292                         and simplify the logic
16293                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16294                         we free it later on
16295
16296         * initscript/RedHat/Makefile.am
16297           initscript/RedHat/NetworkManagerDispatcher
16298                 - Add initscript for NetworkManagerDispatcher
16299
16300
16301         Patch from Bill Moss:
16302         * dispatcher-daemon/NetworkManagerDispatcher.c
16303                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16304
16305         * src/NetworkManagerDbus.c
16306                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16307                         and DeviceNowActive gets signaled, then the device has a new IP address
16308                         anyway.  There's no need for a separate signal.
16309
16310         * src/NetworkManagerDevice.c
16311                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16312
16313         * src/NetworkManagerPolicy.c
16314                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16315                         activates successfully.  This kind of went missing when I reworked the
16316                         activation code.
16317
16318 2005-05-15  Dan Williams  <dcbw@redhat.com>
16319
16320         * configure.in
16321                 - Check for dhcdbd and error if its not found
16322
16323         * src/dhcp-manager/Makefile.am
16324           src/dhcp-manager/nm-dhcp-manager.c
16325                 - Use path to dhcdbd that configure found
16326
16327 2005-05-14  Dan Williams  <dcbw@redhat.com>
16328
16329         * gnome/applet/nm-device.c
16330                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16331                         sort wireless networks alphabetically
16332
16333         * gnome/applet/applet-dbus-devices.c
16334                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16335                         before copying them over to the GUI
16336
16337 2005-05-14  Dan Williams  <dcbw@redhat.com>
16338
16339         * src/NetworkManager.c
16340                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16341                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16342                         the device list, as does nm_get_active_device() which is called from
16343                         nm_vpn_manager_deactivate_vpn_connection().
16344
16345 2005-05-14  Dan Williams  <dcbw@redhat.com>
16346
16347         * NetworkManager.h
16348                 - Add signals for VPN Launch and Connect failures
16349
16350         * gnome/applet/applet-dbus.c
16351                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16352
16353         * gnome/applet/applet.c
16354                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16355                         function to handle all VPN failure messages
16356                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16357                         function to hanlde all VPN failure  messages
16358                 - (show_warning_dialog): work around focus-stealing prevention
16359
16360         * gnome/applet/other-network-dialog.c
16361           gnome/applet/passphrase-dialog.c
16362                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16363                         problem where it never enabled for ASCII Key and Hex Key types
16364
16365         * gnome/applet/wireless-applet.glade
16366                 - Add window title to Other Wireless Network Dialog
16367
16368         * src/vpn-manager/nm-dbus-vpn.c
16369                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16370                         function to handle all VPN failure messages
16371
16372         * src/vpn-manager/nm-vpn-manager.c
16373                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16374
16375         * vpn-daemons/vpnc/nm-vpnc-service.c
16376                 - (nm_vpnc_dbus_signal_launch_failed): new function
16377                 - (nm_vpnc_dbus_signal_connect_failed): new function
16378                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16379                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16380                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16381                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16382
16383 2005-05-11  Dan Williams  <dcbw@redhat.com>
16384
16385         * vpn-daemons/vpnc/nm-vpnc-service.c
16386                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16387                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16388                         file exists before trying to write it out.
16389
16390 2005-05-10  Dan Williams  <dcbw@redhat.com>
16391
16392     * gnome/applet/applet-dbus-device.c
16393         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16394             prevented just entering ESSID and leaving key and key type up to
16395             NetworkManager (which should have them already cached)
16396
16397 2005-05-08  Dan Williams  <dcbw@redhat.com>
16398
16399         * src/NetworkManagerPolicy.c
16400                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16401                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16402                         fix a situation where NM is told to terminate and the device stops activation,
16403                         but the main thread isn't aware of that because it would never have run
16404                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16405                         had already quit.
16406
16407         * src/NetworkManagerDevice.c
16408                 - (nm_device_probe_wired_link_state): cosmetic fixes
16409                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16410                         we've failed to activate or been canceled.
16411                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16412
16413 2005-05-08  Dan Williams  <dcbw@redhat.com>
16414
16415         * src/NetworkManagerWireless.c
16416                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16417                         value of WEXT quality structures, and add a debug message when we cannot
16418                         determine any quality % at all
16419
16420 2005-05-08  Dan Williams  <dcbw@redhat.com>
16421
16422         * src/dhcp-manager/nm-dhcp-manager.c
16423                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16424                         it goes down.
16425
16426 2005-05-06  Dan Williams  <dcbw@redhat.com>
16427
16428         * gnome/applet/applet-dbus-device.c
16429           gnome/applet/applet-dbus-info.c
16430           gnome/applet/applet-dbus.c
16431           gnome/applet/applet.c
16432           gnome/applet/applet.h
16433                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16434
16435         * gnome/applet/applet-dbus.c
16436                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16437                         so we notice when wired device's carriers come back on.  Should
16438                         fix issue with wired devices being grayed out even if the cable
16439                         is in, for devices that support carrier detection.
16440
16441         * gnome/applet/applet.c
16442                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16443                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16444                         tooltip message
16445                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16446                         Fix situation where applet wouldn't respond to menu selections
16447
16448         * src/NetworkManager.c
16449           src/NetworkManagerDevice.c
16450           src/NetworkManagerDbus.c
16451           src/NetworkManagerDbus.h
16452                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16453
16454         * src/NetworkManagerDbus.c
16455                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16456                         Remove, no longer used or relevant
16457                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16458                 - (nm_dbus_schedule_device_status_change_signal): add
16459
16460         * src/NetworkManagerDevice.c
16461                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16462                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16463                         ie don't deactivate them unless explicitly told to by the user.  Also send
16464                         CARRIER_OFF / CARRIER_ON signals when link changes
16465                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16466                         Don't print error message when device is no longer around
16467                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16468                         not just during activation
16469
16470         * src/NetworkManagerPolicy.c
16471                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16472                         auto-device-selection.
16473                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16474
16475         * src/NetworkManagerSystem.c
16476                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16477                         is no longer present (Bill Moss)
16478
16479         * src/backends/shvar.c
16480                 - (svOpenFile): Open read-only to make SELinux happy
16481
16482         * src/backends/NetworkManagerRedHat.c
16483                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16484                         the path to the ifcfg-* files
16485
16486 2005-05-05  Dan Williams  <dcbw@redhat.com>
16487
16488         * Expose activation stages to NetworkManager clients, like the applet
16489         * Add Diana's progress icons to the applet, cued off NM activation stage
16490         * Use more descriptive tooltips, cued off NM activation stage
16491
16492 2005-05-05  Ray Strode  <rstrode@redhat.com>
16493
16494         * src/nm-netlink-monitor.c:
16495                 - Use clear_event_source instead of g_nullify_pointer() again.
16496
16497 2005-05-05  Dan Williams  <dcbw@redhat.com>
16498
16499         * gnome/applet/main.c
16500                 - Fix session management so the applet is actually managed now
16501
16502         * gnome/applet/passphrase-dialog.c
16503                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16504
16505 2005-05-05  Dan Williams  <dcbw@redhat.com>
16506
16507         Patch from Bill Moss:
16508         * gnome/libnm_glib/libnm_glib.c
16509                 - Fix for dbus-0.33
16510
16511 2005-05-05  Dan Williams  <dcbw@redhat.com>
16512
16513         Suggestion from Bill Moss:
16514         * src/NetworkManagerSystem.c
16515                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16516
16517
16518         * src/NetworkManager.c
16519                 - (nm_data_free): move destruction of the various managers after
16520                         release of device list, because deactivating and freeing a device
16521                         requires at least the named manager
16522                 - (nm_poll_and_update_wireless_link_state):
16523                   (nm_device_link_activated):
16524                   (nm_device_link_deactivated):
16525                         don't grab the device list lock when actually updating device
16526                         link status or strength, since nm_device_set_link_active()
16527                         needs to call nm_get_active_device(), which also locks the device list.
16528
16529         * src/NetworkManagerDevice.c
16530                 - (nm_device_set_link_active): if a device's link switches from off->on,
16531                         and it's wired, and the active device is wireless (or there is no
16532                         active device), activate the new device whose link just came on
16533                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16534                         my only calling the link to the current ap "failed" when more than 2
16535                         consecutive link checks have failed
16536
16537 2005-05-04  Dan Williams  <dcbw@redhat.com>
16538
16539         * src/NetworkManagerDevice.c
16540                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16541                         but let link_to_specific_ap() do the locking where it needs
16542
16543         Patch from Bill Moss:
16544         * src/NetworkManagerSystem.c
16545                 - Set MTU of VPN devices to 1412
16546
16547 2005-05-04  Dan Williams  <dcbw@redhat.com>
16548
16549         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16550
16551         * Fix some holes in device activation and retaining the currently connected
16552                 access point
16553
16554 2005-05-03  Dan Williams  <dcbw@redhat.com>
16555
16556         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16557           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16558           means you need dhcdbd, which you can get here (get the latest one):
16559
16560                 http://people.redhat.com/jvdias/dhcdbd/
16561
16562           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16563           interface as dhcdbd.
16564
16565         * Rewrite device activation to facilitate the new DHCP infrastructure and
16566           future improvements.  Its now "activation request" based, ie there is a single
16567           activation request composed of the device, access point, and other info which
16568           follows the entire activation process.  There are 5 stages of the activation
16569           process which correspond to:
16570
16571                 1) Device preparation
16572                 2) Device configuration (bring it up, set ESSID/Key/etc)
16573                 3) IP Config Start (fire off DHCP if we're using it)
16574                 4) IP Config Get (grab config from DHCP or static config files)
16575                 5) IP Config Commit (set device's IP address, DNS, etc)
16576
16577           Note that there is no longer a "scanning" step, since the access point must
16578           be known _before_ activation starts.  If the access point drops out or does
16579           not exist for some reason, the entire activation process fails and must be
16580           restarted for a different access point or device.
16581
16582         Patch from Bill Moss:
16583         * gnome/applet/applet.c
16584                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16585
16586 2005-04-27  Dan Williams  <dcbw@redhat.com>
16587
16588         * gnome/applet/applet-dbus-vpn.c
16589           gnome/applet/applet.c
16590           gnome/applet/applet.h
16591                 - Fix up active VPN handling so that we reliably know when a VPN
16592                         connection has been deactivated
16593
16594         * src/vpn-manager/nm-vpn-manager.c
16595                 - Remove duplicate VPNConnectionChange signal
16596
16597 2005-04-27  Dan Williams  <dcbw@redhat.com>
16598
16599         Patch from Peter Jones:
16600         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16601
16602         Patch from Bill Moss:
16603         * src/NetworkManagerSystem.c
16604                 - Fix checking of return value from ioctl()
16605
16606 2005-04-27  Dan Williams  <dcbw@redhat.com>
16607
16608         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16609         * Warn and exit if icons cannot be found
16610
16611 2005-04-27  Dan Williams  <dcbw@redhat.com>
16612
16613         Patch from Tom Parker:
16614         * Update debian backend
16615
16616 2005-04-27  Dan Williams  <dcbw@redhat.com>
16617
16618         * Merge the applet and the info-daemon, and move the converged
16619                 applet under gnome/applet
16620         * Move libnm_glib to gnome/libnm_glib
16621         * Convert most dbus calls between the applet, info-daemon, and NM
16622                 into async calls
16623         * Fix a few things valgrind noticed
16624         * Make NM broadcast state more reliably
16625
16626 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16627
16628         * configure.in: Added ne in ALL_LINGUAS
16629
16630 2005-04-15  Dan Williams  <dcbw@redhat.com>
16631
16632         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16633                 code for dbus 0.2x versions
16634
16635 2005-04-15  Dan Williams  <dcbw@redhat.com>
16636
16637         Patches from Tom Parker:
16638         - Fix memleaks
16639         - Join with worker thread rather than polling for its exit
16640
16641         Patch from Bill Moss:
16642         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16643
16644 2005-04-15  Dan Williams  <dcbw@redhat.com>
16645
16646         - Fixes to pass 'make distcheck'
16647
16648 2005-04-15  Dan Williams  <dcbw@redhat.com>
16649
16650         Initial VPN Support
16651                 - supports 'vpnc'
16652                 - reworks device IP configuration, backend files have changed and will need
16653                         to be updated for all distributions.  I will try to do what I can for
16654                         them, but I cannot test them.
16655
16656         - Move named directory to src/named-manager
16657         - Make backends directory self-contained
16658
16659 2005-04-06  Dan Williams  <dcbw@redhat.com>
16660
16661         Add debug code for socket/file descriptor leaks.  We register every socket
16662         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16663         list of sockets that we forgot to close on shutdown.  This also consolidates
16664         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16665
16666 2005-04-06  Dan Williams  <dcbw@redhat.com>
16667
16668         * dhcpcd/dhcpcd.c
16669                 - (dhcp_interface_free): fix a file descriptor leak that may have
16670                         caused network drivers to not unload due to refcounts > 0
16671
16672 2005-04-04  Dan Williams  <dcbw@redhat.com>
16673
16674         * panel-applet/NMWirelessAppletDbus.c
16675                 - (nmwa_dbus_call_nm_method): remove some commented code
16676
16677         * src/NetworkManagerAPList.[ch]
16678                 - (nm_ap_list_remove_ap_by_essid): new function
16679
16680         * src/NetworkManagerDevice.c
16681                 - (nm_device_wireless_force_use): remove access points from the ignore list
16682                         when the user forces them
16683
16684         * src/nm-dbus-device.c
16685                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16686
16687 2005-04-04  Dan Williams  <dcbw@redhat.com>
16688
16689         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16690
16691 2005-04-04  Dan Williams  <dcbw@redhat.com>
16692
16693         * src/NetworkManagerDevice.c:
16694                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16695                         of only erroring after the second consecutive scan times out.  Also
16696                         don't exit when the card requires more time than we can give it, just
16697                         log the event and continue.
16698
16699 2005-04-01  Steve Murphy  <murf@e-tools.com>
16700
16701         * configure.in: Added "rw" to ALL_LINGUAS.
16702
16703 2005-04-01  Dan Williams <dcbw@redhat.com>
16704
16705         Perform scans during device activation, if needed.  Both activation 
16706         and scans run in the same GMainContext.  Therefore, if an access point
16707         is not found by the time the device starts activation, it will not
16708         be available until after activation.  We now try to scan during
16709         activation (in nm_wa_test) every 15s so that all available access
16710         points are more likely to be found and available for the activation
16711         procedure.
16712
16713         Also change nm_wireless_link_state_handle() to only update the "best"
16714         AP if we are not forcing a device and if we are not about to change
16715         state.  This attempts to work around a race when forcing a device,
16716         where the forced AP would get cleared out too soon by the link state
16717         checking timeout in the main thread, and the activation attempt with
16718         that AP would fail.
16719
16720 2005-04-01  Dan Williams <dcbw@redhat.com>
16721
16722         * po/POTFILES.in
16723                 - Update with new translatables
16724
16725 2005-03-31  Dan Williams <dcbw@redhat.com>
16726
16727         * panel-applet/NMWirelessAppletDbus.c
16728                 - Fix device names now that hal has changed device parenting for
16729                         network devices.
16730
16731 2005-03-31  Dan Williams <dcbw@redhat.com>
16732
16733         Tighten up handling of wireless devices that don't support wireless
16734         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16735         hadn't been doing pseudo-scanning for a while either and would just
16736         spin waiting for an access point.  They are now manual devices where
16737         the user must choose the access point from the menu every time.  All
16738         "allowed" access points are listed in the applet's menu regardless
16739         of whether or not they can be seen by the card, since it can't scan
16740         anyway.
16741
16742         * src/NetworkManager.c
16743                 - (nm_wireless_link_state_handle): new function, but only update
16744                         the "best" ap for non-scanning devices when its not activating,
16745                         and when no device is being forced on the card
16746                 - (nm_link_state_monitor): split wireless link state handling out
16747                         into separate function
16748
16749         * src/NetworkManagerDevice.c
16750                 - (nm_device_copy_allowed_to_dev_list): new function
16751                 - (nm_device_new): populate non-scanning cards' AP lists with
16752                         access points from the "allowed" list
16753                 - (nm_device_new): don't start a scanning timeout for devices that
16754                         can't scan
16755                 - (nm_device_activation_schedule_finish): new parameter, should be
16756                         the AP that failed to be connected to, pass it on to the
16757                         activation finish function in NetworkManagerPolicy.c
16758                 - (nm_device_activate_wireless): don't ever try to get a new AP
16759                         for non-scanning devices, just fail.  The user must choose
16760                         a new access point manually.
16761                 - (nm_device_activate): grab the AP that failed connection and
16762                         pass it on
16763                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16764                         a link to it, user must manually choose a new one
16765                 - (nm_device_do_pseudo_scan): remove function
16766                 - (nm_device_wireless_process_scan_results): remove bits for non-
16767                         scanning cards since they never get here
16768                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16769                         and fake the scan list for test devices a bit earlier
16770
16771         * src/NetworkManagerPolicy.c
16772                 - (nm_policy_activation_finish): use the failed_ap that we get
16773                         passed rather than getting the best_ap from the card, which
16774                         may have changed since we were scheduled
16775                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16776                         update their scan list directly from the allowed list when
16777                         we get updates to the allowed list from NetworkManagerInfo
16778
16779         * src/NetworkManagerPolicy.h
16780                 - New member for failed access point in NMActivationResult
16781
16782   -------------------------------------
16783
16784         Driver Notification patch: notifies the user when their driver
16785                 sucks.  Gives them the option to ignore further insertions
16786                 of the card that has the sucky driver.
16787
16788         * NetworkManager.h
16789                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16790                         enum and replace it with NO_CARRIER_DETECT and
16791                         NO_WIRELESS_SCAN
16792
16793         * panel-applet/NMWirelessApplet.[ch]
16794                 - Merge essid.glade -> wireless-applet.glade
16795                 - Implement the "Your driver sucks" notification dialog
16796
16797         * panel-applet/NMWirelessAppletDbus.c
16798                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16799                 - Grab hardware address for each device from NM too
16800                 - Check whether the driver for each device sucks or not whenever
16801                         a new device is noticed
16802
16803         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16804                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16805
16806         * src/NetworkManager.c
16807                 - Fix a double-unref on device removal
16808
16809         * src/NetworkManagerUtils.c
16810                 - Set appropriate driver support level on a device that doesn't
16811                         support scanning or carrier detection
16812
16813         * src/nm-dbus-device.c
16814                 - New "getHWAddress" dbus method on devices
16815                 - getSupportsCarrierDetect -> getDriverSupportLevel
16816
16817 2005-03-31  Dan Williams <dcbw@redhat.com>
16818
16819         * src/NetworkManagerDevice.c
16820                 - (nm_device_wireless_scan): Fix leak of scan results in some
16821                         instances
16822
16823 2005-03-29  Dan Williams <dcbw@redhat.com>
16824
16825         * src/NetworkManager.c
16826                 - (nm_poll_and_update_wireless_link_state): make code less indented
16827
16828         Patch from Bill Moss:
16829         * src/NetworkManager.c
16830                 - (nm_device_update_link_state): Update signal strength on wireless
16831                         devices every time we update link state too.
16832
16833 2005-03-29  Dan Williams <dcbw@redhat.com>
16834
16835         * src/NetworkManagerDevice.c
16836                 - (nm_device_set_essid): Work around Orinoco cards which need
16837                         extra time after setting the ESSID
16838
16839 2005-03-29  Dan Williams <dcbw@redhat.com>
16840
16841         * src/NetworkManagerDevice.c
16842                 - Merge one more bit of Peter Jones' completion patch
16843
16844 2005-03-29  Dan Williams <dcbw@redhat.com>
16845
16846         * src/NetworkManagerDevice.c
16847                 - (nm_device_force_use): Fix possible segfault
16848
16849 2005-03-29  Dan Williams <dcbw@redhat.com>
16850
16851         * src/NetworkManagerDevice.c
16852                 - Use iw_get_ext() where we should rather than iw_set_ext()
16853
16854 2005-03-29  Dan Williams <dcbw@redhat.com>
16855
16856         * src/NetworkManagerDevice.c
16857                 - (nm_device_set_up_down): remove check for unsupported devices
16858                         that caused NM to not bring devices up when they were
16859                         added to the device list.
16860
16861 2005-03-28  Dan Williams <dcbw@redhat.com>
16862
16863         * src/NetworkManagerDevice.c
16864                 - (mdio_read): Fix two bugs that caused all devices to fail
16865                         the MII carrier detection support checks
16866
16867 2005-03-26  Dan Williams <dcbw@redhat.com>
16868
16869         * src/NetworkManagerDevice.c
16870                 - (nm_device_wireless_scan): Remove duplicated scanning code
16871
16872 2005-03-25  Dan Williams <dcbw@redhat.com>
16873
16874         * panel-applet/NMWirelessApplet.c
16875                 - (nmwa_about_cb): Add some more contributors
16876                 - (nmwa_update_state): show the applet when there's no connection
16877                 - Enable the "Stop/Resume all wireless devices" option in the
16878                         context menu
16879                 - New "no connection" icon
16880
16881         * src/NetworkManager.c
16882                 - (nm_poll_and_update_wireless_link_state): don't do anything if
16883                         wireless is disabled or we're asleep
16884
16885         * src/NetworkManagerDHCP.c
16886                 - Remove trailing "\n" on debug messages
16887
16888         * src/NetworkManagerDbus.c
16889                 - (nm_dbus_network_status_from_data): new state "asleep"
16890
16891         * src/NetworkManagerDevice.c
16892                 - Merge most of Peter Jones' "completion" patch that greatly reduces
16893                         latency and wait times for most operations
16894                 - (nm_device_wireless_scan): Don't scan when asleep
16895
16896         * src/NetworkManagerPolicy.c
16897                 - (nm_policy_get_best_device): return no device when asleep
16898                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
16899                         for all wireless devices on update, not just active device
16900
16901         * src/NetworkManagerUtils.c
16902                 - Merge Peter Jones' "completion" patch
16903
16904         * src/nm-dbus-nm.c
16905                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
16906                         we're told to disable them
16907                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
16908
16909         * utils/nm-utils.h
16910                 - New variants of the warn/info/error/debug print functions that can take
16911                         variables rather than static strings
16912
16913 2005-03-24  Dan Williams <dcbw@redhat.com>
16914
16915         * src/NetworkManagerUtils.c
16916                 - (nm_get_device_driver_name): driver names are now on the parents of
16917                         "Network Interface" objects, so look for them there
16918
16919 2005-03-24  Dan Williams <dcbw@redhat.com>
16920
16921         * test/nmtest.c
16922                 - Escape some forgotten object paths before we shove them through dbus
16923
16924 2005-03-24  Dan Williams <dcbw@redhat.com>
16925
16926         * dhcpcd/dhcpcd.[ch]
16927           src/NetworkManagerDHCP.c
16928                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
16929                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
16930
16931         * src/NetworkManagerDbus.c
16932                 - spacing cleanups
16933
16934         * src/nm-dbus-dhcp.c
16935                 - Make the API suck less.  There is now only 1 type of each function,
16936                         ie only "getInteger" and no longer also "getIntegerv".  All types
16937                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
16938                         that will never have more than 1 element.  This should simplify
16939                         things greatly.
16940
16941         * test/nm-dhcp-opt-test.c
16942                 - Make the tool not segfault
16943                 - adapt to new DHCP Options API
16944
16945 2005-03-22  Dan Williams <dcbw@redhat.com>
16946
16947         * src/NetworkManager.c
16948                 - (nm_wired_link_deactivated): actually ignore netlink events from
16949                         wireless devices.
16950
16951 2005-03-22  Dan Williams <dcbw@redhat.com>
16952
16953         * src/NetworkManager.c
16954                 - (nm_wired_link_activated): actually ignore netlink events from
16955                         wireless devices.
16956
16957 2005-03-17  Dan Williams <dcbw@redhat.com>
16958
16959         Patch from Tom Parker:
16960         * src/nm-netlink-monitor.c
16961                 - Include unistd.h
16962         * info-daemon/NetworkManagerInfoDbus.c
16963                 - (nmi_dbus_update_network_auth_method): free GConf values
16964
16965         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
16966         * src/NetworkManagerDevice.c
16967                 - (nm_device_set_wireless_config): wait for successful
16968                         association longer for some cards (Atheros a/b/g)
16969
16970 2005-03-15  Ray Strode  <rstrode@redhat.com>
16971
16972         * src/NetworkManager.c:
16973         (sigterm_pipe_handler):
16974         remove bogus FIXME
16975
16976 2005-03-15  Ray Strode  <rstrode@redhat.com>
16977
16978         * src/NetworkManagerDbus.c:
16979         Fix some sign weirdness that gcc4 doesn't like,
16980         and add a header file so PPC can hopefully find
16981         SIGTRAP
16982
16983 2005-03-14  Ray Strode  <rstrode@redhat.com>
16984         
16985         Fourth (probably working) cut at porting to
16986         dbus 0.30 api and new hal. This cut adds
16987         some new logging macros to make debugging
16988         easier.
16989
16990         * dispatcher-daemon/NetworkManagerDispatcher.c:
16991         * info-daemon/NetworkmanagerInfo.c:
16992         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
16993         * info-daemon/NetworkManagerInfoVPN.c:
16994         * src/NetworkManager.c:
16995         * src/NetworkManagerAP.c:
16996         * src/NetworkManagerAPList.c:
16997         * src/NetworkManagerDHCP.c:
16998         * src/NetworkManagerDbus.c:
16999         * src/NetworkManagerDevice.c:
17000         * src/NetworkManagerPolicy.c:
17001         * src/NetworkManagerSystem.c:
17002         * src/NetworkManagerUtils.c:
17003         * src/NetworkManagerWireless.c:
17004         * src/autoip.c:
17005         * src/nm-dbus-nm.c:
17006         * src/backends/NetworkManagerDebian.c:
17007         * src/backends/NetworkManagerGentoo.c:
17008         * src/backends/NetworkManagerRedHat.c:
17009         * src/backends/NetworkManagerSlackware.c:
17010         use new logging macros.
17011
17012         * dispatcher-daemon/NetworkManagerDispatcher.c:
17013         (nmd_dbus_filter): s/dbus_free/g_free/
17014
17015         * info-daemon/Makefile.am: link in utils library.
17016         * info-daemon/NetworkmanagerInfo.c: use new logging 
17017         macros.
17018         (nmi_dbus_get_network): don't assume enumerations
17019         are 32-bit.
17020         (nmi_dbus_nmi_message_handler): don't free what 
17021         doesn't belong to us.
17022
17023         * libnm_glib/libnm_glib.c:
17024         (libnm_glib_get_nm_status): 
17025         (libnm_glib_init): don't free what doesn't
17026         belong to us.
17027         (libnm_glib_dbus): strdup result, so it doesn't get
17028         lost when message is unref'd.
17029
17030         * panel-applet/NMWirelessAppletDbus.c:
17031         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17032
17033         * src/NetworkManager.c:
17034         (nm_monitor_wired_link_state): request initial status 
17035         dump of all cards when we start up, instead of relying
17036         on /sys/.../carrier.
17037         (nm_info_handler), (nm_set_up_log_handlers): 
17038         log handlers to specify what syslog priorites 
17039         the logging macros default to.
17040
17041         * src/NetworkManagerAPList.c: 
17042         (nm_ap_list_populate_from_nmi):
17043         s/dbus_free_string_array/g_strfreev/
17044
17045         * src/NetworkManagerDbus.c:
17046         (nm_dbus_get_network_object):
17047         validate d-bus message argument types.
17048         Advance message iterator after reading argument,
17049         prepend instead of append to GSList.
17050
17051         * src/NetworkManagerDevice.c:
17052         (nm_device_probe_wired_link_status):
17053         remove redundant /sys in /sys path. remove wrong
17054         contents == NULL means has carrier assumption.
17055
17056         * src/nm-netlink-monitor.c 
17057         (nm_netlink_monitor_request_status): implement
17058         function to ask kernel to dump interface link
17059         status over netlink socket.
17060
17061         * test/*.c: s/dbus_free/g_free/
17062
17063         * utils/nm-utils.h:
17064         (nm_print_backtrace): new macro to print backtrace.
17065         (nm_get_timestamp): new macro to get sub-second precise
17066         unix timestamp.
17067         (nm_info), (nm_debug), (nm_warning), (nm_error):
17068         new logging functions. nm_info just prints,
17069         nm_debug includes timestamp and function,
17070         nm_warning includes function, nm_error includes
17071         backtrace and sigtrap.
17072
17073 2005-03-11  Ray Strode  <rstrode@redhat.com>
17074
17075         Third (unfinished, partially working) cut at porting to 
17076         dbus 0.30 api and new hal.
17077
17078         * info-daemon/NetworkManagerInfoDbus.c:
17079                 don't free null arrays.
17080
17081         * panel-applet/NMWirelessAppletDbus.c: 
17082         * src/nm-dbus-device.c:
17083         * src/nm-dbus-net.c: 
17084         * src/NetworkManagerDbus.c: more 
17085         STRING -> OBJECT_PATH fun
17086         * src/NetworkManagerDevice.c:
17087         * src/NetworkManagerDevice.h:
17088         (rename nm_device_get_link_active): rename to 
17089         nm_device_has_active_link
17090         (nm_device_wireless_link_active): rename to
17091         nm_device_probe_wireless_link_state
17092         (nm_device_wired_link_active): rename to
17093         nm_device_probe_wired_link_state.  Rewrite to
17094         use carrier file since hal doesn't maintain
17095         link state anymore.
17096         (nm_device_update_link_active): rename to
17097         nm_device_update_link_state
17098         * src/NetworkManagerPolicy.c 
17099           (nm_policy_activation_finish): check for NULL
17100           MAC address.
17101
17102         * src/Makefile.am:
17103         * src/NetworkManagerMain.h: 
17104         * src/NetworkManager.c:
17105         * src/nm-netlink-monitor.c:
17106         * src/nm-netlink-monitor.h: New class to support
17107         monitoring wired ethernet link status, since HAL
17108         doesn't export that information anymore.
17109
17110 2005-03-09  Ray Strode  <rstrode@redhat.com>
17111
17112         Second (unfinished, unworking) cut at porting to 
17113         dbus 0.30 api.
17114
17115         * dispatcher-daemon/NetworkManagerDispatcher.c:
17116         * info-daemon/NetworkManagerInfoDbus.c:
17117         * panel-applet/NMWirelessAppletDbus.c:
17118         * src/NetworkManagerDbusUtils.c:
17119         * src/NetworkManagerDbusUtils.h:
17120         * src/nm-dbus-device.c:
17121         * src/nm-dbus-nm.c:
17122         * test/nmtest.c: support dbus "object path" type
17123
17124         * configure.in: 
17125         * Makefile.am:
17126         * info-daemon/Makefile.am:
17127         * libnm_glib/Makefile.am:
17128         * panel-applet/Makefile.am:
17129         * dispatcher-daemon/Makefile.am
17130         * src/Makefile.am:
17131         * test/Makefile.am:
17132         * utils/Makefile.am: 
17133         * utils/nm-utils.c: 
17134         * utils/nm-utils.h: new utils static lib
17135
17136 2005-03-07  Ray Strode  <rstrode@redhat.com>
17137
17138         * info-daemon/NetworkManagerInfoDbus.c:
17139         * libnm_glib/libnm_glib.c:
17140         * panel-applet/NMWirelessAppletDbus.c:
17141         * src/NetworkManager.c:
17142         * src/NetworkManagerDbus.c:
17143         * src/NetworkManagerDevice.c:
17144         * src/NetworkManagerUtils.c:
17145         * src/nm-dbus-device.c:
17146         * src/nm-dbus-dhcp.c:
17147         * src/nm-dbus-net.c:
17148         * src/nm-dbus-nm.c:
17149         * test/nminfotest.c:
17150         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17151
17152 2005-03-04  Dan Williams  <dcbw@redhat.com>
17153
17154         * configure.in
17155                 - Mark HEAD as 0.4
17156
17157 2005-03-04  Dan Williams  <dcbw@redhat.com>
17158
17159         Patch from Peter Jones:
17160         - Make stuff work with gcc 4.0
17161
17162 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17163
17164         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17165
17166 2005-02-27  Jim Huang  <jserv@kaffe.org>
17167
17168         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17169
17170 2005-02-27  Dan Williams  <dcbw@redhat.com>
17171
17172         Patch from Bill Moss:
17173         * panel-applet/NMWirelessAppletDbus.c
17174                 - Make sure strength for current access point is up-to-date when we
17175                         update the gui data model
17176
17177 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17178
17179         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17180
17181 2005-02-27  Dan Williams  <dcbw@redhat.com>
17182
17183         * src/backends/NetworkManagerRedHat.c
17184                 - (nm_system_init): Kill any dhclient processes lying around as well
17185                         as stopping 'nifd' if its already been started.  NetworkManager
17186                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17187
17188 2005-02-27  Dan Williams  <dcbw@redhat.com>
17189
17190         * panel-applet/NMWirelessApplet.c
17191                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17192                         dbus data model, not the GUI data model twice.
17193
17194 2005-02-27  Dan Williams  <dcbw@redhat.com>
17195
17196         * panel-applet/NMWirelessApplet.[ch]
17197           panel-applet/NMWirelessAppletDbus.[ch]
17198                 - Move to incremental network updates.  Instead of blowing away our list
17199                         of devices every time we get a signal from NetworkManager, we now
17200                         incrementally add/remove networks when NetworkManager notifies us that
17201                         a new network has appeared or disappered.  Strength updates now happen
17202                         on-the-fly for each access point as well.  There are now two copies of
17203                         data from NetworkManager: one for the dbus side, and one for the gui side.
17204                         When the dbus side data is modified, it is copied over to the gui side
17205                         so we don't have to hold the data_mutex for long periods of time (and
17206                         therefore block animation of the applet's icon).
17207                 - Clean up some memleaks too
17208
17209         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17210                 - Minor code beautification
17211
17212         * src/NetworkManagerAPList.c
17213                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17214                         completely new and whether or not an existing one's strength was updated.
17215                         Try to fix multiple access points and signal strength by using the highest
17216                         signal strength in each scan for any given ESSID.
17217
17218         * src/NetworkManagerDbus.[ch]
17219                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17220                         wireless networks; now we have only WirelessNetworkUpdate which includes
17221                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17222                 - Kill usage of DbusMessageIter
17223
17224         * src/NetworkManagerDevice.c
17225                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17226                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17227                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17228                         currently associated with from the network list.
17229                 - Update for new signals during scan, send out Appeared, Disappeared, or
17230                         StrengthChanged when necessary.
17231
17232 2005-02-25  Dan Williams  <dcbw@redhat.com>
17233
17234         * README
17235                 - Line break the README
17236
17237 2005-02-25  Dan Williams  <dcbw@redhat.com>
17238
17239         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17240                 - Remove usage of gtk_window_set_default_size()
17241
17242         * panel-applet/essid.glade
17243                 - Stick default size here
17244                 - Add in random crap that current glade wants to add in now
17245
17246 2005-02-25  Dan Williams  <dcbw@redhat.com>
17247
17248         * src/backends/NetworkManagerRedHat.c
17249                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17250                         and that we actually tell nscd to reload the hosts cache when it changes
17251
17252 2005-02-25  Dan Williams  <dcbw@redhat.com>
17253
17254         * info-daemon/NetworkManagerInfoDbus.c
17255                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17256
17257         * test/nminfotest.c
17258                 - Whack usage of DbusMessageIter
17259                 - Clean up DbusError and DbusMessage handling and freeing
17260                 - Remove unused unregister handler
17261
17262         * test/nmtest.c
17263                 - Whack usage of DbusMessageIter
17264
17265         * test/nmtestdevices.c
17266                 - Whack usage of DbusMessageIter
17267
17268 2005-02-25  Dan Williams  <dcbw@redhat.com>
17269
17270         * NetworkManager.h
17271                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17272                         signal
17273
17274 2005-02-25  Dan Williams  <dcbw@redhat.com>
17275
17276         * named/nm-named-manager.c
17277                 - Ensure that pid and watch variables for child named process get cleared out
17278                         when the child goes away.
17279
17280 2005-02-22  Dan Williams  <dcbw@redhat.com>
17281
17282         * src/NetworkManagerPolicy.c
17283                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17284                         and NULL out data->active_device so that we have to choose another one.
17285                         This may make NetworkManager keep attempting to connect to a wired network
17286                         if it fails, but if it keeps failing the wired network has more problems than
17287                         just NetworkManager.
17288
17289         * src/backends/NetworkManagerRedHat.c
17290                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17291                         is already running
17292
17293         * named/nm-named-manager.c
17294                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17295                         named so that the distro can flush whatever name service caching
17296                         daemon it uses
17297
17298 2005-02-21  Dan Williams  <dcbw@redhat.com>
17299
17300         * src/NetworkManagerDHCP.[ch]
17301                 - (nm_device_dhcp_remove_timeouts): new function
17302
17303         * src/NetworkManagerDevice.c
17304                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17305                         remove the DHCP timeouts.
17306
17307 2005-02-21  Dan Williams  <dcbw@redhat.com>
17308
17309         * panel-applet/NMWirelessApplet.[ch]
17310           panel-applet/menu-info.[ch]
17311                 - Give the panel applet some major love: menu items are no longer
17312                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17313                         This allows the applet to actually reflect theme changes correctly,
17314                         since themeing of subclassed items in GTK _sucks_.
17315
17316 2005-02-18  Dan Williams  <dcbw@redhat.com>
17317
17318         * libnm_glib/libnm_glib.[ch]
17319           test/libnm_glib_test.c
17320                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17321                         and its data, and doesn't have to free the callback data anymore
17322
17323 2005-02-18  Dan Williams  <dcbw@redhat.com>
17324
17325         * panel-applet/NMWirelessApplet.c
17326                 - Revert 2005-02-18 William Jon McCann fix for standard
17327                         copyright string until it passes 'make distcheck'.
17328                         With standard copyright string, xgettext complains
17329                         about "Non-ASCII string at ...".
17330
17331 2005-02-18  Dan Williams  <dcbw@redhat.com>
17332
17333         * panel-applet/essid.glade
17334           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17335                 - Correct spelling of "adaptor"->"adapter"
17336
17337 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17338
17339         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17340         (nmwa_about_cb): Use standard copyright string.  Update comment
17341         text to reflect that it is a notification area applet.  Remove
17342         leading newline in authors list.
17343         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17344         instead of on parent menu item activation.  Fixes #167550.
17345
17346 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17347
17348         * panel-applet/essid.glade: Capitalize items as per HIG.
17349           Fixes #167632
17350
17351 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17352
17353         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17354         files for GTK 2.4 or lower, since now public in GTK 2.6.
17355
17356         * panel-applet/essid.glade: Don't specify window size.
17357         
17358 2005-02-17  Dan Williams  <dcbw@redhat.com>
17359
17360         Caught by Bill Moss:
17361         * dhcpcd/client.c
17362                 - Time remaining for DHCP transaction calculation was incorrectly
17363                         inside a #ifdef DEBUG
17364
17365 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17366
17367         * configure.in: Added fr (French) to ALL_LINGUAS.
17368
17369 2005-02-14  Dan Williams  <dcbw@redhat.com>
17370
17371         * src/NetworkManagerDHCP.c
17372                 - (set_domain_searches): Fix free of invalid pointer
17373
17374 2005-02-14  Dan Williams  <dcbw@redhat.com>
17375
17376         Patch from Peter Jones:
17377         * dhcpcd/client.c
17378                 - Ensure we return RET_DHCP_CEASED everywhere we should
17379         * dhcpcd/udpipgen.c
17380                 - Use faster TOS for IP packets
17381                 - Don't set ip_id since we're UDP
17382
17383         Patch from Tomislav Vujec:
17384         * src/nm-dbus-dhcp.c
17385           test/nm-dhcp-opt-test.c
17386                 - Clean up warnings to enable cvs tree compilation.
17387
17388 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17389
17390         * configure.in
17391           po/hr.po
17392                 - Add the Croatian locale.
17393
17394 2005-02-14  Colin Walters  <walters@verbum.org>
17395
17396         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17397         list of domains to search.
17398         
17399         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17400
17401 2005-02-13  Dan Williams  <dcbw@redhat.com>
17402
17403         * dhcpcd/client.c
17404                 - Debug output cleanups of DHCP option printing and parsing.
17405
17406 2005-02-13  Dan Williams  <dcbw@redhat.com>
17407
17408         Patch from Dan Reed:  DHCP options D-BUS API
17409                 Exposes the DHCP options that a device receives to clients over D-BUS.
17410
17411         * configure.in
17412                 - A few cleanups
17413
17414         * dhcpcd/client.h
17415                 - Correct names, option length, and types for DHCP options
17416
17417         * dhcpcd/dhcpcd.[ch]
17418                 - Clarify function names that access DHCP options & data
17419
17420         * src/NetworkManagerDHCP.c
17421                 - Use new DHCP data access functions
17422
17423         * src/NetworkManagerDbus.c
17424                 - Message handler for DHCP functions
17425
17426         * src/nm-dbus-dhcp.[ch] (new)
17427                 - DHCP dbus methods
17428
17429         * test/nm-dhcp-opt-test.c
17430                 - Test DHCP D-BUS API and return all present DHCP options
17431
17432 2005-02-12  Dan Williams  <dcbw@redhat.com>
17433
17434         * test/Makefile.am
17435           test/nmclienttest.c
17436           test/nmtest.c
17437                 - Move nmclienttest.c -> nmtest.c
17438
17439 2005-02-12  Dan Williams  <dcbw@redhat.com>
17440
17441         * dhcpcd/buildmsg.c
17442                 - Pad DHCP packets until they are at least 300 bytes in size.
17443
17444 2005-02-11  Dan Williams  <dcbw@redhat.com>
17445
17446         * dhcpcd/client.c
17447                 - (dhcp_init): only print out client ID and class ID if they are specified
17448
17449         * src/NetworkManagerDbus.[ch]
17450           src/nm-dbus-nm.[ch]
17451           src/nm-dbus-device.[ch]
17452           src/nm-dbus-net.[ch]
17453                 - Move NM, Device, and Net functions to separate files and use the
17454                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17455                         method dispatching
17456
17457         * src/NetworkManagerDbusUtils.c
17458                 - Add new validate_method called before each dispatch (if present)
17459                         that can validate the method call
17460
17461         * src/NetworkManagerWireless.c
17462                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17463                         levels never to be evaluated
17464
17465         Patch from j@bootlab.org
17466         * src/NetworkManagerDevice.c
17467                 - Add typedef for "u64"
17468
17469         * src/backends/NetworkManagerDebian.c
17470                 - Copy in Dave Woodhouse's fixes for IPv6
17471
17472 2005-02-11  Dan Williams  <dcbw@redhat.com>
17473
17474         Patch from Dave Woodhouse for IPv6:
17475         * src/NetworkManagerUtils.c
17476                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17477                         and multicast addresses
17478
17479         * src/NetworkManagerDevice.c
17480                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17481                         after bringing up a card.
17482
17483 2005-02-10  Dan Williams  <dcbw@redhat.com>
17484
17485         Patch from Dave Woodhouse:
17486         * src/NetworkManagerSystem.h
17487           src/backends/NetworkManagerDebian.c
17488           src/backends/NetworkManagerGentoo.c
17489           src/backends/NetworkManagerSlackware.c
17490                 - New nm_system_device_add_ip6_link_address() function to add link-local
17491                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17492
17493         * src/backends/NetworkManagerRedHat.c
17494                 - (nm_system_device_add_ip6_link_address): implement
17495                 - (nm_system_device_flush_addresses): revert to previous behavior of
17496                         flushing all addresses
17497
17498 2005-02-10  Dan Williams  <dcbw@redhat.com>
17499
17500         Patch from Tom Parker:
17501         * src/NetworkManagerDevice.c
17502                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17503                         mii.h headers are broken, and instead use our own typedefs
17504
17505 2005-02-10  Dan Williams  <dcbw@redhat.com>
17506
17507         * dhcpcd/buildmsg.c
17508                 - (fill_host_and_class_id): only fill in client and class IDs if
17509                         they are set by callers.
17510
17511         * dhcpcd/client.c
17512                 - (class_id_setup): don't autogenerate a class ID, only use one
17513                         we're given, if any.
17514                 - (client_id_setup): don't autogenerate a client ID, only use one
17515                         we're given, if any.
17516
17517         * dhcpcd/dhcpcd.c
17518                 - (dhcp_interface_init): ensure that client options are correctly
17519                         NULL terminated
17520
17521         * src/NetworkManagerDHCP.c
17522                 - (nm_device_dhcp_request): pass hostname to dhcp library
17523
17524 2005-02-10  Dan Williams  <dcbw@redhat.com>
17525
17526         * dhcpcd/client.c
17527                 - #rh147661# Don't send kernel version in DHCP requests
17528
17529         * src/NetworkManagerSystem.h
17530           src/backends/NetworkManagerDebian.c
17531           src/backends/NetworkManagerGentoo.c
17532           src/backends/NetworkManagerRedHat.c
17533           src/backends/NetworkManagerSlackware.c
17534                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17535                         functions, they are no longer used anyway
17536
17537         * src/backends/NetworkManagerRedHat.c
17538                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17539                         addresses in an attempt to keep IPv6 local-scope addresses around
17540
17541 2005-02-10  Dan Williams  <dcbw@redhat.com>
17542
17543         * src/NetworkManager.c
17544                 - (nm_create_device_and_add_to_list): change the add message slightly
17545
17546         * src/NetworkManagerUtils.c
17547                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17548                         Return driver name to calling function
17549                 - (nm_get_driver_support_level): print out the driver a device is using
17550                         during the support check
17551
17552         Patch from Dave Woodhouse:
17553         * dhcpcd/udpipgen.c
17554                 - (in_cksum): copy last byte of odd-sized packets into a
17555                         'u_short' rather than a 'u_char', should fix wrong checksums
17556                         on big-endian platforms
17557
17558 2005-02-09  Dan Williams  <dcbw@redhat.com>
17559
17560         * Clean up usage of GSList objects and looping through their members
17561         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17562                 now.
17563         * Fix problem where even if scanning was turned off, card would still
17564                 cycle through frequencies.
17565
17566 2005-02-08  Dan Williams  <dcbw@redhat.com>
17567
17568         * panel-applet/NMWirelessApplet.c
17569                 - Fix for gtk 2.4
17570
17571 2005-02-08  Dan Williams  <dcbw@redhat.com>
17572
17573         Patch from Bill Moss
17574         * panel-applet/NMWirelessApplet.c
17575                 - Restore correct ESSID in tooltips
17576
17577 2005-02-07  Dan Williams  <dcbw@redhat.com>
17578
17579         * panel-applet/NMWirelessApplet.[ch]
17580                 - Add a context menu that contains:
17581                         Pause/Resume Wireless Scanning
17582                         Stop/Start All Wireless Devices
17583                         About...
17584                 - Grab active device strength off active device,
17585                         not its network
17586
17587         * panel-applet/NMWirelessAppletDbus.[ch]
17588                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17589                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17590                 - Update active device strength every 2 seconds, not every 1 second
17591
17592         * panel-applet/menu-info.c
17593                 - Only disable wired devices in the menu when they support carrier detection,
17594                         and don't currently have a link.  Non-carrier-detect devices will always
17595                         remain choosable
17596
17597         * src/Makefile.am
17598           src/NetworkManagerDbusUtils.[ch]
17599                 - Add new new dbus utils sources
17600
17601         * src/NetworkManager.c
17602                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17603                         with the boolean parameter
17604                 - Set scanning_enabled & wireless_enabled to TRUE
17605
17606         * src/NetworkManagerDbus.c
17607                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17608                 - Implement scanning & wireless enable/disable calls
17609                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17610
17611         * src/NetworkManagerDevice.c
17612                 - New link detection stuff again...
17613                         o  Create device's mainloop earlier (but don't run it earlier)
17614                         o  Hook up new carrier-detect support stuff
17615                         o  Add in the ethtool & mii support detection code
17616                 - Don't scan if scanning is disabled
17617
17618         * src/NetworkManagerPolicy.c
17619                 - Never automatically choose a device that doesn't support carrier detection
17620                 - Don't automatically choose a wireless device if wireless is disabled
17621
17622 2005-02-07  Dan Williams  <dcbw@redhat.com>
17623
17624         * libnm_glib/libnm_glib.c
17625                 - Small cleanup in element list iteration
17626
17627 2005-02-07  Dan Williams  <dcbw@redhat.com>
17628
17629         * src/NetworkManagerWireless.c
17630                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17631                         to be in line with the WEXT quality specification
17632
17633 2005-02-02  Dan Williams  <dcbw@redhat.com>
17634
17635         Patch from Nathan Fredrickson <nathan@silverorange.com>
17636         * Fix up compile for deprecation of libgnomeui
17637                 - Switch to <glib/gi18n.h> from <libintl.h>
17638                 - Remove <libgnomeui/libgnomeui.h> includes
17639                 - Use gtk_window_set_default_icon_from_file() rather than
17640                         gnome_window_set_default_icon_from_file()
17641
17642         * named/nm-named-manager.c
17643                 - (generate_named_conf): Fix return-nothing in non-void
17644                         function
17645
17646 2005-02-02  Dan Williams  <dcbw@redhat.com>
17647
17648         * Clean up unused variables and the like
17649
17650 2005-02-02  Dan Williams  <dcbw@redhat.com>
17651
17652         * src/NetworkManagerAPList.c
17653                 - (nm_ap_list_merge_scanned_ap): merge strength too
17654
17655         * src/NetworkManagerUtils.c
17656                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17657                         of locking issues by printing out prettier information than g_mutex_lock
17658                 - Print out names of mutexes registered with nm_register_mutex_desc()
17659                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17660                         us to seemingly block here for too long
17661
17662         * src/NetworkManager.c
17663           src/NetworkManagerAPList.c
17664           src/NetworkManagerDevice.c
17665                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17666                         so we get better debug information printed
17667
17668         * src/NetworkManagerDbus.c
17669                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17670                         since it sometimes has locking side effects
17671                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17672                         from 10s
17673                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17674                         we don't need a switch.  This gets called often enough that we can't block
17675                         until the scan mutex is acquired, because we'll block on device activation
17676                         and a few other things, which hangs main thread for too long.
17677
17678         * src/NetworkManagerPolicy.c
17679                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17680                         nm_device_need_ap_switch() will be called               
17681
17682 2005-02-02  Dan Williams  <dcbw@redhat.com>
17683
17684         * panel-applet/NMWirelessApplet.c
17685                 - Display name of wireless network we are connecting to or connected to
17686                         in the tooltip of the applet
17687
17688 2005-02-02  Dan Williams  <dcbw@redhat.com>
17689
17690         * src/NetworkManagerDHCP.c
17691                 - Hopefully fix double-default-route problem by cleaning up the default
17692                         route added by DHCP code right before the DHCP transaction begins
17693
17694 2005-02-02  Dan Williams  <dcbw@redhat.com>
17695
17696         * named/nm-named-manager.c
17697                 - Write out valid resolv.conf when we exit
17698
17699 2005-02-01  Dan Williams  <dcbw@redhat.com>
17700
17701         Patch from Colin Walters:
17702         * named/nm-named-manager.c
17703                 - Make multi-domain search options work
17704
17705 2005-01-31  Dan Williams  <dcbw@redhat.com>
17706
17707         * info-daemon/NetworkManagerInfoDbus.c
17708                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17709
17710         * src/NetworkManagerDevice.c
17711                 - (nm_device_new): Don't store the entire range struct, use only what we need
17712                         (which is currently avg_quality, max_quality, and frequencies).  Also
17713                         zero device structure when we've free'd it to maybe expose errors down
17714                         the line.
17715                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17716                         quality data from the card since quality will be useless during a scan.
17717                         Call updated wireless qual-to-percent function with values stored in
17718                         nm_device_new() earlier.
17719                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17720                         nm_device_get_bad_crypt_packets())
17721                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17722                         nm_device_new()
17723                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17724                         list if available.  Problem was this: when the WEP key is wrong, NM will
17725                         try OS then SK modes, and then get stuck in SK mode after that.  This
17726                         should reset it.
17727                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17728                         function
17729
17730         * src/NetworkManagerWireless.c
17731                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17732                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17733                         if that's all present, otherwise fall back to signal-to-noise ratios.
17734
17735 2005-01-29  Dan Williams  <dcbw@redhat.com>
17736
17737         * initscript/RedHat/NetworkManager
17738                 - Don't spit out sysctl stuff to console
17739
17740         * libnm_glib/libnm_glib.c
17741                 - (libnm_glib_init): call dbus_g_thread_init()
17742
17743         * panel-applet/NMWirelessAppletDbus.c
17744                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17745
17746         * src/NetworkManager.c
17747                 - (main): call dbus_g_thread_init()
17748
17749         * src/NetworkManagerAPList.c
17750                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17751                         so we can actually see what's there in a normal syslog
17752
17753         * src/NetworkManagerDevice.c
17754                 - (nm_device_activate_wireless): print out the "waiting for access point"
17755                         message only once, then say what access point we actually got after
17756                         the wait.
17757                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17758                         function, wait until the scan is done.  Scans may change the ESSID of
17759                         the card, making this function think we need to switch access points
17760                 - (nm_device_wireless_process_scan_results): for artificial access points
17761                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17762                         prevents collisions with the scanning code, which may change the card's
17763                         ESSID and cause the access point to get dropped from the device's AP
17764                         list.  Also increase the keep-around time to 2m from 60s since the max
17765                         scan interval could be 60s in some cases.
17766
17767         * src/NetworkManagerPolicy.c
17768                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17769                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17770                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17771                         between NM and NMI.
17772
17773 2005-01-27  Dan Williams  <dcbw@redhat.com>
17774
17775         * info-daemon/NetworkManagerInfoDbus.c
17776                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17777                         GConf, make a minimal entry for it (essid & timestamp)
17778
17779         * src/NetworkManagerAPList.c
17780                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17781                         NetworkManagerInfo isn't running
17782
17783         * src/NetworkManagerDbus.[ch]
17784                 - (nm_dbus_nmi_is_running): new function
17785
17786         * src/NetworkManagerDevice.c
17787                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17788                         address to garbage.
17789
17790         * src/NetworkManagerPolicy.c
17791                 - (nm_policy_activation_finish): On successful activation, make sure
17792                         the "best" AP has a MAC address, and don't tell NMI to add the
17793                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17794                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17795                         access point after refreshing our allowed list if it doesn't already
17796                         have a "best" access point.
17797
17798 2005-01-25  Dan Williams  <dcbw@redhat.com>
17799
17800         * panel-applet/NMWirelessAppletDbus.c
17801                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17802                         so we check for NM_DBUS_SERVICE rather than not for it
17803
17804         * libnm_glib/libnm_glib.c
17805                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17806                         ServiceOwnerChanged signal
17807
17808 2005-01-25  Dan Williams  <dcbw@redhat.com>
17809
17810         * configure.in
17811                 - Check DBUS version in configure, and set the C macros
17812                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
17813
17814         * info-daemon/NetworkManagerInfoDbus.c
17815                 - Remove #if 0-d section of code that quit NMI if NM went away.
17816
17817         * panel-applet/NMWirelessAppletDbus.c
17818                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17819
17820         * src/NetworkManager.c
17821           src/NetworkManagerMain.h
17822           src/NetworkManagerDbus.c
17823                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17824                 - Make updating of our Allowed Wireless Network lists from NMI
17825                         an idle function in the main thread now, with a high priority.
17826
17827 2005-01-24  Dan Williams  <dcbw@redhat.com>
17828
17829         * panel-applet/gtkcellview.[ch]
17830           panel-applet/menu-info.c
17831                 - Fix GTK version checks to be <= rather than <
17832
17833         * test/Makefile.am
17834                 - Include the libtool archive of libnm_glib rather than
17835                         trying to pull in the .so
17836
17837 2005-01-24  Dan Williams  <dcbw@redhat.com>
17838
17839         * src/NetworkManagerDevice.c
17840           src/NetworkManagerDevicePrivate.h
17841                 - Block nm_device_new() until our device's worker thread has had a
17842                         chance to start up.  Fixes a race between main thread and worker
17843                         thread starting that caused activation requests to get lost.
17844
17845 2005-01-24  Dan Williams  <dcbw@redhat.com>
17846
17847         * initscript/RedHat/NetworkManager
17848                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17849                         to add the NM startup script at priority 50, which was
17850                         way too early
17851
17852 2005-01-24  Colin Walters  <walters@redhat.com>
17853
17854         * named/named.conf: Use any port for query source instead of
17855         restricting to port 53.
17856
17857 2005-01-24  Dan Williams  <dcbw@redhat.com>
17858
17859         * initscript/RedHat/NetworkManager
17860                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17861                         to add the NM startup script at priority 50, which was
17862                         way too early
17863
17864 2005-01-24  Dan Williams  <dcbw@redhat.com>
17865
17866         Patch from Tom Parker <palfrey@tevp.net>
17867         * Fix up compile warnings & errors in the wireless applet
17868
17869 2005-01-24  Dan Williams  <dcbw@redhat.com>
17870
17871         * panel-applet/NMWirelessApplet.c
17872                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
17873
17874 2005-01-24  Dan Williams  <dcbw@redhat.com>
17875
17876         * panel-applet/gtkcellview.[ch]
17877                 - Only compile these files for GTK 2.4 or lower, since 
17878                         GtkCellView is now public in GTK 2.6.  Fixes crasher
17879                         when choosing "Other Wireless Networks" from the panel
17880                         applet menu
17881
17882 2005-01-21  Dan Williams  <dcbw@redhat.com>
17883
17884         * src/NetworkManager.c
17885                 - Daemonize earlier so that glib doesn't get confused (?)
17886
17887 2005-01-21  Dan Williams  <dcbw@redhat.com>
17888
17889         * panel-applet/NMWirelessApplet.[ch]
17890           panel-applet/NMWirelessAppletDbus.c
17891           panel-applet/menu-info.c
17892           src/NetworkManagerDevice.c
17893                 - Disable wired devices in the menu when they have no link.
17894
17895 2005-01-21  Dan Williams  <dcbw@redhat.com>
17896
17897         * Cache last-known-good wireless authentication method in
17898                 NetworkManagerInfo, and use that method first during
17899                 wireless device activation.  Should speed up devices that
17900                 need Shared Key authentication method since Open System is
17901                 now the default.
17902
17903         * Remove the hack to not do full activation on wired connections
17904                 that are active when we launch, it causes too many problems
17905                 with name resolution and was a hack in the first place.
17906
17907         * Re-work wireless device activation again somewhat to have a
17908                 clearer chain of events and to use last-known-good
17909                 authentication method of the access point.  Also provide
17910                 better status throughout activation to ensure the applet
17911                 can tell the user exactly what's going on.
17912
17913         * Remove the "find wireless network" code and now simply attempt
17914                 to activate with that access point.  This reduces the delay
17915                 between selecting "Other wireless Network" and actually
17916                 connecting to that network.
17917
17918         * Correctly stop the device's worker thread when its removed.
17919
17920 2005-01-21  Dan Williams  <dcbw@redhat.com>
17921
17922         * dhcpcd/client.c
17923                 - Clean up some of the debug messages
17924
17925 2005-01-21  Dan Williams  <dcbw@redhat.com>
17926
17927         * Add new icons, more frames of animation
17928         * Remove some hacks to get the panel applet to display correct
17929                 status, an NM update will soon follow that will fix the
17930                 real issue.
17931
17932 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
17933
17934         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
17935         the first include for working i18n. Also, don't include it in .h files
17936         * panel-applet/NMWirelessApplet.h: Same
17937         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
17938         * panel-applet/menu-info.c: Same
17939
17940 2005-01-18  Dan Williams <dcbw@redhat.com>
17941
17942         * dhcpcd/client.c
17943                 - Remove some debug messages
17944                 - Wrap others in #ifdef DEBUG/#endif
17945
17946         * src/NetworkManager.c
17947                 - Remove some debug messages
17948                 - Clarify some debug messages
17949                 - Remove code related to old single-thread wireless scanning
17950
17951         * src/NetworkManagerAP.[ch]
17952                 - New AP property "last_seen" to track how recently an AP was
17953                         found in a scan
17954                 - Start using 'const' more in function arguments
17955
17956         * src/NetworkManagerAPList.[ch]
17957                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
17958                         of an AP found in an AP list from a source AP, or if not found
17959                         in the list add the source AP
17960                 - (nm_ap_list_combine): remove, no longer needed
17961
17962         * src/NetworkManagerDevice.c
17963                 - Each device now has a "worker" thread from start to end of its life.
17964                         Scanning for wireless devices now happens in that thread,
17965                         not in a single "wireless scanning thread" for all devices as
17966                         previously.  Activation consists of adding an idle handler to the
17967                         thread's main loop/context, which gets run at the next available
17968                         opportunity.
17969                 - Wireless scanning is also simplified, there is now only one list of
17970                         access points per wireless device, and APs older than 60s are
17971                         removed from the list.  Previously, we kept results for the last
17972                         3 scans and merged whole lists, which was complicated.
17973                 - Cleaned up activation debug messages.
17974                 - Wireless activation and access-point search routines now use Open System
17975                         authentication before trying Shared Key.
17976                 - Removed some code in nm_device_update_best_ap() that could cause cards
17977                         to loose their link to the access point.
17978                 - Scanning now uses a backoff algorithm, where the inverval becomes
17979                         progressively longer between scans when the list of scanned access
17980                         points doesn't change.  A change will revert to the shortest scan
17981                         interval (20s).
17982
17983         * src/NetworkManagerWireless.[ch]
17984                 - Remove code related to old single-thread wireless scanning
17985
17986 2005-01-18  Colin Walters  <walters@redhat.com>
17987
17988         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
17989         of older nameservers.
17990
17991 2005-01-18  Colin Walters  <walters@redhat.com>
17992
17993         * named/nm-named-manager.c (generate_named_conf): Many fixes
17994         to config file generation.
17995         (safer_kill): Remove, was too much trouble for little gain.
17996         (nm_named_manager_start): Run named as NM_NAMED_USER.
17997
17998         * configure.in: Add option --with-named-user.
17999
18000 2005-01-14  Colin Walters  <walters@redhat.com>
18001
18002         Patch from ed@catmur.co.uk (Ed Catmur)
18003
18004         * named/nm-named-manager.c: Add "context" property.
18005         Use it to add child watch source in specific GMainContext.
18006
18007         * src/NetworkManager.c (nm_data_new): Initialize
18008         named with correct main context.  Start named only
18009         after forking.
18010
18011 2005-01-14  Colin Walters  <walters@redhat.com>
18012
18013         * named/nm-named-manager.c (generate_named_conf): Write config
18014         and pid files into NM_NAMED_DATA_DIR; this allows things to
18015         work better with FC3 named SELinux policy.  Also fix up silly
18016         format error.
18017
18018         * configure.in: Add --with-named-dir option.
18019
18020 2005-01-14  Colin Walters  <walters@redhat.com>
18021
18022         * configure.in: Make named support require passing --with-named.
18023
18024         * named/nm-named-manager.c: Support writing resolv.conf directly
18025         without running named.
18026
18027 2005-01-13  Dan Williams <dcbw@redhat.com>
18028
18029         * named/nm-named-manager.c
18030                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18031
18032         * src/NetworkManagerDevice.c
18033                 - Rework wireless link detection code to be more reliable
18034
18035 2005-01-12  Dan Williams <dcbw@redhat.com>
18036
18037         * initscripts/RedHat/NetworkManager
18038                 - Change initial level to "-" rather than "345" so that
18039                         we don't activate ourselves by default on install
18040
18041 2005-01-12  Dan Williams <dcbw@redhat.com>
18042
18043         * libnm_glib/
18044                 - Client library for applications using glib
18045
18046         * configure.in
18047           various Makefiles
18048                 - Split NM_CFLAGS and NM_LIBS into separate variables
18049                         like DBUS_*, HAL_* and GLIB_*
18050
18051         * src/NetworkManager.c
18052           src/NetworkManagerMain.h
18053                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18054                         broadcast a status changed signal over DBUS from the main thread.
18055                         Still unused anywhere for the moment.
18056
18057         Patch from j@bootlab.org
18058         * panel_applet/NMWirelessAppletDbus.c
18059           src/NetworkManagerDbus.c
18060                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18061                         for the "getMode" method call
18062
18063 2005-01-10  Dan Williams <dcbw@redhat.com>
18064
18065         * src/NetworkManagerDevice.c
18066                 - Minor fixups & corrections to "auto" frequency mode, make it
18067                         less chatty with syslog
18068
18069 2005-01-10  Dan Williams <dcbw@redhat.com>
18070
18071         * src/NetworkManagerDevice.c
18072                 - Implement "auto" frequency/channel support, since cards like Atheros
18073                         can't use other frequencies at all when you've told it to use a
18074                         specific one, even for scanning.
18075                 - Grab the scan mutex around places where we can't tolerate wireless
18076                         settings changing underneath us, like nm_device_wireless_network_exists()
18077                         and nm_device_activate_wireless()
18078
18079         * src/NetworkManagerWireless.c
18080                 - Back scan interval off to 20s instead of 14s
18081
18082 2005-01-09  Dan Williams <dcbw@redhat.com>
18083
18084         * src/NetworkManagerDevice.c
18085                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18086                         already set.  Stops some drivers like Atmel from continually
18087                         reloading the firmware, which they do upon every configuration
18088                         change.
18089
18090 2005-01-09  Dan Williams <dcbw@redhat.com>
18091
18092         * dhcpcd/client.c
18093                 - Use correct timeout value
18094
18095         * info-daemon/NetworkManagerInfoDbus.c
18096           src/NetworkManagerDbus.c
18097                 - Consolidate communication between NM and NMI by doing only 1 dbus
18098                         method call to get Wireless Network info from NMI instead of 6
18099
18100         * src/NetworkManager.c
18101                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18102                         when we didn't have an AP to use, we'd wait for one forever without
18103                         quitting
18104
18105         * src/NetworkManagerDevice.c
18106                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18107                         activation, dhcp might not have started yet but we don't quit activation
18108                         before starting it, so the quit signal gets lost
18109
18110 2005-01-07  Dan Williams <dcbw@redhat.com>
18111
18112         * dhcpcd/client.c
18113                 - Rework the DHCP client code to be much less chatty when
18114                         it receives non-DHCP UDP packets during the DHCP run
18115                         (reported by and preliminary patches from Bill Moss)
18116
18117         * Move wireless scanning to a separate thread.  This thread forwards the
18118                 results to the main thread when done where they are integrated into
18119                 the device's access point lists.  This keeps the main thread (which
18120                 does all the DBUS communication) from being blocked for long periods
18121                 of time by wireless scanning.
18122
18123         * Make state modification an idle routine in the main loop, and trigger
18124                 state changes rather than polling for them.
18125
18126         * src/backends/NetworkManagerGentoo.c
18127                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18128
18129         * src/NetworkManagerDevice.c
18130                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18131                         router advertisements, causing problems and infinite loop
18132                         during "best" device determination due to link going up/down
18133                         (reported by Bill Moss)
18134
18135         Apply patch from Peter Jones
18136         * src/NetworkManagerDevice.c
18137                 - Shortcut for link-checking for ipw2x00 cards
18138                 - Split out association check into separate routine
18139
18140 2004-01-05  Colin Walters  <walters@redhat.com>
18141
18142         * named/named.conf: Add PID_FILE.
18143
18144         * named/nm-named-manager.c: Always generate a pid
18145         file, since older BIND versions don't support
18146         "pid-file none".
18147
18148 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18149
18150         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18151
18152 2004-12-22  Dan Williams <dcbw@redhat.com>
18153
18154         * src/NetworkManagerDevice.c
18155                 - Silently fail when setting bitrate doesn't work
18156
18157
18158         Patches from j@bootlab.org:
18159         * src/backends/NetworkManagerDebian
18160                 - Update backend to match functionality in RedHat backend
18161         * src/NetworkManagerDevice.c
18162                 - Take down then bring up wired devices after connection so
18163                 they send out ipv6 router advertisements
18164
18165 2004-12-21  Colin Walters  <walters@verbum.org>
18166
18167         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18168         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18169
18170 2004-12-21  Colin Walters  <walters@redhat.com>
18171
18172         * configure.in: Correct named detection.
18173
18174 2004-12-21  Colin Walters  <walters@redhat.com>
18175
18176         * src/NetworkManager.c (nm_data_new): Initialize named.
18177         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18178         the mainloop when these signals are received.
18179         (nm_data_free): Unref named.
18180         (sigterm_handler, sigterm_pipe_handler): New functions for
18181         exiting mainloop.
18182         
18183         * src/NetworkManagerMain.h (NMData): Add signal handling and
18184         nameserver bits.
18185
18186         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18187         unref.
18188
18189         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18190         set nameservers from DHCP response data.
18191         (set_domain_search): Set domain search from DHCP response.
18192         (nm_device_dhcp_configure): Invoke them.
18193
18194         * src/NetworkManagerSystem.c
18195         (nm_system_device_update_resolv_conf): Delete.  Deleting
18196         code is totally sweet.
18197
18198         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18199
18200         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18201         implements an object which controls a nameserver.  Currently
18202         uses bind 9.
18203
18204         * configure.in: Check for named.
18205
18206         * Makefile.am (SUBDIRS): Add named dir.
18207
18208         * named/named.conf: New template config file.
18209
18210 2004-12-20  Colin Walters  <walters@redhat.com>
18211
18212         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18213         instead of '='.
18214
18215 2004-12-17  Dan Williams  <dcbw@redhat.com>
18216
18217         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18218                 link-local addresses instead of doing DHCP.
18219
18220         * In the panel applet, there's a new "Create new Wireless Network..." item
18221
18222         * The panel applet also sticks around now even if NetworkManager dies, but
18223                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18224                 a bug, I'll fix that later.
18225
18226         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18227                 lookups after a switch rather than actually doing them.
18228
18229         * Clean up some of those warnings in nm_ap_list_* functions
18230
18231         * Delay between scans changed to 15s instead of 10s
18232
18233 2004-12-15  Dan Williams  <dcbw@redhat.com>
18234
18235         Patch from Tom Parker
18236         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18237                 address
18238
18239         * Longer pause after setting ESSID on cards that support a larger number
18240                 of channels to give the card time to find the right channel
18241
18242         * Add system hook to restart mDNSResponder (or whatever the local implementation
18243                 of Multicast DNS is) when we activate interfaces
18244
18245 2004-12-15  Dan Williams  <dcbw@redhat.com>
18246
18247         * Rework the DHCP code again to revert to sending full ethernet frames
18248                 rather then relying on the kernel to do the right thing with our
18249                 packets.
18250
18251 2004-12-06  Dan Williams  <dcbw@redhat.com>
18252
18253         * dhcpcd/client.c
18254                 - Fix some minor errors in dhcp_handle_transaction() that caused
18255                         unexpected early timeouts of DHCP transactions
18256
18257         * dhcpcd/client.h
18258                 - DHCP retransmit time from 4s -> 5s
18259
18260 2004-12-05  Dan Williams  <dcbw@redhat.com>
18261
18262         * Major rework of the DHCP code, taking some cues from pump.  We don't
18263                 write raw Ethernet packets anymore, which simplifies the code quite
18264                 a bit.  The new code should be more robust, not hang in recvfrom()
18265                 as much, and generally work better.  This also means that we need
18266                 to force HAL/dbus to use a created GMainContext rather than the
18267                 default context, since having the DHCP renew/rebind thread using
18268                 its own GMainContext seemed to give dbus a fit.  There is also more
18269                 debugging information printed from the DHCP loop to help with future
18270                 problems.
18271
18272         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18273                 assume that the default gateway should be the DHCP server.
18274
18275         Patch from Matthew Schick <matt oss-institute org>
18276         * src/backends/NetworkManagerGentoo.c
18277                 - Fix compilation error due to missing "ip4_broadcast"
18278
18279 2004-12-03  Dan Williams  <dcbw@redhat.com>
18280
18281         * initscript/Makefile.am
18282         * initscript/Debian/NetworkManager
18283         * initscript/Gentoo/NetworkManager
18284         * initscript/RedHat/NetworkManager
18285         * initscript/NMLaunchHelper.c
18286                 - Remove NMLaunchHelper, if you need to wait until the network
18287                         comes up, use the dead code from CVS.
18288
18289 2004-12-01  Colin Walters  <walters@redhat.com>
18290         
18291         * configure.in: Suck in gcc warnings code from Rhythmbox,
18292         but use fewer default flags, and in particular add -Wno-unused,
18293         since the codebase has a lot of unused variables.
18294
18295         * test/nmtestdevices.c (create_device): 
18296         * test/nminfotest.c (get_network_string_property) 
18297         (get_networks_of_type): 
18298         * test/nmclienttest.c (main): 
18299         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18300         * initscript/NMLaunchHelper.c (get_nm_status): 
18301         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18302         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18303         Fix declarations after statements.
18304
18305 2004-12-01  Colin Walters  <walters@redhat.com>
18306
18307         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18308         (nmi_dbus_get_vpn_userpass): New method.
18309         (nmi_dbus_nmi_message_handler): Invoke it.
18310
18311         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18312
18313         * info-daemon/NetworkManagerInfoVPN.h,
18314         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18315         to requests for VPN passwords.
18316
18317         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18318
18319 2004-12-01  Colin Walters  <walters@redhat.com>
18320
18321         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18322         includes.
18323
18324 2004-12-01  Colin Walters  <walters@redhat.com>
18325
18326         * panel-applet/NMWirelessAppletDbus.c
18327         (nmwa_dbus_update_active_device_strength): Fix missing
18328         return value.
18329
18330 2004-12-01  Colin Walters  <walters@redhat.com>
18331
18332         * panel-applet/NMWirelessApplet.c: Add missing include.
18333
18334 2004-12-01  Colin Walters  <walters@redhat.com>
18335
18336         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18337         Remove useless CLAMP (); the value is unsigned, and the case tests
18338         qual->qual < 100, so the value must always be between 0 and 100.
18339
18340 2004-12-01  Colin Walters  <walters@redhat.com>
18341
18342         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18343
18344 2004-11-22  Colin Walters  <walters@verbum.org>
18345
18346         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18347         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18348         which is essentially a noop since nscd caches hosts on disk too.
18349         
18350 2004-11-22  Colin Walters  <walters@redhat.com>
18351
18352         * src/Makefile.am (NetworkManager_SOURCES): Add
18353         NetworkManagerDevicePrivate.h.
18354
18355 2004-11-22  Dan Williams <dcbw@redhat.com>
18356
18357         * src/NetworkManagerDevicePrivate.h
18358                 - Split out the NMDevice struct to a different file so that stuff like
18359                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18360
18361         * dhcpcd/client.c
18362                 - fprintf->syslog
18363                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18364                         need to cancel the dhcp request during the send and recv
18365
18366         * dhcpcd/client.h
18367                 - Move the DHCP option enum to dhcpcd.h
18368
18369         * src/NetworkManagerDHCP.c
18370                 - Split out the actual IP/netmask/etc setting code
18371                 - New Renew/Rebind functions
18372                 - New timer setup function for renew/rebind operations
18373
18374         * src/NetworkManagerDevice.c
18375                 - For device activation, if we are using DHCP then keep the activation thread
18376                         alive until device deactivation.  We need to renew/rebind the DHCP address
18377                         after the T1 (renew) and T2 (rebind) times have expired.
18378                 - Increase some timeouts after bringing wireless cards up/down
18379
18380 2004-11-17  Dan Williams <dcbw@redhat.com>
18381
18382         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18383                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18384                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18385                 show known access points that don't broadcast their ESSID in the menus without
18386                 any user intervention whatsoever.
18387
18388         * info-daemon/NetworkManagerInfoDbus.c
18389                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18390                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18391
18392         * src/NetworkManagerAP.[ch]
18393                 - Add a "user_addresses" data member to the NMAccessPoint structure
18394                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18395                         the user_addresses data member
18396
18397         * src/NetworkManagerAPList.c
18398                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18399                         the AP's reported address
18400                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18401
18402         * src/NetworkManagerDHCP.c
18403                 - Increase DHCP timeout from 25s -> 30s
18404
18405         * src/NetworkManagerDbus.[ch]
18406                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18407                         user addresses
18408
18409         * src/NetworkManagerDevice.c
18410                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18411                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18412                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18413                         So, we take the card down to clear it out.
18414                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18415                         too, since that's where the user_addresses are
18416
18417         * src/NetworkManagerPolicy.c
18418                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18419                         that wireless networks' user_addresses list upon successful activation
18420
18421 2004-11-16  Dan Williams <dcbw@redhat.com>
18422
18423         * src/NetworkManagerDevice.[ch]
18424                 - (nm_device_clear_activation_fail): new function
18425
18426         * src/NetworkManagerPolicy.c
18427                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18428                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18429
18430 2004-11-16  Dan Williams <dcbw@redhat.com>
18431
18432         * src/NetworkManagerDevice.c
18433                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18434                         leak the structure, better updating of now_scanning status
18435                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18436
18437 2004-11-15  Dan Williams <dcbw@redhat.com>
18438
18439         Major rework of link detection code.  We now use DHCP
18440         as part of the link detection which proves to be much more robust,
18441         and also supports Open System authentication for wireless networks.
18442
18443         We no longer use external DHCP client programs.  Instead, we use 
18444         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18445         which was written by:
18446                 Yoichi Hariguchi <yoichi@fore.com>
18447                 Sergei Viznyuk <sv@phystech.com>
18448                 http://www.phystech.com/download/
18449         It resides in the "dhcpcd" directory and was refactored into a general
18450         purpose DHCP client library by me.
18451
18452         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18453         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18454
18455 2004-11-15  Dan Williams <dcbw@redhat.com>
18456
18457         Patch from Tom Parker <palfrey@tevp.net>:
18458
18459         * src/NetworkManagerDevice.c
18460                 - Less output to console when no access
18461                         points are found during a scan
18462
18463 2004-11-15  Dan Williams <dcbw@redhat.com>
18464
18465         Patch from Tom Parker <palfrey@tevp.net>:
18466
18467         * src/backends/interface_parser.c
18468                 - Use g_strdup ()
18469                 - Check for inp == NULL
18470                 - use syslog ()
18471
18472 2004-11-13  Colin Walters  <walters@redhat.com>
18473
18474         Patch from Tom Parker <palfrey@tevp.net>:
18475
18476         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18477         
18478         * src/backends/NetworkManagerRedHat.c: Switch to
18479         including shvar.h instead of shvar.c.
18480
18481         * src/backends/NetworkManagerDebian.c: Don't include
18482         interface_parser.c in source file.
18483
18484         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18485         and interface_parser.[ch].
18486         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18487         Include shvar.c and shvar.h here.
18488         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18489         interface_parser.c and interface_parser.h here.
18490
18491 2004-11-12  Colin Walters  <walters@redhat.com>
18492
18493         * configure.in: Strip out TARGET_DISTRO and
18494         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18495         conditionals.
18496
18497         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18498         (libnmbackend_la_SOURCES): Use Automake conditionals
18499         to add distro-specific files.
18500
18501         * initscript/Makefile.am (SUBDIRS): Update to
18502         use conditionals.
18503
18504 2004-11-12  Colin Walters  <walters@redhat.com>
18505
18506         Patches from j bootlab org
18507
18508         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18509         Add interface_parser.[ch].
18510
18511         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18512         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18513
18514 2004-11-12  Colin Walters  <walters@redhat.com>
18515
18516         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18517         call to nmi_dbus_is_running too, not necessary anymore.
18518         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18519         pick up exit().
18520
18521 2004-11-11  Colin Walters  <walters@verbum.org>
18522
18523         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18524         Delete.
18525         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18526         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18527         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18528         This avoids a race condition that made it pretty easily
18529         possible to get two NetworkManagerInfo daemons running.
18530
18531 2004-11-11  Colin Walters  <walters@verbum.org>
18532         
18533         * src/NetworkManager.c (main): Use daemon(3).
18534
18535         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18536
18537         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18538
18539 2004-11-10 Dan Williams <dcbw@redhat.com>
18540
18541         Patches from j bootlab org
18542         * src/NetworkManagerDevice.c
18543                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18544                         whether the card has a link or not, some cards are slow
18545                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18546
18547         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18548                 - Disable the "Login" button on the passphrase dialog until the user
18549                         enters a valid passphrase or key
18550
18551         Patches from Tom Parker <palfrey tevp net>
18552         * src/backends/NetworkManagerDebian.c
18553                 - Add static IP support to the debian backend
18554
18555         * src/backends/interface_parser.[ch]
18556                 - Parse debian interface config files
18557
18558 2004-11-08 Dan Williams <dcbw@redhat.com>
18559
18560         * src/NetworkManagerDevice.c
18561                 - Some random fprintf->syslog conversions
18562                 - (nm_device_wireless_network_exists): double-check for network
18563                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18564
18565         * src/NetworkManagerWireless.[ch]
18566                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18567                         so that the binary->ascii conversion works (if unsigned, the bitshift
18568                         will fill with zeros, which is what's required).  Also mask bitshift
18569                         result with 0xF for futher assurance.
18570
18571 2004-11-06 Dan Williams <dcbw@redhat.com>
18572
18573         * src/NetworkManagerUtils.c
18574                 - (nm_get_wireless_driver_support_level): default to
18575                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18576                         flip this when changing from whitelist->blacklist of
18577                         wireless drivers
18578
18579 2004-11-05 Dan Williams <dcbw@redhat.com>
18580
18581         Patch from Robert Paskowitz:
18582         * src/backends/NetworkManagerGentoo.c
18583                 - Update static IP config code
18584
18585 2004-11-05 Dan Williams <dcbw@redhat.com>
18586
18587         * info-daemon/NetworkManagerInfoDbus.c
18588           src/NetworkManagerDbus.[ch]
18589           src/NetworkManagerDevice.c
18590                 - Keep track of the # of attempts to get the WEP key
18591                         from the user and pass that along to the info daemon
18592
18593 2004-11-05 Dan Williams <dcbw@redhat.com>
18594
18595         * src/NetworkManagerUtils.c
18596                 - Blacklist wireless cards rather than whitelisting them.
18597                 - Grab driver name from HAL rather than trying to find it
18598                         ourselves.
18599
18600 2004-11-03 Dan Williams <dcbw@redhat.com>
18601
18602         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18603                 - Disable OK button until valid data is entered
18604                         for encryption stuff too
18605
18606         * panel-applet/NMWirelessApplet.c
18607                 - Report card strength for current AP if the card
18608                         doesn't report strength data for scanned access
18609                         points
18610
18611         * src/NetworkManagerDevice.c
18612                 - Smooth out cards reported quality, Atmel card was
18613                         intermittently reporting no quality data but soon
18614                         recovers
18615
18616         * src/NetworkManagerWireless.c
18617                 - Better quality data percentage calculation.  Atmel
18618                         cards (mine at least) seem to report the quality
18619                         in percentage format already, so honor that
18620
18621         Patch from <j@bootlab.org>
18622         * NetworkManager.h
18623           info-daemon/NetworkManagerInfoPassphraseDialog.c
18624           info-daemon/passphrase.glade
18625           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18626           panel-applet/essid.glade
18627           src/NetworkManagerAP.c
18628           src/NetworkManagerDevice.c
18629           src/NetworkManagerWireless.[ch]
18630                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18631
18632 2004-11-03 Dan Williams <dcbw@redhat.com>
18633
18634         * src/NetworkManagerDevice.[ch]
18635                 - (nm_device_set_enc_key): Add parameter to set Authentication
18636                         Mode (Open System, Shared Key, or None).  We're still using
18637                         Shared Key for now though.
18638
18639 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18640
18641         * panel-applet/menu-info.c: change from bold text to light
18642         colored, may cause problems with some themes, i've tested a lot
18643         and they seem fine. 
18644
18645         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18646
18647 2004-11-01  Colin Walters  <walters@verbum.org>
18648
18649         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18650         (nm_wireless_128bit_key_from_passphrase): Add const.
18651
18652         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18653         (nm_ap_set_enc_key_source): Add const.
18654         
18655 2004-11-01  Colin Walters  <walters@verbum.org>
18656
18657         * .cvsignore: Update.
18658
18659 2004-10-29 Dan Williams <dcbw@redhat.com>
18660
18661         * src/NetworkManagerDevice.c
18662                 - (nm_device_wireless_network_exists): Actually use the encryption
18663                         key we got from the applet when attempting to find a wireless network
18664                 - Don't bring devices down so much since on some cards it triggers
18665                         firmware hotplugs each time
18666
18667         * src/NetworkManagerDbus.c
18668                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18669                         from the caller
18670
18671 2004-10-29 Dan Williams <dcbw@redhat.com>
18672
18673         * src/NetworkManager.c
18674                 - (nm_hal_device_property_modified): unlock a locked active
18675                         wireless device when a wired connection gets a link.
18676                         (Means you'll switch to wired whenever you plug in no
18677                         matter what).
18678
18679 2004-10-29 Dan Williams <dcbw@redhat.com>
18680
18681         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18682                 - New files, implement the "Other wireless network" dialog
18683
18684         * panel-applet/NMWirelessApplet.c
18685                 - Move "other wireless network" dialog to separate file
18686
18687         * panel-applet/NMWirelessAppletDbus.[ch]
18688                 - Take key and key_type paramaters for the set_device function
18689
18690         * panel-applet/essid.glade
18691                 - Add UI bits for encryption settings
18692
18693         * src/NetworkManagerDbus.c
18694                 - Retrieve key and key_type params for "setActiveDevice" method call
18695                         and pass them on
18696                 - unref AP returned from nm_device_get_best_ap() when needed
18697
18698         * src/NetworkManagerDevice.c
18699                 - (nm_device_get_best_ap): ref the ap before returning it
18700                 - unref AP returned from nm_device_get_best_ap() when needed
18701                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18702                         need to call nm_device_get_best_ap() here, it was pretty much
18703                         redundant anyway
18704                 - (AP_NEED_KEY): break second link check condition out into separate
18705                         function, and fix segfault when ap->enc_key_source was NULL
18706                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18707                         pass them along to nm_device_wireless_network_exists().  If the
18708                         network does exist, set the passed-in key+key_type on the AP
18709
18710         * src/NetworkManagerPolicy.c
18711                 - unref AP returned from nm_device_get_best_ap() when needed
18712
18713 2004-10-28 Dan Williams <dcbw@redhat.com>
18714
18715         * src/NetworkManagerUtils.c
18716                 - (nm_spawn_process): Fix a potential dereference of NULL
18717
18718         Patches from Peter Jones:
18719
18720         * src/NetworkManagerDevice.c
18721                 - (nm_device_test_wireless_extensions): Better check for
18722                         wireless devices
18723
18724         * src/NetworkManagerUtils.c
18725                 - (nm_spawn_process): Pass in valid stdout and stderr so
18726                         executed programs don't randomly SIGPIPE and fail
18727                 - (nm_get_wired_driver_support_level): quash hal warning
18728                         when checking for USB ethernet device
18729
18730 2004-10-27 Dan Williams <dcbw@redhat.com>
18731
18732         * info-daemon/NetworkManagerInfo.c
18733           info-daemon/NetworkManagerInfoDbus.c
18734           info-daemon/NetworkManagerInfoPassphraseDialog.c
18735           panel-applet/NMWirelessApplet.c
18736                 - Properly escape gconf keys
18737
18738         * src/NetworkManager.c
18739                 - remove unused variables
18740
18741         * src/NetworkManagerAP.c
18742                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18743                         refcount since it got set in nm_ap_new()
18744
18745         * src/NetworkManagerAPList.c
18746                 - (nm_ap_list_combine): Give up ownership of newly created
18747                         access points to the ap list, fixes memleak
18748
18749         * src/NetworkManagerDevice.c
18750                 - Remove cached_ap_list4 member since its not really needed
18751                 - (nm_device_wireless_network_exists): Try to get correct
18752                         encryption status of a found AP if its already in our
18753                         device list
18754                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18755                         memory allocs/deallocs a bit clearer and shorter-lived
18756
18757 2004-10-26 Ray Strode <rstrode@redhat.com>
18758
18759         * panel-applet/NMWirelessApplet.c:
18760           (custom_essid_item_selected):  kill some compiler
18761         warnings 
18762
18763 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18764
18765         * info-daemon/NetworkManagerInfoDbus.c
18766                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18767                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18768
18769 2004-10-23 Dan Williams <dcbw@redhat.com>
18770
18771         * info-daemon/NetworkManagerInfoDbus.c
18772                 - Trap the "DeviceActivationFailed" signal
18773
18774         * docs/NetworkManager DBUS API.txt
18775                 - Add "DeviceActivationFailed" signal
18776
18777         * panel-applet/NMWirelessAppletDbus.c
18778                 - Quash the "NetworkManager service not available" message
18779
18780         * src/NetworkManagerDbus.[ch]
18781                 - Add the "DeviceActivationFailed" signal
18782
18783         * src/NetworkManagerDevice.c
18784                 - Add support for activation_failed flag
18785                 - Fix deadlock where activation thread didn't clean itself up, making
18786                         main thread still believe it was alive forever (didn't reset activation
18787                         flags like activating, just_activated, etc when IP configuration
18788                         failed)
18789
18790         * src/NetworkManagerPolicy.c
18791                 - Implement logic for DeviceActivationFailed signal, and when activation fails
18792                         for wireless networks, try to fall back to some other access point
18793
18794 2004-10-23 Dan Williams <dcbw@redhat.com>
18795
18796         * panel-applet/NMWirelessApplet.[ch]
18797                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18798                         to the applet object, so we can get tooltips
18799                 - Add tooltips (RH #136866)
18800
18801         * src/NetworkManagerDevice.c
18802                 - When trying to find a wireless network, try to connect with encryption
18803                         turned on first, so that we can more accurately detect whether or not
18804                         we need to use encryption for the actual association later on
18805
18806 2004-10-21 Dan Williams <dcbw@redhat.com>
18807
18808         * Add some support for telling NetworkManagerInfo to tell the user
18809                 that they are using a device that's not fully supported
18810
18811         * Fix some assertions in debug messages due to null access point args
18812
18813 2004-10-21 Dan Williams <dcbw@redhat.com>
18814
18815         * src/NetworkManagerDevice.c
18816                 - Don't try to activate/bring up/down unsupported
18817                         devices
18818
18819         * src/NetworkManagerUtils.c
18820                 - Fix case of PCI ID checks for driver support levels
18821
18822 2004-10-21 Dan Williams <dcbw@redhat.com>
18823
18824         * NetworkManager.h
18825                 - New file, now contains commonly used structures and bits
18826                         for the dbus API of NetworkManager
18827
18828         * Makefile.am
18829                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18830
18831         * src/NetworkManager.h
18832                 - Rename -> src/NetworkManagerMain.c
18833
18834         * Various fixups all around to use NetworkManager.h and new
18835                 src/NetworkManagerMain.h, remove redundant bits that got
18836                 moved into NetworkManager.h
18837
18838         * src/NetworkManagerDevice.[ch]
18839           src/NetworkManagerUtils.[ch]
18840           src/NetworkManagerPolicy.c
18841           src/NetworkManagerDbus.c
18842                 - Whitelist wireless drivers, and blacklist some wired
18843                         drivers.  Also blacklist cipsec and ethernet-over-usb
18844                         devices at this time (RH #135722, RH #135648)
18845                 - Don't leak unsupported devices out over dbus, or allow
18846                         them to be set as the active device.  Skip over them
18847                         during automatic device picking
18848
18849         * test/nmclienttest.c
18850                 - Clean up the dbus code a lot
18851
18852 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
18853
18854         * configure.in: post release bump.
18855
18856 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
18857
18858         * configure.in:
18859         * NEWS: Released NetworkManager-0.3.1
18860
18861 2004-10-18 Dan Williams <dcbw@redhat.com>
18862
18863         Patches from Thom May:
18864         * test/nmtestdevices.c
18865                 - Include <string.h>
18866         * src/backends/NetworkManagerDebian.c:
18867                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
18868                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
18869                         Move to using g_strdup_printf rather than arbitrary buffers
18870                 - (nm_system_device_setup_static_ip4_config) Implement function.
18871                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
18872
18873 2004-10-17 Dan Williams <dcbw@redhat.com>
18874
18875         * info-daemon/NetworkManagerInfoDbus.c
18876                 - Display name of network in the "network not found" dialog
18877
18878         * panel-applet/NMWirelessAppletDbus.c
18879                 - (nmwa_dbus_call_nm_method): new function replaces all other
18880                         nmwa_dbus_get_[string|string_array|int|boolean] methods
18881                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
18882                         consolidated into nmwa_dbus_get_object_name()
18883
18884 2004-10-15 Dan Williams <dcbw@redhat.com>
18885
18886         * src/NetworkManagerDbus.c
18887           info-daemon/NetworkManagerInfoDbus.c
18888                 - Display an error dialog when the user tries to use an
18889                         "Other wireless network" that's not found.
18890
18891 2004-10-15 Dan Williams <dcbw@redhat.com>
18892
18893         * panel-applet/NMWirelessApplet.[ch]
18894                 - Fix up corner cases in applet state, making it
18895                         look more responsive.  Change state to "connecting" when
18896                         the user is forcing a device too.
18897
18898 2004-10-15 Dan Williams <dcbw@redhat.com>
18899
18900         * src/NetworkManagerAPList.c
18901                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
18902
18903         * src/NetworkManagerDbus.c
18904                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
18905
18906         * src/NetworkManagerDevice.c
18907                 - Disown APs after the device's AP list takes ownership
18908
18909 2004-10-15 Dan Williams <dcbw@redhat.com>
18910
18911         * panel-applet/NMWirelessApplet.c
18912                 - Update our applet state from the GUI thread
18913
18914         * panel-applet/NMWirelessAppletDbus.c
18915                 - Greatly simplify the locking to make the GUI thread
18916                         smoother.  Update a private copy of the device list
18917                         and active device and only when done talking to
18918                         NetworkManager turn it over to the GUI thread.
18919
18920 2004-10-15 Dan Williams <dcbw@redhat.com>
18921
18922         * src/NetworkManagerAP.[ch]
18923                 - Add "artificial" get/set functions, set for APs that
18924                         aren't discovered as part of a scan but instead
18925                         discovered by force-setting the ESSID
18926
18927         * src/NetworkManagerDevice.[ch]
18928                 - (nm_device_wireless_network_exists): pass back whether
18929                         or not the discovered AP was encrypted.  Also, try
18930                         falling back to encrypted mode on the card if unencrypted
18931                         association doesn't work
18932                 - (nm_device_find_and_use_essid): If the network requested
18933                         did in fact exists, but it wasn't in our scan list, add
18934                         an "artificial" entry for it.  Some Cisco cards don't
18935                         see non-ESSID-broadcasting APs in their scan but can still
18936                         associate with them if you know the ESSID, this works around
18937                         that behavior
18938                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
18939                         to scan if the card is currently associated with that AP
18940
18941 2004-10-15 Dan Williams <dcbw@redhat.com>
18942
18943         ---- We have a website ----
18944         http://people.redhat.com/dcbw/NetworkManager
18945
18946         Patch from Robert Paskowitz:
18947         * src/NetworkManager.c
18948                 - (main): Make sure we are run as root
18949         * src/NetworkManagerDevice.c
18950                 - Fix type in ad-hoc setting function
18951
18952         Patch from Thom May:
18953         * src/backends/NetworkManagerDebian.c
18954                 - Make Debian backend compile again
18955
18956 2004-10-14 Dan Williams <dcbw@redhat.com>
18957
18958         * Tagged NetworkManager-0_3
18959
18960 2004-10-14 Dan Williams <dcbw@redhat.com>
18961
18962         Patch from Robert Paskowitz:
18963         * NEWS
18964           src/NetworkManagerDevice.[ch]
18965           src/backends/NetworkManagerDebian.c
18966           src/backends/NetworkManagerGentoo.c
18967           src/backends/NetworkManagerRedHat.c
18968           src/backends/NetworkManagerSlackware.c
18969                 - Add support for grabbing and using a broadcast address
18970                         from system config files
18971                 - Some Gentoo backend fixes for grabbing network config
18972                 - Fix LOG_WARN->LOG_WARNING
18973
18974 2004-10-14 Dan Williams <dcbw@redhat.com>
18975
18976         * NEWS: a few small fixes in the credits
18977
18978 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
18979
18980         * NEWS: prep for release.
18981
18982 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
18983
18984         * panel-applet/NMWirelessAppletDbus.c
18985         (nmwa_dbus_update_device_wireless_networks): remove warnings.
18986
18987 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
18988
18989         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
18990         applet->state == APPLET_STATE_NO_NM animation.
18991
18992         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
18993         set the text correctly.
18994
18995 2004-10-14 Dan Williams <dcbw@redhat.com>
18996
18997         * src/NetworkManager.c
18998                 - Only accept and manager 802.3 and 802.11 devices
18999
19000         * src/NetworkManagerDbus.[ch]
19001                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19002                         logic into NetworkManagerDevice.c
19003                 - (nm_dbus_network_status_from_data): new function
19004                 - (nm_dbus_signal_network_status_change): new function, unused for now
19005                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19006
19007         * src/NetworkManagerDevice.[ch]
19008                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19009                         a random ESSID.
19010
19011 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19012
19013         * info-daemon/NetworkManagerInfo.c 
19014                 - (main): Added session management
19015
19016 2004-10-14 Dan Williams <dcbw@redhat.com>
19017
19018         * panel-applet/NMWirelessAppletDbus.[ch]
19019                 - Expose network_device_[un]ref()
19020                 - Expose wireless_network_[un]ref()
19021                 - (wireless_network_new_with_essid): new function, create and return
19022                         a wireless network with a particular essid
19023
19024         * panel-applet/NMWirelessApplet.c
19025                 - Hook up the "other network" dialog to do something
19026
19027 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19028
19029         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19030         doesn't work yet, but it looks okay.
19031
19032         * panel-applet/icons/*png: Resize to 22x22 and install in the
19033         right place.
19034
19035 2004-10-13 Dan Williams <dcbw@redhat.com>
19036
19037         * panel-applet/NMWirelessApplet.c
19038                 - Add function to print out applet_state in a readable
19039                         manner
19040
19041         * src/NetworkManager.c
19042                 - (main): Don't segfault when nm_dbus_init() fails, we had
19043                         a left-over call to hal_shutdown() into which we passed NULL
19044
19045         * src/NetworkManagerAP.c
19046                 - (nm_ap_set_essid): Allow NULL essids
19047
19048         * src/NetworkManagerAPList.[ch]
19049                 - More use of nm_ap_list_[un]lock ()
19050                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19051                         network/essid, just return nothing.  Also skip over NULL
19052                         essid access points in the list when searching
19053                 - (nm_ap_list_get_ap_by_address): new function
19054                 - (nm_ap_list_update_network): set the access point's key source to
19055                         NULL when the key returned from NetworkManagerInfo is NULL or
19056                         of 0 length
19057                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19058                         copy timestamp over too
19059                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19060                         find the correct ESSID for a blank-essid access point by searching
19061                         through another list and matching access point MAC addresses
19062                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19063
19064         * src/NetworkManagerDbus.c
19065                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19066                         may specify.  This is mainly for access points that don't
19067                         broadcast their essid.  So if the user tells us to associate with
19068                         some random ESSID that's not in our access point list, we find
19069                         out if the access point does in fact exist (by attempting association
19070                         and then matching that access point's MAC address with the essid the
19071                         user gave us) and then we switch to it.
19072                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19073                         to the returned list of networks for the "getNetworks" method
19074
19075         * src/NetworkManagerDevice.[ch]
19076                 - Extra debugging info for link detection
19077                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19078                         based on MAC address
19079                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19080                 - (nm_device_wireless_network_exists): new function, find out whether
19081                         a random ESSID exists by attempting to associate with it
19082                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19083                         device list as long as they have an AP MAC address we can use.
19084                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19085                         devices too.  Lets the applet update more frequently.
19086
19087         * src/backends/NetworkManagerGentoo.c
19088                 - Patch from: Robert Paskowitz
19089                         - Update backend code for Gentoo
19090                         - Implement nm_system_device_update_config_info ()
19091
19092         * test/nmclienttest.c
19093                 - (set_network_device): new function, takes a command-line argument
19094                         and tells NetworkManager to use that wireless network
19095
19096 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19097
19098         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19099         if the notification icon crashes 5 times within 5 seconds of each respawn 
19100
19101 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19102
19103         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19104         g_print.
19105
19106 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19107
19108         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19109
19110         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19111         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19112         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19113         Change the name of the icons.
19114
19115         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19116         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19117         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19118         (nm_menu_wireless_expose_event): Really bad hack to get the style
19119         to draw in the right color.
19120
19121 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19122
19123         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19124         Notification if it crashes
19125
19126 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19127
19128         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19129         (nmwa_dbus_get_string): remove unused functions
19130
19131         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19132         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19133         remove unused functions
19134
19135         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19136
19137 2004-10-12 Dan Williams <dcbw@redhat.com>
19138
19139         * panel-applet/NMWirelessAppletDbus.c
19140                 - New functions:
19141                         wireless_network_new
19142                         wireless_network_copy
19143                         network_device_new
19144                         network_device_copy
19145
19146         * src/NetworkManagerDevice.[ch]
19147                 - New functions:
19148                         nm_device_set_mode_managed
19149                         nm_device_set_mode_adhoc
19150                 - Use these functions where appropriate
19151                 - When creating a new wireless device, force the card
19152                         to managed/Infrastructure mode as soon as possible
19153
19154 2004-10-12 Dan Williams <dcbw@redhat.com>
19155
19156         * src/NetworkManagerDevice.c
19157                 - Force wireless cards into Infrastructure mode before we use them
19158
19159 2004-10-12 Dan Williams <dcbw@redhat.com>
19160
19161         * TODO
19162                 - Remove bit about static IP address support
19163
19164         * src/NetworkManagerUtils.c
19165                 - (nm_spawn_process): Add some error reporting
19166
19167         * src/NetworkManagerDevice.c
19168                 - (nm_device_activation_configure_ip): hook up to the static config
19169                         routines in the backends
19170
19171         * src/backends/NetworkManagerRedHat.c
19172                 - (nm_system_device_update_config_info): use shvar.c routines to
19173                         parse the config file iformation, not our own
19174                 - (nm_system_device_setup_static_ip4_config): new function, based
19175                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19176                         with a static IP address and gateway
19177
19178         * src/backends/shvar.[ch]
19179                 - Parser (filched from initscripts package) for ifcfg-* files
19180
19181         * src/backends/NetworkManagerSystem.h
19182           src/backends/NetworkManagerGentoo.c
19183           src/backends/NetworkManagerDebian.c
19184           src/backends/NetworkManagerSlackware.c
19185                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19186
19187 2004-10-11 Dan Williams <dcbw@redhat.com>
19188
19189         * TODO
19190                 - Remove bit about more robust AP diffing since I just implemented it
19191
19192 2004-10-11 Dan Williams <dcbw@redhat.com>
19193
19194         * src/NetworkManagerAP.c
19195                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19196                         enough RAM to allocate new AP structures, but return NULL instead
19197
19198         * src/NetworkManagerAPList.[ch]
19199                 - (nm_ap_list_is_empty): new function
19200                 - (nm_ap_list_combine): new function, combine two access point lists
19201                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19202                         into another
19203
19204         * src/NetworkManagerDevice.[ch]
19205                 - Rename some functions to be clearer:
19206                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19207                         nm_device_just_activated     -> nm_device_is_just_activated
19208                         nm_device_activating         -> nm_device_is_activating
19209                         nm_device_now_scanning       -> nm_device_is_scanning
19210                 - Cache the last 4 scans so that the access point list is more stable.
19211                         We combine the lastest two scans and use that as the AP list,
19212                         and diff that combined list against the combination of the earliest
19213                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19214
19215 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19216
19217         * info-daemon/NWManagerInfo.h
19218                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19219
19220         * info-daemon/NWManagerInfoDbus.c
19221                 - (shutdown_callback): new function
19222                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19223                         if NetworkManager goes away.  Kill the timeout
19224                         if NetworkManager restarts before the 30 seconds
19225                         are up.
19226                 - (nmi_dbus_service_init): 
19227                         - call gtk_main_quit if NetworkManager is not running
19228                         - add filters to monitor dbus service creations and
19229                                 deletions
19230         
19231 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19232
19233         * panel-applet/NMWirelessApplet.c
19234                 - (nmwa_update_state): Hide notification icon if we are only
19235                         showing one wired card and no wireless interfaces 
19236                         (Red Hat Bug #134895)
19237
19238         * panel-applet/NMWirelessAppletDbus.c
19239                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19240
19241         * info-daemon/NWManagerInfo.c
19242                 - (main): Terminated the notification_icon_cmd array with a NULL
19243
19244 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19245
19246         * configure.in (ALL_LINGUAS): Added de (German).
19247
19248 2004-10-08 Dan Williams <dcbw@redaht.com>
19249
19250         * src/NetworkManagerDevice.c
19251                 - Be a bit more robust about link checking, ie make sure that
19252                         the WEP key we were given actually has some data in it
19253
19254 2004-10-08 Dan Williams <dcbw@redhat.com>
19255
19256         * info-daemon/NetworkManagerInfo.c (main):
19257                 - Initialize GError object to NULL
19258
19259 2004-10-08 Dan Williams <dcbw@redhat.com>
19260
19261         * panel-applet/NMWirelessAppletDbus.c
19262                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19263
19264 2004-10-08 Dan Williams <dcbw@redhat.com>
19265
19266         * info-daemon/NetworkManagerInfo.[ch]
19267           info-dameon/NetworkManagerInfoDbus.[ch]
19268           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19269                 - Preserve original label text in the passphrase dialog so that
19270                         it actually gets updated with the new network name the next
19271                         time around.  Previously, we were overwriting it so you'd get
19272                         the wrong network name to enter a key for
19273                 - Add a "Key Type" combo to the passphrase dialog, user selects
19274                         encryption key type now, type is stored in GConf too
19275                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19276
19277         * src/NetworkManagerAP.[ch]
19278                 - Remove all the encyption method magic.  It's now set by the user
19279                         and NetworkManager retrieves the type of encryption key from
19280                         NetworkManagerInfo
19281
19282         * src/NetworkManagerAPList.[ch]
19283           src/NetworkManagerDbus.[ch]
19284                 - Adjust to new way of setting encryption key and method
19285                 - Pull encryption method down from NMI along with key
19286
19287         * src/NetworkManagerDevice.[ch]
19288                 - Removed encryption method fallback magic as the method is now
19289                         determined by the user.  This greatly simplifies the connection
19290                         logic.
19291                 - More robust connection/link logic.  Besides removing the encryption
19292                         method fallback magic, check whether or not the card is receiving
19293                         invalidly encrypted packets, which usually indicates that we have
19294                         a bad WEP key set.
19295                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19296
19297         * test/nminfotest.c
19298                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19299
19300 2004-10-07 Dan Williams <dcbw@redhat.com>
19301
19302         * info-daemon/NetworkManagerInfo.conf
19303                 - Allow root user to run NMI too
19304
19305 2004-10-06 Dan Williams <dcbw@redhat.com>
19306
19307         * src/NetworkManagerDevice.[ch]
19308           src/NetworkManagerDbus.c
19309           doc/NetworkManager DBUS API.txt
19310                 - Add a new status tag "scanning", which is set when there
19311                         is no active network connection, but NetworkManager is
19312                         looking for an access point to associate with
19313
19314         * panel-applet/main.c
19315                 - Cast the applet appropriately for gtk_widget_show_all ()
19316
19317 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19318
19319         * panel-applet/eggtrayicon.[ch]:
19320         * panel-applet/main.c: Add missing file
19321
19322 2004-10-04 Dan Williams <dcbw@redhat.com>
19323
19324         * src/NetworkManagerDevice.[ch]
19325                 - Add a slightly more robust method of determining if the WEP key
19326                         is correct or not, by checking the WEP-discarded packet count
19327                         on the card
19328
19329         * info-daemon/NetworkManagerInfo.c
19330                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19331                         un-escape values we pull out rather than escaping them
19332
19333 2004-10-03  Marcel Telka  <marcel@telka.sk>
19334
19335         * configure.in (ALL_LINGUAS): Added sk.
19336
19337 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19338
19339         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19340         and feel.  We should be back to working, and have a good, clean
19341         look.
19342
19343 2004-09-30 Dan Williams <dcbw@redhat.com>
19344
19345         * info-daemon/NetworkManagerInfo.c
19346           info-daemon/NetworkManagerInfoDbus.c
19347           test/nminfotest.c
19348                 - Escape ESSIDs in gconf
19349
19350         * src/NetworkManagerDevice.c
19351                 - Fix pseudo-scanning to use netowrk list from info daemon
19352
19353 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19354
19355         * configure.in: Add a temporary --enable-notification-icon.  This
19356         will prolly go away.
19357
19358         * info-daemon/Makefile.am:
19359         * info-daemon/NetworkManagerInfo.c:
19360         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19361
19362         * panel-applet/Makefile.am:
19363         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19364         * panel-applet/NMWirelessApplet.h:
19365
19366 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19367
19368         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19369         before 'select custom ESSID'.
19370
19371         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19372         fully complete, but syncing in prep for merge.
19373
19374         * panel-applet/icons/*png: New images
19375
19376 2004-09-28 Dan Williams <dcbw@redhat.com>
19377
19378         * src/NetworkManager.c
19379           src/NetworkManagerDevice.c
19380           src/NetworkManagerPolicy.c
19381                 - Don't blow away an active wired connection on startup
19382
19383 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19384
19385         Changes from J5
19386         
19387         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19388
19389         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19390         syslog output
19391
19392 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19393
19394         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19395         have a wireless card.
19396
19397 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19398
19399         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19400         Also, get the right device strings.
19401
19402 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19403
19404         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19405         the logic to make this right.
19406
19407         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19408         devices so that wired networks are always first.
19409
19410 2004-09-22    <clarkbw@cvs.gnome.org>
19411
19412         * initscript/Debian/.cvsignore:
19413         * initscript/Slackware/.cvsignore:
19414         Added new cvsignores for Makefile, Makefile.in
19415         
19416         * test/.cvsignore:
19417         Added nmtestdevices
19418         
19419         * src/NetworkManagerDevice.c: 
19420         * src/NetworkManager.c: 
19421         Updated the wireless/wired HAL device strings from net.ethernet to
19422         net.80203 or net.80211 depending on wired or wireless respectively
19423         
19424         * examples/python/NetworkManager.py: 
19425         s/Quality/Strength/
19426
19427         * examples/python/systray/network_tray.py:
19428         Lots of little changes and fixes.  been rotting for a while so I
19429         figured I'd finally sync them all with CVS
19430
19431 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19432
19433         * configure.in: Add graphics
19434
19435         * panel-applet/Makefile.am: Add graphics
19436
19437         * panel-applet/icons/*: Add graphics
19438
19439         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19440         the icons fully lined up.
19441
19442         * panel-applet/menu-info.c: 
19443         * panel-applet/menu-info.h: Add another menu type.
19444
19445 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19446
19447         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19448
19449         * panel-applet/menu-item.[ch]: Wireless menu item.
19450
19451 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19452
19453         * info-daemon/NetworkManagerInfo.conf
19454                 - Created a more robust security policy for the DBus service
19455                         - everything is denied by default
19456                         - root can own and send to the service
19457                         - users logged in at the console can send to the service
19458
19459 2004-09-13  Dan Williams <dcbw@redhat.com>
19460
19461         * src/NetworkManagerDevice.c
19462                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19463                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19464                         the latter
19465
19466 2004-09-13  Dan Williams <dcbw@redhat.com>
19467
19468         * TODO: fix typo
19469
19470         * docs/NetworkManager DBUS API.txt
19471                 - Update for new signal strength changes
19472
19473         * panel-applet/NMWirelessApplet.c
19474                 - Make panel icon show strength of the current connection
19475                 - Cleanups and memleak fixes
19476
19477         * panel-applet/NMWirelessApplet.h
19478                 - Add data members for signal strength on devices and networks
19479
19480         * panel-applet/NMWirelessAppletDbus.c
19481                 - Free more DBusErrors
19482                 - Update for new signal strength changes
19483                 - Make devices and networks more like real objects, use ref/unref methods
19484                 - Actually unlock the mutex when updating the active device
19485
19486         * src/NetworkManagerAP.c
19487                 - Change AP functions and data members from "quality"->"strength"
19488
19489         * src/NetworkManagerDbus.c
19490                 - Kill "getMaxQuality" and "getQuality" methods
19491                 - Add "getStrength" methods for Networks and Devices
19492
19493         * src/NetworkManagerDevice.[ch]
19494                 - Add accessors for device strength
19495                 - Add functions to update strength for a device.  Note that not all drivers
19496                         actually support signal strength for scanned access points (Atmel drivers
19497                         being one)
19498                 - Calculate signal strength for each AP during scan
19499
19500         * src/NetworkManagerWireless.[ch]
19501                 - Add function to return signal strength % from a device and a raw quality struct
19502
19503         * test/nmclienttest.c
19504                 - Update for new signal strength changes
19505
19506 2004-09-11  Dan Williams <dcbw@redhat.com>
19507
19508         * src/NetworkManager.c
19509                 - Fix race condition between initscripts and NM on card insertion
19510                         which could cause a card to keep an IP address and routes around
19511                         even when it was not the active device
19512
19513         * src/NetworkManagerDbus.c
19514                 - Fix compile errors, free more DBusErrors
19515
19516 2004-09-11  Dan Williams <dcbw@redhat.com>
19517
19518         * docs/NetworkManager DBUS API.txt
19519                 - Add an explanation of NM's API
19520
19521         * src/NetworkManagerDbus.c
19522                 - Free some more DBusErrors if needed
19523
19524 2004-09-11  Dan Williams <dcbw@redhat.com>
19525
19526         * panel-applet/NMWirelessApplet.c
19527           panel-applet/NMWirelessAppletDbus.c
19528                 - Start using NetworkDevice/WirelessNetwork structures in more places
19529                 - Update for unified device/network forcing in NetworkManager
19530
19531         * src/NetworkManager.c
19532                 - some code consolidation
19533
19534         * src/NetworkManagerDbus.c
19535                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19536                         or two arguments:  the first is the NM ID of the device to switch to,
19537                         and the second (optional) argument is the ESSID of a wireless network
19538                         to use as well.
19539                 - Get rid of "setNetwork" method due to above change
19540
19541         * src/NetworkManagerDevice.c
19542                 - (nm_device_new): perform scan and update best AP on device creation
19543                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19544                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19545                         spin waiting for cancellation to finish before returning
19546
19547         * src/NetworkManagerPolicy.c
19548                 - Changes here clarify the situations in which a device switch occurs, and 
19549                         make sure to keep using a forced device and network if the user gives
19550                         us one
19551                 - Remove old unused code
19552
19553 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19554
19555         * configure.in: Added Danish (da) to ALL_LINGUAS.
19556
19557 2004-09-09  Dan Williams <dcbw@redhat.com>
19558
19559         * panel-applet/NMWirelessAppletDbus.c
19560                 - Pull fresh devices and networks from NM when wireless networks
19561                         change.  Provides faster feedback of a forced wireless network
19562
19563         * src/NetworkManagerDbus.c
19564                 - Return error when "getMaxQuality" is called on a wired device
19565                 - Make best_ap freezing actually work again, and signal cancellation
19566                         of activation if there's already a device activation when the user
19567                         freezes the best_ap
19568
19569         * src/NetworkManagerDevice.c
19570                 - Don't clear out the best_ap for wireless devices when the link goes
19571                         down, that's done elsewhere
19572                 - Kill any dhcp daemons when cancelling device activation since they
19573                         may be stuck waiting for a DHCP address, and since we're cancelling
19574                         activation we don't care about that anymore
19575
19576         * src/NetworkManagerPolicy.c
19577                 - Make sure to unref the device we ref earlier (we refed it to make sure
19578                         it stuck around during device activation and such)
19579                 - If we were going to change the best device, but its activating currently
19580                         (and therefore the change didn't occur due to the check earlier)
19581                         we mark the state changed to we come back to it later when device
19582                         activation has canceled and its no longer activating
19583
19584         * src/backends/NetworkManagerRedHat.c
19585                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19586
19587 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19588
19589         * info-daemon/passphrase.glade: 
19590         set passphrase input to activates_default : True
19591
19592         * examples/python/systray/network_tray.py
19593         (network_tray.sort_networks):
19594
19595         Added support for having wireless always scanning
19596
19597 2004-09-09  Dan Williams <dcbw@redhat.com>
19598
19599         NOTE: this commit changes the behavior of wireless devices in
19600         NetworkManager.  They are now up all the time, scanning all
19601         the time.  Only the active device has an IP address and routing
19602         information set up however.  Also, NetworkManager will no longer
19603         opportunistically switch wireless networks when a better one
19604         comes in range, it will remain associated with one wireless network
19605         until that one drops out.
19606
19607         * panel-applet/NMWirelessApplet.c
19608           panel-applet/NMWirelessAppletDbus.c
19609                 - List all wireless cards and their respective networks
19610
19611         * src/NMLoadModules
19612                 - Use full path to /sbin/ip
19613
19614         * src/NetworkManager.c
19615                 - Keep wireless devices up all the time so they can scan
19616
19617         * src/NetworkManagerDbus.c
19618                 - On a WirelessNetworkUpdate signal from NMI, don't update
19619                         the "best" AP
19620
19621         * src/NetworkManagerDevice.c
19622                 - (nm_device_set_link_active): clear out the best ap for
19623                         wireless devices when the link is set to FALSE
19624                 - Scan on all wireless cards, all the time
19625                 - (nm_device_activation_worker): split out the wireless card
19626                         link-waiting code to a separate function
19627                 - Keep wireless cards up even if device activation fails
19628                 - Don't update the "best" ap as much
19629
19630         * src/NetworkManagerPolicy.c
19631                 - Don't update the best ap when checking if its frozen,
19632                         let link checking clear out a frozen best ap for us
19633
19634         * src/NetworkManagerWireless.c
19635                 - Scan on all wireless cards, all the time
19636
19637 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19638
19639         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19640
19641 2004-09-09  Ankit Patel <ankit@redhat.com>
19642
19643         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19644
19645 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19646
19647         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19648
19649 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19650
19651         * examples/python/NetworkManager.py: 
19652         added CONNECTED, CONNECTING, and DISCONNECTED states
19653         added methods to return number of devices of a single type
19654
19655         * examples/python/systray/network_tray.py: 
19656         did some tweaks to get the menu looking near what it is supposed
19657         to look like.  Also did a Airo card hack to make it show the
19658         correct AP quality
19659
19660 2004-09-08  Dan Williams <dcbw@redhat.com>
19661
19662         * panel-applet/no-networkmanager.png
19663           panel-applet/Makefile.am
19664           panel-applet/NMWirelessApplet.c
19665                 - Add a "NetworkManager not running" icon and use it
19666                 - Use new consolidated GConf keys rather than Preferred/Trusted
19667
19668         * TODO: update
19669
19670         * info-daemon/NetworkManagerInfo.c
19671           info-daemon/NetworkManagerInfoDbus.[ch]
19672           info-daemon/NetworkManagerInfoPassphraseDialog.c
19673                 - There are now no longer two separate lists of wireless networks,
19674                         but one list where each network is "trusted" or not trusted
19675                 - Add a "getNetworkTrusted" dbus method
19676                 - "WirelessNetworkUpdate" signal now sent rather than
19677                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19678                 - Start freeing some dbus errors (not completed yet)
19679
19680         * info-daemon/passphrase.glade
19681                 - Remove the "don't show" hints for pager and taskbar
19682                 - Add a title since its going to be in the taskbar
19683
19684         * src/NetworkManager.[ch]
19685           src/NetworkManagerAPList.[ch]
19686                 - There are now no longer two separate lists of wireless networks,
19687                         but one list where each network is "trusted" or not trusted
19688
19689         * src/NetworkManagerAP.[ch]
19690                 - Add get/set "trusted" accessors and data bit
19691
19692         * src/NetworkManagerDbus.[ch]
19693                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19694                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19695
19696         * src/NetworkManagerDevice.[ch]
19697                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19698                 - (nm_device_new): Get device config from backend when initializing devices
19699                 - (nm_device_activation_worker): Split out device configuration on
19700                         activation to deal with static/dynamic IP differences, and try encryption
19701                         fallbacks on a device if the encryption method for the best AP is not good
19702                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19703                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19704
19705         * src/NetworkManagerWireless.c
19706                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19707
19708         * src/backends/NetworkManagerRedHat.c
19709           src/backends/NetworkManagerSystem.h
19710                 - (nm_system_device_update_config_info): Add function to get device configuration
19711                         from system data in ifcfg-* files
19712
19713         * src/backends/NetworkManagerDebian.c
19714           src/backends/NetworkManagerGentoo.c
19715           src/backends/NetworkManagerSlackware.c
19716                 - Add stub functions for getting device configuration
19717
19718 2004-09-07  Dan Williams <dcbw@redhat.com>
19719
19720         * src/backends/NetworkManagerRedhat.c
19721           src/backends/NetworkManagerSlackware.c
19722                 - Use full path to /sbin/ip everywhere
19723
19724 2004-09-07  Dan Williams <dcbw@redhat.com>
19725
19726         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19727
19728         * configure.in
19729           initscript/Makefile.am
19730           initscript/Slackware/Makfile.am
19731           initscript/Slackware/rc.networkmanager
19732           src/Makefile.am
19733           src/backends/NetworkManagerSlackware.c
19734                 - Add Slackware support
19735
19736 2004-09-07  Dan Williams <dcbw@redhat.com>
19737
19738         Patches below from:
19739                 <j@bootlab.org>
19740                 Mark Roach <mrroach@okmaybe.com>
19741                 Thom May <thom@debian.org>
19742
19743         * configure.in
19744           initscript/Debian/NetworkManager
19745           initscript/Debian/Makefile.am
19746                 - Initscript for Debian
19747
19748         * src/backends/NetworkManagerDebian.c
19749                 - Add missing system init function to allow compilation
19750                         on Debian
19751
19752 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19753
19754         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19755
19756 2004-09-03  Akagic Amila <bono@linux.org.ba>
19757
19758         * configure.in: Added 'bs' to ALL_LINGUAS.
19759
19760 2004-09-02  Colin Walters  <walters@verbum.org>
19761
19762         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19763         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19764         g_strdup_printf instead of arbitrarily sized buffers.
19765
19766 2004-09-01  Colin Walters  <walters@verbum.org>
19767
19768         * NetworkManager.pc.in: New file.
19769
19770         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19771
19772 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19773         
19774         * configure.in: Punjabi(pa) is added to po/.
19775
19776 2004-08-31  Dan Williams <dcbw@redhat.com>
19777
19778         * Remove 'debug' extern global from all files since we now
19779                 use syslog()
19780
19781         * src/NetworkManager.[ch]
19782                 - Break out routine that get the net.interface property from HAL,
19783                         removing that logic from nm_create_device_and_add_to_list()
19784                 - (nm_create_device_and_add_to_list): make this a bit more general so
19785                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19786                         the create of test devices.
19787                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19788                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19789                         which makes NetworkManager listen for dbus commands to create test
19790                         devices, which have no backing hardware.  Use when you're on a plane
19791                         for example, and/or forgot your wireless card at home.  Test devices
19792                         _cannot_ be created unless NM is started with --enable-test-devices.
19793
19794         * src/NetworkManagerDbus.[ch]
19795                 - New "getLinkActive" method for devices
19796                 - New "setLinkActive" method for devices (only works on test devices)
19797                 - New "createTestDevice" method on NetworkManager object to create a test
19798                         device of a specified type (ie wired, wireless).  UDI is created from
19799                         scratch, as is the interface name.  Only works when NM is started with
19800                         --enable-test-devices switch.
19801                 - New "removeTestDevice" method on NetworkManager object which removes a
19802                         test device.  Only works when NM is started with --enable-test-devices
19803
19804         * src/NetworkManagerDevice.[ch]
19805                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
19806                         whether a device is a test device or not, and what its link status is.
19807                 - Deal with test devices in most functions.  For those that work directly on hardware
19808                         special-case test devices.
19809                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19810                         command-line.
19811                 - (nm_device_update_link_active): split out logic for wired and wireless device link
19812                         checking to separate functions to facilitate test device link checking.
19813                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19814                         don't make a distinction between System Authentication and Encryption
19815                         (namely Cisco aironet), we use Open System auth when setting a WEP key
19816                         on the card.  We don't deal with Shared Key auth yet.
19817                 - (nm_device_activation_worker): split the activation cancel check logic out into
19818                         a separate routine nm_device_activation_cancel_if_needed()
19819                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19820                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19821                         a list of fake access points that they can "see"
19822                 - (nm_device_is_test_device): return whether or not a device is a test device
19823
19824         * src/NetworkManagerPolicy.c
19825                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19826                         previously if you "locked"/forced NM to use a wireless device but then
19827                         selected a wireless network for NM to use, it would switch to a wired device.
19828                         So, if the active device is wireless and it has a "forced" best AP, use it
19829                         if the "forced" best AP is still valid
19830                 - (nm_state_modification_monitor): deal with NULL best devices, for example
19831                         there were no usable network devices, or the last one was removed
19832
19833         * src/backends/NetworkManager*.c
19834                 - Deal with test devices, mostly just return success for operations like getting
19835                         a DHCP address
19836
19837         * test/nmtestdevices.c
19838                 - Test tool to create/remove/link-switch test devices
19839
19840 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
19841
19842         * examples/python/NetworkManager.py: 
19843         added convience functions has_wired_device and has_wireless_device
19844
19845         * examples/python/systray/network_tray.py: 
19846         cleaned up a bunch of cruft, added support for listing wireless
19847         networks just like the real applet.  This is probably all I'm
19848         going to work on this applet from now on.
19849         TODO: add support for actually changing networks and devices
19850
19851         * examples/python/NetworkManager.py (NetworkManager.get_device): 
19852         changed "nm.networks" into a dict from a list so I can store all
19853         the cool information about networks in there
19854
19855         * examples/python/systray/network_tray.py: 
19856         Added nice message when you try to run without running make first
19857
19858         * examples/python/NetworkManager.py: 
19859         Bug fixes to the code so we get all the device information
19860         that we need in get_device()
19861         
19862         * examples/python/NMTester.py: 
19863         Fixed _print_device_list to print_device_list
19864
19865 2004-08-29  Seth Nickell  <seth@gnome.org>
19866
19867         * configure.in:
19868
19869         Actually properly setup the Debian backend in configure.
19870         
19871 2004-08-29  Colin Walters  <walters@verbum.org>
19872
19873         * test/nminfotest.c: Include string.h and stdlib.h.
19874         (get_network_string_property, get_networks_of_type): Return NULL.
19875
19876         * test/nmclienttest.c (get_device_name, get_active_device): Return
19877         NULL.
19878
19879         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
19880         use strlen, fgets always NULL-terminates the string.
19881
19882         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
19883         dbus_message_get_member): Remove /* in comment.
19884
19885         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
19886
19887         * src/NetworkManager.c (quit): Unused, delete.
19888         (nm_data_free): Cast arg to GFunc.
19889
19890         * panel-applet/NMWirelessAppletDbus.c: Need to include
19891         string.h, and dbus-glib-lowlevel.h (the latter is needed
19892         for dbus_connection_setup_with_g_main at present).
19893         (nmwa_dbus_update_wireless_network_list): Parenthesize
19894         assignment in conditional.
19895         (nmwa_dbus_worker): Return NULL.
19896
19897         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
19898         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
19899         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
19900         (nmwa_populate_menu): Return NULL on failure, instead of just
19901         return;
19902
19903         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
19904
19905         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
19906         variables.
19907
19908         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
19909         delete.
19910         
19911 2004-08-29  Colin Walters  <walters@verbum.org>
19912
19913         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
19914         a GTimeVal instead of time_t.  This is easier to work with,
19915         since time_t may be a long or double, we don't know.
19916
19917         * src/NetworkManagerDbus.h: Update prototype.
19918         
19919         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
19920         instead of time_t.
19921         (nm_ap_get_timestamp): Update to return GTimeVal.
19922         (nm_ap_set_timestamp): Update to take GTimeVal.
19923         
19924         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
19925         to handle GTimeVal.
19926
19927         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
19928         GTimeVal change.
19929         (nm_ap_list_print_members): Fix warnings in printf format.
19930
19931 2004-08-29  Colin Walters  <walters@verbum.org>
19932         
19933         * panel-applet/NMWirelessApplet.c: Include config.h.
19934
19935 2004-08-29  Colin Walters  <walters@verbum.org>
19936
19937         * configure.in: Generate config.h.
19938
19939         * configure.in: Dump dependency on OpenSSL; we can't
19940         use it since this package is GPL:
19941         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
19942         Instead, check for libgcrypt, use it if available,
19943         otherwise use included MD5 code.
19944
19945         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
19946         Suck in from gnome-keyring, munge a bit.
19947         
19948         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
19949         gnome-keyring-md5.h gnome-keyring-md5.c.
19950         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
19951
19952         * src/NetworkManagerWireless.c (nm_md5): New function, uses
19953         libgcrypt or included gnome-keyring md5 bits.
19954         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
19955
19956 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
19957
19958         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
19959
19960 2004-08-27  Bryan Clark  <bclark@redhat.com>
19961
19962         * examples/python/systray/Makefile: 
19963
19964         Updated the clean section
19965         
19966         * examples/python/systray/trayiconmodule.c: 
19967         * examples/python/systray/trayicon.override: 
19968         * examples/python/systray/network_tray.py: 
19969         * examples/python/systray/eggtrayicon.h: 
19970         * examples/python/systray/eggtrayicon.c: 
19971         * examples/python/systray/Makefile: 
19972         * examples/python/README: 
19973         * examples/python/NetworkManager.py: 
19974         * examples/python/NMTester.py: 
19975
19976         Initial commit of these python example files
19977
19978 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
19979
19980         * panel-applet/NMWirelessApplet.c
19981                 - Make current device bold
19982                 - Show more user-friendly device name if we got one from hal
19983
19984         * panel-applet/NMWirelessAppletDbus.c
19985                 - Grab "info.product" key from hal for network devices
19986                 - Cache the current active device
19987
19988 2004-08-27  Adam Weinberger  <adamw@gnome.org>
19989
19990         * configure.in: Added en_CA to ALL_LINGUAS.
19991
19992 2004-08-27  Christian Rose  <menthos@menthos.com>
19993
19994         * configure.in: Added "sv" to ALL_LINGUAS.
19995
19996 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
19997
19998         * Tag NetworkManager-0.2
19999
20000 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20001
20002         * initscripts/Makefile.am
20003         * configure.in: Make pass distcheck
20004
20005         * po/ChangeLog: added
20006
20007 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20008
20009         * panel-applet/NMWirelessApplet.c
20010                 - Remove debugging code
20011                 - Enable device switching from menus
20012
20013         * panel-applet/NMWirelessAppletDbus.[ch]
20014                 - Method for asking NM to switch devices
20015
20016         * src/NetworkManagerDevice.c
20017                 - Set dev->activating earlier, avoids race between
20018                         the dbus signal of "DeviceActivating" and setting
20019                         dev->activating (which is what NM's "status" method call
20020                         looks at)
20021
20022 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20023
20024         * panel-applet/NMWirelessApplet.[ch]
20025                 - Rework menu code to add devices to menu, and to show
20026                         signal strength for each access point.  Code cleanups
20027                         too.
20028
20029         * panel-applet/NMWirelessAppletDbus.c
20030                 - Grab network devices from NetworkManager too
20031                 - Grab quality information from NM for wireless networks
20032
20033         * src/NetworkManagerDbus.[ch]
20034                 - Add dbus methods for getting the HAL UDI from a device and
20035                         for getting its base quality, if its wireless
20036                 - Consolidate some functions (wireless network notifications,
20037                         device notifications)
20038                 - Add method for requesting NM to use a particular device
20039
20040         * src/NetworkManager.c
20041                 - Change for function consolidations from NetworkManagerDbus.c
20042                 - Implement active device locking and user-requested devices
20043                         (ie, tell NM to use a particular device instead of the one
20044                         it autochose)
20045
20046         * src/NetworkManagerDevice.c
20047                 - Add method for getting the base quality of a device, if its
20048                         wireless
20049                 - Grab device base quailty info from iwlib during scans
20050
20051         * src/NetworkManagerPolicy.c
20052                 - Use a user-requested device rather than the auto-chosen device
20053                         if we are told to
20054
20055 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20056
20057         * Makefile.am: add po as a supdir
20058
20059         * autogen.sh: use gnome-autogen.sh
20060
20061         * initscript/Gentoo/.cvsignore:
20062         * initscript/RedHat/.cvsignore: Shut up cvs
20063
20064         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20065
20066         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20067         (nmwa_fill): Use gettext.
20068
20069         * configure.in: add gettext support
20070         * po/.cvsignore:
20071         * po/NetworkManager.pot:
20072         * po/POTFILES.in:
20073
20074 2004-08-26  Seth Nickell  <seth@gnome.org>
20075
20076         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20077         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20078         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20079         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20080         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20081         * panel-applet/NMWirelessApplet.h:
20082
20083         Use a menu bar instead of a button for the main clickable
20084         thingy.
20085         
20086 2004-08-25  Dan Williams <dcbw@redhat.com>
20087
20088         * src/NetworkManagerDevice.c
20089                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20090                         turning encryption off, because the Cisco driver doesn't associate
20091                         with WEP-enabled access points unless we are in "open"
20092
20093 2004-08-25  Dan Williams <dcbw@redhat.com>
20094
20095         * src/NetworkManagerWireless.c
20096                 - Don't try to defererence blank passphrases
20097
20098 2004-08-25  Dan Williams <dcbw@redhat.com>
20099
20100         * panel-applet/NMWirelessApplet.c
20101                 - Rebuild the menu whenever a user clicks
20102
20103 2004-08-25  Dan Williams <dcbw@redhat.com>
20104
20105         * panel-applet/NMWirelessApplet.c
20106                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20107                         when NM isn't around or when its not connected
20108
20109         * src/NetworkManagerDevice.c
20110                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20111                         canceled.
20112
20113 2004-08-25  Dan Williams <dcbw@redhat.com>
20114
20115         * panel-applet/NMWirelessAppletDbus.c
20116                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20117                         for getting encryption, and don't stop on "val" once we've gotten it
20118                         from NetworkManager.  Short form:  encryption should now show up.
20119
20120 2004-08-25  Dan Williams <dcbw@redhat.com>
20121
20122         * panel-applet/NMWirelessApplet.c
20123                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20124                         network to associate with
20125
20126 2004-08-25  Dan Williams <dcbw@redhat.com>
20127
20128         * panel-applet/*
20129                 - Rework the panel applet to do all DBUS communication in a separate
20130                         thread
20131
20132 2004-08-25  Dan Williams <dcbw@redhat.com>
20133
20134         * info-daemon/NetworkManagerInfo.[ch]
20135                 - Remove "get_next_priority" function
20136
20137         * info-daemon/NetworkManagerInfoDbus.[ch]
20138                 - Convert "priority" functions to "timestamp"
20139
20140 2004-08-25  Dan Williams <dcbw@redhat.com>
20141
20142         * src/NetworkManagerAP.[ch]
20143                 - Add a "enc_method_good" member and accessors to an Access Point
20144                         to signal when we've found the correct encryption method
20145                         for an access point
20146                 - Add a "timestamp" member and accessors, remove "priority" member
20147                         and accessors (use timestamps instead)
20148                 - Rename "wep_key"->"enc_key"
20149                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20150                         for a specified encryption method using the access points
20151                         source encryption key/passphrase
20152
20153         * src/NetworkManagerAPList.c
20154                 - When updating a network with dbus, grab timestamp now instead of
20155                         priority
20156
20157         * src/NetworkManagerDBus.[ch]
20158                 - Add signal for "DeviceActivating"
20159                 - Switch priority->timestamp
20160
20161         * src/NetworkManagerDevice.c
20162                 - Change references of "wep_key" -> "enc_key" or "key"
20163                 - Signal DeviceActivating when starting activation
20164                 - When activating a wireless device, if the access point we are connecting
20165                         to is encrypted, and we have a source key, try to generate a mangled
20166                         key and use that (ie, generate real WEP key from a passphrase)
20167                 - Rework device activation to fallback to other encryption methods if
20168                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20169                         first, then if that doesn't work fall back to direct hex key).
20170                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20171                         priority.  We now prefer the latest access point used, rather than using
20172                         a priority scheme
20173                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20174                         points we've just discovered, and merge in correct info from the global
20175                         access point lists
20176
20177 2004-08-25  Seth Nickell  <seth@gnome.org>
20178
20179         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20180         Debian support.
20181         
20182         * src/Makefile.am:
20183         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20184         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20185         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20186         (nm_system_delete_default_route),
20187         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20188         (nm_system_load_device_modules):
20189
20190 2004-08-24  Dan Willemsen <dan@willemsen.us>
20191
20192         * src/NetworkManager.c
20193           src/backends/NetworkManagerGentoo.c
20194           src/backends/NetworkManagerRedHat.c
20195           src/backends/NetworkManagerSystem.h
20196                 - Implement preliminary Gentoo support, adding a
20197                         nm_system_init function to the backend specification
20198
20199         * configure.in
20200                 - Distribution auto-detection, lowercase any user-fed
20201                         distribution names
20202
20203         * initscript/.cvsignore
20204           initscript/Makefile.am
20205           initscript/RedHat/Makefile.am
20206           initscript/RedHat/NetworkManager
20207           initscript/Gentoo/Makefile.am
20208           initscript/Gentoo/NetworkManager
20209                 - Refactored initscript code separately for each
20210                         distribution
20211
20212 2004-08-23  Dan Williams <dcbw@redhat.com>
20213
20214         * configure.in
20215           src/Makefile.am
20216           src/NetworkManagerDevice.c
20217           src/NetworkManager.c
20218           src/NetworkManagerUtils.[ch]
20219           src/backends/NetworkManagerSystem.h
20220           src/backends/NetworkManagerRedHat.c
20221           src/backends/NetworkManagerGentoo.c
20222                 - Refactor system-specific code into separate backends for
20223                         each distribution
20224
20225 2004-08-23  Dan Willemsen <dan@willemsen.us>
20226
20227         * dispatcher-daemon/NetworkManagerDispatcher.c
20228           info-daemon/NetworkManagerInfo.[ch]
20229           info-daemon/NetworkManagerInfoDbus.c
20230           info-daemon/NetworkManagerInfoPassphraseDialog.c
20231           src/NetworkManager.c
20232           src/NetworkManagerAP.c
20233           src/NetworkManagerAPList.c
20234           src/NetworkManagerDbus.c
20235           src/NetworkManagerDevice.c
20236           src/NetworkManagerPolicy.c
20237           src/NetworkManagerUtils.[ch]
20238           src/NetworkManagerWireless.c
20239                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20240
20241         * src/NetworkManager.c
20242                 - Fixed usage wording for --no-daemon
20243
20244 2004-08-23  Dan Williams <dcbw@redhat.com>
20245
20246         * panel-applet/NMWirelessApplet.c
20247                 - Update our state every second to get more responsive panel icon
20248                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20249                         was causing our marching ants status blips to never move when
20250                         looking for a wireless network
20251
20252         * src/NetworkManagerDevice.c
20253                 - (nm_device_activation_begin): return if activation has already begun
20254                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20255                         trusted/preferred network into the device's access point when the
20256                         scan list is processed
20257
20258 2004-08-23  Dan Williams <dcbw@redhat.com>
20259
20260         * initscript/NetworkManager
20261                 - Use NMLaunchHelper rather than sleeping
20262
20263         * initscript/NMLaunchHelper.c
20264           Makefile.am
20265                 - Add helper program that exits only when NM activates a device,
20266                         or 10 seconds have passed, whichever happens first.  This
20267                         stops the boot processes until we have a network connection,
20268                         which NM can't do because it daemonizes and brings the connection
20269                         up in the background.  Allows stuff like NFS to not die.
20270
20271 2004-08-20  Dan Williams <dcbw@redhat.com>
20272
20273         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20274                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20275                         for a network, set the essid as well since it may not exist yet
20276                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20277                         since WEP keys/passphrases are long and prone to entry-error
20278
20279         * panel-applet/Makefile.am
20280           panel-applet/wired.png
20281                 - Add (pulled from system-config-network temporarily)
20282
20283         * panel-applet/NMWirelessApplet.[ch]
20284                 - Show wired picture when a wired connection is used
20285                 - Rename wireless icon enums, adding WIRELESS
20286
20287         * src/NetworkManagerDevice.c
20288                 - (nm_device_activate_wireless): unset encryption before bringing
20289                         down the card and setting the essid
20290                 - (nm_device_activatin_worker): request a key from the user if the
20291                         AP we are connecting to is encrypted but we don't have a key
20292                         for it yet
20293                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20294                         strcmp() that prevented a user-entered key from actually getting
20295                         used
20296
20297 2004-08-16  Dan Williams <dcbw@redhat.com>
20298
20299         * initscript/NetworkManager
20300                 - Check for /sbin/ip
20301                 - Do sysctl magic that network service does
20302                 - sleep 4s after start to allow network time to come up [hack]
20303
20304         * src/Makefile.am
20305           src/NMLoadModules
20306                 - Load all network device kernel modules (hal doesn't know devices
20307                         are ethernet until the module is loaded, and therefore we don't know)
20308
20309         * src/NetworkManager.c
20310                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20311                         network devices, and bring up the loopback device explicitly
20312
20313         * src/NetworkManagerUtils.[ch]
20314                 - (nm_enable_loopback): new function
20315
20316 2004-08-13  Dan Williams <dcbw@redhat.com>
20317
20318         * configure.in
20319           panel-applet/Makefile.am
20320                 - Fix up cleanfiles and server_DATA/server_in_files
20321
20322         * README
20323                 - Update with some comments on theory of operation
20324
20325         * CONTRIBUTING
20326           Makefile.am
20327                 - Add CONTRIBUTING
20328
20329 2004-08-12  Dan Williams <dcbw@redhat.com>
20330
20331         * info-daemon/passphrase.glade
20332                 - Set window title to " "
20333
20334         * panel-applet/Makefile.am
20335           panel-applet/keyring.png
20336                 - Deliver to correct place
20337
20338         * panel-applet/NMWirelessApplet.[ch]
20339                 - Add comments
20340                 - Remove applet->have_active_device as its no longer used
20341                 - (nmwa_load_theme): load keyring.png too
20342                 - (error_dialog): remove
20343                 - (show_warning_dialog): subsume functionality of error dialog too
20344                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20345                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20346                         the networks menu
20347                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20348                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20349                         and when we get broadcasts of changed wireless access points only, not when the
20350                         user clicks on the button to display the menu (too long of a wait)
20351                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20352                         networks that are encrypted
20353                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20354                         menu item with g_object_set_data()
20355
20356         * panel-applet/NMWirelessAppletDbus.[ch]
20357                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20358                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20359                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20360                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20361                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20362                         activation/deactivation signals and rebuild the menu when they happen
20363
20364         * src/NetworkManager.c
20365                 - (main): use new nm_spawn_process() rather than system()
20366
20367         * src/NetworkManagerDbus.c
20368                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20369                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20370                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20371                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20372                         to freeze the best_ap.
20373
20374         * src/NetworkManagerDevice.[ch]
20375                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20376                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20377                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20378                         ap list
20379
20380         * src/NetworkManagerUtils.[ch]
20381                 - (nm_spawn_process): add replacement for system() usage
20382
20383 2004-08-11  Dan Williams <dcbw@redhat.com>
20384
20385         * panel-applet/NMWirelessApplet.[ch]
20386                 - Fix up copyright and credits to include Bastien and Eskil,
20387                         who created the gnome-applets wireless applet, from whose
20388                         skeleton this one was created
20389                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20390                         pixmap to draw is computed during nmwa_update_state()
20391                 - Applet now shows itself all the time due to panel packing issues
20392                         which caused the applet to previously never come back after hiding.
20393                         When a wired device is the active device, the applet shows "not connected"
20394
20395         * panel-applet/NMWirelessAppletDbus.[ch]
20396                 - Clean up error messages and show what function they are from
20397                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20398                 - Add new device type getters, and a status getter
20399
20400         * src/NetworkManagerDbus.c
20401                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20402                         network is actually in the device's ap list
20403                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20404
20405         * src/NetworkManagerDevice.c
20406                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20407                         card
20408
20409         * test/nmclienttest.c
20410                 - Report status of NetworkManager too
20411
20412 2004-08-11  Dan Williams <dcbw@redhat.com>
20413
20414         * info-daemon/NetworkManagerInfo.c:
20415                 - (main): clean up Seth's code style
20416
20417         * info-daemon/NetworkManagerInfoDbus.c:
20418                 - Use the more aptly-named path/service/interface constants from NetworkManager
20419                 - Don't return empty strings ("") as object paths ever, instead return errors
20420
20421         * panel-applet/NMWirelessApplet.c:
20422                 - Clean up Seth's code style
20423
20424         * src/NetworkManager.[ch]
20425                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20426                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20427
20428         * src/NetworkManagerAPList.[ch]
20429                 - Move Iter struct right above the iter functions to preserve opacity
20430                 - (nm_ap_list_remove_ap): implement
20431                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20432                         remove AP if NetworkManagerInfo doesn't know anything about it
20433                 - (nm_ap_list_diff): user NMAPList iterators
20434                 - (nm_ap_list_print_members): implement debugging function
20435
20436         * src/NetworkManagerDbus.[ch]
20437                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20438                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20439                         and move the actual key setting stuff into NetworkManagerDevice.c
20440                 - (nm_dbus_get_network_priority): return -1 now on errors
20441                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20442                         get lost, and force the active device to update its "best" ap when AP lists change
20443                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20444                         method call due to pending_device member removal
20445
20446         * src/NetworkManagerDevice.[ch]
20447                 - Move NMDevice structure to the top
20448                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20449                 - Remove Pending Action stuff from everywhere
20450                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20451                         activation for us.  This thread blocks until all conditions for activation have
20452                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20453                         then setup up the interface and runs dhclient.  We have to do this because there
20454                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20455                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20456                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20457                         can tell nm_device_activation_worker() that we've got a key
20458                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20459                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20460                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20461                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20462
20463         * src/NetworkManagerPolicy.c
20464                 - Remove anything to do with pending_device
20465                 - Adjust device activation to deal with activation-in-worker-thread
20466
20467         * src/NetworkManagerUtils.c
20468                 - Clean up locking debugging a bit
20469
20470         * src/NetworkManagerWireless.[ch]
20471                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20472                         was badly named and is better as a device function
20473
20474         * panel-applet/.cvsignore: add
20475
20476 2004-08-09  Seth Nickell  <seth@gnome.org>
20477
20478         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20479         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20480         (nmwa_new):
20481         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20482
20483         Don't load the menus until clicked on (also removes a call outside
20484         normal code paths at first load).
20485
20486         Hide applet when NM is not present.
20487         
20488         Improve printf debugging stuff.
20489         
20490 2004-08-09  Dan Williams <dcbw@redhat.com>
20491
20492         * dispatcher-daemon/NetworkManagerDispatcher.c:
20493                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20494                 - Use constants for NetworkManager interface, service, and path
20495
20496 2004-08-09  Dan Williams <dcbw@redhat.com>
20497
20498         * src/NetworkManagerDbus.c:
20499                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20500                         instead return an error message
20501                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20502                         on a wired device.  Also never return an empty object path, instead return an error message
20503
20504 2004-08-06  Seth Nickell  <seth@gnome.org>
20505
20506         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20507
20508         Check the error code when getting a connection.
20509         
20510         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20511
20512         Check if the NM service exists when initializing (rather than
20513         assuming it does not).
20514         
20515         * src/NetworkManagerDbus.c: (nm_dbus_init):
20516
20517         Don't acquire the well-known service name until we have
20518         registered object/path handlers and can actually receive
20519         calls.
20520         
20521 2004-08-06  Dan Williams <dcbw@redhat.com>
20522
20523         * panel-applet/*
20524                 - Add panel applet
20525
20526         * src/NetworkManagerPolicy.c
20527           src/NetworkManager.c
20528                 - Get access point lists from NetworkManagerInfo on-demand,
20529                         and look for ServiceCreate/ServiceDeleted signals to see when
20530                         we should query NMI for lists
20531         * src/NetworkManagerAPList.c
20532                 - Make sure to init the list's mutex
20533                 - Convert traversals of the list over to the list iter functions
20534
20535         * src/NetworkManagerDbus.[ch]
20536                 - Use more aptly-named path/service/interface constants
20537                 - Treat both active and pending devices the same for "getActiveDevice"
20538                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20539
20540         * src/NetworkManagerDevice.c
20541                 - Honor "ignored" network list when picking best ap to use
20542
20543 2004-08-06  Seth Nickell  <seth@gnome.org>
20544
20545         * aclocal.m4:
20546
20547         Autogenerated, remove from CVS.
20548         
20549         * autogen.sh:
20550
20551         Don't hardcode automake version.
20552         
20553         * configure.in:
20554         * info-daemon/Makefile.am:
20555         * info-daemon/NetworkManagerInfo.c: (main):
20556
20557         Use GnomeProgram et al. for doing session management.
20558         Use popt stuff for argument parsing rather than doing
20559         it manugally.
20560         
20561 2004-08-05  Dan Williams <dcbw@redhat.com>
20562
20563         * test/nminfotest.c
20564                 - Update to new NMI dbus API, check different network types
20565
20566         * info-daemon/NetworkManagerInfoDbus.c
20567                 - Update to new NM dbus API, ie network type sent in query message
20568
20569 2004-08-05  Dan Williams <dcbw@redhat.com>
20570
20571         * An assload of changes
20572
20573 2004-08-02  Dan Williams <dcbw@redhat.com>
20574
20575         * TODO
20576                 - new task: proper logging support
20577
20578         * info-daemon/NetworkManagerInfo.c
20579                 - Correct spelling of "canceled"
20580                 - Correct casting of objects for g_signal_connect()
20581
20582         * info-daemon/NetworkManagerInfoDbus.c
20583                 - Add defines for NetworkManager namespace and object path, and use them
20584                 - Add filter function to trap new signals from NetworkManager:
20585                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20586
20587         * info-daemon/passphrase.glade
20588                 - Change name of "ok" button to "Login to Network..."
20589                 - Mark invisible
20590
20591         * src/NetworkManager.c
20592                 - Code and debug message cleanups
20593                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20594                 - (nm_add_initial_devices) Check returned string array of devices
20595                         and don't try to add devices if array is NULL
20596                 - (main) Initialize libhal a bit later, make code a bit clearer
20597
20598         * src/NetworkManagerAP.[ch]
20599                 - New accessor and data member "matched": used to speed up AP list
20600                         diffing
20601                 - New accessor and data member "enc_method": will be used during key
20602                         fallback to cache which passphrase->key conversion actually works
20603                         so we don't have to do it every time
20604
20605         * src/NetworkManagerAPList.[ch]
20606                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20607                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20608                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20609                         dbus in response to those differences
20610
20611         * src/NetworkManagerDbus.[ch]
20612                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20613                         make an object path for that access point (NOTE that we don't yet check to
20614                         make sure that access point is actually in the device's AP list yet)
20615                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20616                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20617                         New: signal appearance/disappearance of wireless networks
20618                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20619                         key entry
20620
20621         * src/NetworkManagerDevice.[ch]
20622                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20623                 - (nm_device_ap_list_get) New: return the AP list (static function)
20624                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20625                         new one resulting from the scan with the old one
20626
20627         * src/NetworkManagerWireless.c
20628                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20629
20630         * test/nminfotest.c
20631                 - #define object paths and namespaces and use the #defines rather than static strings
20632                 - Test out user-key functionality of NetworkManagerInfo too
20633
20634 2004-07-29  Dan Williams <dcbw@redhat.com>
20635
20636         * info-daemon/NetworkManagerInfoDbus.c
20637           src/NetworkManagerDbus.c
20638                 - Update to current DBus (ie don't use decomposed paths when registering
20639                         object paths/fallbacks)
20640
20641 2004-07-27  Dan Williams <dcbw@redhat.com>
20642
20643         * Remove various Makefile.in files
20644
20645         * TODO
20646                 - Add some more items
20647
20648         * configure.in
20649                 - Add checks for OpenSSL/md5 headers and libs
20650
20651         * src/Makefile.am
20652                 - Use OpenSSL CFLAGS
20653
20654         * src/NetworkManagerAP.[ch]
20655                 - Remove 'stamp' functions, replace with 'invalid' functions
20656                         to support user cancelling WEP key entry
20657
20658         * src/NetworkManagerDbus.c
20659                 - Remove 'stamp' return functions
20660                 - Treat returned user key as a passphrase and convert to a WEP key,
20661                         but don't actually use the WEP key yet.  We use the returned user
20662                         key as a hexadecimal WEP key until we can figure out a UI for
20663                         passphrase-vs-hex key
20664
20665         * src/NetworkManagerWireless.[ch]
20666                 - Add passphrase-to-128bit-key function
20667
20668 2004-07-27  Dan Williams <dcbw@redhat.com>
20669
20670         * TODO
20671                 - Add a couple of items
20672
20673 2004-07-27  Dan Williams <dcbw@redhat.com>
20674
20675         * info-daemon/NetworkManagerInfo.c
20676                 - Update allowed network's GConf key when user enters a WEP key explicitly
20677
20678         * info-daemon/NetworkManagerDbus.c
20679                 - Fix some comments
20680                 - nmi_dbus_get_allowed_networks(): kill warning
20681
20682 2004-07-27  Dan Williams <dcbw@redhat.com>
20683
20684         * initscript/Makefile.in
20685                 - Remove
20686
20687         * initscript/Makefile.am
20688                 - Add correct rules to install the init.d initscript
20689
20690         * info-daemon/NetworkManagerInfoDbus.c
20691                 - Remove debug fprintf
20692
20693         * src/NetworkManagerDbus.[ch]
20694                 - Remove debug fprintfs
20695                 - Add macros for NetworkManagerInfo object path/namespace
20696                 - Use said macros instead of constant strings
20697
20698 2004-07-27  Dan Williams <dcbw@redhat.com>
20699
20700         * initscript/.cvsignore
20701                 - Add
20702
20703         * info-daemon/Makefile.am
20704                 - Install .glade files and keyring.png
20705                 - Fix stupid omission of a \ that caused half the flags not to be
20706                         passed to gcc
20707
20708         * info-daemon/NetworkManagerInfo.c
20709                 - gtk_signal_connect->g_signal_connect
20710                 - Alert NetworkManagerInfo to new glade file location
20711
20712 2004-07-27  Dan Williams <dcbw@redhat.com>
20713
20714         * test/nmclienttest.c
20715           test/nminfotest.c
20716                 - Add missing <dbus/dbus.h> headers
20717                 - Add GPL message at top
20718
20719 2004-07-27  Dan Williams <dcbw@redhat.com>
20720
20721         * src/NetworkManagerAPList.[ch]
20722           src/Makefile.am
20723                 - Add.  Deal with allowed network list additions, deletions, and updates
20724
20725         * dispatcher-daemon/NetworkManagerDispatcher.c
20726                 - Add missing <dbus/dbus.h> header
20727
20728         * info-daemon/NetworkManagerInfo.[ch]
20729                 - Add missing <dbus/dbus.h> header
20730                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20731                         network change
20732                 - Better error checking
20733
20734         * info-daemon/NetworkManagerInfoDbus.[ch]
20735                 - Add missing <dbus/dbus.h> header
20736                 - Convert to using dbus_message_append_args/dbus_message_get_args
20737                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20738                         that an allowed network changed.  We don't want to signal on individual
20739                         keys _inside_ an allowed network really, just want NM to query the info
20740                         daemon for updated info on all keys.
20741                 - Better error checking
20742
20743         * src/NetworkManager.[ch]
20744                 - Add missing <dbus/dbus.h> header
20745                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20746                 - Zero out NMData structure on free
20747                 - No longer use a thread for allowed_ap_list updating, instead its now done
20748                         through dbus queries against NetworkManagerInfo
20749                 - Populate allowed_ap_list initially before adding existing network devices
20750                         to the device list, so wireless devices can get their "best" AP
20751
20752         * src/NetworkManagerDbus.[ch]
20753                 - Convert to using dbus_message_append_args/dbus_message_get_args
20754                 - Better error checking
20755                 - Implement Allowed Network info functions to request allowed network
20756                         info from NetworkManagerInfo
20757                 - Implement the filter function to process signals from NetworkManagerInfo
20758                         about changing allowed networks
20759
20760         * src/NetworkManagerDevice.c
20761                 - Fix file descriptor leak in nm_device_update_ip4_address()
20762
20763 2004-07-27  Dan Williams <dcbw@redhat.com>
20764
20765         * .cvsignore
20766           src/.cvsignore
20767           test/.cvsignore
20768           dispatcher-daemon/.cvsignore
20769           info-daemon/.cvsignore
20770                 - Add .cvsignore files to reduce noise when diffing
20771
20772 2004-07-24  Dan Williams <dcbw@redhat.com>
20773
20774         * src/NetworkManager.[ch]
20775           src/NetworkManagerDbus.[ch]
20776           src/NetworkManagerDevice.[ch]
20777           src/NetworkManagerPolicy.c
20778           src/NetworkManagerWireless.[ch]
20779                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20780                 - Pass the NMData application data structure through all calls
20781                         that need it so we can get rid of nm_get_global_data()
20782                 - Change deallocation of the allowed_ap_list GSList in preparation
20783                         for not completely clearing it every time we get an update,
20784                         but instead getting incremental updates via GConf/dbus
20785
20786 2004-07-22  Dan Williams <dcbw@redhat.com>
20787
20788         * configure.in
20789                 - Add checks for GConf libs & headers & flags
20790
20791         * info-daemon/Makefile.am
20792                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20793
20794         * info-daemon/NetworkManagerInfo.[ch]
20795                 - Don't use gquarks for data storage, just use normal data storage
20796                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20797
20798         * info-daemon/NetworkManagerDbus.[ch]
20799                 - Add method call for getting allowed networks
20800                 - Add method calls for getting an allowed network's essid, priority, and key
20801                 - Hook the method calls up to GConf
20802                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20803                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20804                 
20805         * src/NetworkManagerDbus.[ch]
20806                 - Switch for enumeration of networks to using essid instead
20807
20808         * test/Makefile.am
20809           test/nminfotest.c
20810                 - Add test program for NetworkManagerInfo
20811
20812 2004-07-19  Dan Williams <dcbw@redhat.com>
20813
20814         * src/NetworkManagerDbus.c
20815                 - Switch from indexed device paths to names.  Less code, more efficient.
20816                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20817
20818 2004-07-19  Dan Williams <dcbw@redhat.com>
20819
20820         * dispatcher-daemon/NetworkManagerDispatcher.c
20821                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20822
20823 2004-07-19  Dan Williams <dcbw@redhat.com>
20824
20825         * Makefile.am
20826                 - Add info-daemon directory
20827
20828         * configure.in
20829                 - Check for glade libs and headers
20830                 - Add info-daemon directory
20831
20832         * src/NetworkManagerAP.c
20833                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20834                         copied over to the new AP.
20835
20836         * src/NetworkManagerDbus.c
20837           src/NetworkManagerDbus.h
20838                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
20839                 - Remove nm_dbus_signal_need_key_for_network()
20840                 - Add disabled code for asynchronous user wep key callbacks
20841                 - Add functions for getting, setting, and cancelling user key operations
20842                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
20843                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
20844
20845         * src/NetworkManagerDevice.c
20846           src/NetworkManagerDevice.h
20847                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
20848                         logic is in device activation now
20849                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
20850                         key is wrong) trigger get-user-key pending action
20851                 - Implement get-user-key pending action stuff, tie to dbus messages
20852                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
20853                 - Add nm_device_ap_list_get_ap_by_essid()
20854                 - Instead of copying "best" access points, ref them instead so that the key we set
20855                         sticks around
20856
20857         * src/NetworkManagerPolicy.c
20858                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
20859                 - Don't cancel pending actions on a device if its the same device as last iteration
20860                 - Only promote pending_device->active_device if activation was successfull
20861
20862         * src/Makefile.am
20863                 - Rename nmclienttest->nmtest
20864
20865         * info-daemon/Makefile.am
20866           info-daemon/NetworkManagerInfo.c
20867           info-daemon/NetworkManagerInfo.h
20868           info-daemon/NetworkManagerInfoDbus.c
20869           info-daemon/NetworkManagerInfoDbus.h
20870           info-daemon/passphrase.glade
20871           info-daemon/NetworkManagerInfo.conf
20872           info-daemon/keyring.png
20873                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
20874                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
20875                         lists to NetworkManager by proxying user's GConf
20876           
20877
20878 2004-07-15  Dan Williams <dcbw@redhat.com>
20879
20880         * src/Makefile.am
20881                 - Turn on warnings
20882
20883         * src/NetworkManager.c
20884                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
20885                         that doing the deactivation ourselves
20886                 - Cancel an pending actions on a device if its being removed
20887                 - Break up link state checking a bit, make non-active wireless cards
20888                         deactivated to save power
20889                 - Remove unused variables
20890
20891         * src/NetworkManager.h
20892                 - Add support for "pending" device
20893
20894         * src/NetworkManagerAP.h
20895           src/NetworkManagerAP.c
20896                 - Add support for determining whether and AP has encryption enabled or not
20897                 - AP address is now "struct ether_addr" rather than a string
20898
20899         * src/NetworkManagerDbus.h
20900           src/NetworkManagerDbus.c
20901                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
20902                 - Changes for AP address from struct ether_addr->string
20903
20904         * src/NetworkManagerDevice.h
20905           src/NetworkManagerDevice.c
20906                 - Remove unused variables, fix warnings
20907                 - Add support for Pending Actions (things that block a device from being "active"
20908                         until they are completed).
20909                 - First pending action:  Get a WEP key from the user
20910                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
20911                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
20912                 - Update wireless link checking to try to determine if the AP we are associated
20913                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
20914                         trigger the GetUserKey pending action on the device
20915                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
20916                         up in that case, otherwise we can't scan or link-check on it
20917                 - Add IP address change notifications at appropriate points (still needs some work)
20918                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
20919
20920         * src/NetworkManagerPolicy.h
20921           src/NetworkManagerPolicy.c
20922                 - Split out "best" access point determiniation into separate function
20923                 - Make device activation 2-stage:  first the device is pending, then
20924                         in the next iteration through it becomes "active" unless it has
20925                         pending actions
20926
20927         * src/NetworkManagerUtils.h
20928           src/NetworkManagerUtils.c
20929                 - Clean up unused variables and warnings
20930                 - Wrap our debug macros in {} to prevent possible confusion
20931
20932         * src/NetworkManagerWireless.c
20933                 - Forgot to return current best priority, which lead to last available AP always
20934                         being chosen no matter what its priority was.  Corrected.
20935
20936 2004-07-15  Dan Williams <dcbw@redhat.com>
20937
20938         * dispatcher-daemon/Makefile.am
20939                 - Turn on warnings
20940
20941         * dispatcher-daemon/NetworkManagerDispatcher.c
20942                 - Remove unused variables due to warnings
20943                 - Fix some comments
20944                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
20945
20946 2004-07-06  Dan Williams <dcbw@redhat.com>
20947
20948         * src/NetworkManager.c
20949                 - Add IPv4 address update for active device during link state check
20950                 - Don't allow wireless cards to be powered up when they are not the
20951                         active device
20952
20953         * src/NetworkManagerDbus.c
20954           src/NetworkManagerDbus.h
20955                 - Add DBUS IPv4 address change signal
20956                 - Add DBUS IPv4 address get method for devices
20957
20958         * src/NetworkManagerDevice.c
20959                 - Make setting the WEP key actually work
20960                 - Move IP address get/set/update stuff here, per-device
20961                 - Power down/bring down wireless device when deactivated
20962                 - For scanning wireless devices, if first scan returned ENODATA, try again
20963
20964         * src/NetworkManagerPolicy.c
20965                 - Only set the WEP key for an allowed access point if there is one.
20966                         We were setting it to be blank if one wasn't specified.
20967
20968         * src/NetworkManagerUtils.h
20969           src/NetworkManagerUtils.c
20970                 - Move the IP address stuff to NetworkManagerDevice.c
20971
20972         * dispatcher-daemon/NetworkManagerDispatcher.c
20973                 - Add device IPv4 address change notification stuff
20974
20975 2004-07-05  Dan Williams <dcbw@redhat.com>
20976
20977         * dispatcher-daemon/NetworkManagerDispatcher.c
20978                 - A bit more descriptive state message
20979                 - Don't segfault when reading directory
20980
20981         * src/NetworkManager.h
20982                 - Remove NMData desired_ap member, its now
20983                         per-device rather than global
20984
20985         * src/NetworkManager.c
20986                 - Remove references to desired_ap
20987                 - Move the allowed AP list refresh stuff into a thread
20988
20989         * src/NetworkManagerDevice.c
20990           src/NetworkManagerDevice.h
20991                 - Each wireless device now has a "best ap"
20992                 - Make device activate/deactivate functions per-device
20993                 - Make wireless scanning per-device
20994                 - Add IPv4 address discover functions, stub IPv6 ones
20995                 - Move ethernet address validation functions to NetworkManagerUtils.c
20996                 - Add wireless access point accessor function
20997                 - Get/Set functions for "best ap"
20998
20999         * src/NetworkManagerPolicy.c
21000                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21001                 - Deal with per-device "best ap" rather than data->desired_apa
21002                 - Implement allowed access point worker thread
21003                 - Add nm_policy_essid_is_allowed() function
21004
21005         * src/NetworkManagerUtils.c
21006           src/NetworkManagerUtils.h
21007                 - Add nm_ethernet_address_is_valid() function
21008                 - Add IPv4/IPv6 address get functions
21009
21010         * src/NetworkManagerWireless.c
21011           src/NetworkManagerWireless.h
21012                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21013
21014 2004-06-29  Dan Williams <dcbw@redhat.com>
21015
21016         * dispatcher-daemon/NetworkManagerDispatcher.c
21017                 - Implement script callout functionality
21018
21019 2004-06-24  Dan Williams <dcbw@redhat.com>
21020
21021         * NetworkManager.c
21022             - Spacing cleanups
21023             - Flush device routes and ip addresses when added to the device list
21024
21025         * NetworkManagerDbus.c
21026             - Spacing cleanups
21027             - Add missing returns in the two signal functions
21028         
21029         * NetworkManagerPolicy.c
21030             - Spacing and variable cleanups
21031
21032 2004-06-24  Dan Williams <dcbw@redhat.com>
21033
21034         * Makefile.am
21035           Makefile.in
21036           configure.in
21037           dispatcher-daemon/Makefile.am
21038           dispatcher-daemon/Makefile.in
21039           dispatcher-daemon/NetworkManagerDispatcher.c
21040             - Add a daemon that receives signals from NetworkManager
21041                         and will (eventually) call scripts in /etc/somewhere
21042                         when devices go up or down.
21043         
21044         * NetworkManager.c
21045             - Spacing cleanups
21046             - Flush device routes and ip addresses when added to the device list
21047
21048         * NetworkManagerDbus.c
21049             - Spacing cleanups
21050             - Add missing returns in the two signal functions
21051         
21052         * NetworkManagerPolicy.c
21053             - Spacing and variable cleanups
21054             - Rename nm_policy_switch_interface->nm_policy_switch_device
21055             - nm_policy_switch_device():
21056                                 Use kill (pid) instead of system ("kill <pid>")
21057             - nm_state_modification_monitor():
21058                                 Add wireless essid to output of debug statements
21059                                 Correct typo in device compare to switch or not (should be !=)
21060                                 Don't sleep after sending "no longer active" signal, was useless
21061
21062 2004-06-24  Dan Williams <dcbw@redhat.com>
21063
21064         * Initial import