2008-10-10 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-10  Dan Williams  <dcbw@redhat.com>
2
3         Rework default route handling to consolidate decisions in the policy,
4         and to take active VPN connections into account when changing the default
5         route (bgo #545912)
6
7         * src/NetworkManager.c
8                 - (main): pass the vpn_manager to the policy so it knows about active
9                         VPN connections; clean up the named manager which wasn't done before
10
11         * src/NetworkManagerPolicy.c
12           src/NetworkManagerPolicy.h
13                 - (nm_policy_new): get a clue about the vpn_manager
14                 - (update_default_route): remove, fold into update_routing_and_dns()
15                 - (update_routing_and_dns): handle active VPN connections too; an
16                         active VPN connection becomes the default route if it does not have
17                         server-specified or user-specified custom routes.  Otherwise, the
18                         best active device gets the default route
19                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
20                    nm_policy_destroy): track VPN connection activation and deactivation
21                         and update the default route when appropriate
22
23         * src/NetworkManagerSystem.c
24           src/NetworkManagerSystem.h
25                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
26                         in the VPN connection itself
27                 - (nm_system_vpn_device_set_from_ip4_config,
28                    nm_system_device_set_from_ip4_config): merge together to make
29                         nm_system_apply_ip4_config()
30                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
31                         via the parent device
32                 - (nm_system_apply_ip4_config): simplify
33                 - (add_ip4_route_to_gateway): new function; add a direct route to the
34                         gateway if needed
35                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
36                         route stuff out into add_ip4_route_to_gateway() for clarity
37
38         * src/nm-device.c
39                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
40
41         * src/vpn-manager/nm-vpn-connection.c
42           src/vpn-manager/nm-vpn-connection.h
43                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
44                    nm_vpn_connection_get_parent_device): add
45                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
46                         device explicit
47                 - (connection_state_changed): update the named manager now that
48                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
49                         useful on errors
50
51         * src/vpn-manager/nm-vpn-manager.c
52           src/vpn-manager/nm-vpn-manager.h
53                 - Add a 'connection-activated' signal
54                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
55                         policy to find out about active VPN connections
56
57 2008-10-10  Tambet Ingo  <tambet@gmail.com>
58
59         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
60         a daemon to prevent NM logging spew on console on startup and shutdown (due
61         to dependency loop between NM and syslog).
62
63 2008-10-10  Alexander Sack  <asac@ubuntu.com>
64
65         Implement managed mode. We bind devices configured in /etc/network/interfaces
66         to their connections by updating wired/wireless setting with the
67         mac address of the device.
68
69         * system-settings/plugins/ifupdown/plugin.c
70                 - (get_net_address_for_udi): implement function to retrieve MAC
71                         address of udi from hal in GByteArray format
72                 - (bind_device_to_connection): bind mac address of device to
73                         wired/wireless system connection
74                 - (hal_device_added_cb): call bind_device_to_connection for
75                         system connections with a matching interface.name
76                 - (hal_device_added_cb): ensure that all code paths
77                         properly free the "iface" string.
78
79 2008-10-10  Alexander Sack  <asac@ubuntu.com>
80
81         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
82         mode of the ifupdown system config plugin.
83
84         * system-settings/plugins/ifupdown/plugin.c
85                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
86                         private unmanage_well_known state field accordingly
87
88 2008-10-10  Alexander Sack  <asac@ubuntu.com>
89
90         Implement unmanaged mode that will prevent all devices in the
91         well_known_udis set from being touched by NetworkManager
92
93         * system-settings/plugins/ifupdown/plugin.c
94                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
95                         unmanage_well_known field used to turn on/off unmanaged
96                         mode
97                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
98                         signal when well_known_udis get added/removed
99                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
100                         if we are in unmanaged mode
101
102 2008-10-10  Alexander Sack  <asac@ubuntu.com>
103
104         Add support to track network devices that have a configuration
105         with a matching interface.name in /etc/network/interfaces
106
107         * system-settings/plugins/ifupdown/plugin.c
108                 - (typedef struct SCPluginIfupdownPrivate): add hash table
109                         to track |well_known_udis|
110                 - (get_iface_for_udi): helper function to get interface.name
111                         for a udi
112                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
113                         that add and remove devices to and from the well_known_udis
114                         set depending on whether their |interface.name| matches
115                         any interface definition in /etc/network/interfaces
116                 - (SCPluginIfupdown_init): connect callbacks from above with
117                         hal_mgr and setup well_known_udis hashtable
118                 - (GObject__dispose): destroy well_known_udis hashtable
119                 - (hal_device_added_cb2): implement wrapper callback with GFunc
120                         signature. user_data is supposed to be a triple (hal_mgr,
121                         config and devtype)
122                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
123                         startup and call hal_device_added_cb2
124
125 2008-10-10  Alexander Sack  <asac@ubuntu.com>
126
127         Remove implementation for not used NMSystemConfigInterface callback functions
128         in ifupdown plugin
129
130         * system-settings/plugins/ifupdown/plugin.c
131                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
132                 - (SCPluginIfupdown_connection_added): removed
133
134 2008-10-08  Dan Williams  <dcbw@redhat.com>
135
136         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
137
138         * src/NetworkManagerUtils.c
139                 - (nm_utils_call_dispatcher): add a 'hostname' action
140
141         * src/NetworkManagerPolicy.c
142                 - (set_system_hostname): dispatch hostname changes
143
144         * callouts/nm-dispatcher-action.c
145                 - (nm_dispatcher_action): handle 'hostname' actions
146
147 2008-10-08  Dan Williams  <dcbw@redhat.com>
148
149         * src/NetworkManagerSystem.c
150                 - (find_route): ref the route so it doesn't get destroyed when the cache
151                         is cleared
152                 - (nm_system_device_set_priority): unref the route here after it's done
153                         being used
154
155 2008-10-08  Dan Williams  <dcbw@redhat.com>
156
157         * src/nm-serial-device.c
158                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
159
160 2008-10-08  Tambet Ingo  <tambet@gmail.com>
161
162         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
163         connection with new settings before saving it.
164
165 2008-10-06  Dan Williams  <dcbw@redhat.com>
166
167         * src/nm-ip4-config.c
168           src/nm-ip4-config.h
169                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
170
171         * src/nm-device-interface.c
172                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
173                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
174                         by using '/' for the object path
175
176         * src/nm-device.c
177                 - (src/nm-device.c): marshal missing/unexported ip4-config through
178                         dbus as '/' since dbus-glib can't handle NULL objects nor can
179                         dbus handle NULL object paths
180
181 2008-10-03  Alexander Sack  <asac@ubuntu.com>
182
183         Implement system hostname support for debian/ubuntu
184
185         * system-settings/plugins/ifupdown/plugin.c
186                 - (GObject__get_property): extend announced capabilities; add
187                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
188                 - (GObject__set_property,write_system_hostname): implement
189                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
190                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
191                    update_system_hostname, get_hostname):
192                         implement hostname property that watches and
193                         parses /etc/hostname
194
195 2008-10-03  Alexander Sack  <asac@ubuntu.com>
196
197         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
198           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
199           system-settings/plugins/ifcfg-fedora/Makefile.am
200           system-settings/src/nm-inotify-helper.c
201           system-settings/src/nm-inotify-helper.h
202           src/Makefile.am
203                 - Move ifcfg-fedora inotify helpers to the system settings service so
204                         they are available to all plugins
205
206 2008-10-03  Alexander Sack  <asac@ubuntu.com>
207
208         Implement support for wep-tx-keyidx in ifupdown system
209         config plugin.
210
211         * system-settings/plugins/ifupdown/parser.c
212                 - (update_wireless_security_setting_from_if_block): introduce
213                         free_type_mapping func table; rename a few local
214                         variables to improve readability; add wpa security mapping
215                         for wep-tx-keyidx property
216                 - (string_to_gpointerint): new function used for the auto_type_mapping
217                         of new wep-tx-keyidx property
218                 - (slist_free_all): free func used for mapped slist types
219
220 2008-10-03  Alexander Sack  <asac@ubuntu.com>
221
222         * system-settings/src/main.c:
223                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
224                         always used as the hash key; fixes a crash when removing wired
225                         devices
226
227 2008-10-02  Dan Williams  <dcbw@redhat.com>
228
229         * src/nm-gsm-device.c
230                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
231                         pass the required GSM secret along via user_data rather than keeping
232                         it around in the private data where it sometimes didn't get cleared
233                 - (real_get_ppp_name): implement using the GSM username
234
235 2008-10-02  Dan Williams  <dcbw@redhat.com>
236
237         * src/ppp-manager/nm-ppp-manager.c
238           src/ppp-manager/nm-ppp-manager.h
239                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
240                         the settings daemon for completely new ones
241                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
242                         local PPP peer name; allow PPP debuging by launching NM with
243                         the environment variable NM_PPP_DEBUG defined
244                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
245                         create_pppd_cmd_line()
246
247         * src/nm-serial-device.c
248           src/nm-serial-device.h
249                 - New 'get_ppp_name' function for subclasses to implement to return the
250                         local PPP peer name
251                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
252                         and pass that name to the PPP manager
253
254         * src/nm-device-ethernet.c
255                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
256                         the local peer name
257
258         * src/nm-cdma-device.c
259                 - (real_get_ppp_name): implement using the CDMA username
260
261 2008-10-02  Dan Williams  <dcbw@redhat.com>
262
263         Patch from Alexander Sack <asac ubuntu com>
264
265         * system-settings/plugins/ifupdown/parser.c
266                 - Implement more graceful ip4 config parsing for cases where
267                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
268                   by using default values
269
270 2008-10-02  Dan Williams  <dcbw@redhat.com>
271
272         * src/NetworkManagerPolicy.c
273                 - (device_state_changed): when marking a connection invalid, clear its
274                         secrets too so that fresh secrets get requested the next time
275
276 2008-10-01  Dan Williams  <dcbw@redhat.com>
277
278         * system-settings/src/dbus-settings.c
279                 - (nm_sysconfig_settings_init): cache system hostname on startup as
280                         a fallback if no plugin provides a hostname
281                 - (get_property): fall back to cached hostname if no plugin provides
282                         a hostname
283
284 2008-10-01  Dan Williams  <dcbw@redhat.com>
285
286         Fix setting value comparison issue that caused some settings to look the
287         same when they were really different (rh #464417)
288
289         * libnm-util/nm-param-spec-specialized.c
290                 - (type_is_fixed_size): return fundamental size of the fixed type too
291                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
292                         in the comparison so that the _entire_ fixed type collection gets
293                         compared rather than just the first 'len1' bytes
294
295 2008-09-30  Dan Williams  <dcbw@redhat.com>
296
297         * src/NetworkManagerPolicy.c
298                 - (lookup_thread_worker): don't store the idle handler ID becuase the
299                         idle handler could have already run and freed the LookupThread
300                         structure
301
302 2008-09-30  Tambet Ingo  <tambet@gmail.com>
303
304         * src/nm-device.c (nm_device_get_priority): Implement.
305         (nm_device_set_ip4_config): Send the device priority to system ip4 
306         config setter.
307
308         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
309         Add priority argument and if it's >= 0, set the priority of the network
310         route added automatically by netlink (or kernel?).
311         (nm_system_device_set_priority): Implement.
312
313         * src/NetworkManagerPolicy.c (get_best_device): Use 
314         nm_device_get_priority() instead of home-grown version. Revert the
315         meaning, best priority is the lowest one.
316
317 2008-09-29  Dan Williams  <dcbw@redhat.com>
318
319         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
320         when it returns EAGAIN (rh #362421)
321
322         * src/nm-device-wifi.c
323                 - (wireless_get_range): try GIWRANGE a few times until the card responds
324                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
325
326 2008-09-28  Dan Williams  <dcbw@redhat.com>
327
328         * src/nm-serial-device.c
329           src/nm-serial-device.h
330                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
331                         cleaned at the right times when subclasses close the serial port too
332                 - (nm_serial_device_send_command): use a default send delay; don't
333                         spin forever on EAGAIN
334                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
335                         remove, no longer used
336                 - (find_response): return the matched response if any
337                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
338                         while doing so
339                 - (wait_for_reply_done): pass the matched response to the callback
340                 - (wait_for_reply_got_data): save the matched response; simplify timeout
341                         handling
342                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
343                         const since they never get modified
344                 - (cleanup_device): split out common cleanup stuff to a new function
345                 - (real_deactivate_quickly, finalize): use cleanup_device()
346
347         * src/nm-gsm-device.c
348                 - (modem_get_reply): remove, unused
349                 - (set_apn): give the card a bit more time to respond
350                 - (manual_registration_again, schedule_manual_registration_again,
351                    manual_registration_response, manual_registration): handle manual
352                         registration timeouts better by retrying registration a few times
353                         because cards are a bit slow after CFUN=1
354                 - (automatic_registration_get_network, get_network_response): use
355                         modem_wait_for_reply() because it interacts better with the serial
356                         buffer and does more intelligent matching; need to wait for 'OK'
357                         rather than just matching terminators
358                 - (schedule_automatic_registration_again,
359                    automatic_registration_response, automatic_registration): retry
360                         registration a few times on timeout or "searching" because cards
361                         take a bit to find a network after being powered up with CFUN=1
362                 - (power_up_response, power_up, init_full_done, enter_pin,
363                    check_pin_done): power up the card with CFUN=1 before trying to
364                         register with the network
365                 - (init_modem_full, init_modem): use more standard 3G init strings
366
367         * src/nm-hso-gsm-device.c
368                 - (modem_get_reply): remove, unused
369                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
370                         modem_wait_for_reply() to match actual responses instead of single
371                         termination characters; it doesn't leave stuff in the serial buffer
372                         that might confuse later calls
373                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
374                         to ensure that the call is really disconnected and not leave extra
375                         stuff in the serial buffer
376
377         * src/nm-cdma-device.c
378                 - (power_up_response, power_up, init_done): try Sierra-style modem
379                         power up before attempting to connect
380
381 2008-09-27  Dan Williams  <dcbw@redhat.com>
382
383         * libnm-util/nm-setting-gsm.c
384                 - (verify): verify GSM network ID
385
386 2008-09-25  Dan Williams  <dcbw@redhat.com>
387
388         * libnm-util/nm-setting-gsm.c
389           libnm-util/nm-setting-gsm.h
390                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
391                         technology terms (bgo #551361)
392
393 2008-09-25  Dan Williams  <dcbw@redhat.com>
394
395         Fix bgo #549401 (inspired by patch from Alexander Sack)
396
397         * src/nm-device-ethernet.c
398                 - (finish_supplicant_task): clean up scheduled tasks and free memory
399                 - (remove_supplicant_interface_error_handler): remove the supplicant
400                         error idle callback too
401                 - (supplicant_interface_release): rename from supplicant_interface_clean
402                         to match nm-device-wifi.c; clean up supplicant interface-related
403                         state tasks when the supplicant interface is disposed of
404                 - (schedule_state_handler): add scheduled tasks to a list so they can
405                         be cleaned up later
406                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
407                    supplicant_iface_connection_state_cb_handler): use
408                         finish_supplicant_task() to clean up each completed task
409                 - (supplicant_iface_connection_error_cb_handler,
410                    supplicant_connection_timeout_cb): clear source id when the task is
411                         complete
412                 - (supplicant_iface_connection_error_cb): save scheduled task id for
413                         later cleanup
414                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
415                         tasks
416
417         * src/nm-device-wifi.c
418                 - (finish_supplicant_task): clean up scheduled tasks and free memory
419                 - (remove_supplicant_interface_error_handler): remove the supplicant
420                         error idle callback too
421                 - (supplicant_interface_release): clean up supplicant interface-related
422                         state tasks when the supplicant interface is disposed of
423                 - (schedule_state_handler): add scheduled tasks to a list so they can
424                         be cleaned up later
425                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
426                    supplicant_iface_connection_state_cb_handler): use
427                         finish_supplicant_task() to clean up each completed task
428                 - (supplicant_iface_connection_error_cb_handler): clear source id when
429                         the task is complete
430                 - (supplicant_iface_connection_error_cb): save scheduled task id for
431                         later cleanup
432                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
433
434 2008-09-24  Tambet Ingo  <tambet@gmail.com>
435
436         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
437         method and get/set hostname property.
438
439 2008-09-24  Tambet Ingo  <tambet@gmail.com>
440
441         * src/supplicant-manager/nm-supplicant-interface.c
442         (nm_supplicant_interface_disconnect): Don't increment the reference 
443         count when disconnecting. The problem is on shutdown, when the replies
444         to these commands do not arrive before NM exits, resulting on never
445         calling supplicant interface's dispose(), which removes the interface
446         from supplicant.
447
448 2008-09-24  Tambet Ingo  <tambet@gmail.com>
449
450         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
451         all the public function arguments.
452
453 2008-09-22  Tambet Ingo  <tambet@gmail.com>
454
455         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
456         "Failure" signal from VPN plugins, store the failure reason, and
457         use it when the state is changed to failure.
458
459         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
460         description.
461
462         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
463         reason to the end of the list to not break the API.
464         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
465         so it can be shared by plugins and daemon.
466
467 2008-09-18  Dan Williams  <dcbw@redhat.com>
468
469         Patch from Alexander Sack <asac@ubuntu.com>
470
471         * configure.in
472           system-settings/plugins/Makefile.am
473           system-settings/plugins/ifupdown/Makefile.am
474           system-settings/plugins/ifupdown/interface_parser.c
475           system-settings/plugins/ifupdown/interface_parser.h
476           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
477           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
478           system-settings/plugins/ifupdown/parser.c
479           system-settings/plugins/ifupdown/parser.h
480           system-settings/plugins/ifupdown/plugin.c
481           system-settings/plugins/ifupdown/plugin.h
482                 - Implement a Debian/Ubuntu legacy network configuration plugin
483                         (gnome.org #551941)
484
485 2008-09-18  Dan Williams  <dcbw@redhat.com>
486
487         Implement support for honoring configured and automatic hostnames, and for
488         setting the configured hostname.
489
490         * introspection/nm-ip4-config.xml
491           src/nm-ip4-config.c
492           src/nm-ip4-config.h
493           src/dhcp-manager/nm-dhcp-manager.c
494                 - Remove useless hostname property; it's not really part of the IPv4
495                         config
496
497         * introspection/nm-settings-system.xml
498           libnm-glib/nm-dbus-settings-system.c
499           libnm-glib/nm-dbus-settings-system.h
500                 - Add SetHostname() call to system settings D-Bus interface
501                 - Add Hostname property to system settings D-Bus interface
502                 - (nm_dbus_settings_system_save_hostname,
503                    nm_dbus_settings_system_get_hostname): implement
504
505         * src/nm-device.c
506           src/nm-device.h
507                 - (nm_device_get_dhcp4_config): implement
508
509         * src/nm-manager.c
510           src/nm-manager.h
511                 - Fetch and track system settings service hostname changes, and proxy
512                         the changes via a GObject property of the manager
513
514         * system-settings/src/nm-system-config-interface.c
515           system-settings/src/nm-system-config-interface.h
516                 - Replace nm_system_config_interface_supports_add() with a capabilities
517                         bitfield
518
519         * system-settings/src/nm-system-config-error.c
520           system-settings/src/nm-system-config-error.h
521                 - Add additional errors
522
523         * system-settings/src/dbus-settings.c
524           system-settings/src/dbus-settings.h
525                 - (get_property, nm_sysconfig_settings_class_init): add hostname
526                         property; first plugin returning a hostname wins
527                 - (impl_settings_add_connection): use plugin capabilities instead of
528                         nm_system_config_interface_supports_add()
529                 - (impl_settings_save_hostname): implement hostname saving
530
531         * src/NetworkManagerPolicy.c
532                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
533                    lookup_thread_die): implement an asynchronous hostname lookup thread
534                         which given an IPv4 address tries to look up the hostname for that
535                         address with reverse DNS
536                 - (get_best_device): split out best device code from
537                         update_routing_and_dns()
538                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
539                         to preserve the 127.0.0.1 reverse mapping that so many things require
540                 - (set_system_hostname): set a given hostname
541                 - (update_system_hostname): implement hostname policy; a configured
542                         hostname (from the system settings service) is used if available,
543                         otherwise an automatically determined hostname from DHCP, VPN, etc.
544                         If there was no automatically determined hostname, reverse DNS of
545                         the best device's IP address will be used, and as a last resort the
546                         hostname 'localhost.localdomain' is set.
547                 - (update_routing_and_dns): use get_best_device(); update the system
548                         hostname when the network config changes
549                 - (hostname_changed): update system hostname if the system settings
550                         service signals a hostname change
551                 - (nm_policy_new): list for system settings service hostname changes
552                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
553                         gets told to die
554
555         * system-settings/plugins/keyfile/plugin.c
556           system-settings/plugins/ifcfg-suse/plugin.c
557                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
558                         capabilities properties
559
560         * system-settings/plugins/ifcfg-fedora/shvar.c
561                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
562                         writes out /etc/sysconfig/network now
563
564         * system-settings/plugins/ifcfg-fedora/plugin.c
565                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
566                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
567                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
568                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
569                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
570                         hostname get/set and capabilities get
571
572 2008-09-18  Dan Williams  <dcbw@redhat.com>
573
574         * libnm-util/nm-setting-wireless.c
575                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
576                         group ciphers if the wireless-security setting explicitly specified
577                         them, effectively making the default be "all ciphers"  (idea from
578                         Alexander Sack)
579
580 2008-09-15  Dan Williams  <dcbw@redhat.com>
581
582         Patch from Alexander Sack <asac@ubuntu.com>
583
584         * src/named-manager/nm-named-manager.c
585                 - (dispatch_resolvconf): respect resolvconf exit code
586
587 2008-09-12  Tambet Ingo  <tambet@gmail.com>
588
589         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
590         again. Add some debugging.
591
592 2008-09-11  Dan Williams  <dcbw@redhat.com>
593
594         * system-settings/plugins/keyfile/plugin.c
595                 - (update_connection_settings): update connection manually, since
596                         nm_exported_connection_update() does authentication
597                 - (dir_changed): update_connection_settings() doesn't need to return
598                         an error
599
600 2008-09-09  Dan Williams  <dcbw@redhat.com>
601
602         * libnm-glib/nm-vpn-plugin-ui-interface.c
603           libnm-glib/nm-vpn-plugin-ui-interface.h
604           libnm-glib/libnm_glib_vpn.ver
605                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
606                         should clean up resources related to the connection (like keyring
607                         secrets)
608                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
609                         should save user-scope secrets (like to the keyring)
610
611 2008-09-08  Dan Williams  <dcbw@redhat.com>
612
613         Patch from Alexander Sack <asac@ubuntu.com>
614
615         * libnm-util/crypto_gnutls.c
616           libnm-util/crypto_nss.c
617                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
618
619         * libnm-util/nm-utils.c
620           libnm-util/nm-utils.h
621           libnm-util/libnm-util.ver
622                 - (nm_utils_init): initialize libnm-util
623                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
624
625         * libnm-util/nm-setting-8021x.c
626                 - (nm_setting_802_1x_class_init): init libnm-util when needed
627
628 2008-09-05  Dan Williams  <dcbw@redhat.com>
629
630         Patch from Roy Marples <roy@marples.name> and others
631
632         * configure.in
633           src/named-manager/nm-named-manager.c
634                 - Add support for resolvconf; use --with-resolvconf at configure time
635                         to enable it
636
637 2008-09-05  Dan Williams  <dcbw@redhat.com>
638
639         * libnm-util/crypto_nss.c
640           libnm-util/crypto_gnutls.c
641           libnm-util/crypto.h
642                 - (crypto_init): return error when init fails
643
644 2008-09-05  Dan Williams  <dcbw@redhat.com>
645
646         * libnm-glib/nm-device-wifi.c
647                 - (access_point_removed_proxy): clean up the active access point too
648                         just in case the active ap changed signal didn't come through yet
649                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
650
651 2008-09-05  Dan Williams  <dcbw@redhat.com>
652
653         * libnm-glib/nm-client.c
654                 - (constructor): get initial state after we know whether NM is running
655                         or not
656
657 2008-09-05  Dan Williams  <dcbw@redhat.com>
658
659         * libnm-glib/nm-ip4-config.c
660           libnm-glib/nm-dhcp4-config.c
661                 - (finalize): clean up the DBusGProxy
662
663 2008-09-04  Dan Williams  <dcbw@redhat.com>
664
665         * src/nm-ip4-config.c
666           src/nm-ip4-config.h
667                 - (nm_ip4_config_new): don't export over D-Bus here
668                 - (nm_ip4_config_export): new function; export the config over D-Bus
669                 - (nm_ip4_config_is_exported): new function
670
671         * src/nm-device.c
672                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
673                         objects by balancing the IP4Config constructor; the device holds
674                         a reference to the IP4Config already
675                 - (nm_device_set_ip4_config): export the IP4Config when needed
676
677 2008-09-04  Dan Williams  <dcbw@redhat.com>
678
679         * src/supplicant-manager/nm-supplicant-settings-verify.c
680                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
681
682 2008-09-04  Dan Williams  <dcbw@redhat.com>
683
684         * libnm-util/nm-setting-vpn.c
685           libnm-util/nm-setting-vpn.h
686                 - Split VPN secrets from VPN data so that settings services can actually
687                         figure out that they are secrets and store them accordingly
688
689         * system-settings/plugins/keyfile/nm-keyfile-connection.c
690           system-settings/plugins/keyfile/reader.c
691           system-settings/plugins/keyfile/reader.h
692           system-settings/plugins/keyfile/writer.c
693                 - Store VPN secrets separately from VPN data so that they can be fetched
694                         on demand
695                 - Implement the get_secrets() call so that (a) secrets don't leak out
696                         to unprivileged callers, and (b) secrets can be sent to privileged
697                         callers when needed
698
699         * vpn-daemons/vpnc/src/nm-vpnc-service.c
700                 - Handle split VPN secrets
701
702 2008-08-27  Dan Williams  <dcbw@redhat.com>
703
704         * system-settings/plugins/ifcfg-fedora/reader.c
705                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
706
707 2008-08-27  Dan Williams  <dcbw@redhat.com>
708
709         Ensure zombie children get cleaned up.  To get notifications when children
710         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
711         that requires calling waitpid() yourself if you've removed the child watch
712         handler before the process has actually died, which NM needs to do in a few
713         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
714         cleans up after the child when required.  Should fix problems trying to
715         activate mobile broadband connections after a previous failure.
716
717         * src/dhcp-manager/nm-dhcp-dhclient.c
718           src/dhcp-manager/nm-dhcp-dhcpcd.c
719                 - Use G_SPAWN_DO_NOT_REAP_CHILD
720
721         * src/dhcp-manager/nm-dhcp-manager.c
722                 - (nm_dhcp_device_destroy): ensure child is cleaned up
723                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
724                         block on child quitting, since the non-blocking functionality was
725                         never actually used
726
727         * src/dnsmasq-manager/nm-dnsmasq-manager.c
728                 - (dm_watch_cb): child is already reaped here
729                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
730
731         * src/nm-device.c
732                 - (aipd_cleanup): block until child is dead
733
734         * src/named-manager/nm-named-manager.c
735                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
736                         event bothering to watch the child
737
738         * src/ppp-manager/nm-ppp-manager.c
739                 - (ppp_watch_cb): child is already reaped here
740                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
741
742         * src/vpn-manager/nm-vpn-service.c
743                 - (vpn_service_watch_cb): child is already reaped here
744                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
745                         status of the child is actually tracked
746                 - (ensure_killed, finalize): block until child is dead
747
748 2008-08-26  Dan Williams  <dcbw@redhat.com>
749
750         * system-settings/plugins/keyfile/nm-keyfile-connection.c
751                 - (update): Update filename of the connection if the connection id
752                         was changed
753
754         * system-settings/plugins/keyfile/plugin.c
755                 - (dir_changed): first pass at handling connection renames correctly
756
757         * system-settings/plugins/keyfile/writer.c
758           system-settings/plugins/keyfile/writer.h
759                 - (write_connection): replace '/' with '*' when writing out the filename
760                         from the connection id
761
762 2008-08-26  Dan Williams  <dcbw@redhat.com>
763
764         Add connection UUIDs, since connection names can be changed, and since
765         old-style connection IDs could change over the life of the connection.  The
766         UUID should be assigned at connection creation time, be stable for a given
767         connection, and should be unique among all connections for a given settings
768         service.
769
770         * configure.in
771           libnm-util/Makefile.am
772                 - Require libuuid
773
774         * introspection/nm-exported-connection.xml
775                 - Remove "GetID" method
776
777         * libnm-glib/nm-dbus-connection.c
778           libnm-glib/nm-settings.c
779           libnm-glib/nm-settings.h
780                 - Remove id-related stuff
781
782         * libnm-util/nm-utils.c
783           libnm-util/nm-utils.h
784           libnm-util/libnm-util.ver
785                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
786                         utility functions to generate UUIDs
787
788         * libnm-util/nm-setting-connection.c
789           libnm-util/nm-setting-connection.h
790                 - Add 'uuid' member to the connection setting
791                 - (verify): require valid 'uuid' for a valid connection
792
793         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
794           system-settings/plugins/ifcfg-fedora/reader.c
795           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
796           system-settings/plugins/ifcfg-suse/parser.c
797           system-settings/plugins/keyfile/nm-keyfile-connection.c
798           system-settings/src/main.c
799                 - Remove id-related stuff
800                 - Give connections UUIDs where needed
801
802 2008-08-25  Dan Williams  <dcbw@redhat.com>
803
804         * libnm-util/crypto_gnutls.c
805           libnm-util/crypto_nss.c
806                 - (crypto_init, crypto_deinit): refcount init/deinit
807                 - (crypto_md5_hash): allow NULL salt
808
809 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
810
811         * libnm-glib/Makefile.am
812           libnm-util/Makefile.am
813           libnm-glib/libnm_glib.ver
814           libnm-glib/libnm_glib_vpn.ver
815           libnm-util/libnm-util.ver
816                 - Use linker version scripts to control the list of exported 
817                 symbols. List each exported symbol explicitely.
818         * libnm-util/Makefile.am
819                 - Fix compilation of the test-crypto binary. The crypto
820                 functions are no longer part of the libnm-util API. Add 
821                 crypto_*.c to test_crypto_SOURCES and link against the correct
822                 crypto libraries.
823
824 2008-08-19  Dan Williams  <dcbw@redhat.com>
825
826         * configure.in
827           test/Makefile.am
828                 - Don't build test/test-common
829                 - Remove unused stuff
830
831         * test/nm-set-fallback
832           test/nmtestdevices.c
833           test/test-common/.cvsignore
834           test/test-common/Makefile.am
835           test/test-common/test-common.c
836           test/test-common/test-common.h
837                 - delete
838
839 2008-08-18  Dan Williams  <dcbw@redhat.com>
840
841         * libnm-util/nm-utils.c
842           libnm-util/nm-utils.h
843                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
844                         export anything that needs to be converted with this function
845
846         * src/dhcp-manager/nm-dhcp-manager.c
847                 - (garray_to_string): convert a byte array to a UTF-8 string with
848                         minimal validation; the DHCP client sends it in ASCII anyway
849                 - (get_option, copy_option): use garray_to_string()
850
851 2008-08-18  Dan Williams  <dcbw@redhat.com>
852
853         * include/NetworkManager.h
854           introspection/nm-device.xml
855                 - Add a "missing firmware" device state reason
856
857         * src/NetworkManagerSystem.c
858           src/NetworkManagerSystem.h
859                 - (nm_system_device_set_up_down): add a no_firmware argument
860                 - (nm_system_device_set_up_down_with_iface): if the result of setting
861                         IFF_UP is ENOENT, that almost always means missing firmware
862
863         * src/backends/NetworkManagerGeneric.c
864           src/nm-device-ethernet.c
865           src/nm-device-private.h
866           src/nm-device-wifi.c
867           src/nm-device.c
868           src/nm-device.h
869           src/nm-hso-gsm-device.c
870           src/vpn-manager/nm-vpn-connection.c
871                 - Pass no_firmware along; check it where appropriate
872
873 2008-08-18  Dan Williams  <dcbw@redhat.com>
874
875         Patch from Robert Buchholz <rbu@gentoo.org>
876
877         * autogen.sh
878           configure.in
879                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
880                         1003.1-1988, allowing for file names longer than 99 characters
881
882 2008-08-17  Dan Williams  <dcbw@redhat.com>
883
884         * include/NetworkManager.h
885           introspection/nm-device.xml
886           src/nm-gsm-device.c
887                 - Finer-grained GSM registration failure error codes
888
889 2008-08-17  Dan Williams  <dcbw@redhat.com>
890
891         * callouts/Makefile.am
892           src/Makefile.am
893                 - Move dispatcher directory creation to callouts/Makefile.am
894
895         * system-settings/plugins/keyfile/Makefile.am
896                 - Create keyfile connections directory in DESTDIR (bgo #546833)
897
898 2008-08-15  Dan Williams  <dcbw@redhat.com>
899
900         Do connection sharing in a cleaner manner; all required iptables rules
901         are now stored in the activation request and pertain only to the device
902         which is being shared to other computers. (rh #458625)
903
904         * src/nm-activation-request.c
905           src/nm-activation-request.h
906                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
907                         the activation request which will get torn down automatically when
908                         the activation request dies
909                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
910                         is started, and tear them down when sharing is stopped
911
912         * src/nm-device.c
913                 - (start_sharing): start up sharing by doing the required iptables magic
914                 - (share_init): poke the right bits of the kernel and load the right
915                         modules for NAT
916                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
917                         connection if it's a 'shared' connection
918
919         * src/NetworkManagerPolicy.c
920                 - Remove all sharing stuff; done in the device code itself
921
922 2008-08-15  Dan Williams  <dcbw@redhat.com>
923
924         * src/dnsmasq-manager/nm-dnsmasq-manager.c
925                 - (create_dm_cmd_line): send the right router address
926
927 2008-08-15  Dan Williams  <dcbw@redhat.com>
928
929         * src/ppp-manager/nm-ppp-manager.c
930                 - (pppd_timed_out): ensure timeouts fail the connection
931
932 2008-08-14  Dan Williams  <dcbw@redhat.com>
933
934         * src/nm-properties-changed-signal.c
935           src/nm-properties-changed-signal.h
936                 - Add a property spec flag for "don't export this property" in
937                         property changed signals
938
939         * src/nm-hso-gsm-device.c
940           src/nm-gsm-device.c
941           src/nm-cdma-device.c
942                 - Don't export monitor interface or netdev interface properties
943
944 2008-08-14  Dan Williams  <dcbw@redhat.com>
945
946         * src/NetworkManagerPolicy.c
947                 - (update_routing_and_dns): 'hso' devices can be default even if they
948                         don't have a gateway
949
950 2008-08-14  Dan Williams  <dcbw@redhat.com>
951
952         * src/nm-device.c
953                 - (nm_device_deactivate_quickly): tear down activation request after
954                         calling device-specific deactivation
955
956         * src/nm-hso-gsm-device.c
957                 - (real_deactivate_quickly): terminate connection when deactivating
958
959 2008-08-14  Dan Williams  <dcbw@redhat.com>
960
961         * src/nm-activation-request.h
962                 - Add HSO secrets caller
963
964         * src/nm-gsm-device.c
965           src/nm-gsm-device.h
966                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
967                         something to the callback function
968                 - (set_apn, set_apn_done): call class dial function, not a static one
969                 - (nm_gsm_device_class_init): add a class 'dial' function
970
971         * src/nm-hal-manager.c
972                 - (get_hso_netdev): find the hso-driven hardware's net device
973                 - (modem_device_creator): recognize hso-driven hardware and create the
974                         right type of device object for it
975
976         * src/Makefile.am
977           src/nm-hso-gsm-device.c
978           src/nm-hso-gsm-device.h
979                 - Implement support for devices driven by the 'hso' driver as a subclass
980                         of NMGsmDevice
981
982 2008-08-14  Dan Williams  <dcbw@redhat.com>
983
984         * src/NetworkManagerSystem.c
985                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
986                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
987                         success if the operation really was successful
988
989 2008-08-14  Dan Williams  <dcbw@redhat.com>
990
991         * src/nm-netlink-monitor.c
992           src/nm-netlink-monitor.h
993           src/nm-device-ethernet.c
994                 - (nm_netlink_monitor_request_status): return an error on failure
995                 - (constructor): don't segfault on missing error
996
997 2008-08-13  Dan Williams  <dcbw@redhat.com>
998
999         * callouts/nm-dispatcher-action.c
1000                 - Add IP4 config info to script environment
1001
1002 2008-08-12  Dan Williams  <dcbw@redhat.com>
1003
1004         * src/nm-device.c
1005                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1006                         that want to use DHCP hostnames should use dispatcher scripts
1007                         for that
1008
1009         * src/NetworkManagerSystem.h
1010           src/backends/NetworkManagerArch.c
1011           src/backends/NetworkManagerDebian.c
1012           src/backends/NetworkManagerFrugalware.c
1013           src/backends/NetworkManagerGeneric.c
1014           src/backends/NetworkManagerGeneric.h
1015           src/backends/NetworkManagerGentoo.c
1016           src/backends/NetworkManagerMandriva.c
1017           src/backends/NetworkManagerPaldo.c
1018           src/backends/NetworkManagerRedHat.c
1019           src/backends/NetworkManagerSlackware.c
1020           src/backends/NetworkManagerSuSE.c
1021                 - Remove nm_system_set_hostname(), no longer used
1022           
1023         * src/backends/Makefile.am
1024           src/backends/shvar.c
1025           src/backends/shvar.h
1026                 - Remove shvar.*; no longer used
1027
1028 2008-08-12  Dan Williams  <dcbw@redhat.com>
1029
1030         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1031         hostname is updated at runtime.  Distros or users who want hostname updates
1032         can use dispatcher scripts to update the hostname if they need it.
1033
1034 2008-08-12  Dan Williams  <dcbw@redhat.com>
1035
1036         * introspection/nm-settings-system.xml
1037           system-settings/src/dbus-settings.c
1038           system-settings/src/dbus-settings.h
1039                 - Add a 'Hostname' property (rw) which represents the configured
1040                         hostname and domain of the system, if any
1041
1042         * system-settings/src/nm-system-config-error.c
1043           system-settings/src/nm-system-config-error.h
1044           system-settings/src/nm-system-config-interface.c
1045           system-settings/src/nm-system-config-interface.h
1046                 - Add a 'hostname' property to the plugin interface
1047                 - Add a method to send updated hostname to plugins to save in their
1048                         backing configuration store
1049
1050         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1051           system-settings/plugins/keyfile/plugin.c
1052           system-settings/plugins/keyfile/writer.c
1053           system-settings/plugins/keyfile/writer.h
1054           system-settings/plugins/ifcfg-suse/plugin.c
1055                 - Add minimal hostname support
1056
1057         * system-settings/plugins/ifcfg-fedora/plugin.c
1058                 - Add support for updating system hostname in /etc/sysconfig/network
1059
1060 2008-08-12  Dan Williams  <dcbw@redhat.com>
1061
1062         * system-settings/plugins/ifcfg-fedora/shvar.c
1063           system-settings/plugins/ifcfg-fedora/shvar.c
1064                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1065
1066 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1067
1068         * Makefile.am: Fix distcheck.
1069
1070 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1071
1072         * libnm-glib/*.c. Document some more.
1073
1074 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1075
1076         Start documenting libnm-glib public API using gtk-doc.
1077
1078         * libnm-glib/nm-serial-device.c: 
1079         * libnm-glib/nm-object.c: 
1080         * libnm-glib/nm-gsm-device.c: 
1081         * libnm-glib/nm-device.c: 
1082         * libnm-glib/nm-device-wifi.c: 
1083         * libnm-glib/nm-device-ethernet.c: 
1084         * libnm-glib/nm-client.c: 
1085         * libnm-glib/nm-cdma-device.c: Document the public API.
1086
1087         * docs/libnm-glib/libnm-glib.types: Implement.
1088
1089         * docs/libnm-glib/Makefile.am: Implement.
1090
1091         * autogen.sh: 
1092         * configure.in: 
1093         * Makefile.am: Add gtk-doc support.
1094
1095 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1096
1097         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1098
1099         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1100         the composite result of all the IP4 configurations and call a distro
1101         specific update_resolv_conf().
1102         (update_resolv_conf): Implement one for directly writing to 
1103         /etc/resolv.conf and one for opensuse to call netconfig.
1104
1105 2008-08-11  Dan Williams  <dcbw@redhat.com>
1106
1107         * src/ppp-manager/nm-ppp-manager.c
1108                 - (impl_ppp_manager_need_secrets): pass interface as required
1109
1110 2008-08-11  Dan Williams  <dcbw@redhat.com>
1111
1112         Merge the vpn-properties setting with the vpn setting since it was pointless
1113         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1114         of string:string (instead of string:variant) so that system settings plugins
1115         can have an easier time dealing with the arbitrary key/value pairs.
1116
1117 2008-08-11  Dan Williams  <dcbw@redhat.com>
1118
1119         * libnm-util/nm-utils.c
1120                 - (nm_utils_register_value_transformations): add value transform for
1121                         a hash table of string:string
1122
1123 2008-08-10  Dan Williams  <dcbw@redhat.com>
1124
1125         * libnm-glib/nm-vpn-plugin.c
1126                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1127                         an idle handler so the Connect reply gets delivered before the
1128                         stop StateChanged signal
1129
1130 2008-08-10  Dan Williams  <dcbw@redhat.com>
1131
1132         * src/nm-ip4-config.c
1133                 - (get_property): use common ip4 address/route conversion functions
1134                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1135                         copy the new route here, not take ownership
1136
1137 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1138
1139         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1140         Update the IP4 setting's method name.
1141
1142 2008-08-07  Dan Williams  <dcbw@redhat.com>
1143
1144         * introspection/nm-ip4-config.xml
1145           libnm-glib/libnm-glib-test.c
1146           libnm-glib/nm-ip4-config.c
1147           libnm-glib/nm-ip4-config.h
1148           src/NetworkManagerSystem.h
1149           src/backends/NetworkManagerArch.c
1150           src/backends/NetworkManagerDebian.c
1151           src/backends/NetworkManagerFrugalware.c
1152           src/backends/NetworkManagerGeneric.c
1153           src/backends/NetworkManagerGeneric.h
1154           src/backends/NetworkManagerGentoo.c
1155           src/backends/NetworkManagerMandriva.c
1156           src/backends/NetworkManagerPaldo.c
1157           src/backends/NetworkManagerRedHat.c
1158           src/backends/NetworkManagerSlackware.c
1159           src/backends/NetworkManagerSuSE.c
1160           src/dhcp-manager/nm-dhcp-manager.c
1161           src/nm-device.c
1162           src/nm-ip4-config.c
1163           src/nm-ip4-config.h
1164                 - Remove NIS logic; should be done from dispatcher scripts instead
1165
1166 2008-08-07  Dan Williams  <dcbw@redhat.com>
1167
1168         * src/dhcp-manager/nm-dhcp-manager.c
1169                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1170                         mis-handling of DHCP responses that returned more than one router
1171                         (found by Grant Williamson)
1172
1173 2008-08-07  Dan Williams  <dcbw@redhat.com>
1174
1175         * callouts/nm-dispatcher-action.c
1176                 - (nm_dispatcher_action): grab device path and create the device; pass
1177                         the device's DHCP4 config to script caller
1178                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1179                         scripts
1180
1181         * libnm-glib/nm-dhcp4-config.c
1182           libnm-glib/nm-dhcp4-config.h
1183                 - (nm_dhcp4_config_get_options): expose
1184                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1185
1186 2008-08-07  Dan Williams  <dcbw@redhat.com>
1187
1188         * include/NetworkManager.h
1189                 - Add the DHCP4Config D-Bus interface
1190
1191         * libnm-glib/Makefile.am
1192           libnm-glib/nm-dhcp4-config.c
1193           libnm-glib/nm-dhcp4-config.h
1194                 - Handle DHCP4 config objects exported by NM over D-Bus
1195
1196         * libnm-glib/nm-device.c
1197           libnm-glib/nm-device.h
1198                 - Add a 'dhcp4-config' property
1199
1200         * libnm-glib/libnm-glib-test.c
1201                 - Print out DHCP4 config for devices
1202                 - Fix some crashes when no connections are active
1203
1204         * src/nm-device-interface.c
1205           src/nm-device.c
1206           src/nm-dhcp4-config.c
1207           src/nm-dhcp4-config.h
1208                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1209                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1210                         doesn't let us do when the property type is G_TYPE_OBJECT
1211
1212 2008-08-07  Dan Williams  <dcbw@redhat.com>
1213
1214         * src/NetworkManager.c
1215           src/NetworkManagerSystem.h
1216           src/backends/NetworkManagerArch.c
1217           src/backends/NetworkManagerDebian.c
1218           src/backends/NetworkManagerFrugalware.c
1219           src/backends/NetworkManagerGeneric.c
1220           src/backends/NetworkManagerGeneric.h
1221           src/backends/NetworkManagerGentoo.c
1222           src/backends/NetworkManagerMandriva.c
1223           src/backends/NetworkManagerPaldo.c
1224           src/backends/NetworkManagerRedHat.c
1225           src/backends/NetworkManagerSlackware.c
1226           src/backends/NetworkManagerSuSE.c
1227                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1228
1229 2008-08-06  Dan Williams  <dcbw@redhat.com>
1230
1231         * libnm-glib/nm-ip4-config.c
1232           libnm-glib/nm-ip4-config.h
1233                 - Add 'routes' property
1234
1235         * libnm-util/nm-setting-vpn.c
1236           libnm-util/nm-setting-vpn.h
1237                 - Remove 'routes' property
1238
1239         * libnm-util/nm-setting-ip4-config.c
1240           libnm-util/nm-setting-ip4-config.h
1241                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1242                 - Add 'ignore-auto-routes' property
1243                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1244                         accomodate route metrics
1245                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1246
1247         * libnm-util/nm-utils.c
1248           libnm-util/nm-utils.h
1249                 - Add helpers for marshalling IP4 routes
1250
1251         * src/NetworkManagerUtils.c
1252                 - (nm_utils_merge_ip4_config): handle property renames and new route
1253                         structure
1254
1255         * src/NetworkManagerSystem.c
1256                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1257                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1258
1259         * src/dhcp-manager/nm-dhcp-manager.c
1260                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1261
1262         * system-settings/plugins/ifcfg-fedora/reader.c
1263           system-settings/plugins/ifcfg-fedora/writer.c
1264                 - Handle routes separately from addresses now that routes have a different
1265                         format
1266
1267         * introspection/nm-ip4-config.xml
1268           src/nm-ip4-config.c
1269           src/nm-ip4-config.h
1270                 - Rename internal routing functions
1271                 - 'static-routes' renamed to 'routes'
1272
1273 2008-08-04  Dan Williams  <dcbw@redhat.com>
1274
1275         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1276
1277         * src/NetworkManager.c
1278           src/nm-manager.c
1279           src/nm-manager.h
1280                 - More explicitly make the NMManager a singleton
1281
1282 2008-08-04  Dan Williams  <dcbw@redhat.com>
1283
1284         * libnm-util/nm-connection.c
1285           libnm-util/nm-connection.h
1286                 - (nm_connection_verify): return error on missing 'connection' setting
1287                         (found by Sjoerd Simons)
1288
1289 2008-08-04  Dan Williams  <dcbw@redhat.com>
1290
1291         Handle multiple concurrent PPP connections.
1292
1293         * src/ppp-manager/nm-ppp-manager.c
1294           src/ppp-manager/nm-ppp-manager.h
1295                 - (constructor): only PPP Manager request bus name once; each
1296                         NMPPPManager object gets a unique object path
1297                 - (nm_ppp_manager_class_init, get_property, set_property,
1298                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1299                         at construct time
1300                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1301                         remove timeout until PPP manager gets an IP4 config
1302                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1303                         the plugin can call back to this specific PPP manager instance
1304
1305         * src/nm-device-ethernet.c
1306           src/nm-serial-device.c
1307                 - Pass parent device in nm_ppp_manager_new()
1308
1309         * src/nm-gsm-device.c
1310           src/nm-cdma-device.c
1311                 - (device_state_changed): don't close serial device on NEED_AUTH
1312                         state changed, that's not a failure case like the rest are
1313
1314         * src/ppp-manager/nm-pppd-plugin.c
1315                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1316                         binds one interface to any pppd process, thus the correct index
1317                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1318                         problems; try harder to get a peer address in spite of pppd
1319                 - (plugin_init): use 'ipparam' as the object path back to our specific
1320                         PPP manager instance
1321
1322 2008-08-04  Dan Williams  <dcbw@redhat.com>
1323
1324         * src/ppp-manager/nm-ppp-manager.c
1325                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1326                         since the GSM and CDMA settings now implement need_secrets, we can
1327                         rely on them to do the right thing.  Where secrets are not required,
1328                         just pass empty strings back to the pppd plugin.
1329                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1330                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1331                         on successful IP4 config receipt
1332
1333 2008-08-04  Dan Williams  <dcbw@redhat.com>
1334
1335         * libnm-util/nm-setting-cdma.c
1336           libnm-util/nm-setting-gsm.c
1337                 - (verify): validate username & password if they exist
1338                 - (need_secrets): if username given, require a password too
1339
1340 2008-08-04  Dan Williams  <dcbw@redhat.com>
1341
1342         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1343                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1344                         manpage says about --listen-address without --interface
1345                         (bgo #546033)
1346
1347 2008-08-01  Dan Williams  <dcbw@redhat.com>
1348
1349         * libnm-glib/nm-device.c
1350                 - (proxy_get_string): util function for querying a HAL property
1351                 - (get_ancestor_device): split out from get_product_and_vendor()
1352                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1353                         from PCI devices by querying subsys properties
1354                 - (nm_device_update_description): simplify
1355
1356 2008-08-01  Dan Williams  <dcbw@redhat.com>
1357
1358         * libnm-util/nm-setting-ip4-config.c
1359           libnm-util/nm-setting-ip4-config.h
1360                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1361                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1362                         settings, and they don't necessarily use DHCP.
1363
1364         * src/NetworkManagerPolicy.c
1365           src/nm-device.c
1366           system-settings/plugins/ifcfg-fedora/reader.c
1367           system-settings/plugins/ifcfg-suse/parser.c
1368                 - Fixup for method changes
1369
1370 2008-07-31  Dan Williams  <dcbw@redhat.com>
1371
1372         * src/nm-activation-request.c
1373           src/vpn-manager/nm-vpn-connection.c
1374                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1375                         itself should be attached to the activation request or the VPN
1376                         connection, not the NMConnection object, since the call is not
1377                         expected to live as long as the NMConnection itself
1378
1379 2008-07-31  Dan Williams  <dcbw@redhat.com>
1380
1381         * src/nm-device-wifi.c
1382                 - (real_act_stage2_config): fix issue where association would continue
1383                         even though secrets were needed; 'goto out' was in wrong scope and
1384                         result of handle_auth_or_fail() should have been dumped directly to
1385                         'ret' to ensure that the association was postponed until secrets
1386                         are available
1387
1388 2008-07-31  Dan Williams  <dcbw@redhat.com>
1389
1390         * system-settings/plugins/ifcfg-fedora/plugin.c
1391           system-settings/plugins/ifcfg-fedora/reader.c
1392                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1393                         valid NM connection
1394
1395 2008-07-29  Dan Williams  <dcbw@redhat.com>
1396
1397         * src/nm-gsm-device.c
1398                 - (automatic_registration_response, automatic_registration): recognize
1399                         denied registration and reorder responses
1400
1401 2008-07-29  Dan Williams  <dcbw@redhat.com>
1402
1403         * src/nm-serial-device.c
1404                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1405                         time(2) is used for current time, which returns seconds, we shouldn't
1406                         be multiplying by 1000.
1407
1408 2008-07-28  Dan Williams  <dcbw@redhat.com>
1409
1410         Patch from Fabrice Bellet <fabrice@bellet.info>
1411
1412         * src/NetworkManagerSystem.c
1413                 - (route_in_same_subnet): mask addresses and compare them so that the
1414                         function actually does what it says it's going to do (rh #456685)
1415
1416 2008-07-27  Dan Williams  <dcbw@redhat.com>
1417
1418         * libnm-util/nm-setting-ip6-config.c
1419                 - (set_property): add missing break that caused routes to be overwritten
1420                         with addresses
1421
1422         * libnm-util/nm-setting-ip6-config.c
1423                 - (verify): validate routes and return GError everywhere on invalid setting
1424                 - (finalize): don't leak routes
1425                 - (set_property): add missing break that caused routes to be overwritten
1426                         with addresses
1427
1428 2008-07-27  Dan Williams  <dcbw@redhat.com>
1429
1430         * libnm-util/*
1431                 - Relicense to LGPLv2+
1432
1433 2008-07-27  Dan Williams  <dcbw@redhat.com>
1434
1435         * system-settings/plugins/ifcfg-fedora/reader.c
1436                 - (make_ip4_setting): fix parsing automatic configs
1437
1438 2008-07-27  Dan Williams  <dcbw@redhat.com>
1439
1440         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1441           src/nm-device.c
1442           src/ppp-manager/nm-ppp-manager.c
1443                 - Ensure child process gets reaped.  The child watch function may be
1444                         removed from the mainloop before the child gets killed, so we have
1445                         to make sure the child is reaped when it's told to die intentionally
1446
1447 2008-07-27  Dan Williams  <dcbw@redhat.com>
1448
1449         Patch from Roy Marples <roy@marples.name>
1450
1451         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1452                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1453
1454 2008-07-27  Dan Williams  <dcbw@redhat.com>
1455
1456         * src/nm-gsm-device.c
1457                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1458                         Huawei devices turn echo back on after CPIN (rh #456770)
1459
1460 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1461
1462         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1463         format argument to g_set_error() call.
1464
1465         * src/backends/interface_parser.[ch]: Remove.
1466
1467         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1468
1469 2008-07-21  Dan Williams  <dcbw@redhat.com>
1470
1471         * src/ppp-manager/nm-ppp-manager.c
1472                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1473                         to prevent pppd from picking up some random local address from an
1474                         interface that doesn't have anything to do with the one we're
1475                         interested in (rh #455348)
1476
1477 2008-07-17  Dan Williams  <dcbw@redhat.com>
1478
1479         * libnm-util/nm-utils.c
1480                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1481                         by locale
1482                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1483                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1484
1485 2008-07-17  Dan Williams  <dcbw@redhat.com>
1486
1487         * introspection/Makefile.am
1488           introspection/nm-device.xml
1489           introspection/nm-dhcp4-config.xml
1490                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1491                         itself
1492         * src/nm-device-interface.c
1493           src/nm-device-interface.h
1494                 - Add the DHCP4Config property
1495
1496         * src/nm-device.c
1497                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1498                         D-Bus clients when it changes
1499
1500         * src/nm-dhcp4-config.c
1501           src/nm-dhcp4-config.h
1502                 - Simple object to store DHCP4 options, export them over D-Bus, and
1503                         notify when they change
1504
1505         * src/dhcp-manager/nm-dhcp-manager.c
1506           src/dhcp-manager/nm-dhcp-manager.h
1507                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1508                         filter server-returned DHCP options into an NMDHCP4Config object
1509
1510 2008-07-16  Dan Williams  <dcbw@redhat.com>
1511
1512         * introspection/nm-device.xml
1513                 - Add device state reasons
1514
1515 2008-07-16  Dan Williams  <dcbw@redhat.com>
1516
1517         Patch from Roy Marples <roy@marples.name>
1518
1519         * configure.in
1520                 - Add --with-dhcp-client option
1521
1522         * src/dhcp-manager/Makefile.am
1523                 - pass DHCP_CLIENT_PATH on compile line
1524
1525         * src/dhcp-manager/nm-dhcp-manager.c
1526           src/dhcp-manager/nm-dhcp-manager.h
1527                 - Genericize for both dhcpcd and dhclient
1528
1529         * src/dhcp-manager/nm-dhcp-dhclient.c
1530                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1531
1532         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1533                 - Implement support for dhcpcd too
1534
1535 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1536
1537         * system-settings/src/nm-system-config-interface.c 
1538         (nm_system_config_interface_supports_add): Implement.
1539         (nm_system_config_interface_add_connection): Return a boolean to notify
1540         of errors.
1541
1542         * system-settings/src/nm-polkit-helpers.c: 
1543         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1544         a separate file.
1545
1546         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1547         Return an error when none of the plugins support add or if addition
1548         failed for some reason.
1549
1550         * system-settings/src/nm-system-config-error.h: 
1551         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1552         here from nm-polkit-helpers.[ch].
1553
1554         * system-settings/src/Makefile.am: Build new files.
1555
1556         * system-settings/plugins/keyfile/reader.c 
1557         (read_array_of_array_of_uint): Make it more general so that it would
1558         work for routes as well.
1559
1560         * system-settings/plugins/keyfile/writer.c
1561         (write_array_of_array_of_uint): Ditto.
1562         Fix the netmask/prefix writing.
1563
1564         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1565         boolean to notify errors.
1566
1567         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1568         Return more specific error.
1569         (delete): Ditto.
1570
1571 2008-07-11  Dan Williams  <dcbw@redhat.com>
1572
1573         Modify the NMDevice::state-changed signal to include the previous state
1574         and reason. Enables the applet to provide more information why device
1575         activation failed.
1576
1577 2008-07-09  Dan Williams  <dcbw@redhat.com>
1578
1579         * callouts/Makefile.am
1580           callouts/nm-avahi-autoipd-action.c
1581           callouts/nm-avahi-autoipd.conf
1582                 - avahi-autoipd callout to send options back to NM
1583
1584         * src/autoip.c
1585           src/autoip.h
1586                 - remove
1587
1588         * src/nm-device.c
1589           src/nm-device-private.h
1590           src/nm-manager.c
1591                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1592                         old custom stuff
1593
1594 2008-07-07  Dan Williams  <dcbw@redhat.com>
1595
1596         * system-settings/plugins/ifcfg-fedora/reader.c
1597                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1598                         handle PREFIX too; clean up
1599
1600 2008-07-07  Dan Williams  <dcbw@redhat.com>
1601
1602         Convert to using IPv4 prefixes instead of netmasks.
1603
1604 2008-07-03  Dan Williams  <dcbw@redhat.com>
1605
1606         * libnm-util/nm-setting-ip4-config.c
1607           libnm-util/nm-setting-ip4-config.h
1608                 - Add properties for DHCP Client Identifier and DHCP Hostname
1609
1610         * src/dhcp-manager/nm-dhcp-manager.c
1611           src/dhcp-manager/nm-dhcp-manager.h
1612                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1613                         setting as an argument to pass on to the dhclient config file
1614                         creation function
1615                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1616                         DHCP is torn down
1617                 - (dhclient_run): punt config file handling to create_dhclient_config()
1618                 - (create_dhclient_config): create an interface-specific dhclient
1619                         config file since there may need to be interface-specific options
1620                         passed to dhclient
1621                 - (merge_dhclient_config): merge normal distro dhclient config file and
1622                         add options from the connection
1623                 - (nm_dhcp_device_new): generate the interface specific dhclient
1624                         config file path once
1625                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1626                         dhclient config file path
1627
1628         * src/nm-device.c
1629                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1630                         DHCP manager when starting DHCP
1631
1632 2008-07-02  Dan Williams  <dcbw@redhat.com>
1633
1634         * libnm-util/nm-setting-8021x.c
1635                 - (verify): allow forcing the PEAP label to 0
1636
1637 2008-07-02  Dan Williams  <dcbw@redhat.com>
1638
1639         * introspection/nm-active-connection.xml
1640           introspection/nm-vpn-connection.xml
1641           libnm-glib/nm-active-connection.c
1642           src/nm-activation-request.c
1643           src/nm-active-connection.h
1644           src/vpn-manager/nm-vpn-connection.c
1645                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1646                         and libnm-glib API since sharing didn't get implemented that way
1647
1648 2008-07-02  Dan Williams  <dcbw@redhat.com>
1649
1650         * src/nm-device-wifi.c
1651                 - (can_scan): don't scan when a shared connection is activated since
1652                         that makes drivers mad (causing disconnects); also NM doesn't need
1653                         to hedge against disconnects by keeping up-to-date network topology
1654                         because the connection originates from the local machine, and thus
1655                         there should be no disconnects
1656
1657 2008-07-01  Dan Williams  <dcbw@redhat.com>
1658
1659         Fix mobile broadband username/password issues.  NM was never requesting
1660         mobile broadband secrets, nor was it passing back the username and password
1661         if it had them.
1662
1663         * marshallers/nm-marshal.list
1664                 - Add some new types for activation request objects
1665
1666         * src/nm-activation-request.c
1667           src/nm-activation-request.h
1668                 - (get_secrets_cb): pass the caller type in the signal
1669                 - (nm_act_request_request_connection_secrets): take a caller type, so
1670                         that GetSecrets() reply handlers know who asked for the secrets in
1671                         the first place; use secret hints too so the settings service can
1672                         figure out exactly what NM wants (ie, PIN or the PPP password)
1673
1674         * src/ppp-manager/nm-ppp-manager.c
1675           src/ppp-manager/nm-ppp-manager.h
1676                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1677                         detect needed secrets when the secret could be blank, like GSM/CDMA
1678                         passwords.  So always ask for secrets, and send a hint as to what
1679                         secret we really want.
1680                 - (nm_ppp_manager_update_secrets): make function more generic by making
1681                         the device specific class figure out the username and password, and
1682                         accept an error argument to return back over D-Bus
1683
1684         * src/nm-device-wifi.c
1685                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1686                         nm_act_request_request_connection_secrets()
1687                 - (real_connection_secrets_updated): update for 'caller' changes
1688
1689         * src/nm-device.c
1690           src/nm-device.h
1691                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1692                         for 'caller' changes
1693
1694         * src/nm-device-ethernet.c
1695                 - (real_connection_secrets_updated): update for 'caller' changes and
1696                         move logic for getting PPPoE username and password here before
1697                         calling nm_ppp_manager_update_secrets()
1698                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1699                         nm_act_request_request_connection_secrets()
1700
1701         * src/nm-cdma-device.c
1702                 - (real_connection_secrets_updated): pass username and password back
1703                         to the PPP manager when required
1704
1705         * src/nm-gsm-device.c
1706                 - (enter_pin): send the required secret name to the settings service
1707                 - (real_connection_secrets_updated): pass username and password back
1708                         to the PPP manager when required
1709
1710 2008-06-30  Dan Williams  <dcbw@redhat.com>
1711
1712         * src/nm-device-wifi.c
1713                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1714
1715 2008-06-30  Dan Williams  <dcbw@redhat.com>
1716
1717         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1718         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1719         priv->supplicant.iface.  When either condition is false, the device should
1720         transition back to UNAVAILABLE because it cannot be used.
1721
1722         * src/nm-device-wifi.c
1723                 - (constructor): cleanup; connect to supplicant manager here since the
1724                         supplicant manager is always around
1725                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1726                         ensure the supplicant manager is in the IDLE state
1727                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1728                         cancel any pending scans too
1729                 - (real_bring_up): don't set up the supplicnat interface here, because
1730                         we need the supplicant interface at times when the device may not
1731                         be "up"
1732                 - (real_take_down): just remove the periodic source
1733                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1734                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1735                         do anything if there's no supplicant interface
1736                 - (cleanup_association_attempt): cleanup
1737                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1738                         the interface enters the READY state; transition to UNAVAILABLE
1739                         state when the interface goes down because the device can't be used
1740                         without a supplicant interface
1741                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1742                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1743                         acquire the supplicant interface and transition to DISCONNECTED
1744                         if the radio isn't killed
1745                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1746                 - (state_changed_cb): release any existing supplicant interface; if the
1747                         radio is enabled then try to acquire a new supplicant interface;
1748                         if the radio is enabled and a supplicant interface has been acquired,
1749                         we can transition to DISCONNECTED
1750                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1751                         don't enable the radio, because HAL probably lied to us about the
1752                         killswitch being off.  If bringing the hardware up worked, then
1753                         try to grab a supplicant interface, and if that was successful,
1754                         transition to DISCONNECTED
1755
1756 2008-06-30  Dan Williams  <dcbw@redhat.com>
1757
1758         * src/supplicant-manager/nm-supplicant-interface.c
1759                 - (request_scan_results, nm_supplicant_interface_dispose,
1760                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1761                         the id of the timeout, not a GSource
1762
1763 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1764
1765         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1766         bunch of typoes introduced by "Patch from David Cantrell 
1767         <dcantrell@redhat.com> and me".
1768
1769 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1770
1771         * src/nm-serial-device.c: 
1772         * src/nm-gsm-device.c: 
1773         * src/nm-cdma-device.c: Move the pending call handling to a common location
1774         in serial device. Handle setting device state to failed in one place as well.
1775
1776 2008-06-29  Dan Williams <dcbw@redhat.com>
1777
1778         * src/nm-hal-manager.c
1779                 - Rework killswitch handling to query killswitch status immediately
1780                         when the first killswitch is added, so that rfkill state is
1781                         known as early as possible
1782                 - Also treat failure of GetPower() as rfkill when the dbus method
1783                         call times out (but not when the HAL callout returns an error)
1784
1785 2008-06-26  Dan Williams <dcbw@redhat.com>
1786
1787         Patch from David Cantrell <dcantrell@redhat.com> and me
1788
1789         * include/nm-dbus-glib-types.h
1790                 - Add IP6 address types
1791
1792         * libnm-util/Makefile.am
1793           libnm-util/nm-setting-ip6-config.c
1794           libnm-util/nm-setting-ip6-config.h
1795                 - Add IP6 settings object
1796
1797         * libnm-util/nm-connection.c
1798                 - (register_default_settings): register ip6 settings object
1799
1800         * libnm-util/nm-utils.c
1801           libnm-util/nm-utils.h
1802                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1803                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1804                         ip6 address conversion functions
1805         
1806 2008-06-26  Dan Williams <dcbw@redhat.com>
1807
1808         Patch from David Cantrell <dcantrell@redhat.com>
1809         
1810         * Use inet_ntop() and inet_pton() everwhere and check for errors
1811
1812 2008-06-26  Dan Williams <dcbw@redhat.com>
1813
1814         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1815
1816 2008-06-26  Dan Williams <dcbw@redhat.com>
1817
1818         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1819
1820         * src/nm-device-wifi.c
1821                 - (link_timeout_cb): don't ignore disconnects due to scanning
1822                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1823                         a longer timeout when scanning; avoids case where supplicant can't
1824                         find the AP and just keeps scanning forever but isn't connected
1825
1826 2008-06-26  Dan Williams <dcbw@redhat.com>
1827
1828         Patch from Michael Biebl <biebl@debian.org>
1829
1830         * Clean up build system stuff
1831
1832 2008-06-23  Christian Persch  <chpe@gnome.org>
1833
1834         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1835         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1836         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1837         (impl_get_object):
1838         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1839         (impl_get_object):
1840         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1841         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1842         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1843         (impl_get_object):
1844         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1845         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1846         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1847         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1848         * vpn-daemons/pptp/properties/vpnui_opt.c:
1849         (vpnui_opt_connect_signals):
1850         * vpn-daemons/pptp/properties/vpnui_opt.h:
1851         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1852         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1853         deprecated gtk type macros. Bug #539325.
1854
1855 2008-06-20  Dan Williams  <dcbw@redhat.com>
1856
1857         * libnm-glib/nm-vpn-plugin-ui-interface.c
1858           libnm-glib/nm-vpn-plugin-ui-interface.h
1859                 - 'validity-changed' -> 'changed' to work better with the connection
1860                         editor.  Plugin UI widgets should emit 'changed' whenever their
1861                         UI values change in a meaningful way.
1862                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1863                         update_connection member now returns validity of the UI widget
1864
1865 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1866
1867         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1868
1869 2008-06-17  Dan Williams  <dcbw@redhat.com>
1870
1871         * libnm-glib/nm-vpn-plugin-ui-interface.c
1872           libnm-glib/nm-vpn-plugin-ui-interface.h
1873                 - Add "desc" property for longer descriptions of the VPN plugin
1874
1875 2008-06-16  Dan Williams  <dcbw@redhat.com>
1876
1877         * configure.in
1878           libnm-glib/libnm_glib_vpn.pc.in
1879                 - add a .pc file for libnm_glib_vpn
1880
1881         * libnm-glib/nm-vpn-plugin-ui-interface.c
1882           libnm-glib/nm-vpn-plugin-ui-interface.h
1883                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1884                         rework it substantially
1885
1886 2008-06-12  Dan Williams  <dcbw@redhat.com>
1887
1888         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1889         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
1890         returns a descriptive GError when verification fails.
1891
1892 2008-06-11  Dan Williams  <dcbw@redhat.com>
1893
1894         Patch from Tambet Ingo <tambet@gmail.com>
1895
1896         * libnm-util/nm-setting-gsm.c
1897                 - (verify): validate APN
1898
1899         * src/nm-gsm-device.c
1900                 - (manual_registration_done): start setting APN if needed
1901                 - (set_apn, set_apn_done): set the APN
1902                 - (do_dial): use the APN when dialing
1903
1904 2008-06-11  Dan Williams  <dcbw@redhat.com>
1905
1906         * src/NetworkManagerSystem.c
1907                 - (nm_system_device_set_ip4_route,
1908                    nm_system_device_replace_default_ip4_route): check for the right
1909                         return value from rtnl_route_add() to know when to add a gateway
1910                         route (from Tambet)
1911
1912 2008-06-11  Dan Williams  <dcbw@redhat.com>
1913
1914         * src/NetworkManagerPolicy.c
1915                 - do_ipt_cmd -> do_cmd
1916                 - (sharing_init): use do_cmd() instead of system()
1917
1918 2008-06-10  Dan Williams  <dcbw@redhat.com>
1919
1920         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
1921         and use "wifi" everwhere instead.
1922
1923 2008-06-10  Dan Williams  <dcbw@redhat.com>
1924
1925         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
1926
1927 2008-06-10  Dan Williams  <dcbw@redhat.com>
1928
1929         Patch from Tambet Ingo <tambet@gmail.com>
1930
1931         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1932                 changes.
1933
1934         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1935                 a signal to emit these changes over dbus.
1936
1937         * src/Makefile.am: Genereate nm-serial-device-glue.
1938
1939         * libnm-glib/nm-serial-device.[ch]: Implement.
1940
1941         * libnm-glib/nm-cdma-device.[ch]
1942           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
1943
1944         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
1945
1946         * introspection/nm-device-serial.xml: Implement.
1947
1948         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
1949
1950         * introspection/Makefile.am: Add nm-device-serial.xml.
1951
1952         * include/NetworkManager.h: Add a DBus interface for serial device.
1953
1954 2008-06-10  Dan Williams  <dcbw@redhat.com>
1955
1956         * configure.in
1957                 - Add TARGET_* define to config.h to distinguish distros
1958
1959         * src/dhcp-manager/nm-dhcp-manager.c
1960                 - (dhclient_run): use distro-specific path for dhclient config file
1961
1962 2008-06-09  Dan Williams  <dcbw@redhat.com>
1963
1964         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1965           src/dnsmasq-manager/nm-dnsmasq-manager.h
1966                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
1967                         calculate the addresses passed to dnsmasq instead of hard-coding
1968                         them
1969
1970         * src/nm-device.c
1971                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
1972                         IP addresses for shared connections to guard against shared
1973                         connection address collisions
1974                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
1975                         error conditions
1976                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
1977                         the dnsmasq manager
1978
1979 2008-06-09  Dan Williams  <dcbw@redhat.com>
1980
1981         * src/NetworkManagerPolicy.c
1982                 - (update_routing_and_dns): set the default connection _after_ unsetting
1983                         default on all non-default connections so that two connections can
1984                         never be default at the same time
1985                 - (device_state_changed): start and stop connection sharing when
1986                         needed
1987                 - (active_connection_default_changed): restart or stop sharing when
1988                         the default connection changes to keep shared connections always
1989                         NAT-ed through the default connection
1990                 - (check_sharing): handle activation/deactivation of shared connections
1991                 - (sharing_restart): atom-bomb approach to connection sharing until we
1992                         can use libnl; reinit all sharing when the default connection or
1993                         shared connections change
1994                 - (sharing_init, sharing_stop): evil functions that init and deinit
1995                         iptables
1996
1997 2008-06-09  Dan Williams  <dcbw@redhat.com>
1998
1999         * src/nm-activation-request.c
2000           src/nm-activation-request.h
2001                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2002                    nm_act_request_get_device): new functions to facilitate connection
2003                         sharing
2004
2005 2008-06-09  Dan Williams  <dcbw@redhat.com>
2006
2007         * src/nm-device.c
2008                 - (clear_act_request): unset the 'default' property of the activation
2009                         request when clearing it to ensure the property changed signal gets
2010                         delivered and handled
2011
2012 2008-06-09  Dan Williams  <dcbw@redhat.com>
2013
2014         * libnm-glib/nm-device-802-11-wireless.c
2015                 - (access_point_removed_proxy): actually unref the AP after removing
2016                         it from the device's AP list.  Fixes refcounting bug for APs that
2017                         caused them to get mixed up in the applet's menu.
2018
2019 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2020
2021         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2022         (nm_dhcp_device_destroy): Destroy the device options hash table.
2023
2024 2008-06-06  Dan Williams <dcbw@redhat.com>
2025
2026         * system-settings/src/nm-polkit-helpers.c
2027                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2028                         unref the context if the initialization fails; also avoid spew when
2029                         the error isn't set
2030
2031 2008-06-06  Dan Williams <dcbw@redhat.com>
2032
2033         Patch from Tambet Ingo  <tambet@gmail.com>
2034
2035         * src/NetworkManagerSystem.c
2036           src/NetworkManagerSystem.h
2037                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2038                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2039                 - (nm_system_device_set_ip4_route): clean up
2040                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2041
2042         * src/nm-device.c
2043                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2044
2045         * src/vpn-manager/nm-vpn-connection.c
2046                 - (ip_address_to_string): new function
2047                 - (print_vpn_config): use ip_address_to_string
2048                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2049                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2050
2051         * include/NetworkManagerVPN.h
2052                 - Add 'routes' key
2053
2054 2008-06-05  Dan Williams <dcbw@redhat.com>
2055
2056         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2057
2058         * test/nm-tool.c
2059                 - Show which device is the default device
2060
2061 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2062
2063         Fix memory leaks.
2064
2065         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2066         Free data returned from dbus method call.
2067
2068         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2069         dbus_g_method_get_sender() returns a duplicated string, free it 
2070         when done.
2071         (check_polkit_privileges): Looks like policykit sometimes returns
2072         error and non-null return value, don't leak errors in that case.
2073
2074         * system-settings/src/main.c (find_plugin): Don't leak existing 
2075         plugin names.
2076         (load_stuff): Don't leak device list and list items.
2077         (have_connection_for_device): Don't leak connection list.
2078
2079         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2080         Free the data received from g_keyfile_get_*.
2081
2082         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2083         the key when the security object is updated.
2084
2085         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2086         Free data returned from dbus method call.
2087         (iface_state_cb): Ditto.
2088         (add_network_cb): Ditto.
2089         (nm_supplicant_interface_add_cb): Don't make another copy of already
2090         duplicated object path.
2091         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2092         when done.
2093
2094         * src/supplicant-manager/nm-supplicant-config.c 
2095         (ADD_STRING_LIST_VAL): Fix a memory leak.
2096
2097         * src/nm-manager.c (free_get_settings_info): Free the allocated
2098         memory slice.
2099         (list_connections_cb): Free data returned from dbus method call.
2100         (system_settings_get_unmanaged_devices_cb): Ditto.
2101
2102         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2103
2104         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2105         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2106         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2107         of the GList.
2108
2109         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2110         arguments after the object is created.
2111
2112 2008-06-04  Dan Williams <dcbw@redhat.com>
2113
2114         * libnm-util/Makefile.am
2115                 - Don't distribute nm-param-spec-specialized.h
2116
2117 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2118
2119         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2120
2121         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2122         NMIP4Address, update the getters and setters.
2123
2124         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2125         Use the updated NMIP4Config routes api.
2126
2127         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2128         static routes as well.
2129
2130         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2131         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2132         routes api.
2133
2134 2008-05-30  Dan Williams <dcbw@redhat.com>
2135
2136         * src/named-manager/nm-named-manager.c
2137           src/named-manager/nm-named-manager.h
2138                 - Remove stale/obsolete bits for controlling bind over DBus
2139
2140 2008-05-29  Dan Williams <dcbw@redhat.com>
2141
2142         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2143           src/dnsmasq-manager/nm-dnsmasq-manager.h
2144                 - (nm_dnsmasq_manager_new): move iface argument here
2145                 - (constructor): remove, not needed
2146                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2147                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2148
2149         * src/nm-device.c
2150                 - (real_act_stage4_get_ip4_config,
2151                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2152                         changes
2153
2154 2008-05-29  Dan Williams <dcbw@redhat.com>
2155
2156         * src/nm-device.c
2157                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2158                         something happens to dnsmasq
2159                 - (nm_device_new_ip4_shared_config): new function; create a new
2160                         ip4-config for shared connections.  Shared connections always use a
2161                         fixed static IP address.
2162                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2163                         autoip connections by actually using the returned ip4-config and
2164                         not leaking it
2165                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2166                         connections
2167                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2168                         if its active
2169
2170 2008-05-29  Dan Williams <dcbw@redhat.com>
2171
2172         * src/nm-device-802-11-wireless.c
2173                 - (real_get_best_auto_connection): auto-activate 'shared' method
2174                         connections too
2175
2176 2008-05-29  Dan Williams <dcbw@redhat.com>
2177
2178         * libnm-util/nm-setting-ip4-config.c
2179           libnm-util/nm-setting-ip4-config.h
2180                 - Add a 'shared' method to indicate that this connection should be
2181                         brought up with a DHCP and proxy DNS server to facilitate
2182                         connection sharing.
2183                 - (verify): 'shared' method doesn't allow DNS or searches either
2184
2185 2008-05-29  Dan Williams <dcbw@redhat.com>
2186
2187         * configure.in
2188           src/Makefile.am
2189           src/dnsmasq-manager/Makefile.am
2190           src/dnsmasq-manager/nm-dnsmasq-manager.c
2191           src/dnsmasq-manager/nm-dnsmasq-manager.h
2192                 - Add a dnsmasq daemon manager to facilitate connection sharing
2193
2194 2008-05-29  Dan Williams <dcbw@redhat.com>
2195
2196         * src/nm-device-private.h
2197                 - Remove unused prototypes and clean up
2198
2199         * src/nm-device.c
2200                 - Remove anything related to system_config_data, which is no longer used
2201                 - (nm_device_new_ip4_autoip_config): make static
2202
2203 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2204
2205         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2206         (file_changed): Fix a bug where suse system settings plugin didn't
2207         update the connections automatically when the files changed.
2208
2209 2008-05-28  Dan Williams  <dcbw@redhat.com>
2210
2211         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2212
2213 2008-05-28  Dan Williams  <dcbw@redhat.com>
2214
2215         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2216
2217         * src/NetworkManagerSystem.c
2218                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2219                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2220                         was causing -EINVAL errors since the libnl code actually does flush
2221                         the routes on VPN interfaces now
2222
2223         * src/backends/NetworkManagerArch.c
2224           src/backends/NetworkManagerDebian.c
2225           src/backends/NetworkManagerFrugalware.c
2226           src/backends/NetworkManagerGeneric.c
2227           src/backends/NetworkManagerGentoo.c
2228           src/backends/NetworkManagerMandriva.c
2229           src/backends/NetworkManagerPaldo.c
2230           src/backends/NetworkManagerRedHat.c
2231           src/backends/NetworkManagerSlackware.c
2232           src/backends/NetworkManagerSuSE.c
2233                 - (nm_system_device_flush_ip4_routes,
2234                    nm_system_device_flush_ip4_routes_with_iface): remove
2235
2236 2008-05-28  Dan Williams  <dcbw@redhat.com>
2237
2238         * libnm-util/nm-setting-wireless.c
2239           libnm-util/nm-setting-wireless.h
2240                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2241                         'adhoc-create' property, which when TRUE indicates that NM should
2242                         create this connection as an adhoc wifi network if it's not found
2243                         as an adhoc network during scanning.  Can be used to auto-create
2244                         adhoc networks when used in combination with autoconnect.
2245
2246 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2247
2248         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2249
2250         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2251         checked, it doesn't work on some devices.
2252
2253 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2254
2255         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2256         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2257
2258         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2259         Use inet_aton() everywhere to improve error detection.
2260         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2261         provided.
2262
2263 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2264
2265         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2266         Fix a typo.
2267
2268 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2269
2270         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2271         reference counting issue.
2272
2273 2008-05-23  Dan Williams  <dcbw@redhat.com>
2274
2275         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2276
2277         * src/backends/NetworkManagerGeneric.c
2278                 - (nm_generic_enable_loopback): use libnl
2279
2280 2008-05-23  Dan Williams  <dcbw@redhat.com>
2281
2282         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2283
2284         * src/NetworkManagerSystem.h
2285           src/backends/NetworkManagerArch.c
2286           src/backends/NetworkManagerDebian.c
2287           src/backends/NetworkManagerFrugalware.c
2288           src/backends/NetworkManagerGentoo.c
2289           src/backends/NetworkManagerMandriva.c
2290           src/backends/NetworkManagerPaldo.c
2291           src/backends/NetworkManagerRedHat.c
2292           src/backends/NetworkManagerSlackware.c
2293           src/backends/NetworkManagerSuSE.c
2294                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2295                    nm_system_flush_arp_cache): remove, unused
2296
2297         * src/backends/NetworkManagerGeneric.c
2298           src/backends/NetworkManagerGeneric.h
2299                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2300                    nm_generic_flush_arp_cache): remove, unused
2301
2302 2008-05-23  Dan Williams  <dcbw@redhat.com>
2303
2304         * system-settings/plugins/ifcfg-fedora/reader.c
2305                 - (make_ip4_setting): honor PEERDNS setting
2306
2307 2008-05-23  Dan Williams  <dcbw@redhat.com>
2308
2309         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2310
2311         * src/NetworkManagerSystem.c
2312                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2313                         libnl
2314
2315         * src/backends/NetworkManagerArch.c
2316           src/backends/NetworkManagerDebian.c
2317           src/backends/NetworkManagerFrugalware.c
2318           src/backends/NetworkManagerGentoo.c
2319           src/backends/NetworkManagerMandriva.c
2320           src/backends/NetworkManagerPaldo.c
2321           src/backends/NetworkManagerRedHat.c
2322           src/backends/NetworkManagerSlackware.c
2323           src/backends/NetworkManagerSuSE.c
2324                 - (nm_system_device_flush_ip4_addresses,
2325                    nm_system_device_flush_ip4_addresses_with_iface): remove
2326
2327         * src/backends/NetworkManagerGeneric.c
2328                 - (nm_generic_device_flush_ip4_addresses,
2329                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2330
2331 2008-05-23  Dan Williams  <dcbw@redhat.com>
2332
2333         * src/supplicant-manager/nm-supplicant-settings-verify.c
2334                 - Switch 'bssid' from bytes to keyword type
2335                 - (validate_type_keyword): allow NULL keyword lists
2336
2337         * src/supplicant-manager/nm-supplicant-config.c
2338                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2339                         a byte array to string form, which is what the supplicant expects
2340
2341 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2342
2343         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2344         information received from DHCP.
2345
2346         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2347         to make it possible to ignore the DNS information (both servers and 
2348         searches) returned by DHCP server.
2349
2350         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2351         name servers and searches if "ignore_dhcp_dns" is set.
2352
2353         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2354         (nm_ip4_config_reset_searches): Implement.
2355
2356 2008-05-22  Dan Williams  <dcbw@redhat.com>
2357
2358         Remove anything mDNS related.  This is better done from a distro-specific
2359         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2360         avahi, since avahi can handle interface changes just fine using netlink.
2361
2362         * configure.in
2363                 - Remove --with-mdns-provider
2364
2365         * src/NetworkManagerPolicy.c
2366                 - (global_state_changed): don't restart the mdns provider
2367
2368         * src/NetworkManagerSystem.h
2369           src/backends/NetworkManagerArch.c
2370           src/backends/NetworkManagerDebian.c
2371           src/backends/NetworkManagerFrugalware.c
2372           src/backends/NetworkManagerGentoo.c
2373           src/backends/NetworkManagerMandriva.c
2374           src/backends/NetworkManagerPaldo.c
2375           src/backends/NetworkManagerRedHat.c
2376           src/backends/NetworkManagerSlackware.c
2377           src/backends/NetworkManagerSuSE.c
2378                 - (nm_system_restart_mdns_responder): remove
2379
2380         * src/backends/NetworkManagerGeneric.c
2381           src/backends/NetworkManagerGeneric.h
2382                 - (nm_generic_restart_mdns_responder): remove
2383
2384 2008-05-22  Dan Williams  <dcbw@redhat.com>
2385
2386         * configure.in
2387                 - clean up crypto options; just use --with-crypto=nss or
2388                         --with-crypto=gnutls
2389
2390 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2391
2392         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2393         anymore, do it right away.
2394
2395 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2396
2397         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2398         serial device open when we're not connecting or connected.
2399
2400         * src/nm-cdma-device.c (device_state_changed): Ditto.
2401
2402 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2403
2404         Don't remove all devices on waking up, sync with HAL.
2405
2406         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2407         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2408         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2409
2410 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2411
2412         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2413         If the default gateway is unreachable, add a route to gateway and try
2414         again.
2415
2416 2008-05-20  Dan Williams  <dcbw@redhat.com>
2417
2418         * system-settings/plugins/ifcfg-fedora/reader.c
2419                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2420
2421 2008-05-19  Dan Williams  <dcbw@redhat.com>
2422
2423         * system-settings/plugins/ifcfg-fedora/reader.c
2424                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2425                         if the ifcfg doesn't specify one (rh #446527)
2426
2427 2008-05-19  Dan Williams  <dcbw@redhat.com>
2428
2429         Make the system settings service exit when the bus goes away.  Since it's
2430         a bus-activated service, it's lifetime is limited to the bus that activated
2431         it (rh #444976).
2432
2433         * system-settings/src/Makefile.am
2434           system-settings/src/nm-system-config-hal-manager-private.h
2435                 - Remove nm-system-config-hal-manager-private.h
2436
2437         * system-settings/src/nm-system-config-hal-manager.c
2438                 - (nm_system_config_hal_manager_reinit_dbus,
2439                    nm_system_config_hal_manager_deinit_dbus): remove
2440
2441         * system-settings/src/main.c
2442                 - (dbus_reconnect): remove
2443                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2444                 - (destroy_cb): just quit when the bus goes away
2445                 - (start_dbus_service, dbus_init): simplify
2446                 - (main): destroy the wired devices hash table after destroying
2447                         the HAL manager so we don't have to disconnect signals from the
2448                         HAL manager
2449
2450 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2451
2452         Move crypto functions from nm-applet to libnm-util.
2453
2454         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2455         (nm_setting_802_1x_set_client_cert)
2456         (nm_setting_802_1x_set_phase2_ca_cert)
2457         (nm_setting_802_1x_set_phase2_client_cert)
2458         (nm_setting_802_1x_set_private_key)
2459         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2460         file (or private key and it's password), read the certificate data.
2461
2462         * libnm-util/crypto_nss.c: 
2463         * libnm-util/crypto_gnutls.c: 
2464         * libnm-util/crypto.[ch]: Move here from nm-applet.
2465
2466         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2467
2468         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2469         Imlement WPA-EAP configuration reading from sysconfig.
2470
2471 2008-05-16  Dan Williams  <dcbw@redhat.com>
2472
2473         * src/nm-device-802-11-wireless.c
2474                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2475                         wireless
2476
2477 2008-05-14  Dan Williams  <dcbw@redhat.com>
2478
2479         Fix Linus' bug in rh #134886
2480
2481         * src/nm-device-802-3-ethernet.c
2482                 - (constructor): request initial carrier state
2483
2484         * src/nm-netlink-monitor.c
2485                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2486                         signals after refilling the link cache.  Because the refill is a 
2487                         synchronous operation, the normal message hander won't get called
2488                         since libnl has already consumed the messages.
2489                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2490
2491 2008-05-14  Dan Williams  <dcbw@redhat.com>
2492
2493         * src/NetworkManagerSystem.c
2494                 - (nm_system_device_is_up_with_iface): clean up
2495
2496 2008-05-13  Dan Williams  <dcbw@redhat.com>
2497
2498         Fix refcounting issues over sleep/wake when a VPN connection was active that
2499         caused NM to try registering an object path for a device upon wake that was
2500         the same as an already registered object path.
2501
2502         * src/nm-device.c
2503                 - (nm_device_take_down): properly handle cases where the device is
2504                         no longer active but was just active, and therefore must be
2505                         deactivated.  When a device moves to unmanaged mode, this function
2506                         previously would not deactivate the device, because the state was
2507                         already unmanaged by the time this function was called.
2508
2509         * src/vpn-manager/nm-vpn-connection.c
2510                 - (device_state_changed): properly handle multiple devices states in
2511                         which the device is now deactivated.  Code previously didn't handle
2512                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2513                         UNMANAGED states.
2514
2515 2008-05-13  Dan Williams  <dcbw@redhat.com>
2516
2517         * src/nm-device-private.h
2518           src/nm-device.c
2519                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2520
2521         * src/nm-device-802-11-wireless.c
2522                 - (nm_device_802_11_wireless_set_enabled): take devices up
2523                         and down as appropriate for the rfkill state
2524
2525 2008-05-13  Dan Williams  <dcbw@redhat.com>
2526
2527         * marshallers/nm-marshal.list
2528                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2529
2530         * system-settings/plugins/ifcfg-fedora/Makefile.am
2531           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2532           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2533                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2534                         events.  Solely for use watching ifcfg files to pick up changes
2535                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2536
2537         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2538                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2539                         file contents change
2540                 - (finalize): clean up inotify watches
2541                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2542                         and the connection ifcfg for changes on their hardlinks
2543                 - (files_changed_cb): proxy the changed signal back out to listeners
2544
2545         * system-settings/plugins/ifcfg-fedora/plugin.c
2546                 - (dir_changed): 
2547                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2548                         changes
2549                 - (read_one_connection): connect to change signals on the new connection
2550                 - (dir_changed, connection_changed_handler,
2551                    handle_connection_remove_or_new): break out connection change
2552                         handling and connection new/remove handling so it can be used from
2553                         both the GFileMonitor callback and the NMIfcfgConnection changed
2554                         signals
2555
2556         * system-settings/plugins/ifcfg-fedora/reader.c
2557           system-settings/plugins/ifcfg-fedora/reader.h
2558                 - (connection_from_file): return the keyfile path the connection would use
2559
2560 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2561
2562         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2563         single PolKitContext which is shared by all. PolKitContext::unref leaks
2564         just about everything, including all open file descriptiors and results
2565         in 99% cpu usage when data arrives to any of the fds that don't belong
2566         to any context anymore.
2567
2568 2008-05-12  Dan Williams  <dcbw@redhat.com>
2569
2570         * gfilemonitor/glocaldirectorymonitor.c
2571           gfilemonitor/glocaldirectorymonitor.h
2572                 - (g_local_directory_monitor_constructor): actually subscribe to the
2573                         watch
2574                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2575
2576         * gfilemonitor/glocalfilemonitor.c
2577           gfilemonitor/glocalfilemonitor.h
2578                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2579                 - (_g_local_file_monitor_new): ensure that inotify is started up
2580
2581 2008-05-11  Dan Williams  <dcbw@redhat.com>
2582
2583         * configure.in
2584                 - record PolicyKit version
2585
2586         * system-settings/src/nm-polkit-helpers.c
2587                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2588                         with PolicyKit <= 0.6
2589
2590 2008-05-11  Dan Williams  <dcbw@redhat.com>
2591
2592         Update Fedora system-settings plugin to support latest API and use
2593         GFileMonitor rather than home-rolled inotify code.
2594
2595         * system-settings/plugins/ifcfg-fedora/Makefile.am
2596           system-settings/plugins/ifcfg-fedora/common.h
2597           system-settings/plugins/ifcfg-fedora/plugin.c
2598                 - Update to latest system settings plugin API; use GIO instead of
2599                         custom inotify code; use NMIfcfgConnection objects instead of
2600                         ConnectionData structures tacked onto NMConnection objects
2601
2602         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2603           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2604                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2605                         connections
2606
2607         * system-settings/plugins/ifcfg-fedora/reader.c
2608           system-settings/plugins/ifcfg-fedora/reader.h
2609                 - Move ifcfg parsing bits here from parser.c
2610
2611         * system-settings/plugins/ifcfg-fedora/parser.c
2612           system-settings/plugins/ifcfg-fedora/parser.h
2613                 - Remove; most code moved to reader.c
2614
2615 2008-05-11  Dan Williams  <dcbw@redhat.com>
2616
2617         * configure.in
2618           Makefile.am
2619           gfilemonitor/*
2620                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2621                         implementation, so that the same change monitoring code can be used
2622                         on systems without glib-2.14 (like Fedora 8)
2623
2624         * system-settings/plugins/keyfile/Makefile.am
2625           system-settings/plugins/keyfile/plugin.c
2626           system-settings/plugins/ifcfg-suse/Makefile.am
2627           system-settings/plugins/ifcfg-suse/plugin.c
2628                 - Use private gfilemonitor code if GIO is not present
2629
2630 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2631
2632         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2633         NMExportedConnection's 'update' and 'delete' and return error with
2634         descriptive message.
2635
2636 2008-05-08  Dan Williams  <dcbw@redhat.com>
2637
2638         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2639
2640         * src/nm-gsm-device.c
2641           src/nm-cdma-device.c
2642                 - (real_get_best_auto_connection): implement; allow autoconnection
2643                         to GSM & CDMA devices
2644
2645 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2646
2647         Use PolicyKit to authorize the system settings' AddConnection method
2648         and the system settings connections' Update and Delete methods.
2649         
2650         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2651         (impl_exported_connection_delete, nm_exported_connection_update)
2652         (nm_exported_connection_delete): Return boolean and fill GError
2653         to notify the callers of the reasons why it might have failed.
2654
2655         * libnm-glib/nm-dbus-settings-system.c
2656         (nm_dbus_settings_system_add_connection): Return the error from dbus
2657         call so that the callers can see why it failed.
2658
2659         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2660         signatures.
2661
2662         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2663
2664         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2665         abstract base class that checks PolicyKit permissions.
2666
2667         * system-settings/src/dbus-settings.c:
2668         (impl_settings_add_connection): Check the policy before carring out
2669         the request.
2670
2671         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2672         Inherit from NMSysconfigConnection, check the policies before
2673         allowing updating or removing.
2674
2675         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2676         Inherit from NMSysconfigConnection.
2677
2678         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2679         "Delete" methods with async flag so that the implementations can get
2680         access to DBusGMethodInvocation.
2681
2682         * system-settings/src/dbus-settings.c 
2683         (settings_add_connection_check_privileges): Implement.
2684         (impl_settings_add_connection): Check the privileges before adding a new
2685         connection. Improve error reporting.
2686
2687         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2688         async so that the implementation can access DBusGMethodInvocation.
2689
2690         * configure.in: Check for PolicyKit.
2691
2692         * policy/org.freedesktop.network-manager-settings.system.policy: 
2693         New file.
2694
2695         * policy/Makefile.am: Install the policy file.
2696
2697         * configure.in: Add 'policy' subdir.
2698
2699 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2700
2701         Rewrite the suse system settings plugin.
2702
2703         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2704
2705         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2706
2707         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2708
2709         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2710
2711         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2712
2713         * system-settings/src/main.c (load_plugins): Improve error reporting.
2714
2715         * system-settings/src/sha1.[ch] Add.
2716
2717         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2718
2719 2008-05-07  Dan Williams  <dcbw@redhat.com>
2720
2721         * system-settings/plugins/keyfile/reader.c
2722                 - (read_one_setting_value): handle IP address items separately
2723                 - (read_array_of_uint): read IPv4 DNS option as a string array
2724                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2725                         array
2726
2727         * system-settings/plugins/keyfile/writer.c
2728                 - (write_setting_value): handle IP address items separately
2729                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2730                         not an array of uint, so that it's user-editable
2731                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2732                         arrays, so they are user-editable
2733
2734 2008-05-07  Dan Williams  <dcbw@redhat.com>
2735
2736         * system-settings/plugins/keyfile/Makefile.am
2737                 - Change location of the keyfile plugin settings to
2738                         /etc/NetworkManager/system-connections
2739
2740 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2741
2742         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2743
2744         * system-settings/plugins/keyfile/plugin.c: Work with
2745         NMKeyfileConnections.
2746
2747         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2748         Plugins are supposed to return NMExportedConnections now and handle the
2749         updated(), removed(), and GetSecrets().
2750         Store the internal list of connections in hash table to make it easier
2751         to find duplicates.
2752
2753 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2754
2755         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2756         for multiple IP addresses.
2757
2758 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2759
2760         Patch from André Lemos.
2761
2762         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2763         corruption.
2764
2765 2008-05-06  Dan Williams  <dcbw@redhat.com>
2766
2767         * src/dhcp-manager/nm-dhcp-manager.c
2768                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2769                         NMIP4Config to support multiple IP addresses
2770
2771         * src/NetworkManagerUtils.c
2772                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2773
2774         * src/nm-ip4-config.c
2775           src/nm-ip4-config.h
2776                 - Store a list of IPv4 address/netmask/gateway tuples
2777                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2778                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2779                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2780                    nm_ip4_config_set_address): remove
2781                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2782                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2783                         new functions; handle multiple IPv4 addresses
2784
2785         * src/nm-device.c
2786           src/ppp-manager/nm-ppp-manager.c
2787           src/vpn-manager/nm-vpn-connection.c
2788           src/NetworkManagerPolicy.c
2789           test/nm-tool.c
2790           libnm-glib/libnm-glib-test.c
2791                 - update for changes to NMIP4Config for multiple IPv4 addresses
2792
2793         * src/NetworkManagerSystem.c
2794                 - (nm_system_device_set_ip4_route): don't add the route if any address
2795                         is on the same subnet as the destination
2796                 - (check_one_address): ignore the exact match, just match family and
2797                         interface index
2798                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2799                         an interface
2800                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2801                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2802
2803         * introspection/nm-ip4-config.xml
2804                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2805                 - Add 'addresses' property which is an array of (uuu) tuples of
2806                         address/netmask/gateway
2807
2808         * libnm-util/nm-setting-ip4-config.c
2809                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2810
2811         * libnm-glib/nm-ip4-config.c
2812           libnm-glib/nm-ip4-config.h
2813                 - Handle D-Bus interface changes to support multiple IP addresses
2814
2815 2008-05-06  Dan Williams  <dcbw@redhat.com>
2816
2817         * libnm-util/nm-utils.c
2818           libnm-util/nm-utils.h
2819                 - (nm_utils_ip4_addresses_from_gvalue,
2820                    nm_utils_ip4_addresses_to_gvalue): new functions
2821
2822 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2823
2824         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2825         the returned connection paths.
2826
2827 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2828
2829         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2830         "PropertiesChanged" signal signature.
2831
2832         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2833         defined in nm-dbus-glib-types.h.
2834         Don't register the connection on dbus, we're a proxy class to 
2835         communicate with an already registered connection over dbus.
2836
2837 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2838
2839         Implement new subclasses of NMSettings and NMExportedConnection to make
2840         it easier for the applet to access and modify system settings.
2841
2842         * libnm-glib/nm-dbus-connection.[ch]:
2843         * libnm-glib/nm-dbus-settings.[ch]:
2844         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2845
2846         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2847         bindings and glue.
2848
2849         * include/NetworkManager.h: Define the system settings DBus interface.
2850
2851 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2852
2853         Implement additional C API for exported connections to make them identical
2854         with the DBus API. Change the (list_connections) virtual function to be
2855         more usable from C - instead of requiring implementers to return a GPtrArray
2856         of dbus paths, return a list of connections.
2857
2858         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2859         (nm_settings_list_connections):
2860         (nm_exported_connection_new):
2861         (nm_exported_connection_update):
2862         (nm_exported_connection_delete): Implement.
2863
2864         (impl_settings_list_connections):
2865         (impl_exported_connection_update):
2866         (impl_exported_connection_delete): Use the new public functions to make 
2867         sure the C and dbus interfaces stay in sync.
2868
2869         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2870         connections.
2871
2872 2008-05-02  Dan Williams  <dcbw@redhat.com>
2873
2874         * system-settings/plugins/ifcfg-fedora/plugin.c
2875                 - (dispose): use right unref call on the DBusGConnection
2876
2877 2008-05-02  Dan Williams  <dcbw@redhat.com>
2878
2879         * src/nm-serial-device.c
2880                 - (find_terminator): don't compare the whole line, just the size of the
2881                         terminator, since some modems put stuff after the terminator, like
2882                         "CONNECT 9600"
2883
2884 2008-05-01  Dan Williams  <dcbw@redhat.com>
2885
2886         Patch from Michael Biebl <biebl@debian.org>
2887
2888         * callouts/Makefile.am
2889           callouts/org.freedesktop.nm_dispatcher.service.in
2890           system-settings/src/Makefile.am
2891           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2892                 - use the right install location for dbus-activated stuff
2893
2894 2008-04-30  Dan Williams  <dcbw@redhat.com>
2895
2896         * src/nm-gsm-device.c
2897                 - (enter_pin): fix setting name passed to applets when asking for a GSM
2898                         PIN or PUK
2899
2900 2008-04-30  Dan Williams  <dcbw@redhat.com>
2901
2902         * src/nm-manager.c
2903                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2904
2905 2008-04-30  Dan Williams  <dcbw@redhat.com>
2906
2907         * src/nm-device-802-3-ethernet.c
2908           src/nm-device-802-11-wireless.c
2909                 - (real_is_up): return true instead of chaining up to unimplemented
2910                         parent method
2911
2912 2008-04-30  Dan Williams  <dcbw@redhat.com>
2913
2914         * src/NetworkManagerSystem.c
2915           src/NetworkManagerSystem.h
2916                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2917                         functions to check device flags for IFF_UP
2918
2919         * src/nm-serial-device.c
2920                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2921                         implement is_up
2922
2923         * src/nm-device-802-3-ethernet.c
2924           src/nm-device-802-11-wireless.c
2925                 - (real_hw_is_up): call nm_system_device_is_up()
2926
2927         * src/nm-device.c
2928                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2929                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2930                         does not implement
2931
2932 2008-04-29  Dan Williams  <dcbw@redhat.com>
2933
2934         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2935
2936         * marshallers/nm-marshal.list
2937                 - Add marshaller
2938
2939         * src/NetworkManager.c
2940                 - (main): let the NMManager handle the NMHalManager
2941
2942         * src/nm-hal-manager.c
2943           src/nm-hal-manager.h
2944                 - convert to a GObject, and emit singals when stuff changes.  Let the
2945                         NMManager handle the signals, instead of the NMHalManager calling
2946                         into the NMManager.  
2947
2948         * src/nm-manager.c
2949           src/nm-manager.h
2950                 - (remove_one_device): consolidate device removals here
2951                 - (dispose): use remove_one_device()
2952                 - (nm_manager_get_device_by_udi): make static
2953                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
2954                         manager for devices at startup or wakeup time
2955                 - (nm_manager_new): create and monitor the HAL manager
2956                 - (hal_manager_udi_added_cb): new function; do what
2957                         nm_manager_add_device() used to do when signalled by the hal manager
2958                 - (hal_manager_udi_removed_cb): new function; do what
2959                         nm_manager_remove_device() used to do when signalled by the hal
2960                         manager
2961                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
2962                         hal manager
2963                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
2964                         in our device list that aren't known to HAL
2965                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
2966                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
2967                         commits ago
2968                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
2969                    nm_manager_activation_pending, nm_manager_wireless_enabled,
2970                    nm_manager_wireless_hardware_enabled,
2971                    nm_manager_set_wireless_hardware_enabled): remove, unused
2972
2973 2008-04-28  Dan Williams  <dcbw@redhat.com>
2974
2975         Fix the device up/down ambiguities.  Up/down state used to be a
2976         conglomeration of hardware state (IFF_UP) and any device-specific things
2977         (supplicant, periodic timers, etc) that the device used to indicate
2978         readiness.  Unfortunately, if the hardware was already IFF_UP for some
2979         reason, then the device specific stuff wouldn't get run, and the device
2980         would be stuck.
2981
2982         * src/nm-device.c
2983           src/nm-device.h
2984                 - Create hw_is_up, hw_bring_up, and hw_take_down
2985                 - Rename bring_down -> take_down
2986                 - (real_hw_is_up): check interface flags for IFF_UP
2987                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
2988                 - (nm_device_is_up): make static; only used locally
2989                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
2990                         if the device is already up; if the device isn't up, bring it up
2991                 - (nm_device_hw_take_down): just take down hardware
2992                 - (nm_device_bring_up): bring up HW first, then device specific stuff
2993                 - (nm_device_take_down): always deactivate device when called; always
2994                         try to take hardware down too
2995                 - (nm_device_state_changed): take device down when entering unmanaged
2996                         state from a higher state
2997
2998         * src/nm-device-802-11-wireless.c
2999                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3000                         check IFF_UP really
3001                 - (real_take_down, supplicant_iface_state_cb_handler, 
3002                    supplicant_iface_connection_state_cb_handler,
3003                    supplicant_mgr_state_cb_handler): fix some messages
3004
3005         * src/nm-device-802-3-ethernet.c
3006                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3007                         check IFF_UP really
3008
3009 2008-04-28  Dan Williams  <dcbw@redhat.com>
3010
3011         * src/nm-manager.c
3012           src/nm-manager.h
3013                 - (nm_manager_error_get_type): add new error
3014                 - (nm_manager_remove_device): don't bother taking down the device here,
3015                         the state change from unmanaging the device will do it
3016                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3017                         uses it; when going to sleep, just unmanage the device instead of
3018                         taking it down, because stuff will cleaned up correctly when the
3019                         device gets unmanaged
3020
3021 2008-04-28  Dan Williams  <dcbw@redhat.com>
3022
3023         * src/nm-hal-manager.c
3024                 - (add_initial_devices): convert to a GSourceFunc prototype
3025                 - (nm_manager_state_changed): when coming out of sleep, punt the
3026                         device re-addition to an idle handler to let D-Bus events go out
3027                         first, fixing a potential dbus-glib assert if the old device was
3028                         not yet disposed (due to references held while emitting the D-Bus
3029                         signals) but the new device was found, because the mainloop didn't
3030                         run between signal emission and add_initial_devices()
3031
3032 2008-04-27  Dan Williams  <dcbw@redhat.com>
3033
3034         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3035
3036         * initscript/paldo/NetworkManager.in
3037           initscript/SUSE/networkmanager.in
3038                 - Remove last bits of dhcdbd
3039
3040 2008-04-27  Dan Williams  <dcbw@redhat.com>
3041
3042         * src/nm-device-802-11-wireless.c
3043                 - (link_timeout_cb): don't ask for secrets when disconnected during
3044                         association/authentication phase, drivers are still just too crappy
3045
3046 2008-04-27  Dan Williams  <dcbw@redhat.com>
3047
3048         * Makefile.am
3049           configure.in
3050           dispatcher-daemon/Makefile.am
3051           dispatcher-daemon/NetworkManagerDispatcher.c
3052           initscript/Arch/Makefile.am
3053           initscript/Arch/networkmanager-dispatcher.in
3054           initscript/Gentoo/Makefile.am
3055           initscript/Gentoo/NetworkManagerDispatcher.in
3056           initscript/Mandriva/Makefile.am
3057           initscript/Mandriva/networkmanagerdispatcher.in
3058           initscript/RedHat/Makefile.am
3059           initscript/RedHat/NetworkManagerDispatcher.in
3060           initscript/SUSE/Makefile.am
3061           initscript/SUSE/networkmanager-dispatcher.in
3062           initscript/Slackware/Makefile.am
3063           initscript/Slackware/rc.networkmanager-dispatcher.in
3064           initscript/paldo/Makefile.am
3065           initscript/paldo/NetworkManagerDispatcher.in
3066           man/Makefile.am
3067           man/NetworkManagerDispatcher.8.in
3068                 - Remove the dispatcher daemon
3069
3070 2008-04-27  Dan Williams  <dcbw@redhat.com>
3071
3072         * callouts/Makefile.am
3073           callouts/nm-dispatcher-action.c
3074           callouts/nm-dispatcher-action.h
3075           callouts/nm-dispatcher.conf
3076           callouts/nm-dispatcher.xml
3077           callouts/org.freedesktop.nm_dispatcher.service
3078                 - Re-implement the dispatcher as a system-bus activated service that
3079                         NM calls on-demand, rather than an always running daemon
3080
3081         * src/Makefile.am
3082                 - Add callouts dir to includes to pick up dispatcher defines
3083
3084         * src/nm-device.c
3085                 - (nm_device_state_changed): call dispatcher on device activated/
3086                         deactivated
3087
3088         * src/vpn-manager/nm-vpn-connection.c
3089                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3090                         go up and down
3091
3092         * src/NetworkManagerUtils.c
3093           src/NetworkManagerUtils.h
3094                 - (nm_utils_call_dispatcher): helper to call dispatcher
3095
3096 2008-04-27  Dan Williams  <dcbw@redhat.com>
3097
3098         * src/NetworkManagerUtils.c
3099           src/NetworkManagerUtils.h
3100                 - remove unneeded includes
3101                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3102                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3103                    nm_timeval_cmp, nm_timeval_add): remove, unused
3104                 - clean up formatting
3105                 - (nm_spawn_process): de-uglify
3106
3107         * src/nm-device-802-11-wireless.c
3108                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3109
3110 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3111
3112         * initscript/Gentoo/NetworkManager.in:
3113                 Fix for starting the daemon.
3114
3115 2008-04-25  Dan Williams  <dcbw@redhat.com>
3116
3117         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3118
3119         * src/NetworkManagerSystem.c
3120                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3121
3122 2008-04-25  Dan Williams  <dcbw@redhat.com>
3123
3124         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3125
3126         * src/NetworkManagerSystem.c
3127                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3128                         implementation of nm_system_device_replace_default_route()
3129
3130         * src/NetworkManagerPolicy.c
3131                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3132
3133         * src/backends/NetworkManagerArch.c
3134           src/backends/NetworkManagerDebian.c
3135           src/backends/NetworkManagerFrugalware.c
3136           src/backends/NetworkManagerGeneric.c
3137           src/backends/NetworkManagerGeneric.h
3138           src/backends/NetworkManagerGentoo.c
3139           src/backends/NetworkManagerMandriva.c
3140           src/backends/NetworkManagerPaldo.c
3141           src/backends/NetworkManagerRedHat.c
3142           src/backends/NetworkManagerSlackware.c
3143           src/backends/NetworkManagerSuSE.c
3144                 - (nm_system_device_replace_default_route): remove
3145
3146 2008-04-25  Dan Williams  <dcbw@redhat.com>
3147
3148         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3149
3150         * src/NetworkManagerSystem.c
3151                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3152                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3153                         replace nm_system_device_add_route_via_device_with_iface() in the
3154                         backends
3155
3156         * src/backends/NetworkManagerArch.c
3157           src/backends/NetworkManagerDebian.c
3158           src/backends/NetworkManagerFrugalware.c
3159           src/backends/NetworkManagerGeneric.c
3160           src/backends/NetworkManagerGeneric.h
3161           src/backends/NetworkManagerGentoo.c
3162           src/backends/NetworkManagerMandriva.c
3163           src/backends/NetworkManagerPaldo.c
3164           src/backends/NetworkManagerRedHat.c
3165           src/backends/NetworkManagerSlackware.c
3166           src/backends/NetworkManagerSuSE.c
3167                 - Remove nm_system_device_add_route_via_device_with_iface()
3168
3169 2008-04-25  Dan Williams  <dcbw@redhat.com>
3170
3171         * system-settings/plugins/ifcfg-fedora/parser.c
3172                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3173
3174 2008-04-24  Dan Williams  <dcbw@redhat.com>
3175
3176         * dispatcher-daemon/NetworkManagerDispatcher.c
3177                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3178
3179 2008-04-24  Dan Williams  <dcbw@redhat.com>
3180
3181         * initscript/RedHat/NetworkManager.in
3182           initscript/RedHat/NetworkManagerDispatcher.in
3183                 - Be active at runlevel 2
3184                 - Adjust priorities earlier
3185
3186 2008-04-22  Dan Williams  <dcbw@redhat.com>
3187
3188         * src/NetworkManagerPolicy.c
3189                 - (update_routing_and_dns): when checking for a gateway, look at the
3190                         composite IP4 config, not the connection's ip4-config setting, which
3191                         doesn't include DHCP-returned information
3192
3193 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3194
3195         Implement GKeyFile system settings plugin.
3196         Implement writing system settings (currently supported only by GKeyFile plugin).
3197
3198         * system-settings/src/main.c: 
3199         * system-settings/src/dbus-settings.c: Move the communication with plugins
3200         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3201         plugins for adding/updating/removing connections.
3202
3203         * system-settings/src/nm-system-config-interface.c
3204         (nm_system_config_interface_add_connection): Implement
3205         (nm_system_config_interface_update_connection): Implement.
3206         (nm_system_config_interface_remove_connection): Implement.
3207
3208         * system-settings/plugins/keyfile/Makefile.am:
3209         * system-settings/plugins/keyfile/plugin.[ch]:
3210         * system-settings/plugins/keyfile/writer.[ch]:
3211         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3212
3213         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3214
3215         * configure.in: Generate GKeyFile Makefile.
3216
3217         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3218         corruption, need to duplicate the returned string.
3219         (impl_exported_connection_update): Implement.
3220         (impl_exported_connection_delete): Implement.
3221
3222         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3223
3224         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3225
3226 2008-04-22  Dan Williams  <dcbw@redhat.com>
3227
3228         Patch from Charles R. Anderson (cra@wpi.edu)
3229
3230         * src/NetworkManagerPolicy.c
3231                 - (update_routing_and_dns): don't select devices without a gateway
3232                         as having the default route (rh #437338)
3233
3234 2008-04-21  Dan Williams  <dcbw@redhat.com>
3235
3236         * src/nm-activation-request.c
3237           src/nm-activation-request.h
3238                 - (dispose): ensure to disconnect from the device's state-changed signal
3239                         when appropriate so the signal doesn't get handled by an already
3240                         disposed NMActRequest
3241                 - (device_state_changed): update is_default here too just to make sure
3242                         default is only True when the child device is activated
3243                 - (nm_act_request_set_default): new function
3244
3245         * src/NetworkManagerPolicy.c
3246                 - (update_routing_and_dns): set 'default' on the active connection which
3247                         has the default route and DNS
3248
3249 2008-04-21  Dan Williams  <dcbw@redhat.com>
3250
3251         * src/NetworkManagerPolicy.c
3252                 - (device_state_changed): update routing and DNS when a device goes
3253                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3254
3255 2008-04-21  Dan Williams  <dcbw@redhat.com>
3256
3257         * include/NetworkManager.h
3258                 - Add NMActiveConnectionState enum
3259
3260         * introspection/nm-active-connection.xml
3261           introspection/nm-vpn-connection.xml
3262                 - Add 'State' property for overall active connection state
3263                 - Add 'Default' property, when True means this active connection
3264                         has the default route
3265                 - Add PropertyChanged signals so changes actually go out over the bus
3266
3267         * src/nm-active-connection.h
3268                 - Add defines for State & Default properties
3269
3270         * src/nm-activation-request.c
3271                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3272                         signal to determine active connection state
3273
3274         * src/vpn-manager/nm-vpn-connection.c
3275           src/vpn-manager/nm-vpn-connection.h
3276           src/vpn-manager/nm-vpn-manager.c
3277           src/vpn-manager/nm-vpn-service.c
3278                 - Rename old 'state' to 'vpn-state'
3279                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3280                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3281                         'vpn-state-changed' signal
3282
3283         * libnm-glib/nm-active-connection.c
3284           libnm-glib/nm-active-connection.h
3285                 - Add new 'state' and 'default' properties and accessors
3286
3287         * libnm-glib/nm-vpn-connection.c
3288           libnm-glib/nm-vpn-connection.h
3289                 - Rename old 'state' property to 'vpn-state'
3290                 - Add new 'state' and 'default' properties and accessors
3291
3292 2008-04-21  Dan Williams  <dcbw@redhat.com>
3293
3294         * src/nm-ip4-config.c
3295                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3296                         not specified (rh #443474)
3297
3298 2008-04-20  Dan Williams  <dcbw@redhat.com>
3299
3300         * src/NetworkManagerUtils.c
3301           src/NetworkManagerUtils.h
3302                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3303                         NMSettingIP4Config to an NMIP4Config object
3304
3305         * src/nm-device.c
3306                 - (merge_ip4_config): move to NetworkManagerUtils.c
3307
3308         * src/vpn-manager/nm-vpn-connection.c
3309                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3310                         too
3311
3312 2008-04-18  Dan Williams  <dcbw@redhat.com>
3313
3314         * libnm-util/nm-setting-ppp.c
3315           libnm-util/nm-setting-ppp.h
3316                 - Add 'no-vj-comp' option for TCP header compression
3317                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3318                         uint32
3319
3320 2008-04-18  Dan Williams  <dcbw@redhat.com>
3321
3322         * libnm-util/nm-setting-ppp.c
3323           libnm-util/nm-setting-ppp.h
3324           src/ppp-manager/nm-ppp-manager.c
3325                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3326
3327 2008-04-18  Dan Williams  <dcbw@redhat.com>
3328
3329         * libnm-util/nm-setting-ppp.c
3330           libnm-util/nm-setting-ppp.h
3331           src/ppp-manager/nm-ppp-manager.c
3332                 - Remove the 'usepeerdns' option and always request DNS servers from
3333                         the PPP server; the connection chooses to use/override/ignore the
3334                         DNS servers returned from the PPP server
3335
3336 2008-04-18  Dan Williams  <dcbw@redhat.com>
3337
3338         * libnm-util/nm-setting-ppp.c
3339           libnm-util/nm-setting-ppp.h
3340           src/ppp-manager/nm-ppp-manager.c
3341                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3342                         it seems to have been an erroneous addition to the PPTP plugin in
3343                         the first place (from which the ppp-manager is derived)
3344
3345 2008-04-17  Dan Williams  <dcbw@redhat.com>
3346
3347         * libnm-util/nm-setting-pppoe.c
3348                 - (verify): require a PPP setting too
3349
3350         * src/ppp-manager/nm-ppp-manager.c
3351                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3352                         segfaulting
3353
3354 2008-04-17  Dan Williams  <dcbw@redhat.com>
3355
3356         * src/nm-device.c
3357                 - (nm_device_state_changed): do deactivation and and promotion to
3358                         unavailable here, so that the device gets cleaned up before the
3359                         manager runs and starts emitting signals; do the
3360                         FAILED->DISCONNECTED transition from an idle handler rather than
3361                         immediately to guard against recursion
3362                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3363                         FAILED->DISCONNECTED handler if it's scheduled
3364
3365 2008-04-17  Dan Williams  <dcbw@redhat.com>
3366
3367         * src/nm-device-802-11-wireless.c
3368                 - (state_changed_cb): clear AP list when device transitions to
3369                         unavailable or unmanaged
3370                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3371                         since this is already done in device_cleanup()
3372                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3373                         isn't available or managed
3374                 - (device_cleanup): use remove_all_aps()
3375                 - (remove_all_aps): consolidate code removing all APs
3376
3377 2008-04-17  Dan Williams  <dcbw@redhat.com>
3378
3379         * src/nm-serial-device.c
3380           src/nm-serial-device.h
3381                 - (wait_for_reply_got_data): break input into lines, and search each
3382                         line for responses _and_ terminator strings; also make sure that
3383                         the read loop doesn't continue after the timeout is supposed to fire
3384                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3385
3386         * src/nm-gsm-device.c
3387           src/nm-cdma-device.c
3388                 - Send terminators to nm_serial_device_wait_for_reply()
3389
3390 2008-04-16  Dan Williams  <dcbw@redhat.com>
3391
3392         Patch from 陈鑫 <znscnchen@gmail.com>
3393
3394         * src/ppp-manager/nm-pppd-plugin.c
3395                 - (get_credentials): return correct value for success; handle case where
3396                         pppd just does some checking but doesn't want a password
3397                 - (plugin_init): make CHAP work too
3398
3399 2008-04-16  Dan Williams  <dcbw@redhat.com>
3400
3401         Patch from 陈鑫 <znscnchen@gmail.com>
3402
3403         * src/ppp-manager/nm-ppp-manager.c
3404                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3405
3406 2008-04-16  Dan Williams  <dcbw@redhat.com>
3407
3408         Patch from 陈鑫 <znscnchen@gmail.com>
3409
3410         * src/nm-device-802-3-ethernet.c
3411                 - (real_deactivate_quickly): clear the IP interface name on
3412                         deactivation, otherwise the wrong interface might get used later
3413                         for routing and IP management
3414
3415 2008-04-15  Dan Williams  <dcbw@redhat.com>
3416
3417         * libnm-glib/nm-device.c
3418                 - (get_product_and_vendor): handle serial devices correctly
3419                 - (nm_device_update_description): pass device to get_product_and_vendor()
3420
3421 2008-04-15  Dan Williams  <dcbw@redhat.com>
3422
3423         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3424
3425         * src/NetworkManagerSystem.h
3426           src/backends/NetworkManagerArch.c
3427           src/backends/NetworkManagerDebian.c
3428           src/backends/NetworkManagerFrugalware.c
3429           src/backends/NetworkManagerGeneric.c
3430           src/backends/NetworkManagerGeneric.h
3431           src/backends/NetworkManagerGentoo.c
3432           src/backends/NetworkManagerMandriva.c
3433           src/backends/NetworkManagerPaldo.c
3434           src/backends/NetworkManagerRedHat.c
3435           src/backends/NetworkManagerSlackware.c
3436           src/backends/NetworkManagerSuSE.c
3437           src/nm-device.c
3438                 - (nm_generic_device_add_ip6_link_address,
3439                    nm_system_device_add_ip6_link_address): remove
3440
3441 2008-04-15  Dan Williams  <dcbw@redhat.com>
3442
3443         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3444
3445         * src/backends/NetworkManagerArch.c
3446           src/backends/NetworkManagerDebian.c
3447           src/backends/NetworkManagerFrugalware.c
3448           src/backends/NetworkManagerGeneric.c
3449           src/backends/NetworkManagerGeneric.h
3450           src/backends/NetworkManagerGentoo.c
3451           src/backends/NetworkManagerMandriva.c
3452           src/backends/NetworkManagerPaldo.c
3453           src/backends/NetworkManagerRedHat.c
3454           src/backends/NetworkManagerSlackware.c
3455           src/backends/NetworkManagerSuSE.c
3456           src/NetworkManagerSystem.h
3457                 - flush_routes -> flush_ip4_routes
3458                 - flush_addresses -> flush_ip4_addresses
3459
3460         * src/NetworkManagerSystem.c
3461           src/nm-device.c
3462           src/vpn-manager/nm-vpn-connection.c
3463                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3464
3465 2008-04-15  Dan Williams  <dcbw@redhat.com>
3466
3467         Remove exposure of wireless-tools mode types in the API.
3468
3469         * include/NetworkManager.h
3470                 - Define NM80211Mode enum
3471
3472         * introspection/generic-types.xml
3473                 - Describe NM_802_11_MODE enum
3474                 - Remove IW_MODE_* enum
3475
3476         * introspection/nm-access-point.xml
3477           libnm-glib/nm-access-point.c
3478           libnm-glib/nm-access-point.h
3479                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3480
3481         * introspection/nm-device-802-11-wireless.xml
3482           libnm-glib/nm-device-802-11-wireless.c
3483           libnm-glib/nm-device-802-11-wireless.h
3484                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3485
3486         * libnm-util/nm-setting-wireless.c
3487           src/NetworkManagerAP.c
3488           src/NetworkManagerAP.h
3489           src/nm-device-802-11-wireless.c
3490           src/nm-device-802-11-wireless.h
3491           test/nm-tool.c
3492                 - Use NM80211Mode not IW_MODE_*
3493
3494 2008-04-15  Dan Williams  <dcbw@redhat.com>
3495
3496         Enhance nm-online based on a patch from Bill Nottingham.
3497
3498         * test/nm-online.c
3499                 - Add a '-q' option
3500                 - Add help messages and option summary
3501                 - Add long-format options
3502                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3503
3504 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3505
3506         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3507
3508         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3509
3510 2008-04-15  Dan Williams  <dcbw@redhat.com>
3511
3512         * nm-setting-ip4-config.c
3513                 - (ip4_addresses_from_gvalue): handle NULL address array
3514
3515         * nm-setting-8021x.c
3516                 - (verify_tls, verify_ttls): warn on failed verification
3517
3518 2008-04-10  Dan Williams  <dcbw@redhat.com>
3519
3520         * src/nm-gsm-device.c
3521                 - (automatic_registration): accept "+CREG: 0,0"
3522                 - (automatic_registration_response): fail on "+CREG: 0,0"
3523
3524 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3525
3526         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3527
3528 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3529
3530         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3531         Make it compile again by commenting out broken code that at first didn't work and
3532         now didn't compile either.
3533
3534 2008-04-08  Dan Williams  <dcbw@redhat.com>
3535
3536         * libnm-glib/nm-object-cache.c
3537           libnm-glib/nm-settings.c
3538           src/dhcp-manager/nm-dhcp-manager.c
3539           system-settings/plugins/ifcfg-fedora/plugin.c
3540           system-settings/plugins/ifcfg-suse/plugin.c
3541           system-settings/src/nm-system-config-hal-manager.c
3542           libnm-util/nm-utils.c
3543                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3544                         not threadsafe anyway
3545
3546 2008-04-08  Dan Williams  <dcbw@redhat.com>
3547
3548         * system-settings/src/main.c
3549                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3550                         callbacks take a device type too
3551
3552 2008-04-08  Dan Williams  <dcbw@redhat.com>
3553
3554         The system settings service will now create a new default DHCP connection
3555         for wired devices that have no existing applicable connection.
3556
3557         * system-settings/src/nm-system-config-hal-manager.c
3558           system-settings/src/nm-system-config-hal-manager.h
3559                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3560
3561         * system-settings/src/dbus-settings.c
3562           system-settings/src/dbus-settings.h
3563                 - (nm_sysconfig_settings_get_connections): new function
3564                 - (nm_sysconfig_settings_is_device_managed): new function
3565
3566         * system-settings/src/main.c
3567                 - (load_stuff): check for wired devices that need a default connection
3568                 - (get_details_for_udi): get interface and MAC address from HAL
3569                 - (add_default_dhcp_connection): add a default connection for a wired
3570                         device if needed
3571                 - (device_added_cb, device_removed_cb): do the right thing with
3572                         wired devices and their default connections on HAL device events
3573
3574 2008-04-07  Dan Williams  <dcbw@redhat.com>
3575
3576         * libnm-glib/nm-device.c
3577           libnm-glib/nm-device.h
3578                 - Proxy the 'managed' property
3579
3580 2008-04-07  Dan Williams  <dcbw@redhat.com>
3581
3582         * src/nm-gsm-device.c
3583           src/nm-cdma-device.c
3584                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3585                         handler to transition to DISCONNECTED
3586
3587 2008-04-07  Dan Williams  <dcbw@redhat.com>
3588
3589         Patch from Bill Nottingham
3590
3591         * dispatcher-daemon/NetworkManagerDispatcher.c
3592                 - ignore backup/packaging crufy (rh #440143)
3593
3594 2008-04-07  Dan Williams  <dcbw@redhat.com>
3595
3596         * include/NetworkManager.h
3597                 - Remove the DOWN and CANCELLED device states
3598                 - Add UNMANAGED and UNAVAILABLE device states
3599                 - Document the device states
3600
3601         * introspection/nm-device.xml
3602           src/nm-device-interface.c
3603           src/nm-device-interface.h
3604                 - Add the 'managed' property
3605
3606         * test/nm-tool.c
3607                 - (detail_device): print out device state
3608
3609         * src/NetworkManagerSystem.h
3610           src/backends/NetworkManagerArch.c
3611           src/backends/NetworkManagerDebian.c
3612           src/backends/NetworkManagerFrugalware.c
3613           src/backends/NetworkManagerGentoo.c
3614           src/backends/NetworkManagerMandriva.c
3615           src/backends/NetworkManagerPaldo.c
3616           src/backends/NetworkManagerRedHat.c
3617           src/backends/NetworkManagerSlackware.c
3618           src/backends/NetworkManagerSuSE.c
3619                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3620                    nm_system_device_free_system_config): remove; they were unused and
3621                         their functionality should be re-implemented in each distro's
3622                         system settings service plugin 
3623
3624         * src/nm-gsm-device.c
3625           src/nm-gsm-device.h
3626           src/nm-cdma-device.c
3627           src/nm-cdma-device.h
3628                 - (*_new): take the 'managed' argument
3629
3630         * src/nm-device.c
3631                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3632                 - (nm_device_init): start in unmanaged state, not disconnected
3633                 - (constructor): don't start device until the system settings service
3634                         has had a chance to figure out if the device is managed or not
3635                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3636                         don't set device state here, let callers handle that as appropriate
3637                 - (nm_device_dispose): don't touch the device if it's not managed
3638                 - (set_property, get_property, nm_device_class_init): implement the
3639                         'managed' property
3640                 - (nm_device_state_changed): bring the device up if its now managed,
3641                         and deactivate it if it used to be active
3642                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3643                         with the managed state
3644
3645         * src/nm-hal-manager.c
3646                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3647                         take initial managed state and pass it along to device constructors
3648                 - (create_device_and_add_to_list): get managed state and pass to
3649                         type creators
3650
3651         * src/nm-device-802-11-wireless.c
3652                 - (real_can_activate): fold in most of
3653                         nm_device_802_11_wireless_can_activate()
3654                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3655                 - (link_timeout_cb): instead of deactivating, change device state and
3656                         let the device state handler to it
3657                 - (real_update_hw_address): clean up
3658                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3659                         handler to transition to DISCONNECTED if the device isn't rfkilled
3660
3661         * src/nm-device-802-3-ethernet.c
3662                 - (set_carrier): move above callers and get rid of prototype
3663                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3664                         idle handler to transition to DISCONNECTED if the device has a
3665                         carrier
3666                 - (real_update_hw_address): clean up
3667                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3668                         deactivation directly as deactivation doesn't change state anymore
3669
3670         * src/NetworkManagerPolicy.c
3671                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3672                         the NMManager and wireless devices work that out themselves now
3673                 - (device_state_changed): change to a switch and update for new device
3674                         states
3675                 - (device_carrier_changed): remove; device handles this now through
3676                         state changes
3677                 - (device_added): don't care about carrier any more; the initial
3678                         activation check will happen when the device transitions to
3679                         DISCONNECTED
3680
3681         * src/nm-manager.c
3682                 - (dispose): clear unmanaged devices
3683                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3684                         the managed property on each device when needed
3685                 - (system_settings_properties_changed_cb): handle signals from the
3686                         system settings service
3687                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3688                         getting the unmanaged device list method call
3689                 - (query_unmanaged_devices): ask the system settings service for its
3690                         list of unmanaged devices
3691                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3692                         devices
3693                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3694                         devices directly and let them handle the necessary state transitions
3695                 - (manager_device_state_changed): update for new device states
3696                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3697                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3698                 - (nm_manager_activate_connection): return error if the device is
3699                         unmanaged
3700                 - (nm_manager_sleep): handle new device states correctly; don't change
3701                         the state of unavailable/unmanaged devices
3702
3703         * libnm-glib/nm-device-802-11-wireless.c
3704                 - (state_changed_cb): update for new device states
3705
3706 2008-04-07  Dan Williams  <dcbw@redhat.com>
3707
3708         * marshallers/nm-marshal.list
3709                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3710
3711 2008-04-07  Dan Williams  <dcbw@redhat.com>
3712
3713         * system-settings/src/main.c
3714                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3715                         plugins to the dbus settings object
3716                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3717                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3718                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3719                 - (main): switch default logging to syslog with a 'debug' option to
3720                         output to console; start up the HAL manager
3721
3722 2008-04-07  Dan Williams  <dcbw@redhat.com>
3723
3724         * introspection/nm-settings-system.xml
3725           introspection/Makefile.am
3726                 - Define the unmanaged devices interface for the system settings service
3727
3728         * system-settings/src/nm-system-config-hal-manager.c
3729           system-settings/src/nm-system-config-hal-manager.h
3730           system-settings/src/nm-system-config-hal-manager-private.h
3731           system-settings/src/Makefile.am
3732                 - Add a lightweight HAL manager object for tracking network devices for
3733                         the purpose of determining unmanaged devices and which devices need
3734                         the default DHCP connections
3735
3736         * system-settings/src/nm-system-config-interface.c
3737           system-settings/src/nm-system-config-interface.h
3738                 - (nm_system_config_interface_init): add the HAL manager as an argument
3739                 - (nm_system_config_interface_get_unmanaged_devices): implement
3740                 - Define 'unmanaged-devices-changed' signal
3741
3742         * system-settings/src/dbus-settings.c
3743           system-settings/src/dbus-settings.h
3744                 - Implement the unmanaged devices interface; some cleanups
3745
3746         * system-settings/plugins/ifcfg-suse/plugin.c
3747                 - Fixup for plugin interface changes
3748
3749         * system-settings/plugins/ifcfg-fedora/plugin.c
3750                 - (get_ether_device_udi): new function; find the device that has
3751                         a specified MAC address and return its UDI
3752                 - (get_udi_for_connection): new function; try to find the specific
3753                         device a connection is locked to, if any
3754                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3755                         response to HAL events
3756                 - (get_unmanaged_devices): new function; return unmanaged device list
3757                 - (build_one_connection): set the connection's locked device, if any
3758                 - (write_auto_wired_connection): remove
3759                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3760                 - (handle_connection_changed): alert listeners that the unmanaged device
3761                         list has changed
3762                 - (init): fixup for plugin interface changes, implement unmanaged devices
3763
3764         * system-settings/plugins/ifcfg-fedora/parser.c
3765           system-settings/plugins/ifcfg-fedora/parser.h
3766                 - (connection_data_free): clean up connection UDI
3767
3768 2008-04-07  Dan Williams  <dcbw@redhat.com>
3769
3770         * system-settings/plugins/ifcfg-fedora/parser.c
3771                 - (make_ip4_setting): fix parsing of DNS servers
3772
3773 2008-04-05  Dan Williams  <dcbw@redhat.com>
3774
3775         * Makefile.am
3776           configure.in
3777           marshallers/Makefile.am
3778           marshallers/nm-marshal-main.c
3779           marshallers/nm-marshal.list
3780                 - Consolidate marshallers
3781
3782         * libnm-glib/nm-marshal-main.c
3783           libnm-glib/nm-marshal.list
3784           src/marshallers/Makefile.am
3785           src/marshallers/nm-marshal-main.c
3786           src/marshallers/nm-marshal.list
3787                 - Remove
3788
3789         * libnm-glib/Makefile.am
3790           src/Makefile.am
3791           src/dhcp-manager/Makefile.am
3792           src/ppp-manager/Makefile.am
3793           src/supplicant-manager/Makefile.am
3794           src/vpn-manager/Makefile.am
3795                 - Use consolidated marshallers
3796
3797 2008-04-04  Dan Williams  <dcbw@redhat.com>
3798
3799         * src/nm-hal-manager.c
3800           src/nm-hal-manager.h
3801                 - (hal_init): don't look for hardware here
3802                 - (nm_hal_manager_start): new function; look for hardware here instead,
3803                         which can be done at a later time than hal_init()
3804
3805         * src/NetworkManager.c
3806                 - (main): start HAL manager after entering the main loop
3807
3808 2008-04-03  Dan Williams  <dcbw@redhat.com>
3809
3810         * libnm-glib/nm-settings.c
3811           libnm-glib/nm-settings.h
3812             - (nm_exported_connection_get_id): new function
3813                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3814
3815 2008-04-02  Dan Williams  <dcbw@redhat.com>
3816
3817         * src/nm-device-interface.c
3818           src/nm-device-interface.h
3819           src/nm-device.c
3820           src/nm-device.h
3821                 - Rename check_connection_conflicts() to check_connection_compatible()
3822
3823         * src/nm-device-802-11-wireless.c
3824                 - (real_check_connection_conflicts): remove
3825                 - (real_check_connection_compatible): implement; match MAC address
3826
3827         * src/nm-device-802-3-ethernet.c
3828                 - (real_check_connection_conflicts): remove
3829                 - (real_check_connection_compatible): implement; match MAC address
3830                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3831
3832         * src/nm-manager.c
3833                 - (check_connection_allowed): remove; unused until PolicyKit integration
3834                 - (internal_activate_device): check whether the connection is compatible
3835                         with the device before trying to activate it
3836
3837 2008-04-02  Dan Williams  <dcbw@redhat.com>
3838
3839         * system-settings/plugins/ifcfg-fedora/parser.c
3840                 - (read_mac_address): new function; read in MAC address and stuff it
3841                         into the connection
3842                 - (add_one_wep_key): remove debug spew
3843                 - (make_wireless_security_setting): validate the default TX key; don't
3844                         add the wireless-security setting if the connection doesn't need
3845                         security; don't leak the keys shvarFile on error cases
3846                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3847                         address
3848
3849 2008-04-02  Dan Williams  <dcbw@redhat.com>
3850
3851         * libnm-util/nm-setting-connection.c
3852           libnm-util/nm-setting-connection.h
3853                 - (set_property, get_property, nm_setting_connection_class_init): remove
3854                         the 'lockdown' property; it's functionality will be replaced by
3855                         PolicyKit instead
3856
3857 2008-04-01  Dan Williams  <dcbw@redhat.com>
3858
3859         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3860
3861         * configure.in
3862           initscript/Makefile.am
3863           initscript/Mandriva/Makefile.am
3864           initscript/Mandriva/networkmanager.in
3865           initscript/Mandriva/networkmanagerdispatcher.in
3866           src/backends/Makefile.am
3867           src/backends/NetworkManagerMandriva.c
3868           system-settings/plugins/Makefile.am
3869                 - Add Mandriva support
3870
3871 2008-03-31  Dan Williams  <dcbw@redhat.com>
3872
3873         * src/vpn-manager/nm-vpn-service.c
3874                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3875                         errors can be passed back to the caller; also no longer scheduled
3876                         as an idle handler, but called directly; and bump up VPN service
3877                         spawn timeout, 2s is really short
3878                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3879                         but call it directly so that errors are reported on return from
3880                         ActivateConnection() and don't get lost.  If scheduled as an idle
3881                         handler, clients don't have the time to query NM for the new VPN
3882                         connection's properties before the VPN connection is torn down again
3883                         if the service couldn't be launched, and therefore launch errors
3884                         get lost.
3885
3886 2008-03-31  Dan Williams  <dcbw@redhat.com>
3887
3888         * src/vpn-manager/nm-vpn-connection.c
3889                 - (device_state_changed): send correct state on device failure too
3890                 - (plugin_state_changed): failed state means unexpected disconnection,
3891                         thus if the service goes away while the VPN connection is activated
3892                         that's a failure too
3893
3894 2008-03-31  Dan Williams  <dcbw@redhat.com>
3895
3896         * src/vpn-manager/nm-vpn-manager.c
3897           src/vpn-manager/nm-vpn-manager.h
3898                 - Make VPNManager errors more available; add a service-start-failed error
3899
3900 2008-03-31  Dan Williams  <dcbw@redhat.com>
3901
3902         * libnm-glib/nm-client.c
3903           libnm-glib/nm-client.h
3904                 - (activate_cb): pass the new active connection to callback; fix
3905                         message when no callback is specified
3906
3907 2008-03-30  Dan Williams  <dcbw@redhat.com>
3908
3909         * libnm-util/nm-setting-wireless-security.c
3910                 - (need_secrets): only require key0 if the transmit key index is also
3911                         0
3912                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3913
3914 2008-03-29  Dan Williams  <dcbw@redhat.com>
3915
3916         * libnm-util/nm-setting-8021x.c
3917           libnm-util/nm-setting-ip4-config.c
3918           libnm-util/nm-setting-vpn-properties.c
3919           libnm-util/nm-setting-vpn.c
3920           libnm-util/nm-setting-wireless-security.c
3921           libnm-util/nm-setting-wireless.c
3922           libnm-util/nm-utils.c
3923           src/dhcp-manager/nm-dhcp-manager.c
3924           src/nm-activation-request.c
3925           src/nm-ip4-config.c
3926           src/nm-manager.c
3927           src/nm-properties-changed-signal.c
3928           src/ppp-manager/nm-pppd-plugin.c
3929           src/supplicant-manager/nm-supplicant-interface.c
3930           src/vpn-manager/nm-vpn-connection.c
3931                 - consistently use nm-dbus-glib-types.h
3932
3933 2008-03-29  Dan Williams  <dcbw@redhat.com>
3934
3935         * src/vpn-manager/nm-vpn-connection.c
3936                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3937                         not string
3938
3939         * src/nm-activation-request.c
3940                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3941                         not string
3942
3943 2008-03-29  Dan Williams  <dcbw@redhat.com>
3944
3945         * libnm-glib/nm-device-802-11-wireless.c
3946                 - (access_point_added_proxy): create new APs if not found
3947
3948 2008-03-29  Dan Williams  <dcbw@redhat.com>
3949
3950         * libnm-glib/nm-client.c
3951                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
3952                         before freeing them
3953
3954 2008-03-29  Dan Williams  <dcbw@redhat.com>
3955
3956         * system-settings/plugins/ifcfg-fedora/parser.c
3957                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
3958                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
3959
3960 2008-03-29  Dan Williams  <dcbw@redhat.com>
3961
3962         * system-settings/plugins/ifcfg-fedora/parser.c
3963                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
3964
3965 2008-03-27  Dan Williams  <dcbw@redhat.com>
3966
3967         * nm-object.c
3968                 - (nm_object_queue_notify): don't notify multiple times for the same
3969                         property
3970
3971         * nm-object-private.h
3972                 - (handle_ptr_array_return): return NULL if the given array is NULL or
3973                         if it has zero elements
3974
3975         * nm-ip4-config.c
3976                 - (finalize): use g_ptr_array_foreach() when freeing domains
3977                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
3978
3979         * nm-active-connection.c
3980                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
3981
3982         * nm-device-802-11-wireless.c
3983           nm-device-802-11-wireless.h
3984                 - (nm_device_802_11_wireless_get_access_points): return const; use
3985                         handle_ptr_array_return()
3986
3987         * nm-types.c
3988                 - (nm_object_array_demarshal): always create an array, even of length
3989                         zero, to distinguish between "NM returned no items" and "haven't
3990                         asked NM yet"
3991
3992         * nm-client.c
3993                 - (dispose): free active connections too
3994                 - (proxy_name_owner_changed): free active connections too when NM goes
3995                         away
3996                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
3997                 - (nm_client_get_active_connections): use handle_ptr_array_return()
3998
3999 2008-03-26  Dan Williams  <dcbw@redhat.com>
4000
4001         Rework VPN connection handling for a more consistent D-Bus API.  The
4002         VPNManager object has been removed, and active VPN connections are now the
4003         same as any other active connection.  The Manager object's ActivateConnection
4004         and DeactivateConnection methods are used to start and stop a VPN connection,
4005         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4006         When activating a VPN connection, pass the path of the active connection
4007         to which the VPN connection is tied in the 'specific_object' argument.
4008
4009         Consequently, the libnm-glib API has been reworked to match this arrangement,
4010         with the VPNManager object removed, and the NMVPNConnection objects now
4011         being subclasses of NMActiveConnection.
4012
4013 2008-03-25  Dan Williams  <dcbw@redhat.com>
4014
4015         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4016
4017         * initscript/Arch/networkmanager.in
4018           initscript/Arch/networkmanager-dispatcher.in
4019                 - Updates for Arch Linux (gnome.org #523701)
4020
4021 2008-03-25  Dan Williams  <dcbw@redhat.com>
4022
4023         * libnm-glib/nm-ip4-config.c
4024           libnm-glib/nm-active-connection.c
4025           libnm-glib/nm-access-point.c
4026                 - Use nm_object_queue_notify() instead of g_object_notify()
4027
4028         * libnm-glib/nm-device.c
4029                 - (demarshal_ip4_config): distinguish between successful but missing
4030                         ip4-config request, and unsuccessful and missing ip4-config request
4031                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4032                         path
4033                 - Use nm_object_queue_notify() instead of g_object_notify()
4034
4035         * libnm-glib/nm-device-802-11-wireless.c
4036                 - (demarshal_active_ap): distinguish between successfull but missing
4037                         active-ap request, and unsuccessful and missing active-ap request
4038                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4039                         code
4040                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4041                         for the NMClient to notify the device that wireless is disabled,
4042                         and therefore to clear the AP list and active AP
4043                 - Use nm_object_queue_notify() instead of g_object_notify()
4044
4045         * libnm-glib/nm-client.c
4046                 - (poke_wireless_devices_with_rf_status): new function
4047                 - (update_wireless_status): notify wireless devices of the rfkill status
4048                         so they can clean up if needed
4049                 - Use nm_object_queue_notify() instead of g_object_notify()
4050
4051 2008-03-25  Dan Williams  <dcbw@redhat.com>
4052
4053         * libnm-glib/nm-object.c
4054           libnm-glib/nm-object-private.h
4055                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4056                         signals to an idle handler
4057                 - (nm_object_get_property): add a timeout to the D-Bus method call
4058
4059 2008-03-25  Dan Williams  <dcbw@redhat.com>
4060
4061         * introspection/nm-device-cdma.xml
4062           introspection/nm-device-gsm.xml
4063           introspection/Makefile.am
4064           introspection/all.xml
4065                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4066
4067         * src/nm-gsm-device.h
4068           src/nm-gsm-device.c
4069           src/nm-cdma-device.h
4070           src/nm-cdma-device.c
4071           src/Makefile.am
4072                 - Implement PropertiesChanged signals
4073
4074         * libnm-glib/nm-cdma-device.c
4075           libnm-glib/nm-cdma-device.c
4076                 - Attach to PropertiesChanged signals
4077
4078 2008-03-24  Dan Williams  <dcbw@redhat.com>
4079
4080         * libnm-glib/nm-client.c
4081                 - (client_device_added_proxy): add new devices to the internal device
4082                         list so they appear to clients
4083
4084 2008-03-24  Dan Williams  <dcbw@redhat.com>
4085
4086         Massive fixup of libnm-glib to:
4087         a) have all objects (with the exception of VPN) cache their properties and
4088                 update them asynchronously on PropertiesChanged signals from NM
4089         b) return internal const data for most attributes/properties instead of
4090                 allocated values that the caller must free
4091         c) cache wrapped objects such that a given D-Bus path will always map to the
4092                 same GObject returned by libnm-glib
4093         d) remove a few signals and move them to GObject property notifications
4094         e) match recent NM D-Bus API changes for activation/deactivation
4095         f) remove some private functions from libnm-glib headers
4096
4097 2008-03-20  Dan Williams  <dcbw@redhat.com>
4098
4099         * src/nm-manager.c
4100                 - (nm_manager_update_state, manager_device_state_changed,
4101                    nm_manager_activate_device, connection_added_default_handler,
4102                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4103                         queue PropertyChanged singals when the active connections change
4104
4105 2008-03-20  Dan Williams  <dcbw@redhat.com>
4106
4107         * introspection/nm-manager.xml
4108           introspection/nm-manager-client.xml
4109                 - (ActivateConnection): return the object path of the active connection
4110                         on success
4111                 - (GetActiveConnections): remove
4112                 - (DeactivateConnection): new function; deactivate a currently active
4113                         connection
4114                 - Add an ActiveConnections property which returns an array of
4115                         active connection object paths
4116
4117         * introspection/nm-device.xml
4118                 - (Deactivate): remove
4119
4120         * introspection/all.xml
4121                 - Add ActiveConnection introspection
4122
4123         * introspection/nm-active-connection.xml
4124                 - Add the ActiveConnection object
4125
4126         * include/NetworkManager.h
4127                 - Add the Connection.Active D-Bus interface
4128
4129         * src/nm-device-interface.c
4130                 - (impl_device_deactivate): remove
4131
4132         * src/nm-activation-request.c
4133           src/nm-activation-request.c
4134           src/Makefile.am
4135                 - Implement the Connection.Active D-Bus interface
4136
4137         * src/nm-manager.c
4138                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4139                 - (nm_manager_activate_device): return the active connection path
4140                 - (connection_added_default_handler, impl_manager_activate_connection):
4141                         return the active connection to the caller
4142                 - (add_one_connection_element, impl_manager_get_active_connections):
4143                         remove
4144                 - (impl_manager_deactivate_connection): new function; deactivate an
4145                         active connection
4146
4147         * libnm-glib/nm-device.c
4148           libnm-glib/nm-device.h
4149                 - Remove Deactivate() function
4150
4151 2008-03-19  Dan Williams  <dcbw@redhat.com>
4152
4153         * introspection/nm-manager.xml
4154           introspection/nm-manager-client.xml
4155                 - Rename the ActivateDevice method to ActivateConnection to better
4156                         reflect it's usage; it's arguments get reordered a bit too
4157                 - Convert GetActiveConnections method return from a struct to a dict
4158
4159         * include/NetworkManager.h
4160                 - Define the dict keys for return value of GetActiveConnections
4161
4162         * src/nm-manager.c
4163                 - impl_manager_activate_device -> impl_manager_activate_connection
4164                 - (add_one_connection_element): return a populated hash table, not
4165                         a structure
4166
4167         * libnm-glib/nm-client.c
4168           libnm-glib/nm-client.h
4169                 - nm_client_activate_device -> nm_client_activate_connection
4170                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4171                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4172                         instead of the custom structures.  Each element of the returned list
4173                         must be freed with nm_client_free_active_connections_element()
4174
4175 2008-03-18  Dan Williams  <dcbw@redhat.com>
4176
4177         * system-settings/plugins/ifcfg-fedora/parser.c
4178           system-settings/plugins/ifcfg-fedora/parser.h
4179           system-settings/plugins/ifcfg-fedora/plugin.c
4180                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4181                         profiles.  DNS servers and searches must now be stored in the ifcfg
4182                         files themselves
4183
4184 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4185
4186         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4187         print out username and password, it's supposed to be a secret.
4188
4189         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4190         request and set the device state accordingly.
4191
4192 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4193
4194         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4195
4196         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4197
4198 2008-03-18  Dan Williams  <dcbw@redhat.com>
4199
4200         * src/vpn-manager/nm-vpn-connection.c
4201                 - (get_secrets_cb): handle new GetSecrets return format
4202
4203 2008-03-18  Dan Williams  <dcbw@redhat.com>
4204
4205         Adapt system settings service for split 802.1x.
4206
4207         * system-settings/src/nm-system-config-interface.h
4208                 - clarify return value of get_secrets()
4209
4210         * system-settings/src/dbus-settings.c
4211                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4212                 - (check_for_secrets): check if there actually secrets returned by a
4213                         plugin
4214                 - (exported_connection_get_secrets): just return the plugin-returned
4215                         hash of settings' secrets if it looks valid
4216
4217         * system-settings/plugins/ifcfg-fedora/plugin.c
4218                 - (get_secrets): add split secrets with correct format to reply hash
4219
4220         * system-settings/plugins/ifcfg-fedora/parser.c
4221           system-settings/plugins/ifcfg-fedora/parser.h
4222                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4223                    connection_data_free, connection_data_add): keep secrets for
4224                         different settings in different hashes
4225
4226 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4227
4228         Clean up activating device deactivation.
4229
4230         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4231         should be done whether the device activation gets cancelled or the device
4232         is just getting deactivated.
4233         (nm_device_activation_cancel): Remove.
4234         (nm_device_deactivate_quickly): Handle the case where device is activating.
4235
4236         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4237         It does the exact same thing as real_deactivate_quickly().
4238
4239 2008-03-17  Dan Williams  <dcbw@redhat.com>
4240
4241         Split the 802.1x bits out of the wireless-security setting so they are
4242         generalized enough for wired 802.1x to use too.
4243
4244         * introspection/nm-exported-connection.xml
4245                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4246                         of just a hash of the secrets for one setting
4247
4248         * libnm-util/nm-setting-wireless-security.c
4249           libnm-util/nm-setting-wireless-security.h
4250                 - Remove 802.1x-specific stuff
4251                 - Added leap-username and leap-password properties for old-school LEAP
4252
4253         * src/nm-device.c
4254           src/nm-device.h
4255                 - (connection_secrets_updated_cb): take a list of updated settings names,
4256                         not just one
4257
4258         * src/supplicant-manager/nm-supplicant-config.c
4259           src/supplicant-manager/nm-supplicant-config.h
4260                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4261                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4262                         to nm_supplicant_config_add_setting_8021x()
4263                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4264                         the supplicant config
4265
4266         * src/nm-device-802-11-wireless.c
4267                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4268                 - (real_connection_secrets_updated): take a list of updated settings
4269                         names, not just one
4270
4271         * src/nm-device-802-3-ethernet.c
4272           src/nm-cdma-device.c
4273           src/nm-gsm-device.c
4274                 - (real_connection_secrets_updated_cb): take a list of updated settings
4275                         names, not just one
4276
4277         * src/nm-activation-request.c
4278           src/nm-activation-request.h
4279                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4280                         now passes a list of updated settings names, not just one
4281                 - (update_one_setting): new function; handle one updated setting
4282                 - (get_secrets_cb): handle multiple settings returned from the
4283                         settings service; have to be careful of ordering here as there are
4284                         some dependencies between settings (ex. wireless-security and 802.1x
4285                         in some cases)
4286
4287         * src/marshallers/nm-marshal.list
4288                 - new marshaller for connection-secrets-updated signal
4289
4290         * libnm-util/nm-setting-8021x.c
4291                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4292                         methods
4293                 - (verify): a valid 'eap' property is now required
4294
4295         * libnm-util/nm-connection.c
4296                 - (register_default_settings): add priorities to settings; there are
4297                         some dependencies between settings, and during the need_secrets
4298                         calls this priority needs to be respected.  For example, only the
4299                         wireless-security setting knows whether or not the connection is
4300                         going to use 802.1x or now, so it must be asked for secrets before
4301                         any existing 802.1x setting is
4302                 - (nm_connection_lookup_setting_type): expose
4303
4304         * libnm-util/nm-setting-wireless.c
4305                 - (verify): should verify even if all_settings is NULL; otherwise won't
4306                         catch the case where there is missing security
4307
4308         * libnm-util/nm-setting-wireless-security.c
4309                 - Remove everything to do with 802.1x
4310                 - Add old-school LEAP specific properties for username and password
4311                 - (need_secrets): rework LEAP secrets checking
4312                 - (verify): rework for LEAP and 802.1x verification
4313
4314 2008-03-17  Dan Williams  <dcbw@redhat.com>
4315
4316         * src/NetworkManagerPolicy.c
4317                 - (auto_activate_device): always remove the current activation check
4318                         from the pending activation list, otherwise when the policy gets
4319                         destroyed on NM exit it will attempt to free the already freed
4320                         activation check
4321
4322 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4323
4324         * src/backends/NetworkManagerSlackware.c 
4325         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4326
4327         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4328
4329 2008-03-14  Dan Williams  <dcbw@redhat.com>
4330
4331         * src/nm-manager.c
4332                 - (nm_device_interface_get_iface): g_object_get() will return an
4333                         allocated value, so this function must not return const
4334                 - (nm_device_interface_activate): free returned iface
4335
4336 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4337
4338         * libnm-util/Makefile.am: Add new files to build.
4339
4340         * libnm-util/nm-connection.c: Register NMSetting8021x.
4341
4342         * libnm-util/nm-setting-8021x.c
4343         * libnm-util/nm-setting-8021x.h: Implement.
4344
4345 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4346
4347         * libnm-util/Makefile.am: Add new files to build.
4348
4349         * libnm-util/nm-connection.c: Register NMSetting8021x.
4350
4351         * libnm-util/nm-setting-8021x.c
4352         * libnm-util/nm-setting-8021x.h: Implement.
4353
4354 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4355
4356         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4357         data.
4358
4359 2008-03-14  Dan Williams  <dcbw@redhat.com>
4360
4361         * include/wireless-helper.h
4362           include/Makefile.am
4363                 - One place for all the junk needed for #including wireless.h
4364
4365         * test/nm-tool.c
4366           src/NetworkManagerAP.c
4367           src/wpa.c
4368           src/Makefile.am
4369           libnm-util/nm-utils.c
4370           libnm-util/nm-setting-wireless.c
4371           libnm-glib/nm-device-802-11-wireless.c
4372           libnm-glib/nm-access-point.c
4373           libnm-glib/libnm-glib-test.c
4374                 - include wireless-helper.h, not iwlib.h
4375
4376         * configure.in
4377                 - Don't need libiw really, just need to check for wireless.h
4378
4379         * src/kernel-types.h
4380                 - Remove; used types moved into wpa.c
4381
4382         * src/nm-device-802-11-wireless.c
4383                 - (nm_device_802_11_wireless_update_signal_strength,
4384                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4385                    nm_device_802_11_wireless_set_mode,
4386                    nm_device_802_11_wireless_get_frequency,
4387                    nm_device_802_11_wireless_get_ssid,
4388                    nm_device_802_11_wireless_set_ssid,
4389                    nm_device_802_11_wireless_get_bitrate,
4390                    nm_device_802_11_wireless_get_bssid,
4391                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4392                         instead of iwlib functions
4393
4394 2008-03-14  Dan Williams  <dcbw@redhat.com>
4395
4396         * src/ppp-manager/nm-ppp-manager.c
4397                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4398                         should only take the DBusGMethodInvocation argument, not user/pass
4399                         too.  With dbus-glib, async functions only take 2 C arguments since
4400                         the real dbus method arguments get passed back with
4401                         dbus_g_method_return()
4402
4403 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4404
4405         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4406         Adapt the changes of NMSettingIP4Config.
4407
4408 2008-03-13  Dan Williams  <dcbw@redhat.com>
4409
4410         * src/NetworkManagerUtils.c
4411           src/NetworkManagerUtils.h
4412                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4413
4414         * src/NetworkManagerAP.c
4415           src/nm-device-802-11-wireless.c
4416           src/nm-device-802-3-ethernet.c
4417                 - s/iw_ether_ntop/nm_ether_ntop/g
4418
4419 2008-03-13  Dan Williams  <dcbw@redhat.com>
4420
4421         * src/NetworkManagerPolicy.c
4422                 - (update_routing_and_dns): never set the default route through an
4423                         IPv4LL addressed device
4424
4425 2008-03-13  Dan Williams  <dcbw@redhat.com>
4426
4427         * NetworkManagerUtils.c
4428           NetworkManagerUtils.h
4429                 - Remove NMSock stuff
4430                 - Remove the completion stuff
4431
4432         * nm-device.c
4433           nm-device.h
4434           NetworkManager.c
4435           NetworkManagerSystem.c
4436           autoip.c
4437           nm-device-802-11-wireless.c
4438           nm-device-802-3-ethernet.c
4439                 - Remove NMSock and completion stuff
4440                 - Remove nm_ioctl_info()
4441
4442 2008-03-12  Dan Williams  <dcbw@redhat.com>
4443
4444         * src/nm-device.c
4445                 - (merge_ip4_config): avoid duplicates
4446
4447 2008-03-12  Dan Williams  <dcbw@redhat.com>
4448
4449         * libnm-util/nm-setting-ip4-config.c
4450           libnm-util/nm-setting-ip4-config.h
4451                 - Remove 'manual' and 'autoip' properties
4452                 - Add 'method' property
4453                 - (verify): fix verification with 'method'
4454                 - (finalize): free 'method'
4455                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4456                         up for 'method'
4457
4458         * src/nm-device.c
4459                 - (real_act_stage3_ip_config_start): check IP4Config method
4460                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4461                         the future
4462                 - (merge_ip4_config): IP settings are valid with DHCP too
4463                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4464                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4465
4466         * src/nm-device-802-11-wireless.c
4467                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4468                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4469                         only on demand
4470
4471         * system-settings/plugins/ifcfg-fedora/parser.c
4472           system-settings/plugins/ifcfg-suse/parser.c
4473                 - (make_ip4_setting): fix up for 'method'
4474
4475 2008-03-12  Dan Williams  <dcbw@redhat.com>
4476
4477         * system-settings/plugins/ifcfg-fedora/parser.c
4478           system-settings/plugins/ifcfg-fedora/parser.h
4479                 - (get_ifcfg_name): ignore more file suffixes
4480                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4481
4482 2008-03-12  Dan Williams  <dcbw@redhat.com>
4483
4484         * configure.in
4485                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4486
4487 2008-03-12  Dan Williams  <dcbw@redhat.com>
4488
4489         * system-settings/plugins/ifcfg-fedora/plugin.c
4490                 - (write_auto_wired_connection): new function; write out an auto
4491                         wired connection file since the applet isn't doing it any more
4492                 - (reload_all_connections): write out the auto wired connection file
4493                         if there aren't any wired connections already
4494                 - (init): don't leak a GError
4495
4496 2008-03-12  Dan Williams  <dcbw@redhat.com>
4497
4498         * src/nm-device-interface.c
4499                 - (nm_device_interface_activate): print the ID of the connection
4500                         that's about to be activated
4501
4502 2008-03-12  Dan Williams  <dcbw@redhat.com>
4503
4504         Harmonize the 802.11 bitrate API
4505
4506         * introspection/nm-access-point.xml
4507                 - 'Rate' -> 'MaxBitrate'; clarify units
4508
4509         * introspection/nm-device-802-11-wireless.xml
4510                 - Clarify units of 'Bitrate'
4511
4512         * src/NetworkManagerAP.c
4513           src/NetworkManagerAP.h
4514                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4515                         property to 'max-bitrate'
4516                 - (foreach_property_cb): convert rate to Kb/s
4517
4518         * src/nm-device-802-11-wireless.c
4519                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4520
4521         * libnm-glib/nm-access-point.c
4522           libnm-glib/nm-access-point.h
4523                 - 'rate' -> 'max-bitrate'
4524
4525         * test/nm-tool.c
4526           libnm-glib/libnm-glib-test.c
4527                 - Fix up for these changes
4528
4529 2008-03-12  Dan Williams  <dcbw@redhat.com>
4530
4531         * src/nm-device.c
4532                 - (nm_device_set_ip4_config): don't send property notifications when
4533                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4534                         which dbus-glib can't parse because the value is NULL, which isn't
4535                         a legal object path.  Setting the IP4 config to NULL is only
4536                         valid when deactivating a device anyway, so the device state change
4537                         will alert listeners that the ip4 config is invalid.
4538
4539 2008-03-12  Dan Williams  <dcbw@redhat.com>
4540
4541         * src/nm-properties-changed-signal.c
4542                 - (add_to_string): better handling of NULL objects
4543
4544 2008-03-12  Dan Williams  <dcbw@redhat.com>
4545
4546         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4547         convert the libnm-glib NMDevice8023Ethernet to cached properties
4548
4549         * introspection/nm-device-802-3-ethernet.xml
4550                 - New 'Carrier' property
4551                 - New 'PropertiesChanged' signal
4552
4553         * introspection/nm-device.xml
4554                 - Remove 'Carrier' property
4555                 - Remove 'CarrierChanged' signal
4556
4557         * src/nm-device-interface.c
4558           src/nm-device-interface.h
4559                 - (nm_device_interface_init): remove 'carrier' property and
4560                         'carrier-changed' signal
4561
4562         * src/nm-device.c
4563           src/nm-device.h
4564                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4565                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4566                         the link here; wired device will handle that
4567                 - (handle_dhcp_lease_change): don't bother updating link here
4568                 - (get_property, nm_device_class_init): remove carrier property
4569
4570         * src/nm-device-802-11-wireless.c
4571                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4572                         real_update_link(); wireless devices don't use carrier at all
4573                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4574                    supplicant_iface_connection_state_cb_handler,
4575                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4576
4577         * src/nm-device-802-3-ethernet.c
4578           src/nm-device-802-3-ethernet.h
4579                 - (nm_device_802_3_ethernet_carrier_on,
4580                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4581                         instead of nm_device_set_carrier()
4582                 - (device_state_changed): update link from sysfs on activation;
4583                         replaces real_update_link()
4584                 - (real_update_link): remove, replaced by device_state_changed()
4585                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4586                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4587                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4588                         new get_carrier function
4589                 - (get_property): add 'carrier' property
4590                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4591                         hook into property-changed signal helper
4592
4593         * src/NetworkManagerPolicy.c
4594                 - (device_carrier_changed): will only ever be called with a wired device
4595                 - (device_added): only hook up to carrier-changed for wired devices
4596
4597         * libnm-glib/nm-device.c
4598           libnm-glib/nm-device.h
4599                 - (constructor, nm_device_class_init): remove carrier-changed signal
4600                 - (device_carrier_changed_proxy): remove; unused
4601                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4602
4603         * libnm-glib/nm-device-802-3-ethernet.c
4604           libnm-glib/nm-device-802-3-ethernet.h
4605                 - Convert to cached properties like AP and Wireless objects
4606                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4607                         instead of a 'char *', return value should not be freed
4608                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4609                 - (constructor): hook into properties-changed helper
4610                 - (set_property, get_property): new functions
4611                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4612
4613         * test/nm-tool.c
4614                 - (detail_device): strdup the wired hardware address too since it's
4615                         cached now
4616
4617         * libnm-glib/libnm-glib-test.c
4618                 - (dump_wired): strdup the wired hardware address too since it's
4619                         cached now
4620
4621 2008-03-12  Dan Williams  <dcbw@redhat.com>
4622
4623         * libnm-util/nm-setting-ip4-config.c
4624           libnm-util/nm-setting-ip4-config.h
4625                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4626                         the 'autoip' property from the spec
4627
4628 2008-03-11  Dan Williams  <dcbw@redhat.com>
4629
4630         * src/backends/NetworkManagerGeneric.c
4631           src/backends/NetworkManagerGeneric.h
4632                 - (nm_generic_device_get_use_dhcp): remove
4633
4634 2008-03-11  Dan Williams  <dcbw@redhat.com>
4635
4636         * src/nm-device.c
4637                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4638                         already in nm_device_set_ip4_config()
4639                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4640                         due to a DHCP rebind fails
4641                 - (nm_device_set_ip4_config): send property notifications when the
4642                         ip4 config changes
4643                 - (get_property): only report IP4Config property during valid states
4644
4645         * src/NetworkManagerPolicy.c
4646                 - (update_routing_and_dns): ignore devices that don't have an ip4
4647                         config; add parameter 'force_update' to allow callers to specify
4648                         that changes should be made even if the default device doesn't change
4649                 - (device_ip4_config_changed): update DNS and routing when the device's
4650                         IP4Config changes, like for DHCP updates
4651                 - (device_added): listen for ip4-config property changes
4652
4653 2008-03-11  Dan Williams  <dcbw@redhat.com>
4654
4655         Fix address handling as a result of DHCP rebind/renew/reboot.
4656
4657         * src/NetworkManagerSystem.c
4658                 - (check_one_address): delete an address if it doesn't match a given
4659                         one for the same interface
4660                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4661                         be smarter about flushing addresses (only flush ones that don't
4662                         match the one we're about to apply)
4663
4664         * src/backends/NetworkManagerDebian.c
4665           src/backends/NetworkManagerSuSE.c
4666           src/backends/NetworkManagerArch.c
4667           src/backends/NetworkManagerSlackware.c
4668           src/backends/NetworkManagerRedHat.c
4669           src/backends/NetworkManagerPaldo.c
4670           src/backends/NetworkManagerFrugalware.c
4671           src/backends/NetworkManagerGentoo.c
4672                 - (nm_system_delete_default_route): remove
4673
4674         * src/backends/NetworkManagerGeneric.c
4675           src/backends/NetworkManagerGeneric.h
4676                 - (nm_generic_enable_loopback): fix the loopback device label
4677                 - (nm_generic_delete_default_route): remove; no longer used
4678
4679 2008-03-11  Dan Williams  <dcbw@redhat.com>
4680
4681         * src/nm-device-interface.h
4682                 - Delimit property name words with '-', otherwise g_object_notify()
4683                         doesn't work the way we expect
4684
4685 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4686
4687         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4688
4689 2008-03-11  Dan Williams  <dcbw@redhat.com>
4690
4691         * src/NetworkManagerPolicy.c
4692                 - (update_routing_and_dns): don't change anything if the default device
4693                         hasn't changed; print something out when switching the default route
4694                         and DNS
4695
4696 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4697
4698         Implement PPPoE.
4699
4700         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4701         setting. Use "nic-$eth".
4702
4703         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4704         the device is activating here to fix a race condition.
4705
4706         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4707
4708         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4709         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4710         (nm_ppp_manager_start): Take activation request instead of connection, we might
4711         need it for asking secrets.
4712         (nm_ppp_manager_update_secrets): Implement.
4713
4714         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4715         ppp manager start. It might be needed for asking secrets.
4716
4717         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4718         (ppp_state_changed): Handle pppd daemon disappearing.
4719         (pppoe_stage2_config): Send activation request to ppp manager start.
4720
4721         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4722
4723         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4724         username and password.
4725         
4726 2008-03-10  Dan Williams  <dcbw@redhat.com>
4727
4728         * src/nm-device.c
4729                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4730                         response to a DHCP lease change
4731                 - (dhcp_state_changed): handle DHCP lease changes while activated
4732                 - (nm_device_set_ip4_config): remove a previously set named config
4733                         when setting an ip4 config
4734
4735 2008-03-10  Dan Williams  <dcbw@redhat.com>
4736
4737         * src/nm-serial-device.c
4738                 - (nm_serial_device_send_command): report errno on error
4739                 - (get_reply_got_data): limit the size of the overall buffer
4740                 - (wait_for_reply_info_destroy): destroy result string
4741                 - (wait_for_reply_got_data): append received data to an overall buffer
4742                         until timeout, filled buffer, or error instead of keeping a per-call
4743                         buffer.  Some devices send data slowly enough that this function
4744                         gets called multiple times for the same command stream.
4745                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4746                         wait_for_reply_got_data() here
4747
4748 2008-03-10  Dan Williams  <dcbw@redhat.com>
4749
4750         * src/nm-cdma-device.c
4751                 - (do_dial, init_modem): handle errors from
4752                         nm_serial_device_send_command_string()
4753
4754         * src/nm-gsm-device.c
4755                 - (do_dial, manual_registration, automatic_registration_get_network,
4756                    automatic_registration, enter_pin, check_pin, init_modem): handle
4757                         errors from nm_serial_device_send_command_string()
4758
4759 2008-03-10  Dan Williams  <dcbw@redhat.com>
4760
4761         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4762
4763         * src/named-manager/nm-named-manager.c
4764                 - (compute_searches): prefer searches before domains
4765                 - (compute_domain): new function
4766                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4767                 - (merge_one_ip4_config): if there are no searches in the source config,
4768                         merge domains of the source config into the target config
4769                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4770
4771 2008-03-10  Dan Williams  <dcbw@redhat.com>
4772
4773         * src/nm-serial-device.c
4774                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4775                 - (wait_for_reply_got_data): try to handle slower serial devices where
4776                         the reply is broken up into multiple reads by concatenating replies
4777                         together until either an error is received or the search string is
4778                         found
4779
4780 2008-03-10  Dan Williams  <dcbw@redhat.com>
4781
4782         * src/nm-device.c
4783                 - (nm_device_bring_down): deactivate the device if it's activating too,
4784                         not just if it's already activated.  This makes sure that everything
4785                         from an association attempt is cleaned up (like DHCP for example)
4786
4787 2008-03-10  Dan Williams  <dcbw@redhat.com>
4788
4789         * src/nm-serial-device.c
4790                 - (config_fd): report error from TCSETA
4791                 - (nm_serial_device_open): fail when config_fd() fails
4792
4793 2008-03-10  Dan Williams  <dcbw@redhat.com>
4794
4795         * src/nm-ip4-config.c
4796                 - (nm_ip4_config_init): allocate searches list
4797                 - (finalize): free searches list
4798
4799 2008-03-09  Dan Williams  <dcbw@redhat.com>
4800
4801         Patch from Bas Zoetekouw <bas@debian.org>
4802
4803         * src/dhcp-manager/nm-dhcp-manager.c
4804                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4805
4806 2008-03-09  Dan Williams  <dcbw@redhat.com>
4807
4808         Patch from Bas Zoetekouw <bas@debian.org>
4809
4810         * src/nm-ip4-config.c
4811           src/nm-ip4-config.h
4812                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4813                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4814                         domains.  'searches' is the correct way to store multiple search
4815                         domains, whereas 'domains' is really just supposed to store one
4816                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4817                         search domains to the client.
4818                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4819
4820 2008-03-09  Dan Williams  <dcbw@redhat.com>
4821
4822         * src/dhcp-manager/nm-dhcp-manager.c
4823                 - (dhclient_run): send interface-specific config files to dhclient
4824
4825 2008-03-07  Dan Williams  <dcbw@redhat.com>
4826
4827         * system-settings/plugins/ifcfg-fedora/parser.c
4828                 - (is_wireless_device): new function; test a device for wireless
4829                         extensions
4830                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4831                         test the device for wireless extensions to determine the type
4832
4833 2008-03-07  Dan Williams  <dcbw@redhat.com>
4834
4835         Change manager's StateChange signal to StateChanged for consistency.
4836
4837         * introspection/nm-manager.xml
4838                 - Add 'StateChanged' signal
4839                 - Move 'StateChange' down to the deprecated section
4840
4841         * src/nm-hal-manager.c
4842                 - (nm_hal_manager_new): connect to 'state-changed' instead
4843
4844         * src/NetworkManagerPolicy.c
4845                 - (nm_policy_new): connect to 'state-changed' instead
4846
4847         * src/nm-manager.c
4848           src/nm-manager.h
4849                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4850                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4851                         of 'state-change'
4852
4853         * libnm-glib/nm-client.c
4854           libnm-glib/nm-client.h
4855                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4856                         track and proxy 'state-changed' instead of 'state-change'
4857
4858 2008-03-07  Dan Williams  <dcbw@redhat.com>
4859
4860         First pass of multiple active device support.  Expect bugs.
4861
4862         * src/nm-ip4-config.c
4863           src/nm-ip4-config.h
4864                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4865                         there are better ways to do this in the named manager
4866
4867         * src/nm-device.c
4868           src/nm-device.h
4869                 - (nm_device_can_activate): return whether the device can activate a
4870                         connection right now; taking into account things like carrier state
4871                         and rfkill state
4872                 - (nm_device_get_best_auto_connection): renamed from
4873                         nm_device_get_best_connection
4874                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4875                         device subclasses themselves, so that each device can override the
4876                         MTU from it's NMSetting subclass if needed
4877                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4878                         in NetworkManagerSystem.c, not here
4879
4880         * src/named-manager/nm-named-manager.c
4881           src/named-manager/nm-named-manager.h
4882                 - (nm_named_manager_name_owner_changed,
4883                    nm_named_manager_dbus_connection_changed): fix for changes to
4884                         rewrite_resolv_conf()
4885                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4886                         from parameter list
4887                 - (merge_one_ip4_config): new function; merge ip4 configs together
4888                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4889                         ip4 configs; the VPN config takes precedence, then the best
4890                         device config, then the rest of the configs
4891                 - (get_domain_for_config): take the NMNamedManager as an argument
4892                         to check whether the config is the VPN config
4893                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4894                         attribute from ip4 configs
4895                 - (add_all_ip4_configs_to_named): add all the configs in priority order
4896                 - (remove_ip4_config_from_named): fix for changes to
4897                         get_domain_for_config()
4898                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4899                         based on its type; callers must pass in the type now
4900                 - (get_last_default_domain): remove, unused
4901                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4902
4903         * src/nm-device-802-11-wireless.c
4904                 - (real_can_activate): new function
4905                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4906                 - (real_act_stage4_get_ip4_config): handle MTU override
4907
4908         * src/nm-device-802-3-ethernet.c
4909                 - (real_can_activate): new function
4910                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4911                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4912
4913         * src/vpn-manager/nm-vpn-connection.c
4914                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4915                         attribute on the ip4 config
4916
4917         * src/NetworkManagerPolicy.c
4918                 - (nm_policy_auto_get_best_device): remove
4919                 - (nm_policy_device_change_check): remove
4920                 - (update_default_route): new function; set the default route via
4921                         the specified device
4922                 - (get_device_priority): new function; return the priority number of
4923                         a device type WRT which one should have the default route.  Order is
4924                         (highest to lowest)  wired, wireless, GSM, CDMA.
4925                 - (update_routing_and_dns): new function; determine which device should
4926                         have the default route, then update the routing table and DNS
4927                 - (maybe_auto_activate_device): new function; if a device is now
4928                         available for activation, find out what connection it would like to
4929                         activate and do it
4930                 - (schedule_activate_check): new function; if a device can be activated
4931                         now, schedule the activation.  Each device may have only one
4932                         pending activation at a given time.
4933                 - (device_state_changed): if activation was canceled, try again,
4934                         possibly with another connection; if the device was activated,
4935                         update routing and DNS; if the device was deactivated, try again
4936                         with another connection
4937                 - (device_carrier_changed): if there is no carrier, deactivate the
4938                         device; otherwise schedule an activation check for the device
4939                 - (wireless_networks_changed): schedule an activation check for the
4940                         device
4941                 - (device_added): keep track of the signal handler IDs so they can
4942                         be removed when the device goes away
4943                 - (device_removed): remove any signal handlers that might be attached
4944                         to the device; update routing and DNS
4945                 - (schedule_activate_all): new function
4946                 - (connections_added, connection_added, connection_updated): when
4947                         connections change, schedule all devices for an activation check
4948                 - (connection_removed): when a device is deactivated because its
4949                         connection was removed, schedule another activation check for it
4950                 - (nm_policy_destroy): destroy pending activations and disconnect
4951                         all device signal handlers
4952
4953         * src/nm-manager.c
4954                 - (nm_manager_activate_device): if the device was already actived,
4955                         deactivate it
4956                 - (deactivate_old_device): remove
4957                 - (connection_added_default_handler, impl_manager_activate_device):
4958                         don't deactivate other devices when activating this one
4959
4960         * src/backends/NetworkManagerGentoo.c
4961           src/backends/NetworkManagerFrugalware.c
4962           src/backends/NetworkManagerPaldo.c
4963           src/backends/NetworkManagerRedHat.c
4964           src/backends/NetworkManagerSlackware.c
4965           src/backends/NetworkManagerArch.c
4966           src/backends/NetworkManagerSuSE.c
4967           src/backends/NetworkManagerDebian.c
4968                 - (nm_system_get_mtu): remove; MTU should be provided through the
4969                         distro's system settings service plugin instead
4970                 - (nm_system_device_add_default_route_via_device): remove
4971                 - (nm_system_device_add_default_route_via_device_with_iface): remove
4972                 - (nm_system_device_replace_default_route): new function; call
4973                         generic implementation
4974
4975         * src/backends/NetworkManagerGeneric.c
4976           src/backends/NetworkManagerGeneric.h
4977                 - (nm_generic_device_add_default_route_via_device,
4978                    nm_generic_device_add_default_route_via_device_with_iface): remove
4979                 - (nm_generic_device_replace_default_route): replace the default route
4980                         with the given route via some gateway
4981
4982         * src/NetworkManagerSystem.c
4983           src/NetworkManagerSystem.h
4984                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
4985                         to routing and DNS; but set the MTU here
4986                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
4987                         ip_iface of the active device; use the standard MTU setting function
4988                 - (nm_system_set_mtu): remove
4989                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
4990
4991 2008-03-07  Tambet Ingo  <tambet@gmail.com>
4992
4993         Rework the interaction between ppp manager and pppd plugin. Register a well
4994         known DBUS service in manager and let the plugin call it's methods instead
4995         of listening plugin's signals.
4996
4997         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
4998         of emitting signals.
4999
5000         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5001
5002         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5003
5004         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5005         nm_ppp_manager_start().
5006
5007         * introspection/nm-ppp-manager.xml: New file.
5008
5009         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5010         the case correctly where driver is trying to send -1 for the speed, which gets
5011         casted to u16 and thus is always > 0.
5012
5013 2008-03-07  Dan Williams  <dcbw@redhat.com>
5014
5015         * src/nm-hal-manager.c
5016                 - (nm_get_device_driver_name): use net.originating_device first, fall
5017                         back to physical device.  HAL has deprecated physical_device.
5018
5019         * libnm-glib/nm-device.c
5020                 - (get_product_and_vendor): use net.originating_device first, fall
5021                         back to physical device.  HAL has deprecated physical_device.
5022                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5023
5024 2008-03-07  Dan Williams  <dcbw@redhat.com>
5025
5026         * src/nm-netlink.c
5027                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5028                         last commit; fix that
5029                 - (get_link_cache): print error string
5030
5031 2008-03-07  Dan Williams  <dcbw@redhat.com>
5032
5033         * src/nm-netlink.c
5034                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5035                         don't need this hack any more (Benoit Boissinot)
5036
5037 2008-03-06  Dan Williams  <dcbw@redhat.com>
5038
5039         * autogen.sh
5040                 - Die gnome-common, die
5041
5042 2008-03-04  Dan Williams  <dcbw@redhat.com>
5043
5044         Patch from Michael Biebl <biebl@debian.org>
5045
5046         * NetworkManager.pc.in
5047                 - doesn't actually depend on dbus-1
5048
5049         * libnm-util/nm-utils.h
5050                 - remove unused #include <dbus/dbus.h>
5051
5052         * libnm-glib/libnm_glib.pc.in
5053                 - depends on glib and dbus-glib
5054
5055 2008-03-02  Dan Williams  <dcbw@redhat.com>
5056
5057         * src/NetworkManagerPolicy.c
5058                 - s/device_state_changed_idle_id/update_state_id/
5059
5060 2008-03-02  Dan Williams  <dcbw@redhat.com>
5061
5062         * src/nm-device.c
5063           src/nm-device.h
5064           src/nm-device-802-11-wireless.c
5065           src/nm-device-802-3-ethernet.c
5066           src/NetworkManagerPolicy.c
5067                 - s/link_active/carrier
5068                 - nm_device_set_active_link() -> nm_device_set_carrier()
5069                 - nm_device_has_active_link() -> nm_device_get_carrier()
5070
5071 2008-03-02  Dan Williams  <dcbw@redhat.com>
5072
5073         * system-settings/plugins/ifcfg-fedora/parser.c
5074                 - (make_wireless_setting): fail connection creation on missing SSID
5075
5076 2008-02-29  Dan Williams  <dcbw@redhat.com>
5077
5078         * src/NetworkManagerPolicy.c
5079                 - (nm_policy_device_change_check): ensure that a previously active
5080                         device with a system connection has a link before denying a switch
5081                         to a user connection
5082
5083 2008-02-29  Dan Williams  <dcbw@redhat.com>
5084
5085         * src/nm-device-802-11-wireless.c
5086                 - (link_timeout_cb): try again if scanning; deactivate the device when
5087                         activated if the link dies
5088                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5089                         15 seconds
5090
5091 2008-02-29  Dan Williams  <dcbw@redhat.com>
5092
5093         * src/nm-device-802-11-wireless.c
5094           src/nm-device-802-11-wireless.h
5095                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5096                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5097                 - (device_cleanup): reset the scan interval lower when the device
5098                         deactivates
5099                 - (can_scan): base decision mostly off device state, not supplicant
5100                         interface state since the supplicant interface state isn't a
5101                         great indicator of whether the device is active or not
5102                 - (request_wireless_scan): clean up; schedule the next scan here
5103                 - (schedule_scan): only back the scan interval off if a new scan
5104                         actually gets scheduled; and make scan intervals tighter when the
5105                         device is disconnected
5106                 - (supplicant_iface_state_cb_handler): fold in the bits of
5107                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5108                         interval to minimum
5109                 - (activation_success_handler): reset scan interval to something
5110                         reasonable 
5111
5112 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5113
5114         reviewed by: Steev <steev@steev.net>
5115
5116         * configure.in:
5117         * src/backends/NetworkManagerGentoo.c:
5118         (nm_system_restart_mdns_responder):
5119                 Howl is no longer a supported mDNS provider
5120
5121 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5122
5123         Get rid of a bunch of unused distro specific functions.
5124
5125 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5126
5127         Implement suse plugin for system settings daemon.
5128
5129         * system-settings/plugins/ifcfg-suse/*: Implement.
5130
5131         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5132         suse.
5133
5134         * configure.in: Check (without failing) for gio.
5135         Create ifcfg-suse plugin's Makefile.
5136
5137 2008-02-20  Dan Williams  <dcbw@redhat.com>
5138
5139         * libnm-util/nm-connection.c
5140           libnm-util/nm-connection.h
5141                 - (nm_connection_compare): accept compare flags and pass them to the
5142                         setting compare function
5143
5144         * libnm-util/nm-setting.c
5145           libnm-util/nm-setting.h
5146                 - (nm_setting_compare): accept compare flags; ignore properties that are
5147                         marked fuzzy
5148
5149         * libnm-util/nm-setting-connection.c
5150           libnm-util/nm-setting-wireless.c
5151           libnm-util/nm-setting-ppp.c
5152           libnm-util/nm-setting-wired.c
5153                 - Mark some setting properties as ignorable when doing a fuzzy compare
5154
5155         * src/nm-device.c
5156                 - (device_activation_precheck): use exact compare
5157
5158 2008-02-20  Dan Williams  <dcbw@redhat.com>
5159
5160         * src/NetworkManagerPolicy.c
5161                 - (nm_policy_device_change_check): get scope off the connection, not
5162                         using the manager helper
5163
5164         * src/nm-manager.c
5165           src/nm-manager.h
5166                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5167                 - (connection_get_settings_cb): set scope and path on connection, not
5168                         using GObject data items
5169                 - (get_connection_for_proxy): don't need to return path, since that
5170                         can be gotten from the connection
5171                 - (get_connection_for_proxy): get path off the connection, not from
5172                         parameters
5173                 - (connection_removed_cb, connection_updated_cb): don't need to get
5174                         path from get_connection_for_proxy(); get scope off the connection
5175                         instead of using GObject data items
5176                 - (connection_added_default_handler, add_one_connection_element): use
5177                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5178                 - (nm_manager_get_connection_dbus_path): remove
5179                 - (nm_manager_get_connection_scope): remove
5180
5181 2008-02-20  Dan Williams  <dcbw@redhat.com>
5182
5183         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5184                 on confusing names
5185
5186         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5187                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5188                 NMExportedConnection
5189
5190         * Internally rename NMConnectionType -> NMConnectionScope
5191
5192         * Provide default implementations of the 'get_id' and 'get_settings' methods
5193                 of NMExportedConnection
5194
5195 2008-02-15  Dan Williams  <dcbw@redhat.com>
5196
5197         * src/nm-device-802-11-wireless.c
5198                 - (device_cleanup): release the AP list here too so that the AP list
5199                         doesn't survive across suspend/resume and up/down.  There is some
5200                         room for optimization, for example blow the list away when the card
5201                         brought back up, but only if the device has only been down for a
5202                         minute or more.
5203
5204 2008-02-15  Dan Williams  <dcbw@redhat.com>
5205
5206         * src/nm-hal-manager.c
5207                 - (modem_device_creator): recognize new HAL modem capabilities
5208
5209 2008-02-12  Dan Williams  <dcbw@redhat.com>
5210
5211         * system-settings/plugins/ifcfg-fedora/plugin.c
5212                 - (watch_path): handle IN_DELETE_SELF too
5213                 - (handle_connection_changed): notify when removing a connection
5214                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5215                         case of a file moving out of the profile directory
5216
5217 2008-02-12  Dan Williams  <dcbw@redhat.com>
5218
5219         * system-settings/plugins/ifcfg-fedora/parser.c
5220                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5221
5222 2008-02-12  Dan Williams  <dcbw@redhat.com>
5223
5224         * libnm-util/nm-utils.c
5225                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5226                         just any empty array
5227
5228 2008-02-12  Dan Williams  <dcbw@redhat.com>
5229
5230         * system-settings/src/nm-system-config-interface.c
5231           system-settings/src/nm-system-config-interface.h
5232                 - (load_connections): get_connections() should now return an allocated
5233                         GSList that the system settings service will free
5234
5235         * system-settings/plugins/ifcfg-fedora/plugin.c
5236           system-settings/plugins/ifcfg-fedora/parser.h
5237           system-settings/plugins/ifcfg-fedora/parser.c
5238                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5239                         in the profile directory, handle resolv.conf file changes
5240
5241 2008-02-10  Dan Williams  <dcbw@redhat.com>
5242
5243         * src/nm-device-802-3-ethernet.c
5244                 - (real_bring_up): save the supplicant interface state signal id
5245                 - (real_bring_down): disconnect from the supplicant interface state
5246                         signal
5247
5248 2008-02-07  Dan Williams  <dcbw@redhat.com>
5249
5250         * initscript/RedHat/NetworkManager.in
5251           initscript/RedHat/NetworkManagerDispatcher.in
5252                 - Add new-style LSB init headers
5253
5254 2008-02-07  Dan Williams  <dcbw@redhat.com>
5255
5256         * system-settings/src/dbus-settings.c
5257           system-settings/src/dbus-settings.h
5258                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5259                         table of secrets
5260                 - (connection_settings_get_secrets): consolidate error returns into
5261                         one place; use the new get_secrets() plugin interface function to
5262                         get secrets from the plugin itself rather than using GObject data
5263                         magic
5264
5265         * system-settings/src/main.c
5266                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5267                    load_connections): keep a private list of the plugin-returned
5268                         connections, don't use the plugin's GSList
5269
5270         * system-settings/plugins/ifcfg-fedora/plugin.c
5271                 - (watch_path): watch the path, not the filename (duh)
5272                 - (reload_all_connections): use the direct hash/equal functions; the
5273                         ones for int aren't appropriate here
5274                 - (get_secrets, system_config_interface_init): implement the
5275                         get_secrets() function
5276                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5277                         now in the connection's ConnectionData instead of being a GObject
5278                         data property
5279                 - (handle_profile_item_changed): ifcfg file path is now in the
5280                         connection's ConnectionData instead of being a GObject data property;
5281                         be sure to copy secrets over from the new connection to the existing
5282                         connection when updating the connection's settings
5283                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5284                         file descriptor
5285
5286         * system-settings/plugins/ifcfg-fedora/parser.c
5287           system-settings/plugins/ifcfg-fedora/parser.h
5288                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5289                    connection_data_copy_secrets, connection_data_free,
5290                    connection_data_add): new functions; connection data manipulation
5291                 - (make_wireless_security_setting): stuff secrets into the
5292                         connection data, not as GObject data items; make sure to close
5293                         the keys ifcfg file
5294                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5295                         connection data to the connection
5296
5297 2008-02-07  Dan Williams  <dcbw@redhat.com>
5298
5299         * system-settings/src/nm-system-config-interface.c
5300           system-settings/src/nm-system-config-interface.h
5301                 - Add a get_secrets() interface function to retrieve secrets for a
5302                         specific setting of a specific connection.  Document the interface
5303                         a bit more too.
5304
5305 2008-02-07  Dan Williams  <dcbw@redhat.com>
5306
5307         * src/nm-device-802-11-wireless.c
5308                 - (handle_auth_or_fail): new function; consolidate device activation
5309                         failure check after a certain number of failures getting secrets
5310                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5311                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5312                         the connection if secrets were requested more than a few times
5313                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5314                         tries here; otherwise they are cleared before the IP configure
5315                         timeout, which happens with open system WEP when key is wrong
5316                 - (activation_success_handler): clear wireless secrets tries here too
5317
5318 2008-02-07  Dan Williams  <dcbw@redhat.com>
5319
5320         * src/NetworkManagerPolicy.c
5321                 - (connection_updated): clear invalid tag when connection gets updated
5322                         to allow that connection to be tried again
5323                 - (nm_policy_new): save signal ids so they can be disconnected when
5324                         the policy is destroyed
5325                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5326                         and disconnect all signals from the manager object so that none
5327                         of the policy functions gets called after the policy is destroyed
5328
5329 2008-02-06  Dan Williams  <dcbw@redhat.com>
5330
5331         * src/nm-manager.c
5332                 - (finalize): remove devices a bit earlier; clean up system settings
5333                         poke
5334                 - (nm_manager_name_owner_changed): clean up system settings poke when
5335                         the service appears, and try to restart it if it fails
5336                 - (poke_system_settings_daemon_cb): try to get the system settings
5337                         service started through D-Bus service activation
5338                 - (initial_get_connections): start the system settings daemon if it's
5339                         not already running
5340
5341 2008-02-05  Dan Williams  <dcbw@redhat.com>
5342
5343         * src/supplicant-manager/nm-supplicant-config.c
5344                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5345                         broadcast networks too
5346
5347 2008-02-04  Dan Williams  <dcbw@redhat.com>
5348
5349         * system-settings/plugins/ifcfg-fedora/parser.c
5350                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5351                         need key_mgmt set too
5352                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5353                         .bak files; ensure that an error is set whenever NULL gets returned
5354
5355 2008-02-04  Dan Williams  <dcbw@redhat.com>
5356
5357         * system-settings/src/Makefile.am
5358                 - Install D-Bus service activation file for the system settings
5359                         service
5360
5361         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5362                 - D-Bus service activation file for system settings service
5363
5364 2008-02-04  Dan Williams  <dcbw@redhat.com>
5365
5366         * system-settings/src/main.c
5367                 - (parse_config_file): parse a config file
5368                 - (main): accept --config option and read plugins from config file
5369
5370 2008-02-04  Dan Williams  <dcbw@redhat.com>
5371
5372         * system-settings/plugins/ifcfg-fedora/plugin.c
5373                 - Change reported name to 'ifcfg-fedora'
5374                 - Use IFCFG_PLUGIN_NAME
5375
5376         * system-settings/plugins/ifcfg-fedora/plugin.c
5377                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5378
5379 2008-02-04  Dan Williams  <dcbw@redhat.com>
5380
5381         * system-settings/plugins/ifcfg-fedora/parser.c
5382                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5383                 - (make_connection_setting): use get_ifcfg_name()
5384                 - (make_wireless_security_setting): handle shadow key files
5385                 - (get_one_wep_key): treat empty string as NULL
5386
5387 2008-02-04  Dan Williams  <dcbw@redhat.com>
5388
5389         * src/supplicant-manager/nm-supplicant-manager.c
5390                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5391                         glib automatically reschedule
5392                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5393                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5394                         the supplicant
5395
5396 2008-02-01  Dan Williams  <dcbw@redhat.com>
5397
5398         * src/NetworkManagerPolicy.c
5399                 - (device_state_changed): schedule a change check when a device gets
5400                         deactivated so something happens if you disconnect GSM/CDMA
5401
5402 2008-01-31  Dan Williams  <dcbw@redhat.com>
5403
5404         * src/nm-device-802-11-wireless.h
5405           src/nm-device-802-11-wireless.c
5406                 - (ap_list_get_ap_by_ssid, is_associated,
5407                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5408                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5409                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5410                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5411                         function
5412
5413 2008-01-30  Dan Williams  <dcbw@redhat.com>
5414
5415         * system-settings/plugins/ifcfg
5416         * system-settings/plugins/ifcfg-fedora
5417                 - Move the ifcfg plugin to ifcfg-fedora
5418
5419 2008-01-24  Dan Williams  <dcbw@redhat.com>
5420
5421         * libnm-glib/nm-device-802-11-wireless.c
5422                 - (get_access_point): move the "/" check here; check for invalid path
5423                         too
5424                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5425                         to get_access_point()
5426                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5427                         to send signals for non-existent access points
5428
5429 2008-01-24  Dan Williams  <dcbw@redhat.com>
5430
5431         * libnm-glib/nm-device-802-11-wireless.c
5432                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5433
5434 2008-01-23  Dan Williams  <dcbw@redhat.com>
5435
5436         * libnm-glib/libnm_glib.c
5437                 - (libnm_glib_init): make thread joinable
5438                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5439
5440 2008-01-23  Dan Williams  <dcbw@redhat.com>
5441
5442         * test/libnm_glib_test.c
5443                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5444                 - (main): set up signal handlers; call libnm_glib_shutdown
5445
5446 2008-01-21  Dan Williams  <dcbw@redhat.com>
5447
5448         * include/NetworkManager.h
5449                 - Add CDMA mobile broadband card device type
5450
5451         * src/nm-hal-manager.c
5452                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5453                         must now be tagged with 'cdma' or 'gsm' capability
5454
5455         * src/nm-cdma-device.c
5456           src/nm-cdma-device.h
5457           src/Makefile.am
5458                 - Add the CDMA mobile broadband card device class
5459
5460         * libnm-util/nm-connection.c
5461                 - (register_default_settings): add NMSettingCdma
5462
5463         * libnm-util/nm-setting-cdma.c
5464           libnm-util/nm-setting-cdma.h
5465           libnm-util/Makefile.am
5466                 - Add the CDMA mobile broadband card setting class
5467
5468         * libnm-glib/nm-cdma-device.c
5469           libnm-glib/nm-cdma-device.h
5470           libnm-glib/Makefile.am
5471                 - Add the CDMA mobile broadband card GLib proxy class
5472
5473         * libnm-glib/nm-client.c
5474                 - (get_device): handle CDMA devices too
5475
5476 2008-01-21  Dan Williams  <dcbw@redhat.com>
5477
5478         * src/ppp-manager/nm-ppp-manager.c
5479                 - (ip4_config_get): set peer address too
5480
5481         * src/ppp-manager/nm-pppd-plugin.c
5482                 - (nm_ip_up): try harder to get the peer's address
5483
5484         * src/NetworkManagerSystem.c
5485                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5486                         address, use that too.  Otherwise, some PPP connections won't work.
5487
5488 2008-01-19  Dan Williams  <dcbw@redhat.com>
5489
5490         * src/NetworkManagerPolicy.c
5491                 - (nm_policy_device_change_check): system connections override user
5492                         connections; don't activate a user connection if there's a currently
5493                         active system connection, and new, better system connections always
5494                         interrupt user connections
5495
5496 2008-01-19  Dan Williams  <dcbw@redhat.com>
5497
5498         * src/nm-manager.h
5499                 - (nm_manager_get_connection_type): new function
5500
5501 2008-01-19  Dan Williams  <dcbw@redhat.com>
5502
5503         * src/nm-device-802-11-wireless.c
5504                 - (real_get_best_connection): collapse find_best_connection() into this
5505                         function
5506
5507 2008-01-19  Dan Williams  <dcbw@redhat.com>
5508
5509         * src/nm-device-802-3-ethernet.c
5510                 - (real_get_best_connection): collapse find_best_connection() into this
5511                         function
5512
5513 2008-01-18  Dan Williams  <dcbw@redhat.com>
5514
5515         * src/nm-device-802-3-ethernet.c
5516                 - (find_best_connection): check MAC address too
5517                 - (real_get_best_connection): let autoconnect=True connections activate
5518                         for devices that don't have carrier detection
5519
5520         * src/nm-device-802-11-wireless.c
5521                 - (find_best_connection): check MAC address too
5522
5523 2008-01-18  Dan Williams  <dcbw@redhat.com>
5524
5525         * system-settings/plugins/ifcfg/parser.c
5526                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5527
5528 2008-01-17  Dan Williams  <dcbw@redhat.com>
5529
5530         * src/nm-device-802-3-ethernet.c
5531                 - (nm_device_802_3_ethernet_carrier_on,
5532                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5533                         carrier events that might come in for devices that don't support
5534                         carrier detect
5535
5536 2008-01-17  Dan Williams  <dcbw@redhat.com>
5537
5538         * src/nm-device-interface.c
5539                 - (nm_device_interface_check_connection_conflicts): need to actually
5540                         get the interface, not cast to the object
5541
5542         * src/nm-device.c
5543                 - (nm_device_check_connection_conflicts): need to get the device class,
5544                         not cast the device to the device class
5545
5546 2008-01-17  Dan Williams  <dcbw@redhat.com>
5547
5548         * src/nm-device-802-11-wireless.c
5549                 - (real_check_connection_conflicts): ignore connections that aren't
5550                         wireless connections
5551
5552 2008-01-17  Dan Williams  <dcbw@redhat.com>
5553
5554         * src/NetworkManagerPolicy.c
5555                 - (nm_policy_device_change_check): clear change check idle here
5556                 - (device_change_check_done): remove
5557                 - (schedule_change_check): simplify
5558
5559 2008-01-17  Dan Williams  <dcbw@redhat.com>
5560
5561         * src/nm-manager.c
5562                 - (check_connection_allowed): take an NMDeviceInterface instead of
5563                         an NMDevice object as an argument
5564                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5565                         check_connection_allowed()
5566
5567 2008-01-13  Dan Williams  <dcbw@redhat.com>
5568
5569         * libnm-glib/nm-device-802-11-wireless.c
5570                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5571
5572 2008-01-12  Dan Williams  <dcbw@redhat.com>
5573
5574         * src/nm-device-802-11-wireless.c
5575                 - (activation_success_handler): if a match was found in the scan list
5576                         and that match is a hidden AP, update that AP's SSID
5577
5578 2008-01-11  Dan Williams  <dcbw@redhat.com>
5579
5580         * src/NetworkManagerAP.c
5581                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5582
5583         * src/nm-device-802-11-wireless.c
5584                 - (get_active_ap): do two passes over the scan list if the caller
5585                         requests that hidden APs get matched too; during the second pass
5586                         when matching hidden APs, ignore the SSID since hidden APs in the
5587                         scan list don't have an SSID yet
5588                 - (periodic_update): move some checks to
5589                         nm_device_802_11_periodic_update() because not all callers need them
5590                 - (nm_device_802_11_periodic_update): move some checks here from
5591                         perodic_update()
5592                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5593                         matching on incoming scan results, because the fake AP's flags
5594                         might be slightly different (yet still compatible) with the incoming
5595                         scan result's flags and they might actually be the same AP; update
5596                         the rate on merged APs too
5597                 - (activation_success_handler): update the frequency of the fake AP
5598                         on successful connection; match hidden APs too since if the
5599                         current AP is fake, there might already be a scan result in the
5600                         scan list for the desired AP, just without it's SSID filled in yet
5601
5602 2008-01-10  Dan Williams  <dcbw@redhat.com>
5603
5604         * src/NetworkManagerAP.c
5605                 - (foreach_property_cb): catch more hidden SSID formats
5606
5607 2008-01-10  Dan Williams  <dcbw@redhat.com>
5608
5609         Fix gnome.org #464215.  Requires the kernel patch titled
5610         "Introduce WEXT scan capabilities" but will handle the patch not being
5611         present, you'll just continue to have problems with hidden SSIDs when
5612         using mac80211-based drivers.
5613
5614         * src/supplicant-manager/nm-supplicant-config.h
5615           src/supplicant-manager/nm-supplicant-config.c
5616                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5617                         whether the driver supports SSID scans or not.  If it does, and if
5618                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5619
5620         * src/nm-device-802-11-wireless.c
5621                 - (constructor): check whether or not the driver supports SSID scans
5622                 - (build_supplicant_config): pass driver SSID scan capability when
5623                         building the wireless bits of the supplicant config
5624
5625 2008-01-09  Dan Williams  <dcbw@redhat.com>
5626
5627         * src/nm-device.c
5628           src/nm-device.h
5629                 - (device_activation_precheck, check_connection_complete): remove this
5630                         virtual function; incomplete connections should be invalid by
5631                         definition, complete-ness should be checked in the setting's
5632                         verify function
5633
5634         * src/nm-serial-device.c
5635           src/nm-gsm-device.c
5636                 - (real_check_connection_complete): remove
5637
5638         * libnm-util/nm-setting-serial.c
5639                 - (verify): new function; ensure there is a PPP setting too
5640
5641         * libnm-util/nm-setting-gsm.c
5642                 - (verify): ensure there is a serial setting too
5643
5644 2008-01-06  Dan Williams  <dcbw@redhat.com>
5645
5646         * src/dhcp-manager/nm-dhcp-manager.c
5647                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5648                         (gnome.org #332953)
5649
5650 2008-01-04  Dan Williams  <dcbw@redhat.com>
5651
5652         * src/named-manager/nm-named-manager.c
5653                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5654                         nameservers if the secondary config doesn't have any
5655                         (gnome.org #346833)
5656
5657 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5658
5659         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5660         with G_PARAM_CONSTRUCT so that they get the default values.
5661
5662         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5663         the monitoring device and prints out the output for now. Or more precicely, doesn't
5664         do absolutely anything right now since the montoring device argument is never set.
5665
5666         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5667         requires it's own knob to turn it on.
5668         (config_fd): Add NMSettingSerial to the arguments list.
5669         (nm_serial_device_open): Ditto.
5670         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5671         (nm_serial_device_get_io_channel): Implement.
5672
5673         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5674         a new reference every time (and forgetting to release it sometimes) is a pain and
5675         it's not like NMManager could work without dbus.
5676         (nm_manager_add_device): Register the added device on dbus here.
5677
5678         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5679         device.
5680
5681         * src/nm-device.c (constructor): Don't export the device here, instead export
5682         it when it's added to the NMManager's device list.
5683
5684 2007-12-31  Dan Williams  <dcbw@redhat.com>
5685
5686         * src/nm-device-interface.c
5687           src/nm-device-interface.h
5688                 - (nm_device_interface_check_connection_conflicts): new function
5689
5690         * src/nm-device.c
5691           src/nm-device.h
5692                 - (nm_device_check_connection_conflicts): new function
5693                 - (device_activation_precheck): don't require subclasses to implement
5694                         check_connection_complete()
5695                 - check_connection() -> check_connection_complete()
5696
5697         * src/nm-device-802-11-wireless.c
5698                 - (real_check_connection): remove; unused
5699                 - (real_check_connection_conflicts): implement, handle lockdown for
5700                         system connections
5701
5702         * src/nm-device-802-3-ethernet.c
5703                 - (real_check_connection): remove; unused
5704
5705         * src/nm-manager.c
5706                 - (check_connection_allowed): new function
5707                 - (nm_manager_activate_device): ensure the connection being requested
5708                         is allowed to be activated
5709
5710         * src/nm-serial-device.c
5711           src/nm-gsm-device.c
5712                 - real_check_connection() -> real_check_connection_complete()
5713
5714 2007-12-27  Dan Williams  <dcbw@redhat.com>
5715
5716         * src/nm-device-interface.c
5717           src/nm-device-interface.h
5718                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5719                         normalize and expand errors
5720                 - (nm_device_interface_init): register errors so they can be marshalled
5721                         through dbus-glib
5722                 - (nm_device_interface_activate): ensure that failure of activation
5723                         returns an error
5724
5725         * src/nm-device.c
5726           src/nm-device.h
5727                 - (device_activation_precheck): implementations of check_connection()
5728                         now take a GError and must fill it in if the check fails.  Return
5729                         more descriptive error if the requested connection is already
5730                         activating
5731                 - (nm_device_activate): actually try to return descriptive errors on
5732                         failures
5733
5734         * src/nm-device-802-11-wireless.c
5735           src/nm-device-802-3-ethernet.c
5736           src/nm-serial-device.c
5737           src/nm-gsm-device.c
5738                 - (real_check_connection): return more descriptive errors on failure
5739
5740         * src/NetworkManagerPolicy.c
5741                 - (nm_policy_device_change_check): print activation errors in the logs
5742
5743         * src/nm-manager.c
5744                 - (nm_manager_error_quark, nm_manager_error_get_type,
5745                    nm_manager_class_init): new errors
5746                 - (nm_manager_activate_device): handle errors
5747                 - (nm_manager_error_new): removed
5748                 - (wait_for_connection_expired, connection_added_default_handler,
5749                    impl_manager_activate_device): better error handling
5750
5751 2007-12-27  Dan Williams  <dcbw@redhat.com>
5752
5753         Fixes gnome.org #466954
5754
5755         * src/supplicant-manager/nm-supplicant-settings-verify.c
5756                 - Allow 'frequency' network property
5757
5758         * src/supplicant-manager/nm-supplicant-config.c
5759           src/supplicant-manager/nm-supplicant-config.h
5760                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5761                         for callers to specify the frequency an Ad-Hoc network should operate
5762                         on.  Some drivers require this to successfully create an Ad-Hoc
5763                         network.
5764
5765         * src/nm-device-802-11-wireless.c
5766                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5767                         guint32 value in MHz
5768                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5769                         iw_freq_to_uint32()
5770                 - (find_supported_frequency): new function; find a free supported
5771                         frequency for a user-created Ad-Hoc network
5772                 - (build_supplicant_config): if no frequency was specified for a user-
5773                         created Ad-Hoc network, find a free one to use
5774                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5775                         a specific object as user-created
5776
5777 2007-12-27  Dan Williams  <dcbw@redhat.com>
5778
5779         * libnm-util/nm-utils.c
5780           libnm-util/nm-utils.h
5781                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5782                         for adhoc networks
5783
5784 2007-12-24  Dan Williams  <dcbw@redhat.com>
5785
5786         * libnm-util/nm-setting-wireless.c
5787                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5788                         185, 187, 188, 192, and 196
5789
5790 2007-12-24  Dan Williams  <dcbw@redhat.com>
5791
5792         * src/nm-device-802-11-wireless.c
5793                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5794                         a channel # instead of a frequency
5795
5796 2007-12-24  Dan Williams  <dcbw@redhat.com>
5797
5798         * src/NetworkManagerAP.c
5799           src/NetworkManagerAP.h
5800                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5801                 - (freq_to_channel): handle split band tables
5802                 - (channel_to_freq): handle split band tables, take a band argument
5803
5804 2007-12-24  Dan Williams  <dcbw@redhat.com>
5805
5806         * libnm-util/nm-setting-connection.h
5807           libnm-util/nm-setting-connection.c
5808                 - Add 'lockdown' member
5809
5810 2007-12-22  Dan Williams  <dcbw@redhat.com>
5811
5812         * libnm-util/nm-setting-wireless.c
5813                 - (nm_setting_wireless_class_init): add missing 'rate' property
5814                         specification
5815
5816 2007-12-18  Dan Williams  <dcbw@redhat.com>
5817
5818         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5819
5820         * src/nm-netlink-monitor.c
5821           src/nm-netlink-monitor.h
5822                 - Remove handrolled netlink, use libnl instead
5823
5824         * src/nm-device-802-3-ethernet.c
5825                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5826                    nm_device_802_3_ethernet_carrier_on): use new names
5827
5828 2007-12-17  Dan Williams  <dcbw@redhat.com>
5829
5830         * configure.in
5831                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5832                         and fixes memory leaks)
5833
5834         * src/nm-netlink.c
5835                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5836                         automatically handle the netlink PID
5837
5838 2007-12-17  Dan Williams  <dcbw@redhat.com>
5839
5840         Patch from Michael Biebl <biebl@debian.org>
5841
5842         * configure.in
5843           src/ppp-manager/Makefile.am
5844                 - fix up install dir of pppd plugin
5845                 - clean up configure.in a bit
5846
5847 2007-12-12  Dan Williams  <dcbw@redhat.com>
5848
5849         * system-settings/src/nm-system-settings.conf
5850                 - Allow non-root clients (like the applet) to read settings
5851
5852 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5853
5854         * Replace all occurences of 'UMTS' with 'GSM'.
5855
5856 2007-12-07  Dan Williams  <dcbw@redhat.com>
5857
5858         * src/nm-serial-device.c
5859                 - (real_is_up): serial devices are always "up"
5860
5861 2007-12-07  Dan Williams  <dcbw@redhat.com>
5862
5863         * src/nm-netlink.c
5864           src/NetworkManagerSystem.c
5865                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5866                         twice (gnome.org #491047)
5867                 - Make more robust against allocation-related failures should they occur
5868
5869 2007-12-07  Dan Williams  <dcbw@redhat.com>
5870
5871         Noticed by Christian Persch <chpe@gnome.org>
5872
5873         Always chain up to parent object in dispose and finalize handlers.
5874                 (gnome.org #433112)
5875
5876 2007-12-07  Dan Williams  <dcbw@redhat.com>
5877
5878         * src/nm-device-802-11-wireless.c
5879                 - Wrap #include of linux/mii.h to fix redefined structures due to
5880                         incorrect kernel headers (gnome.org #350061)
5881
5882 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5883
5884         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5885         before doing anything else.
5886         (init_modem): Move modem initialization here.
5887
5888         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5889         (nm_serial_device_flash): Implement.
5890
5891         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5892         changes signal is "StateChanged" and not "Status".
5893         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5894
5895 2007-12-06  Dan Williams  <dcbw@redhat.com>
5896
5897         * src/supplicant-manager/nm-supplicant-config.c
5898                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5899                         to only send some options when they make sense; also send phase2
5900                         option to the supplicant (possible fix for rh #399631)
5901
5902 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5903
5904         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5905         arguments: This whole file shouldn't really know anything about NMDevices, it
5906         should deal only with device interfaces. Devices might have different ifaces for
5907         different stuff and this place shouldn't know anything about it.
5908
5909         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5910         (global_state_changed): Implement. In the current NM it's not really important,
5911         but will be required in the case of multiple active devices. (Or even better,
5912         if stuff like that gets moved out from NM).
5913
5914         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5915         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
5916         instead.
5917
5918         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5919         devices like serial devices (ttyS0 and ppp0 for example).
5920         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5921         set.
5922         (nm_device_set_ip_iface): Implement.
5923         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5924         after setting ip4_config from here ...
5925         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5926         than this function should call nm_system_device_set_from_ip4_config() because no
5927         other code has enough information on which arguments to use. So instead, other code
5928         could just set the new ip4 config using this function and everyone is happy.
5929
5930         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5931         if we happen to get deactivated while something is pending.
5932         (automatic_registration): Handle the response that indicates pending network
5933         registration and wait until the pending registration is done.
5934         (real_deactivate_quickly): If there's a pending operation, cancel it.
5935
5936         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
5937         (real_deactivate_quickly): ... and remove it when it's down.
5938         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
5939         it if needed.
5940         (nm_serial_device_wait_for_reply): Ditto.
5941
5942 2007-12-05  Tambet Ingo  <tambet@gmail.com>
5943
5944         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
5945         (get_network_done): Remove newline, nm_info() does it already.
5946         (real_act_stage1_prepare): Turn the modem echo off.
5947
5948         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
5949         device, set the route to the device interface. This is a hack.
5950
5951         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
5952         return, no need for a new-line.
5953         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
5954         Change the device iface here (ugh).
5955         (real_act_stage4_get_ip4_config): Implement.
5956         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
5957         Restore the device iface.
5958
5959         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
5960         device is not wired or wireless (eg, automatically upped) device.
5961
5962         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
5963         it isn't.
5964         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
5965
5966         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
5967         before calling it's is_device_fn().
5968
5969 2007-12-05  Dan Williams  <dcbw@redhat.com>
5970
5971         * libnm-util/nm-utils.c
5972                 - (nm_utils_register_value_transformations,
5973                    nm_utils_convert_gvalue_hash_to_string): better debug output of
5974                         GHashTables of GValues too
5975
5976 2007-12-04  Dan Williams  <dcbw@redhat.com>
5977
5978         * initscript/RedHat/NetworkManager.in
5979                 - No longer start named; it's D-Bus interface is going away
5980
5981 2007-12-04  Dan Williams  <dcbw@redhat.com>
5982
5983         Patch from Michael Biebl <biebl@debian.org>
5984
5985         * system-settings/plugins/ifcfg/Makefile.am
5986           system-settings/src/main.c
5987           system-settings/src/Makefile.am
5988                 - Put system settings plugins in NM plugins dir
5989
5990         * src/ppp-manager/Makefile.am
5991           src/ppp-manager/nm-ppp-manager.c
5992                 - Move pppd plugin to NM plugins dir
5993
5994 2007-12-04  Dan Williams  <dcbw@redhat.com>
5995
5996         * libnm-util/nm-setting-vpn-properties.h
5997                 - Clarify usage of the 'data' member of the setting
5998
5999         * libnm-util/nm-setting-vpn-properties.c
6000                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6001                 - (set_property): just remove all the settings; don't recreate the has
6002                 - (update_one_secret): don't need to create the hash table here since
6003                         it should always be present
6004
6005 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6006
6007         Implement PIN and PUK requesting.
6008
6009         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6010         (enter_pin): Handle PIN and PUK requests.
6011         (real_act_stage1_prepare): Clear the secret type.
6012         (real_connection_secrets_updated): Implement this class method to get
6013         notified when new secrets arrive.
6014         (nm_umts_device_class_init): Add private data back to the umts device class
6015         to store the required secret type.
6016
6017 2007-12-01  Dan Williams  <dcbw@redhat.com>
6018
6019         * system-settings/plugins/ifcfg/parser.c
6020                 - (parser_parse_file): don't try to verify NULL connections
6021
6022 2007-12-01  Dan Williams  <dcbw@redhat.com>
6023
6024         * system-settings/src/main.c
6025                 - (load_connections, add_connection_to_settings): actually export
6026                         plugin-provided connections over D-Bus so NM can get them
6027
6028 2007-12-01  Dan Williams  <dcbw@redhat.com>
6029
6030         * system-settings/plugins/ifcfg/parser.c
6031           system-settings/plugins/ifcfg/parser.h
6032           system-settings/plugins/ifcfg/plugin.c
6033                 - Hook up more inotify bits (untested)
6034
6035 2007-11-29  Dan Williams  <dcbw@redhat.com>
6036
6037         * system-settings/src/nm-system-config-interface.h
6038           system-settings/src/nm-system-config-interface.c
6039                 - (nm_system_config_interface_init,
6040                    nm_system_config_interface_get_connections): add
6041
6042         * system-settings/src/main.c
6043                 - (load_plugins, load_connections, main): use a GSList for plugins
6044                         to ensure priority ordering
6045
6046         * system-settings/plugins/ifcfg/parser.c
6047                 - (ifcfg_error_quark): move to plugin.c, and rename
6048
6049         * system-settings/plugins/ifcfg/plugin.h
6050           system-settings/plugins/ifcfg/plugin.c
6051                 - (ifcfg_plugin_error_quark): move here from parser.c
6052                 - rework connection loading and initialization
6053                 - Add preliminary inotify support for network profile config file
6054
6055 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6056
6057         Merge the beginnings of the new GSM card support.
6058
6059         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6060         ppp watch source before killing pppd - If this happens from g_object_unref()
6061         then the ppp manager is already destroyed by the time the watch callback runs.
6062
6063         * src/nm-hal-manager.c: Add a device_type_name string to the device
6064         creators, so that we can print a nice human readable string when a
6065         device is added.
6066
6067         * src/nm-umts-device.c (automatic_registration_get_network): Query
6068         for the activated network, not much is done with the result thought.
6069
6070         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6071         (ppp_ip4_config): Change the device state to activated here for now.
6072         (real_check_connection): Make sure the connection includes ppp setting.
6073
6074         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6075
6076         * libnm-glib/Makefile.am: Add the new files to build.
6077
6078         * libnm-glib/nm-umts-device.c: 
6079         * libnm-glib/nm-umts-device.h: Implement.
6080
6081 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6082
6083         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6084         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6085
6086         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6087         the timeout source - this function is only called when the timeout source has
6088         been removed.
6089         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6090         to be big enough to contain the terminating zero element as well.
6091         The timeout argument is meant to be in seconds now.
6092         (real_deactivate_quickly): Implement.
6093
6094         * src/NetworkManager.conf: Allow root to own 
6095         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6096
6097         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6098         (not unsigned ints).
6099
6100         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6101         small issue with parity bounds - capital letters have lower ascii codes
6102         than lower case letters.
6103
6104         * libnm-util/nm-connection.c (register_default_settings): Register serial
6105         and umts settings.
6106
6107 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6108
6109         Remove the "index" property from devices as not all device types have this.
6110
6111         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6112
6113         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6114         (wired_device_creator): Get the device interface from hal to create the device.
6115         (wireless_device_creator): Ditto.
6116
6117         * src/nm-device.c (nm_device_init): Remove the index member.
6118         (constructor): Remove the checks for index property, make interface property
6119         a require constructor property.
6120         Use the HAL udi for DBus path for devices.
6121         (nm_device_get_index): Remove.
6122         (set_property): Remove index handling.
6123         (get_property): Ditto.
6124         (nm_device_get_dbus_path): Remove.
6125
6126         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6127         property.
6128
6129         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6130         Access the device index through it's interface.
6131         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6132         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6133         index argument. Add interface argument.
6134
6135         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6136         the useless test_dev argument. Remove index argument. Add interface arugment.
6137
6138         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6139         device index through interface.
6140         (nm_system_set_mtu): Ditto.
6141
6142         * introspection/nm-device.xml: Remove the "Index" property.
6143
6144 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6145
6146         * src/nm-serial-device.c: 
6147         * src/nm-serial-device.c: 
6148         * src/nm-umts-device.c:
6149         * src/nm-umts-device.h: Implement.
6150
6151         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6152         allocated by libhal.
6153         (modem_device_creator): Implement.
6154         (register_built_in_creators): Register the modem creator.
6155
6156         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6157         Remove the unused test_dev argument.
6158
6159         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6160
6161         * src/Makefile.am: Add new files to build.
6162         Link in ppp-manager.
6163
6164         * libnm-util/nm-setting-umts.c: 
6165         * libnm-util/nm-setting-umts.h: 
6166         * libnm-util/nm-setting-serial.c: 
6167         * libnm-util/nm-setting-serial.h: Implement.
6168
6169         * libnm-util/Makefile.am: Add new files to build.
6170
6171 2007-11-28  Dan Williams  <dcbw@redhat.com>
6172
6173         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6174
6175         Support DHCP-provided static routes.
6176
6177         * src/nm-ip4-config.h
6178           src/nm-ip4-config.c
6179                 - Add get/set functions for static routes
6180
6181         * src/dhcp-manager/nm-dhcp-manager.c
6182                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6183                         DHCP response
6184
6185         * src/NetworkManagerSystem.c
6186                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6187                         interface when applying the IP4Config
6188
6189 2007-11-28  Dan Williams  <dcbw@redhat.com>
6190
6191         * src/nm-device-802-11-wireless.c
6192                 - (real_act_stage1_prepare): mark APs created for hidden networks
6193                         as non-broadcasting
6194
6195 2007-11-27  Dan Williams  <dcbw@redhat.com>
6196
6197         * system-settings/src/nm-system-config-interface.h
6198                 - Note how to store secrets on NMSetting objects
6199
6200         * system-settings/src/dbus-settings.c
6201                 - (connection_settings_get_secrets): implement
6202
6203 2007-11-27  Dan Williams  <dcbw@redhat.com>
6204
6205         * system-settings/plugins/ifcfg/Makefile.am
6206           system-settings/plugins/ifcfg/parser.c
6207           system-settings/plugins/ifcfg/parser.h
6208           system-settings/plugins/ifcfg/plugin.c
6209                 - Parse wireless connections too
6210
6211         * system-settings/src/dbus-settings.c
6212           system-settings/src/dbus-settings.h
6213           system-settings/src/main.c
6214                 - Handle connection update/removal if the plugin supports it
6215
6216 2007-11-27  Dan Williams  <dcbw@redhat.com>
6217
6218         * src/nm-dbus-manager.h
6219           src/nm-hal-manager.c
6220                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6221                         do it for them
6222
6223         * src/Makefile.am
6224           src/NetworkManagerDbusUtils.c
6225           src/NetworkManagerDbusUtils.h
6226                 - Remove these two source files; they are unused
6227
6228 2007-11-27  Dan Williams  <dcbw@redhat.com>
6229
6230         * src/vpn-manager/nm-vpn-manager.c
6231                 - (impl_vpn_manager_connect): fix system settings check (found by
6232                         James M. Leddy)
6233
6234 2007-11-26  Dan Williams  <dcbw@redhat.com>
6235
6236         * Fix warnings so everything compiles with --enable-more-warnings
6237
6238 2007-11-25  Dan Williams  <dcbw@redhat.com>
6239
6240         * system-settings/*
6241                 - Rework structure and code to use GModule-loaded plugins and a plugin
6242                         interface that plugins export to the system settings service
6243
6244 2007-11-21  Dan Williams  <dcbw@redhat.com>
6245
6246         * system-settings/*
6247                 - Add Soren's system settings service.  Needs work for distros other
6248                         than Fedora; the backends from NM should mostly migrate to here
6249                         and be converted to GObjects
6250
6251 2007-11-21  Dan Williams  <dcbw@redhat.com>
6252
6253         * libnm-util/nm-setting-vpn-properties.c
6254                 - (set_property): must deep-copy the given settings hash, otherwise
6255                         double-free errors occur when the setting is disposed of
6256
6257 2007-11-21  Dan Williams  <dcbw@redhat.com>
6258
6259         * src/vpn-manager/nm-vpn-act-request.h
6260           src/vpn-manager/nm-vpn-act-request.c
6261                 - Remove; unused
6262
6263 2007-11-20  Dan Williams  <dcbw@redhat.com>
6264
6265         * libnm-util/nm-utils.c
6266                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6267                    nm_utils_convert_ip4_addr_struct_array_to_string,
6268                    nm_utils_register_value_transformations): print out the readable
6269                         values of more types of properties of NMSettings subclasses
6270
6271 2007-11-20  Dan Williams  <dcbw@redhat.com>
6272
6273         * libnm-util/nm-setting-ip4-config.c
6274                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6275                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6276                         marshal GValueArrays inside collections, so switch to types that it
6277                         can actually marshal/demarshal
6278
6279 2007-11-16  Dan Williams  <dcbw@redhat.com>
6280
6281         * libnm-util/nm-setting-wireless-security.c
6282                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6283                         minimal verification of EAP methods too
6284                 - (verify): verify phase1 eap methods too
6285
6286 2007-11-15  Dan Williams  <dcbw@redhat.com>
6287
6288         * libnm-glib/nm-device.h
6289           libnm-glib/nm-device.c
6290                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6291                         const char *
6292
6293 2007-11-15  Dan Williams  <dcbw@redhat.com>
6294
6295         * libnm-glib/nm-device.c
6296                 - (get_product_and_vendor): don't try to free things that should be
6297                         freed
6298
6299 2007-11-15  Dan Williams  <dcbw@redhat.com>
6300
6301         * src/NetworkManagerUtils.c
6302                 - (nm_ethernet_address_is_valid): unbreak previous fix
6303
6304 2007-11-15  Dan Williams  <dcbw@redhat.com>
6305
6306         * src/supplicant-manager/nm-supplicant-config.c
6307                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6308                         options
6309
6310 2007-11-15  Dan Williams  <dcbw@redhat.com>
6311
6312         * src/NetworkManagerUtils.c
6313                 - (nm_ethernet_address_is_valid): fix style, clarify
6314                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6315
6316         * src/nm-device-802-11-wireless.c
6317                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6318                 - (nm_device_802_11_wireless_get_ssid,
6319                    nm_device_802_11_wireless_get_bssid,
6320                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6321                         before calling the ioctl; fixes valgrind-reported jump depends on
6322                         uninitialized value errors
6323
6324 2007-11-15  Dan Williams  <dcbw@redhat.com>
6325
6326         * libnm-util/nm-setting.c
6327                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6328                         unecessary to serialize 'name'
6329
6330         * src/nm-activation-request.c
6331                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6332                         the GetSecrets call
6333
6334 2007-11-15  Dan Williams  <dcbw@redhat.com>
6335
6336         * libnm-util/nm-setting-connection.h
6337           libnm-util/nm-setting-connection.c
6338                 - Rename the 'name' property to 'id', because it conflicted with the
6339                         NMSetting superclass' 'name' property.
6340
6341         * libnm-util/nm-setting.c
6342                 - (nm_setting_to_hash): serialize the 'name' property
6343                 - (one_property_cb): ignore 'name' on deserialization of a connection
6344
6345         * src/nm-device-802-11-wireless.c
6346           src/vpn-manager/nm-vpn-connection.c
6347           src/NetworkManagerPolicy.c
6348                 - Fix up for NMSettingConnection 'name'->'id' changes
6349
6350 2007-11-13  Dan Williams  <dcbw@redhat.com>
6351
6352         * libnm-glib/nm-device-802-11-wireless.h
6353           libnm-glib/nm-device-802-11-wireless.c
6354                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6355
6356         * test/nm-tool.c
6357           libnm-glib/libnm-glib-test.c
6358                 - Fixes for above change
6359
6360 2007-11-12  Dan Williams  <dcbw@redhat.com>
6361
6362         * src/supplicant-manager/nm-supplicant-settings-verify.c
6363                 - Allow fragment_size option
6364
6365         * src/supplicant-manager/nm-supplicant-settings-verify.c
6366                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6367                         EAP fragment size than the default to help some TLS connections
6368
6369 2007-11-12  Dan Williams  <dcbw@redhat.com>
6370
6371         Make certs actually work.  The private key is now a secret, and should be
6372         decrypted when requested by NM.  The private key and phase2 private key
6373         passwords are no longer interesting to NM because they should be used by
6374         the settings service to decrypt the private key itself before passing it
6375         to NM, and hence have been removed as fields.
6376
6377         * libnm-util/nm-setting-wireless-security.h
6378           libnm-util/nm-setting-wireless-security.c
6379                 - Remove private-key-passwd and phase2-private-key-passwd from
6380                         properties
6381                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6382                    need_secrets): use property #defines instead strings to keep things
6383                         consistent
6384                 - (need_secrets_tls): if a client certificate is present but no
6385                         private key, request the private key
6386                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6387                         remove private key password stuff, mark private keys as secret
6388
6389         * src/supplicant-manager/nm-supplicant-settings-verify.c
6390                 - Remove private_key_passwd and private_key2_passwd from opt_table
6391
6392 2007-11-09  Dan Williams  <dcbw@redhat.com>
6393
6394         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6395         Since the vpn-properties are managed and known by the VPN daemons themselves,
6396         libnm-util doesn't know what's secret and what's in the setting's 'data'
6397         member.
6398
6399         * libnm-util/nm-setting.h
6400           libnm-util/nm-setting.c
6401                 - Add the ability for subclasses to override update_one_secret
6402
6403         * libnm-util/nm-setting-vpn-properties.c
6404                 - Override update_one_secret and just copy the values into the
6405                         internal table
6406
6407 2007-11-09  Dan Williams  <dcbw@redhat.com>
6408
6409         * libnm-glib/nm-settings.h
6410           libnm-glib/nm-settings.c
6411                 - (nm_settings_new_error): remove
6412                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6413                         clients should use g_set_error() with NM_SETTINGS_ERROR
6414
6415 2007-11-09  Dan Williams  <dcbw@redhat.com>
6416
6417         * src/supplicant-manager/nm-supplicant-config.c
6418                 - (nm_supplicant_config_add_setting_wireless_security): private key
6419                         passwords are never sent to wpa_supplicant, because the supplicant
6420                         should never be reading random files from the disk.  Clients like
6421                         the applet are required to decrypt the private keys and send NM
6422                         the decrypted blobs.
6423
6424 2007-11-08  Dan Williams  <dcbw@redhat.com>
6425
6426         * libnm-util/nm-setting-wireless-security.h
6427           libnm-util/nm-setting-wireless-security.c
6428                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6429                         members to 802-11-wireless-security structure.  This should be used
6430                         to indicate that the values in private-key and phase2-private-key
6431                         are already decrypted by the user agent, and that no
6432                         private-key-passwd or phase2-private-key-passwd should be expected.
6433                         It is not meant to be a stored configuration value, but meant to
6434                         be set when the conneciton is sent to NM over dbus.
6435
6436 2007-11-08  Dan Williams  <dcbw@redhat.com>
6437
6438         * libnm-util/nm-connection.h
6439           libnm-util/nm-connection.c
6440                 - (nm_connection_need_secrets): add argument to return hints
6441
6442         * src/nm-device-802-11-wireless.c
6443                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6444                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6445                         nm_connection_need_secrets() change
6446
6447 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6448
6449         Rework NMSetting structures: Move each setting to it's own file.
6450         Convert to GObject. Remove home grown setting types and use GTypes.
6451         Use GObject property introspection for hash conversion, enumerating
6452         properties, etc.
6453
6454         * libnm-util/nm-setting-connection.[ch]
6455         * libnm-util/nm-setting-ip4-config.[ch]
6456         * libnm-util/nm-setting-ppp.[ch]
6457         * libnm-util/nm-setting-vpn.[ch]
6458         * libnm-util/nm-setting-vpn-properties.[ch]
6459         * libnm-util/nm-setting-wired.[ch]
6460         * libnm-util/nm-setting-wireless.[ch]
6461         * libnm-util/nm-setting-wireless-security.[ch]
6462
6463         New files, each containing a setting.
6464
6465         * libnm-util/nm-setting-template.[ch]: A template for creating new
6466         settings. To use it, just replace 'template' with the new setting
6467         name, and you're half-way done.
6468
6469         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6470         introspection instead of internal types and tables.
6471
6472         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6473
6474         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6475         GValue types defined by dbus-glib for composed types like collections,
6476         structures and maps.
6477
6478         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6479         a setting from connection takes the setting type now. Also, since
6480         the settings are in multiple files, include relevant settings.
6481
6482 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6483
6484         * configure.in:
6485         * src/backends/NetworkManagerGentoo.c:
6486         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6487         providers in Gentoo.
6488
6489 2007-10-31  Dan Williams  <dcbw@redhat.com>
6490
6491         * libnm-util/nm-connection.c
6492                 - (gvalue_to_string): handle UINT32 arrays
6493
6494 2007-10-31  Dan Williams  <dcbw@redhat.com>
6495
6496         * libnm-glib/nm-device.h
6497           libnm-glib/nm-device.c
6498                 - (nm_device_get_description): remove
6499                 - (nm_device_get_product, nm_device_get_vendor): add
6500                 - (nm_device_update_description): new function (private); walk HAL
6501                         devices to get product and vendor IDs for a specific device
6502
6503 2007-10-31  Dan Williams  <dcbw@redhat.com>
6504
6505         * src/nm-device-802-11-wireless.c
6506                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6507
6508 2007-10-29  Dan Williams  <dcbw@redhat.com>
6509
6510         * src/nm-hal-manager.c
6511                 - (device_added, device_new_capability): ignore device additions while
6512                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6513                         kernel module is unloaded and reloaded and recognized by NM again.
6514
6515 2007-10-26  Dan Williams  <dcbw@redhat.com>
6516
6517         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6518
6519         * src/NetworkManagerAP.c
6520           src/NetworkManagerAP.h
6521           libnm-glib/nm-access-point.c
6522           libnm-glib/nm-access-point.h
6523                 - Make 'rate' property a guint32 to better match with WEXT and
6524                         wpa_supplicant and to allow representation of higher bitrates
6525
6526         * src/nm-device-802-11-wireless.c
6527           introspection/nm-device-802-11-wireless.xml
6528           libnm-glib/nm-device-802-11-wireless.c
6529           libnm-glib/nm-device-802-11-wireless.h
6530                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6531
6532         * src/nm-device-802-3-ethernet.c
6533           src/nm-device-802-3-ethernet.h
6534           introspection/nm-device-802-3-ethernet.xml
6535           libnm-glib/nm-device-802-3-ethernet.c
6536           libnm-glib/nm-device-802-3-ethernet.h
6537                 - Make 'speed' property a guint32 to match other speed/rate types
6538                 - Make nm_device_802_3_ethernet_get_speed() static
6539
6540         * test/nm-tool.c
6541                 - Update for the changes above
6542
6543 2007-10-26  Dan Williams  <dcbw@redhat.com>
6544
6545         * src/named-manager/nm-named-manager.c
6546                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6547                     not calling fclose() twice on some error conditions
6548
6549 2007-10-26  Dan Williams  <dcbw@redhat.com>
6550
6551         * src/nm-activation-request.c
6552                 - (dispose): clean up indentation; get the right DBusGProxy object to
6553                         cancel the GetSecrets pending call on.  Need to use the Secrets
6554                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6555                         pending call doesn't get canceled, and pressing Cancel in the
6556                         applet's password dialog could cause get_secrets_cb() to be called
6557                         after the activation request has already been destroyed
6558
6559 2007-10-24  Dan Williams  <dcbw@redhat.com>
6560
6561         * src/supplicant-manager/nm-supplicant-config.c
6562                 - (nm_supplicant_config_add_blob): pass blob data and length for
6563                         verification
6564                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6565
6566 2007-10-24  Dan Williams  <dcbw@redhat.com>
6567
6568         * src/supplicant-manager/nm-supplicant-settings-verify.c
6569                 - (opt_table): max length for certificates should be 65536
6570
6571 2007-10-24  Dan Williams  <dcbw@redhat.com>
6572
6573         * src/supplicant-manager/nm-supplicant-interface.c
6574                 - (blob_free): correctly free blob data after use
6575                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6576
6577 2007-10-24  Dan Williams  <dcbw@redhat.com>
6578
6579         * libnm-util/nm-setting.c
6580                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6581                         EAP method need secrets
6582
6583 2007-10-24  Dan Williams  <dcbw@redhat.com>
6584
6585         * src/backends/NetworkManagerRedHat.c
6586                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6587
6588 2007-10-23  Dan Williams  <dcbw@redhat.com>
6589
6590         * libnm-util/nm-setting.c
6591           libnm-util/nm-setting.c
6592                 - (nm_setting_compare): implement
6593                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6594                    compare_one_hash_gvalue): compare the contents of a setting
6595
6596         * libnm-util/nm-connection.c
6597                 - (nm_connection_compare): implement
6598
6599 2007-10-23  Dan Williams  <dcbw@redhat.com>
6600
6601         * src/nm-activation-request.c
6602                 - (get_secrets_cb): handle getting a setting back that is more than
6603                         just secrets (ie, user changed auth or EAP method or something)
6604
6605 2007-10-23  Dan Williams  <dcbw@redhat.com>
6606
6607         * libnm-util/nm-setting.c
6608           libnm-util/nm-setting.h
6609                 - (nm_setting_verify): new function; verify one setting
6610                 - (nm_settings_verify_all): rename from nm_settings_verify()
6611                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6612                         all_settings
6613
6614         * libnm-util/nm-connection.c
6615                 - (nm_connection_replace_settings, nm_connection_verify,
6616                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6617
6618 2007-10-23  Dan Williams  <dcbw@redhat.com>
6619
6620         * src/nm-device-802-11-wireless.c
6621                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6622                         desired behavior
6623
6624 2007-10-23  Dan Williams  <dcbw@redhat.com>
6625
6626         * src/supplicant-manager/nm-supplicant-settings-verify.c
6627                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6628                         nm-settings.c
6629
6630 2007-10-23  Dan Williams  <dcbw@redhat.com>
6631
6632         * src/nm-device-802-11-wireless.c
6633                 - (real_act_stage2_config): after the first association failure,
6634                         if the connection still needs secrets ask the user for them
6635                         explicitly.  After the fourth association failure due to bad
6636                         secrets, fail the connection entirely.  Handles the GetSecrets
6637                         loop that NM gets into when the provided secrets don't match up
6638                         with the connection details.
6639
6640 2007-10-23  Dan Williams  <dcbw@redhat.com>
6641
6642         * src/supplicant-manager/nm-supplicant-config.c
6643                 - (nm_supplicant_config_add_setting_wireless_security): only add
6644                         WPA-specific options when WPA is in use
6645
6646 2007-10-23  Dan Williams  <dcbw@redhat.com>
6647
6648         * src/supplicant-manager/nm-supplicant-config.c
6649                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6650                         secret doesn't need to be unhexified
6651
6652 2007-10-23  Dan Williams  <dcbw@redhat.com>
6653
6654         * libnm-util/nm-setting.c
6655                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6656                         before trying to do something with it
6657
6658 2007-10-23  Dan Williams  <dcbw@redhat.com>
6659
6660         * src/nm-device-802-11-wireless.c
6661                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6662
6663 2007-10-23  Dan Williams  <dcbw@redhat.com>
6664
6665         * src/nm-device-802-11-wireless.c
6666                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6667                         non-SSID-broadcasting APs
6668
6669 2007-10-23  Dan Williams  <dcbw@redhat.com>
6670
6671         * src/NetworkManagerAP.c
6672                 - (match_cipher, security_compatible): remove
6673                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6674                         libnm-util instead
6675
6676 2007-10-23  Dan Williams  <dcbw@redhat.com>
6677
6678         * libnm-util/nm-utils.c
6679           libnm-util/nm-utils.h
6680                 - (nm_utils_ap_security_compatible): common function for checking
6681                         whether a specific AP is compatible with an NMConnection
6682
6683 2007-10-23  Dan Williams  <dcbw@redhat.com>
6684
6685         * libnm-util/nm-setting.c
6686                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6687                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6688                    need_secrets_password, setting_wireless_security_verify): fix
6689                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6690                         secrets logic for each supported EAP method
6691
6692 2007-10-23  Dan Williams  <dcbw@redhat.com>
6693
6694         * src/supplicant-manager/nm-supplicant-config.c
6695                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6696                         config option name, should be "private_key2_passwd"
6697
6698 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6699
6700         Implement support for static IP addresses, additional/overridden DNS and
6701         DNS domain search lists.
6702
6703         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6704         (ip4_addresses_to_gvalue): Implement.
6705         (convert_array_to_byte_array): Implement.
6706         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6707         NM_S_TYPE_IP4_ADDRESSES.
6708         (nm_setting_hash): Ditto.
6709         (default_setting_clear_secrets): Add a default case for the switch: IP address
6710         shouldn't be secret, ever.
6711         (setting_ip4_config_verify): Update, requires addresses in case of manual
6712         configurations.
6713         (setting_ip4_config_destroy): Free stuff.
6714
6715         * src/nm-device.c (merge_ip4_config): Implement.
6716         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6717
6718 2007-10-22  Dan Williams  <dcbw@redhat.com>
6719
6720         * libnm-util/nm-setting.c
6721                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6722                         pairwise cipher options for Dynamic WEP
6723
6724 2007-10-21  Dan Williams  <dcbw@redhat.com>
6725
6726         * src/NetworkManagerAP.c
6727           src/NetworkManagerAP.h
6728                 - Rename 'articifical' -> 'fake' since that's what they are until
6729                         noticed in scans
6730                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6731                         from the attributes in an NMConnection object
6732                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6733                         WPA Enterprise
6734                 - (nm_ap_match_in_list): find a matching AP in a scan list
6735
6736         * src/nm-device-802-11-wireless.c
6737                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6738                         AP when searching the scan list; match on frequency and mode too
6739                 - (nm_device_802_11_wireless_get_frequency): implement
6740                 - (merge_scanned_ap): replace duplicate matching logic with
6741                         nm_ap_match_in_list()
6742                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6743                         the user is trying to connect to a hidden network that is not yet
6744                         known from the scan list
6745                 - (activation_success_handler): now that the card knows the AP's BSSID,
6746                         there may already be a scanned AP in the scan list that is what
6747                         we really wanted to connect to, but didn't know at the time.  Use
6748                         that instead of the 'fake' AP created at activation start and get
6749                         rid of the 'fake' AP 
6750                 - (cull_scan_list): don't remove fake APs
6751
6752 2007-10-21  Dan Williams  <dcbw@redhat.com>
6753
6754         * src/nm-activation-request.h
6755           src/nm-activation-request.c
6756                 - (nm_act_request_set_specific_object): new function; allow setting the
6757                         specific object if one isn't set yet
6758
6759 2007-10-20  Dan Williams  <dcbw@redhat.com>
6760
6761         * src/supplicant-manager/nm-supplicant-config.h
6762           src/supplicant-manager/nm-supplicant-config.c
6763                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6764                         table to store blobs
6765                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6766                         blob hash table
6767                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6768                 - (nm_supplicant_config_add_setting_wireless_security): handle
6769                         options that use certificates (ie, blobs)
6770
6771         * src/nm-device-802-11-wireless.c
6772                 - (build_supplicant_config): pass a UID (just use the connection path)
6773                         to the supplicant config as now required
6774
6775         * src/supplicant-manager/nm-supplicant-interface.c
6776                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6777                         there are any blobs to send to wpa_supplicant, send those first
6778                         before sending the network configuration
6779
6780 2007-10-19  Dan Williams  <dcbw@redhat.com>
6781
6782         Split the GetSecrets() call off to a separate D-Bus interface so that it
6783         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6784         should be able to call GetSecrets().
6785
6786         * include/NetworkManager.h
6787                 - Define the connection secrets D-Bus interface
6788
6789         * src/vpn-manager/nm-vpn-connection.c
6790                 - (clear_need_auth): get the right proxy object for the connection
6791                         secrets interface
6792                 - (get_connection_secrets): use the connection secrets proxy; send
6793                         empty hints in get secrets request
6794
6795         * src/nm-activation-request.c
6796                 - (nm_act_request_request_connection_secrets): use the connection
6797                         secrets proxy; send empty hints in get secrets request
6798
6799         * src/nm-manager.c
6800           src/nm-manager.h
6801                 - (connection_get_settings_cb): set the connection secrets proxy on
6802                         the connection object too
6803                 - (internal_new_connection_cb): create the connection secrets proxy
6804
6805         * introspection/nm-settings-connection.xml
6806                 - Define Connection.Secrets interface and move GetSecrets there
6807                 - Add a 'hints' argument to GetSecrets
6808
6809         * libnm-glib/nm-settings.c
6810           libnm-glib/nm-settings.h
6811                 - (impl_connection_settings_get_secrets): add 'hints' argument
6812
6813 2007-10-19  Dan Williams  <dcbw@redhat.com>
6814
6815         * src/nm-device.c
6816                 - (constructor): add message about what path a device is exported as
6817                         to help in debugging rh #339011
6818
6819 2007-10-17  Dan Williams  <dcbw@redhat.com>
6820
6821         * libnm-util/nm-utils.h
6822           libnm-util/nm-utils.c
6823                 - (nm_utils_security_valid): common function to help find the intersection
6824                         of capabilities of devices and (optionally) access points
6825
6826 2007-10-17  Dan Williams  <dcbw@redhat.com>
6827
6828         * src/nm-device-802-11-wireless.c
6829                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6830                         don't get erroneously cleared
6831
6832 2007-10-17  Dan Williams  <dcbw@redhat.com>
6833
6834         * src/nm-manager.h
6835           src/nm-manager.c
6836           src/nm-hal-manager.c
6837                 - (device_removed, finalize, nm_manager_remove_device,
6838                    nm_manager_sleep): add a 'deactivate' argument to 
6839                    nm_manager_remove_device() to fully deactivate devices when necessary
6840                    (ie, always except when waking up)
6841
6842 2007-10-16  Dan Williams  <dcbw@redhat.com>
6843
6844         * libnm-util/nm-setting.c
6845                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6846                         also isn't valid phase2 autheap method
6847
6848 2007-10-16  Dan Williams  <dcbw@redhat.com>
6849
6850         * libnm-glib/nm-client.c
6851                 - (update_wireless_status): consolidate updates of wireless status
6852                 - (constructor): use update_wireless_status()
6853                 - (manager_running): set wireless status off when NM goes away; requery
6854                         the wireless status when NM comes back
6855
6856 2007-10-16  Dan Williams  <dcbw@redhat.com>
6857
6858         * libnm-glib/nm-client.c
6859                 - (nm_client_activate_device): actually use the fixed-up specific
6860                         object path
6861
6862 2007-10-16  Dan Williams  <dcbw@redhat.com>
6863
6864         * src/nm-hal-manager.c
6865                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6866                         killswitch error messages once
6867
6868 2007-10-16  Dan Williams  <dcbw@redhat.com>
6869
6870         * src/nm-manager.c
6871                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6872                         if it's disabled in hardware; don't touch network devices while
6873                         NM is asleep
6874
6875 2007-10-16  Dan Williams  <dcbw@redhat.com>
6876
6877         * libnm-util/nm-client.c
6878                 - (nm_client_activate_device): convert NULL specific_object to "/",
6879                         which is used in place of NULL
6880
6881         * src/nm-manager.c
6882                 - (impl_manager_activate_device): convert "/" specific_object back into
6883                         NULL
6884
6885 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6886
6887         Implement a generic NMSetting creator from setting name.
6888         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6889         add a virtual function 'populate_fn'.
6890
6891         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6892         (register_default_creators): Register setting creators instead of functions
6893         that create and then populate.
6894         (parse_one_setting): Use the common setting creator and then setting specific
6895         poplulation function.
6896
6897         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6898         they all looked exactly the same.
6899         Add a 'populate_fn' virtual function to NMSetting.
6900         Use default virtual functions in case they are not overriden.
6901         (nm_setting_populate_from_hash): Implement.
6902
6903         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6904         name, use a defined string.
6905         (real_act_stage4_get_ip4_config): Ditto.
6906
6907 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6908
6909         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6910         HAL is int, not uint.
6911
6912 2007-10-15  Tambet Ingo  <tambet@gmail.com>
6913
6914         Implement killswitch polling through HAL.
6915
6916         * src/nm-manager.c: Add wireless hardware status property. Add 
6917         'properties-changed' signal for changes in wireless and wireless hardware
6918         state changes.
6919
6920         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6921         and update NMManager's wireless hardware state when it has changed.
6922         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6923         already does that.
6924
6925         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6926         values of wireless state and wireless hardware state. Listen for the
6927         'properties-changed' signals, update the cached values and emit notify.
6928
6929         * include/NetworkManager.h: Fix a typo in a comment.
6930
6931 2007-10-14  Dan Williams  <dcbw@redhat.com>
6932
6933         * libnm-util/nm-setting.c
6934                 - (setting_wireless_security_need_secrets): handle LEAP secrets
6935
6936 2007-10-13  Dan Williams  <dcbw@redhat.com>
6937
6938         * libnm-util/nm-setting.h
6939           libnm-util/nm-setting.c
6940           src/supplicant-manager/nm-supplicant-config.c
6941                 - Make the 'proto' field of the 802-11-wireless-security field a
6942                         string list
6943
6944 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6945
6946         Rework the "properties-changed" signal listening implementation.
6947         Add a generic implementation to NMObject class that listens for
6948         the signal and calls property setters of the target NMObject.
6949
6950         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
6951
6952         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
6953         code to the end of file so that all the static functions are available
6954         without extra declarations.
6955         Remove the "properties-changed" signal handling and use the framework from
6956         NMObject.
6957         Implement property setters for properties that change with 
6958         "properties-changed" signal.
6959
6960         * libnm-glib/nm-access-point.c: Ditto.
6961
6962 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6963
6964         Rework the "properties-changed" signal implementation.
6965         In classes that need to use it, just emit "GObject::notify" and the new
6966         framework takes care of the rest to make the signal available on dbus.
6967         The framework queues the notifications and tries to send as many together
6968         in one signal as possible.
6969
6970         * src/nm-properties-changed-signal.c:
6971         * src/nm-properties-changed-signal.h: Implement.
6972
6973         * src/Makefile.am: Add new files to build.
6974
6975         * src/NetworkManagerAP.c: Use the general framework for properties-changed
6976         signal.
6977
6978         * src/nm-device-802-11-wireless.c: Ditto.
6979
6980 2007-10-10  Dan Williams  <dcbw@redhat.com>
6981
6982         * src/nm-manager.c
6983                 - (wait_for_connection_expired): ensure info is valid
6984                 - (connection_added_default_handler): Should only remove pending
6985                         connection info when the manager has the connection that it's
6986                         waiting for.  Fixes segfault in wait_for_connection_info().  
6987
6988 2007-10-10  Dan Williams  <dcbw@redhat.com>
6989
6990         * libnm-util/nm-setting.c
6991           libnm-util/nm-setting.h
6992                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
6993                         can use if they choose.  Should be filled in by the settings service
6994                         on-the-fly with the currently logged in user's username
6995
6996 2007-10-10  Dan Williams  <dcbw@redhat.com>
6997
6998         * src/nm-device-802-11-wireless.c
6999                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7000                         as such, because even if the manager fills in the SSID, NM still
7001                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7002                         its SSID
7003
7004 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7005
7006         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7007         code that used NM's own version of dbus signal handling and custom dictionary
7008         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7009         and we get to maintain over 2000 lines less code.
7010
7011         * libnm-util/dbus-dict-helpers.c:
7012         * libnm-util/dbus-dict-helpers.h: Remove.
7013
7014         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7015
7016         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7017
7018         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7019         handlers.
7020
7021         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7022
7023         * configure.in: Remove test/libnm-util/Makefile creation.
7024
7025         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7026
7027         * test/libnm-util/: Remove the whole directory.
7028
7029 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7030
7031         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7032         device_state_changed_idle_id variable or it would contain some random value and the
7033         schedule_change_check calls would not do anything.
7034
7035 2007-10-09  Dan Williams  <dcbw@redhat.com>
7036
7037         * src/nm-device-802-11-wireless.c
7038                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7039                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7040                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7041                         merging of non-SSID-broadcasting APs
7042
7043 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7044
7045         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7046         "guint8 *" since it's usually used with GByteArray->data.
7047         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7048
7049 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7050
7051         * src/NetworkManagerUtils.c
7052         (nm_utils_is_empty_ssid):
7053         (nm_utils_escape_ssid):
7054         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7055         lot of places, so they belong to libnm-utils instead.
7056
7057         Now with 100% less compiler warnings:
7058
7059         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7060         (nm_dbus_unescape_object_path): Ditto.
7061         (nm_utils_ssid_to_utf8): Ditto.
7062         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7063         (nm_utils_escape_ssid): Ditto.
7064         (nm_utils_same_ssid): Ditto.
7065
7066         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7067         (add_one_connection_element): Remove an unused variable.
7068         (impl_manager_get_active_connections): Ditto.
7069
7070         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7071         variable.
7072
7073         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7074         from the previous commit.
7075
7076         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7077         (real_act_stage1_prepare): Ditto.
7078         (activation_success_handler): Ditto.
7079         (get_property): Ditto.
7080
7081         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7082         variable.
7083
7084         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7085         it's always set.
7086
7087         * src/supplicant-manager/nm-supplicant-config.c 
7088         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7089         to expected "char *".
7090         (nm_supplicant_config_add_setting_wireless): Ditto.
7091         (nm_supplicant_config_remove_option): Remove, not used.
7092
7093         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7094         not double.
7095         (test_wireless_enabled): Ifdef out unused function.
7096         (device_deactivate): Ditto.
7097         (device_state_changed): Ditto.
7098         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7099         (nm_utils_escape_ssid): Ditto.
7100
7101         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7102         (nm_utils_is_empty_ssid): Ditto.
7103
7104         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7105         unused variable.
7106
7107         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7108         (setting_vpn_properties_update_secrets): Ditto.
7109         (int_to_gvalue): Ifdef out for now, not used.
7110         (byte_to_gvalue): Ditto.
7111
7112         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7113         Unused, remove.
7114
7115 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7116
7117         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7118         about dbus manager, not named manager.
7119         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7120
7121         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7122         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7123         However, the same signal is emitted when we destroy it and there's 
7124         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7125
7126         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7127         releasing the DBusGConnection, since proxy needs a conneciton.
7128         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7129
7130 2007-10-08  Dan Williams  <dcbw@redhat.com>
7131
7132         * src/NetworkManager.c
7133                 - (main): error on unknown command-line options
7134
7135 2007-10-08  Dan Williams  <dcbw@redhat.com>
7136
7137         Reimplement the invalid connection list.  Don't try to re-activate a
7138         connection that just failed or was canceled.
7139
7140         * src/nm-device.c
7141                 - (connection_secrets_failed_cb): fail device activation, don't just
7142                         deactivate the device.  Listeners have to know about the failure.
7143
7144         * src/NetworkManagerPolicy.c
7145                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7146                         the connection list given to a device's get_best_connection()
7147                         method
7148                 - (device_state_changed): tag failed connections as invalid; clear the
7149                         tag from successful connections
7150
7151 2007-10-08  Dan Williams  <dcbw@redhat.com>
7152
7153         Fix problems with interrupted activation.  Previously, choosing an AP
7154         from the menu, then choosing another one before the first connection was
7155         successful wouldn't deactivate the device before starting the new connection
7156         on that same device.
7157
7158         * src/NetworkManagerPolicy.c
7159                 - (deactivate_old_device, device_state_changed, state_changed,
7160                    nm_policy_new): wrong place to deactivate old devices
7161
7162         * src/nm-manager.c
7163                 - (pending_connection_info_destroy, finalize,
7164                    wait_for_connection_expired): decouple destruction of the pending
7165                         connection info from the manager device
7166                 - (connection_added_default_handler): deactivate any active or
7167                         activating device before starting a new activation
7168                 - (impl_manager_activate_device): deactivate any active or activating
7169                         device before starting a new activation; be sure not to leak
7170                         pending connection info if a new activation request arrives but
7171                         there's already a pending one in-process
7172
7173 2007-10-08  Dan Williams  <dcbw@redhat.com>
7174
7175         * src/NetworkManagerAP.h
7176           src/NetworkManagerAP.c
7177                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7178                         should handle default SSIDs and whether or not to autoconnect
7179                         to them
7180
7181 2007-10-08  Dan Williams  <dcbw@redhat.com>
7182
7183         * src/NetworkManagerPolicy.c
7184                 - (nm_policy_device_change_check): print out connection name where
7185                         possible
7186
7187 2007-10-08  Dan Williams  <dcbw@redhat.com>
7188
7189         * src/nm-device-802-11-wireless.c
7190           src/nm-device-802-11-wireless.h
7191                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7192                         'hidden-ap-found' signal (for internal use only) that allows the
7193                         NMManager to fill in the AP's SSID if a connection has that AP's
7194                         BSSID in its seen-bssids list
7195
7196         * src/nm-manager.c
7197                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7198                         wireless device's hidden-ap-found signal and fill in the APs SSID
7199                         if possible
7200
7201 2007-10-07  Dan Williams  <dcbw@redhat.com>
7202
7203         * src/nm-manager.c
7204           src/nm-manager.h
7205                 - Add a 'connections-added' signal to batch together updates of large
7206                         numbers of connections, like when reading from a settings service
7207                         the first time.  Otherwise, the policy would just activate the first
7208                         suitable connection it saw rather than waiting for the full list
7209                         to arrive.
7210                 - (nm_manager_class_init): register new signal
7211                 - (get_type_for_proxy, connection_get_settings_cb,
7212                    get_connection_for_proxy): centralize places where a proxy's setting
7213                         service is determined
7214                 - (free_get_settings_info): if the call being freed is the last call
7215                         in a pending call group, fire off the connections-added signal
7216                 - (internal_new_connection_cb): add call to a pending call group if
7217                         requested
7218                 - (list_connections_cb): always create a call group here, because this
7219                         call results in a batch of new connections
7220                 - (initial_get_connections): start getting system connections first
7221                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7222                         removed signal when destroying connections
7223
7224         * src/NetworkManagerPolicy.c
7225                 - (nm_policy_new, connections_added): handle connections-added signal
7226                         from the manager
7227
7228 2007-10-06  Dan Williams  <dcbw@redhat.com>
7229
7230         * src/nm-device-802-11-wireless.c
7231                 - (constructor): fix leaked socket
7232
7233 2007-10-06  Dan Williams  <dcbw@redhat.com>
7234
7235         * src/NetworkManagerPolicy.c
7236                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7237                         connection in the list returned by nm_manager_get_connections() is
7238                         reffed, but they weren't getting unreffed before returning
7239
7240 2007-10-06  Dan Williams  <dcbw@redhat.com>
7241
7242         * src/nm-manager.c
7243                 - (connections_to_slist): sort connections first on autoconnect, then
7244                         on timestamp
7245
7246 2007-10-06  Dan Williams  <dcbw@redhat.com>
7247
7248         * libnm-util/nm-connection.c
7249                 - (gvalue_to_string): handle UINT64
7250
7251 2007-10-06  Dan Williams  <dcbw@redhat.com>
7252
7253         * src/NetworkManagerPolicy.c
7254                 - (connection_updated, nm_policy_new): recheck state when a connection
7255                         gets updated
7256
7257 2007-10-06  Dan Williams  <dcbw@redhat.com>
7258
7259         * src/nm-manager.c
7260           src/nm-manager.h
7261                 - (nm_manager_get_connection_dbus_path): make static
7262                 - (nm_manager_update_connections): remove; unused
7263                 - Add a connection-updated signal
7264                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7265                         handle connection object updates
7266
7267 2007-10-06  Dan Williams  <dcbw@redhat.com>
7268
7269         * src/NetworkManagerPolicy.c
7270                 - (connection_removed): deactivate removed connections
7271
7272 2007-10-06  Dan Williams  <dcbw@redhat.com>
7273
7274         * libnm-util/nm-connection.c
7275           libnm-util/nm-connection.h
7276                 - (nm_connection_replace_settings): new function
7277
7278 2007-10-06  Dan Williams  <dcbw@redhat.com>
7279
7280         * libnm-glib/nm-device-802-11-wireless.c
7281                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7282                         on error when getting the active access point over D-Bus from NM
7283
7284 2007-10-05  Dan Williams  <dcbw@redhat.com>
7285
7286         * libnm-util/nm-setting.c
7287                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7288                         to the NMSettingWireless table; it's now a string array not an array
7289                         of byte arrays
7290
7291 2007-10-05  Dan Williams  <dcbw@redhat.com>
7292
7293         * libnm-glib/nm-device-802-11-wireless.c
7294                 - Cache properties and update cached properties on D-Bus signals from NM
7295
7296 2007-10-05  Dan Williams  <dcbw@redhat.com>
7297
7298         * src/nm-device-802-11-wireless.c
7299                 - (set_current_ap): consolidate current_ap handling code into one place
7300                         to ensure that PropertiesChanged signals are emitted in all cases
7301                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7302                    nm_device_802_11_wireless_dispose): use set_current_ap()
7303
7304 2007-10-05  Dan Williams  <dcbw@redhat.com>
7305
7306         * libnm-glib/nm-access-point.c
7307           libnm-glib/nm-access-point.h
7308                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7309                         because the value is cached internally now.  Callers should not
7310                         free the internal value.
7311                 - Make signal name defines private
7312
7313         * test/nm-tool.c
7314           libnm-glib/libnm-glib-test.c
7315                 - Don't free value returned from nm_access_point_get_hw_address()
7316
7317 2007-10-04  Dan Williams  <dcbw@redhat.com>
7318
7319         * introspection/nm-device-802-11-wireless.xml
7320           src/nm-device-802-11-wireless.h
7321           src/nm-device-802-11-wireless.c
7322                 - Add a PropertiesChanged signal for wireless device
7323                 - Store currently associated access point
7324                 - (periodic_update): generalize; update rate here too and emit the
7325                         correct PropertiesChanged signal when stuff changes
7326                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7327                    real_activation_cancel_handler): clear current_ap when device is
7328                         deactivated
7329                 - (link_to_specific_ap, get_ap_blacklisted,
7330                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7331                         code
7332                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7333                         outside this file
7334                 - (real_set_hw_address): emit property changed signal if the card's
7335                         MAC address changes
7336                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7337                         the card is supposed to be connecting to
7338                 - (activation_success_handler): send out property updates on successful
7339                         activation
7340                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7341                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7342                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7343                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7344                         is now boxed; add PropertiesChanged signal
7345
7346 2007-10-04  Dan Williams  <dcbw@redhat.com>
7347
7348         * libnm-util/nm-connection.c
7349           libnm-util/nm-connection.h
7350                 - (nm_connection_verify): new function
7351
7352 2007-10-04  Dan Williams  <dcbw@redhat.com>
7353
7354         * libnm-util/nm-setting.c
7355                 - (nm_settings_verify): use #defines when possible rather than strings
7356                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7357                 - (setting_vpn_verify): tighter validity check on 'service_type'
7358
7359 2007-10-04  Dan Williams  <dcbw@redhat.com>
7360
7361         * libnm-glib/nm-settings.c
7362                 - (nm_connection_settings_class_init): provide correct type for argument
7363                         to the Updated signal so that dbus-glib knows how to marshal it
7364
7365 2007-10-03  Dan Williams  <dcbw@redhat.com>
7366
7367         * src/nm-device-802-3-ethernet.c
7368                 - (real_get_best_connection): don't create automatic connections
7369                         internally; clients should provide a setting that applies to
7370                         the device with 'autoconnect: True'.  Problem was that these
7371                         internally auto-created connections don't have a proxy or service
7372                         name becuase they weren't created by a settings daemon, and therefore
7373                         clients have no idea what to do with them.
7374
7375 2007-10-03  Dan Williams  <dcbw@redhat.com>
7376
7377         * src/nm-device-802-11-wireless.c
7378           src/nm-device-802-11-wireless.h
7379           introspection/nm-device-802-11-wireless.xml
7380                 - GetActiveNetworks -> GetAccessPoints
7381                 - ActiveNetwork -> ActiveAccessPoint
7382                 - NetworkAdded -> AccessPointAdded
7383                 - NetowrkRemoved -> AccessPointRemoved
7384
7385         * libnm-glib/nm-device-802-11-wireless.c
7386           libnm-glib/nm-device-802-11-wireless.h
7387                 - network-added signal -> access-point-added
7388                 - network-removed signal -> access-point-removed
7389                 - nm_device_802_11_wireless_get_active_network() ->
7390                         nm_device_802_11_wireless_get_active_access_point()
7391                 - nm_device_802_11_wireless_get_network_by_path() ->
7392                         nm_device_802_11_wireless_get_access_point_by_path()
7393                 - nm_device_802_11_wireless_get_networks() ->
7394                         nm_device_802_11_wireless_get_access_points()
7395
7396         * libnm-glib/libnm-glib-test.c
7397           test/nm-tool.c
7398           src/NetworkManagerPolicy.c
7399                 - Fixups for Network -> AccessPoint
7400
7401 2007-10-03  Dan Williams  <dcbw@redhat.com>
7402
7403         Add a GetActiveConnections() method on the Manager object.
7404
7405         * src/nm-manager.c
7406           src/nm-manager.h
7407           introspection/nm-manager.xml
7408                 - (connection_get_settings_cb): keep connection type around too
7409                 - (impl_manager_get_active_connections, add_one_connection_element):
7410                         implement; returns all active connections and what devices they
7411                         apply to
7412
7413         * libnm-glib/nm-client.c
7414           libnm-glib/nm-client.h
7415           introspection/nm-manager-client.xml
7416                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7417                         by the caller; free here to avoid memory leak
7418                 - (nm_client_get_active_connections): implement; return the list of
7419                         active connections
7420                 - (nm_client_free_active_connection_element): implement; free an element
7421                         of the GSList returned by nm_client_get_active_connections()
7422
7423 2007-10-03  Dan Williams  <dcbw@redhat.com>
7424
7425         * src/nm-device-802-11-wireless.c
7426                 - (nm_device_802_11_wireless_update_bssid): remove
7427                 - (get_active_ap): new function; find the AP in the scan list which
7428                         matches the current BSSID and SSID of the wireless device
7429                 - (nm_device_802_11_periodic_update): get current AP using
7430                         get_active_ap() and print AP roam messages
7431
7432 2007-10-01  Dan Williams  <dcbw@redhat.com>
7433
7434         * libnm-util/nm-setting.h
7435                 - Add a 'timestamp' option to NMSettingConnection
7436                 - Add a UINT64 type
7437
7438         * libnm-util/nm-setting.c
7439                 - (uint64_to_gvalue): new function
7440                 - (nm_setting_populate_from_hash, nm_setting_hash,
7441                    default_setting_clear_secrets): handle UINT64 type
7442                 - con_table: add 'timestamp' member
7443
7444 2007-10-01  Dan Williams  <dcbw@redhat.com>
7445
7446         * src/nm-manager.c
7447                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7448                         value when the connection can be activated immediately
7449
7450 2007-10-01  Dan Williams  <dcbw@redhat.com>
7451
7452         * libnm-glib/nm-device.c
7453                 - (nm_device_class_init): actually tell glib about the carrier-changed
7454                         signal
7455
7456 2007-10-01  Dan Williams  <dcbw@redhat.com>
7457
7458         * configure.in
7459           src/marshallers/Makefile.am
7460           src/marshallers/nm-marshal.list
7461           src/marshallers/nm-marshal-main.c
7462                 - Consolidate glib marshallers into one place
7463
7464         * src/dhcp-manager/Makefile.am
7465           src/dhcp-manager/nm-dhcp-manager.c
7466           src/supplicant-manager/Makefile.am
7467           src/supplicant-manager/nm-supplicant-manager.c
7468           src/supplicant-manager/nm-supplicant-interface.c
7469           src/ppp-manager/Makefile.am
7470           src/ppp-manager/nm-ppp-manager.c
7471           src/vpn-manager/Makefile.am
7472           src/vpn-manager/nm-vpn-connection.c
7473           src/Makefile.am
7474                 - Use consolidated marshallers
7475
7476         * src/dhcp-manager/nm-dhcp-marshal.list
7477           src/dhcp-manager/nm-dhcp-marshal-main.c
7478           src/supplicant-manager/nm-supplicant-marshal-main.c
7479           src/supplicant-manager/nm-supplicant-marshal.list
7480           src/nm-marshal-main.c
7481           src/nm-marshal.list
7482           src/ppp-manager/nm-ppp-marshal-main.c
7483           src/ppp-manager/nm-ppp-marshal.list
7484           src/vpn-manager/nm-vpn-marshal-main.c
7485           src/vpn-manager/nm-vpn-marshal.list
7486                 - Remove
7487
7488 2007-10-01  Dan Williams  <dcbw@redhat.com>
7489
7490         * include/NetworkManagerVPN.h
7491                 - define VPN connection state change reason codes
7492
7493         * src/vpn-manager/Makefile.am
7494           src/vpn-manager/nm-vpn-marshal.list
7495           src/vpn-manager/nm-vpn-marshal-main.c
7496                 - Add marshallers for StateChanged signal
7497
7498         * introspection/nm-vpn-connection.xml
7499                 - New Banner property
7500                 - StateChanged signal now includes a 'reason' argument
7501
7502         * src/vpn-manager/nm-vpn-connection.c
7503           src/vpn-manager/nm-vpn-connection.h
7504                 - Add a "Banner" property that contains the returned VPN server login
7505                         banner (if any); valid only in the ACTIVATED state
7506                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7507                         a 'reason' argument and emits that reason along with the
7508                         state-changed signal
7509                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7510                 - (nm_vpn_connection_ip4_config_get): save banner for later
7511                 - (nm_vpn_connection_get_banner, get_property,
7512                    nm_vpn_connection_class_init): implement Banner property
7513
7514         * src/vpn-manager/nm-vpn-service.c
7515                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7516                         connection list because elements may get added/removed from it
7517                         while iterating over the list
7518                 - (connection_state_changed): signal now includes the 'reason' argument
7519
7520         * libnm-glib/nm-vpn-connection.c
7521           libnm-glib/nm-vpn-connection.h
7522                 - (nm_vpn_connection_get_banner): new function
7523                 - (state_changed_proxy): handle reason argument
7524
7525 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7526
7527         * src/nm-manager.c:
7528         * src/nm-manager.h:
7529         Implement device activation through NMManager.
7530         Implement "pending device activation" here - If the connection isn't found,
7531         we try to wait for up to 5 seconds for the connection to be provided.
7532         Add NMConnectionType argument to "connection-added" and "connection-removed"
7533         signals.
7534         (nm_manager_get): Remove. Finally.
7535
7536         * src/nm-activation-request.c: 
7537         * src/nm-activation-request.h: 
7538         Remove all the deferred activation code.
7539
7540         * src/nm-device.c: Remove all the deferred activation code. Once the device
7541         activation is started, it's started. Update the activation virtual function
7542         signature.
7543
7544         * src/nm-device-interface.c:
7545         * src/nm-device-interface.h:
7546         Device activation now takes only NMActRequest argument.
7547         Don't expose device activation directly on dbus, it's supposed to go through
7548         NMManager now.
7549
7550         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7551         a bit more compact.
7552         Use the new device activation methods through NMManager.
7553
7554         * introspection/nm-manager-client.xml: 
7555         * introspection/nm-manager.xml: 
7556         * libnm-glib/nm-client.c:
7557         * libnm-glib/nm-client.h:
7558         Add device activation method.
7559         
7560         * libnm-glib/nm-device.c: 
7561         * libnm-glib/nm-device.h: 
7562         * introspection/nm-device.xml: 
7563         Remove device activation method. It's done through NMManager now.
7564
7565         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7566         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7567
7568 2007-09-28  Dan Williams  <dcbw@redhat.com>
7569
7570         * libnm-glib/nm-vpn-connection.c
7571                 - (nm_vpn_connection_get_state): try to update state if the current
7572                         state is UNKNOWN
7573
7574 2007-09-27  Dan Williams  <dcbw@redhat.com>
7575
7576         Patch from Bill Nottingham
7577
7578         * src/supplicant-manager/nm-supplicant-config.c
7579                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7580                         data to the supplicant
7581
7582 2007-09-27  Dan Williams  <dcbw@redhat.com>
7583
7584         * src/NetworkManagerSystem.c
7585                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7586                         and all address manipulation here should be happening on the
7587                         _VPN_ device, not the active device
7588
7589 2007-09-26  Dan Williams  <dcbw@redhat.com>
7590
7591         * src/nm-manager.c
7592           src/nm-manager.h
7593           src/nm-activation-request.c
7594           src/nm-activation-request.h
7595                 - Move the GetSecrets stuff out of the NMManager instance because it
7596                         doesn't really need to be there and complicates things
7597
7598         * src/nm-device.c
7599                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7600                         connection-secrets-failed signal and deactivate the device if
7601                         the GetSecrets call fails
7602
7603         * src/nm-device-802-11-wireless.c
7604                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7605                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7606                         secrets and give correct hints about whether new secrets should be
7607                         asked for by the client or not
7608
7609 2007-09-26  Dan Williams  <dcbw@redhat.com>
7610
7611         * src/vpn-manager/nm-vpn-connection.c
7612                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7613                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7614                         to the secrets-updated signal of the NMConnection since updating
7615                         the secrets is done within the scope of the NMVPNConnection object
7616                         already
7617                 - (get_connection_secrets): fix an uninialized variable usage error
7618
7619 2007-09-26  Dan Williams  <dcbw@redhat.com>
7620
7621         * libnm-util/nm-setting.c
7622                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7623                         actually get updated when the user enters them
7624
7625 2007-09-26  Dan Williams  <dcbw@redhat.com>
7626
7627         * libnm-glib/nm-vpn-plugin.c
7628                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7629
7630 2007-09-26  Dan Williams  <dcbw@redhat.com>
7631
7632         * include/NetworkManagerVPN.h
7633                 - Add a NEED_AUTH state
7634
7635         * src/vpn-manager/nm-vpn-connection.c
7636                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7637                         the connection needs secrets, and if so, then ask the settings
7638                         service to fill in the secrets.  Then start the connection.
7639
7640 2007-09-26  Dan Williams  <dcbw@redhat.com>
7641
7642         * src/vpn-manager/nm-vpn-manager.c
7643                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7644
7645 2007-09-26  Dan Williams  <dcbw@redhat.com>
7646
7647         * introspection/nm-vpn-plugin.xml
7648           libnm-glib/nm-vpn-plugin.c
7649           libnm-glib/nm-vpn-plugin.h
7650                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7651                         the name of the NMSetting in an NMConnection that may require
7652                         secrets specific to that VPN plugin
7653
7654 2007-09-26  Dan Williams  <dcbw@redhat.com>
7655
7656         * src/nm-manager.c
7657           src/nm-manager.h
7658                 - (nm_manager_get_connection_secrets): make static, unused outside
7659                         the file
7660                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7661
7662 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7663
7664         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7665         method.
7666         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7667         unreference the connection.
7668
7669         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7670         passing properties hash and routes string list, pass NMConnection (in hashed form).
7671
7672         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7673         as GSList, no need to copy stuff around anymore.
7674         (nm_vpn_connection_activate): Update the plugin activation method.
7675
7676         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7677         routes argument to GSList.
7678
7679 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7680
7681         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7682         state and try to get the secrets.
7683
7684         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7685         connections from NMManager and let the device to choose the best from the list.
7686         Since the connection list is sorted by system ones first and user ones later,
7687         the devices still prefer system connections like they did before.
7688         (deactivate_old_device): Implement. When a device starts activation, we have a
7689         policy (for now at least) to deactivate any other device that might be either
7690         active or still activating.
7691
7692         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7693         It's set on construction, there will be no other way to access it.
7694
7695         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7696         device events and drive the device, not the other way around.
7697
7698         * src/nm-device-802-3-ethernet.c: Ditto.
7699
7700         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7701         sent along, pass it on to virtual functions.
7702
7703         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7704         for now, but should really be public instead of nm_device_get_iface() since iface
7705         is a property of the DeviceInterface, not Device.
7706         (impl_device_activate): Don't touch NMManager!
7707
7708 2007-09-26  Jürg Billeter  <j@bitron.ch>
7709
7710         * initscript/paldo/NetworkManager.in:
7711         * initscript/paldo/NetworkManagerDispatcher.in:
7712         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7713         (nm_system_flush_loopback_routes): update paldo backend
7714
7715 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7716
7717         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7718         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7719         which means none of the devices get brought down properly, which in turn leaves
7720         DHCP client running.
7721
7722         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7723         (supplicant_connection_timeout_cb): Ditto.
7724
7725 2007-09-25  Dan Williams  <dcbw@redhat.com>
7726
7727         * src/nm-device.c
7728                 - (device_activation_go): small hack to work around race when
7729                         activating deferred connections; should solve this in a better way
7730
7731 2007-09-25  Dan Williams  <dcbw@redhat.com>
7732
7733         * introspection/nm-device.xml
7734           libnm-glib/nm-device.c
7735           libnm-glib/nm-device.h
7736                 - Add 'Carrier' property to exported NMDevice objects
7737
7738         * src/nm-device-interface.h
7739           src/nm-device-interface.c
7740           src/nm-device.c
7741                 - Add a 'carrier' property to internal NMDevice objects
7742
7743 2007-09-25  Dan Williams  <dcbw@redhat.com>
7744
7745         * src/nm-device-802-11-wireless.c
7746                 - (ap_auth_enforced): also return the encryption status of the AP so
7747                         that callers can differentiate easily between unencrypted APs
7748                         and encrypted ones, in addition to whether the AP has an
7749                         authenticator
7750                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7751                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7752                         previously would request secrets from unencrypted APs at times
7753
7754 2007-09-25  Dan Williams  <dcbw@redhat.com>
7755
7756         * src/nm-manager.c
7757                 - (nm_manager_update_state): new function; updates state and emits
7758                         appropriate signals ensuring a state-change signal for the same state
7759                         never gets emitted twice in a row.
7760                 - (manager_device_state_changed): handle more device state to get a
7761                         better picture of the overall NM state
7762
7763 2007-09-25  Dan Williams  <dcbw@redhat.com>
7764
7765         * libnm-glib/nm-settings.c
7766           libnm-glib/nm-settings.h
7767                 - (new_error -> nm_settings_new_error): make public so that subclasses
7768                         can use the same error domain.  Also pass a valid error code to
7769                         g_error_new_literal() so that libdbus doesn't assert when converting
7770                         the GError into a DBusError
7771                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7772                    impl_connection_settings_get_settings,
7773                    impl_connection_settings_get_secrets): use new error creator
7774                         function
7775
7776 2007-09-25  Dan Williams  <dcbw@redhat.com>
7777
7778         * src/NetworkManager.c
7779                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7780
7781 2007-09-25  Dan Williams  <dcbw@redhat.com>
7782
7783         * src/supplicant-manager/nm-supplicant-manager.c
7784                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7785                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7786                    nm_supplicant_manager_startup): when the supplicant isn't running,
7787                         try to start it periodically via system bus activation.  Fixes
7788                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7789                         for the supplicant to come back
7790
7791 2007-09-25  Dan Williams  <dcbw@redhat.com>
7792
7793         Ensure that old activation requests are forgotten about; previously
7794         hitting Cancel in the password dialog would deactivate whatever device
7795         that password was requested for, even if that wasn't the currently
7796         activating connection.
7797
7798         * src/nm-manager.c
7799           src/nm-manager.h
7800                 - (nm_manager_get_connection_secrets): track the pending call
7801                         object so it can be canceled later if needed
7802                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7803                         GetSecrets call for a particular connection
7804
7805         * src/nm-activation-request.c
7806                 - (dispose): cancel any outstanding GetSecrets calls on the
7807                         connection
7808
7809 2007-09-25  Dan Williams  <dcbw@redhat.com>
7810
7811         * src/NetworkManagerPolicy.c
7812                 - (nm_policy_device_change_check): handle devices that have a
7813                         deferred activation.  These devices are not really active _yet_,
7814                         but need to be treated as such here.  Don't interrupt them
7815                         automatically.
7816
7817         * src/nm-device-interface.c
7818                 - (impl_device_activate): handle devices that have a deferred activation
7819                         like activating or active devices.  When multiple active devices
7820                         get committed, the device shouldn't be deactivated until the
7821                         connection details are available to avoid DoS and such.  Currently,
7822                         any active, activating, or deferred activation device is deactivated
7823                         here before starting the new activation request.
7824
7825 2007-09-25  Dan Williams  <dcbw@redhat.com>
7826
7827         Properly re-query secrets from the settings daemon when stuff fails.
7828
7829         * src/nm-device-802-11-wireless.c
7830                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7831                         between Shared Key and Open System auth modes
7832                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7833                    real_act_stage4_ip_config_timeout): clear existing secrets and
7834                         request new ones when something fails due to a suspected wrong key
7835                 - (real_act_stage2_config): fix for new request_new argument to
7836                         nm_manager_get_connection_secrets()
7837
7838         * src/nm-manager.c
7839           src/nm-manager.h
7840                 - (nm_manager_get_connection_secrets): return error status; pass
7841                         new request_new argument on to the settings daemon
7842
7843         * introspection/nm-settings-connection.xml
7844                 - New 'request_new' argument to the GetSecrets call that hints to the
7845                         settings daemon to ask the user for completely new secrets
7846
7847         * libnm-glib/nm-settings.c
7848           libnm-glib/nm-settings.h
7849                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7850                         argument
7851
7852 2007-09-25  Dan Williams  <dcbw@redhat.com>
7853
7854         * libnm-util/nm-connection.c
7855           libnm-util/nm-connection.h
7856                 - (nm_connection_clear_secrets): new function; clear secrets out of
7857                         each NMSetting in an NMConnection
7858
7859         * libnm-util/nm-setting.h
7860           libnm-util/nm-setting.c
7861                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7862                         secrets out of an NMSetting
7863                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7864                    nm_setting_wired_new, nm_setting_wireless_new,
7865                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7866                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7867                         to default handler default_setting_clear_secrets()
7868
7869 2007-09-25  Dan Williams  <dcbw@redhat.com>
7870
7871         * src/nm-activation-request.c
7872           src/nm-activation-request.h
7873                 - (nm_act_request_is_deferred): new function
7874
7875 2007-09-24  Dan Williams  <dcbw@redhat.com>
7876
7877         * src/nm-device-802-11-wireless.c
7878                 - (activation_success_handler): update signal strength immediately
7879                         after activation
7880
7881 2007-09-24  Dan Williams  <dcbw@redhat.com>
7882
7883         * libnm-util/nm-setting.c
7884                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7885
7886 2007-09-24  Dan Williams  <dcbw@redhat.com>
7887
7888         * src/NetworkManagerPolicy.c
7889                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7890                         device by deactivating it because it doesn't have a "best connection".
7891                         Since autoconnect=False connections aren't automatically chosen,
7892                         NM would interrupt activation of such a connection because it
7893                         would never be "best" due to autoconnect=False.
7894
7895 2007-09-24  Dan Williams  <dcbw@redhat.com>
7896
7897         * src/nm-manager.c
7898                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7899                         actually has some time to enter a key before the GetSecrets call
7900                         times out
7901
7902 2007-09-24  Dan Williams  <dcbw@redhat.com>
7903
7904         * introspection/nm-manager.xml
7905           src/nm-manager.c
7906                 - (impl_manager_legacy_state): fix 'state' method call return value
7907
7908 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
7909
7910         * test/Makefile.am: Install nm-tool
7911
7912 2007-09-24  Dan Williams  <dcbw@redhat.com>
7913
7914         Patch from Ross Burton <ross@burtonini.com>
7915
7916         * test/nm-tool.c
7917           callouts/nm-dhcp-client-action.c
7918           src/nm-netlink.c
7919           src/vpn-manager/nm-vpn-connection.c
7920           libnm-glib/libnm-glib-test.c
7921                 - warning fixes
7922
7923 2007-09-24  Dan Williams  <dcbw@redhat.com>
7924
7925         * libnm-util/nm-utils.h
7926           libnm-util/nm-utils.c
7927                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7928                         remove, unused
7929
7930 2007-09-23  Dan Williams  <dcbw@redhat.com>
7931
7932         * vpn-daemons/vpnc/properties/nm-vpnc.c
7933                 - Update for new VPN properties API bits; instead of passing around
7934                         a lot of random things, everything goes into the NMConnection
7935                         object.
7936
7937 2007-09-23  Dan Williams  <dcbw@redhat.com>
7938
7939         * libnm-util/nm-setting.c
7940                 - Correctly dispose of settings objects if creating them from a hash
7941                         table fails
7942
7943 2007-09-23  Dan Williams  <dcbw@redhat.com>
7944
7945         * libnm-util/nm-setting.c
7946                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
7947                         the hash table in a standard manner.  Clients of libnm-util should
7948                         only call g_hash_table_remove_all(), never destroy the hash table
7949                         and recreate it.
7950
7951 2007-09-22  Dan Williams  <dcbw@redhat.com>
7952
7953         * src/nm-device-802-11-wireless.c
7954                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
7955                         real reason to do it so often, and reduces wakeups for clients.
7956
7957 2007-09-21  Dan Williams  <dcbw@redhat.com>
7958
7959         * src/nm-device-802-11-wireless.c
7960                 - (build_supplicant_config): wpa_supplicant requires the option
7961                         key_mgmt=NONE for unencrypted networks
7962                 - (real_act_stage2_config): clarify log message on activation
7963
7964 2007-09-21  Dan Williams  <dcbw@redhat.com>
7965
7966         * test/nm-supplicant-test.c
7967           test/Makefile.am
7968                 - Remove supplicant test binary; no longer applicable
7969
7970 2007-09-21  Dan Williams  <dcbw@redhat.com>
7971
7972         * src/supplicant-manager/nm-supplicant-manager.c
7973                 - (nm_supplicant_manager_init): poke the supplicant at startup to
7974                         activate it on the system bus
7975
7976 2007-09-20  Dan Williams  <dcbw@redhat.com>
7977
7978         * initscript/RedHat/NetworkManager.in
7979                 - dhcdbd is no longer used, so don't try to start it from the initscripts
7980
7981 2007-09-20  Dan Williams  <dcbw@redhat.com>
7982
7983         * src/nm-device.c
7984                 - (nm_device_is_activating): work around a race between auto-activation
7985                         and the user activating the same device that is being auto-activated
7986
7987 2007-09-20  Dan Williams  <dcbw@redhat.com>
7988
7989         * src/nm-device-interface.c
7990                 - (impl_device_activate): until multiple active device support lands,
7991                         ensure only one device can be active at a time
7992
7993 2007-09-20  Dan Williams  <dcbw@redhat.com>
7994
7995         * src/supplicant-manager/nm-supplicant-config.c
7996           src/supplicant-manager/nm-supplicant-config.h
7997                 - (nm_supplicant_config_add_option): hide secrets from system logs
7998
7999 2007-09-20  Dan Williams  <dcbw@redhat.com>
8000
8001         * src/NetworkManagerPolicy.c
8002                 - (nm_policy_device_change_check): re-enable the wireless device change
8003                         checking code; insted of checking for SSIDs, check for the same
8004                         connection instead
8005
8006 2007-09-20  Dan Williams  <dcbw@redhat.com>
8007
8008         * src/nm-device-802-11-wireless.c
8009                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8010                         composite link state when determining when to start the disconnection
8011                         timer; that link state is already based on the supplicant interface's
8012                         status which is exactly what's already being examined, plus the link
8013                         state is a conglomeration of various things that we don't want here
8014
8015 2007-09-20  Dan Williams  <dcbw@redhat.com>
8016
8017         * libnm-glib/nm-access-point.c
8018                 - (handle_property_changed): strength is a UCHAR
8019
8020 2007-09-20  Dan Williams  <dcbw@redhat.com>
8021
8022         * src/supplicant-manager/nm-supplicant-config.c
8023                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8024                         string list keywords too since that's what wpa_supplicant wants
8025
8026 2007-09-20  Dan Williams  <dcbw@redhat.com>
8027
8028         * libnm-util/nm-setting.c
8029                 - (convert_strv_to_slist): dupe the values in the list because since
8030                         the list is a boxed value, it'll get destroyed when it's container
8031                         (like a hash table or whatever) gets destroyed
8032
8033 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8034
8035         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8036         GSList.
8037
8038         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8039
8040         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8041         just use (g_object_set_data_full).
8042
8043         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8044         that NMSettingVPN->routes is a GSList, convert it to char **.
8045         (nm_vpn_connection_ip4_config_get): Free routes when done.
8046         (nm_vpn_connection_activate): Ditto.
8047
8048         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8049         (real_act_stage2_config): Use defined setting names.
8050
8051 2007-09-20  Dan Williams  <dcbw@redhat.com>
8052
8053         * src/nm-device-802-11-wireless.c
8054           src/nm-manager.c
8055           src/nm-manager.h
8056                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8057                         so that the device can be deactivated if secrets are wrong
8058
8059 2007-09-20  Dan Williams  <dcbw@redhat.com>
8060
8061         * introspection/nm-settings-connection.xml
8062           libnm-glib/nm-settings.c
8063           libnm-glib/nm-settings.h
8064                 - Make GetSecrets asynchronous on the server side
8065
8066 2007-09-20  Dan Williams  <dcbw@redhat.com>
8067
8068         * src/nm-manager.h
8069           src/nm-device.c
8070                 - (nm_device_activate): actually check if a given connection
8071                         exists before assuming it doesn't
8072
8073 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8074
8075         * libnm-util/nm-connection.c (register_default_creators): Use defined
8076         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8077
8078         * libnm-util/nm-setting.c: Define property name strings, use them.
8079         Implement NMSettingVPN and NMSettingVPNProperties settings.
8080         Implement NM_S_TYPE_GVALUE_HASH.
8081         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8082         (setting_connection_verify): Rename 'devtype' property to 'type'.
8083
8084         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8085         properties.
8086
8087         * src/vpn-manager/nm-vpn-service.c: Ditto.
8088
8089         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8090
8091         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8092         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8093
8094         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8095         names. NMSettingConnection->devtype got renamed to 'type'.
8096
8097         * src/nm-device-802-3-ethernet.c (find_best_connection):
8098         (real_get_best_connection): Ditto.
8099
8100         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8101
8102         * libnm-glib/nm-vpn-manager.[ch]: Update.
8103
8104 2007-09-19  Dan Williams  <dcbw@redhat.com>
8105
8106         * src/NetworkManagerAP.c
8107           src/NetworkManagerAP.h
8108           introspection/nm-access-point.xml
8109                 - Change strength-changed signal into a properties-changed signal
8110                         for all properties, not just strength.  Export that signal over dbus
8111                         so listeners don't have to poll NM for changes.
8112                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8113                         get exported over D-Bus, so break up the logic and let other bits
8114                         decided when to export the AP
8115                 - (nm_ap_new_from_ap): remove, unused
8116
8117         * src/nm-device-802-11-wireless.c
8118                 - (merge_scanned_ap): only export APs that are actually on the device
8119                         list, not every AP created internally
8120
8121         * libnm-glib/nm-access-point.c
8122           libnm-glib/nm-access-point.h
8123                 - Cache properties internally and only hit DBus when needed.  Get
8124                         property updates from NM signals
8125
8126 2007-09-16  Dan Williams  <dcbw@redhat.com>
8127
8128         * libnm-util/nm-connection.c
8129           libnm-util/nm-connection.h
8130                 - (nm_connection_for_each_setting_value): new function; iterate over
8131                         each setting's value and call a user-provided function with details
8132                         about that value
8133
8134         * libnm-util/nm-setting.c
8135           libnm-util/nm-setting.h
8136                 - (nm_setting_enumerate_values): new function; enumerate the values
8137                         of a specific NMSetting subclass for a user-provided function with
8138                         details about that value
8139                 - Change wep_tx_keyidx to a uint32
8140                 - Create settings value tables for each setting defining their type,
8141                         key name, offset into the NMSetting subclass' structure, and whether
8142                         they are required and/or a secret
8143                 - (nm_setting_populate_from_hash): generic function to populate an
8144                         NMSetting from a GHash table, make all settings use it
8145                 - (nm_setting_hash): generic function to derive a GHashTable from
8146                         an NMSetting object, make all settings use it
8147
8148 2007-09-14  Dan Williams  <dcbw@redhat.com>
8149
8150         Remove unused stuff in libnm-util
8151
8152         * configure.in
8153           libnm-util/Makefile.am
8154           libnm-util/cipher-private.h
8155           libnm-util/cipher-wep-ascii.c
8156           libnm-util/cipher-wep-ascii.h
8157           libnm-util/cipher-wep-hex.c
8158           libnm-util/cipher-wep-hex.h
8159           libnm-util/cipher-wep-passphrase.c
8160           libnm-util/cipher-wep-passphrase.h
8161           libnm-util/cipher-wpa-psk-hex.c
8162           libnm-util/cipher-wpa-psk-hex.h
8163           libnm-util/cipher-wpa-psk-passphrase.c
8164           libnm-util/cipher-wpa-psk-passphrase.h
8165           libnm-util/cipher.c
8166           libnm-util/cipher.h
8167           libnm-util/dbus-helpers.c
8168           libnm-util/dbus-helpers.h
8169           libnm-util/gnome-keyring-md5.c
8170           libnm-util/gnome-keyring-md5.h
8171           libnm-util/sha1.c
8172           libnm-util/sha1.h
8173           src/nm-device-802-11-wireless.c
8174           test/libnm-util/Makefile.am
8175           test/libnm-util/test-ciphers.c
8176           test/libnm-util/test-dbus-helpers.c
8177           test/libnm-util/test-inputs.h
8178                 - Removed
8179
8180 2007-09-14  Dan Williams  <dcbw@redhat.com>
8181
8182         * libnm-util/dbus-method-dispatcher.c
8183           libnm-util/dbus-method-dispatcher.h
8184                 - Remove, unused
8185
8186 2007-09-14  Dan Williams  <dcbw@redhat.com>
8187
8188         Implement deferred activation support in the device class.
8189
8190         * src/nm-device-interface.c
8191           src/nm-device-interface.h
8192                 - (nm_device_interface_activate): take more arguments to support
8193                         deferred activation; callers must pass one of (connection) OR
8194                         (service_name, connection_path)
8195                 - (impl_device_activate): connection validation is punted to the device
8196                         to be able to handle deferred activation.  Yes, this means errors
8197                         don't get returned from the Activate() dbus call, and yes, that
8198                         should be fixed somehow later.
8199
8200         * src/nm-device.c
8201           src/nm-device.h
8202                 - (clear_act_request): clear additional deferred activation stuff too
8203                 - (deferred_activation_timeout_cb): new function; clean up when
8204                         deferred activation times out.
8205                 - (deferred_activation_start_cb): new function; when the connection
8206                         finally becomes available, start device activation
8207                 - (nm_device_activate): attach to the right signals of the activation
8208                         request if we need to defer activation until the connection is valid
8209
8210         * src/NetworkManagerPolicy.c
8211                 - (nm_policy_device_change_check): update for additional arguments
8212                         required for nm_device_interface_activate().  Pass NULL for these
8213                         though because this function already knows exactly which
8214                         NMConnection to use
8215
8216 2007-09-14  Dan Williams  <dcbw@redhat.com>
8217
8218         Implement deferred activation handling in the NMActRequest class.  When a
8219         client wants to activate a device but must create the NMConnection details
8220         on the fly, there likely hasn't been enough time yet for NM to receive the
8221         new connection signal and grab all the connection details.  So the
8222         activation is deferred (and bounded by a timer) for a while, and if the
8223         connection appears within the window, it is activated.
8224
8225         * src/nm-activation-request.c
8226           src/nm-activation-request.h
8227                 - (nm_act_request_class_init): two new signals to support deferred
8228                         activation, to allow the listener to handle both timeout and success
8229                 - (nm_act_request_new_deferred): new function, starts the deferred
8230                         activation timeout handler and listens to the NMManager for
8231                         new-connection signals to notice when the connection comes in
8232
8233 2007-09-14  Dan Williams  <dcbw@redhat.com>
8234
8235         * src/nm-manager.h
8236           src/nm-manager.c
8237                 - (nm_manager_get_connection_service_name,
8238                    nm_manager_get_connection_dbus_path): get details about a connection
8239                         known internally by the NMManager
8240                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8241                         because NMConnection is now a GObject subclass
8242                 - Use constant for the gobject data tag used on NMConnection objects for
8243                         storing the associated DBusGProxy
8244
8245 2007-09-14  Dan Williams  <dcbw@redhat.com>
8246
8247         * utils/Makefile.am
8248           utils/nm-utils.c
8249           utils/nm-utils.h
8250           src/supplicant-manager/Makefile.am
8251           src/dhcp-manager/Makefile.am
8252           src/backends/Makefile.am
8253           src/named-manager/Makefile.am
8254           src/ppp-manager/Makefile.am
8255           src/vpn-manager/Makefile.am
8256           test/libnm-util/Makefile.am
8257           test/test-common/Makefile.am
8258                 - Remove utils/; it was unused
8259
8260 2007-09-13  Dan Williams  <dcbw@redhat.com>
8261
8262         * libnm-glib/nm-vpn-manager.h
8263           libnm-glib/nm-vpn-manager.c
8264                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8265
8266 2007-09-13  Dan Williams  <dcbw@redhat.com>
8267
8268         * src/nm-device-802-3-ethernet.c
8269                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8270                         netlink monitor carrier signals on dispose, not bring down.  The
8271                         carrier signals should be handled over the entire lifetime of the
8272                         device anyway, not created/destroyed on up or down.
8273
8274 2007-09-13  Dan Williams  <dcbw@redhat.com>
8275
8276         * libnm-glib/nm-device.c
8277           libnm-glib/nm-device.h
8278                 - (nm_device_activate): take a connection object path rather than an
8279                         NMConnection because NMConnection isn't exported over D-Bus and
8280                         therefore it dbus-glib can't automatically get an object path from it
8281
8282 2007-09-13  Dan Williams  <dcbw@redhat.com>
8283
8284         * libnm-util/nm-setting.c
8285                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8286
8287 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8288
8289         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8290
8291 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8292
8293         * src/vpn-manager/nm-vpn-connection.[ch]: 
8294         * src/vpn-manager/nm-vpn-manager.[ch]:
8295         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8296         dbus-glib, GObjects, signals etc.
8297
8298         * libnm-glib/nm-vpn-manager.[ch]: 
8299         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8300         so much, rewrite these too.
8301
8302         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8303         the new introspection files.
8304
8305         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8306
8307         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8308         the header with the same name from libnm-utils.
8309
8310         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8311
8312         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8313
8314         * introspection/nm-vpn-plugin.xml: Implement.
8315
8316         * introspection/nm-vpn-connection.xml: Implement.
8317
8318         * introspection/nm-vpn-manager.xml: Implement.
8319
8320         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8321         the named manager argument, it can just as easily get it as the caller.
8322         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8323
8324         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8325
8326         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8327
8328         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8329         libnm-utils.
8330
8331         * libnm-util/nm-connection.c: Ditto.
8332
8333         * src/NetworkManagerMain.h: Remove, it's finally empty.
8334
8335         * configure.in: Remove utils/ from build.
8336
8337         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8338         of hard-coded strings.
8339
8340         * utils/: Move it over to libnm-util.
8341
8342         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8343
8344         * dispatcher-daemon/Makefile.am: Ditto.
8345
8346         * src/Makefile.am: Ditto.
8347
8348 2007-09-12  Dan Williams  <dcbw@redhat.com>
8349
8350         Wireless connections can be made with config data from the applet now.
8351         
8352         Yay.
8353
8354         * src/supplicant-manager/nm-supplicant-config.h
8355           src/supplicant-manager/nm-supplicant-config.c
8356                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8357                 - (nm_supplicant_config_add_setting_wireless,
8358                    nm_supplicant_config_add_setting_wireless_security): new functions;
8359                         add key/value pairs from the settings objects to the supplicant
8360                         config
8361
8362         * src/nm-device-802-11-wireless.c
8363                 - (cull_scan_list): fix check to not prune currently associated AP
8364                 - (build_supplicant_config, real_act_stage2_config): call the functions
8365                         of the NMSupplicantConfig that parse settings objects rather than
8366                         doing it manually here
8367
8368 2007-09-12  Dan Williams  <dcbw@redhat.com>
8369
8370         * src/supplicant-manager/nm-supplicant-interface.c
8371           src/supplicant-manager/nm-supplicant-marshal.list
8372                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8373                         "connection-error" signal arguments should be STRING not CHAR
8374
8375 2007-09-12  Dan Williams  <dcbw@redhat.com>
8376
8377         * src/NetworkManagerUtils.c
8378           src/NetworkManagerUtils.h
8379                 - (nm_utils_hexstr2bin): new function
8380
8381 2007-09-11  Dan Williams  <dcbw@redhat.com>
8382
8383         * src/nm-manager.c
8384                 - (connection_get_settings_cb): emit connection-added signal
8385                 - (connection_removed_cb): uncomment bits for system settings service,
8386                         send connection-removed when appropriate
8387                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8388                         the stack by trying to g_object_set_data() on something that's
8389                         not a GObject; handle case where settings service returns
8390                         empty settings hash table
8391
8392 2007-09-11  Dan Williams  <dcbw@redhat.com>
8393
8394         * src/NetworkManagerPolicy.c
8395                 - (connection_added, connection_removed): trigger device change checks
8396                         on connection changes
8397
8398 2007-09-11  Dan Williams  <dcbw@redhat.com>
8399
8400         * src/nm-activation-request.c
8401                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8402
8403 2007-09-11  Dan Williams  <dcbw@redhat.com>
8404
8405         * src/nm-device-802-11-wireless.c
8406                 - (real_connection_secrets_updated): fix erroneous check
8407
8408 2007-09-11  Dan Williams  <dcbw@redhat.com>
8409
8410         * introspection/nm-device.xml
8411           libnm-glib/nm-device.c
8412           libnm-glib/nm-device.c
8413                 - Fix Activate call argument borkage; Activate takes 3 arguments
8414
8415 2007-09-11  Dan Williams  <dcbw@redhat.com>
8416
8417         * libnm-glib/nm-access-point.c
8418           libnm-glib/nm-access-point.c
8419                 - (nm_access_point_get_frequency): now returns guint32 to match
8420                         property change on 2007-09-10
8421
8422 2007-09-11  Dan Williams  <dcbw@redhat.com>
8423
8424         * src/nm-device-802-11-wireless.c
8425                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8426                         somewhere defines 'index' and I missed this one when I fixed the
8427                         shadow declaration errors earlier
8428
8429 2007-09-11  Dan Williams  <dcbw@redhat.com>
8430
8431         * libnm-util/nm-connection.c
8432                 - (nm_connection_update_secrets, need_secrets_check): move
8433                         802-11-wireless-security need_secrets checks to the setting object
8434                         itself, where it belongs
8435
8436         * libnm-util/nm-setting.c
8437           libnm-util/nm-setting.h
8438                 - (nm_setting_need_secrets): new function
8439                 - (setting_wireless_security_verify,
8440                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8441                 - (setting_wireless_security_need_secrets): mostly copy code over
8442                         from nm-connection.c
8443
8444 2007-09-11  Dan Williams  <dcbw@redhat.com>
8445
8446         * libnm-util/nm-setting.c
8447           libnm-util/nm-setting.h
8448                 - (nm_setting_update_secrets): new function; add a virtual function that
8449                         subclasses can implement to update their secrets
8450                 - (setting_wireless_security_update_secrets): implement that function
8451                         for the 802-11-wireless-security subclass
8452
8453         * libnm-util/nm-connection.c
8454           libnm-util/nm-connection.h
8455                 - (nm_connection_update_secrets): update secrets for a Setting and
8456                         emit a signal on success
8457
8458         * src/nm-manager.c
8459           src/nm-manager.h
8460           src/nm-marshal.list
8461                 - (connection_get_settings_cb): enable system settings bits
8462                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8463                         to request secrets from the settings dbus service and to
8464                         push those secrets to the NMConnection itself
8465
8466         * src/nm-activation-request.c
8467           src/nm-activation-request.h
8468                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8469                         currently being activated, and proxy that signal to other listeners.
8470                         Goes through the activation request because the activation request
8471                         is the thing that manages the lifetime of the NMConnection that's
8472                         being activated.
8473
8474         * src/nm-device-802-11-wireless.c
8475                 - (real_connection_secrets_updated): implement the connection secrets
8476                         updated notification and restart activation when secrets are
8477                         received
8478                 - (real_act_stage2_config): request secrets from the settings dbus
8479                         service if secrets are needed
8480
8481         * src/nm-device.c
8482           src/nm-device.h
8483                 - (clear_act_request, nm_device_activation_cancel,
8484                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8485                         where the activation request is cleared
8486                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8487                         updated secrets signal of activation request and add a function
8488                         that subclasses can override to handle it easily
8489
8490 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8491
8492         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8493         removal of NetworkManagerAPList.
8494
8495 2007-09-10  Dan Williams  <dcbw@redhat.com>
8496
8497         * src/NetworkManagerAP.c
8498           src/NetworkManagerAP.h
8499           introspection/nm-access-point.xml
8500                 - Change 'freq' property to a guint32 instead of a double since we
8501                         weren't using the floating point bits anyway
8502
8503 2007-09-10  Dan Williams  <dcbw@redhat.com>
8504
8505         * NetworkManagerAP.c
8506           NetworkManagerAP.h
8507           NetworkManagerPolicy.c
8508           NetworkManagerSystem.c
8509           NetworkManagerUtils.c
8510           NetworkManagerUtils.h
8511           nm-device-802-11-wireless.c
8512           nm-device-802-3-ethernet.c
8513           nm-hal-manager.c
8514           nm-manager.c
8515           vpn-manager/nm-dbus-vpn.c
8516                 - Warning fixes; casts and removal of unused variables
8517
8518 2007-09-10  Dan Williams  <dcbw@redhat.com>
8519
8520         * include/NetworkManager.h
8521                 - Kill NMNetworkType; AP types don't matter any more
8522
8523         * src/NetworkManagerAPList.c
8524           src/NetworkManagerAPList.h
8525           src/Makefile.am
8526                 - Kill; NMAccessPointList has outlived it's usefulness
8527
8528         * src/NetworkManagerAP.c
8529           src/NetworkManagerAP.h
8530                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8531                         functions; check if an NMConnection object is compatible with the
8532                         settings of this AP
8533                 - (freq_to_channel, channel_to_freq): utility functions for
8534                         channel <-> frequency conversion
8535
8536         * src/nm-device.c
8537           src/nm-device.h
8538                 - (nm_device_get_best_connection): pass the specific object around
8539                          (which might be the object path of a specific AP to connect to).
8540                          The get_best_connection() call should populate this on return
8541                          if needed (wireless does).
8542
8543         * src/nm-device-802-3-ethernet.c
8544                 - (real_get_best_connection): handle specific_object argument
8545
8546         * src/NetworkManager.c
8547           src/NetworkManagerMain.h
8548                 - Remove unused includes
8549
8550         * src/nm-device-802-11-wireless.c
8551           src/nm-device-802-11-wireless.h
8552                 - Convert the ap_list into a GSList from an NMAccessPointList
8553                 - No need for caching the 'activation_ap' since this is now determined
8554                         from the specific_object of the activation request, which is
8555                         populated from the get_best_connection() call or from a user request
8556                 - (nm_device_802_11_wireless_update_bssid): fix warning
8557                 - (get_wireless_capabilities): fix error message format arguments
8558                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8559                 - (find_best_connection, real_get_best_connection): implement
8560                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8561                         move here from NetworkManagerAPList
8562                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8563                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8564                         already verified earlier
8565                 - (real_act_stage2_config): use nm_connection_need_secrets()
8566
8567         * src/NetworkManagerPolicy.c
8568                 - (nm_policy_auto_get_best_device): handle specific objects
8569                 - (create_connection): remove; automatic connection creation functionality
8570                         is handled by the Connection objects
8571                 - (nm_policy_device_change_check): handle specific_object
8572
8573         * libnm-util/nm-connection.c
8574                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8575
8576 2007-09-10  Dan Williams  <dcbw@redhat.com>
8577
8578         * src/nm-manager.c
8579                 - (query_connections): fix uninitialized variable problem that caused
8580                         segfault
8581                 - (nm_manager_add_device): take devices down on startup so that we can
8582                         be assured that nm_device_is_up() won't short-circuit the init
8583                         process.  Hack until the is_up check gets split into two pieces
8584                         that aren't behaviorally confusing.
8585
8586 2007-09-09  Dan Williams  <dcbw@redhat.com>
8587
8588         * introspection/nm-device.xml
8589                 - The 'Activate' method now takes 3 arguments, a service name for the
8590                 settings service (user or system), the object path of the connection
8591                 to activate, and the specific object to activate, if any
8592
8593         * src/nm-device-interface.c
8594                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8595                 Add error bits
8596                 - (impl_device_activate): adapt to new Activate arguments; validate
8597                 the service name and get the Connection object from the NMManager
8598                 before starting to activate the device with the specified connection
8599
8600         * src/nm-device-802-3-ethernet.c
8601                 - (real_get_best_connection): find the best connection, or create a
8602                 default one if no existing connections can be used
8603
8604         * src/NetworkManagerPolicy.c
8605                 - (nm_policy_auto_get_best_device): Get the device's best connection
8606                 and only pick the device if it has one
8607                 - (nm_policy_device_change_check): disable wireless bits for now until
8608                 wireless get_best_connection() can be implemented (replacing "best_ap");
8609                 don't create a default connection here as the device subclass will do
8610                 that if needed
8611
8612         * src/nm-manager.h
8613           src/nm-manager.c
8614                 - (nm_manager_get): make NMManager a singleton and expose the getter
8615                 internally
8616                 - Rework internal NMManager connection handling to use the same
8617                 routines for both the system and user settings services.  Most calls
8618                 take a new NMConnectionType argument specifying either system or user
8619                 connections
8620                 - (nm_manager_get_connection_by_object_path): new function; get a
8621                 connection keyed on its object path
8622
8623         * src/NetworkManager.c
8624                 - (main): use nm_manager_get()
8625
8626 2007-09-09  Dan Williams  <dcbw@redhat.com>
8627
8628         * src/nm-device.h
8629           src/nm-device.c
8630                 - (nm_device_get_best_connection): new function; get best connection
8631                         for the device at that time
8632
8633 2007-09-09  Dan Williams  <dcbw@redhat.com>
8634
8635         * src/nm-device-interface.h
8636                 - Add NMDeviceInterfaceError with an UnknownConnection error
8637
8638 2007-09-09  Dan Williams  <dcbw@redhat.com>
8639
8640         Stupid mistake on my part; object path and interface for settings service
8641         and connection objects can be the same, only the service name must be
8642         different for the system and user settings services.
8643
8644         * include/NetworkManager.h
8645           src/nm-manager.c
8646           introspection/nm-settings-connection.xml
8647           introspection/nm-settings.xml
8648           libnm-glib/nm-settings.c
8649                 - (nm_connection_settings_init, query_user_connections,
8650                    new_connection_cb): Unify NetworkManagerSettings and Connection
8651                    interface name and object path
8652
8653 2007-09-06  Dan Williams  <dcbw@redhat.com>
8654
8655         * libnm-glib/nm-object.c
8656                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8657                    nm_object_get_int_property, nm_object_get_uint_property,
8658                    nm_object_get_boolean_property, nm_object_get_byte_property,
8659                    nm_object_get_double_property, nm_object_get_byte_array_property):
8660                         clear GValues after copying their contents, fixes memory leaks
8661                         after every property access because dbus-glib copies the values
8662                         from the DBusMessage into the GValue already.
8663
8664 2007-09-06  Dan Williams  <dcbw@redhat.com>
8665
8666         * introspection/nm-access-point.xml
8667                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8668                         them to be.  There's some magic property name parsing going on in
8669                         dbus-glib that breaks up property names based on studly-caps and
8670                         puts - between words.
8671
8672         * libnm-glib/nm-access-point.c
8673                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8674                         Fix property names
8675
8676 2007-09-06  Dan Williams  <dcbw@redhat.com>
8677
8678         * src/nm-manager.c
8679                 - (nm_manager_user_connections_destroy): clear the user connections hash
8680                         table, don't destroy it
8681                 - (finalize): only destroy the hash table on NMManager finalization
8682
8683 2007-09-02  Dan Williams  <dcbw@redhat.com>
8684
8685         * include/NetworkManager.h
8686           libnm-glib/nm-settings.c
8687                 - defines for the user settings daemon D-Bus bits
8688
8689         * src/NetworkManager.c
8690                 - Remove stuff that referred to the old NetworkManagerInfo service
8691
8692         * src/vpn-manager/nm-dbus-vpn.h
8693                 - Move old NMI defines to the only place they are used still
8694
8695         * libnm-util/nm-connection.c
8696           libnm-util/nm-connection.h
8697           src/nm-activation-request.c
8698                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8699
8700         * src/nm-manager.c
8701           src/nm-manager.h
8702                 - Get connections and their settings from the user settings daemon
8703                         at the appropriate times
8704
8705 2007-09-02  Dan Williams  <dcbw@redhat.com>
8706
8707         * libnm-util/nm-setting.c
8708                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8709                 - (setting_wireless_hash): set the right value on the item
8710
8711 2007-09-02  Dan Williams  <dcbw@redhat.com>
8712
8713         * test/Makefile.am
8714           test/nminfotest.c
8715                 - Remove, no longer useful
8716
8717 2007-08-30  Dan Williams  <dcbw@redhat.com>
8718
8719         * src/Makefile.am
8720           src/NetworkManagerDbus.c
8721           src/NetworkManagerDbus.h
8722           src/vpn-manager/nm-dbus-vpn.c
8723                 - Remove, no longer necessary.  Move last bits to the only place its
8724                 used, in nm-dbus-vpn.c
8725
8726         * src/NetworkManagerAPList.c
8727           src/nm-device.c
8728           src/NetworkManager.c
8729           src/nm-device-802-11-wireless.c
8730           src/vpn-manager/nm-vpn-manager.c
8731           src/vpn-manager/nm-vpn-service.c
8732           src/NetworkManagerPolicy.c
8733           src/nm-manager.c
8734                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8735                 that was message_is_error()
8736
8737 2007-08-30  Dan Williams  <dcbw@redhat.com>
8738
8739         * libnm-util/sha1.c
8740                 - Include config.h to get defines for endiannes (gnome.org #420216)
8741
8742 2007-08-30  Dan Williams  <dcbw@redhat.com>
8743
8744         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8745
8746         * src/ppp-manager/Makefile.am
8747                 - use -fPIC (gnome.org #471825)
8748
8749 2007-08-29  Dan Williams  <dcbw@redhat.com>
8750
8751         * include/NetworkManager.h
8752                 - Keep NMConnection object path in sync
8753
8754         * libnm-glib/nm-settings.c
8755           libnm-glib/nm-settings.h
8756                 - Break D-Bus object registration out of the init function, because
8757                 every object that's exported over D-Bus needs to use the _same_
8758                 DBusConnection.  Otherwise, each object would get a different object
8759                 path tree and wouldn't be callable.
8760
8761 2007-08-29  Dan Williams  <dcbw@redhat.com>
8762
8763         * libnm-util/nm-setting.h
8764           libnm-util/nm-setting.c
8765           libnm-util/nm-connection.c
8766           src/NetworkManagerPolicy.c
8767                 - 'info' settings object should be 'connection' says the spec
8768                 at NetworkManagerConfigurationSpecification
8769
8770 2007-08-29  Dan Williams  <dcbw@redhat.com>
8771
8772         * libnm-glib/nm-settings.c
8773           libnm-glib/nm-settings.h
8774                 - make the dbus path a property of the object, and autogenerate it.
8775                 It can't be composed of the 'id' field becuase that's not available
8776                 yet during the GObject creation in nm_connection_settings_init()
8777
8778 2007-08-29  Dan Williams  <dcbw@redhat.com>
8779
8780         * introspection/nm-settings-connection.xml
8781           introspection/nm-settings.xml
8782                 - Service name -> NetworkManagerUserSettings because two services
8783                 can't share part of the same path.  I'm not really sure how we'll use
8784                 the same code with the system-settings daemon...
8785
8786 2007-08-28  Dan Williams  <dcbw@redhat.com>
8787
8788         * src/nm-device-interface.c
8789           src/nm-device-interface.h
8790                 - Kill one more bit of NMData
8791
8792 2007-08-28  Dan Williams  <dcbw@redhat.com>
8793
8794         * src/NetworkManagerSystem.h
8795           src/nm-device.c
8796           src/nm-device.h
8797           src/nm-hal-manager.c
8798           src/NetworkManager.c
8799           src/nm-device-802-11-wireless.c
8800           src/nm-hal-manager.h
8801           src/nm-device-802-3-ethernet.c
8802           src/vpn-manager/nm-vpn-service.h
8803           src/vpn-manager/nm-vpn-manager.c
8804           src/vpn-manager/nm-vpn-manager.h
8805           src/vpn-manager/nm-vpn-service.c
8806           src/nm-device-802-11-wireless.h
8807           src/NetworkManagerMain.h
8808           src/nm-device-802-3-ethernet.h
8809           src/backends/NetworkManagerGentoo.c
8810           src/backends/NetworkManagerPaldo.c
8811           src/backends/NetworkManagerFrugalware.c
8812           src/backends/NetworkManagerRedHat.c
8813           src/backends/NetworkManagerSlackware.c
8814           src/backends/NetworkManagerGeneric.c
8815           src/backends/NetworkManagerArch.c
8816           src/backends/NetworkManagerSuSE.c
8817           src/backends/NetworkManagerGeneric.h
8818           src/backends/NetworkManagerDebian.c
8819                 - Kill NMData
8820
8821 2007-08-28  Dan Williams  <dcbw@redhat.com>
8822
8823         * src/NetworkManagerMain.h
8824           src/nm-device-802-11-wireless.c
8825           src/NetworkManager.c
8826                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8827                 for now we should set the 'invalid' property on individual APs, and when
8828                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8829                 that ESS
8830
8831 2007-08-28  Dan Williams  <dcbw@redhat.com>
8832
8833         * src/NetworkManagerAP.c
8834           src/NetworkManagerAP.h
8835                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8836                         'autoconnect' property instead
8837
8838         * src/NetworkManager.c
8839           src/NetworkManagerMain.h
8840           src/NetworkManagerPolicy.c
8841           src/NetworkManagerPolicy.h
8842                 - Remove the 'allowed_ap_list', which should be replaced by 
8843                         NMConnection/NMSettings instead, since _those_ are the allowed
8844                         things that NM can connect to
8845
8846         * src/nm-device-802-11-wireless.c
8847                 - Remove both allowed_ap_list usage and 'fallback' checking
8848
8849 2007-08-28  Dan Williams  <dcbw@redhat.com>
8850
8851         * src/nm-device.c
8852           src/named-manager/nm-named-manager.c
8853           src/named-manager/nm-named-manager.h
8854           src/NetworkManager.c
8855           src/vpn-manager/nm-vpn-manager.c
8856           src/NetworkManagerMain.h
8857           src/NetworkManagerSystem.c
8858                 - Remove the named-manager object from NMData structure in preparation
8859                 for NMData's timely death.  Make the NMNamedManager the singleton that
8860                 it really is
8861
8862 2007-08-28  Dan Williams  <dcbw@redhat.com>
8863
8864         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8865         each AP's capabilities, and by NMConnection/NMSettings objects for user
8866         defined connections.
8867
8868         * include/NetworkManager.h
8869                 - Redefine 802.11 security properties.  There are now device capabilities
8870                         and AP flags and AP security flags.  It was way to unclear before.
8871
8872         * src/Makefile.am
8873           src/nm-ap-security-leap.h
8874           src/nm-ap-security-leap.c
8875           src/nm-ap-security-wpa-eap.c
8876           src/nm-ap-security-wpa-eap.h
8877           src/nm-ap-security-private.h
8878           src/nm-ap-security-wpa-psk.c
8879           src/nm-ap-security-wpa-psk.h
8880           src/nm-ap-security-wep.c
8881           src/nm-ap-security-wep.h
8882           src/nm-ap-security.c
8883           src/nm-ap-security.h
8884                 - Removed, to be replaced with NMConnection/NMSettings objects
8885
8886         * src/nm-dbus-nmi.c
8887           src/nm-dbus-nmi.h
8888                 - Removed, to be replaced by code that talks to the new info daemon
8889                         interface and gets NMConnection/NMSettings objects
8890
8891         * src/backends/NetworkManagerSuSE.c
8892                 - Remove usage of NMAPSecurity; should be replaced by a system-level
8893                         info-daemon that does the same thing but talks the new info-daemon
8894                         D-Bus interface
8895
8896         * src/NetworkManagerAP.h
8897           src/NetworkManagerAP.c
8898           src/NetworkManagerAPList.c
8899           libnm-glib/libnm-glib-test.c
8900                 - Remove usage of NMAPSecurity objects and adjust to new flags for
8901                         WPA/RSN
8902
8903         * libnm-glib/nm-access-point.c
8904           libnm-glib/nm-access-point.h
8905           introspection/nm-access-point.xml
8906           test/nm-tool.c
8907                 - Adjust to new flags for AP security
8908
8909         * utils/nm-utils.c
8910           utils/nm-utils.h
8911           src/vpn-manager/nm-dbus-vpn.c
8912                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8913                         stuff which is the only place it's used
8914
8915         * src/nm-device-interface.c
8916           src/nm-device-interface.h
8917           introspection/nm-device.xml
8918           src/nm-activation-request.c
8919           src/nm-activation-request.h
8920           src/nm-device.c
8921                 - Add a new 'specific_object' argument that hints to NM what actual
8922                         AP or other device-specific thing the connection should apply to.
8923                         NMConnection objects can apply to more than one actual device/AP.
8924
8925         * libnm-util/nm-connection.c
8926         * libnm-util/nm-connection.h
8927                 - Add 'have_secrets" call stubs
8928
8929         * libnm-util/cipher.h
8930                 - Move NM_AUTH_TYPE_* defines here for now
8931
8932         * src/nm-device-802-11-wireless.c
8933                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8934                         NMSettings objects
8935
8936         * src/NetworkManagerDbus.c
8937         * src/NetworkManagerPolicy.c
8938                 - Remove usage of update_allowed_networks, should be pushing data in
8939                         a different manner
8940
8941 2007-08-27  Tambet Ingo  <tambet@gmail.com>
8942
8943         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
8944         dbus-glib frees it when the call is done.
8945
8946 2007-08-26  Dan Williams  <dcbw@redhat.com>
8947
8948         * introspection/nm-device.xml
8949                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
8950
8951 2007-08-26  Dan Williams  <dcbw@redhat.com>
8952
8953         * src/nm-device-802-3-ethernet.c
8954                 - (constructor): move connection of interface-connected/disconnected
8955                         signals here from real_bring_up().  Should be listening to netlink
8956                         for carrier events no matter what the initial state of the device
8957                         is.
8958
8959 2007-08-26  Dan Williams  <dcbw@redhat.com>
8960
8961         * src/nm-netlink-monitor.c
8962                 - (nm_netlink_monitor_class_init): fix marshalling types for
8963                         interface-connected/interface-disconnected
8964                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
8965                         check
8966
8967 2007-08-26  Dan Williams  <dcbw@redhat.com>
8968
8969         Convert to using interface indexes as the primary method of identifying
8970         devices inside NetworkManager.  Indexes are (?) stable, but devices can
8971         be renamed at any time.  Device object paths now refer to the device
8972         index rather than the name, and you can map those two manually if you like
8973         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
8974         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
8975         to use interface indexes rather than names.
8976
8977 2007-08-26  Dan Williams  <dcbw@redhat.com>
8978
8979         * src/nm-netlink-monitor.h
8980                 - Remove one last bit of wireless-event signal
8981
8982 2007-08-26  Dan Williams  <dcbw@redhat.com>
8983
8984         * src/nm-netlink-monitor.c
8985                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
8986                         don't need the 'wireless-event' signal anymore since that's all
8987                         handled by wpa_supplicant
8988
8989 2007-08-25  Dan Williams  <dcbw@redhat.com>
8990
8991         It's 2007. Remove support for drivers that don't support wireless scanning.
8992
8993         * test/nm-tool.c
8994           include/NetworkManager.h
8995           src/NetworkManagerUtils.c
8996           src/NetworkManagerPolicy.c
8997           src/nm-device-802-11-wireless.c
8998                 - Remove special handling for non-scanning devices and mark them
8999                         as unsupported/unhandled
9000
9001 2007-08-20  Dan Williams  <dcbw@redhat.com>
9002
9003         * src/nm-device-802-11-wireless.c
9004           src/nm-device-802-3-ethernet.c
9005                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9006                         because when the card is pulled or the module removed, the device
9007                         is already !IFF_UP and then device-specific cleanup (removing
9008                         the supplicant interface, periodic checks, etc) never gets done
9009
9010 2007-08-20  Dan Williams  <dcbw@redhat.com>
9011
9012         * src/nm-manager.c
9013                 - (nm_manager_remove_device): bring device down before disconnecting
9014                         signal handlers, so that the 'state' signal will get broadcast when
9015                         the device enters the DOWN state
9016                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9017                         of states that cause the NMManager to recheck its state
9018
9019 2007-08-20  Dan Williams  <dcbw@redhat.com>
9020
9021         * src/supplicant-manager/nm-supplicant-interface.c
9022                 - (interface_disconnect_done): don't try to dispose of the net proxy
9023                         when it may already have been disposed of
9024
9025 2007-08-20  Dan Williams  <dcbw@redhat.com>
9026
9027         * src/nm-device-802-11-wireless.c
9028                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9029                         the SSID isn't available; this can happen when the card is pulled
9030                         or the module unloaded, during the post-removal deactivation
9031                         paths, when the ioctl returns ENODEV
9032
9033 2007-08-20  Dan Williams  <dcbw@redhat.com>
9034
9035         * src/nm-device-802-11-wireless.c
9036                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9037                         frequency, and mode match.  Applets are now responsible for grouping
9038                         access points
9039
9040 2007-08-20  Dan Williams  <dcbw@redhat.com>
9041
9042         * src/NetworkManagerAP.c
9043         * src/NetworkManagerAP.h
9044                 - (nm_ap_print_self): new function
9045
9046         * src/NetworkManagerAPList.c
9047                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9048                         to do it all here
9049         
9050 2007-08-17  Dan Williams  <dcbw@redhat.com>
9051
9052         * src/nm-device-802-3-ethernet.c
9053                 - (real_bring_down): don't try to dispose of stuff that might not
9054                         exist
9055
9056 2007-08-17  Dan Williams  <dcbw@redhat.com>
9057
9058         * src/NetworkManagerAP.c
9059                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9060                         applet.  This ensures that the case between the seen-bssids and
9061                         the bssids reported by the driver match.
9062
9063 2007-08-17  Dan Williams  <dcbw@redhat.com>
9064
9065         * src/nm-device-802-11-wireless.c
9066                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9067                         we dispose of the interface proxy in NM
9068
9069 2007-08-16  Dan Williams  <dcbw@redhat.com>
9070
9071         * libnm-glib/nm-client.c
9072                 - (nm_client_init): create VPN connections hash table with key free
9073                         function
9074                 - (proxy_vpn_connection_added): VPN connections hash table key should
9075                         be a duplicated value, not the same memory address as the VPN
9076                         connection name.  This is because the VPN connection name could
9077                         potentially be freed and set to something else during the lifetime
9078                         of the NMVPNConnection object.
9079
9080 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9081
9082         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9083         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9084         with the file descriptors. Send a child setup function to change the pppd
9085         progress group.
9086
9087 2007-08-15  Dan Williams  <dcbw@redhat.com>
9088
9089         * src/supplicant-manager/nm-supplicant-interface.c
9090                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9091                         an interface
9092                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9093                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9094                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9095                         the interface internally
9096
9097 2007-08-15  Dan Williams  <dcbw@redhat.com>
9098
9099         * src/nm-device-802-11-wireless.c
9100                 - (real_bring_down): move most of this function into device_cleanup()
9101                         so that it can be called from elsewhere
9102                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9103                         and stuff on dispose.  These would normally get cleaned up when
9104                         the device is marked down and deactivated, but when the device is
9105                         hot-unplugged, it's already down and real_down() never gets run
9106
9107 2007-08-15  Dan Williams  <dcbw@redhat.com>
9108
9109         * src/nm-dbus-nmi.c
9110                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9111                         caused a reference leak on device for which NM requested a key
9112
9113 2007-08-15  Dan Williams  <dcbw@redhat.com>
9114
9115         * libnm-glib/nm-client.c
9116                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9117
9118 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9119
9120         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9121         nothing is using it at the moment, but it'll be all useful and stuff later on.
9122
9123         * libnm-util/nm-setting.h: Define NMSettingPPP.
9124
9125         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9126
9127         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9128
9129         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9130
9131         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9132
9133         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9134
9135 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9136
9137         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9138
9139         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9140         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9141         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9142         name and different arguments and it won't compile anymore. To fix this, we now have
9143         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9144         that is new API + compatibility API and used by the daemon. The other, 
9145         nm-manager-client.xml is only the new API without compatibility bits and is used
9146         by libnm-glib to make it compile.
9147
9148         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9149
9150         * src/nm-manager.c (impl_manager_legacy_sleep)
9151         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9152         interface functions for 0.6 branch.
9153
9154 2007-08-14  Dan Williams  <dcbw@redhat.com>
9155
9156         * src/NetworkManagerAP.c
9157                 - (nm_ap_new_from_properties): fix mistaken check of return value
9158                         from memcmp (should expect 0)
9159
9160 2007-08-14  Dan Williams  <dcbw@redhat.com>
9161
9162         (force-commit to fix wrong comment and partial commit of r2685; this
9163          commit actually applies to r2685)
9164
9165         * src/NetworkManagerUtils.c
9166                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9167                         ignores trailing nulls in the SSID to work around mismatches in
9168                         expectations between WEXT and what the info-daemon passes back.  The
9169                         info-daemon would pass back the correct length, but due to the
9170                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9171                         the device would always have an SSID + 1 depending on what versions
9172                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9173                         visible by just quitting the applet and relaunching, which caused
9174                         NM to reassociated to the same network over again when reloading
9175                         the save networks.
9176
9177         * src/NetworkManagerPolicy.c
9178           src/NetworkManagerUtils.h
9179           src/nm-device-802-11-wireless.c
9180                 - Update for new parameter to nm_utils_same_ssid()
9181
9182 2007-08-14  Dan Williams  <dcbw@redhat.com>
9183
9184         * src/NetworkManagerAP.c
9185                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9186                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9187                         setting the BSSID to all 0s.  That confused the heck out of NM,
9188                         plus it's useless and probably out-of-spec.
9189
9190 2007-08-14  Dan Williams  <dcbw@redhat.com>
9191
9192         * callouts/Makefile.am
9193           src/dhcp-manager/nm-dhcp-manager.c
9194           src/dhcp-manager/nm-dhcp-manager.h
9195           src/dhcp-manager/Makefile.am
9196                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9197
9198 2007-08-14  Dan Williams  <dcbw@redhat.com>
9199
9200         * src/dhcp-manager/nm-dhcp-manager.c
9201                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9202                         it's really needed, get rid of unused xtra_args parameter
9203
9204 2007-08-14  Dan Williams  <dcbw@redhat.com>
9205
9206         * include/NetworkManagerVPN.h
9207           src/vpn-manager/nm-dbus-vpn.c
9208           src/vpn-manager/nm-dbus-vpn.h
9209           src/vpn-manager/nm-vpn-act-request.c
9210           src/vpn-manager/nm-vpn-act-request.h
9211           src/vpn-manager/nm-vpn-service.c
9212           src/vpn-manager/nm-vpn-service.h
9213           libnm-glib/nm-vpn-connection.c
9214           libnm-glib/nm-vpn-connection.h
9215           libnm-glib/nm-client.h
9216                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9217                         NMVPNServiceState to clarify what they apply to
9218                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9219                         NMVPNActStage -> NMVPNConnectionState for the same reason
9220
9221         * libnm-glib/nm-client.c
9222                 - Constant + type renames from above
9223                 - Properly handle NameOwnerChanged/manager_running signals
9224                         for NM service; only emit when state really changes
9225                 - Use hash tables correctly so that the key (which was previously owned
9226                         by the D-Bus message) now has the same lifetime as the value, since
9227                         the key is now taken from the the NMVPNConnection itself.  This
9228                         really fixes the double-VPN names in the applet
9229
9230 2007-08-13  Dan Williams  <dcbw@redhat.com>
9231
9232         Patch from Michael Biebl <biebl@debian.org>
9233
9234         * po/POTFILES.in
9235           po/POTFILES.skip
9236                 - Update for vpn-properties move
9237
9238 2007-08-13  Dan Williams  <dcbw@redhat.com>
9239
9240         * libnm-glib/nm-client.c
9241                 - Convert internal VPN connection tracking from a list to a hash table
9242                         to easily avoid duplicates
9243                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9244                         must be freed by the caller, like nm_client_get_devices()
9245                 - (nm_client_remove_vpn_connection): don't let the removal signal
9246                         leak through for NMVPNConnection objects that aren't actually
9247                         tracked.
9248                 - (manager_running): throw away VPN connection list when NM goes away,
9249                         like with the device list
9250
9251 2007-08-13  Dan Williams  <dcbw@redhat.com>
9252
9253         * src/dhcp-manager/nm-dhcp-manager.c
9254                 - Stop any dhclient instance that might be already running for a
9255                         particular interface before starting an NM spawned dhclient.  Fixes
9256                         dhclient processes left over if NM crashes, stuff like that.
9257
9258 2007-08-13  Dan Williams  <dcbw@redhat.com>
9259
9260         * src/NetworkManagerAP.c
9261                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9262                         when the AP wasn't broadcasting it's SSID
9263
9264 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9265
9266         * include/NetworkManager.h: added DBus path for connection settings.
9267
9268         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9269         nm_connection_settings_signal_updated,
9270         nm_connection_settings_signal_removed): new functions to wrap the
9271         objects' signals.
9272         (nm_connection_settings_init): register GObject with DBus.
9273         (nm_connection_settings_get_dbus_object_path): new function.
9274
9275         * libnm-glib/Makefile.am: added libnmutil to link flags.
9276
9277 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9278
9279         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9280
9281         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9282         libnm_glib directory got merged with libnm-glib/.
9283
9284         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9285
9286         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9287         Rename the library from libnm-glib to libnm_glib to maintain the library API
9288         compatibility with 0.6 branch.
9289
9290         * Makefile.am: Remove gnome/ SUBDIR.
9291
9292         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9293
9294         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9295
9296         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9297
9298         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9299         anymore.
9300         Remove checks for wpa_supplicant binary, it's used over dbus.
9301         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9302
9303         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9304         Link the binaries with libnm_glib.la.
9305
9306 2007-08-12  Dan Williams  <dcbw@redhat.com>
9307
9308         * src/NetworkManagerPolicy.c
9309                 - (nm_policy_device_change_check): fix policy to deactivate old device
9310                         before activating new one, at least until the multiple active
9311                         device support lands
9312
9313 2007-08-12  Dan Williams  <dcbw@redhat.com>
9314
9315         * src/NetworkManagerPolicy.c
9316                 - (nm_policy_new): hook up to connection-added / connection-removed
9317                         signals instead of connections-changed
9318
9319 2007-08-12  Dan Williams  <dcbw@redhat.com>
9320
9321         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9322         Robert Frank <rfrank@redhat.com>
9323
9324         * src/dhcp-manager/nm-dhcp-manager.c
9325           src/dhcp-manager/nm-dhcp-manager.c
9326           src/nm-device.c
9327                 - Spawn and communicate with dhclient directly, through means of a
9328                 custom dhclient callout script.  Process callout D-Bus signals
9329                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9330                 sent via gobject signals rather than being driven by the dhcp manager
9331                 directly.
9332
9333 2007-08-12  Dan Williams  <dcbw@redhat.com>
9334
9335         * callouts/nm-dhcp-client-action.c
9336                 - (build_message): ignore non-DHCP-related environment variables
9337
9338 2007-08-12  Dan Williams  <dcbw@redhat.com>
9339
9340         * Makefile.am
9341           configure.in
9342           callouts/Makefile.am
9343           callouts/nm-dhcp-client-action.c
9344           callouts/nm-dhcp-client.conf
9345                 - Add dhclient-executed callout that takes the place of dhclient-script
9346                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9347                 NM then listens for
9348
9349 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9350
9351         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9352
9353         * libnm-glib/nm-client.h:
9354         * libnm-glib/nm-object.h:
9355         * libnm-glib/nm-vpn-connection.h:
9356         * libnm-glib/nm-settings.h:
9357         * libnm-glib/nm-device.h:
9358         * libnm-glib/nm-ip4-config.h:
9359         * libnm-glib/nm-access-point.h:
9360         * libnm-glib/nm-device-802-3-ethernet.h:
9361         * libnm-util/nm-setting.h: 
9362         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9363
9364         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9365
9366         * libnm-glib/nm-access-point.c: Strength has type char.
9367
9368         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9369         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9370
9371         * introspection/nm-access-point.xml: Strength property is char, not int.
9372
9373         * src/NetworkManagerAP.c (set_property): Set strength from char.
9374         (get_property): Handle hidden APs (with empty SSID).
9375         Get strength value from char.
9376         (nm_ap_class_init): Strength property has char type.
9377
9378 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9379
9380         * introspection/Makefile.am:
9381         * introspection/nm-settings.xml:
9382         * introspection/nm-settings-connection.xml: added Settings interfaces.
9383
9384         * libnm-glib/nm-settings.[ch]:
9385         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9386         containing the DBus implementation.
9387
9388 2007-07-26  Dan Williams  <dcbw@redhat.com>
9389
9390         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9391
9392         * src/NetworkManagerSystem.c
9393                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9394                         same subnet (#437396)
9395
9396 2007-07-26  Dan Williams  <dcbw@redhat.com>
9397
9398         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9399
9400         * gnome/vpn-properties/nm-vpn-properties.c
9401                 - Fix translatable strings (#445865)
9402
9403 2007-07-26  Dan Williams  <dcbw@redhat.com>
9404
9405         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9406
9407         * configure.in
9408                 - Remove useless junk (#412530)
9409
9410 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9411
9412         Patch from Robert Buchholz <rbu@gentoo.org>:
9413
9414         * configure.in:
9415         * Makefile.am:
9416         * introspection/Makefile.am:
9417         Make make distcheck work again.
9418
9419 2007-06-27  Dan Williams  <dcbw@redhat.com>
9420
9421         * Make SSIDs GByteArrays everywhere
9422         * Rename "essid" -> "ssid" everywhere that's appropriate
9423         * Refcount activation_ap member of the 802.11 wireless device class
9424
9425 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9426
9427         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9428
9429 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9430
9431         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9432         that we got a new AP when we just update existing AP properties.
9433
9434 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9435
9436         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9437
9438         * nm-utils.[ch]: Remove.
9439
9440         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9441         objects for easy property access and dbus connection handling.
9442
9443         * libnm-glib/nm-client.c: Derive from NMObject.
9444
9445         * libnm-glib/nm-device.c: Ditto.
9446
9447         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9448
9449         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9450
9451         * libnm-glib/nm-ip4-config.c: Ditto.
9452
9453         * libnm-glib/nm-access-point.c: Ditto.
9454
9455         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9456         comparision. Currently used by the device activation code to determine if the new
9457         activation is the same as the old one.
9458
9459         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9460         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9461         able to ask password for the AP.
9462
9463         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9464         up if the device is already connected, tear down it's connection (if it isn't the
9465         same as new one) and start the activation.
9466
9467         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9468
9469         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9470         the issue where all APs are always listed as encrypted.
9471
9472         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9473         their own registered paths.
9474
9475         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9476         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9477
9478 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9479
9480         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9481         (0 & 0 == 0, doh)
9482
9483         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9484         because the handling code will cause the next state change and signal listeners
9485         get the signals in wrong order.
9486
9487         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9488         correctly in case of pending activation.
9489
9490         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9491         Convert the essid byte array to string correctly, including the terminating NULL.
9492
9493         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9494         mode with correct types.
9495
9496         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9497         constructed info to dbus call instead of the activation request.
9498
9499 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9500
9501         Patch from Christian Persch <chpe@gnome.org>
9502
9503         * libnm-glib/Makefile.am:
9504         * dispatcher-daemon/Makefile.am:
9505         Use the correct variables, the correct paths, and correct ordering. (446315)
9506
9507 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9508
9509         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9510         argument. The activation request is easy to retrieve.
9511
9512         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9513         just to be a convenient location for devices to store random stuff.
9514
9515 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9516
9517         Patch from Alex Smith <alex@alex-smith.me.uk>
9518
9519         * src/backends/NetworkManagerFrugalware.c:
9520         Update the FrugalWare backend to fix a few segfaults. (#392642)
9521
9522 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9523
9524         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9525
9526         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9527         setting.
9528         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9529
9530 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9531
9532         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9533         automagically.
9534         Implement NMSettingIP4Config.
9535         Finish NMSettingWired by adding all known members.
9536         (setting_wired_verify): Implement.
9537         Finish NMSettingWireless by adding all known members.
9538         (setting_wireless_verify): Implement.
9539
9540         * libnm-util/nm-connection.c: Register "ipv4" setting.
9541         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9542         dump function, we can introspect the GHashTable which is used for sending connections
9543         over dbus.
9544
9545         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9546         Take GByteArray for essid, it's really not a string.
9547
9548         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9549         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9550         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9551         means overriding the values we got from DHCP.
9552         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9553         (nm_device_deactivate_quickly): Ditto.
9554
9555         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9556         for debugging.
9557
9558 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9559
9560         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9561         NMConnection.
9562
9563         * libnm-glib/nm-device-802-11-wireless.c:
9564         (nm_device_802_3_ethernet_activate): Remove.
9565
9566         * libnm-glib/nm-device-802-3-ethernet.c
9567         (nm_device_802_3_ethernet_activate): Remove.
9568
9569         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9570
9571         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9572         NMConnection.
9573
9574         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9575         activation has started.
9576         Implement the new activation using NMConnection.
9577
9578         * src/nm-activation-request.c: Store a generic connection object instead
9579         of a wireless-specific AP.
9580
9581         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9582         on device type, create a device specific connection object suitable for
9583         device activation.
9584
9585         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9586         specific check to validate the connection and on success start the
9587         activation.
9588
9589         * src/nm-device-interface.h: Add a activate virtual function to the
9590         interface definition.
9591
9592         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9593         (impl_device_activate): Implement.
9594
9595         * introspection/nm-device.xml: Add a generic device activation interface
9596         that accepts an abstract NMConnection structure that has device-specific
9597         information in it.
9598
9599         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9600         activation interface.
9601
9602         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9603         activation interface.
9604
9605         * libnm-util/nm-connection.c: 
9606         * libnm-util/nm-connection.h: 
9607         * libnm-util/nm-setting.c:
9608         * libnm-util/nm-setting.h: Add.
9609
9610         * libnm-util/Makefile.am: Build the added files.
9611
9612         * src/nm-dbus-manager.c
9613         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9614         DbusConnection argument from 'name-owner-changed' signal. The manager
9615         is already passed as a first argument to the signal and the connection
9616         is easy enough to get from it.
9617
9618         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9619         Update the signature of the function.
9620
9621         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9622         Ditto.
9623
9624         * src/NetworkManager.c: Ditto.
9625
9626         * src/named-manager/nm-named-manager.c
9627         (nm_named_manager_name_owner_changed): Ditto.
9628
9629         * src/supplicant-manager/nm-supplicant-manager.c
9630         (nm_supplicant_manager_name_owner_changed): Ditto.
9631
9632         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9633
9634         * src/dhcp-manager/nm-dhcp-manager.c
9635         (nm_dhcp_manager_name_owner_changed): Ditto.
9636
9637         * src/nm-hal-manager.c: Add a list of device detectors and creators
9638         to make it easier to add new devices. Each device type has it's own
9639         entry in the table so adding new device types is only a matter of
9640         implementing a couple of functions, one for device detection and the
9641         other for device creation.
9642
9643 2007-04-25  Dan Williams  <dcbw@redhat.com>
9644
9645         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9646                 (gnome.org #432401)
9647
9648 2007-03-30  Dan Williams  <dcbw@redhat.com>
9649
9650         * src/NetworkManagerSystem.c
9651                 - (nm_system_device_set_ip4_route): clean up and fix argument
9652                         to nm_dev_sock_open()
9653
9654 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9655
9656         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9657         data to correct types instead of always using string.
9658
9659         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9660         _not_ have NM_802_11_CAP_PROTO_NONE.
9661         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9662         is not set.
9663
9664 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9665
9666         * libnm-glib/Makefile.am: Fix the build issue.
9667
9668 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9669
9670         * libnm-glib/nm-vpn-connection.h: 
9671         * libnm-glib/nm-vpn-connection.c: Implement.
9672
9673         * libnm-glib/nm-client.c: Add VPN support.
9674
9675         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9676         handler for VPN.
9677
9678         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9679         on DBUS again.
9680
9681 2007-03-26  Dan Williams  <dcbw@redhat.com>
9682
9683         * src/NetworkManagerAPList.c
9684         * src/nm-device-802-11-wireless.c
9685         * src/NetworkManagerAP.c:
9686                 - Store last seen as glong instead of GTimeVal.
9687                 - Fix the upper bound of capabilities, it's a bitfield.
9688
9689 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9690
9691         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9692
9693         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9694         "manager-running" signal that notifies the appearance/disappearance of NM.
9695         (nm_client_sleep): Implement.
9696
9697         * libnm-glib/nm-device.c:
9698         * libnm-glib/nm-device-802-11-wireless.c: 
9699         * libnm-glib/nm-device-802-3-ethernet.c: 
9700
9701         Don't inherit from DBusGProxy, add a proxy to private
9702         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9703         for anything but their own dbus interface. DBusGProxy objects support only one
9704         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9705         interface. The nice side effect of this change is that we do not create a new
9706         DBusGProxy object for each property access.
9707
9708 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9709
9710         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9711         with zeroes before passing them to functions - the functions never do that and
9712         reading the values back may produce wrong values.
9713         (real_bring_up): Store the signal handler id ...
9714         (real_bring_down): ... So that it can be removed here.
9715         Disconnect the supplicant interface here as well.
9716         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9717         from the access point instead of old $device/Networks/$essid.
9718
9719         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9720         device state is connected (instead of just having link/carrier).
9721
9722         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9723         already easily accessible through the device.
9724
9725         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9726         store it within the object.
9727         (nm_ap_get_dbus_path): Export it to public as well.
9728
9729         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9730         of the singleton.
9731
9732 2007-03-12  Dan Williams  <dcbw@redhat.com>
9733
9734         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9735         for non-carrier-detect capable devices, and useless for carrier-detect
9736         devices since we get notifications from netlink about carrier status anyway.
9737
9738         * src/nm-device-802-3-ethernet.c
9739                 - remove 'link_source_id' member from private data
9740                 - (probe_link): remove and collapse into real_update_link()
9741                 - (nm_device_802_3_periodic_update): remove
9742                 - (real_is_up): check for sup_iface rather than link_source_id
9743                 - (real_bring_up): return gboolean for success/fail; require that
9744                         sup_iface be valid for device bringup to succeed
9745                 - (real_bring_down): zero out link signal ids
9746
9747         * src/nm-device.c
9748                 - (nm_device_activate_stage2_device_config): fail activation if device
9749                         bringup fails
9750                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9751                         fails
9752                 - (nm_device_bring_up): return success/fail
9753
9754         * src/nm-device.h
9755                 - bring_up now returns success/fail
9756
9757         * src/nm-device-802-11-wireless.c
9758                 - (real_bring_up): return success from bringup
9759
9760 2007-03-07  Dan Williams  <dcbw@redhat.com>
9761
9762         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9763         * src/nm-ap-security-wpa-psk.c
9764                 - (real_write_supplicant_config): work with PSKs that may contain
9765                         zeros in the binary format rather than treating it as a string
9766
9767 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9768
9769         * libnm-glib/nm-device-802-11-wireless.c
9770         (nm_device_802_11_wireless_get_capabilities): Implement.
9771
9772         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9773
9774         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9775
9776         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9777         reply only if it's not NULL. Not sure why this started happening right now.
9778
9779         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9780         code paths for when devices get removed on shutdown or when a device is just
9781         removed.
9782         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9783         gets freed so any signal from a device (disconnected for instance) would invoke
9784         NMState update which would crash.
9785         (nm_manager_remove_device): Bring the device down when it gets removed.
9786
9787         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9788         the unused dev_type.
9789
9790         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9791         reference to the added device, NMManager will own it (if it wants).
9792
9793         * test/nm-tool.c: Rewrite using libnm-glib.
9794
9795         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9796         We get signalled when it changes.
9797
9798         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9799         when it changes.
9800
9801         * libnm-glib/nm-device.c: Cache the device state property.
9802
9803         * libnm-glib/nm-access-point.c: Cache the strength property.
9804
9805         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9806         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9807         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9808         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9809         the device is down, activating, or activated (in case of A/B/G cards).
9810         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9811         it's all done through supplicant now.
9812
9813         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9814         counting issues with pending calls which caused leaks and crashes when
9815         interface was removed (now that the interface actually gets removed).
9816
9817         * src/nm-call-store.c: Make a copy of data before running a foreach
9818         with user callback on it - The most common usage pattern is to cancel
9819         (and thus remove) all pending calls with foreach which would modify
9820         the hash table we're iterating over.
9821
9822         * src/nm-manager.c: When a device is added, make sure it is "up". When
9823         it's removed or disabled due to disabling wireless or networking, bring
9824         it down.
9825
9826         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9827
9828         * src/nm-device-802-11-wireless.c: 
9829         * src/nm-device-802-3-ethernet.c: 
9830         * src/nm-device.c:
9831                 - Remove "init" virtual function, all gobjects have a place for that
9832                   already (constructor).
9833                 - Replace "start" virtual function with "bring_up", devices can be
9834                   brought up and down more than just on startup now.
9835                 - Add "is_up" virtual function.
9836                 - Implement one way to bring a device down instead of previous 4 different
9837                   ways, each of witch did something different.
9838
9839         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9840         all it needs is the device interface.
9841
9842         Get rid of NMData.dev_list (3 members to go).
9843         Get rif of NMData in a lot of places.
9844
9845         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9846
9847 2007-02-23  Dan Williams  <dcbw@redhat.com>
9848
9849         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9850
9851         * src/NetworkManagerAP.c
9852                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9853                         OR-ing rather than AND-ing
9854
9855 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9856
9857         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9858         "network-removed" signals.
9859
9860         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9861
9862         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9863         when receiving the signal from dbus.
9864
9865         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9866         property.
9867
9868         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9869         deactivation of the previously activated device working again.
9870
9871         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9872         and setter.
9873
9874         * src/nm-device.c (nm_device_is_activated): Remove.
9875         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9876
9877         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9878         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9879         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9880         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9881         Remove NMNetworkStatus and NMActStage enums.
9882
9883 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9884
9885         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9886         Handle device state changes and disconnect VPN if it's device deactivates.
9887
9888         * src/nm-dbus-nm.c: 
9889         * src/nm-dbus-nm.h: 
9890         * src/nm-dbus-device.c: 
9891         * src/nm-dbus-device.c: 
9892         * src/nm-dbus-net.c: 
9893         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9894
9895         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9896
9897         * src/nm-device.c (nm_device_get_by_udi):
9898         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9899         implemented in the correct location (NMManager).
9900         Rip out all the test_device stuff.
9901
9902         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9903         failure handlers, it's all done by NMDevice already.
9904
9905         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9906         Remove the iochannel hack to route the unix signals to the main thread since
9907         we're not threaded anymore.
9908
9909         * src/NetworkManagerAP.c: Implement HWAddress property.
9910
9911         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9912         automatically with dbus-glib.
9913
9914         * src/nm-netlink-monitor.c: 
9915         * src/nm-netlink-monitor.h:
9916                 - Move it low in the class hierarchy, don't reference any NM types.
9917                 - Remove private data from the header.
9918                 - Use type safe checks in public API methods.
9919                 - Make it a singleton so we don't have to pass the single reference around.
9920
9921 2007-02-16  Tambet Ingo  <tambet@ximian.com>
9922
9923         * introspection/nm-ip4-config.xml: Implement.
9924
9925         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9926
9927         * libnm-glib/nm-ip4-config.c:
9928         * libnm-glib/nm-ip4-config.c: Implement.
9929
9930         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9931         securities. APs reference security.
9932
9933         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9934         be exported over DBUS.
9935
9936         * src/nm-device-802-3-ethernet.c: Ditto.
9937
9938         * src/NetworkManagerAP.c:
9939         * src/NetworkManagerAP.h:
9940                 - Convert to GObject, export over DBUS.
9941
9942         * src/nm-ip4-config.h:
9943         * src/nm-ip4-config.h:
9944                 - Convert to GObject, export over DBUS.
9945
9946 2007-02-12  Dan Williams  <dcbw@redhat.com>
9947
9948         Patch from Helmut Schaa <hschaa@suse.de>
9949
9950         * vpn-daemons/pptp/configure.in
9951           vpn-daemons/pptp/Makefile.am
9952           vpn-daemons/openvpn/configure.in
9953           vpn-daemons/openvpn/Makefile.am
9954           vpn-daemons/vpnc/configure.in
9955           vpn-daemons/vpnc/Makefile.am
9956                 - Add --without-gnome switch which disables building gnome bits
9957
9958 2007-02-12  Tambet Ingo  <tambet@ximian.com>
9959
9960         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
9961
9962         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
9963
9964         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
9965         'HwAddress'.
9966
9967         * introspection/nm-device.xml: Remove 'UseDhcp' property.
9968
9969         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
9970
9971         Totally break NetworkManager. Please use 0.6 branch until futher notice.
9972
9973         * src/:
9974                 - Remove old low-level dbus interface implementations and replace them
9975                   with dbus-glib one.
9976
9977         * configure.in:
9978                 - Require dbus-glib >= 0.72.
9979                 - Plug in new sources to build.
9980
9981         * libnm-glib/:
9982                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
9983                   to make it more convenient to use from GObject based programs.
9984
9985         * introspection/:
9986                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
9987
9988 2007-02-09  Tambet Ingo  <tambet@ximian.com>
9989
9990         * src/nm-device-802-11-wireless.c:
9991                 - Add "network-added" and "network-removed" signals.
9992                 - Use gobject boilerplate macros to define the GObject.
9993                 - Implement wireless device activation.
9994                 - Remove activation_failure_handler and activation_success_handler
9995                   and instead listen on state-changed signals and run the same code
9996                   from there.
9997
9998         * src/nm-device.c:
9999                 - Implment NMDeviceInterface::deactivate.
10000                 - Remove activation_failure_handler and activation_success_handler
10001                   virtual methods. Each device which is interested in these events
10002                   can just listen on it's state changed signals.
10003
10004         * src/NetworkManagerPolicy.c:
10005                 - Move a bit more NMData usage to NMManager.
10006                 - Remove activation scheduling bits.
10007                 - Add listeners for wireless device's "network-added" and
10008                   "network-removed" signals.
10009                 - Listen device changed signals and deactivate currently activated
10010                   device when another device start activating (for now).
10011                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10012                   for calling this, the policy code knows exactly when this should happen,
10013                   by listening on events from NMManager and NMDevices.
10014
10015         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10016         Implement.
10017
10018         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10019         method on the specific device instead of going to through policy code
10020         and determining the device type by passed in AP's existance.
10021
10022         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10023         abstract NMDevice deactivation.
10024
10025 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10026
10027         * src/NetworkManager.c:
10028                 - Set up all the shiny new managers.
10029
10030         * src/NetworkManagerPolicy.c:
10031                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10032                   classes to call into policy code, make the policy code kind of like
10033                   a supervisor that monitors what's going on and drives the whole NM.
10034
10035         * src/nm-hal-manager.c: 
10036         * src/nm-hal-manager.h:
10037                 - Collect all libhal code scattered around NM to this one class.
10038                 - Listen libhal and NMManager events and add/remove devices to
10039                   NMManager.
10040
10041         * src/nm-manager.c:
10042         * src/nm-manager.h:
10043                 - Implment a replacement for NMData. NMData is now officially
10044                 deprecated.
10045
10046 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10047
10048         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10049         * src/supplicant-manager/nm-supplicant-interface.h
10050         * src/supplicant-manager/nm-supplicant-interface.c
10051         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10052         argument to boolean from enum.
10053
10054         Make NMDevice abstract class, remove almost all references to it's
10055         subclasses (the last place gets removed with new policy manager). Add
10056         NMDeviceInterface (which NMDevice implements) so that when we have
10057         NMDevice exported over DBUS, there's a common NMDevice interface which
10058         all instances have, plus there's a device specific interface for each
10059         specific type.
10060         Remove functions (nm_device_is_802_3_ethernet) and
10061         (nm_device_is_802_11_wireless). There are already standard GObject macros
10062         for type safe checks.
10063         Use the updated supplican manager API.
10064
10065         * src/nm-device-interface.h: 
10066         * src/nm-device-interface.c: 
10067         * src/nm-call-store.h: 
10068         * src/nm-call-store.c: Implement.
10069
10070         * src/supplicant-manager/nm-supplicant-interface.c:
10071         * src/supplicant-manager/nm-supplicant-interface.h:
10072         * src/supplicant-manager/nm-supplicant-manager.c:
10073         * src/supplicant-manager/nm-supplicant-manager.h:
10074                 - Remove all private data type references from public header files.
10075                 - Remove all references to other NM classes, this class is just a
10076                   proxy between wpa_supplicant and NM so it doesn't have to know
10077                   any internals.
10078                 - Convert to dbus-glib bindings.
10079                 - Type safe checks for public methods' arguments.
10080                 - Store pending DBUS call ids to NMCallStore.
10081
10082         * src/supplicant-manager/nm-supplicant-config.c:
10083                 - Store config values in a GHashTable instead of GSList.
10084
10085         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10086
10087         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10088         singleton now.
10089
10090         * src/nm-device.c: Use the new DHCP manager API.
10091
10092         * src/nm-activation-request.c:
10093         * src/nm-activation-request.h:
10094                 - Remove all dhcp related properties and methods.
10095
10096         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10097
10098         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10099
10100         * src/dhcp-manager/nm-dhcp-manager.c:
10101         * src/dhcp-manager/nm-dhcp-manager.h:
10102                 - Convert it to GObject since we need to signal state changes.
10103                 - Remove all references to other NM classes, this class is one
10104                   of the lowest classes in our hierarchy.
10105                 - One less class to use NMActRequest.
10106                 - Make it singleton, one less user of NMData.
10107                 - Remove a couple of sleep() calls.
10108                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10109                   One less class to use the NM's custom tailored signal handlig.
10110
10111         * Makefile.am: Generate marshallers, add them to build.
10112
10113 2007-02-02  Dan Williams  <dcbw@redhat.com>
10114
10115         * configure.in
10116           gnome/Makefile.am
10117           nm-applet.desktop
10118           Makefile.am
10119                 - Remove last bits referencing gnome applet
10120
10121 2007-02-02  Dan Williams  <dcbw@redhat.com>
10122
10123         * src/vpn-manager/nm-vpn-service.c
10124                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10125                         and NBNS server addresses
10126
10127 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10128
10129         * src/nm-dbus-manager.c:
10130         * src/nm-dbus-manager.h:
10131                 - Convert all internal DBUS code to use dbus-glib bindings.
10132                 - Remove GObject properties, we don't need them here.
10133                 - Don't explicitly set things to NULL after freeing, glib is
10134                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10135                 - Make public API argument checks type safe.
10136                 - Remove unnecessary (and wrong) cast to GObject for the first
10137                   argument to g_signal_* calls - The first argument is a gpointer.
10138                 - Export DBusGConnection to other cool classes that (are going to)
10139                   use dbus-glib.
10140
10141 2007-01-26  Dan Williams  <dcbw@redhat.com>
10142
10143         * libnm-util/dbus-dict-helpers.c
10144           libnm-util/dbus-dict-helpers.h
10145                 - Coordinate style with wpa_supplicant version to minimize diff
10146                 - Add uint32 array support
10147                 - (nmu_dbus_dict_append_uint32_array): new function
10148                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10149                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10150                         version; allow adding string array elements individually
10151
10152         * test/libnm-util/test-dbus-dict-helpers.c
10153                 - Test uint32 arrays
10154
10155 2007-01-27  Jürg Billeter  <j@bitron.ch>
10156
10157         * src/backends/NetworkManagerPaldo.c
10158                 - (nm_system_update_dns): clear nscd hosts cache
10159
10160 2007-01-04  Dan Williams  <dcbw@redhat.com>
10161
10162         Threading removal related cleanups:
10163
10164         - Use the glib default main context.  Remove the device main context
10165                 member from NMDevice, and the main_context member from NMData.  Change
10166                 all the idle and timeout scheduler functions to use plain
10167                 g_idle_add() and g_timeout_add().
10168
10169         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10170                 takes an argument; fix that up too.
10171
10172         - Remove all locking, which is useless since we no longer use threads.  For
10173                 example, nm_get_device_by_iface_locked() has been removed.  The global
10174                 device list lock, the AP List lock, and all static locks in
10175                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10176                 in NetworkManagerUtils.c have also been removed.
10177
10178         - Other cleanups in spacing and code style
10179
10180 2007-01-01  Dan Williams  <dcbw@redhat.com>
10181
10182         Found by Bill Moss:
10183
10184         * src/supplicant-manager/nm-supplicant-interface.c
10185                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10186                         the supplicant interface wasn't already disconnected.  Always
10187                         call removeNetwork and disconnect unless the supplicant interface
10188                         is in the DISCONNECTED or INACTIVE state.
10189
10190 2006-12-28  Dan Williams  <dcbw@redhat.com>
10191
10192         Use a single thread for everything.  With the move to wpa_supplicant
10193         and communication over D-Bus, there's no reason for multiple threads.
10194         Almost all of the blocking code has been removed, with one exception in
10195         the DHCP manager and a few in the VPN manager.  This commit removes the
10196         per-device worker thread and fixes activation cancellation in the absence
10197         of threads.  Further removal of thread-related code would be removing
10198         any locking code (like the device list lock) and simplification of logic
10199         around areas of code or data structures that are currently locked.
10200
10201         * autoip.c
10202           dhcp-manager/nm-dhcp-manager.c 
10203           nm-device-802-11-wireless.c
10204           nm-device-802-3-ethernet.c
10205           nm-device.c
10206           nm-device.h
10207                 - Remove usage of multiple threads
10208
10209 2006-12-19  Dan Williams  <dcbw@redhat.com>
10210
10211         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10212         plus a few other patches from wpa_supplicant bugzilla.
10213
10214         * src/Makefile.am
10215           src/NetworkManagerPolicy.c
10216           src/NetworkManagerUtils.c
10217           src/NetworkManagerUtils.h
10218           src/nm-ap-security-leap.c
10219           src/nm-ap-security-wep.c
10220           src/nm-ap-security-wpa-eap.c
10221           src/nm-ap-security-wpa-psk.c
10222           src/nm-ap-security.c
10223           src/nm-ap-security.h
10224           src/nm-device-802-11-wireless.c
10225           src/nm-device-802-11-wireless.h
10226           src/supplicant-manager/nm-supplicant-config.c
10227           src/supplicant-manager/nm-supplicant-config.h
10228           src/supplicant-manager/nm-supplicant-interface.c
10229           src/supplicant-manager/nm-supplicant-interface.h
10230           src/supplicant-manager/nm-supplicant-marshal.list
10231           src/supplicant-manager/nm-supplicant-settings-verify.c
10232           src/supplicant-manager/nm-supplicant-settings-verify.h
10233                 - Move all connection management and association handling to
10234                         wpa_supplicant over dbus, rather than spawning a private copy
10235
10236 2006-12-19  Dan Williams  <dcbw@redhat.com>
10237
10238         * src/NetworkManagerPolicy.c
10239                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10240                         better locking of the device change check handler ID.  Incorrect
10241                         locking was causing lost device change requests
10242
10243 2006-12-18  Dan Williams  <dcbw@redhat.com>
10244
10245         * libnm-util/dbus-dict-helpers.c
10246                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10247                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10248                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10249
10250 2006-12-18  Dan Williams  <dcbw@redhat.com>
10251
10252         * gnome/libnm_glib/libnm_glib.c
10253                 - Change dbus_connection_close() -> dbus_connection_unref()
10254
10255 2006-12-11  Dan Williams  <dcbw@redhat.com>
10256
10257         * src/supplicant-manager/nm-supplicant-interface.c
10258                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10259                         wpa_supplicant interface state
10260                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10261                         state before transitioning to READY state
10262
10263 2006-12-04  Dan Williams  <dcbw@redhat.com>
10264
10265         * src/nm-device-802-11-wireless.c
10266                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10267                         odd length of ESSID returned from ieee80211 stack-based drivers
10268
10269 2006-12-04  Dan Williams  <dcbw@redhat.com>
10270
10271         * src/nm-device-802-11-wireless.c
10272                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10273                         IE handling blocks that cause mis-parsing of the IE
10274
10275 2006-12-04  Dan Williams  <dcbw@redhat.com>
10276
10277         * src/nm-device-802-11-wireless.c
10278                 - (init_supplicant_interface): new function; pull supplicant interface
10279                         setup code out into standalone function since it must be called from
10280                         two different places
10281                 - (real_init): sup_mgr is now in private object data; get and track
10282                         the supplicant manager object over the NMDevice subclass' lifetime
10283                         and register a signal handler for its state signals; only try to
10284                         initialize the supplicant interface if the supplicant manager is in
10285                         the IDLE state (and therefore is ready for requests)
10286                 - (request_wireless_scan): reschedule the scan request if (a) there is
10287                         no supplicant interface yet (meaning wpa_supplicant isn't running
10288                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10289                         for requests yet
10290                 - (supplicant_iface_connection_state_cb): new function; stub for
10291                         handling supplicant interface connection state signals
10292                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10293                         comes and goes
10294                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10295                         supplicant manager object that's being tracked starting with this
10296                         commit
10297
10298 2006-12-04  Dan Williams  <dcbw@redhat.com>
10299
10300         * src/supplicant-manager/nm-supplicant-interface.c
10301                 - (nm_supplicant_interface_set_property): track signal handler ID
10302                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10303
10304 2006-12-04  Dan Williams  <dcbw@redhat.com>
10305
10306         * src/supplicant-manager/nm-supplicant-interface.[ch]
10307                 - (nm_supplicant_interface_get_state): new function
10308
10309 2006-12-04  Dan Williams  <dcbw@redhat.com>
10310
10311         * src/supplicant-manager/nm-supplicant-interface.c
10312                 - (bssid_properties_cb): don't treat DBus errors as valid
10313                         scanned AP messages
10314
10315 2006-12-04  Dan Williams  <dcbw@redhat.com>
10316
10317         * src/supplicant-manager/nm-supplicant-interface.[ch]
10318                 - (nm_supplicant_interface_get_connection_state): new function
10319                 - define new supplicant connection states
10320                 - send a signal when the supplicant connection state changes
10321
10322 2006-12-03  Dan Williams  <dcbw@redhat.com>
10323
10324         * src/supplicant-manager/Makefile.am
10325           src/supplicant-manager/nm-supplicant-connection.h
10326           src/supplicant-manager/nm-supplicant-connection.c
10327           src/supplicant-manager/nm-supplicant-config.h
10328           src/supplicant-manager/nm-supplicant-config.c
10329           src/supplicant-manager/nm-supplicant-types.h
10330           src/supplicant-manager/nm-supplicant-interface.h
10331           src/supplicant-manager/nm-supplicant-interface.c
10332                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10333
10334 2006-12-03  Dan Williams  <dcbw@redhat.com>
10335
10336         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10337
10338         * po/POTFILES.in
10339           po/POTFILES.skip
10340                 - Move VPN-related translatables to .skip
10341
10342         * vpn-daemons/pptp/po/POTFILES.in
10343                 - Update with new translatables
10344
10345 2006-12-02  Dan Williams  <dcbw@redhat.com>
10346
10347         Patch from Christian Persch <chpe@gnome.org>
10348
10349         * gnome/applet/Makefile.am
10350           gnome/applet/applet-dbus-devices.c
10351           gnome/applet/applet-notifications.c
10352           gnome/applet/applet.c
10353           gnome/applet/applet.h
10354           gnome/applet/main.c
10355                 - Be a GtkStatusIcon on GTK+ >= 2.10
10356
10357 2006-12-02  Dan Williams  <dcbw@redhat.com>
10358
10359         * gnome/applet/applet.c
10360                 - (nma_update_info): fix two unecessary allocations
10361
10362 2006-12-02  Dan Williams  <dcbw@redhat.com>
10363
10364         Patch from Michael Biebl <biebl@teco.edu>
10365         * configure.in
10366           man/NetworkManager.1.in
10367           man/NetworkManagerDispatcher.1.in
10368           man/NetworkManager.8.in
10369           man/NetworkManagerDispatcher.8.in
10370                 - Add .SH NAME stanzas
10371                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10372
10373 2006-12-02  Dan Williams  <dcbw@redhat.com>
10374
10375         Patch from Christian Persch <chpe@gnome.org>
10376
10377         * configure.in
10378                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10379
10380 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10381
10382         Patch by Timo Hoenig <thoenig@suse.de>:
10383         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10384         DBUS-1.0.
10385
10386         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10387         we can't use the one from the main source directory.
10388
10389 2006-11-27  Dan Williams  <dcbw@redhat.com>
10390
10391         Patch from Christian Persch <chpe@gnome.org>
10392
10393         * gnome/applet/applet-dbus-devices.c
10394                 - (hal_info_product_cb): fix memleak; free duped string.
10395                         Gnome.org #379908
10396
10397 2006-11-27  Dan Williams  <dcbw@redhat.com>
10398
10399         Patch from Christian Persch <chpe@gnome.org>
10400
10401         * gnome/applet/menu-items.c
10402                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10403                         as gtk_progress_set_percentage is deprecated.  Should
10404                         work as far back as GTK+ 2.4.  Gnome.org #379780
10405
10406 2006-11-26  Dan Williams  <dcbw@redhat.com>
10407
10408         Scan using wpa_supplicant over DBus.
10409
10410         * src/nm-device-802-11-wireless.c
10411                 - remove wireless extensions netlink event handler bits
10412                         (wireless_event_helper, nm_device_802_11_wireless_event)
10413                 - remove wireless extensions scan event handler bits
10414                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10415                         hex2byte, hex2num, request_and_convert_scan_results,
10416                         free_process_scan_cb_data, scan_results_timeout,
10417                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10418                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10419                         and request scans from the supplicant interface rather than directly
10420                 - Move functionality of convert_scan_results() to cull_scan_list() and
10421                         supplicant_iface_scanned_ap_cb()
10422                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10423                         at the scan interval when the current scan has finished
10424                 - (supplicant_iface_state_cb): start scanning when the supplicant
10425                         interface enters the READY state, and stop scanning when it
10426                         enters the DOWN state
10427                 - (cull_scan_list): weed out old access points from the scan list
10428                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10429                         point into an NMAccessPoint and merge it into the device's scan list
10430
10431         * src/supplicant-manager/nm-supplicant-interface.c
10432           src/supplicant-manager/nm-supplicant-interface.h
10433                 - Add a new signal "scan-result" which is issued when the supplicant
10434                         notifies NM that a scan has completed
10435                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10436                         point found in the scan.  Called once for each access point that
10437                         the supplicant interface object receives from the supplicant as a
10438                         result of the "scanResults" method call
10439                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10440                         for the initial scan results
10441                 - (scan_request_cb): new function; send listeners the result
10442                         (success, error) of a wireless scan request
10443                 - (nm_supplicant_interface_request_scan): new function; ask the
10444                         supplicant to perform an immediate wireless scan
10445
10446 2006-11-25  Dan Williams  <dcbw@redhat.com>
10447
10448         * src/supplicant-manager/Makefile.am
10449                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10450                         add HAL cflags/includes and named-manager includes directory
10451
10452         * src/supplicant-manager/nm-supplicant-interface.h
10453                 - New state STARTING to handle transition from INIT to READY where
10454                         the addInterface pending call is still outstanding
10455
10456         * src/supplicant-manager/nm-supplicant-interface.c
10457                 - track pending calls differently since we may have more than one
10458                         going on at any given time
10459                 - request scan results from wpa_supplicant; but don't do it more often
10460                         than every 4 seconds.  Drivers that do background scanning
10461                         (like the 'ipw' drivers) send a continuous stream of scan completion
10462                         notifications, so we don't want to hammer the supplicant or dbus
10463                         with requests for all scan results every time we get a completion
10464                         notification.
10465
10466 2006-11-25  Dan Williams  <dcbw@redhat.com>
10467
10468         * src/supplicant-manager/nm-supplicant-types.h
10469                 - new file; move all supplicant manager object typedefs here for
10470                         #include sanity
10471
10472         * src/supplicant-manager/nm-supplicant-interface.c
10473           src/supplicant-manager/nm-supplicant-interface.h
10474                 - new file; an object that interfaces an NMDevice object to the
10475                         supplicant and handles signals from the supplicant.  This object
10476                         does all necessary DBus communication with wpa_supplicant.
10477
10478         * src/supplicant-manager/nm-supplicant-manager.c
10479           src/supplicant-manager/nm-supplicant-manager.h
10480                 - Actually do something.  Track the state of the wpa_supplicant service
10481                         and deal with its comings & goings.  Handle life events of
10482                         supplicant interfaces too.
10483                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10484
10485         * src/supplicant-manager/nm-supplicant-connection.h
10486                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10487
10488         * src/supplicant-manager/Makefile.am
10489                 - Add new files to build, and add libnm-util to includes
10490
10491         * src/nm-marshal.list
10492                 - New marshaler type: VOID:UINT,UINT
10493
10494         * src/nm-device-802-3-ethernet.c
10495                 - (real_init): grab a supplicant interface
10496                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10497                 - (supplicant_iface_state_cb): new function, stub for handling
10498                         supplicant interface state changes
10499
10500         * src/nm-device-802-11-wireless.c
10501                 - (real_init): grab a supplicant interface
10502                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10503                 - (supplicant_iface_state_cb): new function, stub for handling
10504                         supplicant interface state changes
10505
10506         * src/NetworkManager.c
10507                 - (main): create and keep the supplicant manager around for the lifetime
10508                         of NetworkManager
10509
10510         * src/Makefile.am
10511                 - Link to the supplicant manager sub-library and use the supplicant
10512                         manager includes
10513
10514 2006-11-25  Dan Williams  <dcbw@redhat.com>
10515
10516         Rework DBus manager signal handling to be more flexible.  Previously,
10517         only one signal handler could be registered for a particular interface.
10518         The DBus manager now reference counts DBus bus matches and allows multiple
10519         clients to register signal handlers for the same interface and sender.
10520
10521         * src/NetworkManager.c
10522                 - (main): track NMI signal handler ID and remove it when we quit
10523
10524         * src/NetworkManagerMain.h
10525                 - Keep track of NMI signal handler ID
10526
10527         * src/nm-dbus-manager.c
10528           src/nm-dbus-manager.h
10529                 - rework signal handling; each signal handler references one signal
10530                         match, but a signal match may be referenced by one or more
10531                         signal handlers.  Matches are refcounted and are destroyed when the
10532                         last signal handler that references the match is removed.  This is
10533                         necessary because two signal handlers may end up requiring the same
10534                         dbus bus match, so the match must live until the last signal handler
10535                         is destroyed (for example, with the wpa_supplicant network interface
10536                         dbus interface).
10537
10538         * src/dhcp-manager/nm-dhcp-manager.c
10539                 - (nm_dhcp_manager_new): track DHCP signal handler id
10540                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10541
10542         * src/vpn-manager/nm-vpn-service.c
10543                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10544                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10545
10546 2006-11-25  Dan Williams  <dcbw@redhat.com>
10547
10548         Suggested by Helmut Schaa <hschaa@suse.de>
10549
10550         * src/vpn-daemons/nm-vpn-service.c
10551                 - (supplicant_child_setup): new function
10552                 - (supplicant_exec): make child process use a new process group id
10553
10554         * src/nm-device-802-11-wireless.c
10555                 - (nm_vpn_service_child_setup): new function
10556                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10557                         process group id
10558
10559 2006-11-19  Dan Williams  <dcbw@redhat.com>
10560
10561         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10562         * gnome/vpn-properties/nm-vpn-properties.c
10563                 - clean up after renamed VPN connection
10564
10565 2006-11-19  Dan Williams  <dcbw@redhat.com>
10566
10567         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10568         * gnome/applet/applet-dbus-vpn.c
10569                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10570
10571         * gnome/vpn-properties/nm-vpn-properties.c
10572                 - (init_app): sort VPN connections
10573
10574 2006-11-09  Dan Williams  <dcbw@redhat.com>
10575
10576         * src/NetworkManagerAPList.c
10577                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10578                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10579                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10580                 broke hidden SSID matching.  Found by Bill Moss.
10581
10582 2006-10-25  Dan Williams  <dcbw@redhat.com>
10583
10584         * src/nm-dbus-nm.c
10585                 - (nm_dbus_nm_set_active_device): return an empty success message on
10586                         success, rather than falling through to the error case.
10587
10588 2006-10-25  Dan Williams  <dcbw@redhat.com>
10589
10590         * src/NetworkManagerUtils.c
10591                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10592                         "SCAN" command
10593
10594 2006-10-24  Dan Williams  <dcbw@redhat.com>
10595
10596         Reduce the number of times the Gnome applet wakes up, especially when
10597         it's doing absolutely nothing and is hidden.  Initial patch by
10598         Chris Aillon.
10599
10600         * gnome/applet/applet-dbus.c
10601                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10602                         kill the redraw timeout.  When NM starts up, start the redraw
10603                         timeout.  Also, if we get kicked off the bus for some reason,
10604                         start the reconnection timeout if one's not already running.
10605                 - (nma_dbus_init): better handling of error conditions, don't leak
10606                         a half-initialized dbus connection
10607                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10608                         the applet's data, just call nm_dbus_init_helper()
10609                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10610                         timeout that calls nma_dbus_connection_watcher()
10611                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10612                         reconnection timeout, and don't start the reconnection timeout
10613                         unconditionally anymore
10614
10615         * gnome/applet/applet-dbus.h
10616                 - Expose nma_start_dbus_connection_watch()
10617
10618         * gnome/applet/applet.c
10619                 - (nma_update_state): no longer static, called from applet-dbus.c for
10620                         immediate UI updates on certain events
10621                 - (nma_set_running): new function; take over setting applet->running,
10622                         when not running (ie, NM is not active), don't activate the redraw
10623                         timeout because we're not showing the applet anyway.  When we are
10624                         running (ie, NM is active), and only when we're running, start the
10625                         redraw timeout.
10626                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10627                         kill any reconnection timeout
10628                 - (nma_get_instance): move one-off dbus initialization code here since
10629                         nm_dbus_init_helper() gets called more than once, possibly by the
10630                         reconnection timeout function too.  And, when we start up, if we
10631                         can't get a connection to the bus, start the reconnection timeout.
10632                         But don't start the redraw timeout yet, only do that when we get
10633                         NM's state and find out if it's running or not.
10634
10635         * gnome/applet/applet.h
10636                 - Add the reconnection GSource ID
10637                 - Add prototypes for nma_set_running() and the no-longer-static
10638                         nma_update_state()
10639
10640 2006-10-24  Dan Williams  <dcbw@redhat.com>
10641
10642         * src/vpn-daemons/nm-dbus-vpnc.c
10643                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10644                         pending call tracker
10645                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10646                         pending call tracker; register one-vpn-connection update pending
10647                         call in pending call tracker
10648                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10649                         update pending call in pending call tracker
10650                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10651                         update pending call in pending call tracker; don't block waiting
10652                         for call to return
10653
10654 2006-10-19  Robert Love  <rml@novell.com>
10655
10656         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10657           refresh the cache.
10658
10659 2006-10-14  Dan Williams  <dcbw@redhat.com>
10660
10661         * src/dhcp-manager/nm-dhcp-manager.c
10662                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10663                 the dbus connection and the device object path rather than
10664                 constructing it inside both functions.  Saves a bit of memory
10665                 and clarifies a failure path.
10666                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10667                 and allocate device path here rather than each of the two
10668                 functions above.
10669
10670 2006-10-13  Dan Williams  <dcbw@redhat.com>
10671
10672         * src/NetworkManager.c
10673                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10674                 this somehow droppout in the refactor
10675
10676 2006-10-13  Dan Williams  <dcbw@redhat.com>
10677
10678         * Huge DBus refactor:
10679                 - Create a "DBus Manager" object which manages the connection and
10680                 sends signals on NameOwnerChanged and connection/disconnection events,
10681                 handles reconnection to the bus if NM gets kicked off, and abstracts
10682                 signal handling
10683                 - Remove DBusConnection members from places where they are no
10684                 longer needed due to the refactor, like the dbus-connection
10685                 property of the named manager, and from NMData
10686                 - Reformats a bunch of the code to gnome style
10687                 (8-space tabs, braces on same line as statement, 80-col width).
10688                 Consider it open season to reformat any bits to gnome style.
10689                 style that aren't already.
10690
10691 2006-10-13  Dan Williams  <dcbw@redhat.com>
10692
10693         * src/supplicant-manager/Makefile.am
10694                 - Add new files
10695
10696         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10697                 - Make it a minimal GObject
10698
10699         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10700                 - Verify settings destined for wpa_supplicant
10701
10702         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10703                 - Minimal GObject to track wpa_supplicant controlled device
10704                 connections
10705
10706 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10707
10708         * gnome/applet/applet.c: (nma_update_info),
10709         (nma_act_stage_to_pixbuf), (nma_update_state):
10710         Mark missing strings for translation. Fixes bug #343306.
10711
10712 2006-10-01  Dan Williams  <dcbw@redhat.com>
10713
10714         * src/vpn-manager/nm-vpn-manager.c
10715                 - (nm_vpn_manager_load_services): split and clean up
10716                 for readability and correctness.  Restrict VPN service
10717                 files to ending in ".name", as was meant from the
10718                 beginning (but not coded in).  Better error reporting.
10719
10720 2006-10-01  Dan Williams  <dcbw@redhat.com>
10721
10722         * utils/nm-utils.h
10723                 - Clean up formatting of debug/info/warning log messages
10724
10725 2006-09-27  Robert Love  <rml@novell.com>
10726
10727         Patch by Tambet Ingo <tambet@ximian.com>:
10728         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10729           actually work.
10730
10731 2006-09-07  Dan Williams <dcbw@redhat.com>
10732
10733         * test/Makefile.am
10734           test/libnm-util/Makefile.am
10735           test/nm-supplicant-test.c
10736                 - Add test program emulating the way NM drives wpa_supplicant
10737                 to help debug supplicant issues
10738
10739 2006-08-24  Dan Williams <dcbw@redhat.com>
10740
10741         * configure.in
10742           src/Makefile.am
10743           src/supplicant-manager/Makefile.am
10744           src/supplicant-manager/nm-supplicant-manager.c
10745           src/supplicant-manager/nm-supplicant-manager.h
10746                 - Add skeleton bits of the wpa_supplicant manager
10747
10748 2006-08-24  Dan Williams <dcbw@redhat.com>
10749
10750         Patch from Ed Catmur:
10751         * src/NetworkManagerUtils.c
10752                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10753                 if netmask is 0 (Gnome #352634)
10754
10755 2006-08-17  Robert Love  <rml@novell.com>
10756
10757         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10758           package is now DBUS-enabled and listens for the NM signals.
10759
10760 2006-08-14  Dan Williams  <dcbw@redhat.com>
10761
10762         * Patch from Christian Persch <chpe gnome org>
10763         * configure.in
10764           po/LINGUAS
10765           vpn-daemons/openvpn/po/LINGUAS
10766           vpn-daemons/openvpn/configure.in
10767           vpn-daemons/pptp/po/LINGUAS
10768           vpn-daemons/pptp/configure.in
10769           vpn-daemons/vpnc/po/LINGUAS
10770           vpn-daemons/vpnc/configure.in
10771                 - Convert to LINGUAS method so translators don't have to modify
10772                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10773                 0.35 or higher
10774
10775 2006-08-14  Dan Williams  <dcbw@redhat.com>
10776
10777         Patch from Alex Smith <alex.extreme2@gmail.com>
10778         * configure.in
10779           src/backends/Makefile.am
10780           src/backends/NetworkManagerFrugalware.c
10781                 - Add support for Frugalware
10782
10783 2006-08-13  Dan Williams  <dcbw@redhat.com>
10784
10785         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10786         * src/nm-device-802-11-wireless.c
10787                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10788                 Gnome #346875
10789
10790 2006-08-13  Dan Williams  <dcbw@redhat.com>
10791
10792         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10793         * src/nm-ap-security.c
10794           src/nm-ap-security.h
10795                 - Add authentication_required bits for subclasses to specify whether
10796                 or not real authentication is required for connections, i.e. whether
10797                 the AP rejects us when an encryption key is wrong or not.
10798
10799         * src/nm-ap-security-wep.c
10800           src/nm-ap-security-wpa-eap.c
10801           src/nm-ap-security-wpa-psk.c
10802           src/nm-ap-security-leap.c
10803                 - Implement authentication_required appropriately for each method
10804
10805         * src/nm-device-802-11-wireless.c
10806                 - Be smarter about when to request a key; for example, using a wrong key
10807                 in WEP shared key mode previously just timed out and did not request
10808                 a new key
10809
10810 2006-08-13  Dan Williams  <dcbw@redhat.com>
10811
10812         * gnome/libnm_glib/libnm_glib.c
10813                 - dbus_connection_disconnect() -> dbus_connection_close() for
10814                 dbus >= 0.90
10815
10816 2006-08-07  Dan Williams  <dcbw@redhat.com>
10817
10818         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10819         * src/NetworkManagerSystem.c
10820                 - Respect specified MTU.  Gnome #344967
10821
10822 2006-08-07  Dan Williams  <dcbw@redhat.com>
10823
10824         * src/vpn-manager/nm-vpn-service.c
10825                 - Simplify print_vpn_config() arguments
10826
10827         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10828         * src/vpn-manager/Makefile.am
10829           src/vpn-manager/nm-vpn-service.c
10830                 - Add new API for passing VPN config options as a dict. Gnome #344967
10831
10832 2006-08-06  Dan Williams  <dcbw@redhat.com>
10833
10834         * gnome/applet/applet-dbus-devices.c
10835           gnome/applet/applet-dbus-vpn.c
10836           gnome/applet/applet-dbus.c
10837           gnome/applet/applet-dbus.h
10838           src/nm-dbus-nmi.c
10839           utils/nm-utils.c
10840           utils/nm-utils.h
10841                 - Make pending call tracking code generic,
10842                 so we can use it in NM as well as the applet
10843
10844 2006-08-06  Dan Williams  <dcbw@redhat.com>
10845
10846         * src/nm-activation-request.c
10847                 - Refcount pending call objects
10848
10849 2006-08-06  Dan Williams  <dcbw@redhat.com>
10850
10851         Patch from Christan Chiesa <christanc@gmail.com>
10852         * configure.in
10853                 - Tell sha1.c to use bigendian mode on PPC
10854
10855 2006-08-04  Robert Love  <rml@novell.com>
10856
10857         Glib Memory Slices!
10858         * configure.in: Require glib 2.10 or later.
10859         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10860           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10861           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10862           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10863           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10864           Memory Slices are the greatest thing since bread slices.
10865         * src/NetworkManagerAP.c: Also, fix memory leak.
10866
10867 2006-08-01  Robert Love  <rml@novell.com>
10868
10869         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10870
10871 2006-07-31  Robert Love  <rml@novell.com>
10872
10873         * src/backends/interface_parser.c: Declarations must begin the block.
10874
10875 2006-07-24  Dan Williams  <dcbw@redhat.com>
10876
10877         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10878         * src/backends/Makefile.am
10879           src/backends/NetworkManagerArch.c
10880           src/backends/NetworkManagerDebian.c
10881           src/backends/NetworkManagerGeneric.c
10882           src/backends/NetworkManagerGeneric.h
10883           src/backends/NetworkManagerGentoo.c
10884           src/backends/NetworkManagerPaldo.c
10885           src/backends/NetworkManagerRedHat.c
10886           src/backends/NetworkManagerSlackware.c
10887           src/backends/NetworkManagerSuSE.c
10888                 - Genericize common backend functions
10889
10890 2006-07-18  Robert Love  <rml@novell.com>
10891
10892         * configure.in: Add "--with-notify" option to allow disabling of
10893           libnotify support.
10894
10895 2006-07-13  Dan Williams  <dcbw@redhat.com>
10896
10897         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10898         * gnome/applet/applet.glade
10899           gnome/applet/Makefile.am
10900           gnome/applet/nm-gconf-wso.c
10901           gnome/applet/nm-gconf-wso-leap.c
10902           gnome/applet/nm-gconf-wso-leap.h
10903           gnome/applet/wireless-security-manager.c
10904           gnome/applet/wso-leap.c
10905           gnome/applet/wso-leap.h
10906           include/NetworkManager.h
10907           libnm-util/dbus-helpers.c
10908           libnm-util/dbus-helpers.h
10909           src/Makefile.am
10910           src/NetworkManagerAP.c
10911           src/nm-ap-security.c
10912           src/nm-ap-security-leap.c
10913           src/nm-ap-security-leap.h
10914                 - Add LEAP authentication support
10915
10916 2006-07-13  Dan Williams  <dcbw@redhat.com>
10917
10918         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10919         * configure.in
10920           src/backends/NetworkManagerArch.c
10921           src/backends/NetworkManagerDebian.c
10922           src/backends/NetworkManagerGentoo.c
10923           src/backends/NetworkManagerPaldo.c
10924           src/backends/NetworkManagerRedHat.c
10925           src/backends/NetworkManagerSlackware.c
10926           src/backends/NetworkManagerSuSE.c
10927                 - Convert hardcoding of 'ip' path to configure-time
10928                         detected one
10929
10930 2006-07-12  Leonid Kanter <leon@asplinux.ru>
10931
10932         * configure.in: added ru to ALL_LINGUAS
10933
10934 2006-07-10  Dan Williams  <dcbw@redhat.com>
10935
10936         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10937         * src/nm-device.c
10938                 - (real_act_stage3_ip_config_start): don't infinite loop when
10939                         dhcdbd isn't running (Gnome #346845)
10940
10941 2006-07-09  Dan Williams  <dcbw@redhat.com>
10942
10943         * gnome/applet/applet.c
10944                 - (nma_destroy): don't pass NULL to notify_notification_close
10945                         (RH #197917)
10946
10947 2006-07-09  Dan Williams  <dcbw@redhat.com>
10948
10949         * gnome/applet/applet.c
10950                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
10951
10952 2006-07-04  Tor Krill  <tor@krill.nu>
10953
10954         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10955         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
10956         (nm_system_restart_mdns_responder), (ArchReadConfig),
10957         (nm_system_device_get_system_config):
10958                 - Explicitly check for DHCP configuration
10959                 - Check if daemons are running before starting them
10960
10961 2006-06-25  Dan Williams  <dcbw@redhat.com>
10962
10963         * libnm-util/dbus-dict-helpers.[ch]
10964           test/libnm-util/test-dbus-dict-helpers.c
10965                 - Add string array support
10966
10967 2006-06-24  Dan Williams  <dcbw@redhat.com>
10968
10969         * src/dhcp-manager/nm-dhcp-manager.c
10970                 - (nm_dhcp_manager_process_signal): clean up spacing
10971
10972 2006-06-21  Dan Williams  <dcbw@redhat.com>
10973
10974         * src/nm-dbus-device.c
10975                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
10976                         through dbus
10977
10978 2006-06-21  Raivis Dejus  <orvils@gmail.com>
10979
10980         * configure.in: Added 'lv' to ALL_LINGUAS
10981
10982 2006-06-19  Dan Williams  <dcbw@redhat.com>
10983
10984         * src/NetworkManagerAP.c
10985                 - Clarify usage of user_created
10986
10987         * src/nm-ap-security-wep.c
10988           src/nm-ap-security-wpa-eap.c
10989           src/nm-ap-security-wpa-psk.c
10990           src/nm-ap-security.c
10991           src/nm-ap-security.h
10992                 - s/user_created/adhoc, because we really do mean adhoc
10993
10994         Patch from Bernard Blackham <bernard@blackham.com.au>
10995         * src/nm-device-802-11-wireless.c         
10996                 - (supplicant_send_network_config): instead of user_created,
10997                         use adhoc, and do AP_SCAN 2 for adhoc networks
10998
10999 2006-06-18  Robert Love  <rml@novell.com>
11000
11001         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11002           we have a value to set.  Gconf generates a warning if `val' is NULL.
11003         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11004           unless we actually received a valid private key file passphrase or
11005           password.  Otherwise, we don't know to later ask the applet to pull
11006           the key from the keyring.
11007
11008 2006-06-17  Dan Williams  <dcbw@redhat.com>
11009
11010         * libnm-util/dbus-dict-helpers.[ch]
11011           test/libnm-util/test-dbus-dict-helpers.c
11012                 - Fixes for zero-length byte arrays
11013                 - Replace return values of 0 with FALSE for clarity
11014                 - Test zero-length byte arrays
11015
11016 2006-06-17  Dan Williams  <dcbw@redhat.com>
11017
11018         * libnm-util/dbus-dict-helpers.[ch]
11019           test/libnm-util/test-dbus-dict-helpers.c
11020                 - Add helpers for byte arrays
11021                 - Rework bits of the testcase
11022
11023 2006-06-16  Dan Williams  <dcbw@redhat.com>
11024
11025         * libnm-util/Makefile.am
11026         * libnm-util/dbus-dict-helpers.[ch]
11027                 - Add some helpers to take the pain out of using dict types in
11028                         dbus.
11029
11030         * test/libnm-util/Makefile.am
11031         * test/libnm-util/test-dbus-dict-helpers.c
11032                 - Test cases for the dict helper functions
11033
11034 2006-06-15  Robert Love  <rml@novell.com>
11035
11036         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11037           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11038           if there is no key to pass.
11039         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11040           receiving a non-NULL key.
11041
11042 2006-06-14  Robert Love  <rml@novell.com>
11043
11044         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11045           copy the strings.
11046
11047
11048 2006-06-14  Dan Williams  <dcbw@redhat.com>
11049
11050         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11051         * src/nm-device-802-11-wireless.c
11052                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11053                         or ones where the driver is unknown
11054                 - (supplicant_exec): don't wait for supplicant startup here
11055                 - (supplicant_interface_init): finer grained polling for supplicant
11056                         startup
11057
11058 2006-06-13  Robert Love  <rml@novell.com>
11059
11060         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11061           if it is currently set to TRUE.  Otherwise, we will reset the value
11062           when we connect normally.
11063         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11064           the old BSSID is valid, too.  The recently added ESSID check may not be
11065           sufficient (we can remove it?).  What we really want to catch is the
11066           case of going from all-zeros to the BSSID of some other network, which
11067           happens on failure.
11068
11069 2006-06-09  Dan Williams  <dcbw@redhat.com>
11070
11071         * src/NetworkManagerSystem.[ch]
11072                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11073                         it was unused and pointless
11074                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11075                         fix for set_up_down_with_iface change
11076
11077         * src/vpn-manager/nm-vpn-connection.c
11078                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11079
11080         * src/backends/NetworkManagerPaldo.c
11081           src/backends/NetworkManagerRedHat.c
11082           src/backends/NetworkManagerSuSE.c
11083           src/backends/NetworkManagerArch.c
11084           src/backends/NetworkManagerDebian.c
11085           src/backends/NetworkManagerGentoo.c
11086                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11087                         appropriate
11088                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11089                         where appropriate
11090
11091 2006-06-09  Dan Williams  <dcbw@redhat.com>
11092
11093         Patch from Peter Jones:
11094         * src/nm-device-802-11-wireless.c
11095                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11096                         SSID hasn't changed from what we expect before automatically
11097                         updating the saved BSSID from a new AP
11098
11099 2006-06-08  Robert Love  <rml@novell.com>
11100
11101         Add 'fallback' support.  NetworkManager will attempt to brute-force
11102         connect to networks marked as fallback if there are no better wireless
11103         connections available.  This is useful as a method of last resort, to
11104         work around driver problems, and for use with hidden networks.
11105         * gnome/applet/applet-dbus-devices.c,
11106           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11107         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11108           pass it on via DBUS.
11109         * gnome/applet/applet.c: No fallback by default.
11110         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11111           Update other-network-dialog to add UI checkbox toggling fallback.
11112         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11113           propery from AP object.  Add "fallback" property to AP object.
11114         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11115         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11116         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11117           separate function.  Add get_best_fallback_ap() for returning an AP
11118           on which to attempt fallback.
11119         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11120         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11121
11122 2006-06-07  Robert Love  <rml@novell.com>
11123
11124         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11125           checked that the return type was GCONF_VALUE_STRING, not the correct
11126           GCONF_VALUE_BOOL, and thus it never worked.
11127         * src/NetworkManagerAPList.c: Before concluding that two networks are
11128           identical based on their BSSID, make sure that the BSSID in question
11129           is actually valid.  Specifically, an empty or all zero BSSID does not
11130           cut it.
11131         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11132           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11133           similar invariant clean up.
11134
11135 2006-06-02  Robert Love  <rml@novell.com>
11136
11137         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11138
11139 2006-05-28  Dan Williams  <dcbw@redhat.com>
11140
11141         * gnome/applet/applet.glade
11142           gnome/vpn-properties/nm-vpn-properties.glade
11143                 - Set window icons on dialogs  (Gnome.org #333420)
11144
11145 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11146
11147         * gnome/vpn-properties/nm-vpn-properties.glade:
11148         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11149         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11150         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11151                 - Make the VPN properties pages prettier and more HIG
11152                   compliant. Gnome Bug #336913.
11153
11154 2006-05-28  Dan Williams  <dcbw@redhat.com>
11155
11156         Patch from Christian Persch <chpe@gnome.org>
11157         * gnome/vpn-properties/nm-vpn-properties.c
11158         * gnome/vpn-properties/nm-vpn-properties.glade
11159                 - HIG-ification love  (Gnome.org #336846)
11160
11161 2006-05-28  Dan Williams  <dcbw@redhat.com>
11162
11163         Patch from Christian Persch <chpe@gnome.org>
11164         * configure.in
11165           gnome/vpn-properties/nm-vpn-properties.c
11166                 - (main): Fix option parsing.  Gnome.org #336847
11167
11168 2006-05-28  Dan Williams  <dcbw@redhat.com>
11169
11170         * gnome/vpn-properties/nm-vpn-properties.c
11171                 - (find_vpn_ui_by_service_name): protect against NULL service names
11172                 - (update_edit_del_sensitivity): protect against NULL service names
11173                         Gnome.org #341306
11174
11175 2006-05-28  Dan Williams  <dcbw@redhat.com>
11176
11177         Patch from Chris Fuller <crf@grandecom.net>:
11178         * src/nm-device-802-11-wireless.c
11179                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11180                         don't dispose of wireless-specific stuff unless it is actually
11181                         initialized.  Gnome.org #341263
11182
11183 2006-05-28  Dan Williams  <dcbw@redhat.com>
11184
11185         * src/NetworkManagerPolicy.c
11186                 - (nm_policy_device_change_check): don't switch devices if the "best"
11187                         AP is essentially the same as the current activation request, but
11188                         the current activation request isn't done activating yet.  Fixes
11189                         multiple requests for keyring password on startup for Gnome applet.
11190                         Gnome.org #341297
11191
11192 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11193
11194         * src/NetworkManager.c: use GOptions instead of getopt
11195         * configure.in: bump glib required version to >= 2.6 for GOption
11196           support
11197
11198 2006-05-25  Robert Love  <rml@novell.com>
11199
11200         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11201           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11202           instead of dumping ifdef's throughout the code.
11203         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11204           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11205           use nm_ioctl_info() in lieu.
11206
11207 2006-05-25  Robert Love  <rml@novell.com>
11208
11209         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11210         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11211           not using gcrypt.  Otherwise, we get a linker error.
11212
11213 2006-05-25  Robert Love  <rml@novell.com>
11214
11215         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11216         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11217           configure flag to disable building of the GNOME-based applet.
11218
11219 2006-05-25  Robert Love  <rml@novell.com>
11220
11221         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11222           parameter from link, because it shadows a global variable with some
11223           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11224           should never have exported to the entire system a common four letter
11225           word.  But we here at NetworkManager are team players.  Fixes
11226           GNOME bug #336532.
11227
11228 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11229
11230         * configure.in: Added mk.po, Macedonian translation.
11231
11232 2006-05-24  Robert Love  <rml@novell.com>
11233
11234         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11235           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11236           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11237
11238 2006-05-24  Robert Love  <rml@novell.com>
11239
11240         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11241           libnm-util/Makefile.am, src/Makefile.am,
11242           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11243           vpn-daemons/openvpn/properties/Makefile.am,
11244           vpn-daemons/pptp/auth-dialog/Makefile.am,
11245           vpn-daemons/pptp/properties/Makefile.am,
11246           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11247           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11248           user passed for --datadir, if anything, when setting the GNOME locale
11249           directory.  It should be a function of the specified datadir and not
11250           the prefix.
11251
11252 2006-05-24  Robert Love  <rml@novell.com>
11253
11254         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11255           src/NetworkManager.c: Take care to call bindtextdomain with the
11256           location of msgid files.
11257         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11258           files.
11259
11260 2006-05-22  Robert Love  <rml@novell.com>
11261
11262         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11263           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11264           99% of the time there is a real problem with wireless, and a
11265           seemingly successful connection via Zeroconf just confuses the user.
11266           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11267
11268 2006-05-22  Robert Love  <rml@novell.com>
11269
11270         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11271           autofs on interface up if NIS is configured.  On interface down, do
11272           nothing.
11273
11274 2006-05-22  Robert Love  <rml@novell.com>
11275
11276         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11277           to avoid calling g_object_unref() on stale pointers on error in
11278           nma_icons_free().  This happens because we short-circuit loaded the
11279           icons on the first failure but then free all icons.  Normally we have
11280           no issue because the icons were zero'ed out malloc, but we have stale
11281           pointer data after nma_icon_theme_changed().
11282         * gnome/applet/main.c: Return error code if nma_new() failed.
11283
11284 2060-05-21  Dan Williams  <dcbw@redhat.com>
11285
11286         * initscript/NetworkManager.in
11287                 - Ensure both dhcdbd and named are started before NM
11288
11289 2006-05-21  Dan Williams  <dcbw@redhat.com>
11290
11291         * configure.in
11292                 - Bump version to 0.7 to signify we are in 0.7 development
11293
11294 2006-05-21  Dan Williams  <dcbw@redhat.com>
11295
11296         Patch from Adam Schreiber <sadam@clemson.edu>
11297         * gnome/vpn-properties/nm-vpn-properties.c
11298                 - (main): correct Gnome program name  (gnome.org #342498)
11299
11300 2006-05-21  Dan Williams  <dcbw@redhat.com>
11301
11302         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11303
11304         * src/NetworkManagerDbus.[ch]
11305                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11306                         clarify that function's argument should be an escaped dbus object
11307                         path, and look for path segment end before returning a match
11308         * src/nm-dbus-nm.c:
11309                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11310
11311 2006-05-17  Robert Love  <rml@novell.com>
11312
11313         Functionality to differentiate Ad-Hoc networks from infrastructure
11314         networks in the applet, by displaying a special icon:
11315         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11316         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11317         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11318           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11319           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11320           networks, encrypted or not.
11321         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11322           accessor functions to get and set the mode of a given network,
11323           wireless_network_get_mode() and wireless_network_set_mode().
11324
11325 2006-05-17  Robert Love  <rml@novell.com>
11326
11327         Functionality to automatically add BSSIDs to the allowed-MAC list as
11328         one roams from access point to access point on a given network:
11329         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11330           helper function to compare two ether_addr structures and return TRUE
11331           if they contain the same MAC address.
11332         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11333           prototype.
11334         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11335           stored with the current AP.  If the BSSID has indeed changed, we
11336           send it out to the applet, allowing the allowed-MAC list to grow
11337           automatically in response to roaming.
11338
11339 2006-05-16  Robert Love  <rml@novell.com>
11340
11341         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11342           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11343
11344 2006-05-13  Dan Williams  <dcbw@redhat.com>
11345
11346         * src/nm-device-802-3-ethernet.c
11347                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11348                         carrier detect (Debian bug #366373)
11349
11350 2006-05-11  Dan Williams  <dcbw@redhat.com>
11351
11352         Patch from Michael Biebl <biebl@teco.edu>
11353         * src/backends/NetworkManagerDebian.c
11354                 - Debian backend fixups
11355
11356 2006-05-10  Robert Love  <rml@novell.com>
11357
11358         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11359
11360 2006-05-09  Robert Love  <rml@novell.com>
11361
11362         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11363           private certificate passphrase, if any, in the GNOME Keyring.
11364         * libnm-utils/dbus-helpers.c: Update.
11365
11366 2006-05-05  Dan Williams  <dcbw@redhat.com>
11367
11368         * src/nm-device-802-11-wireless.c
11369                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11370                         nm_device_802_11_wireless_disable_encryption() since that's all
11371                         we use it for anymore; we don't ever set WEP keys ourselves.
11372                 - (real_deactivate_quickly): reset SSID and encryption keys
11373                 - (real_deactivate): move SSID and encryption key reset to
11374                         real_deactivate_quickly(), which gets run before us anyway
11375
11376 2006-05-05  Robert Love  <rml@novell.com>
11377
11378         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11379           root has a wacky default of its own (or, more common, a user has a
11380           bad umask and uses su/sudo to restart NetworkManager).  Anything
11381           other than 0022 does not do what we want with, for example,
11382           resolv.conf.  This problem is amplified by our judicious use of
11383           fopen(), which uses mode 0666 -- implying that the only way to get
11384           the permissions we want is with a umask of 0022.
11385
11386 2006-05-05  Dan Williams  <dcbw@redhat.com>
11387
11388         * gnome/libnm_glib/libnm_glib.c
11389                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11390                         to reconnect; instead wait a bit more with each reconnect attempt
11391                         up to a max of one minute.
11392
11393 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11394
11395         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11396           the WirelessNetwork structure using the proper function instead of
11397           just casting it directly to (const char *) (gnome.org #336991)
11398
11399 2006-05-03  Robert Love  <rml@novell.com>
11400
11401         * src/backends/NetworkManagerSuSE.c: Respect the variable
11402           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11403           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11404           to dynamically update /etc/resolv.conf.
11405
11406 2006-05-02  Peter Jones  <pjones@redhat.com>
11407
11408         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11409
11410 2006-05-02  Robert Love  <rml@novell.com>
11411
11412         Patch by Timo Hoenig;
11413         * tests/nm-online.c: Print pretty status indicator as timeout winds
11414           down.  Also fix possible race between DBUS startup and failure
11415           return.
11416
11417 2006-05-01  Robert Love  <rml@novell.com>
11418
11419         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11420           empty, too.
11421
11422 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11423
11424         * src/nm-device.c (discover_device_type): Actually use the hal
11425         device type instead of ioctl poking
11426
11427 2006-04-26  Robert Love  <rml@novell.com>
11428
11429         * tests/nm-online.c: New file.  Simple utility that returns exit status
11430           noting whether the connection is offline or online.  If offline on
11431           start, it waits 30 seconds (or a command-line given value) for an
11432           online signal.  If it times out, it again returns offline.  This is
11433           useful for scripts that want to wait for network connections.
11434
11435 2006-04-25  Robert Love  <rml@novell.com>
11436
11437         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11438           key mode (the authentication algorithm), e.g. open or shared, when we
11439           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11440           only shared was broken.  If the user specified a shared key, set it
11441           explicitly, otherwise let wpa_supplicant go with the default.
11442
11443 2006-04-24  Dan Williams  <dcbw@redhat.com>
11444
11445         * src/nm-device-802-11-wireless.c
11446                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11447
11448 2006-04-24  Dan Williams  <dcbw@redhat.com>
11449
11450         Commit the async scanning patch
11451
11452         * src/nm-device-802-11-wireless.c
11453                 - get rid of scan_mutex
11454                 - (wireless_event_helper): act on wireless scan events
11455                 - (real_start): schedule a pending scan
11456                 - (link_to_specific_ap): fake the link to the AP during a scan
11457                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11458                         strength during scans
11459                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11460                         nm_device_set_bitrate): unused with new scanning code, disable
11461                 - (nm_device_wireless_schedule_scan): removed
11462                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11463                 - (request_and_convert_scan_results): new function; retrieve scan
11464                         results from the driver and schedule the processing function
11465                 - (scan_results_timeout): timeout triggered when card doesn't send
11466                         a scan results wireless event during a certain interval
11467                 - (schedule_scan_results_timeout): new function; schedule the scan
11468                         results timeout
11469                 - (cancel_scan_results_timeout): new function; cancel the scan
11470                         results timeout
11471                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11472                         to do the scanning.  Otherwise, just request a scan but don't
11473                         grab results here; instead schedule a timeout for scan results and
11474                         let netlink notify us of scan completion events
11475                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11476                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11477                 - (supplicant_status_cb): ignore disconnect events while scanning
11478                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11479                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11480                         timeouts
11481                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11482
11483 2006-04-24  Dan Williams  <dcbw@redhat.com>
11484
11485         * gnome/applet/applet-dbus.c
11486                 - Disable the pending call debug stuff, seems under control now
11487
11488 2006-04-20  Robert Love  <rml@novell.com>
11489
11490         Fix bug where hidden ESSID's would not show up in the applet, even
11491         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11492         because nm_policy_device_list_update_from_allowed_list() would merge
11493         the data, putting a name to the hidden networks, but never notify NMI
11494         of the changes.  Simple fix is to invoke the function
11495         nm_dbus_signal_wireless_network_change() if we make a mapping.
11496         * src/NetworkManagerAPList.c: Call the function
11497           nm_dbus_signal_wireless_network_change() if we made a successful
11498           BSSID to ESSID mapping, notifying the applet of the "new" network.
11499         * src/NetworkManagerAPList.h: Update the prototypes for both
11500           nm_ap_list_copy_essids_by_address() and
11501           nm_ap_list_copy_one_essid_by_address().
11502
11503 2006-04-20  Robert Love  <rml@novell.com>
11504
11505         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11506           not set.  Just return zero.
11507
11508 2006-04-20  Robert Love  <rml@novell.com>
11509
11510         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11511           only one copy of nm-vpn-properties is running at a time via the 'ol
11512           X selection trick.  This prevents the user from opening two "VPN
11513           Connections" windows from within the applet, which leads to mass
11514           hysteria.
11515         * clipboard.c: New file, implementing simple X selection logic.
11516         * clipboard.h: New file.
11517         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11518
11519 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11520
11521         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11522         * configure.in
11523           initscript/Gentoo/Makefile.am
11524           initscript/Gentoo/NetworkManagerDispatcher.in
11525                 - New script
11526         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11527           Gentopia
11528
11529 2006-04-16  Dan Williams  <dcbw@redhat.com>
11530
11531         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11532         * configure.in
11533           initscript/Slackware/Makefile.am
11534           initscript/Slackware/rc.networkmanager-dispatcher.in
11535           initscript/Slackware/rc.networkmanager.in
11536                 - Update slackware initscripts
11537
11538 2006-04-10  Robert Love  <rml@novell.com>
11539
11540         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11541           the "delete_event" signal on the druid's parent window and handle it
11542           our way, lest using the WM to close the druid results in a series of
11543           bloody and ultimately lethal errors.
11544
11545 2006-04-10  Robert Love  <rml@novell.com>
11546
11547         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11548           'Back' too or else the 'Forward' option is initially disabled despite
11549           valid input.
11550
11551 2006-04-06  Robert Love  <rml@novell.com>
11552
11553         Fix bad but simple bug where an active modem connection did not update
11554         NM's connection state, breaking any app that did online/offline:
11555         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11556           represented whether a dial up connection is active, or not.
11557         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11558           to modem activation and deactivation.
11559         * src/NetworkManagerDbus.c: When asked our state, do not return
11560           disconnected if the modem is active.
11561
11562 2006-04-04  Robert Love  <rml@novell.com>
11563
11564         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11565           applet.  It just confuses the crap out of people and does not make a
11566           lot of sense, as the daemon still runs.
11567
11568 2006-04-02  Tor Krill  <tor@krill.nu>
11569
11570         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11571           in start of service.
11572         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11573           get Archlinux backend up to date.
11574
11575 2006-03-29  Robert Love  <rml@novell.com>
11576
11577         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11578         to add support for per-route MSS and improve support for per-interface
11579         MTU:
11580         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11581           optionally take an MSS parameter and set it for the given route.
11582           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11583           NMIP4Config's stored MSS, if any.
11584         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11585           the interface's MTU and the route's MSS, respectively.  Add functions
11586           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11587           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11588           MSS.
11589         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11590           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11591           nm_ip4_config_set_mss.
11592         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11593           VPN daemon.
11594         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11595           Change the retval of nm_system_get_mtu to guint32.
11596         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11597           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11598           servers can specify MTU's, we should set it here if the MTU was not
11599           provided.
11600
11601 2006-03-27  Jürg Billeter  <j@bitron.ch>
11602
11603         * configure.in:
11604         * initscript/Makefile.am:
11605         * initscript/paldo/Makefile.am:
11606         * initscript/paldo/NetworkManager.in:
11607         * initscript/paldo/NetworkManagerDispatcher.in:
11608         * src/backends/Makefile.am:
11609         * src/backends/NetworkManagerPaldo.c:
11610                 - Add paldo support
11611
11612 2006-03-27  Dan Williams  <dcbw@redhat.com>
11613
11614         Patch from Christian Persch <chpe@gnome.org>
11615         * gnome/applet/applet.glade
11616                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11617
11618 2006-03-27  Dan Williams  <dcbw@redhat.com>
11619
11620         Patch from Diffe <diffie@blazebox.homeip.net>
11621         * src/backends/NetworkManagerSlackware.c
11622                 - Don't restart howl, since it's been replaced by Avahi
11623                         in most distributions
11624
11625 2006-03-27  Dan Williams  <dcbw@redhat.com>
11626
11627         Patch from Tor Krill <bugzilla@krill.nu>
11628         * configure.in
11629           initscript/Makefile.am
11630           src/backends/Makefile.am
11631           src/backends/NetworkManagerArch.c
11632           initscript/Arch/Makefile.am
11633           initscript/Arch/networkmanager-dispatcher.in
11634           initscript/Arch/networkmanager.in
11635                 - Add Arch Linux support, fixes gnome.org #335147
11636
11637 2006-03-27  Dan Williams  <dcbw@redhat.com>
11638
11639         Patch from Diffe <diffie@blazebox.homeip.net>
11640      * initscript/Slackware/rc.networkmanager
11641         - update, fixed gnome.org #333368
11642
11643 2006-03-27  Robert Love  <rml@novell.com>
11644
11645         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11646           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11647
11648 2006-03-27  Robert Love  <rml@novell.com>
11649
11650         Patch by Jürg Billeter <j@bitron.ch>:
11651         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11652           systems.
11653         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11654           as we prefer glibc over kernel headers, if possible.
11655
11656 2006-03-27  Robert Love  <rml@novell.com>
11657
11658         Patch by Jon Escombe <list@dresco.co.uk>:
11659         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11660         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11661           fail, don't bail out.  We don't expect all of the various WPA-EAP
11662           values to be present.
11663         * src/nm-ap-security.c: We need to match all capabilities for each
11664           encryption type, not any one of them.
11665
11666 2006-03-27  Robert Love  <rml@novell.com>
11667
11668         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11669           restart, not reload, ypbind.  Unfortunately there is no superior
11670           solution.
11671
11672 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11673
11674         * gnome/applet/applet-notifications.c:
11675         When displaying a notification, make sure to get rid of the
11676         previous notification so as to not have competing bubbles,
11677         and stop leaking the old one.
11678
11679         * gnome/applet/applet.c:
11680         * gnome/applet/applet.h:
11681         Add a new 'notification' member to the applet, and zero it out
11682         and free it appropriately.
11683
11684 2006-03-23  Robert Love  <rml@novell.com>
11685
11686         Patch by j <j@bootlab.org>:
11687         * gnome/applet/applet.glade: Don't set the invisible_char property,
11688           which simply overrides the GTK default.  By and by, this behavior
11689           ought to be fixed in Glade.
11690
11691 2006-03-22  Robert Love  <rml@novell.com>
11692
11693         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11694
11695 2006-03-22  Robert Love  <rml@novell.com>
11696
11697         Bug fix by Timo Hoenig <thoenig@suse.de>:
11698         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11699           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11700           and the applet going AWOL.
11701
11702 2006-03-22  Robert Love  <rml@novell.com>
11703
11704         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11705           preprocessor define and use it instead of open-coded the DHCP
11706           timeout, which is currently 25 seconds, everywhere.
11707
11708 2006-03-22  Robert Love  <rml@novell.com>
11709
11710         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11711         key exchange via WPA, ostensibly providing good security without
11712         requiring hardware that supports full WPA.  Also, add UI elements to
11713         allow the user to select the pairwise & group cipher for WPA Enterprise
11714         networks, too:
11715         * gnome/applet/applet.glade: Update glade file.
11716         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11717           key type, too, to and from gconf.
11718         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11719           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11720           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11721           the capabilities match.
11722         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11723           prototype.
11724         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11725           serialize from UI to DBUS.
11726         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11727           one element.
11728         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11729           nmu_security_serialize_wpa_eap_with_cipher(), and
11730           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11731           serialize/deserialize the key type via DBUS as the new third DBUS
11732           parameter.
11733         * libnm-util/dbus-helpers.h: Update prototypes.
11734         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11735           too.  If the key type is WEP104, do Dynamic WEP, which means
11736           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11737           pairwise and group ciphers (fixes a FIXME).
11738
11739 2006-03-21  Robert Love  <rml@novell.com>
11740
11741         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11742           nm_system_get_mtu(), which returns a user-provided or system-mandated
11743           MTU value for a given device, if any, or zero if no such value
11744           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11745           if we have a provided value.
11746         * src/nm-device.c: Set the MTU of devices.
11747         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11748         * src/backends/NetworkManagerDebian.c,
11749           src/backends/NetworkManagerGentoo.c,
11750           src/backends/NetworkManagerRedHat.c,
11751           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11752
11753 2006-03-21  Robert Love  <rml@novell.com>
11754
11755         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11756           configuration file.
11757
11758 2006-03-17  Robert Love  <rml@novell.com>
11759
11760         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11761           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11762           it, in case it is not running in the first place.  We just want its
11763           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11764
11765 2006-03-15  Robert Love  <rml@novell.com>
11766
11767         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11768           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11769           label "WEP 40/128-bit" is inconsistent because the physical key size
11770           is 40 or 104-bits, to which a 24-bit initialisation vector is
11771           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11772           to read "40/104" or "64/128".  I do not care much which, but most
11773           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11774           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11775           WEP passphrase support only handles 128-bit keys, and any future
11776           64-bit passphrase support will require a new option (no way to auto-
11777           detect the target key size), explicitly label our passphrase support
11778           "WEP 128-bit Passphrase".
11779
11780 2006-03-15  Robert Love  <rml@novell.com>
11781
11782         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11783           the system init scripts (or some other mechanism) starting it (or a
11784           compatible DBUS service) before NetworkManager runs.  This means that
11785           distributions might need to update their init scripts.  This fixes
11786           possible races and is quite a bit cleaner.
11787         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11788           starting the NetworkManager daemon.
11789
11790
11791 2006-03-14  Robert Love  <rml@novell.com>
11792
11793         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11794           before adding anything.
11795
11796 2006-03-13  Robert Love  <rml@novell.com>
11797
11798         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11799           widgets, too, if they exist, in case the user hit the back button.
11800           Fixes a bug where the details page contains the widgets of multiple
11801           VPN modules (Novell bug #157048).
11802
11803 2006-03-13  Robert Love  <rml@novell.com>
11804
11805         Patch by Timo Hoenig <thoenig@suse.de>:
11806         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11807           daemon survive DBUS restarts, too.
11808
11809 2006-03-10  Robert Love  <rml@novell.com>
11810
11811         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11812           passphrase or key.
11813         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11814           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11815           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11816           in response to "toggled" signal on new toggle.
11817
11818 2006-03-10  Robert Love  <rml@novell.com>
11819
11820         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11821           serialization if strings are NULL, lest DBUS get angry.
11822
11823 2006-03-10  Robert Love  <rml@novell.com>
11824
11825         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11826
11827 2006-03-09  Robert Love  <rml@novell.com>
11828
11829         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11830           configurations.
11831
11832 2006-03-09  Dan Williams  <dcbw@redhat.com>
11833
11834         Track pending call requests in the applet, and report how many are
11835         outstanding, and how long each completed one takes.
11836         
11837         * gnome/applet/applet-dbus-devices.c
11838           gnome/applet/applet-dbus-vpn.c
11839                 - Track pending calls
11840
11841         * gnome/applet/applet-dbus.[ch]
11842                 - Remove some unused enums
11843                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11844                         new functions to track dbus pending calls and spit out some
11845                         statistics about them
11846
11847 2006-03-09  Robert Love  <rml@novell.com>
11848
11849         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11850           nm_ap_set_timestamp() take the second and micro-second parameters as
11851           direct arguments, which avoids both a dynamic memory allocation and a
11852           structure-to-structure copy!  Add a new interface, the aptly named
11853           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11854           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11855           the return from nm_ap_get_timestamp().  New users should use the new
11856           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11857           the extreme benefit to performance.
11858         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11859           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11860
11861 2006-03-08  Robert Love  <rml@novell.com>
11862
11863         * gnome/applet/applet.glade: Hide the password entry text with
11864           asterisks.
11865
11866 2006-03-08  Robert Love  <rml@novell.com>
11867
11868         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11869           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11870           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11871           a second argument, NMData.
11872         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11873         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11874           config files as trusted.
11875
11876 2006-03-06  Robert Love  <rml@novell.com>
11877
11878         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11879         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11880           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11881           Rivera, detect if the applet was auto-started.  If so, ask the user
11882           if he or she would like to stop automatically running the applet on
11883           login.  If so, disable autostart.
11884
11885 2006-03-06  Robert Love  <rml@novell.com>
11886
11887         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
11888           directory in CFLAGS so developers can actually use NetworkManager.h.
11889
11890 2006-03-06  Robert Love  <rml@novell.com>
11891
11892         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11893           open-coded integer constants.  Add state_to_string() to map a given
11894           state to a textual description, and provide that when notifying of
11895           state change.
11896         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11897           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
11898           this header directly, but it is currently not installed on most
11899           systems.
11900
11901 2006-03-05  Dan Williams  <dcbw@redhat.com>
11902
11903         Process netlink messages in device subclasses rather than in
11904         NetworkManager.c.  Also add support for recognizing Wireless Events.
11905         
11906         * configure.in
11907                 - Find GLIB_GENMARSHAL
11908
11909         * src/Makefile.am
11910                 - Since we're marshalling custom types for wireless event signals,
11911                         we get to create our own marshallers using GLIB_GENMARSHAL
11912
11913         * src/NetworkManager.c
11914                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11915                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11916                         cut down somewhat.  We no longer process signals here.
11917                 - (nm_data_new): create the netlink monitor here, and remove a
11918                         useless call to nm_policy_schedule_device_change_check()
11919                 - (nm_data_free): get rid of the netlink monitor here
11920                 - (nm_device_link_activated, nm_device_link_deactivated): removed
11921                 - (main): don't create the netlink monitor here, let nm_data_new
11922                         do that.  Call nm_policy_schedule_device_change_check() right
11923                         before we jump to the mainloop to figure out which device
11924                         to use first
11925
11926         * src/NetworkManagerSystem.[ch]
11927                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11928                         convert back and forth from interface names to interface
11929                         indexes
11930
11931         * src/nm-device-802-11-wireless.c
11932                 - (real_init): connect to wireless-event signals from the netlink
11933                         monitor object
11934                 - (nm_device_802_11_wireless_event): new function, schedule handler
11935                         for wireless event signals from the netlink monitor object.  We
11936                         want the handler to run in the device's context
11937                 - (wireless_event_helper): handle wireless-event signals from netlink
11938                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
11939                         signal handler
11940
11941         * src/nm-device-802-11-wireless.h
11942                 - remove unused prototype for nm_device_802_11_wireless_new
11943
11944         * src/nm-device-802-3-ethernet.c
11945                 - (real_init): new function; set up signal handlers for link events
11946                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
11947                         handler for netlink link activated events on device's main loop
11948                 - (link_activated_helper): when we get a link activated event, set
11949                         the device's link to be active
11950                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
11951                         handler for netlink link deactivated events on device's main loop
11952                 - (link_deactivated_helper): when we get a link deactivated event, set
11953                         the device's link to be inactive
11954                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
11955                         dispose
11956
11957         * src/nm-device-802-3-ethernet.h
11958                 - remove unused prototype for nm_device_802_3_ethernet_new
11959
11960         * src/nm-device.[ch]
11961                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
11962                         but locks the device list
11963                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
11964
11965         * src/nm-netlink-monitor.[ch]
11966                 - (nm_netlink_monitor_class_install_signals): New signal
11967                         "wireless-event"
11968                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
11969                         at the device list
11970                 - (nm_netlink_monitor_event_handler): expand for wireless events too
11971
11972         * src/nm-marshal-main.c
11973                 - Include generated nm-marshal.c and nm-marshal.h
11974
11975         * src/nm-marshal.list
11976                 - List of custom marshal functions
11977
11978 2006-03-05  Dan Williams  <dcbw@redhat.com>
11979
11980         * gnome/applet/applet-notifications.h
11981                 - Protect prototype of nma_send_event_notification() because it
11982                         includes libnotify-specific types
11983                 - Include libnotify/libnotify.h too, since we technically need it
11984
11985         * gnome/applet/applet.c
11986                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
11987                 - (nma_show_vpn_login_banner_dialog): add some error checking
11988
11989 2006-03-04  Dan Williams  <dcbw@redhat.com>
11990
11991         Clean up activation cancellation.  Should be a lot faster now.  Observed
11992         an issue with wireless devices between stage 2 and 3 of activation, where
11993         activation would be cancelled, but the device thread wouldn't notice until
11994         the supplicant association timed out.  Reorganize activation such that
11995         a cancellation handler gets immediately scheduled in the device's thread,
11996         and devices have a chance to perform any custom cleanup too.
11997
11998         * src/nm-device.[ch]
11999                 - (activation_cancel_handler): new device-type-specific function
12000                         for cleaning up device-type-specific stuff on cancellation
12001                 - (cancel_activation): removed
12002                 - (nm_device_activation_cancel): subsume functionality of
12003                         real_cancel_activation, but instead of doing anything, punt
12004                         operation to a handler that's run in device-thread context
12005                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12006                         a warning message
12007                 - (activation_handle_cancel_helper): cancellation handler run in
12008                         device-thread context, calls device-type-specific cancelation,
12009                         then tears down the activation request
12010                 - (real_activation_cancel_handler): generic cancellation handler,
12011                         deals with cancelling any in-process DHCP request
12012                 - (nm_device_activate_stage1_device_prepare,
12013                    nm_device_activate_stage2_device_config,
12014                    nm_device_activate_stage3_ip_config_start,
12015                    nm_device_activate_stage4_ip_config_get,
12016                    nm_device_activate_stage4_ip_config_timeout,
12017                    nm_device_activate_stage5_ip_commit): don't call
12018                         nm_device_schedule_activation_handle_cancel() any more, since
12019                         cancellation will have been already scheduled for us by
12020                         nm_device_activation_cancel().  Just exit the function and
12021                         assume that the cancel handler will be called next.
12022
12023         * src/nm-device-802-3-ethernet.c
12024                 - (real_act_stage2_config): remove; didn't do anything anyway
12025
12026         * src/nm-device-802-11-wireless.c
12027                 - (supplicant_status_cb): ensure we don't do anything if the activation
12028                         got cancelled
12029                 - (real_activation_cancel_handler): implement; cancel user key request
12030                         on activation cancellation
12031
12032 2006-03-04  Dan Williams  <dcbw@redhat.com>
12033
12034         * src/nm-device-802-11-wireless.c
12035                 - (supplicant_send_network_config): assume that drivers that don't
12036                         support WPA pretty much suck, and can't handle NM scanning
12037                         along with wpa_supplicant.
12038
12039 2006-03-03  Robert Love  <rml@novell.com>
12040
12041         * configure.in: Bump version to 0.6.0.
12042         * NEWS: Update.
12043
12044 2006-03-03  Robert Love  <rml@novell.com>
12045
12046         * configure.in: Require DBUS 0.60 or later.
12047
12048 2006-03-03  Dan Williams  <dcbw@redhat.com>
12049
12050         Fix a crash if an "Other wireless network" was chosen, failed, then
12051         chosen again from the applet's menu.  If the other network wasn't
12052         noticed in a scan, it wouldn't have any capabilities, but would still
12053         be listed because the user forced the network.  To fix this, we set
12054         sensible capabilities on the forced network, which will get overwritten
12055         with the correct ones if the network shows up later in a scan.
12056         
12057         * src/nm-ap-security.h
12058                 - Add a new "get_default_capabilities_func" member to the
12059                         NMAPSecurity class
12060
12061         * src/nm-ap-security.c
12062                 - (nm_ap_security_get_default_capabilities): new function
12063
12064         * src/nm-ap-security.c
12065           src/nm-ap-security-wep.c
12066           src/nm-ap-security-wpa-psk.c
12067           src/nm-ap-security-wpa-eap.c
12068                 - Implement get_default_capabilities_func() for all, which
12069                         uses the information contained in a specific NMAPSecurity
12070                         object to determine default AP capabilites necessary
12071                         to support that object
12072
12073         As a secondary measure, we now prune artificial access points that fail
12074         to be activated right away.  The thing failed, and we have no scan data for
12075         it, so it's pretty much useless since security information is only saved
12076         in the applets when a connection is successful.
12077
12078         * src/NetworkManagerAPList.c
12079                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12080                         not artificial.  If we see it, it's no longer a figment of the
12081                         user's imagination :)
12082
12083         * src/NetworkManagerPolicy.c
12084                 - (nm_policy_activation_failed): send along the failed AP if we
12085                         have it
12086
12087         * src/nm-device-802-11-wireless.c
12088                 - (real_activation_failure_handler): remove artificial APs from
12089                         the device list, because activation failed
12090
12091 2006-03-02  Robert Love  <rml@novell.com>
12092
12093         Add support for retrieving both the per-device speed and the
12094         per-network maximum supported rate.  Then change the getProperties
12095         DBUS API for both networks and devices to report this informaiton.
12096         Finally, display the information via both nm-applet and nm-tool:
12097         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12098           and set it.
12099         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12100           Information' dialog.
12101         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12102         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12103           network_device_get_speed() and network_device_set_speed() for
12104           retrieving and setting, respectively, a network device's current
12105           speed.
12106         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12107         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12108           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12109           not matter (yet) what the units are, because we only feed it its own
12110           output.  Implement SIOCGIRATE and set the per-network maximum
12111           supported rate during scanning.
12112         * src/nm-device-802-11-wireless.h: Export the function
12113           nm_device_802_11_wireless_get_bitrate().
12114         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12115           function nm_device_802_3_ethernet_get_speed() for returning an
12116           802.3's current speed, in Mb/s.
12117         * test/nm-tool.c: Display the per-device current speed, if available,
12118           and the per-network maximum rate.
12119
12120 2006-03-02  Dan Williams  <dcbw@redhat.com>
12121
12122         * src/nm-device-802-11-wireless.c
12123                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12124                         card when it gets initialized.  Since devices don't get added to
12125                         the scan list until they are initialized, this function wasn't
12126                         setting the intitial scan interval correctly, and was leaving
12127                         it at 0.  This caused cards to get many scan requests in a short
12128                         amount of time when they were initialized
12129
12130 2006-03-02  Robert Love  <rml@novell.com>
12131
12132         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12133           active device.  But do not do what we used to do and override the
12134           state, which caused the dreaded icon race of '05.
12135
12136 2006-03-02  Robert Love  <rml@novell.com>
12137
12138         Commit Dan's update of my previous commit:
12139         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12140           set_mode() function itself does the check.  But do only set the
12141           frequency if in Ad-Hoc mode.
12142
12143 2006-03-02  Robert Love  <rml@novell.com>
12144
12145         Patch by Brian Magnuson <magnuson@rcn.com>:
12146         * src/nm-device-802-11-wireless.c: During scanning, only set the
12147           wireless mode to infrastructure if it is not currently in
12148           infrastructure mode.  For some driver, setting the mode is a costly
12149           operation, apparently.
12150
12151 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12152
12153         * Makefile.am: use the correct dir for autostart mechanism.
12154
12155 2006-02-28  Dan Williams  <dcbw@redhat.com>
12156
12157         Patch from Brian Magnuson <magnuson@rcn.com>
12158         * gnome/applet/applet.c
12159                 - (nma_show_vpn_failure_dialog): fix errors left over from
12160                         libnotify support changes
12161
12162 2006-02-28  Dan Williams  <dcbw@redhat.com>
12163
12164         * src/vpn-manager/nm-vpn-act-request.[ch]
12165                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12166                         just one value
12167                 - (nm_vpn_act_request_is_failed): new function; return whether or
12168                         not the vpn activation request has failed
12169
12170         * src/vpn-manager/nm-vpn-manager.c 
12171                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12172                         daemon to kill the connection when the activation request fails.
12173                         Fixes issue where NM would get confused if the VPN activation
12174                         request timed out, and would not allow further VPN connections
12175                         on that service.
12176
12177 2006-02-28  Dan Williams  <dcbw@redhat.com>
12178
12179         * gnome/applet/applet.c
12180                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12181                         overlapping connection requests, disable all VPN menu items
12182                         but the active VPN connection
12183
12184 2006-02-28  Dan Williams  <dcbw@redhat.com>
12185
12186         * src/vpn-manager/nm-vpn-connection.c
12187                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12188                         called g_object_unref() on the connection's parent device
12189                         when it should have been ref-ed instead.  Fixes crash with
12190                         repeated vpn connect requests
12191
12192 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12193
12194         * gnome/applet/applet.glade:
12195         Mark a few strings non-translatable, since they shouldn't be.
12196
12197 2006-02-28  Dan Williams  <dcbw@redhat.com>
12198
12199         * src/vpn-manager/nm-vpn-service.c
12200                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12201                         already running, don't blindly ask it to connect, but wait until
12202                         it's in the STOPPED state first.  Fixes an assertion when user
12203                         starts a second vpn connection without stopping the first.
12204                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12205                         dbus service exists before continuing with the connection
12206                         process, and reduce latency while waiting for it to become
12207                         available
12208                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12209                         waiting for the vpn service daemon to become available
12210                 - General log message cleanups; show progress via "Stage x of 4"
12211                         rather than not telling anyone how many stages there are
12212
12213 2006-02-28  Robert Love  <rml@novell.com>
12214
12215         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12216         * src/backends/NetworkManagerSuSE.c: Implement the interface
12217           nm_system_should_modify_resolv_conf() for SUSE.
12218         * src/backends/NetworkManagerDebian.c,
12219           src/backends/NetworkManagerGentoo.c,
12220           src/backends/NetworkManagerRedHat.c,
12221           src/backends/NetworkManagerSlackware.c: Add stub.
12222         * src/named-manager/Makefile.am: Grab includes from src.
12223         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12224           automatic updating of resolv.conf.  This is useful for testing,
12225           broken static configurations, and administrator lock-down.
12226
12227 2006-02-28  Dan Williams  <dcbw@redhat.com>
12228
12229         * src/nm-device-802-11-wireless.c
12230                 - Move all the wpa_supplicant-related management stuff into its
12231                         own struct, just for oranization's sake
12232                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12233                         to a GIOChannel/GSource
12234                 - (supplicant_log_stdout): new function; grab output from the
12235                         wpa_supplicant stdout pipe and write it to our logs.
12236
12237 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12238
12239         * src/nm-device-802-11-wireless.c:
12240         Err, fix thinko in my previous commit.
12241
12242 2006-02-28  Robert Love  <rml@novell.com>
12243
12244         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12245
12246 2006-02-28  Robert Love  <rml@novell.com>
12247
12248         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12249           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12250           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12251           deserializers are responsible for freeing the returned DBUS strings.
12252
12253 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12254
12255         * src/nm-device-802-11-wireless.c:
12256         The scan list is being pruned prematurely.  We should prune after
12257         the device has gone MIA for three scans, not one.  Split out the
12258         interval to realtime seconds function to better serve this.
12259
12260 2006-02-27  Robert Love  <rml@novell.com>
12261
12262         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12263           Open the pid file O_TRUNC, so if it already exists we truncate it to
12264           zero length.  Also, be more verbose about warnings generated during
12265           writing out the pid file.  Finally, always write out the pid file if
12266           in daemon mode.  Use "--pid-file" to override the default.
12267
12268 2006-02-27  Robert Love  <rml@novell.com>
12269
12270         Patch by R. Vinay <rvinay@novell.com>:
12271         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12272           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12273           Novell bug #153628).
12274           
12275 2006-02-27  Robert Love  <rml@novell.com>
12276
12277         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12278           entry so user can hit <ENTER> after entering passphrase (Novell bug
12279           #153738).
12280
12281 2006-02-27  Dan Williams  <dcbw@redhat.com>
12282
12283         * gnome/applet/*
12284                 - Mass search/replace of:
12285                         nmwa -> nma
12286                         NMWirelessApplet -> NMApplet
12287                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12288                    (it ain't just for wireless anymore, ma!)
12289                 - Fix duplicate function name printing when using nm_warning
12290                 - wireless-applet.glade -> applet.glade
12291
12292 2006-02-27  Dan Williams  <dcbw@redhat.com>
12293
12294         * dispatcher-daemon/NetworkManagerDispatcher.c
12295                 - Accept --pid-file with a path to a pidfile, write it out on
12296                         startup, and delete it on shutdown
12297
12298         * src/NetworkManager.c
12299                 - Accept --pid-file with a path to a pidfile, write it out on
12300                         startup, and delete it on shutdown
12301                 - Move nm_print_usage() lower
12302
12303         * initscripts/RedHat/NetworkManager.in
12304                 - Use new --pid-file option
12305                 - Fix service stopping to wait a bit for NM to quit
12306
12307         * initscripts/RedHat/NetworkManagerDispatcher.in
12308                 - Use new --pid-file option
12309
12310 2006-02-26  Dan Williams  <dcbw@redhat.com>
12311
12312         * src/Makefile.am
12313                 - make and install nm-crash-logger
12314
12315         * src/nm-logging.[ch]
12316                 - New files; consolidate logging and crash handling
12317
12318         * src/nm-crash-logger.c
12319           src/gdb-cmd
12320                 - Standalong crashlogger for NM, grab a backtrace
12321                         using GDB
12322
12323         * src/NetworkManager.[ch]
12324                 - Remove signal handling and put it into nm-logging.c
12325
12326 2006-02-26  Dan Williams  <dcbw@redhat.com>
12327
12328         * configure.in
12329           gnome/applet/Makefile.am
12330                 - Conditionalize all the notify stuff
12331
12332         Merge most of Chris Aillon's notification patch:
12333         
12334         * gnome/applet/applet-notifications.[ch]
12335                 - New files; show a notification
12336         
12337         * gnome/applet/applet-dbus-devices.[ch]
12338                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12339                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12340                         new functions, do the right thing when a device change occurs
12341
12342         * gnome/applet/applet-dbus.c
12343                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12344                         signals, so we can handle them specially
12345
12346         * gnome/applet/applet.[ch]
12347                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12348                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12349                 - (nmwa_notify_state): remove
12350                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12351                         notification work is now done when the appropriate dbus signals
12352                         are received.
12353                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12354                         defer execution of the notification/dialog stuff.  That was an
12355                         artifact of the previous multi-threaded nature of the applet
12356                         and is now pointless.
12357                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12358                         no longer needed.  Function folded into applet-notifications.c
12359
12360         * src/NetworkManagerPolicy.c
12361                 - (nm_policy_activation_finish): send the AP along with the device
12362                         status change signal, if the connection is wireless.  Should
12363                         fix the race where applet would show a connection to "unknown"
12364
12365 2006-02-25  Robert Love  <rml@novell.com>
12366
12367         Add WPA Enterprise support:
12368         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12369           nm-gconf-wso-wpa-eap.h.
12370         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12371           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12372           serialization and deserialization.
12373         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12374           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12375           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12376         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12377           settings related to WPA Enterprise.
12378         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12379           instantiate WPA Enterprise wireless-security-option.
12380         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12381           Implement WPA Enterprise wireless-security-option object.
12382         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12383           defines.  Cleanup.
12384         * libnm-util/cipher-wpa-psk-hex.c,
12385           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12386         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12387           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12388           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12389           including the cipher to DBUS method, and
12390           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12391           to output.
12392         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12393           nm-ap-security-wpa-eap.h
12394         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12395           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12396         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12397           files.  Implement NMAPSecurityWPA_EAP object.
12398         * src/nm-ap-security-wpa-psk.c: Cleanup.
12399         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12400           an NMAPSecurityWPA_EAP object via the method
12401           nm_ap_security_wpa_eap_new_deserialize().
12402         * src/nm-dbus-nm.c: Cleanup.
12403         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12404           WPA Enterprise support.
12405
12406 2006-02-24  Robert Love  <rml@novell.com>
12407
12408         Patch from Timo Hoenig <thoenig@suse.de>:
12409         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12410
12411 2006-02-24  Robert Love  <rml@novell.com>
12412
12413         Patch from Dan Winship <danw@novell.com>:
12414         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12415           area to transparent.
12416
12417 2006-02-21  Dan Williams  <dcbw@redhat.com>
12418
12419         * gnome/applet/applet.[ch]
12420           gnome/applet/applet-dbus.c
12421                 - Implement notification support for VPN messages too
12422
12423 2006-02-21  Dan Williams  <dcbw@redhat.com>
12424
12425         * gnome/applet/applet-dbus-info.c
12426                 - Clean up warning messages to not double-print the function
12427
12428 2006-02-21  Dan Williams  <dcbw@redhat.com>
12429
12430         * gnome/applet/applet-compat.c
12431                 - (convert_one_entry): accept entries without a key_type and
12432                         convert them to unencrypted networks
12433
12434 2006-02-21  Dan Williams  <dcbw@redhat.com>
12435
12436         * gnome/libnm_glib/libnm_glib.c
12437                 - Use __func__ everywhere we can
12438                 - Code cleanups
12439                 - Use dbus pending calls rather than blocking
12440                 - Reduce busywaits for our thread to start and stop
12441                         (gnome.org #330562)
12442                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12443                         stomp on others using the default shared dbus connection.
12444                         Fixes #rh177546# and gnome.org #326572
12445
12446 2006-02-21  Dan Williams  <dcbw@redhat.com>
12447
12448         Patch from Rodney Dawes <dobey@novell.com>
12449         * configure.in
12450           gnome/applet/Makefile.am
12451           gnome/applet/applet.c
12452                 - Add libnotify support if '--enable-notify=yes' is passed
12453                   at configure time
12454
12455 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12456
12457         * configure.in (ALL_LINGUAS): ko added. (Korean)
12458
12459 2006-02-15  Robert Love  <rml@novell.com>
12460
12461         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12462           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12463           and WPA_SUPPLICANT_CONTROL_SOCKET.
12464         
12465 2006-02-15  Robert Love  <rml@novell.com>
12466
12467         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12468           information about what connection stage we are at, provide the total
12469           number of stages, e.g. "Stage 2 of 5", so users know how far along
12470           they are if they experience problems.
12471
12472 2006-02-15  Robert Love  <rml@novell.com>
12473
12474         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12475           define to $sysconfdir.
12476         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12477           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12478           type of VPN and then editing another results in a mangled dialog
12479           box containing the widgets from both VPNs (fixes Novell #150854).
12480           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12481
12482 2006-02-14  Robert Love  <rml@novell.com>
12483
12484         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12485           syslog's file descriptor.
12486
12487 2006-02-14  Robert Love  <rml@novell.com>
12488
12489         Fix bug around since the change to "deal with APs changing settings on
12490         us," checked in on the fifth of February in the year of the dog, 
12491         wherein connecting to non-broadcast encrypted networks always fails
12492         because nm_ap_get_encrypted() always returns FALSE, even when the user
12493         provided a key, because the newly-created fake AP does not have any
12494         capabilities set, which is a sypmtom of security settings not matching
12495         capabilities (Novell bug #150784):
12496         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12497           nm_ap_add_capabilities_from_security(), which sets the given AP's
12498           capabilities off the given security settings.  Also improve our
12499           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12500           NM_AUTH_CIPHER_AUTO.
12501         * src/nm-device-802-11-wireless.c: Call the function
12502           nm_ap_add_capabilities_from_security() to ensure that capabilities
12503           match newly updated security settings.
12504
12505 2006-02-14  Robert Love  <rml@novell.com>
12506
12507         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12508           error as a string, not an integer, if possible; do not print the
12509           function name twice; always give the interface, if possible; misc.
12510           cleanup.
12511
12512 2006-02-12  Dan Williams  <dcbw@redhat.com>
12513
12514         Patch from Tom Parker <palfrey@tevp.net>
12515         * src/NetworkManagerSystem.h
12516                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12517                         no longer used
12518
12519         * src/backends/NetworkManagerDebian.c
12520                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12521                         unused variables
12522
12523 2006-02-12  Dan Williams  <dcbw@redhat.com>
12524
12525         * vpn-daemons/openvpn/intltool-extract.in
12526           vpn-daemons/openvpn/intltool-merge.in
12527           vpn-daemons/openvpn/intltool-update.in
12528           vpn-daemons/pptp/intltool-extract.in
12529           vpn-daemons/pptp/intltool-merge.in
12530           vpn-daemons/pptp/intltool-update.in
12531                 - Remove from CVS, they should get created by intltoolize,
12532                         shouldn't they?
12533
12534 2006-02-12  Dan Williams  <dcbw@redhat.com>
12535
12536         * vpn-daemons/pptp/src/pppd/patchlevel.h
12537         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12538                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12539                         Makefile-defined VERSION
12540
12541 2006-02-09  Dan Williams  <dcbw@redhat.com>
12542
12543         Patch from: Vinay A R <rvinay@novell.com>
12544         * src/vpn-manager/nm-vpn-act-request.[ch]
12545                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12546                         IPSec VPNs require them for std gateway.
12547                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12548                         and 'user_routes_count'
12549                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12550                         defined routes  from NMVPNActRequest object, returns the string
12551                         array of routes.
12552
12553         * src/vpn-manager/nm-vpn-manager.[ch]
12554                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12555                         for 'user_routes' and 'user_routes_count'
12556         
12557         * src/vpn-manager/nm-dbus-vpn.c
12558                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12559                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12560         
12561         * src/vpn-manager/nm-vpn-service.c
12562                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12563                         the vpn daemon
12564
12565         Modifications by Dan:
12566         * src/vpn-manager/nm-vpn-service.c
12567                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12568                         arrays into dbus
12569
12570         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12571         * vpn-daemons/pptp/src/nm-pptp-service.c
12572         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12573                 - Grab user routes from dbus message
12574                 - Free all string arrays we got from dbus
12575
12576 2006-02-07  Robert Love  <rml@novell.com>
12577
12578         Patch by Stefan Seyfried <seife@suse.de>:
12579         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12580
12581 2006-02-06  Robert Love  <rml@novell.com>
12582
12583         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12584
12585 2006-02-06  Robert Love  <rml@novell.com>
12586
12587         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12588           test ">=" is never false.  If no newline is found, we loop forever.
12589           We can just check for ">" because the following if() will see the
12590           zero-th argument if the while() gets that far.
12591
12592 2006-02-05  Dan Williams  <dcbw@redhat.com>
12593
12594         Refine handling of non-broadcast networks.
12595
12596         * src/NetworkManagerAPList.c
12597                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12598                         property from scanned AP to the AP from the device list
12599
12600         * src/nm-device-802-11-wireless.c
12601                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12602                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12603                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12604                         networks since those don't have APs.
12605                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12606                         AP as non-SSID-broadcasting
12607                 - (process_scan_results): don't handle non-SSID-broadcasting here
12608
12609 2006-02-05  Dan Williams  <dcbw@redhat.com>
12610
12611         * src/nm-device-802-11-wireless.c
12612                 - (get_supplicant_timeout): new function; return
12613                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12614                         14 channels.  These are likely a/b/g cards, like Atheros, and
12615                         slow as hell to scan.
12616                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12617                         get_supplicant_timeout()
12618
12619 2006-02-05  Dan Williams  <dcbw@redhat.com>
12620
12621         * src/dhcp-manager/nm-dhcp-manager.c
12622                 - Loose a commit race with Robert; make sure size check
12623                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12624
12625 2006-02-05  Robert Love  <rml@novell.com>
12626
12627         Patch by Christoph Brill <chrisbrill@gmx.net>:
12628         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12629           with DHCP_SERVICE_NAME.
12630
12631 2006-02-05  Dan Williams  <dcbw@redhat.com>
12632
12633         Remove anything having to do with device_setup_func from the
12634         AP security objects, since it's no longer used.
12635
12636         * src/nm-ap-security.h
12637                 - Kill device_setup_func and nm_ap_security_device_setup()
12638
12639         * src/nm-ap-security-wep.c
12640           src/nm-ap-security-wpa-psk.c
12641                 - (real_device_setup): remove
12642
12643         * src/nm-ap-security.c
12644                 - (real_device_setup): remove
12645                 - (nm_ap_security_device_setup): remove
12646
12647         * src/nm-device-802-11-wireless.[ch]
12648                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12649                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12650                         and done by wpa_supplicant now anyway
12651
12652 2006-02-05  Dan Williams  <dcbw@redhat.com>
12653
12654         * src/nm-device-802-11-wireless.c
12655                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12656                         settings on us.  Previously NM would loop asking for the
12657                         key but getting the same one back.  Now, if the NMI-supplied
12658                         cipher doesn't overlap with the scanned AP capabilities,
12659                         we request a completely new key from the user.
12660
12661 2006-02-05  Dan Williams  <dcbw@redhat.com>
12662
12663         * src/NetworkManagerUtils.c
12664                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12665                         Handle newline killing better
12666
12667 2006-02-05  Dan Williams  <dcbw@redhat.com>
12668
12669         * gnome/applet/nm-gconf-wso.c
12670                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12671                         of unencrypted access point security info.
12672
12673 2006-02-03  Robert Love  <rml@novell.com>
12674
12675         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12676           user's encryption key, so we print the err_msg_cmd not the command,
12677           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12678           sense.
12679
12680 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12681
12682         * initscript/RedHat/NetworkManagerDispatcher.in:
12683         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12684         Patch from Dan Walsh <dwalsh@redhat.com>
12685
12686 2006-02-03  Robert Love  <rml@novell.com>
12687
12688         * dispatcher-daemon/NetworkManagerDispatcher.c,
12689           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12690           but use the sysconfdir.
12691
12692 2006-02-03  Robert Love  <rml@novell.com>
12693
12694         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12695           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12696           'char *'.
12697         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12698           nm_ip4_config_get_hostname() and
12699           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12700         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12701           leak g_strdup() result.
12702
12703 2006-02-03  Robert Love  <rml@novell.com>
12704
12705         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12706           broadcast == TRUE.  Also, copy broadcast and artificial properties
12707           from source network to destination in nm_ap_copy().
12708         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12709           since we now default new networks to non-hidden.
12710
12711 2006-02-03  Dan Williams  <dcbw@redhat.com>
12712
12713         * gnome/applet/main.c
12714                 - (main): change the NEVER->ALWAYS so we start at the
12715                         beginning of the session, if being session-managed
12716
12717 2006-02-03  Dan Williams  <dcbw@redhat.com>
12718
12719         * gnome/applet/main.c
12720                 - (main): in a variation on Robert's patch, change
12721                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12722                         he wants.
12723
12724 2006-02-02  Robert Love  <rml@novell.com>
12725
12726         * src/Makefile.am: If we aren't going to create the run directory at,
12727           uh, run-time, create it during install.  Then users just doing
12728           'make install' are cool, too.  While we are here, create the
12729           dispatcher.d directory, too.
12730         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12731           the exact run directory.
12732         * Makefile.am: Install nm-applet.desktop.
12733
12734 2006-02-02  Robert Love  <rml@novell.com>
12735
12736         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12737           structure, which denotes whether or not the AP is hidden.  This is a
12738           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12739           can show up in the scan list.  Add nm_ap_get_broadcast() and
12740           nm_ap_set_broadcast() accessor interfaces.
12741         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12742           nm_ap_set_broadcast().
12743         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12744           "getProperties" method, which denotes whether or not the given
12745           network is hidden.
12746         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12747           an artificial network.  Set broadcast to TRUE when scanning returns
12748           an ESSID and FALSE when not.
12749         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12750           from "getProperties" method on a network.  Possible TODO is to
12751           somehow display this.
12752         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12753
12754 2006-02-02  Dan Williams  <dcbw@redhat.com>
12755
12756         * src/nm-device-802-11-wireless.c
12757                 - (supplicant_interface_init): don't try to create
12758                         /var/run/NetworkManager, since that should be done by
12759                         the distro package.  Causes problems for stuff like SELinux
12760
12761 2006-02-02  Robert Love  <rml@novell.com>
12762
12763         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12764         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12765           Check for and handle empty string for iface.
12766
12767 2006-02-01  Robert Love  <rml@novell.com>
12768
12769         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12770           manpage.
12771
12772 2006-01-31  Dan Williams  <dcbw@redhat.com>
12773
12774         * nm-applet.desktop
12775                 - Add --sm-disable to Exec arguments, presuming that when
12776                         using autostart, we don't want session management
12777
12778 2006-01-31  Robert Love  <rml@novell.com>
12779
12780         * src/NetworkManagerAP.c: Add two new manufacturer default network
12781           names: linksys-a and linksys-g.  These are found (at least) on the
12782           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12783           own ESSID.
12784
12785 2006-01-31  Robert Love  <rml@novell.com>
12786
12787         * src/NetworkManagerAP.c: Optimize the function
12788           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12789           machine code.  This is the first in a series of code tweaks aiming to
12790           generate better machine code and make NetworkManager all the better.
12791           Just kidding.  Who has time to go through the assembly generated for
12792           every function?  I certainly don't.  I have a wife, a kid, a job,
12793           a mortgage, a mistress.  But this function was so bad, I was called
12794           to arms.  Like the book.
12795
12796 2006-01-31  Robert Love  <rml@novell.com>
12797
12798         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12799           AP is not broadcasting, to scan with probe request frames.  Required
12800           for non-broadcast networks.
12801
12802 2006-01-31  Robert Love  <rml@novell.com>
12803
12804         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12805           preprocessor define (still 20s).  Fix message text in nm_info()
12806           s/too too/took too/.
12807
12808 2006-01-30  Dan Williams  <dcbw@redhat.com>
12809
12810         * src/nm-device-802-11-wireless.c
12811                 - (supplicant_monitor_start): increase connect/auth timeout to
12812                         20 seconds from 10 seconds
12813
12814 2006-01-30  Dan Williams  <dcbw@redhat.com>
12815
12816         * src/Makefile.am
12817                 - Define LOCALSTATEDIR
12818
12819         * src/nm-device-802-11-wireless.c
12820                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12821                         socket where we want it to
12822
12823         * src/wpa_ctrl.[ch]
12824                 - (wpa_ctrl_open): accept location to put local control socket
12825
12826 2006-01-30  Robert Love  <rml@novell.com>
12827
12828         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12829           get_ip4_string() for "domain_name".
12830
12831 2006-01-30  Robert Love  <rml@novell.com>
12832
12833         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12834           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12835           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12836           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12837           support for "Automatic" pairwise and group cipher configuration by
12838           letting wpa_supplicant handle the details.  Add UI elements, new
12839           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12840           charm.  Note this does more than add a nice feature, it fixes a bug.
12841           Apparently, some people have AP's where the pairwise cipher does not
12842           match the group cipher.  Insane, but true.
12843
12844 2006-01-30  Dan Williams  <dcbw@redhat.com>
12845
12846         * gnome/applet/applet-dbus-devices.c
12847                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12848                         functions, grab device driver name from NetworkManager
12849                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12850
12851         * gnome/applet/applet.c
12852                 - (nmwa_update_info): show driver name in Connection Information
12853                         dialog
12854
12855         * gnome/applet/nm-device.[ch]
12856                 - (network_device_get_driver, network_device_set_driver): add
12857                         accessors for driver name
12858
12859         * gnome/applet/wireless-applet.glade
12860                 - Add line for driver name to Connection Information dialog
12861
12862         * src/nm-dbus-device.c
12863                 - (nm_dbus_device_get_driver): new function to return driver name
12864                 - (nm_dbus_device_methods): hook up driver name function to dbus
12865
12866         * test/nm-tool.c
12867                 - (get_driver_name): new function
12868                 - (detail_device): grab and show driver name
12869
12870 2006-01-30  Robert Love  <rml@novell.com>
12871
12872         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12873           does not parse the markup if it is not part of the format.
12874
12875 2006-01-30  Robert Love  <rml@novell.com>
12876
12877         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12878           FALSE, we have no security options for this dialog, so we throw up
12879           an error dialog instead of a broken passphrase dialog.  Fixes
12880           Novell #138404.
12881         * gnome/applet/wireless-security-manager.c,
12882           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12883           does not add any security options, not even NONE, print a warning
12884           and return FALSE.  This let's functions constructing a dialog bail
12885           out if the device's capabilities and the network's requirements have
12886           zero overlap.
12887
12888 2006-01-27  Robert Love  <rml@novell.com>
12889
12890         * configure.in: Require wpa_supplicant.  Detect location of binary and
12891           use it.  Override with "--with-wpa_supplicant=foo".
12892         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12893           path to wpa_supplicant but use the auto-detected or user-provided
12894           value from configure.
12895
12896 2006-01-27  Robert Love  <rml@novell.com>
12897
12898         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12899           but the DHCP server did not return a hostname, try to look up our
12900           name via DNS and set the system hostname to that.
12901
12902 2006-01-27  Dan Williams  <dcbw@redhat.com>
12903
12904         * src/backends/NetworkManagerRedHat.c
12905                 - Add NM_CONTROLLED system network script support for RH/Fedora
12906
12907 2006-01-27  Dan Williams  <dcbw@redhat.com>
12908
12909         * src/backends/NetworkManagerGentoo.c
12910                 - (nm_system_device_get_disabled): add missing function.
12911                         Gnome BZ #328780
12912
12913 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
12914
12915         * configure.in: Added vi in ALL_LINGUAS line.
12916         
12917 2006-01-26  Robert Love  <rml@novell.com>
12918
12919         * src/Makefile.am, src/kernel-types.h: Now that two different source
12920           files are feeling the crack-addled leakage of kernel types such as
12921           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12922           types in user-space -- define a header and include it as needed.
12923         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12924         * src/nm-device-802-3-ethernet.h: Remove defines.
12925         * src/wpa.c: Remove defines and include kernel-types.h.
12926
12927 2006-01-26  Robert Love  <rml@novell.com>
12928
12929         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
12930           work.
12931
12932 2006-01-26  Robert Love  <rml@novell.com>
12933
12934         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12935         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
12936           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
12937           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
12938           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12939           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
12940           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
12941           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
12942           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
12943           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
12944           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12945           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
12946           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
12947           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
12948           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
12949           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
12950           Kill unused variables, labels, and static functions.  Don't pass
12951           string literals as the format string for printf-like functions.
12952
12953 2006-01-25  Dan Williams  <dcbw@redhat.com>
12954
12955         * gnome/applet/wireless-applet.glade
12956                 - Remove WPA2 Checkbox
12957
12958         * gnome/applet/wireless-security-manager.c
12959                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
12960                         This means the Wireless Security menu now has two WPA options,
12961                         one for "WPA Personal" and one for "WPA2 Personal"
12962
12963         * gnome/applet/wso-wpa-psk.[ch]
12964                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
12965                         'wpa2' argument to determine WPA version to use
12966                 - (append_dbus_params_func): pass stored WPA version to cipher
12967                         rather than using the (removed) checkbox
12968
12969 2006-01-24  Robert Love  <rml@novell.com>
12970
12971         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
12972           before we g_strdup(), not the ultimate string.
12973
12974 2006-01-23  Dan Williams  <dcbw@redhat.com>
12975
12976         * src/NetworkManagerAP.[ch]
12977                 - (nm_ap_new_from_ap): copy original essid too
12978                 - (nm_ap_unref): free original essid
12979                 - (nm_ap_get_orig_essid): new function
12980                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
12981                         but keep original essid around too
12982
12983         * src/nm-device-802-11-wireless.c
12984                 - (supplicant_send_network_config): send wpa_supplicant the
12985                         _original_ essid, and not as a string, but in hex.  Should
12986                         allow us to connect to more APs that use wierd character
12987                         encodings for their essids
12988
12989         * utils/nm-utils.[ch]
12990                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
12991                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
12992                         use the current locale as a hint for what encoding the essid
12993                         might be in.  Obviously not 100% accurate, but the idea here is
12994                         that if a user's locale is ex. ja_JP, they are more likely than
12995                         not to be in Japan, where access points will likely be in some
12996                         Japanese encoding.
12997
12998 2006-01-23  Dan Williams  <dcbw@redhat.com>
12999
13000         * libnm-util/cipher-private.h
13001           libnm-util/cipher.c
13002           libnm-util/cipher.h
13003                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13004
13005 2006-01-23  Robert Love  <rml@novell.com>
13006
13007         Patch by Timo Hoenig <thoenig@suse.de>:
13008         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13009           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13010           by DHCP and pass it to the backends, allowing distribution-specific
13011           behavior with respect to the DHCP-supplied hostname (if nothing else,
13012           some distributions might not want to set the hostname).
13013         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13014           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13015           Also update our NIS behavior.
13016         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13017           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13018           Add stub functions.
13019
13020 2006-01-23  Robert Love  <rml@novell.com>
13021
13022         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13023           gnome-session does autostart.  TODO: We need to install this to
13024           $prefix/share/autostart/.
13025
13026 2006-01-22  Dan Williams  <dcbw@redhat.com>
13027
13028         * src/NetworkManagerAP.[ch]
13029           src/nm-dbus-nmi.c
13030           src/nm-device-802-11-wireless.c         
13031                 - Make nm_ap_get_essid return "const char *"
13032
13033 2006-01-22  Dan Williams  <dcbw@redhat.com>
13034
13035         * src/NetworkManagerAP.[ch]
13036                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13037
13038         * src/NetworkManagerAPList.[ch]
13039                 - (nm_ap_list_diff): removed
13040                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13041                         deal with access points changing essids on us
13042
13043         * src/nm-device-802-11-wireless.c
13044                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13045                         src/NetworkManagerAPList.c
13046                 - (real_can_interrupt_activation): new function; allow interruption
13047                         of device activation if we are waiting for a network key
13048
13049         * src/NetworkManagerPolicy.c
13050                 - (nm_policy_device_change_check): allow interruption of currently
13051                         activating devices if the device allows it.  Previous behavior
13052                         would refuse to activate a just-plugged wired device if a
13053                         wireless device was waiting for a key.
13054
13055         * src/nm-device.[ch]
13056                 - (nm_device_can_interrupt_activation): new function; ask devices
13057                         whether their activation can be interrupted
13058
13059 2006-01-20  Robert Love  <rml@novell.com>
13060
13061         * Makefile.am, configure.in: Add new man subdirectory.
13062         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13063           man/Makefile.am: Add man pages for NetworkManager and its
13064           crime-solving bumbling buddy, NetworkManagerDispatcher.
13065         * man/.cvsignore: Add.
13066         * initscript/Debian/NetworkManager,
13067           initscript/Gentoo/NetworkManager.in,
13068           initscript/RedHat/NetworkManager.in,
13069           initscript/RedHat/NetworkManagerDispatcher.in,
13070           initscript/SUSE/networkmanager-dispatcher.in,
13071           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13072
13073 2006-01-20  Robert Love  <rml@novell.com>
13074
13075         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13076           instead of queuing.  This prevents the running of multiple NM
13077           daemons concurrently, which does not work whatsoever and results in
13078           neither daemon working correctly.  Also, we don't handle queuing and
13079           name-owner-changes, anyhow.
13080
13081 2006-01-20  Robert Love  <rml@novell.com>
13082
13083         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13084         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13085           to sbin, not bin.
13086
13087 2006-01-19  Robert Love  <rml@novell.com>
13088
13089         * configure.in: Require hal 0.5.0 or later.
13090
13091 2006-01-18  Robert Love  <rml@novell.com>
13092
13093         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13094           Allow backends to flag a device (in whatever distro-dependent way
13095           they so desire) as disabled.  NM will ignore any such device.
13096         * src/backends/NetworkManagerDebian.c,
13097           src/backends/NetworkManagerRedHat.c,
13098           src/backends/NetworkManagerSlackware.c: Add stub function
13099           nm_system_device_get_disabled() that always returns FALSE (enabled).
13100         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13101           SUSE-specific configuration structure.  Fill it in from the
13102           NM_CONTROLLED variable in the system networking scripts.  If this var
13103           exists and is "no", we ignore the device.
13104
13105 2006-01-17  Robert Love  <rml@novell.com>
13106
13107         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13108           identical for NM.  For a full discussion, see the thread at
13109           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13110
13111 2006-01-17  Dan Williams  <dcbw@redhat.com>
13112
13113         * src/nm-device.c
13114                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13115                         function.  Fixes crash when wired DHCP fails.
13116
13117 2006-01-16  Robert Love  <rml@novell.com>
13118
13119         * src/Makefile.am: Don't install NMLoadModules
13120         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13121           from src/ to test/ as no one uses it anymore.  Note that I would be
13122           fine with removing it altogether.
13123
13124 2006-01-16  Robert Love  <rml@novell.com>
13125
13126         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13127           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13128           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13129           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13130           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13131           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13132           declarations, ever.
13133         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13134           NM_STATE_DISCONNECTED is zero).
13135
13136 2006-01-16  Robert Love  <rml@novell.com>
13137
13138         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13139           uninitialized parameter and buffer overflow.  Novell #143496.
13140
13141 2006-01-16  Dan Williams  <dcbw@redhat.com>
13142
13143         Apply the PtP Address bits of a patch from Tim Niemueller
13144
13145         * src/nm-ip4-config.[ch]
13146                 - Add ip4_ptp_address member to object
13147                 - (nm_ip4_config_copy): copy ptp address too
13148                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13149                         new functions
13150                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13151                         rather than local tunnel ip address
13152
13153         * src/vpn-manager/nm-vpn-service.c
13154                 - (print_vpn_config): update for PtP address
13155                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13156                         DBusMessageIters in preparation for getting routes from the VPN
13157                         service daemons too
13158
13159         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13160                 - (send_config_info): update for PtP address, clean up code
13161                 - (main): update for PtP address, clean up code, fix typo
13162
13163         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13164                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13165
13166         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13167                 - (pptp_ip_up): update for PtP address
13168
13169         * vpn-daemons/pptp/src/nm-pptp-service.c
13170                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13171
13172         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13173                 - (print_vpn_config): update for PtP address
13174                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13175
13176 2006-01-16  Dan Williams  <dcbw@redhat.com>
13177
13178         * gnome/applet/applet.c
13179                 - (nmwa_add_networks_helper): don't indicate an active network
13180                         if NM is disconnected or asleep
13181
13182 2006-01-16  Dan Williams  <dcbw@redhat.com>
13183
13184         * src/NetworkManagerPolicy.c
13185                 - (nm_policy_device_change_check): switch devices if we lose the link
13186                         on an ethernet device. 
13187
13188 2006-01-16  Dan Williams  <dcbw@redhat.com>
13189
13190         * gnome/applet/wso-wpa-psk-hex.[ch]
13191                 - Renamed -> wso-wpa-psk.[ch]
13192
13193         * gnome/applet/wso-wpa-psk.[ch]
13194                 - New files
13195
13196         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13197                 - Removed, rolled into wso-wpa-psk.[ch]
13198
13199         * gnome/applet/Makefile.am
13200                 - Updated for above changes
13201
13202         * gnome/applet/wireless-applet.glade
13203                 - Consolidate WPA-PSK options into one notebook
13204                         widget, and make dialogs invisible by default
13205                         to fix screen oddities
13206
13207         * gnome/applet/wireless-security-manager.c
13208                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13209                         than both the old hex & passphrase ones
13210
13211 2006-01-16  Dan Williams  <dcbw@redhat.com>
13212
13213         * gnome/applet/other-network-dialog.c
13214                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13215
13216 2006-01-16  Dan Williams  <dcbw@redhat.com>
13217
13218         * gnome/applet/applet.c
13219                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13220                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13221                         prevention to realize window before trying to get server
13222                         time
13223
13224         * gnome/applet/other-network-dialog.c
13225                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13226                         prevention to realize window before trying to get server
13227                         time
13228
13229         * gnome/applet/passphrase-dialog.c
13230                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13231                         prevention to realize window before trying to get server
13232                         time
13233
13234 2006-01-16  Robert Love  <rml@novell.com>
13235
13236         Patch from Timo Hoenig  <thoenig@suse.de:
13237         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13238           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13239           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13240           libnm-util/dbus-helpers.h: add checks whether headers are used
13241           within a C++ build.
13242
13243 2006-01-16  Dan Williams  <dcbw@redhat.com>
13244
13245         * gnome/applet/wireless-security-option.c
13246                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13247
13248 2006-01-16  Dan Williams  <dcbw@redhat.com>
13249
13250         * libnm-util/cipher-wpa-psk-passphrase.c
13251                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13252                         be 8 - 63 characters inclusive
13253
13254 2006-01-16  Dan Williams  <dcbw@redhat.com>
13255
13256         * src/nm-dbus-nm.c
13257                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13258
13259 2006-01-13  Robert Love  <rml@novell.com>
13260
13261         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13262         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13263           modules that do not use an interface.
13264
13265 2006-01-13  Dan Williams  <dcbw@redhat.com>
13266
13267         * src/nm-device.c
13268           src/nm-device.h
13269                 - Allow subclasses to implement deactivate_quickly()
13270                 - (nm_device_deactivate_quickly): call subclass
13271                         deactivate_quickly() methods
13272                 - (nm_device_set_active_link): small cleanups, and don't
13273                         deactivate the device right away because we risk a deadlock
13274                         when called from device thread, waiting for the device
13275                         thread to cancel activation
13276
13277         * src/nm-device-802-11-wireless.c
13278                 - (real_deactivate_quickly): new function
13279                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13280                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13281                         so that we kill the supplicant when we sleep too
13282                 - (supplicant_interface_init): work around naive naming attempts of
13283                         wpa_ctrl when naming sockets
13284
13285 2006-01-13  Dan Williams  <dcbw@redhat.com>
13286
13287         * src/nm-device-802-11-wireless.c
13288                 - (supplicant_cleanup): delete old device control sockets too
13289                 - (supplicant_get_device_socket_path): new function to consolidate
13290                         locations that need a path to a device's control socket
13291
13292 2006-01-12  Robert Love  <rml@novell.com>
13293
13294         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13295           description so that the description is unique for each
13296           pair (device,provider).  Fixes Novell #142773.
13297
13298 2006-01-12  Dan Williams  <dcbw@redhat.com>
13299
13300         * src/nm-device-802-11-wireless.c
13301                 - (supplicant_exec): ensure GError is correctly initialized
13302                         Reported by Diego González (gnome.org #326708)
13303
13304 2006-01-11  Robert Love  <rml@novell.com>
13305
13306         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13307           define if_mii(), open code the same results, and do so without any
13308           type punning.
13309
13310 2006-01-11  Robert Love  <rml@novell.com>
13311
13312         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13313           that wso_foo_new() returned non-NULL.  Instead, only append the new
13314           wso to wsm->options if the wso is non-NULL.  The crux is that we
13315           assume that the relevant key types are implied by WEP and WPA as
13316           appropriate.  To be sure, they should be, but we should not expect
13317           drivers to not be oozing piles of wolf fecal matter.
13318
13319 2006-01-11  Robert Love  <rml@novell.com>
13320
13321         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13322         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13323           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13324           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13325           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13326           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13327           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13328         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13329           comparing values within DBL_EPSILON.  Also fix shadowed variable
13330           usage.
13331
13332 2006-01-11  Dan Williams  <dcbw@redhat.com>
13333
13334         Add options for WPA2 and WPA1+CCMP (AES).
13335
13336         * gnome/applet/wireless-applet.glade
13337                 - Add UI bits for WPA+CCMP
13338
13339         * gnome/applet/other-network-dialog.c
13340                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13341                         and don't allow creation of WPA2 Ad-Hoc networks since
13342                         wpa_supplicant doesn't support them
13343
13344         * gnome/applet/wireless-security-manager.c
13345                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13346                         on to the specific wireless security option being created
13347
13348         * gnome/applet/wireless-security-option.[ch]
13349                 - (wso_wpa_create_key_type_model): new utility function to create
13350                         the model required for WPA Key Type combo box
13351
13352         * gnome/applet/wso-private.h
13353           gnome/applet/wireless-security-option.h
13354                 - Move private function prototypes into wso-private.h
13355
13356         * gnome/applet/wso-wpa-psk-hex.[ch]
13357           gnome/applet/wso-wpa-psk-passphrase.[ch]
13358                 - (append_dbus_params_func): get WPA version from checkbox and pass
13359                         it to the dbus serialization helper
13360                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13361                         key type combo changes
13362                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13363                         model and options
13364
13365         * libnm-util/cipher-wpa-psk-hex.c
13366           libnm-util/cipher-wpa-psk-passphrase.c
13367                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13368                         new function; allow the cipher to be changed after object creation
13369
13370         * src/nm-ap-security-wpa-psk.c
13371                 - (set_description): Do WPA2 descriptions too
13372
13373         * src/nm-ap-security.c
13374                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13375
13376 2006-01-11  Robert Love  <rml@novell.com>
13377
13378         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13379           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13380           from the ifreq structure in lieu of an open coded solution.  Removes
13381           a life-threatening type-punning.
13382         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13383           types, ever, whatsoever, baby.
13384
13385 2006-01-11  Robert Love  <rml@novell.com>
13386
13387         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13388           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13389           assignments to applet->nm_state into a new nmwa_set_state() function
13390           for both cleanliness and to help debugging.
13391
13392 2006-01-10  Robert Love  <rml@novell.com>
13393
13394         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13395           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13396           seconds, exclusive.  That is, we want to sleep x seconds such that
13397           1 < x < 2.
13398
13399 2006-01-10  Robert Love  <rml@novell.com>
13400
13401         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13402           the attr fields according to the example in the email available at
13403           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13404           Conversely, we do have to free 'name', so we do so, fixing a leak.
13405
13406 2006-01-10  Robert Love  <rml@novell.com>
13407
13408         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13409           sure that we close the socket!
13410
13411 2006-01-10  Robert Love  <rml@novell.com>
13412
13413         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13414           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13415           src/nm-device.c: Fix a FIXME!  Reimplement the function
13416           nm_device_update_hw_address() in device subclass variants,
13417           nm_device_802_3_ethernet_set_address() and
13418           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13419           This fixes the existing bug where MAC addresses are all zeros.
13420
13421 2006-01-10  Robert Love  <rml@novell.com>
13422
13423         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13424           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13425           option to give users ability to globally disconnect and put NM to
13426           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13427           clean disconnect.
13428
13429 2006-01-09  Robert Love  <rml@novell.com>
13430
13431         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13432           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13433           User-space does not supply these types, so we have to define them
13434           ourselves.  The relevant kernel maintainer refused to accept a patch
13435           switching these headers to the proper C99 types.
13436
13437 2006-01-09  Dan Williams  <dcbw@redhat.com>
13438
13439         Apply Robert's 'tray icon redo' patch with fixes
13440         * gnome/applet/applet.c
13441           gnome/applet/applet.h
13442                 - Instead of using a menu bar + menu item, simulate menu
13443                         behavior using a popup menu.  Highlight the area around
13444                         the icon more like a menu too, by playing with the
13445                         applet's size requisition
13446
13447 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13448         * libnm-util/dbus-helpers.c
13449           libnm-util/dbus-helpers.h
13450                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13451                         to 'exception_namespace' (:namespace is a keyword in
13452                         C++)
13453
13454 2006-01-09  Dan Williams  <dcbw@redhat.com>
13455
13456         * src/NetworkManagerPolicy.c
13457                 - (nm_policy_device_change_check): don't autoswitch away from
13458                         Ad-Hoc networks, since there's really no concept of
13459                         "link"
13460
13461         * src/nm-dbus-nm.c
13462                 - (nm_dbus_nm_create_wireless_network): mark created networks
13463                         as Ad-Hoc networks
13464
13465         * src/nm-device-802-11-wireless.c
13466                 - (real_activation_success_handler): add user-created Ad-Hoc
13467                         networks to the device's scan list
13468
13469 2006-01-08  Dan Williams  <dcbw@redhat.com>
13470
13471         We now require a patch for wpa_supplicant to support Ad-Hoc
13472         networks:
13473           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13474
13475         * src/nm-device-802-11-wireless.c
13476                 - (supplicant_send_network_config): turn off wpa_supplicant's
13477                         scanning.  Fixes Ad-Hoc networks.
13478
13479 2006-01-08  Dan Williams  <dcbw@redhat.com>
13480
13481         * src/nm-ap-security.c
13482           src/nm-ap-security.h
13483                 - Add a user_created argument to the write_supplicant_config
13484                         functions
13485
13486         * src/nm-ap-security-wep.c
13487           src/nm-ap-security-wpa-psk.c
13488           src/nm-device-802-11-wireless.c
13489                 - Make Ad-Hoc mode somewhat work, at least write the
13490                         correct options to wpa_supplicant
13491
13492 2006-01-08  Dan Williams  <dcbw@redhat.com>
13493
13494         * src/nm-device-802-11-wireless.c
13495                 - Remove unused code from the old device activation path
13496
13497 2006-01-08  Dan Williams  <dcbw@redhat.com>
13498
13499         * libnm-util/dbus-helpers.c
13500                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13501                         dbus when key == NULL
13502
13503 2006-01-08  Dan Williams  <dcbw@redhat.com>
13504
13505         * gnome/applet/nm-gconf-wso-wpa-psk.c
13506                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13507                         correct arguments to nmu_security_deserialize_wpa_psk()
13508
13509         * src/nm-ap-security-wpa-psk.c
13510                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13511                         arguments to nmu_security_deserialize_wpa_psk()
13512
13513 2006-01-08  Dan Williams  <dcbw@redhat.com>
13514
13515         * gnome/applet/wso-wpa-psk-hex.c
13516           gnome/applet/wso-wpa-psk-passphrase.c
13517                 - Hook up the append_dbus_params_func() function
13518
13519 2006-01-08  Dan Williams  <dcbw@redhat.com>
13520
13521         * src/nm-device-802-11-wireless.c
13522                 - (get_wireless_capabilities): correctly detect driver WPA
13523                         capabilities
13524
13525 2006-01-08  Dan Williams  <dcbw@redhat.com>
13526
13527         * gnome/applet/Makefile.am
13528           gnome/applet/wso-wpa-psk-hex.c
13529           gnome/applet/wso-wpa-psk-hex.h
13530                 - New files, implement WPA-PSK Hex key input
13531
13532         * gnome/applet/wireless-applet.glade
13533                 - Change existing wpa-psk stuff to wpa-psk-hex
13534                 - Add new widgets for wpa-psk-passphrase
13535
13536         * gnome/applet/wireless-security-manager.c
13537                 - (wsm_set_capabilities): enable WPA options
13538
13539         * gnome/applet/wso-wpa-psk-passphrase.c
13540                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13541                         for WPA-PSK passphrase
13542
13543 2006-01-08  Dan Williams  <dcbw@redhat.com>
13544
13545         * include/NetworkManager.h
13546                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13547                         applet/info-daemons
13548
13549         * gnome/applet/passphrase-dialog.c
13550                 - Use the constant.  Fixes a bug where the arguments to
13551                         dbus_message_new_error() were incorrect
13552
13553         * src/nm-dbus-nmi.c
13554                 - Use the constant
13555
13556 2006-01-07  Dan Williams  <dcbw@redhat.com>
13557
13558         * src/nm-device-802-11-wireless.c
13559                 - Add a link timeout so we allow the supplicant time to
13560                         reassociate if it can, before we deactivate the card
13561                 - Fix up link status and link updating so things work better
13562
13563 2006-01-07  Dan Williams  <dcbw@redhat.com>
13564
13565         * src/nm-device-802-11-wireless.c
13566                 - Switch over to using wpa_supplicant
13567                 - Add a timeout of 10s for association of the supplicant
13568                 - Start the monitor callback of the supplicant
13569
13570 2006-01-07  Dan Williams  <dcbw@redhat.com>
13571
13572         * src/NetworkManagerUtils.c
13573                 - (nm_utils_supplicant_request,
13574                   nm_utils_supplicant_request_with_check):
13575                         pass correct buffer length to wpa_ctrl_request()
13576
13577 2006-01-07  Dan Williams  <dcbw@redhat.com>
13578
13579         * src/nm-device-private.h
13580           src/nm-device.c
13581                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13582                         this function available to subclasses
13583
13584 2006-01-06  Robert Love  <rml@novell.com>
13585
13586         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13587           user plugging in a network cable signals their preference for to
13588           switch, unless the user explicitly selected a wireless network and
13589           therefore signaled their preference for said wireless network over
13590           wired.  In other words, do exactly what makes sense.
13591
13592 2006-01-06  Robert Love  <rml@novell.com>
13593
13594         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13595           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13596           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13597           showing up in my greps.
13598
13599 2006-01-06  Robert Love  <rml@novell.com>
13600
13601         * gnome/applet/applet-dbus-devices.c,
13602           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13603           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13604           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13605           New Network' both failed in the non-encrypted case because we were
13606           not appending the security options to the DBUS message.  And
13607           'Connect to Other' was also failing in the encrypted case because
13608           we were not incrementing to the next DBUS parameter.  All fixed.
13609           Thanks to dcdw for some debugging help.
13610
13611 2006-01-06  Robert Love  <rml@novell.com>
13612
13613         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13614           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13615           hangup code and add per-device hangup.  Tie last commit into the
13616           GNOME applet.  TODO:  Save, understand, and respond to the state of
13617           each dialup device.
13618
13619 2006-01-06  Robert Love  <rml@novell.com>
13620
13621         Patch by Timo Hoenig <thoenig@suse.de>:
13622         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13623           hangup specific dialup devices.
13624         * src/backends/NetworkManagerDebian.c,
13625           src/backends/NetworkManagerGentoo.c,
13626           src/backends/NetworkManagerRedHat.c,
13627           src/backends/NetworkManagerSlackware.c: Add stub backend.
13628         * src/backends/NetworkManagerRedHat.c,
13629           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13630           hangup specific dialup devices.
13631
13632 2006-01-04  Robert Love  <rml@novell.com>
13633
13634         * gnome/applet/applet-dbus-devices.c,
13635           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13636           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13637           connections.
13638
13639 2006-01-04  Dan Williams  <dcbw@redhat.com>
13640
13641         First dump of wpa_supplicant-related code.  It's not hooked up to
13642         anything yet though.  Thanks to Kay Sievers for
13643         wpa_supplicant_wrapper.c, which formed the basis for this work,
13644         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13645
13646         * src/Makefile.am
13647           src/wpa_ctrl.[ch]
13648                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13649
13650         * src/NetworkManagerUtils.[ch]
13651                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13652                         Add convenience functions for talking to wpa_supplicant
13653
13654         * src/nm-ap-security.[ch]
13655           src/nm-ap-security-wep.c
13656           src/nm-ap-security-wpa-psk.[ch]
13657                 - Update and implement real_write_supplicant_config functions
13658                         in all security types
13659                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13660                         nm-ap-security-wpa-psk.c
13661
13662         * src/nm-device-802-11-wireless.c
13663                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13664                    wpa_supplicant_start, wpa_supplicant_interface_init,
13665                    wpa_supplicant_send_network_config): add functions to talk to
13666                         wpa_supplicant and write network config to it
13667
13668 2006-01-04  Robert Love  <rml@novell.com>
13669
13670         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13671           values so that distribution-backends can differentiate between the
13672           various types (modem, ISDN, et cetera) of dialup device that they
13673           support.
13674         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13675           needed.
13676
13677 2006-01-03  Dan Williams  <dcbw@redhat.com>
13678
13679         * src/NetworkManagerPolicy.c
13680           src/nm-device.[ch]
13681           src/nm-device-802-11-wireless.c
13682                 - Move wireless-specific activation failure and success code
13683                         into wireless device class
13684
13685 2006-01-03  Robert Love  <rml@novell.com>
13686
13687         Patch by Preggna S:
13688         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13689           IPsec does not require that a VPN client be bound to an interface,
13690           due to the use of the in-kernel IPSec bits.  So make the tunnel
13691           device optional.
13692
13693 2006-01-03  Dan Williams  <dcbw@redhat.com>
13694
13695         * src/NetworkManagerAP.c
13696                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13697                         the WPA IE specifies that WEP is supported
13698
13699         * src/nm-device-802-11-wireless.c
13700                 - (process_scan_results): don't mark an AP as supporting WEP
13701                         if there's already other encryption capability info
13702
13703 2006-01-03  Dan Williams  <dcbw@redhat.com>
13704
13705         * src/dhcp-manager/nm-dhcp-manager.c
13706                 - Recognize activation cancellation when waiting for DHCP
13707                         configuration from dhcdbd
13708                 - Ignore non-dhcdbd messages
13709
13710         * src/nm-device.c
13711                 - (real_act_stage3_ip_config_start): return to correct behavior
13712                         of letting the dhcp-manager notify us of failure or
13713                         success rather than incorrectly doing that ourselves
13714                 - (nm_device_activate_stage4_ip_config_get): deal with
13715                         activation cancellation a bit earlier
13716
13717 2006-01-03  Dan Williams  <dcbw@redhat.com>
13718
13719         * src/nm-device-802-11-wireless.c
13720           src/nm-device.[ch]
13721                 - Add hooks to subclasses for stage3_ip_config_start and
13722                         stage4_ip_config_timeout
13723
13724         * src/nm-device-802-3-ethernet.c
13725                 - (real_get_generic_capabilities): make devices NM-supported
13726                         by default
13727
13728 2006-01-03  Robert Love  <rml@novell.com>
13729
13730         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13731           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13732           latter cannot differentiate between error and the address -1; misc.
13733           clean up.
13734
13735 2006-01-03  Dan Williams  <dcbw@redhat.com>
13736
13737         * src/NetworkManager.c
13738                 - Move link-checking/probing into the device subclasses
13739                         themselves
13740
13741         * src/nm-device.[ch]
13742           src/nm-device-802-11-wireless.c
13743           src/nm-device-802-3-ethernet.c
13744                 - Do periodic link checking in device subclasses rather
13745                         than being triggered from NetworkManager.c
13746                 - discover_wireless_capabilities -> get_wireless_capabilities
13747                 - discover_generic_capabilities -> get_generic_capabilities
13748                 - Device subclass activation routines now return a value of type
13749                         NMActStageReturn to indicate what step to perform next
13750                 - Devices now override stage4_get_ip4_config if they choose
13751
13752 2006-01-01  Dan Williams  <dcbw@redhat.com>
13753
13754         * src/nm-device-802-11-wireless.c
13755                 - (real_init): don't chain up to parent init because we don't
13756                         need to do that anymore
13757
13758         * src/nm-device.c
13759                 - (discover_device_type): fix arguments to ioctl() to correctly
13760                         pass interface name
13761                 - (nm_device_new): consolidate generic device initialization into
13762                         nm_device_new()
13763                 - (real_init): remove, consolidated to nm_device_new()
13764                 - (nm_device_deactivate, real_deactivate): consolidate
13765
13766 2006-01-01  Dan Williams  <dcbw@redhat.com>
13767
13768         * src/nm-activation-request.c
13769                 - Change dhcp_state member of the NMActRequest structure
13770                         from guint8 to guint32
13771
13772         * src/dhcp-manager/nm-dhcp-manager.[ch]
13773                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13774                         than guint8 to match the dbus argument.  Turns out we were
13775                         overwriting memory since we were passing in only a guint8
13776
13777 2005-12-31  Dan Williams  <dcbw@redhat.com>
13778
13779         * refactor NMDevice into a GObject-based framework with separate
13780                 objects for wired and wireless.  The following files are no
13781                 longer used but should stick around for a bit so we don't
13782                 loose code through the cracks:
13783                         NetworkManagerDevice.c
13784                         NetworkManagerDevice.h
13785                         NetworkManagerWireless.c
13786                         NetworkManagerWireless.h
13787
13788         The intent here is to allow each device type to manage its own
13789         connection & activation life-cycle, ie to allow wireless devices
13790         to interface with wpa_supplicant, etc.  There's a fair bit of
13791         encapsulation breakage right now that should gradually get pulled
13792         back into each device, along with things like periodic property
13793         updates and link probing.
13794
13795 2005-12-29  Dan Williams  <dcbw@redhat.com>
13796
13797         * include/NetworkManager.h
13798                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13799                         between networks that don't have any encryption at all
13800
13801 2005-12-29  Dan Williams  <dcbw@redhat.com>
13802
13803         * test/test-common.c
13804           test/test-common.h
13805           test/Makefile.am
13806                 - Move to a test-common subdirectory
13807
13808         * test/libnm-util/test-ciphers.c
13809                 - Move test data to test-inputs.h
13810                 - Test WPA ciphers too
13811
13812         * test/libnm-util/test-dbus-helpers.c
13813                 - Test serialization/deserialization of ciphers
13814
13815 2005-12-29  Dan Williams  <dcbw@redhat.com>
13816
13817         * gnome/applet/applet-dbus-devices.c
13818                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13819                         in dbus calls to NM
13820                 - Set capabilities on WirelessNetwork objects
13821                 - Receive and save type-specific device capabilities too
13822
13823         * gnome/applet/applet-dbus-info.c
13824           gnome/applet/applet-dbus.c
13825                 - Passphrase dialog no longer a singleton; new instance gets created
13826                         on each request.  Updates to deal with that.
13827
13828         * gnome/applet/applet.c
13829                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13830                         than single 'encrypted' flag
13831                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13832                         menu items
13833                 - Passphrase dialog updates per above
13834
13835         * gnome/applet/menu-items.c
13836                 - (network_menu_item_update): use AP capabilities to determine
13837                         encryption
13838
13839         * gnome/applet/nm-device.[ch]
13840                 - Add accessors for type-specific device capabilities
13841
13842         * gnome/applet/other-network-dialog.c
13843                 - Rework to respect device capabilities.  i.e., if the device doesn't
13844                         support WPA, remove that option from the security dropdown
13845
13846         * gnome/applet/passphrase-dialog.c
13847                 - Massive rework so that a new instance is created each time
13848                         it's used, to support wireless network capabilities
13849
13850         * gnome/applet/wireless-network.[ch]
13851                 - Add accessors and members for wireless network capabilities
13852
13853         * gnome/applet/wireless-security-manager.[ch]
13854                 - (wsm_set_capabilities): called after creation to set which
13855                         security options get shown to the user
13856
13857 2005-12-29  Dan Williams  <dcbw@redhat.com>
13858
13859         * libnm-util/cipher-wpa-psk-passphrase.c
13860                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13861                         like other ciphers
13862
13863 2005-12-23  Dan Williams  <dcbw@redhat.com>
13864
13865         * gnome/applet/applet-dbus-info.c
13866                 - (nmi_dbus_get_key_for_network): if there's no entry in
13867                         GConf for a network, assume we want a new key
13868                 - (nmi_save_network_info): serialize wireless security info
13869                         into GConf so its saved
13870
13871         * src/nm-dbus-nm.c
13872                 - Fix warning as we may not be passed security info when
13873                         connecting to a wireless network
13874
13875 2005-12-23  Dan Williams  <dcbw@redhat.com>
13876
13877         * gnome/applet/applet-compat.c
13878                 - Fix bugs in GConf entry conversion
13879
13880         * gnome/applet/applet-dbus-info.c
13881                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13882                         list being zero-length
13883
13884         * libnm-util/cipher-*
13885           libnm-util/dbus-helpers.c
13886                 - All ciphers must now return hashed keys as UTF-8 valid
13887                         hexadecimal strings, ie "8f3dae4023".  They are pushed
13888                         through dbus as strings too.
13889                 - Consolidate various functions that do bin->hex and hex->bin
13890                         conversion into cipher.c
13891
13892         * src/nm-ap-security-wep.c
13893           src/nm-ap-security-wpa-psk.c
13894                 - Handle NULL keys since we may not know keys right away
13895
13896         * src/nm-dbus-nmi.c
13897                 - (nm_dbus_get_network_data_cb): actually advance to the start
13898                         of the wireless security info before we try to deserialize it
13899
13900         * libnm-util/test-ciphers.c
13901                 - Update cipher tests for the change to UTF-8 hexadecimal strings
13902
13903 2005-12-22  Dan Williams  <dcbw@redhat.com>
13904
13905         * gnome/applet/applet-compat.[ch]
13906                 - Convert old-format GConf and keyring entries
13907                         when the applet starts up.
13908
13909         * gnome/applet/applet.c
13910                 - (nmwa_get_instance): Call the conversion function
13911                         on startup before dbus is initialized
13912
13913 2005-12-22  Dan Williams  <dcbw@redhat.com>
13914
13915         * gnome/applet/applet-dbus-info.c
13916                 - Remove nmi_dbus_create_error_message() in favor of
13917                         nmu_create_dbus_error_message()
13918                 - (nmi_dbus_get_network_properties): Error message cleanups
13919                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13920                         gconf key rather than 'addresses', since they really are BSSIDs
13921                 - (nmi_dbus_get_network_properties): Dispose of the security
13922                         object when we're done with it
13923
13924 2005-12-21  Dan Williams  <dcbw@redhat.com>
13925
13926         * Consolidate the info-daemon's "updateNetworkInfo" and
13927                 "addNetworkAddress" calls into just "updateNetworkInfo"
13928
13929 2005-12-21  Dan Williams  <dcbw@redhat.com>
13930
13931         * Make connection after key retrieval work again
13932
13933 2005-12-21  Dan Williams  <dcbw@redhat.com>
13934
13935         * gnome/applet/nm-gconf-wso*
13936                 - Make the serialize functions return gboolean
13937                         rather than int
13938
13939         * gnome/applet/nm-gconf-wso.c
13940                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
13941                         parent class handling so we don't segfault
13942
13943         * src/NetworkManagerAP.[ch]
13944                 - (nm_ap_get_capabilities): new function, return capabilities
13945                         now that something can use them
13946                 - (nm_ap_set_encrypted): assume that an access point supports
13947                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
13948                         we even tell whether it just supports WEP40?
13949
13950         * src/NetworkManagerDevice.c
13951                 - (ap_need_key): resurrect and update for the New World Order
13952                 - (nm_device_wireless_get_activation_ap): if we're not given
13953                         security info to use, create some based on access point
13954                         capabilities
13955
13956         * src/nm-ap-security-wep.c
13957                 - (nm_ap_security_wep_new_from_ap): create a new object
13958                         based on a certain access point's capabilities
13959
13960         * src/nm-ap-security.c
13961                 - (nm_ap_security_new_from_ap): delegate creation of a new
13962                         object based on access point capabilities to a subclass
13963                 - (nm_ap_security_copy_properties): don't segfault if we
13964                         don't have a key yet
13965
13966         * src/nm-dbus-nm.c
13967                 - (nm_dbus_nm_set_active_device): provide more informative
13968                         output when errors occur.  Also construct security info
13969                         for a given access point if we weren't given any
13970
13971 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
13972
13973         * configure.in: Added Lithuanian to ALL_LINGUAS.
13974
13975 2005-12-21  Dan Williams  <dcbw@redhat.com>
13976
13977         * test/libnm-util
13978                 - Add some testcases for WEP ciphers
13979
13980 2005-12-17  Dan Williams  <dcbw@redhat.com>
13981
13982         * Fix bugs
13983
13984 2005-12-17  Dan Williams  <dcbw@redhat.com>
13985
13986         * include/NetworkManager.h
13987                 - Finally kill NMEncKeyType
13988
13989         * gnome/applet/applet-dbus-info.c
13990                 - (nmi_save_network_info): convert to NMGConfWSO
13991
13992         * gnome/applet/nm-gconf-wso-*.c
13993                 - Implement gconf serialization functions
13994
13995         * src/NetworkManagerPolicy.c
13996                 - (nm_policy_activation_finish): fix up meaning of
13997                         automatic/user_requested
13998
13999 2005-12-17  Dan Williams  <dcbw@redhat.com>
14000
14001         * gnome/applet/*
14002                 - More applet cleanups
14003                 - Use the dbus-method-dispatcher
14004
14005         * libnm-util/dbus-method-dispatcher.[ch]
14006                 - Generalize the implementation from NM in
14007                         NetworkManagerUtils.c
14008
14009 2005-12-16  Dan Williams  <dcbw@redhat.com>
14010
14011         * gnome/applet/*
14012                 - Fix up the passphrase dialog to use all the
14013                         WirelessSecurityOption stuff (untested)
14014
14015 2005-12-16  Dan Williams  <dcbw@redhat.com>
14016
14017         * Move nm_gconf_get_*_helper() functions to separate files,
14018                 gconf-helpers.c & gconf-helpers.h
14019
14020         * New NMGConfWSO objects for managing the gconf side of things.
14021                 Eventually these should be merged with the
14022                 WirelessSecurityOption objects and a common base (that can
14023                 serialize/deserialize from dbus & gconf) should be
14024                 refactored out, but for now they are separate.
14025
14026 2005-12-16  Robert Love  <rml@novell.com>
14027
14028         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14029           binaries unless they exist (nm_spawn_process() emits a warning if
14030           asked to spawn a non-existant process).
14031
14032 2005-12-16  Dan Williams  <dcbw@redhat.com>
14033
14034         * gnome/applet/applet-dbus-info.c
14035                 - Clean up lots of gconf-related code
14036
14037 2005-12-16  Robert Love  <rml@novell.com>
14038
14039         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14040
14041 2005-12-16  Dan Williams  <dcbw@redhat.com>
14042
14043         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14044
14045         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14046                 bits still to be done)
14047
14048 2005-12-16  Dan Williams  <dcbw@redhat.com>
14049
14050         * Finally move info-daemon related stuff out of
14051                 NetworkManagerDbus.c to nm-dbus-nmi.c
14052
14053 2005-12-16  Dan Williams  <dcbw@redhat.com>
14054
14055         * Kill auth_method for access points, since that's now done
14056                 by NMAPSecurity objects
14057
14058         * Add a copy-constructor of sorts to NMAPSecurity
14059                 (how do you do this properly in glib???)
14060
14061 2005-12-15  Dan Williams  <dcbw@redhat.com>
14062
14063         * Exorcise encryption key hashing on APs
14064         * Use libnm-util's serialization/deserialization in both the
14065                 applet and NM
14066         * Random other stuff
14067
14068 2005-12-15  Robert Love  <rml@novell.com>
14069
14070         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14071           is being added to the icon naming spec, so let's use that (Tango CVS
14072           has the icon).  Because it is new, however, we fall back to the
14073           current "gnome-lockscreen" if the new icon is not around, thus
14074           behavior is the same.
14075         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14076           factory junk.
14077
14078 2005-12-15  Robert Love  <rml@novell.com>
14079
14080         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14081           well, help to give.  Couple other misc. bits.
14082
14083 2005-12-15  Dan Williams  <dcbw@redhat.com>
14084
14085         * libnm-util/dbus-helpers.[ch]
14086                 - Make this the one-stop-shop for serializing/deserializing
14087                         AP & connection security settings over dbus.  Both NM
14088                         and applets should use this to ensure consistent dbus
14089                         API going forwared.
14090
14091 2005-12-15  Robert Love  <rml@novell.com>
14092
14093         Patch by Timo Hoenig  <thoenig@suse.de>:
14094         * src/NetworkManagerDbus.c
14095                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14096                         if HAL jumps off the system bus.  Otherwise libdbus
14097                         (dbus_connection_dispatch) will try to run the filter
14098                         function of our libhal context which is already freed.
14099
14100 2005-12-15  Alexander Shopov  <ash@contact.bg>
14101
14102         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14103
14104 2005-12-14  Dan Williams  <dcbw@redhat.com>
14105
14106         * include/NetworkManager.h
14107           src/NetworkManagerWireless.c
14108                 - Rearrange 802.11 wireless-specific capabilities again
14109
14110         * src/Makefile.am
14111                 - Forgot to add wpa.c/wpa.h to the makefiles
14112
14113         * src/NetworkManagerAP.[ch]
14114                 - Implement access point capabilities and parse the
14115                         WPA/RSN IEs into the capability bitfield
14116                 - Switch the "encrypted" attribute to utilize the bitfield
14117                         and capabilities rather than being independent
14118
14119         * src/NetworkManagerDevice.c
14120                 - (nm_device_wireless_get_activation_ap): break it horribly
14121                         until we can push NMAPSecurity objects into access point
14122                         objects and through the activation chain
14123                 - Stuff WPA & RSN IEs into AP capabilities
14124
14125         * src/nm-dbus-nm.c
14126                 - Take a shot at actually making setActiveDevice work
14127
14128         * src/wpa.[ch]
14129                 - Make the API a bit saner
14130
14131 2005-12-14  Dan Williams  <dcbw@redhat.com>
14132
14133         * include/NetworkManager.h
14134                 - Add 802.11-specific capability for 802.1x key
14135                         management
14136
14137         * src/wpa.[ch]
14138                 - Pull in WPA IE and RSN IE parsing code from
14139                         wpa_supplicant so we can determine access point
14140                         capabilities
14141                 - Move WPA-related constants here from NetworkManagerAP.h
14142                         and NetworkManagerDevice.c
14143
14144         * src/NetworkManagerDevice.c
14145           src/NetworkManagerAP.[ch]
14146                 - Use WPA-related constants from wpa.h
14147
14148 2005-12-14  Dan Williams  <dcbw@redhat.com>
14149
14150         * include/NetworkManager.h
14151                 - Update and split 802.11 wireless-specific capabilities from
14152                         generic device capabilities
14153
14154         * src/NetworkManagerDevice.c
14155           src/NetworkManagerDevicePrivate.h
14156                 - (nm_device_wireless_discover_capabilities): Move 802.11
14157                         wireless-specific capability checks to
14158                         NetworkManagerWireless.c
14159                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14160                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14161
14162         * src/NetworkManagerWireless.[ch]
14163                 - (nm_802_11_wireless_discover_capabilities): Check extended
14164                         802.11 wireless-specific capabilities of the driver
14165
14166 2005-12-14  Robert Love  <rml@novell.com>
14167
14168         Patch from Stefan Scheler <sscheler@suse.de>:
14169         * src/NetworkManagerDevice.c: call backend code to activate and
14170           deactivate NIS.
14171         * src/NetworkManagerSystem.h: add new NIS interfaces.
14172         * src/backends/NetworkManagerDebian.c,
14173           src/backends/NetworkManagerGentoo.c,
14174           src/backends/NetworkManagerRedHat.c,
14175           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14176           support.
14177         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14178
14179 2005-12-14  Dan Williams  <dcbw@redhat.com>
14180
14181         * src/nm-ap-security*.[ch]
14182                 - Add AP security abstractions to NetworkManager
14183
14184         * src/nm-dbus-device.c
14185                 - Begin to parse new format dbus messages from the applet
14186                         and construct an AP security object from the message
14187
14188         * libnm-util/dbus-helpers.c
14189                 - Use message iters so we can append the key as a fixed
14190                         array of bytes, which actually works rather than
14191                         using dbus_message_append_args() as we were before
14192
14193 2005-12-14  Dan Williams  <dcbw@redhat.com>
14194
14195         * src/NetworkManagerDbus.c
14196           gnome/applet/applet-dbus.c
14197                 - Fix up dbus service replacement options.  The applet
14198                         should allow replacement, NM itself should not.
14199
14200 2005-12-13  Robert Love  <rml@novell.com>
14201
14202         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14203           Instead, fail silently if config is NULL by not asserting and not
14204           returning FALSE.  Also, make sure we always fclose() the file.
14205
14206 2005-12-13  Robert Love  <rml@novell.com>
14207
14208         Patch by Stefan Scheler <sscheler@suse.de>:
14209         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14210            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14211            via DHCP.  Still need the backends to commit the NIS domain name and
14212            and servers to yp.conf as needed.
14213
14214 2005-12-13  Robert Love  <rml@novell.com>
14215
14216         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14217           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14218
14219 2005-12-13  Robert Love  <rml@novell.com>
14220
14221         * src/named-manager/nm-named-manager.c: Don't unref the config until
14222           after we call rewrite_resolv_conf(), because get_last_default_domain()
14223           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14224           `config != NULL' failed" assertion failures and "Could not commit DNS
14225           changes" warnings.
14226
14227 2005-12-12  Dan Williams  <dcbw@redhat.com>
14228
14229         * libnm-util/dbus-helpers.[ch]
14230           libnm-util/Makefile.am
14231                 - new helper calls to consolidate locations where
14232                         NM's setDevice method is called
14233
14234         * gnome/applet/applet-dbus-devices.c
14235           gnome/applet/wireless-security-option.c
14236           gnome/applet/wso-*
14237                 - Implement dbus message param append function for
14238                         all wireless security options
14239
14240 2005-12-12  Robert Love  <rml@novell.com>
14241
14242         * libnm-util/cipher-wep-passphrase.c,
14243           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14244           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14245           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14246           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14247           When handling keys, we don't care what the sign is.  The compiler
14248           guarantees us that we get our 8-bits, which is all we care about.
14249         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14250
14251 2005-12-12  Dan Williams  <dcbw@redhat.com>
14252
14253         * gnome/applet/applet-dbus-devices.[ch]
14254           gnome/applet/applet.c
14255           gnome/applet/other-network-dialog.c
14256           gnome/applet/wireless-security-manager.[ch]
14257           gnome/applet/wireless-security-option.[ch]
14258           gnome/applet/wso-*
14259                 - Push the wireless security options further into the applet
14260
14261 2005-12-12  Robert Love  <rml@novell.com>
14262
14263         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14264           return any name servers.  That is perfectly valid.  (Novell #134369).
14265
14266 2005-12-11  Dan Williams  <dcbw@redhat.com>
14267
14268         * gnome/applet/wso-*
14269           gnome/applet/wireless-security-option.*
14270           gnome/applet/Makefile.am
14271                 - split each security option out so we can eventually
14272                         have each one build up their own dbus message
14273                         arguments to send to NM
14274
14275 2005-12-11  Dan Williams  <dcbw@redhat.com>
14276
14277         * Make validation of the key work correctly
14278
14279 2005-12-11  Dan Williams  <dcbw@redhat.com>
14280
14281         * Hook more bits of the Other Network Dialog up to the
14282                 wireless security manager stuff, and restructure
14283                 bits of the dialog so there's less code.
14284
14285 2005-12-10  Dan Williams  <dcbw@redhat.com>
14286
14287         * gnome/applet/Makefile.am
14288                 - Add libnm-util to includes
14289                 - Add libnm-util to link list
14290                 - Add wireless-security-common.* to compile list
14291
14292         * gnome/applet/other-network-dialog.c
14293                 - Convert to using the WirelessSecurityManager code and
14294                         widgets
14295
14296         * gnome/applet/passphrase-dialog.c
14297                 - Comment out references to stuff in the glade file that
14298                         cause runtime errors until it can be fixed up
14299                         to use the WirelessSecurityManager code
14300
14301         * gnome/applet/wireless-applet.glade
14302                 - Rename some widgets
14303                 - Add widgets for the WirelessSecurityManager code
14304                 - Remove passphrase-related stuff since that's now
14305                         handled by the WirelessSecurityManager code
14306
14307 2005-12-10  Dan Williams  <dcbw@redhat.com>
14308
14309         * gnome/applet/applet-dbus-devices.c
14310                 - Print out error message details for dbus pending call callbacks
14311                 - Move nmwa_dbus_update_devices() up
14312
14313         * gnome/applet/applet-dbus-vpn.c
14314                 - Print out error message details for dbus pending call callbacks
14315
14316 2005-12-10  Dan Williams  <dcbw@redhat.com>
14317
14318         * libnm-util/*
14319                 - More fixups
14320                 - Remove cipher-manager.* because we don't need it
14321                 - Forgot to add gnome-keyring-md5 files to compile list
14322
14323 2005-12-09  Dan Williams  <dcbw@redhat.com>
14324
14325         * libnm-util/*
14326           configure.in
14327           Makefile.am
14328                 - Add a utility library for clients of NetworkManager.  It's
14329                         only targetted at applets for the moment, and contains
14330                         a generalized 802.11 cipher framework for different
14331                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14332
14333 2005-12-09  Robert Love  <rml@novell.com>
14334
14335         * src/NetworkManagerDevice.c: handle error better in
14336           nm_device_set_mode().
14337
14338 2005-12-08  Robert Love  <rml@novell.com>
14339
14340         * include/NetworkManager.h: add WPA capabilities constants
14341         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14342           or WPA2 and add the capabilities bits as appropriate.
14343
14344 2005-12-08  Robert Love  <rml@novell.com>
14345
14346         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14347           NetworkManagerDispatcher.
14348         * configure.in, initscript/SUSE/.cvsignore,
14349           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14350           initscript.
14351
14352 2005-12-08  Robert Love  <rml@novell.com>
14353
14354         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14355
14356 2005-12-08  Robert Love  <rml@novell.com>
14357
14358         * src/NetworkManagerDevice.c: We want to fall back on and default to
14359           IW_MODE_AUTO, not -1, which is more in line with our previous
14360           behavior.  Otherwise, we try to set the wireless mode to -1 in
14361           nm_device_set_mode().
14362
14363 2005-12-07  Robert Love  <rml@novell.com>
14364
14365         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14366           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14367           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14368           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14369           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14370           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14371           zero.
14372
14373 2005-12-07  Robert Love  <rml@novell.com>
14374
14375         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14376           supplied IP is invalid, fall back to DHCP.
14377
14378 2005-12-07  Dan Williams  <dcbw@redhat.com>
14379
14380         * Convert NETWORK_MODE_* constants to IW_MODE_*
14381         * Make all the get_mode/set_mode functions take and return 'int'
14382         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14383
14384 2005-12-07  Robert Love  <rml@novell.com>
14385
14386         * src/NetworkManagerDevice.c: strncpy() buffer check.
14387         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14388
14389 2005-12-06  Dan Williams  <dcbw@redhat.com>
14390
14391         * gnome/applet/applet-dbus.c
14392                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14393
14394         * gnome/applet/applet-dbus-vpn.c
14395                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14396                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14397                         to TRUE here if stage was ACTIVATED
14398
14399 2005-12-06  Dan Williams  <dcbw@redhat.com>
14400
14401         * Change nm_device_is_* functions to better names:
14402                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14403                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14404
14405 2005-12-06  Dan Williams  <dcbw@redhat.com>
14406
14407         * Change naming of NMDeviceType to something more sensible:
14408                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14409                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14410                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14411
14412 2005-12-06  Dan Williams  <dcbw@redhat.com>
14413
14414         * Move NetworkManager.h -> include/NetworkManager.h
14415         * Split out VPN stuff into include/NetworkManagerVPN.h
14416         * Fix up makefiles to include new location
14417         * Fix up sources to include NetworkManagerVPN.h
14418
14419 2005-12-06  Dan Williams  <dcbw@redhat.com>
14420
14421         Various changes in the applet to move VPN connection "state" -> "stage",
14422         which it actually is.  I'd like to change the signal as well when we
14423         break compat in the near future.
14424
14425 2005-12-06  Dan Williams  <dcbw@redhat.com>
14426
14427         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14428         * initscript/Slackware/rc.networkmanager
14429                 - Cosmetic fix
14430
14431         * src/backends/NetworkManagerSlackware.c
14432                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14433                         interfaces
14434
14435 2005-12-05  Robert Love  <rml@novell.com>
14436
14437         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14438           to free, particularly here as it just barfs.
14439
14440 2005-12-05  Dan Williams  <dcbw@redhat.com>
14441
14442         * gnome/applet/applet-dbus.c
14443                 - Work with dbus 0.6 too
14444
14445 2005-12-03  Dan Williams  <dcbw@redhat.com>
14446
14447         * src/NetworkManagerUtils.[ch]
14448           src/nm-ip4-config.c
14449                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14450                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14451
14452 2005-12-01  Robert Love  <rml@novell.com>
14453
14454         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14455           need a NULL for the '...' parameter, too, to fill the so-called
14456           sentinel.
14457
14458 2005-12-01  Robert Love  <rml@novell.com>
14459
14460         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14461           interface is already gone, so don't call rtnl_link_change() to down
14462           it (which will segfault, anyhow).
14463
14464 2005-11-22  Robert Love  <rml@novell.com>
14465
14466         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14467           gateway is not set, just print a little note.  Configurations without
14468           gateways are valid.
14469
14470 2005-11-22  Robert Love  <rml@novell.com>
14471
14472         * README: update
14473
14474 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14475
14476         * configure.in: Added Finnish translation to ALL_LINGUAS
14477
14478 2005-11-14  Robert Love  <rml@novell.com>
14479
14480         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14481           Niemueller <tim@niemueller.de>.
14482
14483 2005-11-08  Dan Williams  <dcbw@redhat.com>
14484
14485         Patch from Bill Moss <bmoss@clemson.edu>
14486         * src/NetworkManagerDevice.c
14487                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14488                         of nm_policy_schedule_activation_finish() to prevent a
14489                         race condition that causes the link to be dropped
14490
14491 2005-11-08  Dan Williams  <dcbw@redhat.com>
14492
14493         Patch from Bill Moss <bmoss@clemson.edu>
14494         * src/NetworkManagerAPList.c
14495           src/NetworkManagerDevice.c
14496           src/NetworkManagerDbus.c
14497                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14498                         we get more readable ether/mac addresses
14499
14500 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14501
14502         * gnome/applet/main.c: Don't set the restart command.  This fixes
14503         the issue where the restart command was getting copies of all its
14504         arguments for each time the applet was restarted.
14505
14506 2005-11-02  Robert Love  <rml@novell.com>
14507
14508         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14509           if the widget state differs from our saved state.  This ensures we
14510           do not enter an endless loop of death and destruction.  Also, this
14511           guarantees us that we enforce the widget state.
14512
14513 2005-11-02  Robert Love  <rml@novell.com>
14514
14515         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14516         * gnome/applet/applet-dbus-devices.c: invoke the new function
14517           nmwa_enable_wireless_set_active() to ensure that the state of the
14518           'Enable Wireless' checkbox matches the daemon's state.  This is a
14519           concern because the daemon remembers the state.
14520
14521 2005-11-02  Robert Love  <rml@novell.com>
14522
14523         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14524           Enabled", as checkboxes should be actions/commands not positive
14525           statements, otherwise they are confusing in the unselected case.  See
14526           examples in GNOME HIG, Chapter 6.
14527
14528 2005-11-02  Robert Love  <rml@novell.com>
14529
14530         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14531           show a list of wireless networks or the wireless devices or the
14532           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14533           a bad bug: If wireless is disabled and the user picks a wireless
14534           network, NM will switch to the network, only to immediately switch
14535           back, as wireless is disabled.  This also reassures people that NM
14536           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14537
14538 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14539
14540         * gnome/applet/applet.c:
14541         * gnome/applet/applet.h:
14542         Partial backout of Dan's timeout animation patch.
14543         Timeout IDs cannot legally be 0, so revert the code in place to handle
14544         a timeout ID of 0 to denote the timeout isn't running.
14545
14546 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14547
14548         * src/NetworkManagerPolicy.c:
14549         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14550
14551 2005-10-28  Robert Love  <rml@novell.com>
14552
14553         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14554           "Import Saved Configuration..." to make it clear that importing is
14555           not the next step, but an option.  As an aside, a nice TODO would be
14556           to move Importing out of the vpn-specific dialog and into the main
14557           property editor, as Importing goes with Adding, but that will require
14558           some rearchitecting of the VPN stuff I suspect.
14559
14560 2005-10-27  Dan Williams  <dcbw@redhat.com>
14561
14562         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14563         we should replace most of the distro-specific backend code
14564         with libnl stuff.
14565
14566         Get it here:  http://people.suug.ch/~tgr/libnl/
14567
14568         * configure.in
14569           src/Makefile.am
14570                 - Add checks for libnl pkgconfig file
14571                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14572
14573         * src/NetworkManagerSystem.c
14574           src/nm-ip4-config.[ch]
14575                 - Use libnl rather than ioctl() for most things
14576                 - Remove unused functions
14577
14578 2005-10-27  Robert Love  <rml@novell.com>
14579
14580         * src/backends/NetworkManagerSuSE.c: fix warning message text
14581
14582 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14583
14584         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14585
14586 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14587
14588         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14589         project page <http://www.gnome.org/projects/NetworkManager/>
14590
14591 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14592
14593         * gnome/applet.c: Also use translator credits if we don't have
14594         the new GtkAboutDialog (older versions of GTK+)
14595
14596 2005-10-26  Robert Love  <rml@novell.com>
14597
14598         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14599           failure; correct usage text for "--no-daemon"
14600
14601 2005-10-25  Dan Williams  <dcbw@redhat.com>
14602
14603         * src/NetworkManagerDevice.c
14604                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14605                         no scan results
14606                 - (free_process_scan_cb_data): unref the device when freeing results
14607                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14608                         so we don't unref the device underneath ourselves
14609
14610 2005-10-25  Dan Williams  <dcbw@redhat.com>
14611
14612         * Back out 2005-10-24 commit from Tor Krill.  Patch
14613                 causes nameservers never to be removed from named.
14614
14615 2005-10-24  Dan Williams  <dcbw@redhat.com>
14616
14617         Clean up wireless scanning and wireless link probing.
14618
14619         * src/NetworkManagerDevice.c
14620                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14621                         just see if there's an activation request on the device, and check the
14622                         current link against the activation request access point's ESSID.
14623                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14624                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14625                         don't call process_scan_results() on zero-length data
14626                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14627                         15 seconds (from 10)
14628
14629 2005-10-24  Dan Williams  <dcbw@redhat.com>
14630
14631         Cleanup some applet stuff:
14632
14633         - Animation timeouts.  If NM died while the applet was animating,
14634                 the applet would not hide itself.  This is now fixed.
14635
14636         - Remove some dead code
14637
14638         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14639                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14640
14641         - Track animation timeout using a gboolean rather than the timeout's
14642                 ID, since timeout IDs can legally be 0.
14643
14644 2005-10-24  Dan Williams  <dcbw@redhat.com>
14645
14646         * src/backends/interface_parser.c
14647                 - Add void to function declarations that need it
14648                         to match patch from Engin AYDOGAN
14649
14650         * src/backends/interface_parser.h
14651                 - Remove unused prototype for ifparser_interfaces()
14652
14653         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14654         * src/backends/interface_parser.h:
14655                 - Compile fixes for gcc 4.0.2 (add void)
14656
14657 2005-10-24  Dan Williams  <dcbw@redhat.com>
14658
14659         Patch from Tor Krill <tor@krill.nu>
14660         * src/named-manager/nm-named-manager.c
14661                 - Write more than just the first nameserver to /etc/resolv.conf
14662                 - Write out valid /etc/resolv.conf on exit
14663
14664 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14665
14666         * gnome/applet/applet-dbus-vpn.c:
14667         Get rid of spurious newlines in debug console output
14668
14669 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14670
14671         * src/backends/NetworkManagerGentoo.c:
14672         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14673
14674 2005-10-20  Robert Love  <rml@novell.com>
14675
14676         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14677           direct comparison of floating point values, which is never correct.
14678           Also some misc. cleanup.
14679
14680 2005-10-19  Robert Love  <rml@novell.com>
14681
14682         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14683
14684 2005-10-19  Robert Love  <rml@novell.com>
14685
14686         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14687           sensitivity of the buttons.  Specificaly, do the right thing if
14688           there are no entries.
14689
14690 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14691
14692         * configure.in: Update check for adequate wireless-tools
14693         with an AC_TRY_COMPILE for the new symbols we use.
14694
14695 2005-10-19  Dan Williams  <dcbw@redhat.com>
14696
14697         * src/NetworkManagerDevice.c
14698                 - (process_scan_results): don't drop the last (or only)
14699                         access point we see
14700
14701 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14702
14703         * src/backends/NetworkManagerSlackware.c:
14704         Patch from Nico <lordllucifer@gmail.com>
14705                 - Update the Slackware backend.
14706
14707 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14708
14709         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14710         if we've got GLib 2.8.0
14711
14712 2005-10-18  Robert Love  <rml@novell.com>
14713
14714         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14715           function nm_schedule_state_change_signal_broadcast() when we
14716           deactivate a device, too.
14717
14718 2005-10-18  Robert Love  <rml@novell.com>
14719
14720         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14721           be used uninitialized.
14722
14723 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14724
14725         * test/libnm_glib_test.c: Test unregistering, too.
14726
14727 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14728
14729         * configure.in: Bump to 0.5.0
14730
14731 2005-10-17  Dan Williams  <dcbw@redhat.com>
14732
14733         * NetworkManager.h
14734                 - Remove WPA-related constants so they aren't part of the
14735                         upcoming release.
14736
14737 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14738
14739         * gnome/applet/applet.c:
14740         * gnome/applet/applet.h:
14741         Desensitize the 'Connection Information' menu item when there is
14742         no active connection.
14743
14744 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14745
14746         * gnome/libnm_glib/libnm_glib.c:
14747         Make libnm_glib_unregister_callback () actually unregister the callback
14748
14749 2005-10-17  Robert Love  <rml@novell.com>
14750
14751         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14752           two seconds -- tries is updated every 1/10 of a second, not every
14753           second..
14754
14755 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14756
14757         * gnome/applet/applet-dbus-info.c:
14758         Let D-BUS know that we haven't handled a message when we haven't.
14759
14760 2005-10-17  Robert Love  <rml@novell.com>
14761
14762         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14763           in order to remain 64-bit clean.
14764
14765 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14766
14767         * gnome/applet/applet-dbus-info.c:
14768         Find network encryption keys asynchronously
14769
14770 2005-10-17  Robert Love  <rml@novell.com>
14771
14772         * src/backends/NetworkManagerDebian.c,
14773           src/backends/NetworkManagerRedHat,
14774           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14775           comment delimiter.
14776
14777 2005-10-17  Robert Love  <rml@novell.com>
14778
14779         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14780           "/etc"
14781
14782 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14783
14784         * src/NetworkManagerDevice.c: (process_scan_results)
14785         Fix logic that checks to see whether we have an ESSID.
14786
14787 2005-10-15  Dan Williams  <dcbw@redhat.com>
14788
14789         Move scanning code into NetworkManager rather than use iwlib's
14790         iw_scan() function, so that we can figure out AP capabilities.
14791
14792         * NetworkManager.h
14793                 - Add AP capability bits
14794
14795         * src/NetworkManagerAP.[ch]
14796                 - Add capability field to NMAccessPoint structure
14797                 - Add WPA & RSN Information Element fields and accessor
14798                         functions to NMAccessPoint
14799
14800         * src/NetworkManagerDevice.c
14801                 - Remove usage of iw_scan
14802                 - Add scanning code to NetworkManager rather than use
14803                         iw_scan() from iwlib
14804
14805         * src/NetworkManagerUtils.[ch]
14806                 - (nm_dispose_scan_results): remove, unused
14807
14808 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14809
14810         * gnome/libnm_glib/libnm_glib.c:
14811         * gnome/libnm_glib/libnm_glib.h:
14812         Use guint instead of gint for callback IDs.
14813
14814 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14815
14816         * gnome/applet/applet.c:
14817         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14818         every 1000ms.  It will unconditionally call nmwa_update_state which
14819         kills the existing animation timeout and registers a new one with a
14820         callback to draw a new frame every 100ms.  There are 11 connecting
14821         icon frames, so the last 2 frames kept getting dropped.  Only reset
14822         the animation timeout if we aren't animating.
14823
14824 2005-10-11  Dan Williams  <dcbw@redhat.com>
14825
14826         * gnome/applet/applet-dbus-devices.c
14827                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14828                         We want to grab the product & vendor from net.physical_dev
14829                         rather than info.parent.
14830
14831 2005-10-11  Dan Williams  <dcbw@redhat.com>
14832
14833         * src/NetworkManagerDevice.c
14834                 - Use the driver's WE version for scanning rather than
14835                         the WE version NM was compiled with.  Fixes random
14836                         crashes in iw_scan () in iwlib.
14837
14838 2005-10-10  Dan Williams  <dcbw@redhat.com>
14839
14840         * Remove nm_system_load_device_modules() from backend files
14841                 and from NetworkManager.c
14842
14843 2005-10-10  Dan Williams  <dcbw@redhat.com>
14844
14845         * src/NetworkManagerPolicy.c
14846                 - Fix some bugs introduced by the capabilities patch
14847
14848 2005-10-10  Dan Williams  <dcbw@redhat.com>
14849
14850         * gnome/applet/applet-dbus-info.c
14851                 - (nmi_dbus_get_network_key): hide the menu when putting up
14852                         the keyring dialog.  (not sure if the code is right...)
14853
14854 2005-10-09  Dan Williams  <dcbw@redhat.com>
14855
14856         Patch from Bill Moss <bmoss@clemson.edu>
14857         * src/NetworkManagerDevice.c
14858                 - (nm_device_set_user_key_for_network): don't try to set auth
14859                         mode on the AP from the allowed list if it's NULL
14860
14861 2005-10-09  Dan Williams  <dcbw@redhat.com>
14862
14863         * Replace the "driver support level" stuff with capabilities.  The
14864                 capability field is a bitfield that is more flexible than the
14865                 old driver support level thing.  It's mostly so we can easily
14866                 figure out what supports WPA and what doesn't, but should be
14867                 quite useful later.
14868
14869 2005-10-09  Dan Williams  <dcbw@redhat.com>
14870
14871         * test/nmtest.c
14872                 - Removed
14873
14874         * test/nm-tool.c
14875           test/Makefile.am
14876                 - Added new "nm-tool" tool that gives quite a bit more
14877                         information
14878
14879 2005-10-07  Robert Love  <rml@novell.com>
14880
14881         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14882           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14883           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14884           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14885           appropriate
14886
14887 2005-10-07  Robert Love  <rml@novell.com>
14888
14889         * configure.in: Change our compile flags for the betterment of mankind.
14890           Add "-Wstrict-prototypes" because we comply anyhow and missing a
14891           prototype is very bad on 64-bit platforms as types default to int but
14892           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14893           "-Wmissing-declarations" to warn if we define an exported function
14894           but fail to put it in a header.
14895
14896 2005-10-07  Robert Love  <rml@novell.com>
14897
14898         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14899           by the name nm_update_device_wireless_timeouts() and once tried,
14900           without success, to steal my pet turtle.
14901
14902 2005-10-07  Robert Love  <rml@novell.com>
14903
14904         * Cleanup prototypes: put some functions in header files and mark
14905           others as 'static' -- feel free to invert
14906         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14907           nm_vpn_manager_vpn_connection_list_copy()
14908         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14909           nm_vpn_service_get_dbus_connection()
14910         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14911           nm_vpn_manager_vpn_connection_list_copy()
14912         * src/vpn-manager/nm-vpn-service.c: make
14913           nm_vpn_service_act_request_failed() and
14914           nm_vpn_service_stage2_daemon_wait() static
14915         * src/vpn-manager/nm-vpn-service.h: add prototype for
14916           nm_vpn_service_get_dbus_connection()
14917
14918 2005-10-06  Christopher Aillon  <caillon@redhat.com>
14919
14920         * gnome/applet/applet.c:
14921         * gnome/applet/applet.h:
14922         * gnome/applet/icons/Makefile.am:
14923         Convey information about the current connection stage in the
14924         icons themselves instead of creating a separate progress bar.
14925
14926 2005-10-04  Robert Love  <rml@novell.com>
14927
14928         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14929           convert an ether_addr structure's MAC into a string, because the
14930           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14931           versus 07:3B:04, while the former will not.
14932
14933 2005-10-04  Robert Love  <rml@novell.com>
14934
14935         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14936           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14937           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14938           default route in the 'Connection Information' dialog, send primary
14939           and secondary name servers in in "getProperties" DBUS method, add
14940           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
14941           secondary domain name servers are crucial pieces of information
14942           that a user might need in debugging a network problem.
14943
14944 2005-10-04  Robert Love  <rml@novell.com>
14945
14946         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14947           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14948           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14949           default route in the 'Connection Information' dialog, send default
14950           route in "getProperties" DBUS method, add network_device_set_route(),
14951           and network_device_get_route().  The Gateway is a crucial piece of
14952           connection-related information that a user might need in debugging a
14953           network problem.
14954
14955 2005-10-03  Robert Love  <rml@novell.com>
14956
14957         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
14958           NULL.
14959
14960 2005-10-02  Dan Williams  <dcbw@redhat.com>
14961
14962         * Shorten time taken to sleep by fastpathing bits of device deactivation
14963                 necessary for sleep.
14964
14965         * Fix issue where deactivating a device might deactivate the active
14966                 VPN connection, even if the VPN was not using the device.
14967
14968 2005-10-02  Dan Williams  <dcbw@redhat.com>
14969
14970         * gnome/applet/applet.c
14971                 - Adjust signal strength -> icon mapping values slightly
14972                         (so that 51% signal doesn't show a 75% icon) by adding
14973                         5% to the values. ex: > 5% now shows 25% icon, > 30%
14974                         shows 50% icon, etc.
14975
14976 2005-09-29  Robert Love  <rml@novell.com>
14977
14978         * src/NetworkManager.c: removed unused variable.
14979
14980 2005-09-28  Dan Williams  <dcbw@redhat.com>
14981
14982         Support for named + DBus, using Red Hat DBus patches for named.  You
14983         can find those patches here, with "dbus" in the patch's filename:
14984
14985                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
14986
14987         Don't forget the named dbus service file either.
14988
14989         Instead of writing a config file and spawing a named process, NM will
14990         use an already-running dbus-enabled named if it finds one.  NM will
14991         update named's forwarder configuration on the fly using dbus.
14992
14993         If there is no dbus-enabled named running, NM will automatically fall
14994         back to writing the most-recent DNS server information to /etc/resolv.conf
14995         and calling nm_system_update_dns() to kick the system's resolver.
14996
14997         Accordingly, all named-related configure-time options have been removed.
14998
14999 2005-09-26  Robert Love  <rml@novell.com>
15000
15001         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15002           ISDN support!
15003         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15004           bug in error path if "ASKPASSWORD" is "no".
15005
15006 2005-09-26  Robert Love  <rml@novell.com>
15007
15008         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15009           comment in /etc/resolv.conf -- ';' is not.
15010
15011 2005-09-19  Dan Williams  <dcbw@redhat.com>
15012
15013         * src/backends/NetworkManagerRedHat.c:
15014         * src/backends/NetworkManagerDebian.c:
15015         * src/backends/NetworkManagerSlackware.c:
15016         * src/backends/NetworkManagerGentoo.c:
15017         * src/backends/NetworkManagerSUSE.c:
15018         Fix invocations of "/sbin/ip address" to use short form instead
15019
15020 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15021
15022         * src/nm-dbus-device.c: Don't assert when getting
15023         addresses of a not yet connected interface.
15024
15025         * gnome/applet/applet.c: Free icons if loading fails.
15026         Use translator-credits so translators can make themselves known.
15027
15028 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15029
15030         * src/NetworkManagerAP.c:
15031         * src/NetworkManagerAP.h:
15032         * src/NetworkManagerDevice.c:
15033         Set a blacklist for certain common manufacturer default ESSIDs:
15034         APs with these ESSIDs are extremely likely to be completely
15035         different networks: connecting to one should not make NM
15036         auto-connect to every other AP with the same default ESSID.
15037
15038 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15039
15040         * gnome/applet/wireless-applet.glade:
15041         The passphrase entry should also activate the default
15042
15043         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15044
15045         * gnome/applet/applet-dbus-devices.c:
15046         * gnome/applet/applet.c:
15047         * gnome/applet/nm-device.c:
15048         * gnome/applet/nm-device.h:
15049         * src/NetworkManagerUtils.c:
15050         * src/NetworkManagerUtils.h:
15051         * src/nm-dbus-device.c:
15052         I've got a fever, and the only cure for it is less ioctl.
15053         Make NM push IP data rather than make the applet open a socket
15054         to the device.
15055
15056 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15057
15058         * gnome/applet/applet.c:
15059         * gnome/applet/applet-dbus-devices.c:
15060         * gnome/applet/applet-dbus-info.c:
15061         * gnome/applet/passphrase-dialog.c:
15062         * gnome/libnm_glib/libnm_glib.c:
15063         * gnome/vpn-properties/nm-vpn-properties.c:
15064         * src/autoip.c:
15065         * src/backends/NetworkManagerRedHat.c:
15066         * src/named-manager/nm-named-manager.c:
15067         * src/NetworkManagerAPList.c:
15068         * src/NetworkManager.c:
15069         * src/NetworkManagerDbus.c:
15070         * src/NetworkManagerDevice.c:
15071         * src/NetworkManagerPolicy.c:
15072         * src/NetworkManagerSystem.c:
15073         * src/nm-dbus-device.c:
15074         * src/nm-dbus-nm.c:
15075         * src/vpn-manager/nm-vpn-manager.c:
15076         * src/vpn-manager/nm-vpn-service.c:
15077         * test/libnm_glib_test.c:
15078         * test/nminfotest.c:
15079         * test/nmtestdevices.c:
15080         Fix a bunch of 'unused variable' compiler warnings
15081
15082         * NetworkManager.h:
15083         * gnome/applet/applet-dbus-info.c:
15084         * gnome/applet/applet-dbus-info.h:
15085         * gnome/applet/applet.c:
15086         * gnome/applet/applet.h:
15087         * src/NetworkManager.c:
15088         * src/NetworkManagerDbus.c:
15089         * src/NetworkManagerDbus.h:
15090         * src/NetworkManagerDevice.c:
15091         * src/NetworkManagerDevice.h:
15092         * src/NetworkManagerMain.h:
15093         * src/NetworkManagerWireless.c:
15094         * src/NetworkManagerWireless.h:
15095         * src/nm-dbus-nm.c:
15096         Make NetworkManager be smart about how frequently to scan
15097         based on its current state.  Remove the UI for choosing when
15098         to scan.  Scanning still may disabled completely by the user
15099         via the "Wireless Enabled" menu item.
15100
15101 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15102
15103         * gnome/applet/applet.c:
15104         Also overlay the vpn connecting icons onto the wired icon,
15105         when appropriate.
15106
15107         * gnome/vpn-properties/nm-vpn-properties.glade:
15108         Clean up a few strings to use better grammar and proper casing.
15109
15110 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15111
15112         * gnome/applet/vpn-connection.c:
15113         * gnome/applet/vpn-connection.h:
15114         Add nmwa_vpn_connection_is_activating ()
15115
15116         * gnome/applet/applet.c:
15117         * gnome/applet/applet.h:
15118         * gnome/applet/icons/nm-vpn-connecting*.png:
15119         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15120         the user know something's happening between clicking the VPN item and it
15121         actually being connected.
15122
15123 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15124
15125         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15126         failure case as well.
15127
15128 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15129
15130         * gnome/panel/eggtrayicon.[ch]:
15131         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15132
15133 2005-09-07  Dan Williams  <dcbw@redhat.com>
15134
15135         Patch from Bill Moss <bmoss@clemson.edu>
15136         * src/applet-dbus.c
15137                 - (nmwa_dbus_filter): strip whitespace from beginning
15138                         and end of VPN login banner
15139
15140 2005-09-07  Dan Williams  <dcbw@redhat.com>
15141
15142         * The great VPN Manager rewrite of 2005
15143
15144 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15145
15146         * gnome/applet/menu-items.c:
15147         * gnome/applet/nm-device.c:
15148         * gnome/applet/wireless-network.c:
15149         * gnome/libnm_glib/libnm_glib.c:
15150         * src/NetworkManagerDbusUtils.c:
15151         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15152         g_malloc0 doesn't return NULL
15153
15154 2005-09-06  Dan Williams  <dcbw@redhat.com>
15155
15156         Patch from Tomislav Vujec <tvujec@redhat.com>
15157         * src/NetworkManagerDevice.c
15158                 - (nm_get_device_by_udi): don't return a device when we
15159                         actually didn't find what we were looking for
15160
15161 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15162
15163         * gnome/applet/applet-dbus-devices.c:
15164         * gnome/applet/applet-dbus-devices.h:
15165         * gnome/applet/applet-dbus.c:
15166         * src/NetworkManagerDbus.c:
15167         * src/NetworkManagerDbus.h:
15168         * src/NetworkManagerDevice.c:
15169         * src/nm-dbus-device.c:
15170         Make NM push updates about active device strength when it changes,
15171         rather than having the applet poll every 2s.
15172
15173 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15174
15175         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15176         network_device_set_strength
15177
15178 2005-09-04  Dan Williams  <dcbw@redhat.com>
15179
15180         Patch from Bill Nottingham <notting@redhat.com>
15181         * src/NetworkManagerDevice.c
15182                 - (nm_device_activation_cancel): reset the quit_activation flag
15183
15184 2005-09-04  Dan Williams  <dcbw@redhat.com>
15185
15186         * src/nm-activation-request.c
15187                 - (nm_act_request_unref): actually free the structure,
15188                         which we didn't seem to be doing before
15189
15190 2005-09-04  Dan Williams  <dcbw@redhat.com>
15191
15192         Patch from John Palmieri <johnp@redhat.com>
15193         * gnome/applet/applet-dbus-devices.c
15194                 - Fix up unreffing of DBusMessage objects
15195
15196 2005-09-04  Dan Williams  <dcbw@redhat.com>
15197
15198         Patch from John Palmieri <johnp@redhat.com>
15199         * gnome/applet/nm-device.c
15200                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15201
15202 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15203
15204         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15205
15206 2005-09-02  Bill Nottingham  <notting@redhat.com>
15207
15208         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15209
15210 2005-09-01  Dan Williams  <dcbw@redhat.com>
15211
15212         * src/NetworkManager.c
15213                 - (nm_remove_device_from_list): rename to nm_remove_device
15214                 - (nm_hal_device_removed): call nm_remove_device()
15215
15216         * src/NetworkManagerDevice.c
15217                 - Change the NMWirelessScanCB member 'reschedule' which
15218                         wasn't used to 'force' to indicate that we need to
15219                         force a scan when adding a device
15220
15221         * src/nm-dbus-nm.c
15222                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15223                         from the device list
15224                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15225
15226 2005-09-01  Robert Love  <rml@novell.com>
15227
15228         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15229           and the check "!iface" in the error case is probably never true.
15230
15231 2005-09-01  Dan Williams  <dcbw@redhat.com>
15232
15233         Patch from Bill Nottingham <notting@redhat.com>
15234         * src/backends/NetworkManagerRedHat.c
15235                 - Add initial dialup support to Red Hat/Fedora backend
15236
15237 2005-09-01  Dan Williams  <dcbw@redhat.com>
15238
15239         * gnome/applet/applet-dbus-devices.c
15240                 - Sort both wireless networks and devices again, which got
15241                         broken when removing threading
15242
15243 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15244
15245         * gnome/applet/applet.c:
15246         Only show the "Stop/Start All Wireless Devices" menuitem
15247         if we actually have wireless devices.
15248
15249         * gnome/applet/applet-dbus-info.c:
15250         * gnome/applet/applet.c:
15251         * gnome/applet/other-network-dialog.c:
15252         * gnome/applet/vpn-password-dialog.c:
15253         Drop the gtk_dialog_run () calls in favor of connecting to
15254         "response" signals, needed now that the applet is not threaded.
15255
15256 2005-08-31  Dan Williams  <dcbw@redhat.com>
15257
15258         Patch from Bill Moss <bmoss@clemson.edu>
15259         * src/NetworkManagerDevice.c
15260                 - (nm_device_wireless_scan): fix scan timeout values
15261
15262 2005-08-30  Dan Williams  <dcbw@redhat.com>
15263
15264         * gnome/applet/wireless-applet.glade
15265                 - HIG-ify the Other Wireless Networks dialog a bit more
15266                 - Fix some potential segfaults in the info dialog
15267
15268 2005-08-30  Dan Williams  <dcbw@redhat.com>
15269
15270         * gnome/applet/applet-dbus-devices.c
15271                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15272
15273 2005-08-30  Dan Williams  <dcbw@redhat.com>
15274
15275         * gnome/applet/applet-dbus.[ch]
15276                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15277                         they weren't being used anyway
15278
15279 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15280
15281         * test/nmtestdevices.c: (print_usage), (main):
15282         Check the number of arguments, and fix a typo
15283
15284 2005-08-29  Dan Williams  <dcbw@redhat.com>
15285
15286         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15287         * gnome/applet/applet.c
15288                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15289
15290 2005-08-29  Dan Williams  <dcbw@redhat.com>
15291
15292         * gnome/applet/*
15293                 - Don't use threads any more.  Anything that blocks
15294                         (like gtk_dialog_run()) will  have to get fixed up which
15295                         should happen quickly.  We really only had threads to make
15296                         the animation smooth, and when everything got converted over
15297                         to DBus Pending Calls, the need for threads kind of went away
15298
15299 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15300
15301         * gnome/applet/applet.c: Draw VPN connections as radio items
15302         since we don't yet support multiple VPNs.
15303         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15304         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15305
15306 2005-08-29  Dan Williams  <dcbw@redhat.com>
15307
15308         Patch from j@bootlab.org
15309         - Make --without-named work
15310         - Make --with-dhcdbd work correctly
15311
15312 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15313
15314         * configure.in: Added "ca" to ALL_LINGUAS.
15315
15316 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15317
15318         * Fix up VPN state handling between the applet and NetworkManager,
15319                 so that the applet doesn't show a VPN as connected when one
15320                 really is not
15321                         - The applet no longer has a pointer to the active VPN's
15322                                 name, but tracks each VPNs state individually
15323                         - NM no longer has a "getActiveVPNConnection" method
15324                         - NM no longer broadcasts the "VPNConnectionChange" signal
15325                         - NM now broadcasts a "VPNConnectionStateChange" signal
15326                                 whenever the state of a VPN changes
15327
15328 2005-08-26  Dan Williams <dcbw@redhat.com>
15329
15330         * gnome/applet/applet-dbus-devices.c
15331           gnome/applet/applet-dbus-vpn.c
15332                 - Remove calls to dbus_pending_call_ref() because we already
15333                         "own" the pending call
15334                 - Remove calls to dbus_pending_call_get_completed() because
15335                         when we are in the callback, the pending call is completed
15336                         by definition
15337
15338 2005-08-22  Dan Williams <dcbw@redhat.com>
15339
15340         Patch by Bill Moss <bmoss@clemson.edu>
15341         * src/dhcp-manager/nm-dhcp-manager.c
15342                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15343                         some time to send out a RELEASE if they like
15344
15345 2005-08-22  Dan Williams <dcbw@redhat.com>
15346
15347         Noticed by Bill Moss <bmoss@clemson.edu>
15348         * src/NetworkManagerDbus.c
15349                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15350                         instead of just cancelling its activation
15351
15352         * src/NetworkManagerDevice.c
15353                 - (nm_device_deactivate): some small cleanups
15354                 - (nm_device_set_user_key_for_network): deactivate the device
15355                         instead of just cancelling its activation
15356
15357 2005-08-22  Dan Williams <dcbw@redhat.com>
15358
15359         Noticed by Bill Moss <bmoss@clemson.edu>
15360         * src/NetworkManagerDevice.c
15361                 - (nm_device_wireless_scan): fix scan timeout, we were
15362                         waiting way too long for scans to complete
15363
15364 2005-08-22  Dan Williams <dcbw@redhat.com>
15365
15366         Patch from j@bootlab.org:
15367         * src/backends/NetworkManagerDebian.c
15368                 - Make the Debian backend work for static IP again
15369
15370 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15371
15372         * gnome/applet/other-network-dialog.c:
15373         The "Create New Network" and "Connect to Other Network"
15374         dialogs share alot of code, but shouldn't share a window
15375         title.  Give them different ones.
15376
15377         * gnome/applet/wireless-applet.glade:
15378         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15379         Some more minor UI tweaks.
15380
15381 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15382
15383         * gnome/applet/other-network-dialog.c:
15384         * gnome/applet/wireless-applet.glade:
15385         Also need mnemonic widgets, and underline enabled.
15386
15387 2005-08-19  Dan Williams <dcbw@redhat.com>
15388
15389         * vpn-daemons/vpnc/nm-vpnc-service.c
15390                 - (vpnc_watch_cb): remove no-longer-relevant comment
15391                 - (write_config_option): new function, helper to write
15392                         config options to vpnc's stdin
15393                 - (nm_vpnc_config_write): use the new helper, make the
15394                         code shorter
15395
15396 2005-08-19  Christopher Aillon <caillon@redhat.com>
15397
15398         * gnome/applet/passphrase-dialog.c:
15399         * gnome/applet/wireless-applet.glade:
15400         Make the passphrase dialog response based, and treat
15401         responses other than OK (such as Esc, [X]) as a cancel.
15402
15403 2005-08-18  Christopher Aillon <caillon@redhat.com>
15404
15405         * initscript/Gentoo/NetworkManager:
15406         * initscript/RedHat/NetworkManager:
15407         * initscript/RedHat/NetworkManagerDispatcher:
15408         * initscript/SUSE/networkmanager:
15409         CVS remove these in place of .in replacements
15410
15411         * configure.in:
15412         * initscript/Gentoo/NetworkManager.in:
15413         * initscript/RedHat/NetworkManager.in:
15414         * initscript/RedHat/NetworkManagerDispatcher.in:
15415         * initscript/SUSE/networkmanager.in:
15416         These scripts now are generated so they work still when
15417         NM is built using a bindir other than /usr/bin
15418
15419 2005-08-18  Dan Williams <dcbw@redhat.com>
15420
15421         * gnome/applet/main.c
15422                 - Revert previous change for --no-session since
15423                         --sm-disable does the same thing
15424
15425 2005-08-18  Dan Williams <dcbw@redhat.com>
15426
15427         * gnome/applet/applet-dbus-info.c
15428                 - (nmi_dbus_create_error_message): new function
15429                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15430                         functions.  Also don't check for both device _and_ network before
15431                         asking for a user's key, because we may not have gotten all our
15432                         networks back from NM quite yet (due to the dbus pending calls
15433                         coming in later).  Fixes a hang in NM/nm-applet.
15434
15435         * src/NetworkManagerDbus.c
15436                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15437                         slightly more sane manner, even though we are still broken for
15438                         certain other error conditions.
15439                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15440                         to the info-daemon too
15441
15442         * src/NetworkManagerDevice.c
15443                 - Fix some debug messages to be info messages instead
15444
15445 2005-08-18  Dan Williams <dcbw@redhat.com>
15446
15447         * gnome/applet/main.c
15448                 - Add new "--no-session" parameter that disables applet
15449                         session management, ie for testing
15450
15451 2005-08-18  Christopher Aillon <caillon@redhat.com>
15452
15453         * gnome/applet/other-network-dialog.c:
15454         * gnome/applet/wireless-applet.glade: More mnemonics
15455
15456 2005-08-17  Robert Love  <rml@novell.com>
15457
15458         * initscript/SUSE/networkmanager: update
15459
15460 2005-08-17  Dan Williams  <dcbw@redhat.com>
15461
15462         * Tag NM_0_4_1_RELEASE
15463
15464 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15465
15466         * gnome/applet/applet.c: More translatable string cleanup
15467
15468
15469 2005-08-17  Dan Williams  <dcbw@redhat.com>
15470
15471         * gnome/applet/applet-dbus-info.c
15472                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15473                         from the dbus message, which tells us to unconditionally
15474                         ask the user for a new key.  Otherwise, we pull the key from
15475                         the keyring and return it.  If we fail to get the key from the
15476                         keyring, we ask the user for a new key.
15477                 - (nmi_dbus_get_network_key): new function to grab the key for
15478                         an essid from the keyring.
15479                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15480                         Also, don't return any key in the dbus message.
15481
15482         * src/NetworkManagerDbus.[ch]
15483                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15484                         indicate that we unconditionally want a new key.  This function
15485                         is now also used to get keys from the info-daemon which are
15486                         pre-stored, not just for asking the user for a new key.  The
15487                         "new_key" parameter indicates whether or not we wish to ask the
15488                         user for a new key.
15489                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15490                         info-daemon in the return message, so use NULL instead.  The
15491                         key will be filled in at connect time by calling
15492                         nm_dbus_get_user_key_for_network()
15493
15494         * src/NetworkManagerDevice.c
15495                 - (nm_device_wireless_configure): update for "new_key" param to
15496                         nm_dbus_get_user_key_for_network().  We initially set new_key
15497                         to FALSE to see if we have a stored key in the info-daemon, but
15498                         if the connection is unsuccessful at this stage we request a
15499                         new one
15500
15501 2005-08-17  Dan Williams  <dcbw@redhat.com>
15502
15503         * gnome/applet/icons/nm-no-connection.png
15504           gnome/applet/icons/nm-device-wired.png
15505                 - Use Diana's new RJ45 connector icons
15506
15507 2005-08-17  Dan Williams  <dcbw@redhat.com>
15508
15509         * src/NetworkManagerPolicy.c
15510                 - (nm_policy_device_change_check): clarify switching rules if
15511                         both new and old devices are valid; mainly, don't switch
15512                         away from user-requested wireless connection back to a wired
15513                         one
15514
15515 2005-08-17  Dan Williams  <dcbw@redhat.com>
15516
15517         * gnome/applet/Makefile.am
15518                 - Relocate the applet to /usr/bin since it is no longer
15519                         executed by anything, but directly by the user
15520
15521 2005-08-17  Dan Williams  <dcbw@redhat.com>
15522
15523         Patch from Bill Moss <bmoss@clemson.edu>
15524
15525         * gnome/applet/applet-dbus-info.[ch]
15526                 - (nmi_save_network_info): save timestamp for network if it
15527                         was a change requested by the user
15528                 - (nmi_dbus_update_network_info): get user_requested from dbus
15529                         message and pass to nmi_save_network_info()
15530
15531         * gnome/applet/applet.c
15532                 - (nmwa_update_network_timestamp): remove
15533                 - (nmwa_menu_item_activate): don't set timestamp on networks
15534                         here, only after a successful connect in nmi_save_network_info()
15535
15536         * src/NetworkManagerDbus.[ch]
15537                 - (nm_dbus_update_network_info): pass user_requested into the 
15538                         dbus message
15539
15540         * src/NetworkManagerPolicy.c
15541                 - (nm_policy_activation_finish): pass user_requested to
15542                         nm_dbus_update_network_info()
15543
15544 2005-08-16  Robert Love  <rml@novell.com>
15545
15546         * gnome/applet/applet.c: Better "Dial Up" menu item.
15547
15548 2005-08-16  Robert Love  <rml@novell.com>
15549
15550         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15551           "Connection Information" menu item.
15552
15553 2005-08-16  Dan Williams  <dcbw@redhat.com>
15554
15555         Patch from j@bootlab.org
15556         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15557
15558         * configure.in: allow specifying the path to dhcdbd
15559
15560 2005-08-16  Robert Love  <rml@novell.com>
15561
15562         Patch from j@bootlab.org
15563         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15564           src/backends/interface_parser.h: Debian dialup support.
15565
15566 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15567
15568         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15569         * gnome/applet/applet.c: Add some mnemonics for VPNC
15570
15571         * vpn-daemons/.cvsignore: fix this up a little bit
15572
15573 2005-08-16  Robert Love  <rml@novell.com>
15574
15575         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15576           support.
15577
15578 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15579
15580         * gnome/applet/applet.c: Split markup out of translatable strings
15581         and clean up logic a little bit.  (fixes #309012)
15582
15583 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15584
15585         * gnome/vpn-properties/nm-vpn-properties.c:
15586         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15587         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15588         Makeshift fix to remove newlines from translatable strings.
15589         Note that we now return an allocated string, so callers of
15590         get_confirmation_details () must now call g_free () on the
15591         result. (fixes #309033).
15592
15593 2005-08-12  Robert Love  <rml@novell.com>
15594
15595         * gnome/applet/applet-dbus.c: remove newlines from translatable
15596           strings--not needed here anyway. (fix b.g.o #309011)
15597         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15598
15599 2005-08-11  Robert Love  <rml@novell.com>
15600
15601         * gnome/applet/applet.c: mark string as translatable.
15602
15603 2005-08-11  Robert Love  <rml@novell.com>
15604
15605         * initscript/SUSE/networkmanager: update.
15606
15607 2005-08-11  Dan Williams  <dcbw@redhat.com>
15608
15609         * src/nm-dhcp-manager.c
15610                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15611                         an gateway returned from DHCP, try to use the address of the DHCP
15612                         server as the gateway instead.  Found by Ralf Ertzinger.
15613
15614 2005-08-10  Robert Love  <rml@novell.com>
15615
15616         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15617           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15618
15619 2005-08-10  Dan Williams  <dcbw@redhat.com>
15620
15621         Patch from Bill Moss <bmoss@clemson.edu>
15622         * Consolidate writes of access point information updates to the info daemon
15623                 so that we only do it when the connection to the access point was
15624                 successful.  Also consolidates updates to GConf in the Gnome applet.
15625
15626         * src/nm-netlink-monitor.c
15627                 - Silence compile warning when calling g_object_new()
15628
15629 2005-08-08  Dan Williams  <dcbw@redhat.com>
15630
15631         Patch from Steev <steev@steev.net>:
15632         * src/backends/NetworkManagerGentoo.c
15633                 - Stub new dialup backend functions
15634
15635 2005-08-08  Dan Williams  <dcbw@redhat.com>
15636
15637         Patch from Colin Slater:
15638         * src/backends/NetworkManagerGentoo.c
15639                 - (nm_system_update_dns): Fix exit status check for restarting
15640                         nscd
15641
15642 2005-08-05  Robert Love  <rml@novell.com>
15643
15644         * NetworkManager.h,
15645           gnome/applet/applet-dbus-devices.c,
15646           gnome/applet/applet-dbus-devices.h,
15647           gnome/applet/applet-dbus.c,
15648           gnome/applet/applet.c,
15649           gnome/applet/applet.h,
15650           src/NetworkManager.c,
15651           src/NetworkManagerMain.h,
15652           src/NetworkManagerSystem.h,
15653           src/backends/NetworkManagerRedHat.c,
15654           src/backends/NetworkManagerSuSE.c,
15655           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15656
15657 2005-08-05  Robert Love  <rml@novell.com>
15658
15659         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15660           machine's hostname to make adhoc creation idiot-proof.
15661
15662 2005-08-04  Robert Love  <rml@novell.com>
15663
15664         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15665           freed.
15666
15667 2005-08-04  Dan Williams  <dcbw@redhat.com>
15668
15669         * gnome/applet/applet-dbus-info.c
15670           gnome/applet/applet-dbus-info.h
15671                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15672                         to store key, key type, and auth method rather than just auth method
15673                 - (nmi_dbus_update_network_info): new function
15674                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15675
15676         * gnome/applet/passphrase-dialog.c
15677                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15678                         of saving the info ourselves
15679
15680         * gnome/libnm_glib/libnm_glib.c
15681                 - Remove the stupid version check for dbus
15682
15683         * src/NetworkManagerAP.c
15684           src/NetworkManagerAP.h
15685                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15686
15687         * src/NetworkManagerDbus.c
15688           src/NetworkManagerDbus.h
15689                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15690                         more than just the auth method
15691
15692         * src/NetworkManagerDevice.c
15693                 - Update network info at the appropriate times
15694
15695 2005-07-29  Ray Strode  <rstrode@redhat.com>
15696
15697         * src/NetworkManager.c (nm_info_handler): don't use input as format
15698         string (Spotted by Ian Jackson).
15699
15700 2005-07-27  Dan Williams  <dcbw@redhat.com>
15701
15702         * src/nm-dbus-nm.c
15703           src/nm-dbus-net.c
15704                 - Random cleanups of spacing
15705
15706         * gnome/applet/applet.h
15707           gnome/applet/other-network-dialog.c
15708           gnome/applet/passphrase-dialog.c
15709                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15710
15711         Patch from Bill Moss:
15712                 - Make Other Wireless Networks work again with encryption keys
15713
15714 2005-07-26  Dan Williams  <dcbw@redhat.com>
15715
15716         Patch from Steev <steev@steev.net>:
15717         * src/backends/NetworkManagerGentoo.c
15718           src/backends/Makefile.am
15719                 - Fix up Gentoo backend
15720
15721 2005-07-26  Robert Love  <rml@novell.com>
15722
15723         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15724
15725 2005-07-25  Robert Love  <rml@novell.com>
15726
15727         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15728           in the same group as the wireless networks, since they are all
15729           mutually exclusive.
15730
15731 2005-07-24  Ray Strode  <rstrode@redhat.com>
15732
15733         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15734         remove unneeded NULL arg from g_object_new().  Any
15735         warnings caused by not having the extra NULL are just a
15736         result of a bug in glib 2.7.0 - 2.7.2.
15737
15738 2005-07-22  Robert Love  <rml@novell.com>
15739
15740         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15741
15742 2005-07-22  Robert Love  <rml@novell.com>
15743
15744         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15745           parameters (gcc 4.0.2 warning fix).
15746
15747 2005-07-18  Robert Love  <rml@novell.com>
15748
15749         Suggested by Aaron Bockover (abockover@novell.com)
15750         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15751           s/Ascii/ASCII
15752         * gnome/applet/passphrase-dialog.c: ditto
15753         * gnome/applet/wireless-applet.glade: ditto
15754
15755 2005-07-13  Dan Williams  <dcbw@redhat.com>
15756
15757         Patch from Ray Strode <halfline@gmail.com>
15758         * vpn-daemons/vpnc/nm-vpnc-service.c
15759                 - Don't let vpnc daemonize, fixes some races with PID file reading
15760
15761 2005-07-13  Dan Williams  <dcbw@redhat.com>
15762
15763         Patch from Ray Strode <halfline@gmail.com>
15764         * Random cleanups for strict CFLAGS
15765
15766 2005-07-07  Dan Williams  <dcbw@redhat.com>
15767
15768         Patch from Derek Atkins <warlord@MIT.EDU>
15769         * src/nm-dbus-net.c:
15770                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15771
15772 2005-07-07  Dan Williams  <dcbw@redhat.com>
15773
15774         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15775         * src/backends/NetworkManagerGentoo.c
15776                 - Gentoo backend Static IP nameserver fixes
15777                 - General Gentoo backend goodness
15778
15779 2005-07-07  Dan Williams  <dcbw@redhat.com>
15780
15781         Patch from Bastien Nocera:
15782         * gnome/applet/applet.c
15783                 - Fix up error reporting when icons or glade files are missing
15784
15785 2005-07-07  Robert Love  <rml@novell.com>
15786
15787         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15788           are not any VPN connections above it.
15789
15790 2005-07-07  Robert Love  <rml@novell.com>
15791
15792         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15793
15794 2005-07-05  Robert Love  <rml@novell.com>
15795
15796         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15797           zero.
15798
15799 2005-07-05  Robert Love  <rml@novell.com>
15800
15801         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15802           on wired or unencrypted wireless.
15803
15804 2005-07-01  Robert Love  <rml@novell.com>
15805
15806         * src/NetworkManagerSystem.c: Print the error via strerror().
15807
15808 2005-06-30  Robert Love  <rml@novell.com>
15809
15810         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15811           then exit if the glade file is not found.  currently the application
15812           just hangs.
15813
15814 2005-06-30  Robert Love  <rml@novell.com>
15815
15816         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15817           explicitly up all interfaces on wake from sleep.
15818
15819 2005-06-30  Robert Love  <rml@novell.com>
15820
15821         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15822           with information about the currently active connection.
15823         * gnome/applet/applet.h: (ditto)
15824         * gnome/applet/wireless-applet.glade: (ditto), new file
15825
15826 2005-06-30  Robert Love  <rml@novell.com>
15827
15828         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15829         * src/nm-dbus-nm.c: print when we sleep and wake up.
15830         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15831         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15832           in /sbin unless D-BUS is, folks).
15833         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15834
15835 2005-06-27  Robert Love  <rml@novell.com>
15836
15837         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15838           case.
15839
15840 2005-06-27  Robert Love  <rml@novell.com>
15841
15842         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15843           items radios.
15844
15845 2005-06-26  Robert Love  <rml@novell.com>
15846
15847         * src/NetworkManagerDevice.c: be specific about which device in
15848           nm_info() message.
15849
15850 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15851
15852         * src/nm-netlink-monitor.c: correct spelling error.
15853
15854 2005-06-23  Robert Love  <rml@novell.com>
15855
15856         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15857         * gnome/applet/passphrase-dialog.c: more of that keyring!
15858
15859 2005-06-23  Robert Love  <rml@novell.com>
15860
15861         * configure.in: remove extraneous GNOMEKEYRING directives.
15862         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15863         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15864         * gnome/applet/passphrase-dialog.c: whitespace.
15865
15866 2005-06-23  Robert Love  <rml@novell.com>
15867
15868         * src/NetworkManagerDevice.c: division in assignment was flipped.
15869
15870 2005-06-23  David Zeuthen  <david@fubar.dk>
15871
15872         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15873         signal to the child to indicate that we got what we wanted when we
15874         see two new-lines right after each other.
15875         (nmwa_vpn_request_password): Pass a structure with several members
15876         instead of just the passwords
15877
15878 2005-06-23  Dan Williams <dcbw@redhat.com>
15879
15880         * src/NetworkManager.c
15881           src/NetworkManagerMain.h
15882                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15883                 - (nm_hal_init): new function, init libhal context then add devices
15884                 - (nm_hal_deinit): new function, clean up libhal context
15885                 - (nm_data_free): Move Hal cleanup here
15886                 - (main): check whether Hal is running, and if so, get a list of
15887                         network devices from it
15888
15889         * src/NetworkManagerDbus.c
15890                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15891                         and when it appears, get a list of network devices from it.  If
15892                         Hal goes away, clean up the libhal context
15893
15894 2005-06-22  Robert Love  <rml@novell.com>
15895
15896         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15897           permissions of scripts before executing.
15898
15899 2005-06-21  Robert Love  <rml@novell.com>
15900
15901         * initscript/SUSE/networkmanager: update.
15902         * src/backends/NetworkManagerSuSE.c: cleanup.
15903
15904 2005-06-21  Robert Love <rml@novell.com>
15905
15906         * gnome/applet/applet.c: use menu mnemonics.
15907         * gnome/applet/menu-items.c: (ditto)
15908
15909 2005-06-21  Robert Love  <rml@novell.com>
15910
15911         * applet/applet-dbus-devices.c: mark non-static functions static.
15912         * applet/applet-dbus-vpn.c: (ditto)
15913         * applet/applet.c: (ditto)
15914         * applet/nm-device.h: (ditto)
15915         * applet/other-network-dialog.c: (ditto)
15916         * applet/passphrase-dialog.c: (ditto)
15917         * NetworkManager.c: (ditto)
15918         * NetworkManagerDbus.c: (ditto)
15919         * NetworkManagerDevice.c: (ditto)
15920         * NetworkManagerPolicy.c: (ditto)
15921         * NetworkManagerUtils.c: (ditto)
15922         * NetworkManagerWireless.c: (ditto)
15923         * NetworkManagerWireless.h: (ditto)
15924         * nm-netlink-monitor.c: (ditto)
15925         * applet/applet-dbus-info.c: (ditto), add FIXME's.
15926         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15927         * autoip.c: include autoip.h.
15928         * autoip.h: new file.  define get_autoip().
15929         * nm-netlink-monitor.h: define nm_netlink_close_connection().
15930         * NetworkManagerDbus.h: remove duplicate definitions.
15931
15932 2005-06-20  Robert Love  <rml@novell.com>
15933
15934         * Makefile.am: Add missing intltool-foo.in generated files to
15935           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
15936           with the start of stuff to cleanup on 'distclea'.
15937         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
15938           stuff right and 'distcheck' works.
15939         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
15940           we keep it, we need to add all of examples/* to EXTRA_DIST and do
15941           Makefile.am for each.  And systray/Makefile needs to be redone.
15942
15943 2005-06-19  Dan Williams <dcbw@redhat.com>
15944
15945         * src/NetworkManagerDevice.c
15946         - (nm_device_wireless_process_scan_results): scan every 20s when
15947           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
15948
15949 2005-06-19  Dan Williams <dcbw@redhat.com>
15950
15951         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
15952
15953 2005-06-18  Ray Strode <rstrode@redhat.com>
15954
15955         * src/nm-netlink-monitor.c 
15956         (nm_netlink_monitor_event_handler): check for the presence
15957         of either error condition not both. 
15958         
15959         (nm_netlink_monitor_error_handler): emit error signal if
15960         error occurs.
15961
15962         (nm_netlink_monitor_event_handler),
15963         (nm_netlink_monitor_error_handler),
15964         (nm_netlink_monitor_disconnect_handler): if an 
15965         assertion fails disconnect the event handler to prevent 
15966         infinite loops.
15967
15968         * src/nm-netlink-monitor.h: add new error condition
15969         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
15970
15971 2005-06-18  Ray Strode <rstrode@redhat.com>
15972
15973         * src/nm-netlink-monitor.c 
15974         (nm_netlink_monitor_event_handler): remove bogus < 0
15975         check on unsigned value and return early if the kernel
15976         didn't send any bytes.
15977
15978 2005-06-17  Robert Love  <rml@novell.com>
15979
15980         * initscript/SUSE/networkmanager: Change the Provides and default
15981         run levels
15982
15983 2005-06-16  Dan Williams <dcbw@redhat.com>
15984
15985         Patch from Robert Love:
15986         * gnome/applet/applet.c
15987                 - Beautify some applet menu item names
15988
15989 2005-06-17  David Zeuthen  <davidz@redhat.com>
15990
15991         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
15992         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
15993         Also add new methods can_export, import_file and export.
15994
15995         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
15996         to the main UI
15997
15998         * gnome/vpn-properties/nm-vpn-properties.c:
15999         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16000         nm-vpn-ui-interface.h.
16001         (update_edit_del_sensitivity): Also update "Export" sensitivity
16002         (add_vpn_connection): Also add new SVC_NAME column
16003         (import_settings): New function
16004         (retrieve_data_from_selected_connection): New function
16005         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16006         this function
16007         (export_cb): New function
16008         (init_app): Also setup the "export" widget
16009         (main): Support the --import-service and --import-file commandline
16010         arguments
16011
16012         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16013         D-BUS 0.34
16014
16015 2005-06-16  Dan Williams <dcbw@redhat.com>
16016
16017         Patch from Robert Love:
16018         * gnome/applet/menu-items.c
16019                 - (network_menu_item_new): pass -1 as wireless network
16020                         menu items height size request rather than ascent / 2
16021
16022 2005-06-16  Dan Williams <dcbw@redhat.com>
16023
16024         * Clean up wording in Wireless Scan Methods menu items and constants
16025
16026 2005-06-16  Robert Love  <rml@novell.com>
16027
16028         * po/POTFILES.in
16029                 - remove gtkcell* files
16030
16031 2005-06-15  Dan Williams <dcbw@redhat.com>
16032
16033         Patch from Robert Love: make the applet stetic
16034
16035         * gnome/applet/Makefile.am
16036                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16037
16038         * gnome/applet/gtkcellview.h
16039           gnome/applet/gtkcellview.c
16040           gnome/applet/gtkcellrendererprogress.h
16041           gnome/applet/gtkcellrendererprogress.c
16042                 - Removed
16043
16044         * gnome/applet/menu-items.c
16045                 - Progress bars are 5:1 size ratio
16046                 - Use GTK progress bars rather than internal ones
16047
16048 2005-06-15  Dan Williams <dcbw@redhat.com>
16049
16050         Patch from Robert Love:
16051         * initscript/SUSE/networkmanager
16052                 - Fix typo
16053
16054 2005-06-15  Dan Williams <dcbw@redhat.com>
16055
16056         * src/backends/NetworkManagerSuSE.c
16057           src/backends/NetworkManagerRedHat.c
16058           src/backends/NetworkManagerDebian.c
16059                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16060
16061 2005-06-15  Dan Williams <dcbw@redhat.com>
16062
16063         * src/backends/NetworkManagerDebian.c
16064                 - Add nm_system_device_get_use_dhcp() to debian backend
16065
16066         Patch from Kay Sievers:
16067         * src/backends/NetworkManagerSuSE.c
16068                 - Update debian backend for static IP nameservers
16069
16070         * src/NetworkManagerDevice.c
16071                 - Actually set the device to use static IP or DHCP rather
16072                         than always DHCP
16073
16074 2005-06-15  Dan Williams <dcbw@redhat.com>
16075
16076         Patch from Thom May:
16077         * src/backends/NetworkManagerDebian.c
16078                 - Update debian backend for static IP nameservers
16079
16080 2005-06-15  Dan Williams <dcbw@redhat.com>
16081
16082         Patches from Robert Love:
16083         * gnome/applet/wireless-applet.glade
16084                 - Tighten up wording
16085
16086         * src/NetworkManagerDevice.c
16087                 - Remove misplaced ';'
16088
16089         * configure.in
16090           initscript/Makefile.am
16091           initscript/SUSE/Makefile.am
16092           initscript/SUSE/networkmanager
16093                 - Add SUSE initscript
16094
16095 2005-06-12  David Zeuthen  <davidz@redhat.com>
16096
16097         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16098
16099         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16100
16101         * gnome/vpn-properties/nm-vpn-properties.c: New file
16102
16103         * gnome/vpn-properties/Makefile.am: New file
16104
16105         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16106         array of passwords
16107
16108         * src/vpn-manager/nm-vpn-manager.c
16109         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16110         instead of just a single one
16111
16112         * src/vpn-manager/nm-dbus-vpn.c:
16113         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16114         here
16115         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16116
16117         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16118         Change the interface here to give a list of passwords. Also, don't
16119         require username, but do require service
16120
16121         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16122         the binary for the auth-dialog and use that instead of putting up a
16123         dialog asking for a single password
16124
16125         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16126         however do remember the service
16127
16128         * gnome/applet/main.c (main): Setup i18n
16129
16130         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16131         connection to '%s'" to the tooltip if we are connected using VPN
16132         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16133         key to determine whether we the auth-dialog needs to
16134         reprompt. Also cope with the fact that the auth-dialog now returns
16135         an array of passwords.
16136         (nmwa_menu_configure_vpn_item_activate): New handler for
16137         "Configure VPN..." menu item
16138         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16139         (is_vpn_available): New function to determine if we got any
16140         NM-compatible VPN software installed
16141         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16142         items only if we have NM-compatible VPN software installed
16143         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16144         logic for detecting when VPN connections are removed
16145
16146         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16147         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16148         since these are defined elsewhere
16149
16150         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16151         function used to keep track of whether the last attempt succeded
16152         (nmwa_dbus_filter): Update last_attempt according to whether the
16153         VPN connection could be established or not
16154
16155         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16156         Change prototype to take an array of passwords, not just a single
16157         password
16158
16159         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16160         update service, not user
16161         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16162         dbus_active_vpn_name is not NULL before using it
16163         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16164         string array instead of assuming a single password
16165
16166         * gnome/applet/applet-dbus-info.c:
16167         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16168         user name; don't read from gconf
16169
16170         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16171         VPN_NAME_FILES_DIR
16172
16173         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16174
16175         * configure.in: Add checks for gmodule-2.0.
16176         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16177         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16178         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16179         for details
16180
16181         * vpn-daemons/Makefile.am: Removed
16182
16183         * vpn-daemons/README: New file to describe extensions points for VPN
16184         software
16185
16186 2005-06-10  Dan Williams <dcbw@redhat.com>
16187
16188         * src/backends/NetworkManagerRedHat.c
16189                 - (get_current_profile_name): new function, grab current network profile name from
16190                         /etc/sysconfig/network
16191                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16192                         update an IP4 Config structure's settings from it
16193                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16194                         get DNS info from current network profile
16195
16196 2005-06-09  Dan Williams <dcbw@redhat.com>
16197
16198         Patch from Robert Love:
16199         * src/NetworkManagerDevice.c
16200           src/NetworkManagerUtils.c
16201                 - 64-bit build fixes
16202
16203 2005-06-09  Dan Williams <dcbw@redhat.com>
16204
16205         Patch from Kay Sievers and Robert Love:
16206         * configure.in
16207           src/backends/Makefile.am
16208           src/backends/NetworkManagerSuSE.c
16209                 - Add SuSE support
16210
16211 2005-06-09  Dan Williams <dcbw@redhat.com>
16212
16213         * NetworkManager.h
16214                 - Add NMWirelessScanMethod enum for scan methods
16215
16216         * gnome/applet/applet-dbus-devices.c
16217                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16218                 - (nmwa_dbus_update_scanning_enabled): remove
16219                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16220                         since it got removed
16221                 - (nmwa_dbus_enable_scanning): remove
16222
16223         * gnome/applet/applet-dbus-info.c
16224                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16225                         update the wireless scanning method from NMI
16226                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16227                         method value to NetworkManager
16228                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16229
16230         * gnome/applet/applet-dbus-info.h
16231                 - Add prototype for nmi_dbus_signal_update_scan_method
16232
16233         * gnome/applet/applet.c
16234                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16235                         Wireless Scanning menu based on current wireless scan method
16236                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16237                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16238                         and update our menu items to make sure the right one is checked
16239                 - (nmwa_set_scanning_enabled_cb): remove
16240                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16241                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16242                         Scanning menu item
16243                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16244                         from GConf
16245                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16246                         so we get notified of preference values too
16247                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16248
16249         * gnome/applet/applet.h
16250                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16251                 - Add wireless scan method member to applet data
16252                 - Remove pause_scanning_item, add Wireless Scanning submenu
16253
16254         * src/NetworkManager.c
16255                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16256                 - (main): grab scanning method from NMI if we can
16257
16258         * src/NetworkManagerDbus.c
16259                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16260                         nm_dbus_update_wireless_scan_method()
16261                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16262                         from NMI
16263                 - (nm_dbus_nmi_is_running): redundant function, removed
16264                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16265                         when NMI comes back
16266
16267         * src/NetworkManagerDevice.c
16268                 - (nm_device_is_activated): return TRUE if the device is activated
16269                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16270                         and we are activated
16271
16272         * src/nm-dbus-nm.c
16273                 - (nm_dbus_nm_set_scanning_enabled): removed
16274                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16275                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16276
16277 2005-06-09  Dan Williams <dcbw@redhat.com>
16278
16279         * NetworkManager.h
16280           src/vpn-manager/nm-vpn-service.c
16281                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16282
16283 2005-05-27  Dan Williams <dcbw@redhat.com>
16284
16285         * vpn-daemons/vpnc/nm-vpnc-service.c
16286                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16287                         Should fix the bug where the VPN connection terminates the first time.
16288
16289 2005-05-20  Dan Williams <dcbw@redhat.com>
16290
16291         * NetworkManager.h
16292                 - Differentiate VPN config signals between bad VPN config options
16293                         and bad IP config
16294
16295         * gnome/applet/applet-dbus-info.h
16296                 - Add prototypes for wireless network and vpn connection update functions
16297
16298         * gnome/applet/applet-dbus.c
16299                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16300
16301         * gnome/applet/applet.c
16302                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16303                         error signals
16304                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16305                         propogation to NetworkManager
16306                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16307                         notify propogation to NetworkManager
16308
16309         * src/NetworkManagerDbus.c
16310                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16311                         are updating so a network can be removed from it if necessary
16312
16313         * src/vpn-manager/nm-vpn-manager.c
16314                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16315
16316         * vpn-daemons/vpnc/nm-vpnc-service.c
16317                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16318                 - (nm_vpnc_dbus_signal_launch_failed): remove
16319                 - (nm_vpnc_dbus_signal_connect_failed): remove
16320                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16321                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16322                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16323                         for new generalized error signal function, remove config file stuff
16324                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16325                         we can write configuration options to it
16326                 - (nm_vpnc_config_file_generate): removed
16327                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16328                 - (nm_vpnc_config_options_validate): validate the config options we receive
16329                         from NetworkManager to block potential exploits
16330                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16331                         starting vpnc
16332                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16333                         to NetworkManager
16334
16335 2005-05-16  Dan Williams  <dcbw@redhat.com>
16336
16337         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16338                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16339                         is not "connect"
16340
16341 2005-05-16  Dan Williams  <dcbw@redhat.com>
16342
16343         Patch from Tomislav Vujec <tvujec@redhat.com>
16344         * gnome/applet/applet-dbus-info.c
16345                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16346                         GConf and pass them to NetworkManager.  New key is 'routes' under
16347                         the VPN connection, and should be a string list
16348
16349         * src/NetworkManagerSystem.c
16350                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16351                         set them on the device when we set the rest of the VPN config.  Ensure
16352                         they are in the correct format since they are passed directly to the
16353                         command line.
16354
16355         * src/backends/NetworkManagerRedHat.c
16356           src/backends/NetworkManagerDebian.c
16357                 - (nm_system_device_add_route_via_device_with_iface): new function
16358
16359         * src/vpn-manager/nm-dbus-vpn.c
16360                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16361
16362         * src/vpn-manager/nm-vpn-manager.c
16363                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16364                         them into the IP4 config functions
16365
16366 2005-05-15  Dan Williams  <dcbw@redhat.com>
16367
16368         From Filip Miletic:
16369         * po/sr.po
16370           po/sr@Latn.po
16371           configure.in
16372                 - Serbian translation added
16373
16374 2005-05-15  Dan Williams  <dcbw@redhat.com>
16375
16376         * dispatcher-daemon/NetworkManagerDispatcher.c
16377                 - (main): sync arguments with NetworkManager and the applet, now use
16378                         "--no-daemon" rather than "daemon=no"
16379                 - (nmd_print_usage): Fix script path in usage message
16380
16381 2005-05-15  Dan Williams  <dcbw@redhat.com>
16382
16383         * src/NetworkManagerDevice.[ch]
16384           src/NetworkManagerPolicy.c
16385           src/NetworkManager.c
16386           src/nm-dbus-nm.c
16387                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16388                         longer send the DeviceNoLongerActive signal unconditionally, but only
16389                         when the device is actually active.
16390
16391         * dispatcher-daemon/NetworkManagerDispatcher.c
16392                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16393                         and simplify the logic
16394                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16395                         we free it later on
16396
16397         * initscript/RedHat/Makefile.am
16398           initscript/RedHat/NetworkManagerDispatcher
16399                 - Add initscript for NetworkManagerDispatcher
16400
16401
16402         Patch from Bill Moss:
16403         * dispatcher-daemon/NetworkManagerDispatcher.c
16404                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16405
16406         * src/NetworkManagerDbus.c
16407                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16408                         and DeviceNowActive gets signaled, then the device has a new IP address
16409                         anyway.  There's no need for a separate signal.
16410
16411         * src/NetworkManagerDevice.c
16412                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16413
16414         * src/NetworkManagerPolicy.c
16415                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16416                         activates successfully.  This kind of went missing when I reworked the
16417                         activation code.
16418
16419 2005-05-15  Dan Williams  <dcbw@redhat.com>
16420
16421         * configure.in
16422                 - Check for dhcdbd and error if its not found
16423
16424         * src/dhcp-manager/Makefile.am
16425           src/dhcp-manager/nm-dhcp-manager.c
16426                 - Use path to dhcdbd that configure found
16427
16428 2005-05-14  Dan Williams  <dcbw@redhat.com>
16429
16430         * gnome/applet/nm-device.c
16431                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16432                         sort wireless networks alphabetically
16433
16434         * gnome/applet/applet-dbus-devices.c
16435                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16436                         before copying them over to the GUI
16437
16438 2005-05-14  Dan Williams  <dcbw@redhat.com>
16439
16440         * src/NetworkManager.c
16441                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16442                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16443                         the device list, as does nm_get_active_device() which is called from
16444                         nm_vpn_manager_deactivate_vpn_connection().
16445
16446 2005-05-14  Dan Williams  <dcbw@redhat.com>
16447
16448         * NetworkManager.h
16449                 - Add signals for VPN Launch and Connect failures
16450
16451         * gnome/applet/applet-dbus.c
16452                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16453
16454         * gnome/applet/applet.c
16455                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16456                         function to handle all VPN failure messages
16457                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16458                         function to hanlde all VPN failure  messages
16459                 - (show_warning_dialog): work around focus-stealing prevention
16460
16461         * gnome/applet/other-network-dialog.c
16462           gnome/applet/passphrase-dialog.c
16463                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16464                         problem where it never enabled for ASCII Key and Hex Key types
16465
16466         * gnome/applet/wireless-applet.glade
16467                 - Add window title to Other Wireless Network Dialog
16468
16469         * src/vpn-manager/nm-dbus-vpn.c
16470                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16471                         function to handle all VPN failure messages
16472
16473         * src/vpn-manager/nm-vpn-manager.c
16474                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16475
16476         * vpn-daemons/vpnc/nm-vpnc-service.c
16477                 - (nm_vpnc_dbus_signal_launch_failed): new function
16478                 - (nm_vpnc_dbus_signal_connect_failed): new function
16479                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16480                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16481                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16482                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16483
16484 2005-05-11  Dan Williams  <dcbw@redhat.com>
16485
16486         * vpn-daemons/vpnc/nm-vpnc-service.c
16487                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16488                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16489                         file exists before trying to write it out.
16490
16491 2005-05-10  Dan Williams  <dcbw@redhat.com>
16492
16493     * gnome/applet/applet-dbus-device.c
16494         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16495             prevented just entering ESSID and leaving key and key type up to
16496             NetworkManager (which should have them already cached)
16497
16498 2005-05-08  Dan Williams  <dcbw@redhat.com>
16499
16500         * src/NetworkManagerPolicy.c
16501                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16502                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16503                         fix a situation where NM is told to terminate and the device stops activation,
16504                         but the main thread isn't aware of that because it would never have run
16505                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16506                         had already quit.
16507
16508         * src/NetworkManagerDevice.c
16509                 - (nm_device_probe_wired_link_state): cosmetic fixes
16510                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16511                         we've failed to activate or been canceled.
16512                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16513
16514 2005-05-08  Dan Williams  <dcbw@redhat.com>
16515
16516         * src/NetworkManagerWireless.c
16517                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16518                         value of WEXT quality structures, and add a debug message when we cannot
16519                         determine any quality % at all
16520
16521 2005-05-08  Dan Williams  <dcbw@redhat.com>
16522
16523         * src/dhcp-manager/nm-dhcp-manager.c
16524                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16525                         it goes down.
16526
16527 2005-05-06  Dan Williams  <dcbw@redhat.com>
16528
16529         * gnome/applet/applet-dbus-device.c
16530           gnome/applet/applet-dbus-info.c
16531           gnome/applet/applet-dbus.c
16532           gnome/applet/applet.c
16533           gnome/applet/applet.h
16534                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16535
16536         * gnome/applet/applet-dbus.c
16537                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16538                         so we notice when wired device's carriers come back on.  Should
16539                         fix issue with wired devices being grayed out even if the cable
16540                         is in, for devices that support carrier detection.
16541
16542         * gnome/applet/applet.c
16543                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16544                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16545                         tooltip message
16546                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16547                         Fix situation where applet wouldn't respond to menu selections
16548
16549         * src/NetworkManager.c
16550           src/NetworkManagerDevice.c
16551           src/NetworkManagerDbus.c
16552           src/NetworkManagerDbus.h
16553                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16554
16555         * src/NetworkManagerDbus.c
16556                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16557                         Remove, no longer used or relevant
16558                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16559                 - (nm_dbus_schedule_device_status_change_signal): add
16560
16561         * src/NetworkManagerDevice.c
16562                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16563                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16564                         ie don't deactivate them unless explicitly told to by the user.  Also send
16565                         CARRIER_OFF / CARRIER_ON signals when link changes
16566                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16567                         Don't print error message when device is no longer around
16568                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16569                         not just during activation
16570
16571         * src/NetworkManagerPolicy.c
16572                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16573                         auto-device-selection.
16574                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16575
16576         * src/NetworkManagerSystem.c
16577                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16578                         is no longer present (Bill Moss)
16579
16580         * src/backends/shvar.c
16581                 - (svOpenFile): Open read-only to make SELinux happy
16582
16583         * src/backends/NetworkManagerRedHat.c
16584                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16585                         the path to the ifcfg-* files
16586
16587 2005-05-05  Dan Williams  <dcbw@redhat.com>
16588
16589         * Expose activation stages to NetworkManager clients, like the applet
16590         * Add Diana's progress icons to the applet, cued off NM activation stage
16591         * Use more descriptive tooltips, cued off NM activation stage
16592
16593 2005-05-05  Ray Strode  <rstrode@redhat.com>
16594
16595         * src/nm-netlink-monitor.c:
16596                 - Use clear_event_source instead of g_nullify_pointer() again.
16597
16598 2005-05-05  Dan Williams  <dcbw@redhat.com>
16599
16600         * gnome/applet/main.c
16601                 - Fix session management so the applet is actually managed now
16602
16603         * gnome/applet/passphrase-dialog.c
16604                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16605
16606 2005-05-05  Dan Williams  <dcbw@redhat.com>
16607
16608         Patch from Bill Moss:
16609         * gnome/libnm_glib/libnm_glib.c
16610                 - Fix for dbus-0.33
16611
16612 2005-05-05  Dan Williams  <dcbw@redhat.com>
16613
16614         Suggestion from Bill Moss:
16615         * src/NetworkManagerSystem.c
16616                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16617
16618
16619         * src/NetworkManager.c
16620                 - (nm_data_free): move destruction of the various managers after
16621                         release of device list, because deactivating and freeing a device
16622                         requires at least the named manager
16623                 - (nm_poll_and_update_wireless_link_state):
16624                   (nm_device_link_activated):
16625                   (nm_device_link_deactivated):
16626                         don't grab the device list lock when actually updating device
16627                         link status or strength, since nm_device_set_link_active()
16628                         needs to call nm_get_active_device(), which also locks the device list.
16629
16630         * src/NetworkManagerDevice.c
16631                 - (nm_device_set_link_active): if a device's link switches from off->on,
16632                         and it's wired, and the active device is wireless (or there is no
16633                         active device), activate the new device whose link just came on
16634                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16635                         my only calling the link to the current ap "failed" when more than 2
16636                         consecutive link checks have failed
16637
16638 2005-05-04  Dan Williams  <dcbw@redhat.com>
16639
16640         * src/NetworkManagerDevice.c
16641                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16642                         but let link_to_specific_ap() do the locking where it needs
16643
16644         Patch from Bill Moss:
16645         * src/NetworkManagerSystem.c
16646                 - Set MTU of VPN devices to 1412
16647
16648 2005-05-04  Dan Williams  <dcbw@redhat.com>
16649
16650         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16651
16652         * Fix some holes in device activation and retaining the currently connected
16653                 access point
16654
16655 2005-05-03  Dan Williams  <dcbw@redhat.com>
16656
16657         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16658           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16659           means you need dhcdbd, which you can get here (get the latest one):
16660
16661                 http://people.redhat.com/jvdias/dhcdbd/
16662
16663           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16664           interface as dhcdbd.
16665
16666         * Rewrite device activation to facilitate the new DHCP infrastructure and
16667           future improvements.  Its now "activation request" based, ie there is a single
16668           activation request composed of the device, access point, and other info which
16669           follows the entire activation process.  There are 5 stages of the activation
16670           process which correspond to:
16671
16672                 1) Device preparation
16673                 2) Device configuration (bring it up, set ESSID/Key/etc)
16674                 3) IP Config Start (fire off DHCP if we're using it)
16675                 4) IP Config Get (grab config from DHCP or static config files)
16676                 5) IP Config Commit (set device's IP address, DNS, etc)
16677
16678           Note that there is no longer a "scanning" step, since the access point must
16679           be known _before_ activation starts.  If the access point drops out or does
16680           not exist for some reason, the entire activation process fails and must be
16681           restarted for a different access point or device.
16682
16683         Patch from Bill Moss:
16684         * gnome/applet/applet.c
16685                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16686
16687 2005-04-27  Dan Williams  <dcbw@redhat.com>
16688
16689         * gnome/applet/applet-dbus-vpn.c
16690           gnome/applet/applet.c
16691           gnome/applet/applet.h
16692                 - Fix up active VPN handling so that we reliably know when a VPN
16693                         connection has been deactivated
16694
16695         * src/vpn-manager/nm-vpn-manager.c
16696                 - Remove duplicate VPNConnectionChange signal
16697
16698 2005-04-27  Dan Williams  <dcbw@redhat.com>
16699
16700         Patch from Peter Jones:
16701         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16702
16703         Patch from Bill Moss:
16704         * src/NetworkManagerSystem.c
16705                 - Fix checking of return value from ioctl()
16706
16707 2005-04-27  Dan Williams  <dcbw@redhat.com>
16708
16709         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16710         * Warn and exit if icons cannot be found
16711
16712 2005-04-27  Dan Williams  <dcbw@redhat.com>
16713
16714         Patch from Tom Parker:
16715         * Update debian backend
16716
16717 2005-04-27  Dan Williams  <dcbw@redhat.com>
16718
16719         * Merge the applet and the info-daemon, and move the converged
16720                 applet under gnome/applet
16721         * Move libnm_glib to gnome/libnm_glib
16722         * Convert most dbus calls between the applet, info-daemon, and NM
16723                 into async calls
16724         * Fix a few things valgrind noticed
16725         * Make NM broadcast state more reliably
16726
16727 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16728
16729         * configure.in: Added ne in ALL_LINGUAS
16730
16731 2005-04-15  Dan Williams  <dcbw@redhat.com>
16732
16733         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16734                 code for dbus 0.2x versions
16735
16736 2005-04-15  Dan Williams  <dcbw@redhat.com>
16737
16738         Patches from Tom Parker:
16739         - Fix memleaks
16740         - Join with worker thread rather than polling for its exit
16741
16742         Patch from Bill Moss:
16743         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16744
16745 2005-04-15  Dan Williams  <dcbw@redhat.com>
16746
16747         - Fixes to pass 'make distcheck'
16748
16749 2005-04-15  Dan Williams  <dcbw@redhat.com>
16750
16751         Initial VPN Support
16752                 - supports 'vpnc'
16753                 - reworks device IP configuration, backend files have changed and will need
16754                         to be updated for all distributions.  I will try to do what I can for
16755                         them, but I cannot test them.
16756
16757         - Move named directory to src/named-manager
16758         - Make backends directory self-contained
16759
16760 2005-04-06  Dan Williams  <dcbw@redhat.com>
16761
16762         Add debug code for socket/file descriptor leaks.  We register every socket
16763         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16764         list of sockets that we forgot to close on shutdown.  This also consolidates
16765         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16766
16767 2005-04-06  Dan Williams  <dcbw@redhat.com>
16768
16769         * dhcpcd/dhcpcd.c
16770                 - (dhcp_interface_free): fix a file descriptor leak that may have
16771                         caused network drivers to not unload due to refcounts > 0
16772
16773 2005-04-04  Dan Williams  <dcbw@redhat.com>
16774
16775         * panel-applet/NMWirelessAppletDbus.c
16776                 - (nmwa_dbus_call_nm_method): remove some commented code
16777
16778         * src/NetworkManagerAPList.[ch]
16779                 - (nm_ap_list_remove_ap_by_essid): new function
16780
16781         * src/NetworkManagerDevice.c
16782                 - (nm_device_wireless_force_use): remove access points from the ignore list
16783                         when the user forces them
16784
16785         * src/nm-dbus-device.c
16786                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16787
16788 2005-04-04  Dan Williams  <dcbw@redhat.com>
16789
16790         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16791
16792 2005-04-04  Dan Williams  <dcbw@redhat.com>
16793
16794         * src/NetworkManagerDevice.c:
16795                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16796                         of only erroring after the second consecutive scan times out.  Also
16797                         don't exit when the card requires more time than we can give it, just
16798                         log the event and continue.
16799
16800 2005-04-01  Steve Murphy  <murf@e-tools.com>
16801
16802         * configure.in: Added "rw" to ALL_LINGUAS.
16803
16804 2005-04-01  Dan Williams <dcbw@redhat.com>
16805
16806         Perform scans during device activation, if needed.  Both activation 
16807         and scans run in the same GMainContext.  Therefore, if an access point
16808         is not found by the time the device starts activation, it will not
16809         be available until after activation.  We now try to scan during
16810         activation (in nm_wa_test) every 15s so that all available access
16811         points are more likely to be found and available for the activation
16812         procedure.
16813
16814         Also change nm_wireless_link_state_handle() to only update the "best"
16815         AP if we are not forcing a device and if we are not about to change
16816         state.  This attempts to work around a race when forcing a device,
16817         where the forced AP would get cleared out too soon by the link state
16818         checking timeout in the main thread, and the activation attempt with
16819         that AP would fail.
16820
16821 2005-04-01  Dan Williams <dcbw@redhat.com>
16822
16823         * po/POTFILES.in
16824                 - Update with new translatables
16825
16826 2005-03-31  Dan Williams <dcbw@redhat.com>
16827
16828         * panel-applet/NMWirelessAppletDbus.c
16829                 - Fix device names now that hal has changed device parenting for
16830                         network devices.
16831
16832 2005-03-31  Dan Williams <dcbw@redhat.com>
16833
16834         Tighten up handling of wireless devices that don't support wireless
16835         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16836         hadn't been doing pseudo-scanning for a while either and would just
16837         spin waiting for an access point.  They are now manual devices where
16838         the user must choose the access point from the menu every time.  All
16839         "allowed" access points are listed in the applet's menu regardless
16840         of whether or not they can be seen by the card, since it can't scan
16841         anyway.
16842
16843         * src/NetworkManager.c
16844                 - (nm_wireless_link_state_handle): new function, but only update
16845                         the "best" ap for non-scanning devices when its not activating,
16846                         and when no device is being forced on the card
16847                 - (nm_link_state_monitor): split wireless link state handling out
16848                         into separate function
16849
16850         * src/NetworkManagerDevice.c
16851                 - (nm_device_copy_allowed_to_dev_list): new function
16852                 - (nm_device_new): populate non-scanning cards' AP lists with
16853                         access points from the "allowed" list
16854                 - (nm_device_new): don't start a scanning timeout for devices that
16855                         can't scan
16856                 - (nm_device_activation_schedule_finish): new parameter, should be
16857                         the AP that failed to be connected to, pass it on to the
16858                         activation finish function in NetworkManagerPolicy.c
16859                 - (nm_device_activate_wireless): don't ever try to get a new AP
16860                         for non-scanning devices, just fail.  The user must choose
16861                         a new access point manually.
16862                 - (nm_device_activate): grab the AP that failed connection and
16863                         pass it on
16864                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16865                         a link to it, user must manually choose a new one
16866                 - (nm_device_do_pseudo_scan): remove function
16867                 - (nm_device_wireless_process_scan_results): remove bits for non-
16868                         scanning cards since they never get here
16869                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16870                         and fake the scan list for test devices a bit earlier
16871
16872         * src/NetworkManagerPolicy.c
16873                 - (nm_policy_activation_finish): use the failed_ap that we get
16874                         passed rather than getting the best_ap from the card, which
16875                         may have changed since we were scheduled
16876                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16877                         update their scan list directly from the allowed list when
16878                         we get updates to the allowed list from NetworkManagerInfo
16879
16880         * src/NetworkManagerPolicy.h
16881                 - New member for failed access point in NMActivationResult
16882
16883   -------------------------------------
16884
16885         Driver Notification patch: notifies the user when their driver
16886                 sucks.  Gives them the option to ignore further insertions
16887                 of the card that has the sucky driver.
16888
16889         * NetworkManager.h
16890                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16891                         enum and replace it with NO_CARRIER_DETECT and
16892                         NO_WIRELESS_SCAN
16893
16894         * panel-applet/NMWirelessApplet.[ch]
16895                 - Merge essid.glade -> wireless-applet.glade
16896                 - Implement the "Your driver sucks" notification dialog
16897
16898         * panel-applet/NMWirelessAppletDbus.c
16899                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16900                 - Grab hardware address for each device from NM too
16901                 - Check whether the driver for each device sucks or not whenever
16902                         a new device is noticed
16903
16904         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16905                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16906
16907         * src/NetworkManager.c
16908                 - Fix a double-unref on device removal
16909
16910         * src/NetworkManagerUtils.c
16911                 - Set appropriate driver support level on a device that doesn't
16912                         support scanning or carrier detection
16913
16914         * src/nm-dbus-device.c
16915                 - New "getHWAddress" dbus method on devices
16916                 - getSupportsCarrierDetect -> getDriverSupportLevel
16917
16918 2005-03-31  Dan Williams <dcbw@redhat.com>
16919
16920         * src/NetworkManagerDevice.c
16921                 - (nm_device_wireless_scan): Fix leak of scan results in some
16922                         instances
16923
16924 2005-03-29  Dan Williams <dcbw@redhat.com>
16925
16926         * src/NetworkManager.c
16927                 - (nm_poll_and_update_wireless_link_state): make code less indented
16928
16929         Patch from Bill Moss:
16930         * src/NetworkManager.c
16931                 - (nm_device_update_link_state): Update signal strength on wireless
16932                         devices every time we update link state too.
16933
16934 2005-03-29  Dan Williams <dcbw@redhat.com>
16935
16936         * src/NetworkManagerDevice.c
16937                 - (nm_device_set_essid): Work around Orinoco cards which need
16938                         extra time after setting the ESSID
16939
16940 2005-03-29  Dan Williams <dcbw@redhat.com>
16941
16942         * src/NetworkManagerDevice.c
16943                 - Merge one more bit of Peter Jones' completion patch
16944
16945 2005-03-29  Dan Williams <dcbw@redhat.com>
16946
16947         * src/NetworkManagerDevice.c
16948                 - (nm_device_force_use): Fix possible segfault
16949
16950 2005-03-29  Dan Williams <dcbw@redhat.com>
16951
16952         * src/NetworkManagerDevice.c
16953                 - Use iw_get_ext() where we should rather than iw_set_ext()
16954
16955 2005-03-29  Dan Williams <dcbw@redhat.com>
16956
16957         * src/NetworkManagerDevice.c
16958                 - (nm_device_set_up_down): remove check for unsupported devices
16959                         that caused NM to not bring devices up when they were
16960                         added to the device list.
16961
16962 2005-03-28  Dan Williams <dcbw@redhat.com>
16963
16964         * src/NetworkManagerDevice.c
16965                 - (mdio_read): Fix two bugs that caused all devices to fail
16966                         the MII carrier detection support checks
16967
16968 2005-03-26  Dan Williams <dcbw@redhat.com>
16969
16970         * src/NetworkManagerDevice.c
16971                 - (nm_device_wireless_scan): Remove duplicated scanning code
16972
16973 2005-03-25  Dan Williams <dcbw@redhat.com>
16974
16975         * panel-applet/NMWirelessApplet.c
16976                 - (nmwa_about_cb): Add some more contributors
16977                 - (nmwa_update_state): show the applet when there's no connection
16978                 - Enable the "Stop/Resume all wireless devices" option in the
16979                         context menu
16980                 - New "no connection" icon
16981
16982         * src/NetworkManager.c
16983                 - (nm_poll_and_update_wireless_link_state): don't do anything if
16984                         wireless is disabled or we're asleep
16985
16986         * src/NetworkManagerDHCP.c
16987                 - Remove trailing "\n" on debug messages
16988
16989         * src/NetworkManagerDbus.c
16990                 - (nm_dbus_network_status_from_data): new state "asleep"
16991
16992         * src/NetworkManagerDevice.c
16993                 - Merge most of Peter Jones' "completion" patch that greatly reduces
16994                         latency and wait times for most operations
16995                 - (nm_device_wireless_scan): Don't scan when asleep
16996
16997         * src/NetworkManagerPolicy.c
16998                 - (nm_policy_get_best_device): return no device when asleep
16999                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17000                         for all wireless devices on update, not just active device
17001
17002         * src/NetworkManagerUtils.c
17003                 - Merge Peter Jones' "completion" patch
17004
17005         * src/nm-dbus-nm.c
17006                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17007                         we're told to disable them
17008                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17009
17010         * utils/nm-utils.h
17011                 - New variants of the warn/info/error/debug print functions that can take
17012                         variables rather than static strings
17013
17014 2005-03-24  Dan Williams <dcbw@redhat.com>
17015
17016         * src/NetworkManagerUtils.c
17017                 - (nm_get_device_driver_name): driver names are now on the parents of
17018                         "Network Interface" objects, so look for them there
17019
17020 2005-03-24  Dan Williams <dcbw@redhat.com>
17021
17022         * test/nmtest.c
17023                 - Escape some forgotten object paths before we shove them through dbus
17024
17025 2005-03-24  Dan Williams <dcbw@redhat.com>
17026
17027         * dhcpcd/dhcpcd.[ch]
17028           src/NetworkManagerDHCP.c
17029                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17030                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17031
17032         * src/NetworkManagerDbus.c
17033                 - spacing cleanups
17034
17035         * src/nm-dbus-dhcp.c
17036                 - Make the API suck less.  There is now only 1 type of each function,
17037                         ie only "getInteger" and no longer also "getIntegerv".  All types
17038                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17039                         that will never have more than 1 element.  This should simplify
17040                         things greatly.
17041
17042         * test/nm-dhcp-opt-test.c
17043                 - Make the tool not segfault
17044                 - adapt to new DHCP Options API
17045
17046 2005-03-22  Dan Williams <dcbw@redhat.com>
17047
17048         * src/NetworkManager.c
17049                 - (nm_wired_link_deactivated): actually ignore netlink events from
17050                         wireless devices.
17051
17052 2005-03-22  Dan Williams <dcbw@redhat.com>
17053
17054         * src/NetworkManager.c
17055                 - (nm_wired_link_activated): actually ignore netlink events from
17056                         wireless devices.
17057
17058 2005-03-17  Dan Williams <dcbw@redhat.com>
17059
17060         Patch from Tom Parker:
17061         * src/nm-netlink-monitor.c
17062                 - Include unistd.h
17063         * info-daemon/NetworkManagerInfoDbus.c
17064                 - (nmi_dbus_update_network_auth_method): free GConf values
17065
17066         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17067         * src/NetworkManagerDevice.c
17068                 - (nm_device_set_wireless_config): wait for successful
17069                         association longer for some cards (Atheros a/b/g)
17070
17071 2005-03-15  Ray Strode  <rstrode@redhat.com>
17072
17073         * src/NetworkManager.c:
17074         (sigterm_pipe_handler):
17075         remove bogus FIXME
17076
17077 2005-03-15  Ray Strode  <rstrode@redhat.com>
17078
17079         * src/NetworkManagerDbus.c:
17080         Fix some sign weirdness that gcc4 doesn't like,
17081         and add a header file so PPC can hopefully find
17082         SIGTRAP
17083
17084 2005-03-14  Ray Strode  <rstrode@redhat.com>
17085         
17086         Fourth (probably working) cut at porting to
17087         dbus 0.30 api and new hal. This cut adds
17088         some new logging macros to make debugging
17089         easier.
17090
17091         * dispatcher-daemon/NetworkManagerDispatcher.c:
17092         * info-daemon/NetworkmanagerInfo.c:
17093         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17094         * info-daemon/NetworkManagerInfoVPN.c:
17095         * src/NetworkManager.c:
17096         * src/NetworkManagerAP.c:
17097         * src/NetworkManagerAPList.c:
17098         * src/NetworkManagerDHCP.c:
17099         * src/NetworkManagerDbus.c:
17100         * src/NetworkManagerDevice.c:
17101         * src/NetworkManagerPolicy.c:
17102         * src/NetworkManagerSystem.c:
17103         * src/NetworkManagerUtils.c:
17104         * src/NetworkManagerWireless.c:
17105         * src/autoip.c:
17106         * src/nm-dbus-nm.c:
17107         * src/backends/NetworkManagerDebian.c:
17108         * src/backends/NetworkManagerGentoo.c:
17109         * src/backends/NetworkManagerRedHat.c:
17110         * src/backends/NetworkManagerSlackware.c:
17111         use new logging macros.
17112
17113         * dispatcher-daemon/NetworkManagerDispatcher.c:
17114         (nmd_dbus_filter): s/dbus_free/g_free/
17115
17116         * info-daemon/Makefile.am: link in utils library.
17117         * info-daemon/NetworkmanagerInfo.c: use new logging 
17118         macros.
17119         (nmi_dbus_get_network): don't assume enumerations
17120         are 32-bit.
17121         (nmi_dbus_nmi_message_handler): don't free what 
17122         doesn't belong to us.
17123
17124         * libnm_glib/libnm_glib.c:
17125         (libnm_glib_get_nm_status): 
17126         (libnm_glib_init): don't free what doesn't
17127         belong to us.
17128         (libnm_glib_dbus): strdup result, so it doesn't get
17129         lost when message is unref'd.
17130
17131         * panel-applet/NMWirelessAppletDbus.c:
17132         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17133
17134         * src/NetworkManager.c:
17135         (nm_monitor_wired_link_state): request initial status 
17136         dump of all cards when we start up, instead of relying
17137         on /sys/.../carrier.
17138         (nm_info_handler), (nm_set_up_log_handlers): 
17139         log handlers to specify what syslog priorites 
17140         the logging macros default to.
17141
17142         * src/NetworkManagerAPList.c: 
17143         (nm_ap_list_populate_from_nmi):
17144         s/dbus_free_string_array/g_strfreev/
17145
17146         * src/NetworkManagerDbus.c:
17147         (nm_dbus_get_network_object):
17148         validate d-bus message argument types.
17149         Advance message iterator after reading argument,
17150         prepend instead of append to GSList.
17151
17152         * src/NetworkManagerDevice.c:
17153         (nm_device_probe_wired_link_status):
17154         remove redundant /sys in /sys path. remove wrong
17155         contents == NULL means has carrier assumption.
17156
17157         * src/nm-netlink-monitor.c 
17158         (nm_netlink_monitor_request_status): implement
17159         function to ask kernel to dump interface link
17160         status over netlink socket.
17161
17162         * test/*.c: s/dbus_free/g_free/
17163
17164         * utils/nm-utils.h:
17165         (nm_print_backtrace): new macro to print backtrace.
17166         (nm_get_timestamp): new macro to get sub-second precise
17167         unix timestamp.
17168         (nm_info), (nm_debug), (nm_warning), (nm_error):
17169         new logging functions. nm_info just prints,
17170         nm_debug includes timestamp and function,
17171         nm_warning includes function, nm_error includes
17172         backtrace and sigtrap.
17173
17174 2005-03-11  Ray Strode  <rstrode@redhat.com>
17175
17176         Third (unfinished, partially working) cut at porting to 
17177         dbus 0.30 api and new hal.
17178
17179         * info-daemon/NetworkManagerInfoDbus.c:
17180                 don't free null arrays.
17181
17182         * panel-applet/NMWirelessAppletDbus.c: 
17183         * src/nm-dbus-device.c:
17184         * src/nm-dbus-net.c: 
17185         * src/NetworkManagerDbus.c: more 
17186         STRING -> OBJECT_PATH fun
17187         * src/NetworkManagerDevice.c:
17188         * src/NetworkManagerDevice.h:
17189         (rename nm_device_get_link_active): rename to 
17190         nm_device_has_active_link
17191         (nm_device_wireless_link_active): rename to
17192         nm_device_probe_wireless_link_state
17193         (nm_device_wired_link_active): rename to
17194         nm_device_probe_wired_link_state.  Rewrite to
17195         use carrier file since hal doesn't maintain
17196         link state anymore.
17197         (nm_device_update_link_active): rename to
17198         nm_device_update_link_state
17199         * src/NetworkManagerPolicy.c 
17200           (nm_policy_activation_finish): check for NULL
17201           MAC address.
17202
17203         * src/Makefile.am:
17204         * src/NetworkManagerMain.h: 
17205         * src/NetworkManager.c:
17206         * src/nm-netlink-monitor.c:
17207         * src/nm-netlink-monitor.h: New class to support
17208         monitoring wired ethernet link status, since HAL
17209         doesn't export that information anymore.
17210
17211 2005-03-09  Ray Strode  <rstrode@redhat.com>
17212
17213         Second (unfinished, unworking) cut at porting to 
17214         dbus 0.30 api.
17215
17216         * dispatcher-daemon/NetworkManagerDispatcher.c:
17217         * info-daemon/NetworkManagerInfoDbus.c:
17218         * panel-applet/NMWirelessAppletDbus.c:
17219         * src/NetworkManagerDbusUtils.c:
17220         * src/NetworkManagerDbusUtils.h:
17221         * src/nm-dbus-device.c:
17222         * src/nm-dbus-nm.c:
17223         * test/nmtest.c: support dbus "object path" type
17224
17225         * configure.in: 
17226         * Makefile.am:
17227         * info-daemon/Makefile.am:
17228         * libnm_glib/Makefile.am:
17229         * panel-applet/Makefile.am:
17230         * dispatcher-daemon/Makefile.am
17231         * src/Makefile.am:
17232         * test/Makefile.am:
17233         * utils/Makefile.am: 
17234         * utils/nm-utils.c: 
17235         * utils/nm-utils.h: new utils static lib
17236
17237 2005-03-07  Ray Strode  <rstrode@redhat.com>
17238
17239         * info-daemon/NetworkManagerInfoDbus.c:
17240         * libnm_glib/libnm_glib.c:
17241         * panel-applet/NMWirelessAppletDbus.c:
17242         * src/NetworkManager.c:
17243         * src/NetworkManagerDbus.c:
17244         * src/NetworkManagerDevice.c:
17245         * src/NetworkManagerUtils.c:
17246         * src/nm-dbus-device.c:
17247         * src/nm-dbus-dhcp.c:
17248         * src/nm-dbus-net.c:
17249         * src/nm-dbus-nm.c:
17250         * test/nminfotest.c:
17251         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17252
17253 2005-03-04  Dan Williams  <dcbw@redhat.com>
17254
17255         * configure.in
17256                 - Mark HEAD as 0.4
17257
17258 2005-03-04  Dan Williams  <dcbw@redhat.com>
17259
17260         Patch from Peter Jones:
17261         - Make stuff work with gcc 4.0
17262
17263 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17264
17265         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17266
17267 2005-02-27  Jim Huang  <jserv@kaffe.org>
17268
17269         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17270
17271 2005-02-27  Dan Williams  <dcbw@redhat.com>
17272
17273         Patch from Bill Moss:
17274         * panel-applet/NMWirelessAppletDbus.c
17275                 - Make sure strength for current access point is up-to-date when we
17276                         update the gui data model
17277
17278 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17279
17280         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17281
17282 2005-02-27  Dan Williams  <dcbw@redhat.com>
17283
17284         * src/backends/NetworkManagerRedHat.c
17285                 - (nm_system_init): Kill any dhclient processes lying around as well
17286                         as stopping 'nifd' if its already been started.  NetworkManager
17287                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17288
17289 2005-02-27  Dan Williams  <dcbw@redhat.com>
17290
17291         * panel-applet/NMWirelessApplet.c
17292                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17293                         dbus data model, not the GUI data model twice.
17294
17295 2005-02-27  Dan Williams  <dcbw@redhat.com>
17296
17297         * panel-applet/NMWirelessApplet.[ch]
17298           panel-applet/NMWirelessAppletDbus.[ch]
17299                 - Move to incremental network updates.  Instead of blowing away our list
17300                         of devices every time we get a signal from NetworkManager, we now
17301                         incrementally add/remove networks when NetworkManager notifies us that
17302                         a new network has appeared or disappered.  Strength updates now happen
17303                         on-the-fly for each access point as well.  There are now two copies of
17304                         data from NetworkManager: one for the dbus side, and one for the gui side.
17305                         When the dbus side data is modified, it is copied over to the gui side
17306                         so we don't have to hold the data_mutex for long periods of time (and
17307                         therefore block animation of the applet's icon).
17308                 - Clean up some memleaks too
17309
17310         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17311                 - Minor code beautification
17312
17313         * src/NetworkManagerAPList.c
17314                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17315                         completely new and whether or not an existing one's strength was updated.
17316                         Try to fix multiple access points and signal strength by using the highest
17317                         signal strength in each scan for any given ESSID.
17318
17319         * src/NetworkManagerDbus.[ch]
17320                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17321                         wireless networks; now we have only WirelessNetworkUpdate which includes
17322                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17323                 - Kill usage of DbusMessageIter
17324
17325         * src/NetworkManagerDevice.c
17326                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17327                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17328                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17329                         currently associated with from the network list.
17330                 - Update for new signals during scan, send out Appeared, Disappeared, or
17331                         StrengthChanged when necessary.
17332
17333 2005-02-25  Dan Williams  <dcbw@redhat.com>
17334
17335         * README
17336                 - Line break the README
17337
17338 2005-02-25  Dan Williams  <dcbw@redhat.com>
17339
17340         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17341                 - Remove usage of gtk_window_set_default_size()
17342
17343         * panel-applet/essid.glade
17344                 - Stick default size here
17345                 - Add in random crap that current glade wants to add in now
17346
17347 2005-02-25  Dan Williams  <dcbw@redhat.com>
17348
17349         * src/backends/NetworkManagerRedHat.c
17350                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17351                         and that we actually tell nscd to reload the hosts cache when it changes
17352
17353 2005-02-25  Dan Williams  <dcbw@redhat.com>
17354
17355         * info-daemon/NetworkManagerInfoDbus.c
17356                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17357
17358         * test/nminfotest.c
17359                 - Whack usage of DbusMessageIter
17360                 - Clean up DbusError and DbusMessage handling and freeing
17361                 - Remove unused unregister handler
17362
17363         * test/nmtest.c
17364                 - Whack usage of DbusMessageIter
17365
17366         * test/nmtestdevices.c
17367                 - Whack usage of DbusMessageIter
17368
17369 2005-02-25  Dan Williams  <dcbw@redhat.com>
17370
17371         * NetworkManager.h
17372                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17373                         signal
17374
17375 2005-02-25  Dan Williams  <dcbw@redhat.com>
17376
17377         * named/nm-named-manager.c
17378                 - Ensure that pid and watch variables for child named process get cleared out
17379                         when the child goes away.
17380
17381 2005-02-22  Dan Williams  <dcbw@redhat.com>
17382
17383         * src/NetworkManagerPolicy.c
17384                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17385                         and NULL out data->active_device so that we have to choose another one.
17386                         This may make NetworkManager keep attempting to connect to a wired network
17387                         if it fails, but if it keeps failing the wired network has more problems than
17388                         just NetworkManager.
17389
17390         * src/backends/NetworkManagerRedHat.c
17391                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17392                         is already running
17393
17394         * named/nm-named-manager.c
17395                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17396                         named so that the distro can flush whatever name service caching
17397                         daemon it uses
17398
17399 2005-02-21  Dan Williams  <dcbw@redhat.com>
17400
17401         * src/NetworkManagerDHCP.[ch]
17402                 - (nm_device_dhcp_remove_timeouts): new function
17403
17404         * src/NetworkManagerDevice.c
17405                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17406                         remove the DHCP timeouts.
17407
17408 2005-02-21  Dan Williams  <dcbw@redhat.com>
17409
17410         * panel-applet/NMWirelessApplet.[ch]
17411           panel-applet/menu-info.[ch]
17412                 - Give the panel applet some major love: menu items are no longer
17413                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17414                         This allows the applet to actually reflect theme changes correctly,
17415                         since themeing of subclassed items in GTK _sucks_.
17416
17417 2005-02-18  Dan Williams  <dcbw@redhat.com>
17418
17419         * libnm_glib/libnm_glib.[ch]
17420           test/libnm_glib_test.c
17421                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17422                         and its data, and doesn't have to free the callback data anymore
17423
17424 2005-02-18  Dan Williams  <dcbw@redhat.com>
17425
17426         * panel-applet/NMWirelessApplet.c
17427                 - Revert 2005-02-18 William Jon McCann fix for standard
17428                         copyright string until it passes 'make distcheck'.
17429                         With standard copyright string, xgettext complains
17430                         about "Non-ASCII string at ...".
17431
17432 2005-02-18  Dan Williams  <dcbw@redhat.com>
17433
17434         * panel-applet/essid.glade
17435           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17436                 - Correct spelling of "adaptor"->"adapter"
17437
17438 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17439
17440         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17441         (nmwa_about_cb): Use standard copyright string.  Update comment
17442         text to reflect that it is a notification area applet.  Remove
17443         leading newline in authors list.
17444         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17445         instead of on parent menu item activation.  Fixes #167550.
17446
17447 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17448
17449         * panel-applet/essid.glade: Capitalize items as per HIG.
17450           Fixes #167632
17451
17452 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17453
17454         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17455         files for GTK 2.4 or lower, since now public in GTK 2.6.
17456
17457         * panel-applet/essid.glade: Don't specify window size.
17458         
17459 2005-02-17  Dan Williams  <dcbw@redhat.com>
17460
17461         Caught by Bill Moss:
17462         * dhcpcd/client.c
17463                 - Time remaining for DHCP transaction calculation was incorrectly
17464                         inside a #ifdef DEBUG
17465
17466 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17467
17468         * configure.in: Added fr (French) to ALL_LINGUAS.
17469
17470 2005-02-14  Dan Williams  <dcbw@redhat.com>
17471
17472         * src/NetworkManagerDHCP.c
17473                 - (set_domain_searches): Fix free of invalid pointer
17474
17475 2005-02-14  Dan Williams  <dcbw@redhat.com>
17476
17477         Patch from Peter Jones:
17478         * dhcpcd/client.c
17479                 - Ensure we return RET_DHCP_CEASED everywhere we should
17480         * dhcpcd/udpipgen.c
17481                 - Use faster TOS for IP packets
17482                 - Don't set ip_id since we're UDP
17483
17484         Patch from Tomislav Vujec:
17485         * src/nm-dbus-dhcp.c
17486           test/nm-dhcp-opt-test.c
17487                 - Clean up warnings to enable cvs tree compilation.
17488
17489 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17490
17491         * configure.in
17492           po/hr.po
17493                 - Add the Croatian locale.
17494
17495 2005-02-14  Colin Walters  <walters@verbum.org>
17496
17497         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17498         list of domains to search.
17499         
17500         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17501
17502 2005-02-13  Dan Williams  <dcbw@redhat.com>
17503
17504         * dhcpcd/client.c
17505                 - Debug output cleanups of DHCP option printing and parsing.
17506
17507 2005-02-13  Dan Williams  <dcbw@redhat.com>
17508
17509         Patch from Dan Reed:  DHCP options D-BUS API
17510                 Exposes the DHCP options that a device receives to clients over D-BUS.
17511
17512         * configure.in
17513                 - A few cleanups
17514
17515         * dhcpcd/client.h
17516                 - Correct names, option length, and types for DHCP options
17517
17518         * dhcpcd/dhcpcd.[ch]
17519                 - Clarify function names that access DHCP options & data
17520
17521         * src/NetworkManagerDHCP.c
17522                 - Use new DHCP data access functions
17523
17524         * src/NetworkManagerDbus.c
17525                 - Message handler for DHCP functions
17526
17527         * src/nm-dbus-dhcp.[ch] (new)
17528                 - DHCP dbus methods
17529
17530         * test/nm-dhcp-opt-test.c
17531                 - Test DHCP D-BUS API and return all present DHCP options
17532
17533 2005-02-12  Dan Williams  <dcbw@redhat.com>
17534
17535         * test/Makefile.am
17536           test/nmclienttest.c
17537           test/nmtest.c
17538                 - Move nmclienttest.c -> nmtest.c
17539
17540 2005-02-12  Dan Williams  <dcbw@redhat.com>
17541
17542         * dhcpcd/buildmsg.c
17543                 - Pad DHCP packets until they are at least 300 bytes in size.
17544
17545 2005-02-11  Dan Williams  <dcbw@redhat.com>
17546
17547         * dhcpcd/client.c
17548                 - (dhcp_init): only print out client ID and class ID if they are specified
17549
17550         * src/NetworkManagerDbus.[ch]
17551           src/nm-dbus-nm.[ch]
17552           src/nm-dbus-device.[ch]
17553           src/nm-dbus-net.[ch]
17554                 - Move NM, Device, and Net functions to separate files and use the
17555                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17556                         method dispatching
17557
17558         * src/NetworkManagerDbusUtils.c
17559                 - Add new validate_method called before each dispatch (if present)
17560                         that can validate the method call
17561
17562         * src/NetworkManagerWireless.c
17563                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17564                         levels never to be evaluated
17565
17566         Patch from j@bootlab.org
17567         * src/NetworkManagerDevice.c
17568                 - Add typedef for "u64"
17569
17570         * src/backends/NetworkManagerDebian.c
17571                 - Copy in Dave Woodhouse's fixes for IPv6
17572
17573 2005-02-11  Dan Williams  <dcbw@redhat.com>
17574
17575         Patch from Dave Woodhouse for IPv6:
17576         * src/NetworkManagerUtils.c
17577                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17578                         and multicast addresses
17579
17580         * src/NetworkManagerDevice.c
17581                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17582                         after bringing up a card.
17583
17584 2005-02-10  Dan Williams  <dcbw@redhat.com>
17585
17586         Patch from Dave Woodhouse:
17587         * src/NetworkManagerSystem.h
17588           src/backends/NetworkManagerDebian.c
17589           src/backends/NetworkManagerGentoo.c
17590           src/backends/NetworkManagerSlackware.c
17591                 - New nm_system_device_add_ip6_link_address() function to add link-local
17592                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17593
17594         * src/backends/NetworkManagerRedHat.c
17595                 - (nm_system_device_add_ip6_link_address): implement
17596                 - (nm_system_device_flush_addresses): revert to previous behavior of
17597                         flushing all addresses
17598
17599 2005-02-10  Dan Williams  <dcbw@redhat.com>
17600
17601         Patch from Tom Parker:
17602         * src/NetworkManagerDevice.c
17603                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17604                         mii.h headers are broken, and instead use our own typedefs
17605
17606 2005-02-10  Dan Williams  <dcbw@redhat.com>
17607
17608         * dhcpcd/buildmsg.c
17609                 - (fill_host_and_class_id): only fill in client and class IDs if
17610                         they are set by callers.
17611
17612         * dhcpcd/client.c
17613                 - (class_id_setup): don't autogenerate a class ID, only use one
17614                         we're given, if any.
17615                 - (client_id_setup): don't autogenerate a client ID, only use one
17616                         we're given, if any.
17617
17618         * dhcpcd/dhcpcd.c
17619                 - (dhcp_interface_init): ensure that client options are correctly
17620                         NULL terminated
17621
17622         * src/NetworkManagerDHCP.c
17623                 - (nm_device_dhcp_request): pass hostname to dhcp library
17624
17625 2005-02-10  Dan Williams  <dcbw@redhat.com>
17626
17627         * dhcpcd/client.c
17628                 - #rh147661# Don't send kernel version in DHCP requests
17629
17630         * src/NetworkManagerSystem.h
17631           src/backends/NetworkManagerDebian.c
17632           src/backends/NetworkManagerGentoo.c
17633           src/backends/NetworkManagerRedHat.c
17634           src/backends/NetworkManagerSlackware.c
17635                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17636                         functions, they are no longer used anyway
17637
17638         * src/backends/NetworkManagerRedHat.c
17639                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17640                         addresses in an attempt to keep IPv6 local-scope addresses around
17641
17642 2005-02-10  Dan Williams  <dcbw@redhat.com>
17643
17644         * src/NetworkManager.c
17645                 - (nm_create_device_and_add_to_list): change the add message slightly
17646
17647         * src/NetworkManagerUtils.c
17648                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17649                         Return driver name to calling function
17650                 - (nm_get_driver_support_level): print out the driver a device is using
17651                         during the support check
17652
17653         Patch from Dave Woodhouse:
17654         * dhcpcd/udpipgen.c
17655                 - (in_cksum): copy last byte of odd-sized packets into a
17656                         'u_short' rather than a 'u_char', should fix wrong checksums
17657                         on big-endian platforms
17658
17659 2005-02-09  Dan Williams  <dcbw@redhat.com>
17660
17661         * Clean up usage of GSList objects and looping through their members
17662         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17663                 now.
17664         * Fix problem where even if scanning was turned off, card would still
17665                 cycle through frequencies.
17666
17667 2005-02-08  Dan Williams  <dcbw@redhat.com>
17668
17669         * panel-applet/NMWirelessApplet.c
17670                 - Fix for gtk 2.4
17671
17672 2005-02-08  Dan Williams  <dcbw@redhat.com>
17673
17674         Patch from Bill Moss
17675         * panel-applet/NMWirelessApplet.c
17676                 - Restore correct ESSID in tooltips
17677
17678 2005-02-07  Dan Williams  <dcbw@redhat.com>
17679
17680         * panel-applet/NMWirelessApplet.[ch]
17681                 - Add a context menu that contains:
17682                         Pause/Resume Wireless Scanning
17683                         Stop/Start All Wireless Devices
17684                         About...
17685                 - Grab active device strength off active device,
17686                         not its network
17687
17688         * panel-applet/NMWirelessAppletDbus.[ch]
17689                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17690                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17691                 - Update active device strength every 2 seconds, not every 1 second
17692
17693         * panel-applet/menu-info.c
17694                 - Only disable wired devices in the menu when they support carrier detection,
17695                         and don't currently have a link.  Non-carrier-detect devices will always
17696                         remain choosable
17697
17698         * src/Makefile.am
17699           src/NetworkManagerDbusUtils.[ch]
17700                 - Add new new dbus utils sources
17701
17702         * src/NetworkManager.c
17703                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17704                         with the boolean parameter
17705                 - Set scanning_enabled & wireless_enabled to TRUE
17706
17707         * src/NetworkManagerDbus.c
17708                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17709                 - Implement scanning & wireless enable/disable calls
17710                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17711
17712         * src/NetworkManagerDevice.c
17713                 - New link detection stuff again...
17714                         o  Create device's mainloop earlier (but don't run it earlier)
17715                         o  Hook up new carrier-detect support stuff
17716                         o  Add in the ethtool & mii support detection code
17717                 - Don't scan if scanning is disabled
17718
17719         * src/NetworkManagerPolicy.c
17720                 - Never automatically choose a device that doesn't support carrier detection
17721                 - Don't automatically choose a wireless device if wireless is disabled
17722
17723 2005-02-07  Dan Williams  <dcbw@redhat.com>
17724
17725         * libnm_glib/libnm_glib.c
17726                 - Small cleanup in element list iteration
17727
17728 2005-02-07  Dan Williams  <dcbw@redhat.com>
17729
17730         * src/NetworkManagerWireless.c
17731                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17732                         to be in line with the WEXT quality specification
17733
17734 2005-02-02  Dan Williams  <dcbw@redhat.com>
17735
17736         Patch from Nathan Fredrickson <nathan@silverorange.com>
17737         * Fix up compile for deprecation of libgnomeui
17738                 - Switch to <glib/gi18n.h> from <libintl.h>
17739                 - Remove <libgnomeui/libgnomeui.h> includes
17740                 - Use gtk_window_set_default_icon_from_file() rather than
17741                         gnome_window_set_default_icon_from_file()
17742
17743         * named/nm-named-manager.c
17744                 - (generate_named_conf): Fix return-nothing in non-void
17745                         function
17746
17747 2005-02-02  Dan Williams  <dcbw@redhat.com>
17748
17749         * Clean up unused variables and the like
17750
17751 2005-02-02  Dan Williams  <dcbw@redhat.com>
17752
17753         * src/NetworkManagerAPList.c
17754                 - (nm_ap_list_merge_scanned_ap): merge strength too
17755
17756         * src/NetworkManagerUtils.c
17757                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17758                         of locking issues by printing out prettier information than g_mutex_lock
17759                 - Print out names of mutexes registered with nm_register_mutex_desc()
17760                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17761                         us to seemingly block here for too long
17762
17763         * src/NetworkManager.c
17764           src/NetworkManagerAPList.c
17765           src/NetworkManagerDevice.c
17766                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17767                         so we get better debug information printed
17768
17769         * src/NetworkManagerDbus.c
17770                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17771                         since it sometimes has locking side effects
17772                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17773                         from 10s
17774                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17775                         we don't need a switch.  This gets called often enough that we can't block
17776                         until the scan mutex is acquired, because we'll block on device activation
17777                         and a few other things, which hangs main thread for too long.
17778
17779         * src/NetworkManagerPolicy.c
17780                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17781                         nm_device_need_ap_switch() will be called               
17782
17783 2005-02-02  Dan Williams  <dcbw@redhat.com>
17784
17785         * panel-applet/NMWirelessApplet.c
17786                 - Display name of wireless network we are connecting to or connected to
17787                         in the tooltip of the applet
17788
17789 2005-02-02  Dan Williams  <dcbw@redhat.com>
17790
17791         * src/NetworkManagerDHCP.c
17792                 - Hopefully fix double-default-route problem by cleaning up the default
17793                         route added by DHCP code right before the DHCP transaction begins
17794
17795 2005-02-02  Dan Williams  <dcbw@redhat.com>
17796
17797         * named/nm-named-manager.c
17798                 - Write out valid resolv.conf when we exit
17799
17800 2005-02-01  Dan Williams  <dcbw@redhat.com>
17801
17802         Patch from Colin Walters:
17803         * named/nm-named-manager.c
17804                 - Make multi-domain search options work
17805
17806 2005-01-31  Dan Williams  <dcbw@redhat.com>
17807
17808         * info-daemon/NetworkManagerInfoDbus.c
17809                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17810
17811         * src/NetworkManagerDevice.c
17812                 - (nm_device_new): Don't store the entire range struct, use only what we need
17813                         (which is currently avg_quality, max_quality, and frequencies).  Also
17814                         zero device structure when we've free'd it to maybe expose errors down
17815                         the line.
17816                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17817                         quality data from the card since quality will be useless during a scan.
17818                         Call updated wireless qual-to-percent function with values stored in
17819                         nm_device_new() earlier.
17820                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17821                         nm_device_get_bad_crypt_packets())
17822                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17823                         nm_device_new()
17824                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17825                         list if available.  Problem was this: when the WEP key is wrong, NM will
17826                         try OS then SK modes, and then get stuck in SK mode after that.  This
17827                         should reset it.
17828                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17829                         function
17830
17831         * src/NetworkManagerWireless.c
17832                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17833                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17834                         if that's all present, otherwise fall back to signal-to-noise ratios.
17835
17836 2005-01-29  Dan Williams  <dcbw@redhat.com>
17837
17838         * initscript/RedHat/NetworkManager
17839                 - Don't spit out sysctl stuff to console
17840
17841         * libnm_glib/libnm_glib.c
17842                 - (libnm_glib_init): call dbus_g_thread_init()
17843
17844         * panel-applet/NMWirelessAppletDbus.c
17845                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17846
17847         * src/NetworkManager.c
17848                 - (main): call dbus_g_thread_init()
17849
17850         * src/NetworkManagerAPList.c
17851                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17852                         so we can actually see what's there in a normal syslog
17853
17854         * src/NetworkManagerDevice.c
17855                 - (nm_device_activate_wireless): print out the "waiting for access point"
17856                         message only once, then say what access point we actually got after
17857                         the wait.
17858                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17859                         function, wait until the scan is done.  Scans may change the ESSID of
17860                         the card, making this function think we need to switch access points
17861                 - (nm_device_wireless_process_scan_results): for artificial access points
17862                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17863                         prevents collisions with the scanning code, which may change the card's
17864                         ESSID and cause the access point to get dropped from the device's AP
17865                         list.  Also increase the keep-around time to 2m from 60s since the max
17866                         scan interval could be 60s in some cases.
17867
17868         * src/NetworkManagerPolicy.c
17869                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17870                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17871                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17872                         between NM and NMI.
17873
17874 2005-01-27  Dan Williams  <dcbw@redhat.com>
17875
17876         * info-daemon/NetworkManagerInfoDbus.c
17877                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17878                         GConf, make a minimal entry for it (essid & timestamp)
17879
17880         * src/NetworkManagerAPList.c
17881                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17882                         NetworkManagerInfo isn't running
17883
17884         * src/NetworkManagerDbus.[ch]
17885                 - (nm_dbus_nmi_is_running): new function
17886
17887         * src/NetworkManagerDevice.c
17888                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17889                         address to garbage.
17890
17891         * src/NetworkManagerPolicy.c
17892                 - (nm_policy_activation_finish): On successful activation, make sure
17893                         the "best" AP has a MAC address, and don't tell NMI to add the
17894                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17895                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17896                         access point after refreshing our allowed list if it doesn't already
17897                         have a "best" access point.
17898
17899 2005-01-25  Dan Williams  <dcbw@redhat.com>
17900
17901         * panel-applet/NMWirelessAppletDbus.c
17902                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17903                         so we check for NM_DBUS_SERVICE rather than not for it
17904
17905         * libnm_glib/libnm_glib.c
17906                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17907                         ServiceOwnerChanged signal
17908
17909 2005-01-25  Dan Williams  <dcbw@redhat.com>
17910
17911         * configure.in
17912                 - Check DBUS version in configure, and set the C macros
17913                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
17914
17915         * info-daemon/NetworkManagerInfoDbus.c
17916                 - Remove #if 0-d section of code that quit NMI if NM went away.
17917
17918         * panel-applet/NMWirelessAppletDbus.c
17919                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17920
17921         * src/NetworkManager.c
17922           src/NetworkManagerMain.h
17923           src/NetworkManagerDbus.c
17924                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17925                 - Make updating of our Allowed Wireless Network lists from NMI
17926                         an idle function in the main thread now, with a high priority.
17927
17928 2005-01-24  Dan Williams  <dcbw@redhat.com>
17929
17930         * panel-applet/gtkcellview.[ch]
17931           panel-applet/menu-info.c
17932                 - Fix GTK version checks to be <= rather than <
17933
17934         * test/Makefile.am
17935                 - Include the libtool archive of libnm_glib rather than
17936                         trying to pull in the .so
17937
17938 2005-01-24  Dan Williams  <dcbw@redhat.com>
17939
17940         * src/NetworkManagerDevice.c
17941           src/NetworkManagerDevicePrivate.h
17942                 - Block nm_device_new() until our device's worker thread has had a
17943                         chance to start up.  Fixes a race between main thread and worker
17944                         thread starting that caused activation requests to get lost.
17945
17946 2005-01-24  Dan Williams  <dcbw@redhat.com>
17947
17948         * initscript/RedHat/NetworkManager
17949                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17950                         to add the NM startup script at priority 50, which was
17951                         way too early
17952
17953 2005-01-24  Colin Walters  <walters@redhat.com>
17954
17955         * named/named.conf: Use any port for query source instead of
17956         restricting to port 53.
17957
17958 2005-01-24  Dan Williams  <dcbw@redhat.com>
17959
17960         * initscript/RedHat/NetworkManager
17961                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17962                         to add the NM startup script at priority 50, which was
17963                         way too early
17964
17965 2005-01-24  Dan Williams  <dcbw@redhat.com>
17966
17967         Patch from Tom Parker <palfrey@tevp.net>
17968         * Fix up compile warnings & errors in the wireless applet
17969
17970 2005-01-24  Dan Williams  <dcbw@redhat.com>
17971
17972         * panel-applet/NMWirelessApplet.c
17973                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
17974
17975 2005-01-24  Dan Williams  <dcbw@redhat.com>
17976
17977         * panel-applet/gtkcellview.[ch]
17978                 - Only compile these files for GTK 2.4 or lower, since 
17979                         GtkCellView is now public in GTK 2.6.  Fixes crasher
17980                         when choosing "Other Wireless Networks" from the panel
17981                         applet menu
17982
17983 2005-01-21  Dan Williams  <dcbw@redhat.com>
17984
17985         * src/NetworkManager.c
17986                 - Daemonize earlier so that glib doesn't get confused (?)
17987
17988 2005-01-21  Dan Williams  <dcbw@redhat.com>
17989
17990         * panel-applet/NMWirelessApplet.[ch]
17991           panel-applet/NMWirelessAppletDbus.c
17992           panel-applet/menu-info.c
17993           src/NetworkManagerDevice.c
17994                 - Disable wired devices in the menu when they have no link.
17995
17996 2005-01-21  Dan Williams  <dcbw@redhat.com>
17997
17998         * Cache last-known-good wireless authentication method in
17999                 NetworkManagerInfo, and use that method first during
18000                 wireless device activation.  Should speed up devices that
18001                 need Shared Key authentication method since Open System is
18002                 now the default.
18003
18004         * Remove the hack to not do full activation on wired connections
18005                 that are active when we launch, it causes too many problems
18006                 with name resolution and was a hack in the first place.
18007
18008         * Re-work wireless device activation again somewhat to have a
18009                 clearer chain of events and to use last-known-good
18010                 authentication method of the access point.  Also provide
18011                 better status throughout activation to ensure the applet
18012                 can tell the user exactly what's going on.
18013
18014         * Remove the "find wireless network" code and now simply attempt
18015                 to activate with that access point.  This reduces the delay
18016                 between selecting "Other wireless Network" and actually
18017                 connecting to that network.
18018
18019         * Correctly stop the device's worker thread when its removed.
18020
18021 2005-01-21  Dan Williams  <dcbw@redhat.com>
18022
18023         * dhcpcd/client.c
18024                 - Clean up some of the debug messages
18025
18026 2005-01-21  Dan Williams  <dcbw@redhat.com>
18027
18028         * Add new icons, more frames of animation
18029         * Remove some hacks to get the panel applet to display correct
18030                 status, an NM update will soon follow that will fix the
18031                 real issue.
18032
18033 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18034
18035         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18036         the first include for working i18n. Also, don't include it in .h files
18037         * panel-applet/NMWirelessApplet.h: Same
18038         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18039         * panel-applet/menu-info.c: Same
18040
18041 2005-01-18  Dan Williams <dcbw@redhat.com>
18042
18043         * dhcpcd/client.c
18044                 - Remove some debug messages
18045                 - Wrap others in #ifdef DEBUG/#endif
18046
18047         * src/NetworkManager.c
18048                 - Remove some debug messages
18049                 - Clarify some debug messages
18050                 - Remove code related to old single-thread wireless scanning
18051
18052         * src/NetworkManagerAP.[ch]
18053                 - New AP property "last_seen" to track how recently an AP was
18054                         found in a scan
18055                 - Start using 'const' more in function arguments
18056
18057         * src/NetworkManagerAPList.[ch]
18058                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18059                         of an AP found in an AP list from a source AP, or if not found
18060                         in the list add the source AP
18061                 - (nm_ap_list_combine): remove, no longer needed
18062
18063         * src/NetworkManagerDevice.c
18064                 - Each device now has a "worker" thread from start to end of its life.
18065                         Scanning for wireless devices now happens in that thread,
18066                         not in a single "wireless scanning thread" for all devices as
18067                         previously.  Activation consists of adding an idle handler to the
18068                         thread's main loop/context, which gets run at the next available
18069                         opportunity.
18070                 - Wireless scanning is also simplified, there is now only one list of
18071                         access points per wireless device, and APs older than 60s are
18072                         removed from the list.  Previously, we kept results for the last
18073                         3 scans and merged whole lists, which was complicated.
18074                 - Cleaned up activation debug messages.
18075                 - Wireless activation and access-point search routines now use Open System
18076                         authentication before trying Shared Key.
18077                 - Removed some code in nm_device_update_best_ap() that could cause cards
18078                         to loose their link to the access point.
18079                 - Scanning now uses a backoff algorithm, where the inverval becomes
18080                         progressively longer between scans when the list of scanned access
18081                         points doesn't change.  A change will revert to the shortest scan
18082                         interval (20s).
18083
18084         * src/NetworkManagerWireless.[ch]
18085                 - Remove code related to old single-thread wireless scanning
18086
18087 2005-01-18  Colin Walters  <walters@redhat.com>
18088
18089         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18090         of older nameservers.
18091
18092 2005-01-18  Colin Walters  <walters@redhat.com>
18093
18094         * named/nm-named-manager.c (generate_named_conf): Many fixes
18095         to config file generation.
18096         (safer_kill): Remove, was too much trouble for little gain.
18097         (nm_named_manager_start): Run named as NM_NAMED_USER.
18098
18099         * configure.in: Add option --with-named-user.
18100
18101 2005-01-14  Colin Walters  <walters@redhat.com>
18102
18103         Patch from ed@catmur.co.uk (Ed Catmur)
18104
18105         * named/nm-named-manager.c: Add "context" property.
18106         Use it to add child watch source in specific GMainContext.
18107
18108         * src/NetworkManager.c (nm_data_new): Initialize
18109         named with correct main context.  Start named only
18110         after forking.
18111
18112 2005-01-14  Colin Walters  <walters@redhat.com>
18113
18114         * named/nm-named-manager.c (generate_named_conf): Write config
18115         and pid files into NM_NAMED_DATA_DIR; this allows things to
18116         work better with FC3 named SELinux policy.  Also fix up silly
18117         format error.
18118
18119         * configure.in: Add --with-named-dir option.
18120
18121 2005-01-14  Colin Walters  <walters@redhat.com>
18122
18123         * configure.in: Make named support require passing --with-named.
18124
18125         * named/nm-named-manager.c: Support writing resolv.conf directly
18126         without running named.
18127
18128 2005-01-13  Dan Williams <dcbw@redhat.com>
18129
18130         * named/nm-named-manager.c
18131                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18132
18133         * src/NetworkManagerDevice.c
18134                 - Rework wireless link detection code to be more reliable
18135
18136 2005-01-12  Dan Williams <dcbw@redhat.com>
18137
18138         * initscripts/RedHat/NetworkManager
18139                 - Change initial level to "-" rather than "345" so that
18140                         we don't activate ourselves by default on install
18141
18142 2005-01-12  Dan Williams <dcbw@redhat.com>
18143
18144         * libnm_glib/
18145                 - Client library for applications using glib
18146
18147         * configure.in
18148           various Makefiles
18149                 - Split NM_CFLAGS and NM_LIBS into separate variables
18150                         like DBUS_*, HAL_* and GLIB_*
18151
18152         * src/NetworkManager.c
18153           src/NetworkManagerMain.h
18154                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18155                         broadcast a status changed signal over DBUS from the main thread.
18156                         Still unused anywhere for the moment.
18157
18158         Patch from j@bootlab.org
18159         * panel_applet/NMWirelessAppletDbus.c
18160           src/NetworkManagerDbus.c
18161                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18162                         for the "getMode" method call
18163
18164 2005-01-10  Dan Williams <dcbw@redhat.com>
18165
18166         * src/NetworkManagerDevice.c
18167                 - Minor fixups & corrections to "auto" frequency mode, make it
18168                         less chatty with syslog
18169
18170 2005-01-10  Dan Williams <dcbw@redhat.com>
18171
18172         * src/NetworkManagerDevice.c
18173                 - Implement "auto" frequency/channel support, since cards like Atheros
18174                         can't use other frequencies at all when you've told it to use a
18175                         specific one, even for scanning.
18176                 - Grab the scan mutex around places where we can't tolerate wireless
18177                         settings changing underneath us, like nm_device_wireless_network_exists()
18178                         and nm_device_activate_wireless()
18179
18180         * src/NetworkManagerWireless.c
18181                 - Back scan interval off to 20s instead of 14s
18182
18183 2005-01-09  Dan Williams <dcbw@redhat.com>
18184
18185         * src/NetworkManagerDevice.c
18186                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18187                         already set.  Stops some drivers like Atmel from continually
18188                         reloading the firmware, which they do upon every configuration
18189                         change.
18190
18191 2005-01-09  Dan Williams <dcbw@redhat.com>
18192
18193         * dhcpcd/client.c
18194                 - Use correct timeout value
18195
18196         * info-daemon/NetworkManagerInfoDbus.c
18197           src/NetworkManagerDbus.c
18198                 - Consolidate communication between NM and NMI by doing only 1 dbus
18199                         method call to get Wireless Network info from NMI instead of 6
18200
18201         * src/NetworkManager.c
18202                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18203                         when we didn't have an AP to use, we'd wait for one forever without
18204                         quitting
18205
18206         * src/NetworkManagerDevice.c
18207                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18208                         activation, dhcp might not have started yet but we don't quit activation
18209                         before starting it, so the quit signal gets lost
18210
18211 2005-01-07  Dan Williams <dcbw@redhat.com>
18212
18213         * dhcpcd/client.c
18214                 - Rework the DHCP client code to be much less chatty when
18215                         it receives non-DHCP UDP packets during the DHCP run
18216                         (reported by and preliminary patches from Bill Moss)
18217
18218         * Move wireless scanning to a separate thread.  This thread forwards the
18219                 results to the main thread when done where they are integrated into
18220                 the device's access point lists.  This keeps the main thread (which
18221                 does all the DBUS communication) from being blocked for long periods
18222                 of time by wireless scanning.
18223
18224         * Make state modification an idle routine in the main loop, and trigger
18225                 state changes rather than polling for them.
18226
18227         * src/backends/NetworkManagerGentoo.c
18228                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18229
18230         * src/NetworkManagerDevice.c
18231                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18232                         router advertisements, causing problems and infinite loop
18233                         during "best" device determination due to link going up/down
18234                         (reported by Bill Moss)
18235
18236         Apply patch from Peter Jones
18237         * src/NetworkManagerDevice.c
18238                 - Shortcut for link-checking for ipw2x00 cards
18239                 - Split out association check into separate routine
18240
18241 2004-01-05  Colin Walters  <walters@redhat.com>
18242
18243         * named/named.conf: Add PID_FILE.
18244
18245         * named/nm-named-manager.c: Always generate a pid
18246         file, since older BIND versions don't support
18247         "pid-file none".
18248
18249 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18250
18251         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18252
18253 2004-12-22  Dan Williams <dcbw@redhat.com>
18254
18255         * src/NetworkManagerDevice.c
18256                 - Silently fail when setting bitrate doesn't work
18257
18258
18259         Patches from j@bootlab.org:
18260         * src/backends/NetworkManagerDebian
18261                 - Update backend to match functionality in RedHat backend
18262         * src/NetworkManagerDevice.c
18263                 - Take down then bring up wired devices after connection so
18264                 they send out ipv6 router advertisements
18265
18266 2004-12-21  Colin Walters  <walters@verbum.org>
18267
18268         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18269         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18270
18271 2004-12-21  Colin Walters  <walters@redhat.com>
18272
18273         * configure.in: Correct named detection.
18274
18275 2004-12-21  Colin Walters  <walters@redhat.com>
18276
18277         * src/NetworkManager.c (nm_data_new): Initialize named.
18278         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18279         the mainloop when these signals are received.
18280         (nm_data_free): Unref named.
18281         (sigterm_handler, sigterm_pipe_handler): New functions for
18282         exiting mainloop.
18283         
18284         * src/NetworkManagerMain.h (NMData): Add signal handling and
18285         nameserver bits.
18286
18287         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18288         unref.
18289
18290         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18291         set nameservers from DHCP response data.
18292         (set_domain_search): Set domain search from DHCP response.
18293         (nm_device_dhcp_configure): Invoke them.
18294
18295         * src/NetworkManagerSystem.c
18296         (nm_system_device_update_resolv_conf): Delete.  Deleting
18297         code is totally sweet.
18298
18299         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18300
18301         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18302         implements an object which controls a nameserver.  Currently
18303         uses bind 9.
18304
18305         * configure.in: Check for named.
18306
18307         * Makefile.am (SUBDIRS): Add named dir.
18308
18309         * named/named.conf: New template config file.
18310
18311 2004-12-20  Colin Walters  <walters@redhat.com>
18312
18313         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18314         instead of '='.
18315
18316 2004-12-17  Dan Williams  <dcbw@redhat.com>
18317
18318         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18319                 link-local addresses instead of doing DHCP.
18320
18321         * In the panel applet, there's a new "Create new Wireless Network..." item
18322
18323         * The panel applet also sticks around now even if NetworkManager dies, but
18324                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18325                 a bug, I'll fix that later.
18326
18327         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18328                 lookups after a switch rather than actually doing them.
18329
18330         * Clean up some of those warnings in nm_ap_list_* functions
18331
18332         * Delay between scans changed to 15s instead of 10s
18333
18334 2004-12-15  Dan Williams  <dcbw@redhat.com>
18335
18336         Patch from Tom Parker
18337         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18338                 address
18339
18340         * Longer pause after setting ESSID on cards that support a larger number
18341                 of channels to give the card time to find the right channel
18342
18343         * Add system hook to restart mDNSResponder (or whatever the local implementation
18344                 of Multicast DNS is) when we activate interfaces
18345
18346 2004-12-15  Dan Williams  <dcbw@redhat.com>
18347
18348         * Rework the DHCP code again to revert to sending full ethernet frames
18349                 rather then relying on the kernel to do the right thing with our
18350                 packets.
18351
18352 2004-12-06  Dan Williams  <dcbw@redhat.com>
18353
18354         * dhcpcd/client.c
18355                 - Fix some minor errors in dhcp_handle_transaction() that caused
18356                         unexpected early timeouts of DHCP transactions
18357
18358         * dhcpcd/client.h
18359                 - DHCP retransmit time from 4s -> 5s
18360
18361 2004-12-05  Dan Williams  <dcbw@redhat.com>
18362
18363         * Major rework of the DHCP code, taking some cues from pump.  We don't
18364                 write raw Ethernet packets anymore, which simplifies the code quite
18365                 a bit.  The new code should be more robust, not hang in recvfrom()
18366                 as much, and generally work better.  This also means that we need
18367                 to force HAL/dbus to use a created GMainContext rather than the
18368                 default context, since having the DHCP renew/rebind thread using
18369                 its own GMainContext seemed to give dbus a fit.  There is also more
18370                 debugging information printed from the DHCP loop to help with future
18371                 problems.
18372
18373         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18374                 assume that the default gateway should be the DHCP server.
18375
18376         Patch from Matthew Schick <matt oss-institute org>
18377         * src/backends/NetworkManagerGentoo.c
18378                 - Fix compilation error due to missing "ip4_broadcast"
18379
18380 2004-12-03  Dan Williams  <dcbw@redhat.com>
18381
18382         * initscript/Makefile.am
18383         * initscript/Debian/NetworkManager
18384         * initscript/Gentoo/NetworkManager
18385         * initscript/RedHat/NetworkManager
18386         * initscript/NMLaunchHelper.c
18387                 - Remove NMLaunchHelper, if you need to wait until the network
18388                         comes up, use the dead code from CVS.
18389
18390 2004-12-01  Colin Walters  <walters@redhat.com>
18391         
18392         * configure.in: Suck in gcc warnings code from Rhythmbox,
18393         but use fewer default flags, and in particular add -Wno-unused,
18394         since the codebase has a lot of unused variables.
18395
18396         * test/nmtestdevices.c (create_device): 
18397         * test/nminfotest.c (get_network_string_property) 
18398         (get_networks_of_type): 
18399         * test/nmclienttest.c (main): 
18400         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18401         * initscript/NMLaunchHelper.c (get_nm_status): 
18402         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18403         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18404         Fix declarations after statements.
18405
18406 2004-12-01  Colin Walters  <walters@redhat.com>
18407
18408         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18409         (nmi_dbus_get_vpn_userpass): New method.
18410         (nmi_dbus_nmi_message_handler): Invoke it.
18411
18412         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18413
18414         * info-daemon/NetworkManagerInfoVPN.h,
18415         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18416         to requests for VPN passwords.
18417
18418         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18419
18420 2004-12-01  Colin Walters  <walters@redhat.com>
18421
18422         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18423         includes.
18424
18425 2004-12-01  Colin Walters  <walters@redhat.com>
18426
18427         * panel-applet/NMWirelessAppletDbus.c
18428         (nmwa_dbus_update_active_device_strength): Fix missing
18429         return value.
18430
18431 2004-12-01  Colin Walters  <walters@redhat.com>
18432
18433         * panel-applet/NMWirelessApplet.c: Add missing include.
18434
18435 2004-12-01  Colin Walters  <walters@redhat.com>
18436
18437         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18438         Remove useless CLAMP (); the value is unsigned, and the case tests
18439         qual->qual < 100, so the value must always be between 0 and 100.
18440
18441 2004-12-01  Colin Walters  <walters@redhat.com>
18442
18443         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18444
18445 2004-11-22  Colin Walters  <walters@verbum.org>
18446
18447         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18448         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18449         which is essentially a noop since nscd caches hosts on disk too.
18450         
18451 2004-11-22  Colin Walters  <walters@redhat.com>
18452
18453         * src/Makefile.am (NetworkManager_SOURCES): Add
18454         NetworkManagerDevicePrivate.h.
18455
18456 2004-11-22  Dan Williams <dcbw@redhat.com>
18457
18458         * src/NetworkManagerDevicePrivate.h
18459                 - Split out the NMDevice struct to a different file so that stuff like
18460                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18461
18462         * dhcpcd/client.c
18463                 - fprintf->syslog
18464                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18465                         need to cancel the dhcp request during the send and recv
18466
18467         * dhcpcd/client.h
18468                 - Move the DHCP option enum to dhcpcd.h
18469
18470         * src/NetworkManagerDHCP.c
18471                 - Split out the actual IP/netmask/etc setting code
18472                 - New Renew/Rebind functions
18473                 - New timer setup function for renew/rebind operations
18474
18475         * src/NetworkManagerDevice.c
18476                 - For device activation, if we are using DHCP then keep the activation thread
18477                         alive until device deactivation.  We need to renew/rebind the DHCP address
18478                         after the T1 (renew) and T2 (rebind) times have expired.
18479                 - Increase some timeouts after bringing wireless cards up/down
18480
18481 2004-11-17  Dan Williams <dcbw@redhat.com>
18482
18483         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18484                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18485                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18486                 show known access points that don't broadcast their ESSID in the menus without
18487                 any user intervention whatsoever.
18488
18489         * info-daemon/NetworkManagerInfoDbus.c
18490                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18491                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18492
18493         * src/NetworkManagerAP.[ch]
18494                 - Add a "user_addresses" data member to the NMAccessPoint structure
18495                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18496                         the user_addresses data member
18497
18498         * src/NetworkManagerAPList.c
18499                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18500                         the AP's reported address
18501                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18502
18503         * src/NetworkManagerDHCP.c
18504                 - Increase DHCP timeout from 25s -> 30s
18505
18506         * src/NetworkManagerDbus.[ch]
18507                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18508                         user addresses
18509
18510         * src/NetworkManagerDevice.c
18511                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18512                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18513                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18514                         So, we take the card down to clear it out.
18515                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18516                         too, since that's where the user_addresses are
18517
18518         * src/NetworkManagerPolicy.c
18519                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18520                         that wireless networks' user_addresses list upon successful activation
18521
18522 2004-11-16  Dan Williams <dcbw@redhat.com>
18523
18524         * src/NetworkManagerDevice.[ch]
18525                 - (nm_device_clear_activation_fail): new function
18526
18527         * src/NetworkManagerPolicy.c
18528                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18529                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18530
18531 2004-11-16  Dan Williams <dcbw@redhat.com>
18532
18533         * src/NetworkManagerDevice.c
18534                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18535                         leak the structure, better updating of now_scanning status
18536                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18537
18538 2004-11-15  Dan Williams <dcbw@redhat.com>
18539
18540         Major rework of link detection code.  We now use DHCP
18541         as part of the link detection which proves to be much more robust,
18542         and also supports Open System authentication for wireless networks.
18543
18544         We no longer use external DHCP client programs.  Instead, we use 
18545         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18546         which was written by:
18547                 Yoichi Hariguchi <yoichi@fore.com>
18548                 Sergei Viznyuk <sv@phystech.com>
18549                 http://www.phystech.com/download/
18550         It resides in the "dhcpcd" directory and was refactored into a general
18551         purpose DHCP client library by me.
18552
18553         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18554         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18555
18556 2004-11-15  Dan Williams <dcbw@redhat.com>
18557
18558         Patch from Tom Parker <palfrey@tevp.net>:
18559
18560         * src/NetworkManagerDevice.c
18561                 - Less output to console when no access
18562                         points are found during a scan
18563
18564 2004-11-15  Dan Williams <dcbw@redhat.com>
18565
18566         Patch from Tom Parker <palfrey@tevp.net>:
18567
18568         * src/backends/interface_parser.c
18569                 - Use g_strdup ()
18570                 - Check for inp == NULL
18571                 - use syslog ()
18572
18573 2004-11-13  Colin Walters  <walters@redhat.com>
18574
18575         Patch from Tom Parker <palfrey@tevp.net>:
18576
18577         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18578         
18579         * src/backends/NetworkManagerRedHat.c: Switch to
18580         including shvar.h instead of shvar.c.
18581
18582         * src/backends/NetworkManagerDebian.c: Don't include
18583         interface_parser.c in source file.
18584
18585         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18586         and interface_parser.[ch].
18587         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18588         Include shvar.c and shvar.h here.
18589         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18590         interface_parser.c and interface_parser.h here.
18591
18592 2004-11-12  Colin Walters  <walters@redhat.com>
18593
18594         * configure.in: Strip out TARGET_DISTRO and
18595         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18596         conditionals.
18597
18598         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18599         (libnmbackend_la_SOURCES): Use Automake conditionals
18600         to add distro-specific files.
18601
18602         * initscript/Makefile.am (SUBDIRS): Update to
18603         use conditionals.
18604
18605 2004-11-12  Colin Walters  <walters@redhat.com>
18606
18607         Patches from j bootlab org
18608
18609         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18610         Add interface_parser.[ch].
18611
18612         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18613         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18614
18615 2004-11-12  Colin Walters  <walters@redhat.com>
18616
18617         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18618         call to nmi_dbus_is_running too, not necessary anymore.
18619         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18620         pick up exit().
18621
18622 2004-11-11  Colin Walters  <walters@verbum.org>
18623
18624         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18625         Delete.
18626         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18627         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18628         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18629         This avoids a race condition that made it pretty easily
18630         possible to get two NetworkManagerInfo daemons running.
18631
18632 2004-11-11  Colin Walters  <walters@verbum.org>
18633         
18634         * src/NetworkManager.c (main): Use daemon(3).
18635
18636         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18637
18638         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18639
18640 2004-11-10 Dan Williams <dcbw@redhat.com>
18641
18642         Patches from j bootlab org
18643         * src/NetworkManagerDevice.c
18644                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18645                         whether the card has a link or not, some cards are slow
18646                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18647
18648         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18649                 - Disable the "Login" button on the passphrase dialog until the user
18650                         enters a valid passphrase or key
18651
18652         Patches from Tom Parker <palfrey tevp net>
18653         * src/backends/NetworkManagerDebian.c
18654                 - Add static IP support to the debian backend
18655
18656         * src/backends/interface_parser.[ch]
18657                 - Parse debian interface config files
18658
18659 2004-11-08 Dan Williams <dcbw@redhat.com>
18660
18661         * src/NetworkManagerDevice.c
18662                 - Some random fprintf->syslog conversions
18663                 - (nm_device_wireless_network_exists): double-check for network
18664                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18665
18666         * src/NetworkManagerWireless.[ch]
18667                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18668                         so that the binary->ascii conversion works (if unsigned, the bitshift
18669                         will fill with zeros, which is what's required).  Also mask bitshift
18670                         result with 0xF for futher assurance.
18671
18672 2004-11-06 Dan Williams <dcbw@redhat.com>
18673
18674         * src/NetworkManagerUtils.c
18675                 - (nm_get_wireless_driver_support_level): default to
18676                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18677                         flip this when changing from whitelist->blacklist of
18678                         wireless drivers
18679
18680 2004-11-05 Dan Williams <dcbw@redhat.com>
18681
18682         Patch from Robert Paskowitz:
18683         * src/backends/NetworkManagerGentoo.c
18684                 - Update static IP config code
18685
18686 2004-11-05 Dan Williams <dcbw@redhat.com>
18687
18688         * info-daemon/NetworkManagerInfoDbus.c
18689           src/NetworkManagerDbus.[ch]
18690           src/NetworkManagerDevice.c
18691                 - Keep track of the # of attempts to get the WEP key
18692                         from the user and pass that along to the info daemon
18693
18694 2004-11-05 Dan Williams <dcbw@redhat.com>
18695
18696         * src/NetworkManagerUtils.c
18697                 - Blacklist wireless cards rather than whitelisting them.
18698                 - Grab driver name from HAL rather than trying to find it
18699                         ourselves.
18700
18701 2004-11-03 Dan Williams <dcbw@redhat.com>
18702
18703         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18704                 - Disable OK button until valid data is entered
18705                         for encryption stuff too
18706
18707         * panel-applet/NMWirelessApplet.c
18708                 - Report card strength for current AP if the card
18709                         doesn't report strength data for scanned access
18710                         points
18711
18712         * src/NetworkManagerDevice.c
18713                 - Smooth out cards reported quality, Atmel card was
18714                         intermittently reporting no quality data but soon
18715                         recovers
18716
18717         * src/NetworkManagerWireless.c
18718                 - Better quality data percentage calculation.  Atmel
18719                         cards (mine at least) seem to report the quality
18720                         in percentage format already, so honor that
18721
18722         Patch from <j@bootlab.org>
18723         * NetworkManager.h
18724           info-daemon/NetworkManagerInfoPassphraseDialog.c
18725           info-daemon/passphrase.glade
18726           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18727           panel-applet/essid.glade
18728           src/NetworkManagerAP.c
18729           src/NetworkManagerDevice.c
18730           src/NetworkManagerWireless.[ch]
18731                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18732
18733 2004-11-03 Dan Williams <dcbw@redhat.com>
18734
18735         * src/NetworkManagerDevice.[ch]
18736                 - (nm_device_set_enc_key): Add parameter to set Authentication
18737                         Mode (Open System, Shared Key, or None).  We're still using
18738                         Shared Key for now though.
18739
18740 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18741
18742         * panel-applet/menu-info.c: change from bold text to light
18743         colored, may cause problems with some themes, i've tested a lot
18744         and they seem fine. 
18745
18746         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18747
18748 2004-11-01  Colin Walters  <walters@verbum.org>
18749
18750         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18751         (nm_wireless_128bit_key_from_passphrase): Add const.
18752
18753         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18754         (nm_ap_set_enc_key_source): Add const.
18755         
18756 2004-11-01  Colin Walters  <walters@verbum.org>
18757
18758         * .cvsignore: Update.
18759
18760 2004-10-29 Dan Williams <dcbw@redhat.com>
18761
18762         * src/NetworkManagerDevice.c
18763                 - (nm_device_wireless_network_exists): Actually use the encryption
18764                         key we got from the applet when attempting to find a wireless network
18765                 - Don't bring devices down so much since on some cards it triggers
18766                         firmware hotplugs each time
18767
18768         * src/NetworkManagerDbus.c
18769                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18770                         from the caller
18771
18772 2004-10-29 Dan Williams <dcbw@redhat.com>
18773
18774         * src/NetworkManager.c
18775                 - (nm_hal_device_property_modified): unlock a locked active
18776                         wireless device when a wired connection gets a link.
18777                         (Means you'll switch to wired whenever you plug in no
18778                         matter what).
18779
18780 2004-10-29 Dan Williams <dcbw@redhat.com>
18781
18782         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18783                 - New files, implement the "Other wireless network" dialog
18784
18785         * panel-applet/NMWirelessApplet.c
18786                 - Move "other wireless network" dialog to separate file
18787
18788         * panel-applet/NMWirelessAppletDbus.[ch]
18789                 - Take key and key_type paramaters for the set_device function
18790
18791         * panel-applet/essid.glade
18792                 - Add UI bits for encryption settings
18793
18794         * src/NetworkManagerDbus.c
18795                 - Retrieve key and key_type params for "setActiveDevice" method call
18796                         and pass them on
18797                 - unref AP returned from nm_device_get_best_ap() when needed
18798
18799         * src/NetworkManagerDevice.c
18800                 - (nm_device_get_best_ap): ref the ap before returning it
18801                 - unref AP returned from nm_device_get_best_ap() when needed
18802                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18803                         need to call nm_device_get_best_ap() here, it was pretty much
18804                         redundant anyway
18805                 - (AP_NEED_KEY): break second link check condition out into separate
18806                         function, and fix segfault when ap->enc_key_source was NULL
18807                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18808                         pass them along to nm_device_wireless_network_exists().  If the
18809                         network does exist, set the passed-in key+key_type on the AP
18810
18811         * src/NetworkManagerPolicy.c
18812                 - unref AP returned from nm_device_get_best_ap() when needed
18813
18814 2004-10-28 Dan Williams <dcbw@redhat.com>
18815
18816         * src/NetworkManagerUtils.c
18817                 - (nm_spawn_process): Fix a potential dereference of NULL
18818
18819         Patches from Peter Jones:
18820
18821         * src/NetworkManagerDevice.c
18822                 - (nm_device_test_wireless_extensions): Better check for
18823                         wireless devices
18824
18825         * src/NetworkManagerUtils.c
18826                 - (nm_spawn_process): Pass in valid stdout and stderr so
18827                         executed programs don't randomly SIGPIPE and fail
18828                 - (nm_get_wired_driver_support_level): quash hal warning
18829                         when checking for USB ethernet device
18830
18831 2004-10-27 Dan Williams <dcbw@redhat.com>
18832
18833         * info-daemon/NetworkManagerInfo.c
18834           info-daemon/NetworkManagerInfoDbus.c
18835           info-daemon/NetworkManagerInfoPassphraseDialog.c
18836           panel-applet/NMWirelessApplet.c
18837                 - Properly escape gconf keys
18838
18839         * src/NetworkManager.c
18840                 - remove unused variables
18841
18842         * src/NetworkManagerAP.c
18843                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18844                         refcount since it got set in nm_ap_new()
18845
18846         * src/NetworkManagerAPList.c
18847                 - (nm_ap_list_combine): Give up ownership of newly created
18848                         access points to the ap list, fixes memleak
18849
18850         * src/NetworkManagerDevice.c
18851                 - Remove cached_ap_list4 member since its not really needed
18852                 - (nm_device_wireless_network_exists): Try to get correct
18853                         encryption status of a found AP if its already in our
18854                         device list
18855                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18856                         memory allocs/deallocs a bit clearer and shorter-lived
18857
18858 2004-10-26 Ray Strode <rstrode@redhat.com>
18859
18860         * panel-applet/NMWirelessApplet.c:
18861           (custom_essid_item_selected):  kill some compiler
18862         warnings 
18863
18864 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18865
18866         * info-daemon/NetworkManagerInfoDbus.c
18867                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18868                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18869
18870 2004-10-23 Dan Williams <dcbw@redhat.com>
18871
18872         * info-daemon/NetworkManagerInfoDbus.c
18873                 - Trap the "DeviceActivationFailed" signal
18874
18875         * docs/NetworkManager DBUS API.txt
18876                 - Add "DeviceActivationFailed" signal
18877
18878         * panel-applet/NMWirelessAppletDbus.c
18879                 - Quash the "NetworkManager service not available" message
18880
18881         * src/NetworkManagerDbus.[ch]
18882                 - Add the "DeviceActivationFailed" signal
18883
18884         * src/NetworkManagerDevice.c
18885                 - Add support for activation_failed flag
18886                 - Fix deadlock where activation thread didn't clean itself up, making
18887                         main thread still believe it was alive forever (didn't reset activation
18888                         flags like activating, just_activated, etc when IP configuration
18889                         failed)
18890
18891         * src/NetworkManagerPolicy.c
18892                 - Implement logic for DeviceActivationFailed signal, and when activation fails
18893                         for wireless networks, try to fall back to some other access point
18894
18895 2004-10-23 Dan Williams <dcbw@redhat.com>
18896
18897         * panel-applet/NMWirelessApplet.[ch]
18898                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18899                         to the applet object, so we can get tooltips
18900                 - Add tooltips (RH #136866)
18901
18902         * src/NetworkManagerDevice.c
18903                 - When trying to find a wireless network, try to connect with encryption
18904                         turned on first, so that we can more accurately detect whether or not
18905                         we need to use encryption for the actual association later on
18906
18907 2004-10-21 Dan Williams <dcbw@redhat.com>
18908
18909         * Add some support for telling NetworkManagerInfo to tell the user
18910                 that they are using a device that's not fully supported
18911
18912         * Fix some assertions in debug messages due to null access point args
18913
18914 2004-10-21 Dan Williams <dcbw@redhat.com>
18915
18916         * src/NetworkManagerDevice.c
18917                 - Don't try to activate/bring up/down unsupported
18918                         devices
18919
18920         * src/NetworkManagerUtils.c
18921                 - Fix case of PCI ID checks for driver support levels
18922
18923 2004-10-21 Dan Williams <dcbw@redhat.com>
18924
18925         * NetworkManager.h
18926                 - New file, now contains commonly used structures and bits
18927                         for the dbus API of NetworkManager
18928
18929         * Makefile.am
18930                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18931
18932         * src/NetworkManager.h
18933                 - Rename -> src/NetworkManagerMain.c
18934
18935         * Various fixups all around to use NetworkManager.h and new
18936                 src/NetworkManagerMain.h, remove redundant bits that got
18937                 moved into NetworkManager.h
18938
18939         * src/NetworkManagerDevice.[ch]
18940           src/NetworkManagerUtils.[ch]
18941           src/NetworkManagerPolicy.c
18942           src/NetworkManagerDbus.c
18943                 - Whitelist wireless drivers, and blacklist some wired
18944                         drivers.  Also blacklist cipsec and ethernet-over-usb
18945                         devices at this time (RH #135722, RH #135648)
18946                 - Don't leak unsupported devices out over dbus, or allow
18947                         them to be set as the active device.  Skip over them
18948                         during automatic device picking
18949
18950         * test/nmclienttest.c
18951                 - Clean up the dbus code a lot
18952
18953 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
18954
18955         * configure.in: post release bump.
18956
18957 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
18958
18959         * configure.in:
18960         * NEWS: Released NetworkManager-0.3.1
18961
18962 2004-10-18 Dan Williams <dcbw@redhat.com>
18963
18964         Patches from Thom May:
18965         * test/nmtestdevices.c
18966                 - Include <string.h>
18967         * src/backends/NetworkManagerDebian.c:
18968                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
18969                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
18970                         Move to using g_strdup_printf rather than arbitrary buffers
18971                 - (nm_system_device_setup_static_ip4_config) Implement function.
18972                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
18973
18974 2004-10-17 Dan Williams <dcbw@redhat.com>
18975
18976         * info-daemon/NetworkManagerInfoDbus.c
18977                 - Display name of network in the "network not found" dialog
18978
18979         * panel-applet/NMWirelessAppletDbus.c
18980                 - (nmwa_dbus_call_nm_method): new function replaces all other
18981                         nmwa_dbus_get_[string|string_array|int|boolean] methods
18982                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
18983                         consolidated into nmwa_dbus_get_object_name()
18984
18985 2004-10-15 Dan Williams <dcbw@redhat.com>
18986
18987         * src/NetworkManagerDbus.c
18988           info-daemon/NetworkManagerInfoDbus.c
18989                 - Display an error dialog when the user tries to use an
18990                         "Other wireless network" that's not found.
18991
18992 2004-10-15 Dan Williams <dcbw@redhat.com>
18993
18994         * panel-applet/NMWirelessApplet.[ch]
18995                 - Fix up corner cases in applet state, making it
18996                         look more responsive.  Change state to "connecting" when
18997                         the user is forcing a device too.
18998
18999 2004-10-15 Dan Williams <dcbw@redhat.com>
19000
19001         * src/NetworkManagerAPList.c
19002                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19003
19004         * src/NetworkManagerDbus.c
19005                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19006
19007         * src/NetworkManagerDevice.c
19008                 - Disown APs after the device's AP list takes ownership
19009
19010 2004-10-15 Dan Williams <dcbw@redhat.com>
19011
19012         * panel-applet/NMWirelessApplet.c
19013                 - Update our applet state from the GUI thread
19014
19015         * panel-applet/NMWirelessAppletDbus.c
19016                 - Greatly simplify the locking to make the GUI thread
19017                         smoother.  Update a private copy of the device list
19018                         and active device and only when done talking to
19019                         NetworkManager turn it over to the GUI thread.
19020
19021 2004-10-15 Dan Williams <dcbw@redhat.com>
19022
19023         * src/NetworkManagerAP.[ch]
19024                 - Add "artificial" get/set functions, set for APs that
19025                         aren't discovered as part of a scan but instead
19026                         discovered by force-setting the ESSID
19027
19028         * src/NetworkManagerDevice.[ch]
19029                 - (nm_device_wireless_network_exists): pass back whether
19030                         or not the discovered AP was encrypted.  Also, try
19031                         falling back to encrypted mode on the card if unencrypted
19032                         association doesn't work
19033                 - (nm_device_find_and_use_essid): If the network requested
19034                         did in fact exists, but it wasn't in our scan list, add
19035                         an "artificial" entry for it.  Some Cisco cards don't
19036                         see non-ESSID-broadcasting APs in their scan but can still
19037                         associate with them if you know the ESSID, this works around
19038                         that behavior
19039                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19040                         to scan if the card is currently associated with that AP
19041
19042 2004-10-15 Dan Williams <dcbw@redhat.com>
19043
19044         ---- We have a website ----
19045         http://people.redhat.com/dcbw/NetworkManager
19046
19047         Patch from Robert Paskowitz:
19048         * src/NetworkManager.c
19049                 - (main): Make sure we are run as root
19050         * src/NetworkManagerDevice.c
19051                 - Fix type in ad-hoc setting function
19052
19053         Patch from Thom May:
19054         * src/backends/NetworkManagerDebian.c
19055                 - Make Debian backend compile again
19056
19057 2004-10-14 Dan Williams <dcbw@redhat.com>
19058
19059         * Tagged NetworkManager-0_3
19060
19061 2004-10-14 Dan Williams <dcbw@redhat.com>
19062
19063         Patch from Robert Paskowitz:
19064         * NEWS
19065           src/NetworkManagerDevice.[ch]
19066           src/backends/NetworkManagerDebian.c
19067           src/backends/NetworkManagerGentoo.c
19068           src/backends/NetworkManagerRedHat.c
19069           src/backends/NetworkManagerSlackware.c
19070                 - Add support for grabbing and using a broadcast address
19071                         from system config files
19072                 - Some Gentoo backend fixes for grabbing network config
19073                 - Fix LOG_WARN->LOG_WARNING
19074
19075 2004-10-14 Dan Williams <dcbw@redhat.com>
19076
19077         * NEWS: a few small fixes in the credits
19078
19079 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19080
19081         * NEWS: prep for release.
19082
19083 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19084
19085         * panel-applet/NMWirelessAppletDbus.c
19086         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19087
19088 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19089
19090         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19091         applet->state == APPLET_STATE_NO_NM animation.
19092
19093         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19094         set the text correctly.
19095
19096 2004-10-14 Dan Williams <dcbw@redhat.com>
19097
19098         * src/NetworkManager.c
19099                 - Only accept and manager 802.3 and 802.11 devices
19100
19101         * src/NetworkManagerDbus.[ch]
19102                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19103                         logic into NetworkManagerDevice.c
19104                 - (nm_dbus_network_status_from_data): new function
19105                 - (nm_dbus_signal_network_status_change): new function, unused for now
19106                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19107
19108         * src/NetworkManagerDevice.[ch]
19109                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19110                         a random ESSID.
19111
19112 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19113
19114         * info-daemon/NetworkManagerInfo.c 
19115                 - (main): Added session management
19116
19117 2004-10-14 Dan Williams <dcbw@redhat.com>
19118
19119         * panel-applet/NMWirelessAppletDbus.[ch]
19120                 - Expose network_device_[un]ref()
19121                 - Expose wireless_network_[un]ref()
19122                 - (wireless_network_new_with_essid): new function, create and return
19123                         a wireless network with a particular essid
19124
19125         * panel-applet/NMWirelessApplet.c
19126                 - Hook up the "other network" dialog to do something
19127
19128 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19129
19130         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19131         doesn't work yet, but it looks okay.
19132
19133         * panel-applet/icons/*png: Resize to 22x22 and install in the
19134         right place.
19135
19136 2004-10-13 Dan Williams <dcbw@redhat.com>
19137
19138         * panel-applet/NMWirelessApplet.c
19139                 - Add function to print out applet_state in a readable
19140                         manner
19141
19142         * src/NetworkManager.c
19143                 - (main): Don't segfault when nm_dbus_init() fails, we had
19144                         a left-over call to hal_shutdown() into which we passed NULL
19145
19146         * src/NetworkManagerAP.c
19147                 - (nm_ap_set_essid): Allow NULL essids
19148
19149         * src/NetworkManagerAPList.[ch]
19150                 - More use of nm_ap_list_[un]lock ()
19151                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19152                         network/essid, just return nothing.  Also skip over NULL
19153                         essid access points in the list when searching
19154                 - (nm_ap_list_get_ap_by_address): new function
19155                 - (nm_ap_list_update_network): set the access point's key source to
19156                         NULL when the key returned from NetworkManagerInfo is NULL or
19157                         of 0 length
19158                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19159                         copy timestamp over too
19160                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19161                         find the correct ESSID for a blank-essid access point by searching
19162                         through another list and matching access point MAC addresses
19163                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19164
19165         * src/NetworkManagerDbus.c
19166                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19167                         may specify.  This is mainly for access points that don't
19168                         broadcast their essid.  So if the user tells us to associate with
19169                         some random ESSID that's not in our access point list, we find
19170                         out if the access point does in fact exist (by attempting association
19171                         and then matching that access point's MAC address with the essid the
19172                         user gave us) and then we switch to it.
19173                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19174                         to the returned list of networks for the "getNetworks" method
19175
19176         * src/NetworkManagerDevice.[ch]
19177                 - Extra debugging info for link detection
19178                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19179                         based on MAC address
19180                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19181                 - (nm_device_wireless_network_exists): new function, find out whether
19182                         a random ESSID exists by attempting to associate with it
19183                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19184                         device list as long as they have an AP MAC address we can use.
19185                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19186                         devices too.  Lets the applet update more frequently.
19187
19188         * src/backends/NetworkManagerGentoo.c
19189                 - Patch from: Robert Paskowitz
19190                         - Update backend code for Gentoo
19191                         - Implement nm_system_device_update_config_info ()
19192
19193         * test/nmclienttest.c
19194                 - (set_network_device): new function, takes a command-line argument
19195                         and tells NetworkManager to use that wireless network
19196
19197 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19198
19199         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19200         if the notification icon crashes 5 times within 5 seconds of each respawn 
19201
19202 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19203
19204         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19205         g_print.
19206
19207 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19208
19209         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19210
19211         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19212         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19213         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19214         Change the name of the icons.
19215
19216         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19217         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19218         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19219         (nm_menu_wireless_expose_event): Really bad hack to get the style
19220         to draw in the right color.
19221
19222 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19223
19224         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19225         Notification if it crashes
19226
19227 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19228
19229         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19230         (nmwa_dbus_get_string): remove unused functions
19231
19232         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19233         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19234         remove unused functions
19235
19236         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19237
19238 2004-10-12 Dan Williams <dcbw@redhat.com>
19239
19240         * panel-applet/NMWirelessAppletDbus.c
19241                 - New functions:
19242                         wireless_network_new
19243                         wireless_network_copy
19244                         network_device_new
19245                         network_device_copy
19246
19247         * src/NetworkManagerDevice.[ch]
19248                 - New functions:
19249                         nm_device_set_mode_managed
19250                         nm_device_set_mode_adhoc
19251                 - Use these functions where appropriate
19252                 - When creating a new wireless device, force the card
19253                         to managed/Infrastructure mode as soon as possible
19254
19255 2004-10-12 Dan Williams <dcbw@redhat.com>
19256
19257         * src/NetworkManagerDevice.c
19258                 - Force wireless cards into Infrastructure mode before we use them
19259
19260 2004-10-12 Dan Williams <dcbw@redhat.com>
19261
19262         * TODO
19263                 - Remove bit about static IP address support
19264
19265         * src/NetworkManagerUtils.c
19266                 - (nm_spawn_process): Add some error reporting
19267
19268         * src/NetworkManagerDevice.c
19269                 - (nm_device_activation_configure_ip): hook up to the static config
19270                         routines in the backends
19271
19272         * src/backends/NetworkManagerRedHat.c
19273                 - (nm_system_device_update_config_info): use shvar.c routines to
19274                         parse the config file iformation, not our own
19275                 - (nm_system_device_setup_static_ip4_config): new function, based
19276                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19277                         with a static IP address and gateway
19278
19279         * src/backends/shvar.[ch]
19280                 - Parser (filched from initscripts package) for ifcfg-* files
19281
19282         * src/backends/NetworkManagerSystem.h
19283           src/backends/NetworkManagerGentoo.c
19284           src/backends/NetworkManagerDebian.c
19285           src/backends/NetworkManagerSlackware.c
19286                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19287
19288 2004-10-11 Dan Williams <dcbw@redhat.com>
19289
19290         * TODO
19291                 - Remove bit about more robust AP diffing since I just implemented it
19292
19293 2004-10-11 Dan Williams <dcbw@redhat.com>
19294
19295         * src/NetworkManagerAP.c
19296                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19297                         enough RAM to allocate new AP structures, but return NULL instead
19298
19299         * src/NetworkManagerAPList.[ch]
19300                 - (nm_ap_list_is_empty): new function
19301                 - (nm_ap_list_combine): new function, combine two access point lists
19302                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19303                         into another
19304
19305         * src/NetworkManagerDevice.[ch]
19306                 - Rename some functions to be clearer:
19307                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19308                         nm_device_just_activated     -> nm_device_is_just_activated
19309                         nm_device_activating         -> nm_device_is_activating
19310                         nm_device_now_scanning       -> nm_device_is_scanning
19311                 - Cache the last 4 scans so that the access point list is more stable.
19312                         We combine the lastest two scans and use that as the AP list,
19313                         and diff that combined list against the combination of the earliest
19314                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19315
19316 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19317
19318         * info-daemon/NWManagerInfo.h
19319                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19320
19321         * info-daemon/NWManagerInfoDbus.c
19322                 - (shutdown_callback): new function
19323                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19324                         if NetworkManager goes away.  Kill the timeout
19325                         if NetworkManager restarts before the 30 seconds
19326                         are up.
19327                 - (nmi_dbus_service_init): 
19328                         - call gtk_main_quit if NetworkManager is not running
19329                         - add filters to monitor dbus service creations and
19330                                 deletions
19331         
19332 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19333
19334         * panel-applet/NMWirelessApplet.c
19335                 - (nmwa_update_state): Hide notification icon if we are only
19336                         showing one wired card and no wireless interfaces 
19337                         (Red Hat Bug #134895)
19338
19339         * panel-applet/NMWirelessAppletDbus.c
19340                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19341
19342         * info-daemon/NWManagerInfo.c
19343                 - (main): Terminated the notification_icon_cmd array with a NULL
19344
19345 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19346
19347         * configure.in (ALL_LINGUAS): Added de (German).
19348
19349 2004-10-08 Dan Williams <dcbw@redaht.com>
19350
19351         * src/NetworkManagerDevice.c
19352                 - Be a bit more robust about link checking, ie make sure that
19353                         the WEP key we were given actually has some data in it
19354
19355 2004-10-08 Dan Williams <dcbw@redhat.com>
19356
19357         * info-daemon/NetworkManagerInfo.c (main):
19358                 - Initialize GError object to NULL
19359
19360 2004-10-08 Dan Williams <dcbw@redhat.com>
19361
19362         * panel-applet/NMWirelessAppletDbus.c
19363                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19364
19365 2004-10-08 Dan Williams <dcbw@redhat.com>
19366
19367         * info-daemon/NetworkManagerInfo.[ch]
19368           info-dameon/NetworkManagerInfoDbus.[ch]
19369           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19370                 - Preserve original label text in the passphrase dialog so that
19371                         it actually gets updated with the new network name the next
19372                         time around.  Previously, we were overwriting it so you'd get
19373                         the wrong network name to enter a key for
19374                 - Add a "Key Type" combo to the passphrase dialog, user selects
19375                         encryption key type now, type is stored in GConf too
19376                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19377
19378         * src/NetworkManagerAP.[ch]
19379                 - Remove all the encyption method magic.  It's now set by the user
19380                         and NetworkManager retrieves the type of encryption key from
19381                         NetworkManagerInfo
19382
19383         * src/NetworkManagerAPList.[ch]
19384           src/NetworkManagerDbus.[ch]
19385                 - Adjust to new way of setting encryption key and method
19386                 - Pull encryption method down from NMI along with key
19387
19388         * src/NetworkManagerDevice.[ch]
19389                 - Removed encryption method fallback magic as the method is now
19390                         determined by the user.  This greatly simplifies the connection
19391                         logic.
19392                 - More robust connection/link logic.  Besides removing the encryption
19393                         method fallback magic, check whether or not the card is receiving
19394                         invalidly encrypted packets, which usually indicates that we have
19395                         a bad WEP key set.
19396                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19397
19398         * test/nminfotest.c
19399                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19400
19401 2004-10-07 Dan Williams <dcbw@redhat.com>
19402
19403         * info-daemon/NetworkManagerInfo.conf
19404                 - Allow root user to run NMI too
19405
19406 2004-10-06 Dan Williams <dcbw@redhat.com>
19407
19408         * src/NetworkManagerDevice.[ch]
19409           src/NetworkManagerDbus.c
19410           doc/NetworkManager DBUS API.txt
19411                 - Add a new status tag "scanning", which is set when there
19412                         is no active network connection, but NetworkManager is
19413                         looking for an access point to associate with
19414
19415         * panel-applet/main.c
19416                 - Cast the applet appropriately for gtk_widget_show_all ()
19417
19418 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19419
19420         * panel-applet/eggtrayicon.[ch]:
19421         * panel-applet/main.c: Add missing file
19422
19423 2004-10-04 Dan Williams <dcbw@redhat.com>
19424
19425         * src/NetworkManagerDevice.[ch]
19426                 - Add a slightly more robust method of determining if the WEP key
19427                         is correct or not, by checking the WEP-discarded packet count
19428                         on the card
19429
19430         * info-daemon/NetworkManagerInfo.c
19431                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19432                         un-escape values we pull out rather than escaping them
19433
19434 2004-10-03  Marcel Telka  <marcel@telka.sk>
19435
19436         * configure.in (ALL_LINGUAS): Added sk.
19437
19438 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19439
19440         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19441         and feel.  We should be back to working, and have a good, clean
19442         look.
19443
19444 2004-09-30 Dan Williams <dcbw@redhat.com>
19445
19446         * info-daemon/NetworkManagerInfo.c
19447           info-daemon/NetworkManagerInfoDbus.c
19448           test/nminfotest.c
19449                 - Escape ESSIDs in gconf
19450
19451         * src/NetworkManagerDevice.c
19452                 - Fix pseudo-scanning to use netowrk list from info daemon
19453
19454 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19455
19456         * configure.in: Add a temporary --enable-notification-icon.  This
19457         will prolly go away.
19458
19459         * info-daemon/Makefile.am:
19460         * info-daemon/NetworkManagerInfo.c:
19461         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19462
19463         * panel-applet/Makefile.am:
19464         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19465         * panel-applet/NMWirelessApplet.h:
19466
19467 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19468
19469         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19470         before 'select custom ESSID'.
19471
19472         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19473         fully complete, but syncing in prep for merge.
19474
19475         * panel-applet/icons/*png: New images
19476
19477 2004-09-28 Dan Williams <dcbw@redhat.com>
19478
19479         * src/NetworkManager.c
19480           src/NetworkManagerDevice.c
19481           src/NetworkManagerPolicy.c
19482                 - Don't blow away an active wired connection on startup
19483
19484 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19485
19486         Changes from J5
19487         
19488         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19489
19490         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19491         syslog output
19492
19493 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19494
19495         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19496         have a wireless card.
19497
19498 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19499
19500         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19501         Also, get the right device strings.
19502
19503 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19504
19505         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19506         the logic to make this right.
19507
19508         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19509         devices so that wired networks are always first.
19510
19511 2004-09-22    <clarkbw@cvs.gnome.org>
19512
19513         * initscript/Debian/.cvsignore:
19514         * initscript/Slackware/.cvsignore:
19515         Added new cvsignores for Makefile, Makefile.in
19516         
19517         * test/.cvsignore:
19518         Added nmtestdevices
19519         
19520         * src/NetworkManagerDevice.c: 
19521         * src/NetworkManager.c: 
19522         Updated the wireless/wired HAL device strings from net.ethernet to
19523         net.80203 or net.80211 depending on wired or wireless respectively
19524         
19525         * examples/python/NetworkManager.py: 
19526         s/Quality/Strength/
19527
19528         * examples/python/systray/network_tray.py:
19529         Lots of little changes and fixes.  been rotting for a while so I
19530         figured I'd finally sync them all with CVS
19531
19532 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19533
19534         * configure.in: Add graphics
19535
19536         * panel-applet/Makefile.am: Add graphics
19537
19538         * panel-applet/icons/*: Add graphics
19539
19540         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19541         the icons fully lined up.
19542
19543         * panel-applet/menu-info.c: 
19544         * panel-applet/menu-info.h: Add another menu type.
19545
19546 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19547
19548         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19549
19550         * panel-applet/menu-item.[ch]: Wireless menu item.
19551
19552 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19553
19554         * info-daemon/NetworkManagerInfo.conf
19555                 - Created a more robust security policy for the DBus service
19556                         - everything is denied by default
19557                         - root can own and send to the service
19558                         - users logged in at the console can send to the service
19559
19560 2004-09-13  Dan Williams <dcbw@redhat.com>
19561
19562         * src/NetworkManagerDevice.c
19563                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19564                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19565                         the latter
19566
19567 2004-09-13  Dan Williams <dcbw@redhat.com>
19568
19569         * TODO: fix typo
19570
19571         * docs/NetworkManager DBUS API.txt
19572                 - Update for new signal strength changes
19573
19574         * panel-applet/NMWirelessApplet.c
19575                 - Make panel icon show strength of the current connection
19576                 - Cleanups and memleak fixes
19577
19578         * panel-applet/NMWirelessApplet.h
19579                 - Add data members for signal strength on devices and networks
19580
19581         * panel-applet/NMWirelessAppletDbus.c
19582                 - Free more DBusErrors
19583                 - Update for new signal strength changes
19584                 - Make devices and networks more like real objects, use ref/unref methods
19585                 - Actually unlock the mutex when updating the active device
19586
19587         * src/NetworkManagerAP.c
19588                 - Change AP functions and data members from "quality"->"strength"
19589
19590         * src/NetworkManagerDbus.c
19591                 - Kill "getMaxQuality" and "getQuality" methods
19592                 - Add "getStrength" methods for Networks and Devices
19593
19594         * src/NetworkManagerDevice.[ch]
19595                 - Add accessors for device strength
19596                 - Add functions to update strength for a device.  Note that not all drivers
19597                         actually support signal strength for scanned access points (Atmel drivers
19598                         being one)
19599                 - Calculate signal strength for each AP during scan
19600
19601         * src/NetworkManagerWireless.[ch]
19602                 - Add function to return signal strength % from a device and a raw quality struct
19603
19604         * test/nmclienttest.c
19605                 - Update for new signal strength changes
19606
19607 2004-09-11  Dan Williams <dcbw@redhat.com>
19608
19609         * src/NetworkManager.c
19610                 - Fix race condition between initscripts and NM on card insertion
19611                         which could cause a card to keep an IP address and routes around
19612                         even when it was not the active device
19613
19614         * src/NetworkManagerDbus.c
19615                 - Fix compile errors, free more DBusErrors
19616
19617 2004-09-11  Dan Williams <dcbw@redhat.com>
19618
19619         * docs/NetworkManager DBUS API.txt
19620                 - Add an explanation of NM's API
19621
19622         * src/NetworkManagerDbus.c
19623                 - Free some more DBusErrors if needed
19624
19625 2004-09-11  Dan Williams <dcbw@redhat.com>
19626
19627         * panel-applet/NMWirelessApplet.c
19628           panel-applet/NMWirelessAppletDbus.c
19629                 - Start using NetworkDevice/WirelessNetwork structures in more places
19630                 - Update for unified device/network forcing in NetworkManager
19631
19632         * src/NetworkManager.c
19633                 - some code consolidation
19634
19635         * src/NetworkManagerDbus.c
19636                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19637                         or two arguments:  the first is the NM ID of the device to switch to,
19638                         and the second (optional) argument is the ESSID of a wireless network
19639                         to use as well.
19640                 - Get rid of "setNetwork" method due to above change
19641
19642         * src/NetworkManagerDevice.c
19643                 - (nm_device_new): perform scan and update best AP on device creation
19644                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19645                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19646                         spin waiting for cancellation to finish before returning
19647
19648         * src/NetworkManagerPolicy.c
19649                 - Changes here clarify the situations in which a device switch occurs, and 
19650                         make sure to keep using a forced device and network if the user gives
19651                         us one
19652                 - Remove old unused code
19653
19654 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19655
19656         * configure.in: Added Danish (da) to ALL_LINGUAS.
19657
19658 2004-09-09  Dan Williams <dcbw@redhat.com>
19659
19660         * panel-applet/NMWirelessAppletDbus.c
19661                 - Pull fresh devices and networks from NM when wireless networks
19662                         change.  Provides faster feedback of a forced wireless network
19663
19664         * src/NetworkManagerDbus.c
19665                 - Return error when "getMaxQuality" is called on a wired device
19666                 - Make best_ap freezing actually work again, and signal cancellation
19667                         of activation if there's already a device activation when the user
19668                         freezes the best_ap
19669
19670         * src/NetworkManagerDevice.c
19671                 - Don't clear out the best_ap for wireless devices when the link goes
19672                         down, that's done elsewhere
19673                 - Kill any dhcp daemons when cancelling device activation since they
19674                         may be stuck waiting for a DHCP address, and since we're cancelling
19675                         activation we don't care about that anymore
19676
19677         * src/NetworkManagerPolicy.c
19678                 - Make sure to unref the device we ref earlier (we refed it to make sure
19679                         it stuck around during device activation and such)
19680                 - If we were going to change the best device, but its activating currently
19681                         (and therefore the change didn't occur due to the check earlier)
19682                         we mark the state changed to we come back to it later when device
19683                         activation has canceled and its no longer activating
19684
19685         * src/backends/NetworkManagerRedHat.c
19686                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19687
19688 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19689
19690         * info-daemon/passphrase.glade: 
19691         set passphrase input to activates_default : True
19692
19693         * examples/python/systray/network_tray.py
19694         (network_tray.sort_networks):
19695
19696         Added support for having wireless always scanning
19697
19698 2004-09-09  Dan Williams <dcbw@redhat.com>
19699
19700         NOTE: this commit changes the behavior of wireless devices in
19701         NetworkManager.  They are now up all the time, scanning all
19702         the time.  Only the active device has an IP address and routing
19703         information set up however.  Also, NetworkManager will no longer
19704         opportunistically switch wireless networks when a better one
19705         comes in range, it will remain associated with one wireless network
19706         until that one drops out.
19707
19708         * panel-applet/NMWirelessApplet.c
19709           panel-applet/NMWirelessAppletDbus.c
19710                 - List all wireless cards and their respective networks
19711
19712         * src/NMLoadModules
19713                 - Use full path to /sbin/ip
19714
19715         * src/NetworkManager.c
19716                 - Keep wireless devices up all the time so they can scan
19717
19718         * src/NetworkManagerDbus.c
19719                 - On a WirelessNetworkUpdate signal from NMI, don't update
19720                         the "best" AP
19721
19722         * src/NetworkManagerDevice.c
19723                 - (nm_device_set_link_active): clear out the best ap for
19724                         wireless devices when the link is set to FALSE
19725                 - Scan on all wireless cards, all the time
19726                 - (nm_device_activation_worker): split out the wireless card
19727                         link-waiting code to a separate function
19728                 - Keep wireless cards up even if device activation fails
19729                 - Don't update the "best" ap as much
19730
19731         * src/NetworkManagerPolicy.c
19732                 - Don't update the best ap when checking if its frozen,
19733                         let link checking clear out a frozen best ap for us
19734
19735         * src/NetworkManagerWireless.c
19736                 - Scan on all wireless cards, all the time
19737
19738 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19739
19740         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19741
19742 2004-09-09  Ankit Patel <ankit@redhat.com>
19743
19744         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19745
19746 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19747
19748         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19749
19750 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19751
19752         * examples/python/NetworkManager.py: 
19753         added CONNECTED, CONNECTING, and DISCONNECTED states
19754         added methods to return number of devices of a single type
19755
19756         * examples/python/systray/network_tray.py: 
19757         did some tweaks to get the menu looking near what it is supposed
19758         to look like.  Also did a Airo card hack to make it show the
19759         correct AP quality
19760
19761 2004-09-08  Dan Williams <dcbw@redhat.com>
19762
19763         * panel-applet/no-networkmanager.png
19764           panel-applet/Makefile.am
19765           panel-applet/NMWirelessApplet.c
19766                 - Add a "NetworkManager not running" icon and use it
19767                 - Use new consolidated GConf keys rather than Preferred/Trusted
19768
19769         * TODO: update
19770
19771         * info-daemon/NetworkManagerInfo.c
19772           info-daemon/NetworkManagerInfoDbus.[ch]
19773           info-daemon/NetworkManagerInfoPassphraseDialog.c
19774                 - There are now no longer two separate lists of wireless networks,
19775                         but one list where each network is "trusted" or not trusted
19776                 - Add a "getNetworkTrusted" dbus method
19777                 - "WirelessNetworkUpdate" signal now sent rather than
19778                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19779                 - Start freeing some dbus errors (not completed yet)
19780
19781         * info-daemon/passphrase.glade
19782                 - Remove the "don't show" hints for pager and taskbar
19783                 - Add a title since its going to be in the taskbar
19784
19785         * src/NetworkManager.[ch]
19786           src/NetworkManagerAPList.[ch]
19787                 - There are now no longer two separate lists of wireless networks,
19788                         but one list where each network is "trusted" or not trusted
19789
19790         * src/NetworkManagerAP.[ch]
19791                 - Add get/set "trusted" accessors and data bit
19792
19793         * src/NetworkManagerDbus.[ch]
19794                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19795                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19796
19797         * src/NetworkManagerDevice.[ch]
19798                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19799                 - (nm_device_new): Get device config from backend when initializing devices
19800                 - (nm_device_activation_worker): Split out device configuration on
19801                         activation to deal with static/dynamic IP differences, and try encryption
19802                         fallbacks on a device if the encryption method for the best AP is not good
19803                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19804                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19805
19806         * src/NetworkManagerWireless.c
19807                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19808
19809         * src/backends/NetworkManagerRedHat.c
19810           src/backends/NetworkManagerSystem.h
19811                 - (nm_system_device_update_config_info): Add function to get device configuration
19812                         from system data in ifcfg-* files
19813
19814         * src/backends/NetworkManagerDebian.c
19815           src/backends/NetworkManagerGentoo.c
19816           src/backends/NetworkManagerSlackware.c
19817                 - Add stub functions for getting device configuration
19818
19819 2004-09-07  Dan Williams <dcbw@redhat.com>
19820
19821         * src/backends/NetworkManagerRedhat.c
19822           src/backends/NetworkManagerSlackware.c
19823                 - Use full path to /sbin/ip everywhere
19824
19825 2004-09-07  Dan Williams <dcbw@redhat.com>
19826
19827         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19828
19829         * configure.in
19830           initscript/Makefile.am
19831           initscript/Slackware/Makfile.am
19832           initscript/Slackware/rc.networkmanager
19833           src/Makefile.am
19834           src/backends/NetworkManagerSlackware.c
19835                 - Add Slackware support
19836
19837 2004-09-07  Dan Williams <dcbw@redhat.com>
19838
19839         Patches below from:
19840                 <j@bootlab.org>
19841                 Mark Roach <mrroach@okmaybe.com>
19842                 Thom May <thom@debian.org>
19843
19844         * configure.in
19845           initscript/Debian/NetworkManager
19846           initscript/Debian/Makefile.am
19847                 - Initscript for Debian
19848
19849         * src/backends/NetworkManagerDebian.c
19850                 - Add missing system init function to allow compilation
19851                         on Debian
19852
19853 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19854
19855         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19856
19857 2004-09-03  Akagic Amila <bono@linux.org.ba>
19858
19859         * configure.in: Added 'bs' to ALL_LINGUAS.
19860
19861 2004-09-02  Colin Walters  <walters@verbum.org>
19862
19863         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19864         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19865         g_strdup_printf instead of arbitrarily sized buffers.
19866
19867 2004-09-01  Colin Walters  <walters@verbum.org>
19868
19869         * NetworkManager.pc.in: New file.
19870
19871         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19872
19873 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19874         
19875         * configure.in: Punjabi(pa) is added to po/.
19876
19877 2004-08-31  Dan Williams <dcbw@redhat.com>
19878
19879         * Remove 'debug' extern global from all files since we now
19880                 use syslog()
19881
19882         * src/NetworkManager.[ch]
19883                 - Break out routine that get the net.interface property from HAL,
19884                         removing that logic from nm_create_device_and_add_to_list()
19885                 - (nm_create_device_and_add_to_list): make this a bit more general so
19886                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19887                         the create of test devices.
19888                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19889                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19890                         which makes NetworkManager listen for dbus commands to create test
19891                         devices, which have no backing hardware.  Use when you're on a plane
19892                         for example, and/or forgot your wireless card at home.  Test devices
19893                         _cannot_ be created unless NM is started with --enable-test-devices.
19894
19895         * src/NetworkManagerDbus.[ch]
19896                 - New "getLinkActive" method for devices
19897                 - New "setLinkActive" method for devices (only works on test devices)
19898                 - New "createTestDevice" method on NetworkManager object to create a test
19899                         device of a specified type (ie wired, wireless).  UDI is created from
19900                         scratch, as is the interface name.  Only works when NM is started with
19901                         --enable-test-devices switch.
19902                 - New "removeTestDevice" method on NetworkManager object which removes a
19903                         test device.  Only works when NM is started with --enable-test-devices
19904
19905         * src/NetworkManagerDevice.[ch]
19906                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
19907                         whether a device is a test device or not, and what its link status is.
19908                 - Deal with test devices in most functions.  For those that work directly on hardware
19909                         special-case test devices.
19910                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19911                         command-line.
19912                 - (nm_device_update_link_active): split out logic for wired and wireless device link
19913                         checking to separate functions to facilitate test device link checking.
19914                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19915                         don't make a distinction between System Authentication and Encryption
19916                         (namely Cisco aironet), we use Open System auth when setting a WEP key
19917                         on the card.  We don't deal with Shared Key auth yet.
19918                 - (nm_device_activation_worker): split the activation cancel check logic out into
19919                         a separate routine nm_device_activation_cancel_if_needed()
19920                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19921                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19922                         a list of fake access points that they can "see"
19923                 - (nm_device_is_test_device): return whether or not a device is a test device
19924
19925         * src/NetworkManagerPolicy.c
19926                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19927                         previously if you "locked"/forced NM to use a wireless device but then
19928                         selected a wireless network for NM to use, it would switch to a wired device.
19929                         So, if the active device is wireless and it has a "forced" best AP, use it
19930                         if the "forced" best AP is still valid
19931                 - (nm_state_modification_monitor): deal with NULL best devices, for example
19932                         there were no usable network devices, or the last one was removed
19933
19934         * src/backends/NetworkManager*.c
19935                 - Deal with test devices, mostly just return success for operations like getting
19936                         a DHCP address
19937
19938         * test/nmtestdevices.c
19939                 - Test tool to create/remove/link-switch test devices
19940
19941 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
19942
19943         * examples/python/NetworkManager.py: 
19944         added convience functions has_wired_device and has_wireless_device
19945
19946         * examples/python/systray/network_tray.py: 
19947         cleaned up a bunch of cruft, added support for listing wireless
19948         networks just like the real applet.  This is probably all I'm
19949         going to work on this applet from now on.
19950         TODO: add support for actually changing networks and devices
19951
19952         * examples/python/NetworkManager.py (NetworkManager.get_device): 
19953         changed "nm.networks" into a dict from a list so I can store all
19954         the cool information about networks in there
19955
19956         * examples/python/systray/network_tray.py: 
19957         Added nice message when you try to run without running make first
19958
19959         * examples/python/NetworkManager.py: 
19960         Bug fixes to the code so we get all the device information
19961         that we need in get_device()
19962         
19963         * examples/python/NMTester.py: 
19964         Fixed _print_device_list to print_device_list
19965
19966 2004-08-29  Seth Nickell  <seth@gnome.org>
19967
19968         * configure.in:
19969
19970         Actually properly setup the Debian backend in configure.
19971         
19972 2004-08-29  Colin Walters  <walters@verbum.org>
19973
19974         * test/nminfotest.c: Include string.h and stdlib.h.
19975         (get_network_string_property, get_networks_of_type): Return NULL.
19976
19977         * test/nmclienttest.c (get_device_name, get_active_device): Return
19978         NULL.
19979
19980         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
19981         use strlen, fgets always NULL-terminates the string.
19982
19983         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
19984         dbus_message_get_member): Remove /* in comment.
19985
19986         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
19987
19988         * src/NetworkManager.c (quit): Unused, delete.
19989         (nm_data_free): Cast arg to GFunc.
19990
19991         * panel-applet/NMWirelessAppletDbus.c: Need to include
19992         string.h, and dbus-glib-lowlevel.h (the latter is needed
19993         for dbus_connection_setup_with_g_main at present).
19994         (nmwa_dbus_update_wireless_network_list): Parenthesize
19995         assignment in conditional.
19996         (nmwa_dbus_worker): Return NULL.
19997
19998         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
19999         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20000         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20001         (nmwa_populate_menu): Return NULL on failure, instead of just
20002         return;
20003
20004         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20005
20006         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20007         variables.
20008
20009         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20010         delete.
20011         
20012 2004-08-29  Colin Walters  <walters@verbum.org>
20013
20014         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20015         a GTimeVal instead of time_t.  This is easier to work with,
20016         since time_t may be a long or double, we don't know.
20017
20018         * src/NetworkManagerDbus.h: Update prototype.
20019         
20020         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20021         instead of time_t.
20022         (nm_ap_get_timestamp): Update to return GTimeVal.
20023         (nm_ap_set_timestamp): Update to take GTimeVal.
20024         
20025         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20026         to handle GTimeVal.
20027
20028         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20029         GTimeVal change.
20030         (nm_ap_list_print_members): Fix warnings in printf format.
20031
20032 2004-08-29  Colin Walters  <walters@verbum.org>
20033         
20034         * panel-applet/NMWirelessApplet.c: Include config.h.
20035
20036 2004-08-29  Colin Walters  <walters@verbum.org>
20037
20038         * configure.in: Generate config.h.
20039
20040         * configure.in: Dump dependency on OpenSSL; we can't
20041         use it since this package is GPL:
20042         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20043         Instead, check for libgcrypt, use it if available,
20044         otherwise use included MD5 code.
20045
20046         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20047         Suck in from gnome-keyring, munge a bit.
20048         
20049         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20050         gnome-keyring-md5.h gnome-keyring-md5.c.
20051         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20052
20053         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20054         libgcrypt or included gnome-keyring md5 bits.
20055         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20056
20057 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20058
20059         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20060
20061 2004-08-27  Bryan Clark  <bclark@redhat.com>
20062
20063         * examples/python/systray/Makefile: 
20064
20065         Updated the clean section
20066         
20067         * examples/python/systray/trayiconmodule.c: 
20068         * examples/python/systray/trayicon.override: 
20069         * examples/python/systray/network_tray.py: 
20070         * examples/python/systray/eggtrayicon.h: 
20071         * examples/python/systray/eggtrayicon.c: 
20072         * examples/python/systray/Makefile: 
20073         * examples/python/README: 
20074         * examples/python/NetworkManager.py: 
20075         * examples/python/NMTester.py: 
20076
20077         Initial commit of these python example files
20078
20079 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20080
20081         * panel-applet/NMWirelessApplet.c
20082                 - Make current device bold
20083                 - Show more user-friendly device name if we got one from hal
20084
20085         * panel-applet/NMWirelessAppletDbus.c
20086                 - Grab "info.product" key from hal for network devices
20087                 - Cache the current active device
20088
20089 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20090
20091         * configure.in: Added en_CA to ALL_LINGUAS.
20092
20093 2004-08-27  Christian Rose  <menthos@menthos.com>
20094
20095         * configure.in: Added "sv" to ALL_LINGUAS.
20096
20097 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20098
20099         * Tag NetworkManager-0.2
20100
20101 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20102
20103         * initscripts/Makefile.am
20104         * configure.in: Make pass distcheck
20105
20106         * po/ChangeLog: added
20107
20108 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20109
20110         * panel-applet/NMWirelessApplet.c
20111                 - Remove debugging code
20112                 - Enable device switching from menus
20113
20114         * panel-applet/NMWirelessAppletDbus.[ch]
20115                 - Method for asking NM to switch devices
20116
20117         * src/NetworkManagerDevice.c
20118                 - Set dev->activating earlier, avoids race between
20119                         the dbus signal of "DeviceActivating" and setting
20120                         dev->activating (which is what NM's "status" method call
20121                         looks at)
20122
20123 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20124
20125         * panel-applet/NMWirelessApplet.[ch]
20126                 - Rework menu code to add devices to menu, and to show
20127                         signal strength for each access point.  Code cleanups
20128                         too.
20129
20130         * panel-applet/NMWirelessAppletDbus.c
20131                 - Grab network devices from NetworkManager too
20132                 - Grab quality information from NM for wireless networks
20133
20134         * src/NetworkManagerDbus.[ch]
20135                 - Add dbus methods for getting the HAL UDI from a device and
20136                         for getting its base quality, if its wireless
20137                 - Consolidate some functions (wireless network notifications,
20138                         device notifications)
20139                 - Add method for requesting NM to use a particular device
20140
20141         * src/NetworkManager.c
20142                 - Change for function consolidations from NetworkManagerDbus.c
20143                 - Implement active device locking and user-requested devices
20144                         (ie, tell NM to use a particular device instead of the one
20145                         it autochose)
20146
20147         * src/NetworkManagerDevice.c
20148                 - Add method for getting the base quality of a device, if its
20149                         wireless
20150                 - Grab device base quailty info from iwlib during scans
20151
20152         * src/NetworkManagerPolicy.c
20153                 - Use a user-requested device rather than the auto-chosen device
20154                         if we are told to
20155
20156 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20157
20158         * Makefile.am: add po as a supdir
20159
20160         * autogen.sh: use gnome-autogen.sh
20161
20162         * initscript/Gentoo/.cvsignore:
20163         * initscript/RedHat/.cvsignore: Shut up cvs
20164
20165         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20166
20167         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20168         (nmwa_fill): Use gettext.
20169
20170         * configure.in: add gettext support
20171         * po/.cvsignore:
20172         * po/NetworkManager.pot:
20173         * po/POTFILES.in:
20174
20175 2004-08-26  Seth Nickell  <seth@gnome.org>
20176
20177         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20178         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20179         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20180         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20181         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20182         * panel-applet/NMWirelessApplet.h:
20183
20184         Use a menu bar instead of a button for the main clickable
20185         thingy.
20186         
20187 2004-08-25  Dan Williams <dcbw@redhat.com>
20188
20189         * src/NetworkManagerDevice.c
20190                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20191                         turning encryption off, because the Cisco driver doesn't associate
20192                         with WEP-enabled access points unless we are in "open"
20193
20194 2004-08-25  Dan Williams <dcbw@redhat.com>
20195
20196         * src/NetworkManagerWireless.c
20197                 - Don't try to defererence blank passphrases
20198
20199 2004-08-25  Dan Williams <dcbw@redhat.com>
20200
20201         * panel-applet/NMWirelessApplet.c
20202                 - Rebuild the menu whenever a user clicks
20203
20204 2004-08-25  Dan Williams <dcbw@redhat.com>
20205
20206         * panel-applet/NMWirelessApplet.c
20207                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20208                         when NM isn't around or when its not connected
20209
20210         * src/NetworkManagerDevice.c
20211                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20212                         canceled.
20213
20214 2004-08-25  Dan Williams <dcbw@redhat.com>
20215
20216         * panel-applet/NMWirelessAppletDbus.c
20217                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20218                         for getting encryption, and don't stop on "val" once we've gotten it
20219                         from NetworkManager.  Short form:  encryption should now show up.
20220
20221 2004-08-25  Dan Williams <dcbw@redhat.com>
20222
20223         * panel-applet/NMWirelessApplet.c
20224                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20225                         network to associate with
20226
20227 2004-08-25  Dan Williams <dcbw@redhat.com>
20228
20229         * panel-applet/*
20230                 - Rework the panel applet to do all DBUS communication in a separate
20231                         thread
20232
20233 2004-08-25  Dan Williams <dcbw@redhat.com>
20234
20235         * info-daemon/NetworkManagerInfo.[ch]
20236                 - Remove "get_next_priority" function
20237
20238         * info-daemon/NetworkManagerInfoDbus.[ch]
20239                 - Convert "priority" functions to "timestamp"
20240
20241 2004-08-25  Dan Williams <dcbw@redhat.com>
20242
20243         * src/NetworkManagerAP.[ch]
20244                 - Add a "enc_method_good" member and accessors to an Access Point
20245                         to signal when we've found the correct encryption method
20246                         for an access point
20247                 - Add a "timestamp" member and accessors, remove "priority" member
20248                         and accessors (use timestamps instead)
20249                 - Rename "wep_key"->"enc_key"
20250                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20251                         for a specified encryption method using the access points
20252                         source encryption key/passphrase
20253
20254         * src/NetworkManagerAPList.c
20255                 - When updating a network with dbus, grab timestamp now instead of
20256                         priority
20257
20258         * src/NetworkManagerDBus.[ch]
20259                 - Add signal for "DeviceActivating"
20260                 - Switch priority->timestamp
20261
20262         * src/NetworkManagerDevice.c
20263                 - Change references of "wep_key" -> "enc_key" or "key"
20264                 - Signal DeviceActivating when starting activation
20265                 - When activating a wireless device, if the access point we are connecting
20266                         to is encrypted, and we have a source key, try to generate a mangled
20267                         key and use that (ie, generate real WEP key from a passphrase)
20268                 - Rework device activation to fallback to other encryption methods if
20269                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20270                         first, then if that doesn't work fall back to direct hex key).
20271                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20272                         priority.  We now prefer the latest access point used, rather than using
20273                         a priority scheme
20274                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20275                         points we've just discovered, and merge in correct info from the global
20276                         access point lists
20277
20278 2004-08-25  Seth Nickell  <seth@gnome.org>
20279
20280         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20281         Debian support.
20282         
20283         * src/Makefile.am:
20284         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20285         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20286         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20287         (nm_system_delete_default_route),
20288         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20289         (nm_system_load_device_modules):
20290
20291 2004-08-24  Dan Willemsen <dan@willemsen.us>
20292
20293         * src/NetworkManager.c
20294           src/backends/NetworkManagerGentoo.c
20295           src/backends/NetworkManagerRedHat.c
20296           src/backends/NetworkManagerSystem.h
20297                 - Implement preliminary Gentoo support, adding a
20298                         nm_system_init function to the backend specification
20299
20300         * configure.in
20301                 - Distribution auto-detection, lowercase any user-fed
20302                         distribution names
20303
20304         * initscript/.cvsignore
20305           initscript/Makefile.am
20306           initscript/RedHat/Makefile.am
20307           initscript/RedHat/NetworkManager
20308           initscript/Gentoo/Makefile.am
20309           initscript/Gentoo/NetworkManager
20310                 - Refactored initscript code separately for each
20311                         distribution
20312
20313 2004-08-23  Dan Williams <dcbw@redhat.com>
20314
20315         * configure.in
20316           src/Makefile.am
20317           src/NetworkManagerDevice.c
20318           src/NetworkManager.c
20319           src/NetworkManagerUtils.[ch]
20320           src/backends/NetworkManagerSystem.h
20321           src/backends/NetworkManagerRedHat.c
20322           src/backends/NetworkManagerGentoo.c
20323                 - Refactor system-specific code into separate backends for
20324                         each distribution
20325
20326 2004-08-23  Dan Willemsen <dan@willemsen.us>
20327
20328         * dispatcher-daemon/NetworkManagerDispatcher.c
20329           info-daemon/NetworkManagerInfo.[ch]
20330           info-daemon/NetworkManagerInfoDbus.c
20331           info-daemon/NetworkManagerInfoPassphraseDialog.c
20332           src/NetworkManager.c
20333           src/NetworkManagerAP.c
20334           src/NetworkManagerAPList.c
20335           src/NetworkManagerDbus.c
20336           src/NetworkManagerDevice.c
20337           src/NetworkManagerPolicy.c
20338           src/NetworkManagerUtils.[ch]
20339           src/NetworkManagerWireless.c
20340                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20341
20342         * src/NetworkManager.c
20343                 - Fixed usage wording for --no-daemon
20344
20345 2004-08-23  Dan Williams <dcbw@redhat.com>
20346
20347         * panel-applet/NMWirelessApplet.c
20348                 - Update our state every second to get more responsive panel icon
20349                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20350                         was causing our marching ants status blips to never move when
20351                         looking for a wireless network
20352
20353         * src/NetworkManagerDevice.c
20354                 - (nm_device_activation_begin): return if activation has already begun
20355                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20356                         trusted/preferred network into the device's access point when the
20357                         scan list is processed
20358
20359 2004-08-23  Dan Williams <dcbw@redhat.com>
20360
20361         * initscript/NetworkManager
20362                 - Use NMLaunchHelper rather than sleeping
20363
20364         * initscript/NMLaunchHelper.c
20365           Makefile.am
20366                 - Add helper program that exits only when NM activates a device,
20367                         or 10 seconds have passed, whichever happens first.  This
20368                         stops the boot processes until we have a network connection,
20369                         which NM can't do because it daemonizes and brings the connection
20370                         up in the background.  Allows stuff like NFS to not die.
20371
20372 2004-08-20  Dan Williams <dcbw@redhat.com>
20373
20374         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20375                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20376                         for a network, set the essid as well since it may not exist yet
20377                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20378                         since WEP keys/passphrases are long and prone to entry-error
20379
20380         * panel-applet/Makefile.am
20381           panel-applet/wired.png
20382                 - Add (pulled from system-config-network temporarily)
20383
20384         * panel-applet/NMWirelessApplet.[ch]
20385                 - Show wired picture when a wired connection is used
20386                 - Rename wireless icon enums, adding WIRELESS
20387
20388         * src/NetworkManagerDevice.c
20389                 - (nm_device_activate_wireless): unset encryption before bringing
20390                         down the card and setting the essid
20391                 - (nm_device_activatin_worker): request a key from the user if the
20392                         AP we are connecting to is encrypted but we don't have a key
20393                         for it yet
20394                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20395                         strcmp() that prevented a user-entered key from actually getting
20396                         used
20397
20398 2004-08-16  Dan Williams <dcbw@redhat.com>
20399
20400         * initscript/NetworkManager
20401                 - Check for /sbin/ip
20402                 - Do sysctl magic that network service does
20403                 - sleep 4s after start to allow network time to come up [hack]
20404
20405         * src/Makefile.am
20406           src/NMLoadModules
20407                 - Load all network device kernel modules (hal doesn't know devices
20408                         are ethernet until the module is loaded, and therefore we don't know)
20409
20410         * src/NetworkManager.c
20411                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20412                         network devices, and bring up the loopback device explicitly
20413
20414         * src/NetworkManagerUtils.[ch]
20415                 - (nm_enable_loopback): new function
20416
20417 2004-08-13  Dan Williams <dcbw@redhat.com>
20418
20419         * configure.in
20420           panel-applet/Makefile.am
20421                 - Fix up cleanfiles and server_DATA/server_in_files
20422
20423         * README
20424                 - Update with some comments on theory of operation
20425
20426         * CONTRIBUTING
20427           Makefile.am
20428                 - Add CONTRIBUTING
20429
20430 2004-08-12  Dan Williams <dcbw@redhat.com>
20431
20432         * info-daemon/passphrase.glade
20433                 - Set window title to " "
20434
20435         * panel-applet/Makefile.am
20436           panel-applet/keyring.png
20437                 - Deliver to correct place
20438
20439         * panel-applet/NMWirelessApplet.[ch]
20440                 - Add comments
20441                 - Remove applet->have_active_device as its no longer used
20442                 - (nmwa_load_theme): load keyring.png too
20443                 - (error_dialog): remove
20444                 - (show_warning_dialog): subsume functionality of error dialog too
20445                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20446                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20447                         the networks menu
20448                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20449                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20450                         and when we get broadcasts of changed wireless access points only, not when the
20451                         user clicks on the button to display the menu (too long of a wait)
20452                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20453                         networks that are encrypted
20454                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20455                         menu item with g_object_set_data()
20456
20457         * panel-applet/NMWirelessAppletDbus.[ch]
20458                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20459                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20460                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20461                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20462                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20463                         activation/deactivation signals and rebuild the menu when they happen
20464
20465         * src/NetworkManager.c
20466                 - (main): use new nm_spawn_process() rather than system()
20467
20468         * src/NetworkManagerDbus.c
20469                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20470                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20471                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20472                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20473                         to freeze the best_ap.
20474
20475         * src/NetworkManagerDevice.[ch]
20476                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20477                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20478                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20479                         ap list
20480
20481         * src/NetworkManagerUtils.[ch]
20482                 - (nm_spawn_process): add replacement for system() usage
20483
20484 2004-08-11  Dan Williams <dcbw@redhat.com>
20485
20486         * panel-applet/NMWirelessApplet.[ch]
20487                 - Fix up copyright and credits to include Bastien and Eskil,
20488                         who created the gnome-applets wireless applet, from whose
20489                         skeleton this one was created
20490                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20491                         pixmap to draw is computed during nmwa_update_state()
20492                 - Applet now shows itself all the time due to panel packing issues
20493                         which caused the applet to previously never come back after hiding.
20494                         When a wired device is the active device, the applet shows "not connected"
20495
20496         * panel-applet/NMWirelessAppletDbus.[ch]
20497                 - Clean up error messages and show what function they are from
20498                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20499                 - Add new device type getters, and a status getter
20500
20501         * src/NetworkManagerDbus.c
20502                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20503                         network is actually in the device's ap list
20504                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20505
20506         * src/NetworkManagerDevice.c
20507                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20508                         card
20509
20510         * test/nmclienttest.c
20511                 - Report status of NetworkManager too
20512
20513 2004-08-11  Dan Williams <dcbw@redhat.com>
20514
20515         * info-daemon/NetworkManagerInfo.c:
20516                 - (main): clean up Seth's code style
20517
20518         * info-daemon/NetworkManagerInfoDbus.c:
20519                 - Use the more aptly-named path/service/interface constants from NetworkManager
20520                 - Don't return empty strings ("") as object paths ever, instead return errors
20521
20522         * panel-applet/NMWirelessApplet.c:
20523                 - Clean up Seth's code style
20524
20525         * src/NetworkManager.[ch]
20526                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20527                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20528
20529         * src/NetworkManagerAPList.[ch]
20530                 - Move Iter struct right above the iter functions to preserve opacity
20531                 - (nm_ap_list_remove_ap): implement
20532                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20533                         remove AP if NetworkManagerInfo doesn't know anything about it
20534                 - (nm_ap_list_diff): user NMAPList iterators
20535                 - (nm_ap_list_print_members): implement debugging function
20536
20537         * src/NetworkManagerDbus.[ch]
20538                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20539                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20540                         and move the actual key setting stuff into NetworkManagerDevice.c
20541                 - (nm_dbus_get_network_priority): return -1 now on errors
20542                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20543                         get lost, and force the active device to update its "best" ap when AP lists change
20544                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20545                         method call due to pending_device member removal
20546
20547         * src/NetworkManagerDevice.[ch]
20548                 - Move NMDevice structure to the top
20549                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20550                 - Remove Pending Action stuff from everywhere
20551                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20552                         activation for us.  This thread blocks until all conditions for activation have
20553                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20554                         then setup up the interface and runs dhclient.  We have to do this because there
20555                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20556                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20557                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20558                         can tell nm_device_activation_worker() that we've got a key
20559                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20560                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20561                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20562                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20563
20564         * src/NetworkManagerPolicy.c
20565                 - Remove anything to do with pending_device
20566                 - Adjust device activation to deal with activation-in-worker-thread
20567
20568         * src/NetworkManagerUtils.c
20569                 - Clean up locking debugging a bit
20570
20571         * src/NetworkManagerWireless.[ch]
20572                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20573                         was badly named and is better as a device function
20574
20575         * panel-applet/.cvsignore: add
20576
20577 2004-08-09  Seth Nickell  <seth@gnome.org>
20578
20579         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20580         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20581         (nmwa_new):
20582         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20583
20584         Don't load the menus until clicked on (also removes a call outside
20585         normal code paths at first load).
20586
20587         Hide applet when NM is not present.
20588         
20589         Improve printf debugging stuff.
20590         
20591 2004-08-09  Dan Williams <dcbw@redhat.com>
20592
20593         * dispatcher-daemon/NetworkManagerDispatcher.c:
20594                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20595                 - Use constants for NetworkManager interface, service, and path
20596
20597 2004-08-09  Dan Williams <dcbw@redhat.com>
20598
20599         * src/NetworkManagerDbus.c:
20600                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20601                         instead return an error message
20602                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20603                         on a wired device.  Also never return an empty object path, instead return an error message
20604
20605 2004-08-06  Seth Nickell  <seth@gnome.org>
20606
20607         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20608
20609         Check the error code when getting a connection.
20610         
20611         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20612
20613         Check if the NM service exists when initializing (rather than
20614         assuming it does not).
20615         
20616         * src/NetworkManagerDbus.c: (nm_dbus_init):
20617
20618         Don't acquire the well-known service name until we have
20619         registered object/path handlers and can actually receive
20620         calls.
20621         
20622 2004-08-06  Dan Williams <dcbw@redhat.com>
20623
20624         * panel-applet/*
20625                 - Add panel applet
20626
20627         * src/NetworkManagerPolicy.c
20628           src/NetworkManager.c
20629                 - Get access point lists from NetworkManagerInfo on-demand,
20630                         and look for ServiceCreate/ServiceDeleted signals to see when
20631                         we should query NMI for lists
20632         * src/NetworkManagerAPList.c
20633                 - Make sure to init the list's mutex
20634                 - Convert traversals of the list over to the list iter functions
20635
20636         * src/NetworkManagerDbus.[ch]
20637                 - Use more aptly-named path/service/interface constants
20638                 - Treat both active and pending devices the same for "getActiveDevice"
20639                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20640
20641         * src/NetworkManagerDevice.c
20642                 - Honor "ignored" network list when picking best ap to use
20643
20644 2004-08-06  Seth Nickell  <seth@gnome.org>
20645
20646         * aclocal.m4:
20647
20648         Autogenerated, remove from CVS.
20649         
20650         * autogen.sh:
20651
20652         Don't hardcode automake version.
20653         
20654         * configure.in:
20655         * info-daemon/Makefile.am:
20656         * info-daemon/NetworkManagerInfo.c: (main):
20657
20658         Use GnomeProgram et al. for doing session management.
20659         Use popt stuff for argument parsing rather than doing
20660         it manugally.
20661         
20662 2004-08-05  Dan Williams <dcbw@redhat.com>
20663
20664         * test/nminfotest.c
20665                 - Update to new NMI dbus API, check different network types
20666
20667         * info-daemon/NetworkManagerInfoDbus.c
20668                 - Update to new NM dbus API, ie network type sent in query message
20669
20670 2004-08-05  Dan Williams <dcbw@redhat.com>
20671
20672         * An assload of changes
20673
20674 2004-08-02  Dan Williams <dcbw@redhat.com>
20675
20676         * TODO
20677                 - new task: proper logging support
20678
20679         * info-daemon/NetworkManagerInfo.c
20680                 - Correct spelling of "canceled"
20681                 - Correct casting of objects for g_signal_connect()
20682
20683         * info-daemon/NetworkManagerInfoDbus.c
20684                 - Add defines for NetworkManager namespace and object path, and use them
20685                 - Add filter function to trap new signals from NetworkManager:
20686                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20687
20688         * info-daemon/passphrase.glade
20689                 - Change name of "ok" button to "Login to Network..."
20690                 - Mark invisible
20691
20692         * src/NetworkManager.c
20693                 - Code and debug message cleanups
20694                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20695                 - (nm_add_initial_devices) Check returned string array of devices
20696                         and don't try to add devices if array is NULL
20697                 - (main) Initialize libhal a bit later, make code a bit clearer
20698
20699         * src/NetworkManagerAP.[ch]
20700                 - New accessor and data member "matched": used to speed up AP list
20701                         diffing
20702                 - New accessor and data member "enc_method": will be used during key
20703                         fallback to cache which passphrase->key conversion actually works
20704                         so we don't have to do it every time
20705
20706         * src/NetworkManagerAPList.[ch]
20707                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20708                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20709                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20710                         dbus in response to those differences
20711
20712         * src/NetworkManagerDbus.[ch]
20713                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20714                         make an object path for that access point (NOTE that we don't yet check to
20715                         make sure that access point is actually in the device's AP list yet)
20716                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20717                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20718                         New: signal appearance/disappearance of wireless networks
20719                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20720                         key entry
20721
20722         * src/NetworkManagerDevice.[ch]
20723                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20724                 - (nm_device_ap_list_get) New: return the AP list (static function)
20725                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20726                         new one resulting from the scan with the old one
20727
20728         * src/NetworkManagerWireless.c
20729                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20730
20731         * test/nminfotest.c
20732                 - #define object paths and namespaces and use the #defines rather than static strings
20733                 - Test out user-key functionality of NetworkManagerInfo too
20734
20735 2004-07-29  Dan Williams <dcbw@redhat.com>
20736
20737         * info-daemon/NetworkManagerInfoDbus.c
20738           src/NetworkManagerDbus.c
20739                 - Update to current DBus (ie don't use decomposed paths when registering
20740                         object paths/fallbacks)
20741
20742 2004-07-27  Dan Williams <dcbw@redhat.com>
20743
20744         * Remove various Makefile.in files
20745
20746         * TODO
20747                 - Add some more items
20748
20749         * configure.in
20750                 - Add checks for OpenSSL/md5 headers and libs
20751
20752         * src/Makefile.am
20753                 - Use OpenSSL CFLAGS
20754
20755         * src/NetworkManagerAP.[ch]
20756                 - Remove 'stamp' functions, replace with 'invalid' functions
20757                         to support user cancelling WEP key entry
20758
20759         * src/NetworkManagerDbus.c
20760                 - Remove 'stamp' return functions
20761                 - Treat returned user key as a passphrase and convert to a WEP key,
20762                         but don't actually use the WEP key yet.  We use the returned user
20763                         key as a hexadecimal WEP key until we can figure out a UI for
20764                         passphrase-vs-hex key
20765
20766         * src/NetworkManagerWireless.[ch]
20767                 - Add passphrase-to-128bit-key function
20768
20769 2004-07-27  Dan Williams <dcbw@redhat.com>
20770
20771         * TODO
20772                 - Add a couple of items
20773
20774 2004-07-27  Dan Williams <dcbw@redhat.com>
20775
20776         * info-daemon/NetworkManagerInfo.c
20777                 - Update allowed network's GConf key when user enters a WEP key explicitly
20778
20779         * info-daemon/NetworkManagerDbus.c
20780                 - Fix some comments
20781                 - nmi_dbus_get_allowed_networks(): kill warning
20782
20783 2004-07-27  Dan Williams <dcbw@redhat.com>
20784
20785         * initscript/Makefile.in
20786                 - Remove
20787
20788         * initscript/Makefile.am
20789                 - Add correct rules to install the init.d initscript
20790
20791         * info-daemon/NetworkManagerInfoDbus.c
20792                 - Remove debug fprintf
20793
20794         * src/NetworkManagerDbus.[ch]
20795                 - Remove debug fprintfs
20796                 - Add macros for NetworkManagerInfo object path/namespace
20797                 - Use said macros instead of constant strings
20798
20799 2004-07-27  Dan Williams <dcbw@redhat.com>
20800
20801         * initscript/.cvsignore
20802                 - Add
20803
20804         * info-daemon/Makefile.am
20805                 - Install .glade files and keyring.png
20806                 - Fix stupid omission of a \ that caused half the flags not to be
20807                         passed to gcc
20808
20809         * info-daemon/NetworkManagerInfo.c
20810                 - gtk_signal_connect->g_signal_connect
20811                 - Alert NetworkManagerInfo to new glade file location
20812
20813 2004-07-27  Dan Williams <dcbw@redhat.com>
20814
20815         * test/nmclienttest.c
20816           test/nminfotest.c
20817                 - Add missing <dbus/dbus.h> headers
20818                 - Add GPL message at top
20819
20820 2004-07-27  Dan Williams <dcbw@redhat.com>
20821
20822         * src/NetworkManagerAPList.[ch]
20823           src/Makefile.am
20824                 - Add.  Deal with allowed network list additions, deletions, and updates
20825
20826         * dispatcher-daemon/NetworkManagerDispatcher.c
20827                 - Add missing <dbus/dbus.h> header
20828
20829         * info-daemon/NetworkManagerInfo.[ch]
20830                 - Add missing <dbus/dbus.h> header
20831                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20832                         network change
20833                 - Better error checking
20834
20835         * info-daemon/NetworkManagerInfoDbus.[ch]
20836                 - Add missing <dbus/dbus.h> header
20837                 - Convert to using dbus_message_append_args/dbus_message_get_args
20838                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20839                         that an allowed network changed.  We don't want to signal on individual
20840                         keys _inside_ an allowed network really, just want NM to query the info
20841                         daemon for updated info on all keys.
20842                 - Better error checking
20843
20844         * src/NetworkManager.[ch]
20845                 - Add missing <dbus/dbus.h> header
20846                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20847                 - Zero out NMData structure on free
20848                 - No longer use a thread for allowed_ap_list updating, instead its now done
20849                         through dbus queries against NetworkManagerInfo
20850                 - Populate allowed_ap_list initially before adding existing network devices
20851                         to the device list, so wireless devices can get their "best" AP
20852
20853         * src/NetworkManagerDbus.[ch]
20854                 - Convert to using dbus_message_append_args/dbus_message_get_args
20855                 - Better error checking
20856                 - Implement Allowed Network info functions to request allowed network
20857                         info from NetworkManagerInfo
20858                 - Implement the filter function to process signals from NetworkManagerInfo
20859                         about changing allowed networks
20860
20861         * src/NetworkManagerDevice.c
20862                 - Fix file descriptor leak in nm_device_update_ip4_address()
20863
20864 2004-07-27  Dan Williams <dcbw@redhat.com>
20865
20866         * .cvsignore
20867           src/.cvsignore
20868           test/.cvsignore
20869           dispatcher-daemon/.cvsignore
20870           info-daemon/.cvsignore
20871                 - Add .cvsignore files to reduce noise when diffing
20872
20873 2004-07-24  Dan Williams <dcbw@redhat.com>
20874
20875         * src/NetworkManager.[ch]
20876           src/NetworkManagerDbus.[ch]
20877           src/NetworkManagerDevice.[ch]
20878           src/NetworkManagerPolicy.c
20879           src/NetworkManagerWireless.[ch]
20880                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20881                 - Pass the NMData application data structure through all calls
20882                         that need it so we can get rid of nm_get_global_data()
20883                 - Change deallocation of the allowed_ap_list GSList in preparation
20884                         for not completely clearing it every time we get an update,
20885                         but instead getting incremental updates via GConf/dbus
20886
20887 2004-07-22  Dan Williams <dcbw@redhat.com>
20888
20889         * configure.in
20890                 - Add checks for GConf libs & headers & flags
20891
20892         * info-daemon/Makefile.am
20893                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20894
20895         * info-daemon/NetworkManagerInfo.[ch]
20896                 - Don't use gquarks for data storage, just use normal data storage
20897                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20898
20899         * info-daemon/NetworkManagerDbus.[ch]
20900                 - Add method call for getting allowed networks
20901                 - Add method calls for getting an allowed network's essid, priority, and key
20902                 - Hook the method calls up to GConf
20903                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20904                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20905                 
20906         * src/NetworkManagerDbus.[ch]
20907                 - Switch for enumeration of networks to using essid instead
20908
20909         * test/Makefile.am
20910           test/nminfotest.c
20911                 - Add test program for NetworkManagerInfo
20912
20913 2004-07-19  Dan Williams <dcbw@redhat.com>
20914
20915         * src/NetworkManagerDbus.c
20916                 - Switch from indexed device paths to names.  Less code, more efficient.
20917                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20918
20919 2004-07-19  Dan Williams <dcbw@redhat.com>
20920
20921         * dispatcher-daemon/NetworkManagerDispatcher.c
20922                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20923
20924 2004-07-19  Dan Williams <dcbw@redhat.com>
20925
20926         * Makefile.am
20927                 - Add info-daemon directory
20928
20929         * configure.in
20930                 - Check for glade libs and headers
20931                 - Add info-daemon directory
20932
20933         * src/NetworkManagerAP.c
20934                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20935                         copied over to the new AP.
20936
20937         * src/NetworkManagerDbus.c
20938           src/NetworkManagerDbus.h
20939                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
20940                 - Remove nm_dbus_signal_need_key_for_network()
20941                 - Add disabled code for asynchronous user wep key callbacks
20942                 - Add functions for getting, setting, and cancelling user key operations
20943                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
20944                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
20945
20946         * src/NetworkManagerDevice.c
20947           src/NetworkManagerDevice.h
20948                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
20949                         logic is in device activation now
20950                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
20951                         key is wrong) trigger get-user-key pending action
20952                 - Implement get-user-key pending action stuff, tie to dbus messages
20953                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
20954                 - Add nm_device_ap_list_get_ap_by_essid()
20955                 - Instead of copying "best" access points, ref them instead so that the key we set
20956                         sticks around
20957
20958         * src/NetworkManagerPolicy.c
20959                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
20960                 - Don't cancel pending actions on a device if its the same device as last iteration
20961                 - Only promote pending_device->active_device if activation was successfull
20962
20963         * src/Makefile.am
20964                 - Rename nmclienttest->nmtest
20965
20966         * info-daemon/Makefile.am
20967           info-daemon/NetworkManagerInfo.c
20968           info-daemon/NetworkManagerInfo.h
20969           info-daemon/NetworkManagerInfoDbus.c
20970           info-daemon/NetworkManagerInfoDbus.h
20971           info-daemon/passphrase.glade
20972           info-daemon/NetworkManagerInfo.conf
20973           info-daemon/keyring.png
20974                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
20975                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
20976                         lists to NetworkManager by proxying user's GConf
20977           
20978
20979 2004-07-15  Dan Williams <dcbw@redhat.com>
20980
20981         * src/Makefile.am
20982                 - Turn on warnings
20983
20984         * src/NetworkManager.c
20985                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
20986                         that doing the deactivation ourselves
20987                 - Cancel an pending actions on a device if its being removed
20988                 - Break up link state checking a bit, make non-active wireless cards
20989                         deactivated to save power
20990                 - Remove unused variables
20991
20992         * src/NetworkManager.h
20993                 - Add support for "pending" device
20994
20995         * src/NetworkManagerAP.h
20996           src/NetworkManagerAP.c
20997                 - Add support for determining whether and AP has encryption enabled or not
20998                 - AP address is now "struct ether_addr" rather than a string
20999
21000         * src/NetworkManagerDbus.h
21001           src/NetworkManagerDbus.c
21002                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21003                 - Changes for AP address from struct ether_addr->string
21004
21005         * src/NetworkManagerDevice.h
21006           src/NetworkManagerDevice.c
21007                 - Remove unused variables, fix warnings
21008                 - Add support for Pending Actions (things that block a device from being "active"
21009                         until they are completed).
21010                 - First pending action:  Get a WEP key from the user
21011                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21012                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21013                 - Update wireless link checking to try to determine if the AP we are associated
21014                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21015                         trigger the GetUserKey pending action on the device
21016                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21017                         up in that case, otherwise we can't scan or link-check on it
21018                 - Add IP address change notifications at appropriate points (still needs some work)
21019                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21020
21021         * src/NetworkManagerPolicy.h
21022           src/NetworkManagerPolicy.c
21023                 - Split out "best" access point determiniation into separate function
21024                 - Make device activation 2-stage:  first the device is pending, then
21025                         in the next iteration through it becomes "active" unless it has
21026                         pending actions
21027
21028         * src/NetworkManagerUtils.h
21029           src/NetworkManagerUtils.c
21030                 - Clean up unused variables and warnings
21031                 - Wrap our debug macros in {} to prevent possible confusion
21032
21033         * src/NetworkManagerWireless.c
21034                 - Forgot to return current best priority, which lead to last available AP always
21035                         being chosen no matter what its priority was.  Corrected.
21036
21037 2004-07-15  Dan Williams <dcbw@redhat.com>
21038
21039         * dispatcher-daemon/Makefile.am
21040                 - Turn on warnings
21041
21042         * dispatcher-daemon/NetworkManagerDispatcher.c
21043                 - Remove unused variables due to warnings
21044                 - Fix some comments
21045                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21046
21047 2004-07-06  Dan Williams <dcbw@redhat.com>
21048
21049         * src/NetworkManager.c
21050                 - Add IPv4 address update for active device during link state check
21051                 - Don't allow wireless cards to be powered up when they are not the
21052                         active device
21053
21054         * src/NetworkManagerDbus.c
21055           src/NetworkManagerDbus.h
21056                 - Add DBUS IPv4 address change signal
21057                 - Add DBUS IPv4 address get method for devices
21058
21059         * src/NetworkManagerDevice.c
21060                 - Make setting the WEP key actually work
21061                 - Move IP address get/set/update stuff here, per-device
21062                 - Power down/bring down wireless device when deactivated
21063                 - For scanning wireless devices, if first scan returned ENODATA, try again
21064
21065         * src/NetworkManagerPolicy.c
21066                 - Only set the WEP key for an allowed access point if there is one.
21067                         We were setting it to be blank if one wasn't specified.
21068
21069         * src/NetworkManagerUtils.h
21070           src/NetworkManagerUtils.c
21071                 - Move the IP address stuff to NetworkManagerDevice.c
21072
21073         * dispatcher-daemon/NetworkManagerDispatcher.c
21074                 - Add device IPv4 address change notification stuff
21075
21076 2004-07-05  Dan Williams <dcbw@redhat.com>
21077
21078         * dispatcher-daemon/NetworkManagerDispatcher.c
21079                 - A bit more descriptive state message
21080                 - Don't segfault when reading directory
21081
21082         * src/NetworkManager.h
21083                 - Remove NMData desired_ap member, its now
21084                         per-device rather than global
21085
21086         * src/NetworkManager.c
21087                 - Remove references to desired_ap
21088                 - Move the allowed AP list refresh stuff into a thread
21089
21090         * src/NetworkManagerDevice.c
21091           src/NetworkManagerDevice.h
21092                 - Each wireless device now has a "best ap"
21093                 - Make device activate/deactivate functions per-device
21094                 - Make wireless scanning per-device
21095                 - Add IPv4 address discover functions, stub IPv6 ones
21096                 - Move ethernet address validation functions to NetworkManagerUtils.c
21097                 - Add wireless access point accessor function
21098                 - Get/Set functions for "best ap"
21099
21100         * src/NetworkManagerPolicy.c
21101                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21102                 - Deal with per-device "best ap" rather than data->desired_apa
21103                 - Implement allowed access point worker thread
21104                 - Add nm_policy_essid_is_allowed() function
21105
21106         * src/NetworkManagerUtils.c
21107           src/NetworkManagerUtils.h
21108                 - Add nm_ethernet_address_is_valid() function
21109                 - Add IPv4/IPv6 address get functions
21110
21111         * src/NetworkManagerWireless.c
21112           src/NetworkManagerWireless.h
21113                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21114
21115 2004-06-29  Dan Williams <dcbw@redhat.com>
21116
21117         * dispatcher-daemon/NetworkManagerDispatcher.c
21118                 - Implement script callout functionality
21119
21120 2004-06-24  Dan Williams <dcbw@redhat.com>
21121
21122         * NetworkManager.c
21123             - Spacing cleanups
21124             - Flush device routes and ip addresses when added to the device list
21125
21126         * NetworkManagerDbus.c
21127             - Spacing cleanups
21128             - Add missing returns in the two signal functions
21129         
21130         * NetworkManagerPolicy.c
21131             - Spacing and variable cleanups
21132
21133 2004-06-24  Dan Williams <dcbw@redhat.com>
21134
21135         * Makefile.am
21136           Makefile.in
21137           configure.in
21138           dispatcher-daemon/Makefile.am
21139           dispatcher-daemon/Makefile.in
21140           dispatcher-daemon/NetworkManagerDispatcher.c
21141             - Add a daemon that receives signals from NetworkManager
21142                         and will (eventually) call scripts in /etc/somewhere
21143                         when devices go up or down.
21144         
21145         * NetworkManager.c
21146             - Spacing cleanups
21147             - Flush device routes and ip addresses when added to the device list
21148
21149         * NetworkManagerDbus.c
21150             - Spacing cleanups
21151             - Add missing returns in the two signal functions
21152         
21153         * NetworkManagerPolicy.c
21154             - Spacing and variable cleanups
21155             - Rename nm_policy_switch_interface->nm_policy_switch_device
21156             - nm_policy_switch_device():
21157                                 Use kill (pid) instead of system ("kill <pid>")
21158             - nm_state_modification_monitor():
21159                                 Add wireless essid to output of debug statements
21160                                 Correct typo in device compare to switch or not (should be !=)
21161                                 Don't sleep after sending "no longer active" signal, was useless
21162
21163 2004-06-24  Dan Williams <dcbw@redhat.com>
21164
21165         * Initial import