2008-10-11 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-11  Dan Williams  <dcbw@redhat.com>
2
3         * include/NetworkManager.h
4           introspection/nm-device.xml
5           include/NetworkManagerVPN.h
6                 - Add a few more state reasons for the device deactivated state
7
8         * src/nm-device-interface.c
9           src/nm-device-interface.h
10                 - (nm_device_interface_deactivate): add a 'reason' argument
11
12         * src/nm-device.c
13           src/nm-device.h
14                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
15                 - (nm_device_state_changed): pass the state change reason to
16                         nm_device_take_down()
17                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
18                         to the state change function
19
20         * src/nm-manager.c
21           src/nm-manager.h
22                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
23                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
24                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
25                         something reasonable along to VPN deactivation
26
27         * src/vpn-manager/nm-vpn-manager.c
28           src/vpn-manager/nm-vpn-manager.h
29                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
30                         pass that along to nm_vpn_connection_disconnect()
31
32 2008-10-11  Dan Williams  <dcbw@redhat.com>
33
34         * src/nm-device-wifi.c
35                 - (can_scan): remove old madwifi hack for not scanning while connected
36
37 2008-10-11  Dan Williams  <dcbw@redhat.com>
38
39         Add support for VPN subnet gateways (bgo #549196)
40
41         * include/NetworkManager.h
42                 - Add key for internal VPN subnet gateway
43
44         * src/vpn-manager/nm-vpn-connection.c
45                 - (ip_address_to_string): return a const from a static buffer so we
46                         don't leak a lot of strings
47                 - (print_vpn_config): print internal VPN gateway as well
48                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
49                         VPN service too
50                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
51
52         * src/NetworkManagerSystem.c
53           src/NetworkManagerSystem.h
54                 - (nm_system_device_replace_default_ip4_route): split into two, one for
55                         VPN connections and one for normal devices
56                 - (replace_default_ip4_route): break out route stuff into its own function
57                 - (nm_system_replace_default_ip4_route_vpn,
58                    nm_system_replace_default_ip4_route): simplify by having two cases,
59                         one for VPNs and one for normal devices
60
61         * src/NetworkManagerPolicy.c
62                 - (update_routing_and_dns): simplify, use split default route replacement
63                         functions
64
65 2008-10-10  Dan Williams  <dcbw@redhat.com>
66
67         Rework default route handling to consolidate decisions in the policy,
68         and to take active VPN connections into account when changing the default
69         route (bgo #545912)
70
71         * src/NetworkManager.c
72                 - (main): pass the vpn_manager to the policy so it knows about active
73                         VPN connections; clean up the named manager which wasn't done before
74
75         * src/NetworkManagerPolicy.c
76           src/NetworkManagerPolicy.h
77                 - (nm_policy_new): get a clue about the vpn_manager
78                 - (update_default_route): remove, fold into update_routing_and_dns()
79                 - (update_routing_and_dns): handle active VPN connections too; an
80                         active VPN connection becomes the default route if it does not have
81                         server-specified or user-specified custom routes.  Otherwise, the
82                         best active device gets the default route
83                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
84                    nm_policy_destroy): track VPN connection activation and deactivation
85                         and update the default route when appropriate
86
87         * src/NetworkManagerSystem.c
88           src/NetworkManagerSystem.h
89                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
90                         in the VPN connection itself
91                 - (nm_system_vpn_device_set_from_ip4_config,
92                    nm_system_device_set_from_ip4_config): merge together to make
93                         nm_system_apply_ip4_config()
94                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
95                         via the parent device
96                 - (nm_system_apply_ip4_config): simplify
97                 - (add_ip4_route_to_gateway): new function; add a direct route to the
98                         gateway if needed
99                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
100                         route stuff out into add_ip4_route_to_gateway() for clarity
101
102         * src/nm-device.c
103                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
104
105         * src/vpn-manager/nm-vpn-connection.c
106           src/vpn-manager/nm-vpn-connection.h
107                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
108                    nm_vpn_connection_get_parent_device): add
109                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
110                         device explicit
111                 - (connection_state_changed): update the named manager now that
112                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
113                         useful on errors
114
115         * src/vpn-manager/nm-vpn-manager.c
116           src/vpn-manager/nm-vpn-manager.h
117                 - Add a 'connection-activated' signal
118                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
119                         policy to find out about active VPN connections
120
121 2008-10-10  Tambet Ingo  <tambet@gmail.com>
122
123         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
124         a daemon to prevent NM logging spew on console on startup and shutdown (due
125         to dependency loop between NM and syslog).
126
127 2008-10-10  Alexander Sack  <asac@ubuntu.com>
128
129         Implement managed mode. We bind devices configured in /etc/network/interfaces
130         to their connections by updating wired/wireless setting with the
131         mac address of the device.
132
133         * system-settings/plugins/ifupdown/plugin.c
134                 - (get_net_address_for_udi): implement function to retrieve MAC
135                         address of udi from hal in GByteArray format
136                 - (bind_device_to_connection): bind mac address of device to
137                         wired/wireless system connection
138                 - (hal_device_added_cb): call bind_device_to_connection for
139                         system connections with a matching interface.name
140                 - (hal_device_added_cb): ensure that all code paths
141                         properly free the "iface" string.
142
143 2008-10-10  Alexander Sack  <asac@ubuntu.com>
144
145         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
146         mode of the ifupdown system config plugin.
147
148         * system-settings/plugins/ifupdown/plugin.c
149                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
150                         private unmanage_well_known state field accordingly
151
152 2008-10-10  Alexander Sack  <asac@ubuntu.com>
153
154         Implement unmanaged mode that will prevent all devices in the
155         well_known_udis set from being touched by NetworkManager
156
157         * system-settings/plugins/ifupdown/plugin.c
158                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
159                         unmanage_well_known field used to turn on/off unmanaged
160                         mode
161                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
162                         signal when well_known_udis get added/removed
163                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
164                         if we are in unmanaged mode
165
166 2008-10-10  Alexander Sack  <asac@ubuntu.com>
167
168         Add support to track network devices that have a configuration
169         with a matching interface.name in /etc/network/interfaces
170
171         * system-settings/plugins/ifupdown/plugin.c
172                 - (typedef struct SCPluginIfupdownPrivate): add hash table
173                         to track |well_known_udis|
174                 - (get_iface_for_udi): helper function to get interface.name
175                         for a udi
176                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
177                         that add and remove devices to and from the well_known_udis
178                         set depending on whether their |interface.name| matches
179                         any interface definition in /etc/network/interfaces
180                 - (SCPluginIfupdown_init): connect callbacks from above with
181                         hal_mgr and setup well_known_udis hashtable
182                 - (GObject__dispose): destroy well_known_udis hashtable
183                 - (hal_device_added_cb2): implement wrapper callback with GFunc
184                         signature. user_data is supposed to be a triple (hal_mgr,
185                         config and devtype)
186                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
187                         startup and call hal_device_added_cb2
188
189 2008-10-10  Alexander Sack  <asac@ubuntu.com>
190
191         Remove implementation for not used NMSystemConfigInterface callback functions
192         in ifupdown plugin
193
194         * system-settings/plugins/ifupdown/plugin.c
195                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
196                 - (SCPluginIfupdown_connection_added): removed
197
198 2008-10-08  Dan Williams  <dcbw@redhat.com>
199
200         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
201
202         * src/NetworkManagerUtils.c
203                 - (nm_utils_call_dispatcher): add a 'hostname' action
204
205         * src/NetworkManagerPolicy.c
206                 - (set_system_hostname): dispatch hostname changes
207
208         * callouts/nm-dispatcher-action.c
209                 - (nm_dispatcher_action): handle 'hostname' actions
210
211 2008-10-08  Dan Williams  <dcbw@redhat.com>
212
213         * src/NetworkManagerSystem.c
214                 - (find_route): ref the route so it doesn't get destroyed when the cache
215                         is cleared
216                 - (nm_system_device_set_priority): unref the route here after it's done
217                         being used
218
219 2008-10-08  Dan Williams  <dcbw@redhat.com>
220
221         * src/nm-serial-device.c
222                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
223
224 2008-10-08  Tambet Ingo  <tambet@gmail.com>
225
226         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
227         connection with new settings before saving it.
228
229 2008-10-06  Dan Williams  <dcbw@redhat.com>
230
231         * src/nm-ip4-config.c
232           src/nm-ip4-config.h
233                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
234
235         * src/nm-device-interface.c
236                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
237                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
238                         by using '/' for the object path
239
240         * src/nm-device.c
241                 - (src/nm-device.c): marshal missing/unexported ip4-config through
242                         dbus as '/' since dbus-glib can't handle NULL objects nor can
243                         dbus handle NULL object paths
244
245 2008-10-03  Alexander Sack  <asac@ubuntu.com>
246
247         Implement system hostname support for debian/ubuntu
248
249         * system-settings/plugins/ifupdown/plugin.c
250                 - (GObject__get_property): extend announced capabilities; add
251                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
252                 - (GObject__set_property,write_system_hostname): implement
253                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
254                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
255                    update_system_hostname, get_hostname):
256                         implement hostname property that watches and
257                         parses /etc/hostname
258
259 2008-10-03  Alexander Sack  <asac@ubuntu.com>
260
261         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
262           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
263           system-settings/plugins/ifcfg-fedora/Makefile.am
264           system-settings/src/nm-inotify-helper.c
265           system-settings/src/nm-inotify-helper.h
266           src/Makefile.am
267                 - Move ifcfg-fedora inotify helpers to the system settings service so
268                         they are available to all plugins
269
270 2008-10-03  Alexander Sack  <asac@ubuntu.com>
271
272         Implement support for wep-tx-keyidx in ifupdown system
273         config plugin.
274
275         * system-settings/plugins/ifupdown/parser.c
276                 - (update_wireless_security_setting_from_if_block): introduce
277                         free_type_mapping func table; rename a few local
278                         variables to improve readability; add wpa security mapping
279                         for wep-tx-keyidx property
280                 - (string_to_gpointerint): new function used for the auto_type_mapping
281                         of new wep-tx-keyidx property
282                 - (slist_free_all): free func used for mapped slist types
283
284 2008-10-03  Alexander Sack  <asac@ubuntu.com>
285
286         * system-settings/src/main.c:
287                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
288                         always used as the hash key; fixes a crash when removing wired
289                         devices
290
291 2008-10-02  Dan Williams  <dcbw@redhat.com>
292
293         * src/nm-gsm-device.c
294                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
295                         pass the required GSM secret along via user_data rather than keeping
296                         it around in the private data where it sometimes didn't get cleared
297                 - (real_get_ppp_name): implement using the GSM username
298
299 2008-10-02  Dan Williams  <dcbw@redhat.com>
300
301         * src/ppp-manager/nm-ppp-manager.c
302           src/ppp-manager/nm-ppp-manager.h
303                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
304                         the settings daemon for completely new ones
305                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
306                         local PPP peer name; allow PPP debuging by launching NM with
307                         the environment variable NM_PPP_DEBUG defined
308                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
309                         create_pppd_cmd_line()
310
311         * src/nm-serial-device.c
312           src/nm-serial-device.h
313                 - New 'get_ppp_name' function for subclasses to implement to return the
314                         local PPP peer name
315                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
316                         and pass that name to the PPP manager
317
318         * src/nm-device-ethernet.c
319                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
320                         the local peer name
321
322         * src/nm-cdma-device.c
323                 - (real_get_ppp_name): implement using the CDMA username
324
325 2008-10-02  Dan Williams  <dcbw@redhat.com>
326
327         Patch from Alexander Sack <asac ubuntu com>
328
329         * system-settings/plugins/ifupdown/parser.c
330                 - Implement more graceful ip4 config parsing for cases where
331                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
332                   by using default values
333
334 2008-10-02  Dan Williams  <dcbw@redhat.com>
335
336         * src/NetworkManagerPolicy.c
337                 - (device_state_changed): when marking a connection invalid, clear its
338                         secrets too so that fresh secrets get requested the next time
339
340 2008-10-01  Dan Williams  <dcbw@redhat.com>
341
342         * system-settings/src/dbus-settings.c
343                 - (nm_sysconfig_settings_init): cache system hostname on startup as
344                         a fallback if no plugin provides a hostname
345                 - (get_property): fall back to cached hostname if no plugin provides
346                         a hostname
347
348 2008-10-01  Dan Williams  <dcbw@redhat.com>
349
350         Fix setting value comparison issue that caused some settings to look the
351         same when they were really different (rh #464417)
352
353         * libnm-util/nm-param-spec-specialized.c
354                 - (type_is_fixed_size): return fundamental size of the fixed type too
355                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
356                         in the comparison so that the _entire_ fixed type collection gets
357                         compared rather than just the first 'len1' bytes
358
359 2008-09-30  Dan Williams  <dcbw@redhat.com>
360
361         * src/NetworkManagerPolicy.c
362                 - (lookup_thread_worker): don't store the idle handler ID becuase the
363                         idle handler could have already run and freed the LookupThread
364                         structure
365
366 2008-09-30  Tambet Ingo  <tambet@gmail.com>
367
368         * src/nm-device.c (nm_device_get_priority): Implement.
369         (nm_device_set_ip4_config): Send the device priority to system ip4 
370         config setter.
371
372         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
373         Add priority argument and if it's >= 0, set the priority of the network
374         route added automatically by netlink (or kernel?).
375         (nm_system_device_set_priority): Implement.
376
377         * src/NetworkManagerPolicy.c (get_best_device): Use 
378         nm_device_get_priority() instead of home-grown version. Revert the
379         meaning, best priority is the lowest one.
380
381 2008-09-29  Dan Williams  <dcbw@redhat.com>
382
383         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
384         when it returns EAGAIN (rh #362421)
385
386         * src/nm-device-wifi.c
387                 - (wireless_get_range): try GIWRANGE a few times until the card responds
388                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
389
390 2008-09-28  Dan Williams  <dcbw@redhat.com>
391
392         * src/nm-serial-device.c
393           src/nm-serial-device.h
394                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
395                         cleaned at the right times when subclasses close the serial port too
396                 - (nm_serial_device_send_command): use a default send delay; don't
397                         spin forever on EAGAIN
398                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
399                         remove, no longer used
400                 - (find_response): return the matched response if any
401                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
402                         while doing so
403                 - (wait_for_reply_done): pass the matched response to the callback
404                 - (wait_for_reply_got_data): save the matched response; simplify timeout
405                         handling
406                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
407                         const since they never get modified
408                 - (cleanup_device): split out common cleanup stuff to a new function
409                 - (real_deactivate_quickly, finalize): use cleanup_device()
410
411         * src/nm-gsm-device.c
412                 - (modem_get_reply): remove, unused
413                 - (set_apn): give the card a bit more time to respond
414                 - (manual_registration_again, schedule_manual_registration_again,
415                    manual_registration_response, manual_registration): handle manual
416                         registration timeouts better by retrying registration a few times
417                         because cards are a bit slow after CFUN=1
418                 - (automatic_registration_get_network, get_network_response): use
419                         modem_wait_for_reply() because it interacts better with the serial
420                         buffer and does more intelligent matching; need to wait for 'OK'
421                         rather than just matching terminators
422                 - (schedule_automatic_registration_again,
423                    automatic_registration_response, automatic_registration): retry
424                         registration a few times on timeout or "searching" because cards
425                         take a bit to find a network after being powered up with CFUN=1
426                 - (power_up_response, power_up, init_full_done, enter_pin,
427                    check_pin_done): power up the card with CFUN=1 before trying to
428                         register with the network
429                 - (init_modem_full, init_modem): use more standard 3G init strings
430
431         * src/nm-hso-gsm-device.c
432                 - (modem_get_reply): remove, unused
433                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
434                         modem_wait_for_reply() to match actual responses instead of single
435                         termination characters; it doesn't leave stuff in the serial buffer
436                         that might confuse later calls
437                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
438                         to ensure that the call is really disconnected and not leave extra
439                         stuff in the serial buffer
440
441         * src/nm-cdma-device.c
442                 - (power_up_response, power_up, init_done): try Sierra-style modem
443                         power up before attempting to connect
444
445 2008-09-27  Dan Williams  <dcbw@redhat.com>
446
447         * libnm-util/nm-setting-gsm.c
448                 - (verify): verify GSM network ID
449
450 2008-09-25  Dan Williams  <dcbw@redhat.com>
451
452         * libnm-util/nm-setting-gsm.c
453           libnm-util/nm-setting-gsm.h
454                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
455                         technology terms (bgo #551361)
456
457 2008-09-25  Dan Williams  <dcbw@redhat.com>
458
459         Fix bgo #549401 (inspired by patch from Alexander Sack)
460
461         * src/nm-device-ethernet.c
462                 - (finish_supplicant_task): clean up scheduled tasks and free memory
463                 - (remove_supplicant_interface_error_handler): remove the supplicant
464                         error idle callback too
465                 - (supplicant_interface_release): rename from supplicant_interface_clean
466                         to match nm-device-wifi.c; clean up supplicant interface-related
467                         state tasks when the supplicant interface is disposed of
468                 - (schedule_state_handler): add scheduled tasks to a list so they can
469                         be cleaned up later
470                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
471                    supplicant_iface_connection_state_cb_handler): use
472                         finish_supplicant_task() to clean up each completed task
473                 - (supplicant_iface_connection_error_cb_handler,
474                    supplicant_connection_timeout_cb): clear source id when the task is
475                         complete
476                 - (supplicant_iface_connection_error_cb): save scheduled task id for
477                         later cleanup
478                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
479                         tasks
480
481         * src/nm-device-wifi.c
482                 - (finish_supplicant_task): clean up scheduled tasks and free memory
483                 - (remove_supplicant_interface_error_handler): remove the supplicant
484                         error idle callback too
485                 - (supplicant_interface_release): clean up supplicant interface-related
486                         state tasks when the supplicant interface is disposed of
487                 - (schedule_state_handler): add scheduled tasks to a list so they can
488                         be cleaned up later
489                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
490                    supplicant_iface_connection_state_cb_handler): use
491                         finish_supplicant_task() to clean up each completed task
492                 - (supplicant_iface_connection_error_cb_handler): clear source id when
493                         the task is complete
494                 - (supplicant_iface_connection_error_cb): save scheduled task id for
495                         later cleanup
496                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
497
498 2008-09-24  Tambet Ingo  <tambet@gmail.com>
499
500         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
501         method and get/set hostname property.
502
503 2008-09-24  Tambet Ingo  <tambet@gmail.com>
504
505         * src/supplicant-manager/nm-supplicant-interface.c
506         (nm_supplicant_interface_disconnect): Don't increment the reference 
507         count when disconnecting. The problem is on shutdown, when the replies
508         to these commands do not arrive before NM exits, resulting on never
509         calling supplicant interface's dispose(), which removes the interface
510         from supplicant.
511
512 2008-09-24  Tambet Ingo  <tambet@gmail.com>
513
514         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
515         all the public function arguments.
516
517 2008-09-22  Tambet Ingo  <tambet@gmail.com>
518
519         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
520         "Failure" signal from VPN plugins, store the failure reason, and
521         use it when the state is changed to failure.
522
523         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
524         description.
525
526         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
527         reason to the end of the list to not break the API.
528         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
529         so it can be shared by plugins and daemon.
530
531 2008-09-18  Dan Williams  <dcbw@redhat.com>
532
533         Patch from Alexander Sack <asac@ubuntu.com>
534
535         * configure.in
536           system-settings/plugins/Makefile.am
537           system-settings/plugins/ifupdown/Makefile.am
538           system-settings/plugins/ifupdown/interface_parser.c
539           system-settings/plugins/ifupdown/interface_parser.h
540           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
541           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
542           system-settings/plugins/ifupdown/parser.c
543           system-settings/plugins/ifupdown/parser.h
544           system-settings/plugins/ifupdown/plugin.c
545           system-settings/plugins/ifupdown/plugin.h
546                 - Implement a Debian/Ubuntu legacy network configuration plugin
547                         (gnome.org #551941)
548
549 2008-09-18  Dan Williams  <dcbw@redhat.com>
550
551         Implement support for honoring configured and automatic hostnames, and for
552         setting the configured hostname.
553
554         * introspection/nm-ip4-config.xml
555           src/nm-ip4-config.c
556           src/nm-ip4-config.h
557           src/dhcp-manager/nm-dhcp-manager.c
558                 - Remove useless hostname property; it's not really part of the IPv4
559                         config
560
561         * introspection/nm-settings-system.xml
562           libnm-glib/nm-dbus-settings-system.c
563           libnm-glib/nm-dbus-settings-system.h
564                 - Add SetHostname() call to system settings D-Bus interface
565                 - Add Hostname property to system settings D-Bus interface
566                 - (nm_dbus_settings_system_save_hostname,
567                    nm_dbus_settings_system_get_hostname): implement
568
569         * src/nm-device.c
570           src/nm-device.h
571                 - (nm_device_get_dhcp4_config): implement
572
573         * src/nm-manager.c
574           src/nm-manager.h
575                 - Fetch and track system settings service hostname changes, and proxy
576                         the changes via a GObject property of the manager
577
578         * system-settings/src/nm-system-config-interface.c
579           system-settings/src/nm-system-config-interface.h
580                 - Replace nm_system_config_interface_supports_add() with a capabilities
581                         bitfield
582
583         * system-settings/src/nm-system-config-error.c
584           system-settings/src/nm-system-config-error.h
585                 - Add additional errors
586
587         * system-settings/src/dbus-settings.c
588           system-settings/src/dbus-settings.h
589                 - (get_property, nm_sysconfig_settings_class_init): add hostname
590                         property; first plugin returning a hostname wins
591                 - (impl_settings_add_connection): use plugin capabilities instead of
592                         nm_system_config_interface_supports_add()
593                 - (impl_settings_save_hostname): implement hostname saving
594
595         * src/NetworkManagerPolicy.c
596                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
597                    lookup_thread_die): implement an asynchronous hostname lookup thread
598                         which given an IPv4 address tries to look up the hostname for that
599                         address with reverse DNS
600                 - (get_best_device): split out best device code from
601                         update_routing_and_dns()
602                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
603                         to preserve the 127.0.0.1 reverse mapping that so many things require
604                 - (set_system_hostname): set a given hostname
605                 - (update_system_hostname): implement hostname policy; a configured
606                         hostname (from the system settings service) is used if available,
607                         otherwise an automatically determined hostname from DHCP, VPN, etc.
608                         If there was no automatically determined hostname, reverse DNS of
609                         the best device's IP address will be used, and as a last resort the
610                         hostname 'localhost.localdomain' is set.
611                 - (update_routing_and_dns): use get_best_device(); update the system
612                         hostname when the network config changes
613                 - (hostname_changed): update system hostname if the system settings
614                         service signals a hostname change
615                 - (nm_policy_new): list for system settings service hostname changes
616                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
617                         gets told to die
618
619         * system-settings/plugins/keyfile/plugin.c
620           system-settings/plugins/ifcfg-suse/plugin.c
621                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
622                         capabilities properties
623
624         * system-settings/plugins/ifcfg-fedora/shvar.c
625                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
626                         writes out /etc/sysconfig/network now
627
628         * system-settings/plugins/ifcfg-fedora/plugin.c
629                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
630                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
631                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
632                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
633                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
634                         hostname get/set and capabilities get
635
636 2008-09-18  Dan Williams  <dcbw@redhat.com>
637
638         * libnm-util/nm-setting-wireless.c
639                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
640                         group ciphers if the wireless-security setting explicitly specified
641                         them, effectively making the default be "all ciphers"  (idea from
642                         Alexander Sack)
643
644 2008-09-15  Dan Williams  <dcbw@redhat.com>
645
646         Patch from Alexander Sack <asac@ubuntu.com>
647
648         * src/named-manager/nm-named-manager.c
649                 - (dispatch_resolvconf): respect resolvconf exit code
650
651 2008-09-12  Tambet Ingo  <tambet@gmail.com>
652
653         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
654         again. Add some debugging.
655
656 2008-09-11  Dan Williams  <dcbw@redhat.com>
657
658         * system-settings/plugins/keyfile/plugin.c
659                 - (update_connection_settings): update connection manually, since
660                         nm_exported_connection_update() does authentication
661                 - (dir_changed): update_connection_settings() doesn't need to return
662                         an error
663
664 2008-09-09  Dan Williams  <dcbw@redhat.com>
665
666         * libnm-glib/nm-vpn-plugin-ui-interface.c
667           libnm-glib/nm-vpn-plugin-ui-interface.h
668           libnm-glib/libnm_glib_vpn.ver
669                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
670                         should clean up resources related to the connection (like keyring
671                         secrets)
672                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
673                         should save user-scope secrets (like to the keyring)
674
675 2008-09-08  Dan Williams  <dcbw@redhat.com>
676
677         Patch from Alexander Sack <asac@ubuntu.com>
678
679         * libnm-util/crypto_gnutls.c
680           libnm-util/crypto_nss.c
681                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
682
683         * libnm-util/nm-utils.c
684           libnm-util/nm-utils.h
685           libnm-util/libnm-util.ver
686                 - (nm_utils_init): initialize libnm-util
687                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
688
689         * libnm-util/nm-setting-8021x.c
690                 - (nm_setting_802_1x_class_init): init libnm-util when needed
691
692 2008-09-05  Dan Williams  <dcbw@redhat.com>
693
694         Patch from Roy Marples <roy@marples.name> and others
695
696         * configure.in
697           src/named-manager/nm-named-manager.c
698                 - Add support for resolvconf; use --with-resolvconf at configure time
699                         to enable it
700
701 2008-09-05  Dan Williams  <dcbw@redhat.com>
702
703         * libnm-util/crypto_nss.c
704           libnm-util/crypto_gnutls.c
705           libnm-util/crypto.h
706                 - (crypto_init): return error when init fails
707
708 2008-09-05  Dan Williams  <dcbw@redhat.com>
709
710         * libnm-glib/nm-device-wifi.c
711                 - (access_point_removed_proxy): clean up the active access point too
712                         just in case the active ap changed signal didn't come through yet
713                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
714
715 2008-09-05  Dan Williams  <dcbw@redhat.com>
716
717         * libnm-glib/nm-client.c
718                 - (constructor): get initial state after we know whether NM is running
719                         or not
720
721 2008-09-05  Dan Williams  <dcbw@redhat.com>
722
723         * libnm-glib/nm-ip4-config.c
724           libnm-glib/nm-dhcp4-config.c
725                 - (finalize): clean up the DBusGProxy
726
727 2008-09-04  Dan Williams  <dcbw@redhat.com>
728
729         * src/nm-ip4-config.c
730           src/nm-ip4-config.h
731                 - (nm_ip4_config_new): don't export over D-Bus here
732                 - (nm_ip4_config_export): new function; export the config over D-Bus
733                 - (nm_ip4_config_is_exported): new function
734
735         * src/nm-device.c
736                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
737                         objects by balancing the IP4Config constructor; the device holds
738                         a reference to the IP4Config already
739                 - (nm_device_set_ip4_config): export the IP4Config when needed
740
741 2008-09-04  Dan Williams  <dcbw@redhat.com>
742
743         * src/supplicant-manager/nm-supplicant-settings-verify.c
744                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
745
746 2008-09-04  Dan Williams  <dcbw@redhat.com>
747
748         * libnm-util/nm-setting-vpn.c
749           libnm-util/nm-setting-vpn.h
750                 - Split VPN secrets from VPN data so that settings services can actually
751                         figure out that they are secrets and store them accordingly
752
753         * system-settings/plugins/keyfile/nm-keyfile-connection.c
754           system-settings/plugins/keyfile/reader.c
755           system-settings/plugins/keyfile/reader.h
756           system-settings/plugins/keyfile/writer.c
757                 - Store VPN secrets separately from VPN data so that they can be fetched
758                         on demand
759                 - Implement the get_secrets() call so that (a) secrets don't leak out
760                         to unprivileged callers, and (b) secrets can be sent to privileged
761                         callers when needed
762
763         * vpn-daemons/vpnc/src/nm-vpnc-service.c
764                 - Handle split VPN secrets
765
766 2008-08-27  Dan Williams  <dcbw@redhat.com>
767
768         * system-settings/plugins/ifcfg-fedora/reader.c
769                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
770
771 2008-08-27  Dan Williams  <dcbw@redhat.com>
772
773         Ensure zombie children get cleaned up.  To get notifications when children
774         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
775         that requires calling waitpid() yourself if you've removed the child watch
776         handler before the process has actually died, which NM needs to do in a few
777         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
778         cleans up after the child when required.  Should fix problems trying to
779         activate mobile broadband connections after a previous failure.
780
781         * src/dhcp-manager/nm-dhcp-dhclient.c
782           src/dhcp-manager/nm-dhcp-dhcpcd.c
783                 - Use G_SPAWN_DO_NOT_REAP_CHILD
784
785         * src/dhcp-manager/nm-dhcp-manager.c
786                 - (nm_dhcp_device_destroy): ensure child is cleaned up
787                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
788                         block on child quitting, since the non-blocking functionality was
789                         never actually used
790
791         * src/dnsmasq-manager/nm-dnsmasq-manager.c
792                 - (dm_watch_cb): child is already reaped here
793                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
794
795         * src/nm-device.c
796                 - (aipd_cleanup): block until child is dead
797
798         * src/named-manager/nm-named-manager.c
799                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
800                         event bothering to watch the child
801
802         * src/ppp-manager/nm-ppp-manager.c
803                 - (ppp_watch_cb): child is already reaped here
804                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
805
806         * src/vpn-manager/nm-vpn-service.c
807                 - (vpn_service_watch_cb): child is already reaped here
808                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
809                         status of the child is actually tracked
810                 - (ensure_killed, finalize): block until child is dead
811
812 2008-08-26  Dan Williams  <dcbw@redhat.com>
813
814         * system-settings/plugins/keyfile/nm-keyfile-connection.c
815                 - (update): Update filename of the connection if the connection id
816                         was changed
817
818         * system-settings/plugins/keyfile/plugin.c
819                 - (dir_changed): first pass at handling connection renames correctly
820
821         * system-settings/plugins/keyfile/writer.c
822           system-settings/plugins/keyfile/writer.h
823                 - (write_connection): replace '/' with '*' when writing out the filename
824                         from the connection id
825
826 2008-08-26  Dan Williams  <dcbw@redhat.com>
827
828         Add connection UUIDs, since connection names can be changed, and since
829         old-style connection IDs could change over the life of the connection.  The
830         UUID should be assigned at connection creation time, be stable for a given
831         connection, and should be unique among all connections for a given settings
832         service.
833
834         * configure.in
835           libnm-util/Makefile.am
836                 - Require libuuid
837
838         * introspection/nm-exported-connection.xml
839                 - Remove "GetID" method
840
841         * libnm-glib/nm-dbus-connection.c
842           libnm-glib/nm-settings.c
843           libnm-glib/nm-settings.h
844                 - Remove id-related stuff
845
846         * libnm-util/nm-utils.c
847           libnm-util/nm-utils.h
848           libnm-util/libnm-util.ver
849                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
850                         utility functions to generate UUIDs
851
852         * libnm-util/nm-setting-connection.c
853           libnm-util/nm-setting-connection.h
854                 - Add 'uuid' member to the connection setting
855                 - (verify): require valid 'uuid' for a valid connection
856
857         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
858           system-settings/plugins/ifcfg-fedora/reader.c
859           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
860           system-settings/plugins/ifcfg-suse/parser.c
861           system-settings/plugins/keyfile/nm-keyfile-connection.c
862           system-settings/src/main.c
863                 - Remove id-related stuff
864                 - Give connections UUIDs where needed
865
866 2008-08-25  Dan Williams  <dcbw@redhat.com>
867
868         * libnm-util/crypto_gnutls.c
869           libnm-util/crypto_nss.c
870                 - (crypto_init, crypto_deinit): refcount init/deinit
871                 - (crypto_md5_hash): allow NULL salt
872
873 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
874
875         * libnm-glib/Makefile.am
876           libnm-util/Makefile.am
877           libnm-glib/libnm_glib.ver
878           libnm-glib/libnm_glib_vpn.ver
879           libnm-util/libnm-util.ver
880                 - Use linker version scripts to control the list of exported 
881                 symbols. List each exported symbol explicitely.
882         * libnm-util/Makefile.am
883                 - Fix compilation of the test-crypto binary. The crypto
884                 functions are no longer part of the libnm-util API. Add 
885                 crypto_*.c to test_crypto_SOURCES and link against the correct
886                 crypto libraries.
887
888 2008-08-19  Dan Williams  <dcbw@redhat.com>
889
890         * configure.in
891           test/Makefile.am
892                 - Don't build test/test-common
893                 - Remove unused stuff
894
895         * test/nm-set-fallback
896           test/nmtestdevices.c
897           test/test-common/.cvsignore
898           test/test-common/Makefile.am
899           test/test-common/test-common.c
900           test/test-common/test-common.h
901                 - delete
902
903 2008-08-18  Dan Williams  <dcbw@redhat.com>
904
905         * libnm-util/nm-utils.c
906           libnm-util/nm-utils.h
907                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
908                         export anything that needs to be converted with this function
909
910         * src/dhcp-manager/nm-dhcp-manager.c
911                 - (garray_to_string): convert a byte array to a UTF-8 string with
912                         minimal validation; the DHCP client sends it in ASCII anyway
913                 - (get_option, copy_option): use garray_to_string()
914
915 2008-08-18  Dan Williams  <dcbw@redhat.com>
916
917         * include/NetworkManager.h
918           introspection/nm-device.xml
919                 - Add a "missing firmware" device state reason
920
921         * src/NetworkManagerSystem.c
922           src/NetworkManagerSystem.h
923                 - (nm_system_device_set_up_down): add a no_firmware argument
924                 - (nm_system_device_set_up_down_with_iface): if the result of setting
925                         IFF_UP is ENOENT, that almost always means missing firmware
926
927         * src/backends/NetworkManagerGeneric.c
928           src/nm-device-ethernet.c
929           src/nm-device-private.h
930           src/nm-device-wifi.c
931           src/nm-device.c
932           src/nm-device.h
933           src/nm-hso-gsm-device.c
934           src/vpn-manager/nm-vpn-connection.c
935                 - Pass no_firmware along; check it where appropriate
936
937 2008-08-18  Dan Williams  <dcbw@redhat.com>
938
939         Patch from Robert Buchholz <rbu@gentoo.org>
940
941         * autogen.sh
942           configure.in
943                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
944                         1003.1-1988, allowing for file names longer than 99 characters
945
946 2008-08-17  Dan Williams  <dcbw@redhat.com>
947
948         * include/NetworkManager.h
949           introspection/nm-device.xml
950           src/nm-gsm-device.c
951                 - Finer-grained GSM registration failure error codes
952
953 2008-08-17  Dan Williams  <dcbw@redhat.com>
954
955         * callouts/Makefile.am
956           src/Makefile.am
957                 - Move dispatcher directory creation to callouts/Makefile.am
958
959         * system-settings/plugins/keyfile/Makefile.am
960                 - Create keyfile connections directory in DESTDIR (bgo #546833)
961
962 2008-08-15  Dan Williams  <dcbw@redhat.com>
963
964         Do connection sharing in a cleaner manner; all required iptables rules
965         are now stored in the activation request and pertain only to the device
966         which is being shared to other computers. (rh #458625)
967
968         * src/nm-activation-request.c
969           src/nm-activation-request.h
970                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
971                         the activation request which will get torn down automatically when
972                         the activation request dies
973                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
974                         is started, and tear them down when sharing is stopped
975
976         * src/nm-device.c
977                 - (start_sharing): start up sharing by doing the required iptables magic
978                 - (share_init): poke the right bits of the kernel and load the right
979                         modules for NAT
980                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
981                         connection if it's a 'shared' connection
982
983         * src/NetworkManagerPolicy.c
984                 - Remove all sharing stuff; done in the device code itself
985
986 2008-08-15  Dan Williams  <dcbw@redhat.com>
987
988         * src/dnsmasq-manager/nm-dnsmasq-manager.c
989                 - (create_dm_cmd_line): send the right router address
990
991 2008-08-15  Dan Williams  <dcbw@redhat.com>
992
993         * src/ppp-manager/nm-ppp-manager.c
994                 - (pppd_timed_out): ensure timeouts fail the connection
995
996 2008-08-14  Dan Williams  <dcbw@redhat.com>
997
998         * src/nm-properties-changed-signal.c
999           src/nm-properties-changed-signal.h
1000                 - Add a property spec flag for "don't export this property" in
1001                         property changed signals
1002
1003         * src/nm-hso-gsm-device.c
1004           src/nm-gsm-device.c
1005           src/nm-cdma-device.c
1006                 - Don't export monitor interface or netdev interface properties
1007
1008 2008-08-14  Dan Williams  <dcbw@redhat.com>
1009
1010         * src/NetworkManagerPolicy.c
1011                 - (update_routing_and_dns): 'hso' devices can be default even if they
1012                         don't have a gateway
1013
1014 2008-08-14  Dan Williams  <dcbw@redhat.com>
1015
1016         * src/nm-device.c
1017                 - (nm_device_deactivate_quickly): tear down activation request after
1018                         calling device-specific deactivation
1019
1020         * src/nm-hso-gsm-device.c
1021                 - (real_deactivate_quickly): terminate connection when deactivating
1022
1023 2008-08-14  Dan Williams  <dcbw@redhat.com>
1024
1025         * src/nm-activation-request.h
1026                 - Add HSO secrets caller
1027
1028         * src/nm-gsm-device.c
1029           src/nm-gsm-device.h
1030                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1031                         something to the callback function
1032                 - (set_apn, set_apn_done): call class dial function, not a static one
1033                 - (nm_gsm_device_class_init): add a class 'dial' function
1034
1035         * src/nm-hal-manager.c
1036                 - (get_hso_netdev): find the hso-driven hardware's net device
1037                 - (modem_device_creator): recognize hso-driven hardware and create the
1038                         right type of device object for it
1039
1040         * src/Makefile.am
1041           src/nm-hso-gsm-device.c
1042           src/nm-hso-gsm-device.h
1043                 - Implement support for devices driven by the 'hso' driver as a subclass
1044                         of NMGsmDevice
1045
1046 2008-08-14  Dan Williams  <dcbw@redhat.com>
1047
1048         * src/NetworkManagerSystem.c
1049                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1050                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1051                         success if the operation really was successful
1052
1053 2008-08-14  Dan Williams  <dcbw@redhat.com>
1054
1055         * src/nm-netlink-monitor.c
1056           src/nm-netlink-monitor.h
1057           src/nm-device-ethernet.c
1058                 - (nm_netlink_monitor_request_status): return an error on failure
1059                 - (constructor): don't segfault on missing error
1060
1061 2008-08-13  Dan Williams  <dcbw@redhat.com>
1062
1063         * callouts/nm-dispatcher-action.c
1064                 - Add IP4 config info to script environment
1065
1066 2008-08-12  Dan Williams  <dcbw@redhat.com>
1067
1068         * src/nm-device.c
1069                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1070                         that want to use DHCP hostnames should use dispatcher scripts
1071                         for that
1072
1073         * src/NetworkManagerSystem.h
1074           src/backends/NetworkManagerArch.c
1075           src/backends/NetworkManagerDebian.c
1076           src/backends/NetworkManagerFrugalware.c
1077           src/backends/NetworkManagerGeneric.c
1078           src/backends/NetworkManagerGeneric.h
1079           src/backends/NetworkManagerGentoo.c
1080           src/backends/NetworkManagerMandriva.c
1081           src/backends/NetworkManagerPaldo.c
1082           src/backends/NetworkManagerRedHat.c
1083           src/backends/NetworkManagerSlackware.c
1084           src/backends/NetworkManagerSuSE.c
1085                 - Remove nm_system_set_hostname(), no longer used
1086           
1087         * src/backends/Makefile.am
1088           src/backends/shvar.c
1089           src/backends/shvar.h
1090                 - Remove shvar.*; no longer used
1091
1092 2008-08-12  Dan Williams  <dcbw@redhat.com>
1093
1094         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1095         hostname is updated at runtime.  Distros or users who want hostname updates
1096         can use dispatcher scripts to update the hostname if they need it.
1097
1098 2008-08-12  Dan Williams  <dcbw@redhat.com>
1099
1100         * introspection/nm-settings-system.xml
1101           system-settings/src/dbus-settings.c
1102           system-settings/src/dbus-settings.h
1103                 - Add a 'Hostname' property (rw) which represents the configured
1104                         hostname and domain of the system, if any
1105
1106         * system-settings/src/nm-system-config-error.c
1107           system-settings/src/nm-system-config-error.h
1108           system-settings/src/nm-system-config-interface.c
1109           system-settings/src/nm-system-config-interface.h
1110                 - Add a 'hostname' property to the plugin interface
1111                 - Add a method to send updated hostname to plugins to save in their
1112                         backing configuration store
1113
1114         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1115           system-settings/plugins/keyfile/plugin.c
1116           system-settings/plugins/keyfile/writer.c
1117           system-settings/plugins/keyfile/writer.h
1118           system-settings/plugins/ifcfg-suse/plugin.c
1119                 - Add minimal hostname support
1120
1121         * system-settings/plugins/ifcfg-fedora/plugin.c
1122                 - Add support for updating system hostname in /etc/sysconfig/network
1123
1124 2008-08-12  Dan Williams  <dcbw@redhat.com>
1125
1126         * system-settings/plugins/ifcfg-fedora/shvar.c
1127           system-settings/plugins/ifcfg-fedora/shvar.c
1128                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1129
1130 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1131
1132         * Makefile.am: Fix distcheck.
1133
1134 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1135
1136         * libnm-glib/*.c. Document some more.
1137
1138 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1139
1140         Start documenting libnm-glib public API using gtk-doc.
1141
1142         * libnm-glib/nm-serial-device.c: 
1143         * libnm-glib/nm-object.c: 
1144         * libnm-glib/nm-gsm-device.c: 
1145         * libnm-glib/nm-device.c: 
1146         * libnm-glib/nm-device-wifi.c: 
1147         * libnm-glib/nm-device-ethernet.c: 
1148         * libnm-glib/nm-client.c: 
1149         * libnm-glib/nm-cdma-device.c: Document the public API.
1150
1151         * docs/libnm-glib/libnm-glib.types: Implement.
1152
1153         * docs/libnm-glib/Makefile.am: Implement.
1154
1155         * autogen.sh: 
1156         * configure.in: 
1157         * Makefile.am: Add gtk-doc support.
1158
1159 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1160
1161         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1162
1163         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1164         the composite result of all the IP4 configurations and call a distro
1165         specific update_resolv_conf().
1166         (update_resolv_conf): Implement one for directly writing to 
1167         /etc/resolv.conf and one for opensuse to call netconfig.
1168
1169 2008-08-11  Dan Williams  <dcbw@redhat.com>
1170
1171         * src/ppp-manager/nm-ppp-manager.c
1172                 - (impl_ppp_manager_need_secrets): pass interface as required
1173
1174 2008-08-11  Dan Williams  <dcbw@redhat.com>
1175
1176         Merge the vpn-properties setting with the vpn setting since it was pointless
1177         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1178         of string:string (instead of string:variant) so that system settings plugins
1179         can have an easier time dealing with the arbitrary key/value pairs.
1180
1181 2008-08-11  Dan Williams  <dcbw@redhat.com>
1182
1183         * libnm-util/nm-utils.c
1184                 - (nm_utils_register_value_transformations): add value transform for
1185                         a hash table of string:string
1186
1187 2008-08-10  Dan Williams  <dcbw@redhat.com>
1188
1189         * libnm-glib/nm-vpn-plugin.c
1190                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1191                         an idle handler so the Connect reply gets delivered before the
1192                         stop StateChanged signal
1193
1194 2008-08-10  Dan Williams  <dcbw@redhat.com>
1195
1196         * src/nm-ip4-config.c
1197                 - (get_property): use common ip4 address/route conversion functions
1198                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1199                         copy the new route here, not take ownership
1200
1201 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1202
1203         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1204         Update the IP4 setting's method name.
1205
1206 2008-08-07  Dan Williams  <dcbw@redhat.com>
1207
1208         * introspection/nm-ip4-config.xml
1209           libnm-glib/libnm-glib-test.c
1210           libnm-glib/nm-ip4-config.c
1211           libnm-glib/nm-ip4-config.h
1212           src/NetworkManagerSystem.h
1213           src/backends/NetworkManagerArch.c
1214           src/backends/NetworkManagerDebian.c
1215           src/backends/NetworkManagerFrugalware.c
1216           src/backends/NetworkManagerGeneric.c
1217           src/backends/NetworkManagerGeneric.h
1218           src/backends/NetworkManagerGentoo.c
1219           src/backends/NetworkManagerMandriva.c
1220           src/backends/NetworkManagerPaldo.c
1221           src/backends/NetworkManagerRedHat.c
1222           src/backends/NetworkManagerSlackware.c
1223           src/backends/NetworkManagerSuSE.c
1224           src/dhcp-manager/nm-dhcp-manager.c
1225           src/nm-device.c
1226           src/nm-ip4-config.c
1227           src/nm-ip4-config.h
1228                 - Remove NIS logic; should be done from dispatcher scripts instead
1229
1230 2008-08-07  Dan Williams  <dcbw@redhat.com>
1231
1232         * src/dhcp-manager/nm-dhcp-manager.c
1233                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1234                         mis-handling of DHCP responses that returned more than one router
1235                         (found by Grant Williamson)
1236
1237 2008-08-07  Dan Williams  <dcbw@redhat.com>
1238
1239         * callouts/nm-dispatcher-action.c
1240                 - (nm_dispatcher_action): grab device path and create the device; pass
1241                         the device's DHCP4 config to script caller
1242                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1243                         scripts
1244
1245         * libnm-glib/nm-dhcp4-config.c
1246           libnm-glib/nm-dhcp4-config.h
1247                 - (nm_dhcp4_config_get_options): expose
1248                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1249
1250 2008-08-07  Dan Williams  <dcbw@redhat.com>
1251
1252         * include/NetworkManager.h
1253                 - Add the DHCP4Config D-Bus interface
1254
1255         * libnm-glib/Makefile.am
1256           libnm-glib/nm-dhcp4-config.c
1257           libnm-glib/nm-dhcp4-config.h
1258                 - Handle DHCP4 config objects exported by NM over D-Bus
1259
1260         * libnm-glib/nm-device.c
1261           libnm-glib/nm-device.h
1262                 - Add a 'dhcp4-config' property
1263
1264         * libnm-glib/libnm-glib-test.c
1265                 - Print out DHCP4 config for devices
1266                 - Fix some crashes when no connections are active
1267
1268         * src/nm-device-interface.c
1269           src/nm-device.c
1270           src/nm-dhcp4-config.c
1271           src/nm-dhcp4-config.h
1272                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1273                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1274                         doesn't let us do when the property type is G_TYPE_OBJECT
1275
1276 2008-08-07  Dan Williams  <dcbw@redhat.com>
1277
1278         * src/NetworkManager.c
1279           src/NetworkManagerSystem.h
1280           src/backends/NetworkManagerArch.c
1281           src/backends/NetworkManagerDebian.c
1282           src/backends/NetworkManagerFrugalware.c
1283           src/backends/NetworkManagerGeneric.c
1284           src/backends/NetworkManagerGeneric.h
1285           src/backends/NetworkManagerGentoo.c
1286           src/backends/NetworkManagerMandriva.c
1287           src/backends/NetworkManagerPaldo.c
1288           src/backends/NetworkManagerRedHat.c
1289           src/backends/NetworkManagerSlackware.c
1290           src/backends/NetworkManagerSuSE.c
1291                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1292
1293 2008-08-06  Dan Williams  <dcbw@redhat.com>
1294
1295         * libnm-glib/nm-ip4-config.c
1296           libnm-glib/nm-ip4-config.h
1297                 - Add 'routes' property
1298
1299         * libnm-util/nm-setting-vpn.c
1300           libnm-util/nm-setting-vpn.h
1301                 - Remove 'routes' property
1302
1303         * libnm-util/nm-setting-ip4-config.c
1304           libnm-util/nm-setting-ip4-config.h
1305                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1306                 - Add 'ignore-auto-routes' property
1307                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1308                         accomodate route metrics
1309                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1310
1311         * libnm-util/nm-utils.c
1312           libnm-util/nm-utils.h
1313                 - Add helpers for marshalling IP4 routes
1314
1315         * src/NetworkManagerUtils.c
1316                 - (nm_utils_merge_ip4_config): handle property renames and new route
1317                         structure
1318
1319         * src/NetworkManagerSystem.c
1320                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1321                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1322
1323         * src/dhcp-manager/nm-dhcp-manager.c
1324                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1325
1326         * system-settings/plugins/ifcfg-fedora/reader.c
1327           system-settings/plugins/ifcfg-fedora/writer.c
1328                 - Handle routes separately from addresses now that routes have a different
1329                         format
1330
1331         * introspection/nm-ip4-config.xml
1332           src/nm-ip4-config.c
1333           src/nm-ip4-config.h
1334                 - Rename internal routing functions
1335                 - 'static-routes' renamed to 'routes'
1336
1337 2008-08-04  Dan Williams  <dcbw@redhat.com>
1338
1339         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1340
1341         * src/NetworkManager.c
1342           src/nm-manager.c
1343           src/nm-manager.h
1344                 - More explicitly make the NMManager a singleton
1345
1346 2008-08-04  Dan Williams  <dcbw@redhat.com>
1347
1348         * libnm-util/nm-connection.c
1349           libnm-util/nm-connection.h
1350                 - (nm_connection_verify): return error on missing 'connection' setting
1351                         (found by Sjoerd Simons)
1352
1353 2008-08-04  Dan Williams  <dcbw@redhat.com>
1354
1355         Handle multiple concurrent PPP connections.
1356
1357         * src/ppp-manager/nm-ppp-manager.c
1358           src/ppp-manager/nm-ppp-manager.h
1359                 - (constructor): only PPP Manager request bus name once; each
1360                         NMPPPManager object gets a unique object path
1361                 - (nm_ppp_manager_class_init, get_property, set_property,
1362                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1363                         at construct time
1364                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1365                         remove timeout until PPP manager gets an IP4 config
1366                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1367                         the plugin can call back to this specific PPP manager instance
1368
1369         * src/nm-device-ethernet.c
1370           src/nm-serial-device.c
1371                 - Pass parent device in nm_ppp_manager_new()
1372
1373         * src/nm-gsm-device.c
1374           src/nm-cdma-device.c
1375                 - (device_state_changed): don't close serial device on NEED_AUTH
1376                         state changed, that's not a failure case like the rest are
1377
1378         * src/ppp-manager/nm-pppd-plugin.c
1379                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1380                         binds one interface to any pppd process, thus the correct index
1381                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1382                         problems; try harder to get a peer address in spite of pppd
1383                 - (plugin_init): use 'ipparam' as the object path back to our specific
1384                         PPP manager instance
1385
1386 2008-08-04  Dan Williams  <dcbw@redhat.com>
1387
1388         * src/ppp-manager/nm-ppp-manager.c
1389                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1390                         since the GSM and CDMA settings now implement need_secrets, we can
1391                         rely on them to do the right thing.  Where secrets are not required,
1392                         just pass empty strings back to the pppd plugin.
1393                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1394                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1395                         on successful IP4 config receipt
1396
1397 2008-08-04  Dan Williams  <dcbw@redhat.com>
1398
1399         * libnm-util/nm-setting-cdma.c
1400           libnm-util/nm-setting-gsm.c
1401                 - (verify): validate username & password if they exist
1402                 - (need_secrets): if username given, require a password too
1403
1404 2008-08-04  Dan Williams  <dcbw@redhat.com>
1405
1406         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1407                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1408                         manpage says about --listen-address without --interface
1409                         (bgo #546033)
1410
1411 2008-08-01  Dan Williams  <dcbw@redhat.com>
1412
1413         * libnm-glib/nm-device.c
1414                 - (proxy_get_string): util function for querying a HAL property
1415                 - (get_ancestor_device): split out from get_product_and_vendor()
1416                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1417                         from PCI devices by querying subsys properties
1418                 - (nm_device_update_description): simplify
1419
1420 2008-08-01  Dan Williams  <dcbw@redhat.com>
1421
1422         * libnm-util/nm-setting-ip4-config.c
1423           libnm-util/nm-setting-ip4-config.h
1424                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1425                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1426                         settings, and they don't necessarily use DHCP.
1427
1428         * src/NetworkManagerPolicy.c
1429           src/nm-device.c
1430           system-settings/plugins/ifcfg-fedora/reader.c
1431           system-settings/plugins/ifcfg-suse/parser.c
1432                 - Fixup for method changes
1433
1434 2008-07-31  Dan Williams  <dcbw@redhat.com>
1435
1436         * src/nm-activation-request.c
1437           src/vpn-manager/nm-vpn-connection.c
1438                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1439                         itself should be attached to the activation request or the VPN
1440                         connection, not the NMConnection object, since the call is not
1441                         expected to live as long as the NMConnection itself
1442
1443 2008-07-31  Dan Williams  <dcbw@redhat.com>
1444
1445         * src/nm-device-wifi.c
1446                 - (real_act_stage2_config): fix issue where association would continue
1447                         even though secrets were needed; 'goto out' was in wrong scope and
1448                         result of handle_auth_or_fail() should have been dumped directly to
1449                         'ret' to ensure that the association was postponed until secrets
1450                         are available
1451
1452 2008-07-31  Dan Williams  <dcbw@redhat.com>
1453
1454         * system-settings/plugins/ifcfg-fedora/plugin.c
1455           system-settings/plugins/ifcfg-fedora/reader.c
1456                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1457                         valid NM connection
1458
1459 2008-07-29  Dan Williams  <dcbw@redhat.com>
1460
1461         * src/nm-gsm-device.c
1462                 - (automatic_registration_response, automatic_registration): recognize
1463                         denied registration and reorder responses
1464
1465 2008-07-29  Dan Williams  <dcbw@redhat.com>
1466
1467         * src/nm-serial-device.c
1468                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1469                         time(2) is used for current time, which returns seconds, we shouldn't
1470                         be multiplying by 1000.
1471
1472 2008-07-28  Dan Williams  <dcbw@redhat.com>
1473
1474         Patch from Fabrice Bellet <fabrice@bellet.info>
1475
1476         * src/NetworkManagerSystem.c
1477                 - (route_in_same_subnet): mask addresses and compare them so that the
1478                         function actually does what it says it's going to do (rh #456685)
1479
1480 2008-07-27  Dan Williams  <dcbw@redhat.com>
1481
1482         * libnm-util/nm-setting-ip6-config.c
1483                 - (set_property): add missing break that caused routes to be overwritten
1484                         with addresses
1485
1486         * libnm-util/nm-setting-ip6-config.c
1487                 - (verify): validate routes and return GError everywhere on invalid setting
1488                 - (finalize): don't leak routes
1489                 - (set_property): add missing break that caused routes to be overwritten
1490                         with addresses
1491
1492 2008-07-27  Dan Williams  <dcbw@redhat.com>
1493
1494         * libnm-util/*
1495                 - Relicense to LGPLv2+
1496
1497 2008-07-27  Dan Williams  <dcbw@redhat.com>
1498
1499         * system-settings/plugins/ifcfg-fedora/reader.c
1500                 - (make_ip4_setting): fix parsing automatic configs
1501
1502 2008-07-27  Dan Williams  <dcbw@redhat.com>
1503
1504         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1505           src/nm-device.c
1506           src/ppp-manager/nm-ppp-manager.c
1507                 - Ensure child process gets reaped.  The child watch function may be
1508                         removed from the mainloop before the child gets killed, so we have
1509                         to make sure the child is reaped when it's told to die intentionally
1510
1511 2008-07-27  Dan Williams  <dcbw@redhat.com>
1512
1513         Patch from Roy Marples <roy@marples.name>
1514
1515         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1516                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1517
1518 2008-07-27  Dan Williams  <dcbw@redhat.com>
1519
1520         * src/nm-gsm-device.c
1521                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1522                         Huawei devices turn echo back on after CPIN (rh #456770)
1523
1524 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1525
1526         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1527         format argument to g_set_error() call.
1528
1529         * src/backends/interface_parser.[ch]: Remove.
1530
1531         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1532
1533 2008-07-21  Dan Williams  <dcbw@redhat.com>
1534
1535         * src/ppp-manager/nm-ppp-manager.c
1536                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1537                         to prevent pppd from picking up some random local address from an
1538                         interface that doesn't have anything to do with the one we're
1539                         interested in (rh #455348)
1540
1541 2008-07-17  Dan Williams  <dcbw@redhat.com>
1542
1543         * libnm-util/nm-utils.c
1544                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1545                         by locale
1546                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1547                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1548
1549 2008-07-17  Dan Williams  <dcbw@redhat.com>
1550
1551         * introspection/Makefile.am
1552           introspection/nm-device.xml
1553           introspection/nm-dhcp4-config.xml
1554                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1555                         itself
1556         * src/nm-device-interface.c
1557           src/nm-device-interface.h
1558                 - Add the DHCP4Config property
1559
1560         * src/nm-device.c
1561                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1562                         D-Bus clients when it changes
1563
1564         * src/nm-dhcp4-config.c
1565           src/nm-dhcp4-config.h
1566                 - Simple object to store DHCP4 options, export them over D-Bus, and
1567                         notify when they change
1568
1569         * src/dhcp-manager/nm-dhcp-manager.c
1570           src/dhcp-manager/nm-dhcp-manager.h
1571                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1572                         filter server-returned DHCP options into an NMDHCP4Config object
1573
1574 2008-07-16  Dan Williams  <dcbw@redhat.com>
1575
1576         * introspection/nm-device.xml
1577                 - Add device state reasons
1578
1579 2008-07-16  Dan Williams  <dcbw@redhat.com>
1580
1581         Patch from Roy Marples <roy@marples.name>
1582
1583         * configure.in
1584                 - Add --with-dhcp-client option
1585
1586         * src/dhcp-manager/Makefile.am
1587                 - pass DHCP_CLIENT_PATH on compile line
1588
1589         * src/dhcp-manager/nm-dhcp-manager.c
1590           src/dhcp-manager/nm-dhcp-manager.h
1591                 - Genericize for both dhcpcd and dhclient
1592
1593         * src/dhcp-manager/nm-dhcp-dhclient.c
1594                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1595
1596         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1597                 - Implement support for dhcpcd too
1598
1599 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1600
1601         * system-settings/src/nm-system-config-interface.c 
1602         (nm_system_config_interface_supports_add): Implement.
1603         (nm_system_config_interface_add_connection): Return a boolean to notify
1604         of errors.
1605
1606         * system-settings/src/nm-polkit-helpers.c: 
1607         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1608         a separate file.
1609
1610         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1611         Return an error when none of the plugins support add or if addition
1612         failed for some reason.
1613
1614         * system-settings/src/nm-system-config-error.h: 
1615         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1616         here from nm-polkit-helpers.[ch].
1617
1618         * system-settings/src/Makefile.am: Build new files.
1619
1620         * system-settings/plugins/keyfile/reader.c 
1621         (read_array_of_array_of_uint): Make it more general so that it would
1622         work for routes as well.
1623
1624         * system-settings/plugins/keyfile/writer.c
1625         (write_array_of_array_of_uint): Ditto.
1626         Fix the netmask/prefix writing.
1627
1628         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1629         boolean to notify errors.
1630
1631         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1632         Return more specific error.
1633         (delete): Ditto.
1634
1635 2008-07-11  Dan Williams  <dcbw@redhat.com>
1636
1637         Modify the NMDevice::state-changed signal to include the previous state
1638         and reason. Enables the applet to provide more information why device
1639         activation failed.
1640
1641 2008-07-09  Dan Williams  <dcbw@redhat.com>
1642
1643         * callouts/Makefile.am
1644           callouts/nm-avahi-autoipd-action.c
1645           callouts/nm-avahi-autoipd.conf
1646                 - avahi-autoipd callout to send options back to NM
1647
1648         * src/autoip.c
1649           src/autoip.h
1650                 - remove
1651
1652         * src/nm-device.c
1653           src/nm-device-private.h
1654           src/nm-manager.c
1655                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1656                         old custom stuff
1657
1658 2008-07-07  Dan Williams  <dcbw@redhat.com>
1659
1660         * system-settings/plugins/ifcfg-fedora/reader.c
1661                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1662                         handle PREFIX too; clean up
1663
1664 2008-07-07  Dan Williams  <dcbw@redhat.com>
1665
1666         Convert to using IPv4 prefixes instead of netmasks.
1667
1668 2008-07-03  Dan Williams  <dcbw@redhat.com>
1669
1670         * libnm-util/nm-setting-ip4-config.c
1671           libnm-util/nm-setting-ip4-config.h
1672                 - Add properties for DHCP Client Identifier and DHCP Hostname
1673
1674         * src/dhcp-manager/nm-dhcp-manager.c
1675           src/dhcp-manager/nm-dhcp-manager.h
1676                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1677                         setting as an argument to pass on to the dhclient config file
1678                         creation function
1679                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1680                         DHCP is torn down
1681                 - (dhclient_run): punt config file handling to create_dhclient_config()
1682                 - (create_dhclient_config): create an interface-specific dhclient
1683                         config file since there may need to be interface-specific options
1684                         passed to dhclient
1685                 - (merge_dhclient_config): merge normal distro dhclient config file and
1686                         add options from the connection
1687                 - (nm_dhcp_device_new): generate the interface specific dhclient
1688                         config file path once
1689                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1690                         dhclient config file path
1691
1692         * src/nm-device.c
1693                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1694                         DHCP manager when starting DHCP
1695
1696 2008-07-02  Dan Williams  <dcbw@redhat.com>
1697
1698         * libnm-util/nm-setting-8021x.c
1699                 - (verify): allow forcing the PEAP label to 0
1700
1701 2008-07-02  Dan Williams  <dcbw@redhat.com>
1702
1703         * introspection/nm-active-connection.xml
1704           introspection/nm-vpn-connection.xml
1705           libnm-glib/nm-active-connection.c
1706           src/nm-activation-request.c
1707           src/nm-active-connection.h
1708           src/vpn-manager/nm-vpn-connection.c
1709                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1710                         and libnm-glib API since sharing didn't get implemented that way
1711
1712 2008-07-02  Dan Williams  <dcbw@redhat.com>
1713
1714         * src/nm-device-wifi.c
1715                 - (can_scan): don't scan when a shared connection is activated since
1716                         that makes drivers mad (causing disconnects); also NM doesn't need
1717                         to hedge against disconnects by keeping up-to-date network topology
1718                         because the connection originates from the local machine, and thus
1719                         there should be no disconnects
1720
1721 2008-07-01  Dan Williams  <dcbw@redhat.com>
1722
1723         Fix mobile broadband username/password issues.  NM was never requesting
1724         mobile broadband secrets, nor was it passing back the username and password
1725         if it had them.
1726
1727         * marshallers/nm-marshal.list
1728                 - Add some new types for activation request objects
1729
1730         * src/nm-activation-request.c
1731           src/nm-activation-request.h
1732                 - (get_secrets_cb): pass the caller type in the signal
1733                 - (nm_act_request_request_connection_secrets): take a caller type, so
1734                         that GetSecrets() reply handlers know who asked for the secrets in
1735                         the first place; use secret hints too so the settings service can
1736                         figure out exactly what NM wants (ie, PIN or the PPP password)
1737
1738         * src/ppp-manager/nm-ppp-manager.c
1739           src/ppp-manager/nm-ppp-manager.h
1740                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1741                         detect needed secrets when the secret could be blank, like GSM/CDMA
1742                         passwords.  So always ask for secrets, and send a hint as to what
1743                         secret we really want.
1744                 - (nm_ppp_manager_update_secrets): make function more generic by making
1745                         the device specific class figure out the username and password, and
1746                         accept an error argument to return back over D-Bus
1747
1748         * src/nm-device-wifi.c
1749                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1750                         nm_act_request_request_connection_secrets()
1751                 - (real_connection_secrets_updated): update for 'caller' changes
1752
1753         * src/nm-device.c
1754           src/nm-device.h
1755                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1756                         for 'caller' changes
1757
1758         * src/nm-device-ethernet.c
1759                 - (real_connection_secrets_updated): update for 'caller' changes and
1760                         move logic for getting PPPoE username and password here before
1761                         calling nm_ppp_manager_update_secrets()
1762                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1763                         nm_act_request_request_connection_secrets()
1764
1765         * src/nm-cdma-device.c
1766                 - (real_connection_secrets_updated): pass username and password back
1767                         to the PPP manager when required
1768
1769         * src/nm-gsm-device.c
1770                 - (enter_pin): send the required secret name to the settings service
1771                 - (real_connection_secrets_updated): pass username and password back
1772                         to the PPP manager when required
1773
1774 2008-06-30  Dan Williams  <dcbw@redhat.com>
1775
1776         * src/nm-device-wifi.c
1777                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1778
1779 2008-06-30  Dan Williams  <dcbw@redhat.com>
1780
1781         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1782         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1783         priv->supplicant.iface.  When either condition is false, the device should
1784         transition back to UNAVAILABLE because it cannot be used.
1785
1786         * src/nm-device-wifi.c
1787                 - (constructor): cleanup; connect to supplicant manager here since the
1788                         supplicant manager is always around
1789                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1790                         ensure the supplicant manager is in the IDLE state
1791                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1792                         cancel any pending scans too
1793                 - (real_bring_up): don't set up the supplicnat interface here, because
1794                         we need the supplicant interface at times when the device may not
1795                         be "up"
1796                 - (real_take_down): just remove the periodic source
1797                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1798                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1799                         do anything if there's no supplicant interface
1800                 - (cleanup_association_attempt): cleanup
1801                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1802                         the interface enters the READY state; transition to UNAVAILABLE
1803                         state when the interface goes down because the device can't be used
1804                         without a supplicant interface
1805                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1806                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1807                         acquire the supplicant interface and transition to DISCONNECTED
1808                         if the radio isn't killed
1809                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1810                 - (state_changed_cb): release any existing supplicant interface; if the
1811                         radio is enabled then try to acquire a new supplicant interface;
1812                         if the radio is enabled and a supplicant interface has been acquired,
1813                         we can transition to DISCONNECTED
1814                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1815                         don't enable the radio, because HAL probably lied to us about the
1816                         killswitch being off.  If bringing the hardware up worked, then
1817                         try to grab a supplicant interface, and if that was successful,
1818                         transition to DISCONNECTED
1819
1820 2008-06-30  Dan Williams  <dcbw@redhat.com>
1821
1822         * src/supplicant-manager/nm-supplicant-interface.c
1823                 - (request_scan_results, nm_supplicant_interface_dispose,
1824                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1825                         the id of the timeout, not a GSource
1826
1827 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1828
1829         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1830         bunch of typoes introduced by "Patch from David Cantrell 
1831         <dcantrell@redhat.com> and me".
1832
1833 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1834
1835         * src/nm-serial-device.c: 
1836         * src/nm-gsm-device.c: 
1837         * src/nm-cdma-device.c: Move the pending call handling to a common location
1838         in serial device. Handle setting device state to failed in one place as well.
1839
1840 2008-06-29  Dan Williams <dcbw@redhat.com>
1841
1842         * src/nm-hal-manager.c
1843                 - Rework killswitch handling to query killswitch status immediately
1844                         when the first killswitch is added, so that rfkill state is
1845                         known as early as possible
1846                 - Also treat failure of GetPower() as rfkill when the dbus method
1847                         call times out (but not when the HAL callout returns an error)
1848
1849 2008-06-26  Dan Williams <dcbw@redhat.com>
1850
1851         Patch from David Cantrell <dcantrell@redhat.com> and me
1852
1853         * include/nm-dbus-glib-types.h
1854                 - Add IP6 address types
1855
1856         * libnm-util/Makefile.am
1857           libnm-util/nm-setting-ip6-config.c
1858           libnm-util/nm-setting-ip6-config.h
1859                 - Add IP6 settings object
1860
1861         * libnm-util/nm-connection.c
1862                 - (register_default_settings): register ip6 settings object
1863
1864         * libnm-util/nm-utils.c
1865           libnm-util/nm-utils.h
1866                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1867                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1868                         ip6 address conversion functions
1869         
1870 2008-06-26  Dan Williams <dcbw@redhat.com>
1871
1872         Patch from David Cantrell <dcantrell@redhat.com>
1873         
1874         * Use inet_ntop() and inet_pton() everwhere and check for errors
1875
1876 2008-06-26  Dan Williams <dcbw@redhat.com>
1877
1878         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1879
1880 2008-06-26  Dan Williams <dcbw@redhat.com>
1881
1882         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1883
1884         * src/nm-device-wifi.c
1885                 - (link_timeout_cb): don't ignore disconnects due to scanning
1886                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1887                         a longer timeout when scanning; avoids case where supplicant can't
1888                         find the AP and just keeps scanning forever but isn't connected
1889
1890 2008-06-26  Dan Williams <dcbw@redhat.com>
1891
1892         Patch from Michael Biebl <biebl@debian.org>
1893
1894         * Clean up build system stuff
1895
1896 2008-06-23  Christian Persch  <chpe@gnome.org>
1897
1898         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1899         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1900         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1901         (impl_get_object):
1902         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1903         (impl_get_object):
1904         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1905         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1906         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1907         (impl_get_object):
1908         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1909         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1910         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1911         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1912         * vpn-daemons/pptp/properties/vpnui_opt.c:
1913         (vpnui_opt_connect_signals):
1914         * vpn-daemons/pptp/properties/vpnui_opt.h:
1915         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1916         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1917         deprecated gtk type macros. Bug #539325.
1918
1919 2008-06-20  Dan Williams  <dcbw@redhat.com>
1920
1921         * libnm-glib/nm-vpn-plugin-ui-interface.c
1922           libnm-glib/nm-vpn-plugin-ui-interface.h
1923                 - 'validity-changed' -> 'changed' to work better with the connection
1924                         editor.  Plugin UI widgets should emit 'changed' whenever their
1925                         UI values change in a meaningful way.
1926                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1927                         update_connection member now returns validity of the UI widget
1928
1929 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1930
1931         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1932
1933 2008-06-17  Dan Williams  <dcbw@redhat.com>
1934
1935         * libnm-glib/nm-vpn-plugin-ui-interface.c
1936           libnm-glib/nm-vpn-plugin-ui-interface.h
1937                 - Add "desc" property for longer descriptions of the VPN plugin
1938
1939 2008-06-16  Dan Williams  <dcbw@redhat.com>
1940
1941         * configure.in
1942           libnm-glib/libnm_glib_vpn.pc.in
1943                 - add a .pc file for libnm_glib_vpn
1944
1945         * libnm-glib/nm-vpn-plugin-ui-interface.c
1946           libnm-glib/nm-vpn-plugin-ui-interface.h
1947                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1948                         rework it substantially
1949
1950 2008-06-12  Dan Williams  <dcbw@redhat.com>
1951
1952         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1953         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
1954         returns a descriptive GError when verification fails.
1955
1956 2008-06-11  Dan Williams  <dcbw@redhat.com>
1957
1958         Patch from Tambet Ingo <tambet@gmail.com>
1959
1960         * libnm-util/nm-setting-gsm.c
1961                 - (verify): validate APN
1962
1963         * src/nm-gsm-device.c
1964                 - (manual_registration_done): start setting APN if needed
1965                 - (set_apn, set_apn_done): set the APN
1966                 - (do_dial): use the APN when dialing
1967
1968 2008-06-11  Dan Williams  <dcbw@redhat.com>
1969
1970         * src/NetworkManagerSystem.c
1971                 - (nm_system_device_set_ip4_route,
1972                    nm_system_device_replace_default_ip4_route): check for the right
1973                         return value from rtnl_route_add() to know when to add a gateway
1974                         route (from Tambet)
1975
1976 2008-06-11  Dan Williams  <dcbw@redhat.com>
1977
1978         * src/NetworkManagerPolicy.c
1979                 - do_ipt_cmd -> do_cmd
1980                 - (sharing_init): use do_cmd() instead of system()
1981
1982 2008-06-10  Dan Williams  <dcbw@redhat.com>
1983
1984         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
1985         and use "wifi" everwhere instead.
1986
1987 2008-06-10  Dan Williams  <dcbw@redhat.com>
1988
1989         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
1990
1991 2008-06-10  Dan Williams  <dcbw@redhat.com>
1992
1993         Patch from Tambet Ingo <tambet@gmail.com>
1994
1995         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1996                 changes.
1997
1998         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1999                 a signal to emit these changes over dbus.
2000
2001         * src/Makefile.am: Genereate nm-serial-device-glue.
2002
2003         * libnm-glib/nm-serial-device.[ch]: Implement.
2004
2005         * libnm-glib/nm-cdma-device.[ch]
2006           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2007
2008         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2009
2010         * introspection/nm-device-serial.xml: Implement.
2011
2012         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2013
2014         * introspection/Makefile.am: Add nm-device-serial.xml.
2015
2016         * include/NetworkManager.h: Add a DBus interface for serial device.
2017
2018 2008-06-10  Dan Williams  <dcbw@redhat.com>
2019
2020         * configure.in
2021                 - Add TARGET_* define to config.h to distinguish distros
2022
2023         * src/dhcp-manager/nm-dhcp-manager.c
2024                 - (dhclient_run): use distro-specific path for dhclient config file
2025
2026 2008-06-09  Dan Williams  <dcbw@redhat.com>
2027
2028         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2029           src/dnsmasq-manager/nm-dnsmasq-manager.h
2030                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2031                         calculate the addresses passed to dnsmasq instead of hard-coding
2032                         them
2033
2034         * src/nm-device.c
2035                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2036                         IP addresses for shared connections to guard against shared
2037                         connection address collisions
2038                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2039                         error conditions
2040                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2041                         the dnsmasq manager
2042
2043 2008-06-09  Dan Williams  <dcbw@redhat.com>
2044
2045         * src/NetworkManagerPolicy.c
2046                 - (update_routing_and_dns): set the default connection _after_ unsetting
2047                         default on all non-default connections so that two connections can
2048                         never be default at the same time
2049                 - (device_state_changed): start and stop connection sharing when
2050                         needed
2051                 - (active_connection_default_changed): restart or stop sharing when
2052                         the default connection changes to keep shared connections always
2053                         NAT-ed through the default connection
2054                 - (check_sharing): handle activation/deactivation of shared connections
2055                 - (sharing_restart): atom-bomb approach to connection sharing until we
2056                         can use libnl; reinit all sharing when the default connection or
2057                         shared connections change
2058                 - (sharing_init, sharing_stop): evil functions that init and deinit
2059                         iptables
2060
2061 2008-06-09  Dan Williams  <dcbw@redhat.com>
2062
2063         * src/nm-activation-request.c
2064           src/nm-activation-request.h
2065                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2066                    nm_act_request_get_device): new functions to facilitate connection
2067                         sharing
2068
2069 2008-06-09  Dan Williams  <dcbw@redhat.com>
2070
2071         * src/nm-device.c
2072                 - (clear_act_request): unset the 'default' property of the activation
2073                         request when clearing it to ensure the property changed signal gets
2074                         delivered and handled
2075
2076 2008-06-09  Dan Williams  <dcbw@redhat.com>
2077
2078         * libnm-glib/nm-device-802-11-wireless.c
2079                 - (access_point_removed_proxy): actually unref the AP after removing
2080                         it from the device's AP list.  Fixes refcounting bug for APs that
2081                         caused them to get mixed up in the applet's menu.
2082
2083 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2084
2085         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2086         (nm_dhcp_device_destroy): Destroy the device options hash table.
2087
2088 2008-06-06  Dan Williams <dcbw@redhat.com>
2089
2090         * system-settings/src/nm-polkit-helpers.c
2091                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2092                         unref the context if the initialization fails; also avoid spew when
2093                         the error isn't set
2094
2095 2008-06-06  Dan Williams <dcbw@redhat.com>
2096
2097         Patch from Tambet Ingo  <tambet@gmail.com>
2098
2099         * src/NetworkManagerSystem.c
2100           src/NetworkManagerSystem.h
2101                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2102                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2103                 - (nm_system_device_set_ip4_route): clean up
2104                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2105
2106         * src/nm-device.c
2107                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2108
2109         * src/vpn-manager/nm-vpn-connection.c
2110                 - (ip_address_to_string): new function
2111                 - (print_vpn_config): use ip_address_to_string
2112                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2113                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2114
2115         * include/NetworkManagerVPN.h
2116                 - Add 'routes' key
2117
2118 2008-06-05  Dan Williams <dcbw@redhat.com>
2119
2120         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2121
2122         * test/nm-tool.c
2123                 - Show which device is the default device
2124
2125 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2126
2127         Fix memory leaks.
2128
2129         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2130         Free data returned from dbus method call.
2131
2132         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2133         dbus_g_method_get_sender() returns a duplicated string, free it 
2134         when done.
2135         (check_polkit_privileges): Looks like policykit sometimes returns
2136         error and non-null return value, don't leak errors in that case.
2137
2138         * system-settings/src/main.c (find_plugin): Don't leak existing 
2139         plugin names.
2140         (load_stuff): Don't leak device list and list items.
2141         (have_connection_for_device): Don't leak connection list.
2142
2143         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2144         Free the data received from g_keyfile_get_*.
2145
2146         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2147         the key when the security object is updated.
2148
2149         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2150         Free data returned from dbus method call.
2151         (iface_state_cb): Ditto.
2152         (add_network_cb): Ditto.
2153         (nm_supplicant_interface_add_cb): Don't make another copy of already
2154         duplicated object path.
2155         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2156         when done.
2157
2158         * src/supplicant-manager/nm-supplicant-config.c 
2159         (ADD_STRING_LIST_VAL): Fix a memory leak.
2160
2161         * src/nm-manager.c (free_get_settings_info): Free the allocated
2162         memory slice.
2163         (list_connections_cb): Free data returned from dbus method call.
2164         (system_settings_get_unmanaged_devices_cb): Ditto.
2165
2166         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2167
2168         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2169         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2170         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2171         of the GList.
2172
2173         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2174         arguments after the object is created.
2175
2176 2008-06-04  Dan Williams <dcbw@redhat.com>
2177
2178         * libnm-util/Makefile.am
2179                 - Don't distribute nm-param-spec-specialized.h
2180
2181 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2182
2183         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2184
2185         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2186         NMIP4Address, update the getters and setters.
2187
2188         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2189         Use the updated NMIP4Config routes api.
2190
2191         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2192         static routes as well.
2193
2194         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2195         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2196         routes api.
2197
2198 2008-05-30  Dan Williams <dcbw@redhat.com>
2199
2200         * src/named-manager/nm-named-manager.c
2201           src/named-manager/nm-named-manager.h
2202                 - Remove stale/obsolete bits for controlling bind over DBus
2203
2204 2008-05-29  Dan Williams <dcbw@redhat.com>
2205
2206         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2207           src/dnsmasq-manager/nm-dnsmasq-manager.h
2208                 - (nm_dnsmasq_manager_new): move iface argument here
2209                 - (constructor): remove, not needed
2210                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2211                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2212
2213         * src/nm-device.c
2214                 - (real_act_stage4_get_ip4_config,
2215                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2216                         changes
2217
2218 2008-05-29  Dan Williams <dcbw@redhat.com>
2219
2220         * src/nm-device.c
2221                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2222                         something happens to dnsmasq
2223                 - (nm_device_new_ip4_shared_config): new function; create a new
2224                         ip4-config for shared connections.  Shared connections always use a
2225                         fixed static IP address.
2226                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2227                         autoip connections by actually using the returned ip4-config and
2228                         not leaking it
2229                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2230                         connections
2231                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2232                         if its active
2233
2234 2008-05-29  Dan Williams <dcbw@redhat.com>
2235
2236         * src/nm-device-802-11-wireless.c
2237                 - (real_get_best_auto_connection): auto-activate 'shared' method
2238                         connections too
2239
2240 2008-05-29  Dan Williams <dcbw@redhat.com>
2241
2242         * libnm-util/nm-setting-ip4-config.c
2243           libnm-util/nm-setting-ip4-config.h
2244                 - Add a 'shared' method to indicate that this connection should be
2245                         brought up with a DHCP and proxy DNS server to facilitate
2246                         connection sharing.
2247                 - (verify): 'shared' method doesn't allow DNS or searches either
2248
2249 2008-05-29  Dan Williams <dcbw@redhat.com>
2250
2251         * configure.in
2252           src/Makefile.am
2253           src/dnsmasq-manager/Makefile.am
2254           src/dnsmasq-manager/nm-dnsmasq-manager.c
2255           src/dnsmasq-manager/nm-dnsmasq-manager.h
2256                 - Add a dnsmasq daemon manager to facilitate connection sharing
2257
2258 2008-05-29  Dan Williams <dcbw@redhat.com>
2259
2260         * src/nm-device-private.h
2261                 - Remove unused prototypes and clean up
2262
2263         * src/nm-device.c
2264                 - Remove anything related to system_config_data, which is no longer used
2265                 - (nm_device_new_ip4_autoip_config): make static
2266
2267 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2268
2269         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2270         (file_changed): Fix a bug where suse system settings plugin didn't
2271         update the connections automatically when the files changed.
2272
2273 2008-05-28  Dan Williams  <dcbw@redhat.com>
2274
2275         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2276
2277 2008-05-28  Dan Williams  <dcbw@redhat.com>
2278
2279         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2280
2281         * src/NetworkManagerSystem.c
2282                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2283                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2284                         was causing -EINVAL errors since the libnl code actually does flush
2285                         the routes on VPN interfaces now
2286
2287         * src/backends/NetworkManagerArch.c
2288           src/backends/NetworkManagerDebian.c
2289           src/backends/NetworkManagerFrugalware.c
2290           src/backends/NetworkManagerGeneric.c
2291           src/backends/NetworkManagerGentoo.c
2292           src/backends/NetworkManagerMandriva.c
2293           src/backends/NetworkManagerPaldo.c
2294           src/backends/NetworkManagerRedHat.c
2295           src/backends/NetworkManagerSlackware.c
2296           src/backends/NetworkManagerSuSE.c
2297                 - (nm_system_device_flush_ip4_routes,
2298                    nm_system_device_flush_ip4_routes_with_iface): remove
2299
2300 2008-05-28  Dan Williams  <dcbw@redhat.com>
2301
2302         * libnm-util/nm-setting-wireless.c
2303           libnm-util/nm-setting-wireless.h
2304                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2305                         'adhoc-create' property, which when TRUE indicates that NM should
2306                         create this connection as an adhoc wifi network if it's not found
2307                         as an adhoc network during scanning.  Can be used to auto-create
2308                         adhoc networks when used in combination with autoconnect.
2309
2310 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2311
2312         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2313
2314         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2315         checked, it doesn't work on some devices.
2316
2317 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2318
2319         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2320         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2321
2322         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2323         Use inet_aton() everywhere to improve error detection.
2324         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2325         provided.
2326
2327 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2328
2329         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2330         Fix a typo.
2331
2332 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2333
2334         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2335         reference counting issue.
2336
2337 2008-05-23  Dan Williams  <dcbw@redhat.com>
2338
2339         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2340
2341         * src/backends/NetworkManagerGeneric.c
2342                 - (nm_generic_enable_loopback): use libnl
2343
2344 2008-05-23  Dan Williams  <dcbw@redhat.com>
2345
2346         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2347
2348         * src/NetworkManagerSystem.h
2349           src/backends/NetworkManagerArch.c
2350           src/backends/NetworkManagerDebian.c
2351           src/backends/NetworkManagerFrugalware.c
2352           src/backends/NetworkManagerGentoo.c
2353           src/backends/NetworkManagerMandriva.c
2354           src/backends/NetworkManagerPaldo.c
2355           src/backends/NetworkManagerRedHat.c
2356           src/backends/NetworkManagerSlackware.c
2357           src/backends/NetworkManagerSuSE.c
2358                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2359                    nm_system_flush_arp_cache): remove, unused
2360
2361         * src/backends/NetworkManagerGeneric.c
2362           src/backends/NetworkManagerGeneric.h
2363                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2364                    nm_generic_flush_arp_cache): remove, unused
2365
2366 2008-05-23  Dan Williams  <dcbw@redhat.com>
2367
2368         * system-settings/plugins/ifcfg-fedora/reader.c
2369                 - (make_ip4_setting): honor PEERDNS setting
2370
2371 2008-05-23  Dan Williams  <dcbw@redhat.com>
2372
2373         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2374
2375         * src/NetworkManagerSystem.c
2376                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2377                         libnl
2378
2379         * src/backends/NetworkManagerArch.c
2380           src/backends/NetworkManagerDebian.c
2381           src/backends/NetworkManagerFrugalware.c
2382           src/backends/NetworkManagerGentoo.c
2383           src/backends/NetworkManagerMandriva.c
2384           src/backends/NetworkManagerPaldo.c
2385           src/backends/NetworkManagerRedHat.c
2386           src/backends/NetworkManagerSlackware.c
2387           src/backends/NetworkManagerSuSE.c
2388                 - (nm_system_device_flush_ip4_addresses,
2389                    nm_system_device_flush_ip4_addresses_with_iface): remove
2390
2391         * src/backends/NetworkManagerGeneric.c
2392                 - (nm_generic_device_flush_ip4_addresses,
2393                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2394
2395 2008-05-23  Dan Williams  <dcbw@redhat.com>
2396
2397         * src/supplicant-manager/nm-supplicant-settings-verify.c
2398                 - Switch 'bssid' from bytes to keyword type
2399                 - (validate_type_keyword): allow NULL keyword lists
2400
2401         * src/supplicant-manager/nm-supplicant-config.c
2402                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2403                         a byte array to string form, which is what the supplicant expects
2404
2405 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2406
2407         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2408         information received from DHCP.
2409
2410         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2411         to make it possible to ignore the DNS information (both servers and 
2412         searches) returned by DHCP server.
2413
2414         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2415         name servers and searches if "ignore_dhcp_dns" is set.
2416
2417         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2418         (nm_ip4_config_reset_searches): Implement.
2419
2420 2008-05-22  Dan Williams  <dcbw@redhat.com>
2421
2422         Remove anything mDNS related.  This is better done from a distro-specific
2423         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2424         avahi, since avahi can handle interface changes just fine using netlink.
2425
2426         * configure.in
2427                 - Remove --with-mdns-provider
2428
2429         * src/NetworkManagerPolicy.c
2430                 - (global_state_changed): don't restart the mdns provider
2431
2432         * src/NetworkManagerSystem.h
2433           src/backends/NetworkManagerArch.c
2434           src/backends/NetworkManagerDebian.c
2435           src/backends/NetworkManagerFrugalware.c
2436           src/backends/NetworkManagerGentoo.c
2437           src/backends/NetworkManagerMandriva.c
2438           src/backends/NetworkManagerPaldo.c
2439           src/backends/NetworkManagerRedHat.c
2440           src/backends/NetworkManagerSlackware.c
2441           src/backends/NetworkManagerSuSE.c
2442                 - (nm_system_restart_mdns_responder): remove
2443
2444         * src/backends/NetworkManagerGeneric.c
2445           src/backends/NetworkManagerGeneric.h
2446                 - (nm_generic_restart_mdns_responder): remove
2447
2448 2008-05-22  Dan Williams  <dcbw@redhat.com>
2449
2450         * configure.in
2451                 - clean up crypto options; just use --with-crypto=nss or
2452                         --with-crypto=gnutls
2453
2454 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2455
2456         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2457         anymore, do it right away.
2458
2459 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2460
2461         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2462         serial device open when we're not connecting or connected.
2463
2464         * src/nm-cdma-device.c (device_state_changed): Ditto.
2465
2466 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2467
2468         Don't remove all devices on waking up, sync with HAL.
2469
2470         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2471         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2472         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2473
2474 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2475
2476         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2477         If the default gateway is unreachable, add a route to gateway and try
2478         again.
2479
2480 2008-05-20  Dan Williams  <dcbw@redhat.com>
2481
2482         * system-settings/plugins/ifcfg-fedora/reader.c
2483                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2484
2485 2008-05-19  Dan Williams  <dcbw@redhat.com>
2486
2487         * system-settings/plugins/ifcfg-fedora/reader.c
2488                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2489                         if the ifcfg doesn't specify one (rh #446527)
2490
2491 2008-05-19  Dan Williams  <dcbw@redhat.com>
2492
2493         Make the system settings service exit when the bus goes away.  Since it's
2494         a bus-activated service, it's lifetime is limited to the bus that activated
2495         it (rh #444976).
2496
2497         * system-settings/src/Makefile.am
2498           system-settings/src/nm-system-config-hal-manager-private.h
2499                 - Remove nm-system-config-hal-manager-private.h
2500
2501         * system-settings/src/nm-system-config-hal-manager.c
2502                 - (nm_system_config_hal_manager_reinit_dbus,
2503                    nm_system_config_hal_manager_deinit_dbus): remove
2504
2505         * system-settings/src/main.c
2506                 - (dbus_reconnect): remove
2507                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2508                 - (destroy_cb): just quit when the bus goes away
2509                 - (start_dbus_service, dbus_init): simplify
2510                 - (main): destroy the wired devices hash table after destroying
2511                         the HAL manager so we don't have to disconnect signals from the
2512                         HAL manager
2513
2514 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2515
2516         Move crypto functions from nm-applet to libnm-util.
2517
2518         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2519         (nm_setting_802_1x_set_client_cert)
2520         (nm_setting_802_1x_set_phase2_ca_cert)
2521         (nm_setting_802_1x_set_phase2_client_cert)
2522         (nm_setting_802_1x_set_private_key)
2523         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2524         file (or private key and it's password), read the certificate data.
2525
2526         * libnm-util/crypto_nss.c: 
2527         * libnm-util/crypto_gnutls.c: 
2528         * libnm-util/crypto.[ch]: Move here from nm-applet.
2529
2530         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2531
2532         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2533         Imlement WPA-EAP configuration reading from sysconfig.
2534
2535 2008-05-16  Dan Williams  <dcbw@redhat.com>
2536
2537         * src/nm-device-802-11-wireless.c
2538                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2539                         wireless
2540
2541 2008-05-14  Dan Williams  <dcbw@redhat.com>
2542
2543         Fix Linus' bug in rh #134886
2544
2545         * src/nm-device-802-3-ethernet.c
2546                 - (constructor): request initial carrier state
2547
2548         * src/nm-netlink-monitor.c
2549                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2550                         signals after refilling the link cache.  Because the refill is a 
2551                         synchronous operation, the normal message hander won't get called
2552                         since libnl has already consumed the messages.
2553                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2554
2555 2008-05-14  Dan Williams  <dcbw@redhat.com>
2556
2557         * src/NetworkManagerSystem.c
2558                 - (nm_system_device_is_up_with_iface): clean up
2559
2560 2008-05-13  Dan Williams  <dcbw@redhat.com>
2561
2562         Fix refcounting issues over sleep/wake when a VPN connection was active that
2563         caused NM to try registering an object path for a device upon wake that was
2564         the same as an already registered object path.
2565
2566         * src/nm-device.c
2567                 - (nm_device_take_down): properly handle cases where the device is
2568                         no longer active but was just active, and therefore must be
2569                         deactivated.  When a device moves to unmanaged mode, this function
2570                         previously would not deactivate the device, because the state was
2571                         already unmanaged by the time this function was called.
2572
2573         * src/vpn-manager/nm-vpn-connection.c
2574                 - (device_state_changed): properly handle multiple devices states in
2575                         which the device is now deactivated.  Code previously didn't handle
2576                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2577                         UNMANAGED states.
2578
2579 2008-05-13  Dan Williams  <dcbw@redhat.com>
2580
2581         * src/nm-device-private.h
2582           src/nm-device.c
2583                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2584
2585         * src/nm-device-802-11-wireless.c
2586                 - (nm_device_802_11_wireless_set_enabled): take devices up
2587                         and down as appropriate for the rfkill state
2588
2589 2008-05-13  Dan Williams  <dcbw@redhat.com>
2590
2591         * marshallers/nm-marshal.list
2592                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2593
2594         * system-settings/plugins/ifcfg-fedora/Makefile.am
2595           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2596           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2597                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2598                         events.  Solely for use watching ifcfg files to pick up changes
2599                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2600
2601         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2602                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2603                         file contents change
2604                 - (finalize): clean up inotify watches
2605                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2606                         and the connection ifcfg for changes on their hardlinks
2607                 - (files_changed_cb): proxy the changed signal back out to listeners
2608
2609         * system-settings/plugins/ifcfg-fedora/plugin.c
2610                 - (dir_changed): 
2611                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2612                         changes
2613                 - (read_one_connection): connect to change signals on the new connection
2614                 - (dir_changed, connection_changed_handler,
2615                    handle_connection_remove_or_new): break out connection change
2616                         handling and connection new/remove handling so it can be used from
2617                         both the GFileMonitor callback and the NMIfcfgConnection changed
2618                         signals
2619
2620         * system-settings/plugins/ifcfg-fedora/reader.c
2621           system-settings/plugins/ifcfg-fedora/reader.h
2622                 - (connection_from_file): return the keyfile path the connection would use
2623
2624 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2625
2626         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2627         single PolKitContext which is shared by all. PolKitContext::unref leaks
2628         just about everything, including all open file descriptiors and results
2629         in 99% cpu usage when data arrives to any of the fds that don't belong
2630         to any context anymore.
2631
2632 2008-05-12  Dan Williams  <dcbw@redhat.com>
2633
2634         * gfilemonitor/glocaldirectorymonitor.c
2635           gfilemonitor/glocaldirectorymonitor.h
2636                 - (g_local_directory_monitor_constructor): actually subscribe to the
2637                         watch
2638                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2639
2640         * gfilemonitor/glocalfilemonitor.c
2641           gfilemonitor/glocalfilemonitor.h
2642                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2643                 - (_g_local_file_monitor_new): ensure that inotify is started up
2644
2645 2008-05-11  Dan Williams  <dcbw@redhat.com>
2646
2647         * configure.in
2648                 - record PolicyKit version
2649
2650         * system-settings/src/nm-polkit-helpers.c
2651                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2652                         with PolicyKit <= 0.6
2653
2654 2008-05-11  Dan Williams  <dcbw@redhat.com>
2655
2656         Update Fedora system-settings plugin to support latest API and use
2657         GFileMonitor rather than home-rolled inotify code.
2658
2659         * system-settings/plugins/ifcfg-fedora/Makefile.am
2660           system-settings/plugins/ifcfg-fedora/common.h
2661           system-settings/plugins/ifcfg-fedora/plugin.c
2662                 - Update to latest system settings plugin API; use GIO instead of
2663                         custom inotify code; use NMIfcfgConnection objects instead of
2664                         ConnectionData structures tacked onto NMConnection objects
2665
2666         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2667           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2668                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2669                         connections
2670
2671         * system-settings/plugins/ifcfg-fedora/reader.c
2672           system-settings/plugins/ifcfg-fedora/reader.h
2673                 - Move ifcfg parsing bits here from parser.c
2674
2675         * system-settings/plugins/ifcfg-fedora/parser.c
2676           system-settings/plugins/ifcfg-fedora/parser.h
2677                 - Remove; most code moved to reader.c
2678
2679 2008-05-11  Dan Williams  <dcbw@redhat.com>
2680
2681         * configure.in
2682           Makefile.am
2683           gfilemonitor/*
2684                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2685                         implementation, so that the same change monitoring code can be used
2686                         on systems without glib-2.14 (like Fedora 8)
2687
2688         * system-settings/plugins/keyfile/Makefile.am
2689           system-settings/plugins/keyfile/plugin.c
2690           system-settings/plugins/ifcfg-suse/Makefile.am
2691           system-settings/plugins/ifcfg-suse/plugin.c
2692                 - Use private gfilemonitor code if GIO is not present
2693
2694 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2695
2696         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2697         NMExportedConnection's 'update' and 'delete' and return error with
2698         descriptive message.
2699
2700 2008-05-08  Dan Williams  <dcbw@redhat.com>
2701
2702         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2703
2704         * src/nm-gsm-device.c
2705           src/nm-cdma-device.c
2706                 - (real_get_best_auto_connection): implement; allow autoconnection
2707                         to GSM & CDMA devices
2708
2709 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2710
2711         Use PolicyKit to authorize the system settings' AddConnection method
2712         and the system settings connections' Update and Delete methods.
2713         
2714         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2715         (impl_exported_connection_delete, nm_exported_connection_update)
2716         (nm_exported_connection_delete): Return boolean and fill GError
2717         to notify the callers of the reasons why it might have failed.
2718
2719         * libnm-glib/nm-dbus-settings-system.c
2720         (nm_dbus_settings_system_add_connection): Return the error from dbus
2721         call so that the callers can see why it failed.
2722
2723         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2724         signatures.
2725
2726         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2727
2728         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2729         abstract base class that checks PolicyKit permissions.
2730
2731         * system-settings/src/dbus-settings.c:
2732         (impl_settings_add_connection): Check the policy before carring out
2733         the request.
2734
2735         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2736         Inherit from NMSysconfigConnection, check the policies before
2737         allowing updating or removing.
2738
2739         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2740         Inherit from NMSysconfigConnection.
2741
2742         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2743         "Delete" methods with async flag so that the implementations can get
2744         access to DBusGMethodInvocation.
2745
2746         * system-settings/src/dbus-settings.c 
2747         (settings_add_connection_check_privileges): Implement.
2748         (impl_settings_add_connection): Check the privileges before adding a new
2749         connection. Improve error reporting.
2750
2751         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2752         async so that the implementation can access DBusGMethodInvocation.
2753
2754         * configure.in: Check for PolicyKit.
2755
2756         * policy/org.freedesktop.network-manager-settings.system.policy: 
2757         New file.
2758
2759         * policy/Makefile.am: Install the policy file.
2760
2761         * configure.in: Add 'policy' subdir.
2762
2763 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2764
2765         Rewrite the suse system settings plugin.
2766
2767         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2768
2769         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2770
2771         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2772
2773         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2774
2775         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2776
2777         * system-settings/src/main.c (load_plugins): Improve error reporting.
2778
2779         * system-settings/src/sha1.[ch] Add.
2780
2781         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2782
2783 2008-05-07  Dan Williams  <dcbw@redhat.com>
2784
2785         * system-settings/plugins/keyfile/reader.c
2786                 - (read_one_setting_value): handle IP address items separately
2787                 - (read_array_of_uint): read IPv4 DNS option as a string array
2788                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2789                         array
2790
2791         * system-settings/plugins/keyfile/writer.c
2792                 - (write_setting_value): handle IP address items separately
2793                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2794                         not an array of uint, so that it's user-editable
2795                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2796                         arrays, so they are user-editable
2797
2798 2008-05-07  Dan Williams  <dcbw@redhat.com>
2799
2800         * system-settings/plugins/keyfile/Makefile.am
2801                 - Change location of the keyfile plugin settings to
2802                         /etc/NetworkManager/system-connections
2803
2804 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2805
2806         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2807
2808         * system-settings/plugins/keyfile/plugin.c: Work with
2809         NMKeyfileConnections.
2810
2811         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2812         Plugins are supposed to return NMExportedConnections now and handle the
2813         updated(), removed(), and GetSecrets().
2814         Store the internal list of connections in hash table to make it easier
2815         to find duplicates.
2816
2817 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2818
2819         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2820         for multiple IP addresses.
2821
2822 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2823
2824         Patch from André Lemos.
2825
2826         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2827         corruption.
2828
2829 2008-05-06  Dan Williams  <dcbw@redhat.com>
2830
2831         * src/dhcp-manager/nm-dhcp-manager.c
2832                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2833                         NMIP4Config to support multiple IP addresses
2834
2835         * src/NetworkManagerUtils.c
2836                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2837
2838         * src/nm-ip4-config.c
2839           src/nm-ip4-config.h
2840                 - Store a list of IPv4 address/netmask/gateway tuples
2841                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2842                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2843                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2844                    nm_ip4_config_set_address): remove
2845                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2846                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2847                         new functions; handle multiple IPv4 addresses
2848
2849         * src/nm-device.c
2850           src/ppp-manager/nm-ppp-manager.c
2851           src/vpn-manager/nm-vpn-connection.c
2852           src/NetworkManagerPolicy.c
2853           test/nm-tool.c
2854           libnm-glib/libnm-glib-test.c
2855                 - update for changes to NMIP4Config for multiple IPv4 addresses
2856
2857         * src/NetworkManagerSystem.c
2858                 - (nm_system_device_set_ip4_route): don't add the route if any address
2859                         is on the same subnet as the destination
2860                 - (check_one_address): ignore the exact match, just match family and
2861                         interface index
2862                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2863                         an interface
2864                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2865                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2866
2867         * introspection/nm-ip4-config.xml
2868                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2869                 - Add 'addresses' property which is an array of (uuu) tuples of
2870                         address/netmask/gateway
2871
2872         * libnm-util/nm-setting-ip4-config.c
2873                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2874
2875         * libnm-glib/nm-ip4-config.c
2876           libnm-glib/nm-ip4-config.h
2877                 - Handle D-Bus interface changes to support multiple IP addresses
2878
2879 2008-05-06  Dan Williams  <dcbw@redhat.com>
2880
2881         * libnm-util/nm-utils.c
2882           libnm-util/nm-utils.h
2883                 - (nm_utils_ip4_addresses_from_gvalue,
2884                    nm_utils_ip4_addresses_to_gvalue): new functions
2885
2886 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2887
2888         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2889         the returned connection paths.
2890
2891 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2892
2893         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2894         "PropertiesChanged" signal signature.
2895
2896         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2897         defined in nm-dbus-glib-types.h.
2898         Don't register the connection on dbus, we're a proxy class to 
2899         communicate with an already registered connection over dbus.
2900
2901 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2902
2903         Implement new subclasses of NMSettings and NMExportedConnection to make
2904         it easier for the applet to access and modify system settings.
2905
2906         * libnm-glib/nm-dbus-connection.[ch]:
2907         * libnm-glib/nm-dbus-settings.[ch]:
2908         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2909
2910         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2911         bindings and glue.
2912
2913         * include/NetworkManager.h: Define the system settings DBus interface.
2914
2915 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2916
2917         Implement additional C API for exported connections to make them identical
2918         with the DBus API. Change the (list_connections) virtual function to be
2919         more usable from C - instead of requiring implementers to return a GPtrArray
2920         of dbus paths, return a list of connections.
2921
2922         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2923         (nm_settings_list_connections):
2924         (nm_exported_connection_new):
2925         (nm_exported_connection_update):
2926         (nm_exported_connection_delete): Implement.
2927
2928         (impl_settings_list_connections):
2929         (impl_exported_connection_update):
2930         (impl_exported_connection_delete): Use the new public functions to make 
2931         sure the C and dbus interfaces stay in sync.
2932
2933         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2934         connections.
2935
2936 2008-05-02  Dan Williams  <dcbw@redhat.com>
2937
2938         * system-settings/plugins/ifcfg-fedora/plugin.c
2939                 - (dispose): use right unref call on the DBusGConnection
2940
2941 2008-05-02  Dan Williams  <dcbw@redhat.com>
2942
2943         * src/nm-serial-device.c
2944                 - (find_terminator): don't compare the whole line, just the size of the
2945                         terminator, since some modems put stuff after the terminator, like
2946                         "CONNECT 9600"
2947
2948 2008-05-01  Dan Williams  <dcbw@redhat.com>
2949
2950         Patch from Michael Biebl <biebl@debian.org>
2951
2952         * callouts/Makefile.am
2953           callouts/org.freedesktop.nm_dispatcher.service.in
2954           system-settings/src/Makefile.am
2955           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2956                 - use the right install location for dbus-activated stuff
2957
2958 2008-04-30  Dan Williams  <dcbw@redhat.com>
2959
2960         * src/nm-gsm-device.c
2961                 - (enter_pin): fix setting name passed to applets when asking for a GSM
2962                         PIN or PUK
2963
2964 2008-04-30  Dan Williams  <dcbw@redhat.com>
2965
2966         * src/nm-manager.c
2967                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2968
2969 2008-04-30  Dan Williams  <dcbw@redhat.com>
2970
2971         * src/nm-device-802-3-ethernet.c
2972           src/nm-device-802-11-wireless.c
2973                 - (real_is_up): return true instead of chaining up to unimplemented
2974                         parent method
2975
2976 2008-04-30  Dan Williams  <dcbw@redhat.com>
2977
2978         * src/NetworkManagerSystem.c
2979           src/NetworkManagerSystem.h
2980                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2981                         functions to check device flags for IFF_UP
2982
2983         * src/nm-serial-device.c
2984                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2985                         implement is_up
2986
2987         * src/nm-device-802-3-ethernet.c
2988           src/nm-device-802-11-wireless.c
2989                 - (real_hw_is_up): call nm_system_device_is_up()
2990
2991         * src/nm-device.c
2992                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2993                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2994                         does not implement
2995
2996 2008-04-29  Dan Williams  <dcbw@redhat.com>
2997
2998         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2999
3000         * marshallers/nm-marshal.list
3001                 - Add marshaller
3002
3003         * src/NetworkManager.c
3004                 - (main): let the NMManager handle the NMHalManager
3005
3006         * src/nm-hal-manager.c
3007           src/nm-hal-manager.h
3008                 - convert to a GObject, and emit singals when stuff changes.  Let the
3009                         NMManager handle the signals, instead of the NMHalManager calling
3010                         into the NMManager.  
3011
3012         * src/nm-manager.c
3013           src/nm-manager.h
3014                 - (remove_one_device): consolidate device removals here
3015                 - (dispose): use remove_one_device()
3016                 - (nm_manager_get_device_by_udi): make static
3017                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3018                         manager for devices at startup or wakeup time
3019                 - (nm_manager_new): create and monitor the HAL manager
3020                 - (hal_manager_udi_added_cb): new function; do what
3021                         nm_manager_add_device() used to do when signalled by the hal manager
3022                 - (hal_manager_udi_removed_cb): new function; do what
3023                         nm_manager_remove_device() used to do when signalled by the hal
3024                         manager
3025                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3026                         hal manager
3027                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3028                         in our device list that aren't known to HAL
3029                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3030                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3031                         commits ago
3032                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3033                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3034                    nm_manager_wireless_hardware_enabled,
3035                    nm_manager_set_wireless_hardware_enabled): remove, unused
3036
3037 2008-04-28  Dan Williams  <dcbw@redhat.com>
3038
3039         Fix the device up/down ambiguities.  Up/down state used to be a
3040         conglomeration of hardware state (IFF_UP) and any device-specific things
3041         (supplicant, periodic timers, etc) that the device used to indicate
3042         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3043         reason, then the device specific stuff wouldn't get run, and the device
3044         would be stuck.
3045
3046         * src/nm-device.c
3047           src/nm-device.h
3048                 - Create hw_is_up, hw_bring_up, and hw_take_down
3049                 - Rename bring_down -> take_down
3050                 - (real_hw_is_up): check interface flags for IFF_UP
3051                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3052                 - (nm_device_is_up): make static; only used locally
3053                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3054                         if the device is already up; if the device isn't up, bring it up
3055                 - (nm_device_hw_take_down): just take down hardware
3056                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3057                 - (nm_device_take_down): always deactivate device when called; always
3058                         try to take hardware down too
3059                 - (nm_device_state_changed): take device down when entering unmanaged
3060                         state from a higher state
3061
3062         * src/nm-device-802-11-wireless.c
3063                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3064                         check IFF_UP really
3065                 - (real_take_down, supplicant_iface_state_cb_handler, 
3066                    supplicant_iface_connection_state_cb_handler,
3067                    supplicant_mgr_state_cb_handler): fix some messages
3068
3069         * src/nm-device-802-3-ethernet.c
3070                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3071                         check IFF_UP really
3072
3073 2008-04-28  Dan Williams  <dcbw@redhat.com>
3074
3075         * src/nm-manager.c
3076           src/nm-manager.h
3077                 - (nm_manager_error_get_type): add new error
3078                 - (nm_manager_remove_device): don't bother taking down the device here,
3079                         the state change from unmanaging the device will do it
3080                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3081                         uses it; when going to sleep, just unmanage the device instead of
3082                         taking it down, because stuff will cleaned up correctly when the
3083                         device gets unmanaged
3084
3085 2008-04-28  Dan Williams  <dcbw@redhat.com>
3086
3087         * src/nm-hal-manager.c
3088                 - (add_initial_devices): convert to a GSourceFunc prototype
3089                 - (nm_manager_state_changed): when coming out of sleep, punt the
3090                         device re-addition to an idle handler to let D-Bus events go out
3091                         first, fixing a potential dbus-glib assert if the old device was
3092                         not yet disposed (due to references held while emitting the D-Bus
3093                         signals) but the new device was found, because the mainloop didn't
3094                         run between signal emission and add_initial_devices()
3095
3096 2008-04-27  Dan Williams  <dcbw@redhat.com>
3097
3098         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3099
3100         * initscript/paldo/NetworkManager.in
3101           initscript/SUSE/networkmanager.in
3102                 - Remove last bits of dhcdbd
3103
3104 2008-04-27  Dan Williams  <dcbw@redhat.com>
3105
3106         * src/nm-device-802-11-wireless.c
3107                 - (link_timeout_cb): don't ask for secrets when disconnected during
3108                         association/authentication phase, drivers are still just too crappy
3109
3110 2008-04-27  Dan Williams  <dcbw@redhat.com>
3111
3112         * Makefile.am
3113           configure.in
3114           dispatcher-daemon/Makefile.am
3115           dispatcher-daemon/NetworkManagerDispatcher.c
3116           initscript/Arch/Makefile.am
3117           initscript/Arch/networkmanager-dispatcher.in
3118           initscript/Gentoo/Makefile.am
3119           initscript/Gentoo/NetworkManagerDispatcher.in
3120           initscript/Mandriva/Makefile.am
3121           initscript/Mandriva/networkmanagerdispatcher.in
3122           initscript/RedHat/Makefile.am
3123           initscript/RedHat/NetworkManagerDispatcher.in
3124           initscript/SUSE/Makefile.am
3125           initscript/SUSE/networkmanager-dispatcher.in
3126           initscript/Slackware/Makefile.am
3127           initscript/Slackware/rc.networkmanager-dispatcher.in
3128           initscript/paldo/Makefile.am
3129           initscript/paldo/NetworkManagerDispatcher.in
3130           man/Makefile.am
3131           man/NetworkManagerDispatcher.8.in
3132                 - Remove the dispatcher daemon
3133
3134 2008-04-27  Dan Williams  <dcbw@redhat.com>
3135
3136         * callouts/Makefile.am
3137           callouts/nm-dispatcher-action.c
3138           callouts/nm-dispatcher-action.h
3139           callouts/nm-dispatcher.conf
3140           callouts/nm-dispatcher.xml
3141           callouts/org.freedesktop.nm_dispatcher.service
3142                 - Re-implement the dispatcher as a system-bus activated service that
3143                         NM calls on-demand, rather than an always running daemon
3144
3145         * src/Makefile.am
3146                 - Add callouts dir to includes to pick up dispatcher defines
3147
3148         * src/nm-device.c
3149                 - (nm_device_state_changed): call dispatcher on device activated/
3150                         deactivated
3151
3152         * src/vpn-manager/nm-vpn-connection.c
3153                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3154                         go up and down
3155
3156         * src/NetworkManagerUtils.c
3157           src/NetworkManagerUtils.h
3158                 - (nm_utils_call_dispatcher): helper to call dispatcher
3159
3160 2008-04-27  Dan Williams  <dcbw@redhat.com>
3161
3162         * src/NetworkManagerUtils.c
3163           src/NetworkManagerUtils.h
3164                 - remove unneeded includes
3165                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3166                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3167                    nm_timeval_cmp, nm_timeval_add): remove, unused
3168                 - clean up formatting
3169                 - (nm_spawn_process): de-uglify
3170
3171         * src/nm-device-802-11-wireless.c
3172                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3173
3174 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3175
3176         * initscript/Gentoo/NetworkManager.in:
3177                 Fix for starting the daemon.
3178
3179 2008-04-25  Dan Williams  <dcbw@redhat.com>
3180
3181         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3182
3183         * src/NetworkManagerSystem.c
3184                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3185
3186 2008-04-25  Dan Williams  <dcbw@redhat.com>
3187
3188         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3189
3190         * src/NetworkManagerSystem.c
3191                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3192                         implementation of nm_system_device_replace_default_route()
3193
3194         * src/NetworkManagerPolicy.c
3195                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3196
3197         * src/backends/NetworkManagerArch.c
3198           src/backends/NetworkManagerDebian.c
3199           src/backends/NetworkManagerFrugalware.c
3200           src/backends/NetworkManagerGeneric.c
3201           src/backends/NetworkManagerGeneric.h
3202           src/backends/NetworkManagerGentoo.c
3203           src/backends/NetworkManagerMandriva.c
3204           src/backends/NetworkManagerPaldo.c
3205           src/backends/NetworkManagerRedHat.c
3206           src/backends/NetworkManagerSlackware.c
3207           src/backends/NetworkManagerSuSE.c
3208                 - (nm_system_device_replace_default_route): remove
3209
3210 2008-04-25  Dan Williams  <dcbw@redhat.com>
3211
3212         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3213
3214         * src/NetworkManagerSystem.c
3215                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3216                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3217                         replace nm_system_device_add_route_via_device_with_iface() in the
3218                         backends
3219
3220         * src/backends/NetworkManagerArch.c
3221           src/backends/NetworkManagerDebian.c
3222           src/backends/NetworkManagerFrugalware.c
3223           src/backends/NetworkManagerGeneric.c
3224           src/backends/NetworkManagerGeneric.h
3225           src/backends/NetworkManagerGentoo.c
3226           src/backends/NetworkManagerMandriva.c
3227           src/backends/NetworkManagerPaldo.c
3228           src/backends/NetworkManagerRedHat.c
3229           src/backends/NetworkManagerSlackware.c
3230           src/backends/NetworkManagerSuSE.c
3231                 - Remove nm_system_device_add_route_via_device_with_iface()
3232
3233 2008-04-25  Dan Williams  <dcbw@redhat.com>
3234
3235         * system-settings/plugins/ifcfg-fedora/parser.c
3236                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3237
3238 2008-04-24  Dan Williams  <dcbw@redhat.com>
3239
3240         * dispatcher-daemon/NetworkManagerDispatcher.c
3241                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3242
3243 2008-04-24  Dan Williams  <dcbw@redhat.com>
3244
3245         * initscript/RedHat/NetworkManager.in
3246           initscript/RedHat/NetworkManagerDispatcher.in
3247                 - Be active at runlevel 2
3248                 - Adjust priorities earlier
3249
3250 2008-04-22  Dan Williams  <dcbw@redhat.com>
3251
3252         * src/NetworkManagerPolicy.c
3253                 - (update_routing_and_dns): when checking for a gateway, look at the
3254                         composite IP4 config, not the connection's ip4-config setting, which
3255                         doesn't include DHCP-returned information
3256
3257 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3258
3259         Implement GKeyFile system settings plugin.
3260         Implement writing system settings (currently supported only by GKeyFile plugin).
3261
3262         * system-settings/src/main.c: 
3263         * system-settings/src/dbus-settings.c: Move the communication with plugins
3264         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3265         plugins for adding/updating/removing connections.
3266
3267         * system-settings/src/nm-system-config-interface.c
3268         (nm_system_config_interface_add_connection): Implement
3269         (nm_system_config_interface_update_connection): Implement.
3270         (nm_system_config_interface_remove_connection): Implement.
3271
3272         * system-settings/plugins/keyfile/Makefile.am:
3273         * system-settings/plugins/keyfile/plugin.[ch]:
3274         * system-settings/plugins/keyfile/writer.[ch]:
3275         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3276
3277         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3278
3279         * configure.in: Generate GKeyFile Makefile.
3280
3281         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3282         corruption, need to duplicate the returned string.
3283         (impl_exported_connection_update): Implement.
3284         (impl_exported_connection_delete): Implement.
3285
3286         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3287
3288         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3289
3290 2008-04-22  Dan Williams  <dcbw@redhat.com>
3291
3292         Patch from Charles R. Anderson (cra@wpi.edu)
3293
3294         * src/NetworkManagerPolicy.c
3295                 - (update_routing_and_dns): don't select devices without a gateway
3296                         as having the default route (rh #437338)
3297
3298 2008-04-21  Dan Williams  <dcbw@redhat.com>
3299
3300         * src/nm-activation-request.c
3301           src/nm-activation-request.h
3302                 - (dispose): ensure to disconnect from the device's state-changed signal
3303                         when appropriate so the signal doesn't get handled by an already
3304                         disposed NMActRequest
3305                 - (device_state_changed): update is_default here too just to make sure
3306                         default is only True when the child device is activated
3307                 - (nm_act_request_set_default): new function
3308
3309         * src/NetworkManagerPolicy.c
3310                 - (update_routing_and_dns): set 'default' on the active connection which
3311                         has the default route and DNS
3312
3313 2008-04-21  Dan Williams  <dcbw@redhat.com>
3314
3315         * src/NetworkManagerPolicy.c
3316                 - (device_state_changed): update routing and DNS when a device goes
3317                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3318
3319 2008-04-21  Dan Williams  <dcbw@redhat.com>
3320
3321         * include/NetworkManager.h
3322                 - Add NMActiveConnectionState enum
3323
3324         * introspection/nm-active-connection.xml
3325           introspection/nm-vpn-connection.xml
3326                 - Add 'State' property for overall active connection state
3327                 - Add 'Default' property, when True means this active connection
3328                         has the default route
3329                 - Add PropertyChanged signals so changes actually go out over the bus
3330
3331         * src/nm-active-connection.h
3332                 - Add defines for State & Default properties
3333
3334         * src/nm-activation-request.c
3335                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3336                         signal to determine active connection state
3337
3338         * src/vpn-manager/nm-vpn-connection.c
3339           src/vpn-manager/nm-vpn-connection.h
3340           src/vpn-manager/nm-vpn-manager.c
3341           src/vpn-manager/nm-vpn-service.c
3342                 - Rename old 'state' to 'vpn-state'
3343                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3344                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3345                         'vpn-state-changed' signal
3346
3347         * libnm-glib/nm-active-connection.c
3348           libnm-glib/nm-active-connection.h
3349                 - Add new 'state' and 'default' properties and accessors
3350
3351         * libnm-glib/nm-vpn-connection.c
3352           libnm-glib/nm-vpn-connection.h
3353                 - Rename old 'state' property to 'vpn-state'
3354                 - Add new 'state' and 'default' properties and accessors
3355
3356 2008-04-21  Dan Williams  <dcbw@redhat.com>
3357
3358         * src/nm-ip4-config.c
3359                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3360                         not specified (rh #443474)
3361
3362 2008-04-20  Dan Williams  <dcbw@redhat.com>
3363
3364         * src/NetworkManagerUtils.c
3365           src/NetworkManagerUtils.h
3366                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3367                         NMSettingIP4Config to an NMIP4Config object
3368
3369         * src/nm-device.c
3370                 - (merge_ip4_config): move to NetworkManagerUtils.c
3371
3372         * src/vpn-manager/nm-vpn-connection.c
3373                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3374                         too
3375
3376 2008-04-18  Dan Williams  <dcbw@redhat.com>
3377
3378         * libnm-util/nm-setting-ppp.c
3379           libnm-util/nm-setting-ppp.h
3380                 - Add 'no-vj-comp' option for TCP header compression
3381                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3382                         uint32
3383
3384 2008-04-18  Dan Williams  <dcbw@redhat.com>
3385
3386         * libnm-util/nm-setting-ppp.c
3387           libnm-util/nm-setting-ppp.h
3388           src/ppp-manager/nm-ppp-manager.c
3389                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3390
3391 2008-04-18  Dan Williams  <dcbw@redhat.com>
3392
3393         * libnm-util/nm-setting-ppp.c
3394           libnm-util/nm-setting-ppp.h
3395           src/ppp-manager/nm-ppp-manager.c
3396                 - Remove the 'usepeerdns' option and always request DNS servers from
3397                         the PPP server; the connection chooses to use/override/ignore the
3398                         DNS servers returned from the PPP server
3399
3400 2008-04-18  Dan Williams  <dcbw@redhat.com>
3401
3402         * libnm-util/nm-setting-ppp.c
3403           libnm-util/nm-setting-ppp.h
3404           src/ppp-manager/nm-ppp-manager.c
3405                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3406                         it seems to have been an erroneous addition to the PPTP plugin in
3407                         the first place (from which the ppp-manager is derived)
3408
3409 2008-04-17  Dan Williams  <dcbw@redhat.com>
3410
3411         * libnm-util/nm-setting-pppoe.c
3412                 - (verify): require a PPP setting too
3413
3414         * src/ppp-manager/nm-ppp-manager.c
3415                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3416                         segfaulting
3417
3418 2008-04-17  Dan Williams  <dcbw@redhat.com>
3419
3420         * src/nm-device.c
3421                 - (nm_device_state_changed): do deactivation and and promotion to
3422                         unavailable here, so that the device gets cleaned up before the
3423                         manager runs and starts emitting signals; do the
3424                         FAILED->DISCONNECTED transition from an idle handler rather than
3425                         immediately to guard against recursion
3426                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3427                         FAILED->DISCONNECTED handler if it's scheduled
3428
3429 2008-04-17  Dan Williams  <dcbw@redhat.com>
3430
3431         * src/nm-device-802-11-wireless.c
3432                 - (state_changed_cb): clear AP list when device transitions to
3433                         unavailable or unmanaged
3434                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3435                         since this is already done in device_cleanup()
3436                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3437                         isn't available or managed
3438                 - (device_cleanup): use remove_all_aps()
3439                 - (remove_all_aps): consolidate code removing all APs
3440
3441 2008-04-17  Dan Williams  <dcbw@redhat.com>
3442
3443         * src/nm-serial-device.c
3444           src/nm-serial-device.h
3445                 - (wait_for_reply_got_data): break input into lines, and search each
3446                         line for responses _and_ terminator strings; also make sure that
3447                         the read loop doesn't continue after the timeout is supposed to fire
3448                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3449
3450         * src/nm-gsm-device.c
3451           src/nm-cdma-device.c
3452                 - Send terminators to nm_serial_device_wait_for_reply()
3453
3454 2008-04-16  Dan Williams  <dcbw@redhat.com>
3455
3456         Patch from 陈鑫 <znscnchen@gmail.com>
3457
3458         * src/ppp-manager/nm-pppd-plugin.c
3459                 - (get_credentials): return correct value for success; handle case where
3460                         pppd just does some checking but doesn't want a password
3461                 - (plugin_init): make CHAP work too
3462
3463 2008-04-16  Dan Williams  <dcbw@redhat.com>
3464
3465         Patch from 陈鑫 <znscnchen@gmail.com>
3466
3467         * src/ppp-manager/nm-ppp-manager.c
3468                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3469
3470 2008-04-16  Dan Williams  <dcbw@redhat.com>
3471
3472         Patch from 陈鑫 <znscnchen@gmail.com>
3473
3474         * src/nm-device-802-3-ethernet.c
3475                 - (real_deactivate_quickly): clear the IP interface name on
3476                         deactivation, otherwise the wrong interface might get used later
3477                         for routing and IP management
3478
3479 2008-04-15  Dan Williams  <dcbw@redhat.com>
3480
3481         * libnm-glib/nm-device.c
3482                 - (get_product_and_vendor): handle serial devices correctly
3483                 - (nm_device_update_description): pass device to get_product_and_vendor()
3484
3485 2008-04-15  Dan Williams  <dcbw@redhat.com>
3486
3487         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3488
3489         * src/NetworkManagerSystem.h
3490           src/backends/NetworkManagerArch.c
3491           src/backends/NetworkManagerDebian.c
3492           src/backends/NetworkManagerFrugalware.c
3493           src/backends/NetworkManagerGeneric.c
3494           src/backends/NetworkManagerGeneric.h
3495           src/backends/NetworkManagerGentoo.c
3496           src/backends/NetworkManagerMandriva.c
3497           src/backends/NetworkManagerPaldo.c
3498           src/backends/NetworkManagerRedHat.c
3499           src/backends/NetworkManagerSlackware.c
3500           src/backends/NetworkManagerSuSE.c
3501           src/nm-device.c
3502                 - (nm_generic_device_add_ip6_link_address,
3503                    nm_system_device_add_ip6_link_address): remove
3504
3505 2008-04-15  Dan Williams  <dcbw@redhat.com>
3506
3507         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3508
3509         * src/backends/NetworkManagerArch.c
3510           src/backends/NetworkManagerDebian.c
3511           src/backends/NetworkManagerFrugalware.c
3512           src/backends/NetworkManagerGeneric.c
3513           src/backends/NetworkManagerGeneric.h
3514           src/backends/NetworkManagerGentoo.c
3515           src/backends/NetworkManagerMandriva.c
3516           src/backends/NetworkManagerPaldo.c
3517           src/backends/NetworkManagerRedHat.c
3518           src/backends/NetworkManagerSlackware.c
3519           src/backends/NetworkManagerSuSE.c
3520           src/NetworkManagerSystem.h
3521                 - flush_routes -> flush_ip4_routes
3522                 - flush_addresses -> flush_ip4_addresses
3523
3524         * src/NetworkManagerSystem.c
3525           src/nm-device.c
3526           src/vpn-manager/nm-vpn-connection.c
3527                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3528
3529 2008-04-15  Dan Williams  <dcbw@redhat.com>
3530
3531         Remove exposure of wireless-tools mode types in the API.
3532
3533         * include/NetworkManager.h
3534                 - Define NM80211Mode enum
3535
3536         * introspection/generic-types.xml
3537                 - Describe NM_802_11_MODE enum
3538                 - Remove IW_MODE_* enum
3539
3540         * introspection/nm-access-point.xml
3541           libnm-glib/nm-access-point.c
3542           libnm-glib/nm-access-point.h
3543                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3544
3545         * introspection/nm-device-802-11-wireless.xml
3546           libnm-glib/nm-device-802-11-wireless.c
3547           libnm-glib/nm-device-802-11-wireless.h
3548                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3549
3550         * libnm-util/nm-setting-wireless.c
3551           src/NetworkManagerAP.c
3552           src/NetworkManagerAP.h
3553           src/nm-device-802-11-wireless.c
3554           src/nm-device-802-11-wireless.h
3555           test/nm-tool.c
3556                 - Use NM80211Mode not IW_MODE_*
3557
3558 2008-04-15  Dan Williams  <dcbw@redhat.com>
3559
3560         Enhance nm-online based on a patch from Bill Nottingham.
3561
3562         * test/nm-online.c
3563                 - Add a '-q' option
3564                 - Add help messages and option summary
3565                 - Add long-format options
3566                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3567
3568 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3569
3570         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3571
3572         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3573
3574 2008-04-15  Dan Williams  <dcbw@redhat.com>
3575
3576         * nm-setting-ip4-config.c
3577                 - (ip4_addresses_from_gvalue): handle NULL address array
3578
3579         * nm-setting-8021x.c
3580                 - (verify_tls, verify_ttls): warn on failed verification
3581
3582 2008-04-10  Dan Williams  <dcbw@redhat.com>
3583
3584         * src/nm-gsm-device.c
3585                 - (automatic_registration): accept "+CREG: 0,0"
3586                 - (automatic_registration_response): fail on "+CREG: 0,0"
3587
3588 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3589
3590         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3591
3592 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3593
3594         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3595         Make it compile again by commenting out broken code that at first didn't work and
3596         now didn't compile either.
3597
3598 2008-04-08  Dan Williams  <dcbw@redhat.com>
3599
3600         * libnm-glib/nm-object-cache.c
3601           libnm-glib/nm-settings.c
3602           src/dhcp-manager/nm-dhcp-manager.c
3603           system-settings/plugins/ifcfg-fedora/plugin.c
3604           system-settings/plugins/ifcfg-suse/plugin.c
3605           system-settings/src/nm-system-config-hal-manager.c
3606           libnm-util/nm-utils.c
3607                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3608                         not threadsafe anyway
3609
3610 2008-04-08  Dan Williams  <dcbw@redhat.com>
3611
3612         * system-settings/src/main.c
3613                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3614                         callbacks take a device type too
3615
3616 2008-04-08  Dan Williams  <dcbw@redhat.com>
3617
3618         The system settings service will now create a new default DHCP connection
3619         for wired devices that have no existing applicable connection.
3620
3621         * system-settings/src/nm-system-config-hal-manager.c
3622           system-settings/src/nm-system-config-hal-manager.h
3623                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3624
3625         * system-settings/src/dbus-settings.c
3626           system-settings/src/dbus-settings.h
3627                 - (nm_sysconfig_settings_get_connections): new function
3628                 - (nm_sysconfig_settings_is_device_managed): new function
3629
3630         * system-settings/src/main.c
3631                 - (load_stuff): check for wired devices that need a default connection
3632                 - (get_details_for_udi): get interface and MAC address from HAL
3633                 - (add_default_dhcp_connection): add a default connection for a wired
3634                         device if needed
3635                 - (device_added_cb, device_removed_cb): do the right thing with
3636                         wired devices and their default connections on HAL device events
3637
3638 2008-04-07  Dan Williams  <dcbw@redhat.com>
3639
3640         * libnm-glib/nm-device.c
3641           libnm-glib/nm-device.h
3642                 - Proxy the 'managed' property
3643
3644 2008-04-07  Dan Williams  <dcbw@redhat.com>
3645
3646         * src/nm-gsm-device.c
3647           src/nm-cdma-device.c
3648                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3649                         handler to transition to DISCONNECTED
3650
3651 2008-04-07  Dan Williams  <dcbw@redhat.com>
3652
3653         Patch from Bill Nottingham
3654
3655         * dispatcher-daemon/NetworkManagerDispatcher.c
3656                 - ignore backup/packaging crufy (rh #440143)
3657
3658 2008-04-07  Dan Williams  <dcbw@redhat.com>
3659
3660         * include/NetworkManager.h
3661                 - Remove the DOWN and CANCELLED device states
3662                 - Add UNMANAGED and UNAVAILABLE device states
3663                 - Document the device states
3664
3665         * introspection/nm-device.xml
3666           src/nm-device-interface.c
3667           src/nm-device-interface.h
3668                 - Add the 'managed' property
3669
3670         * test/nm-tool.c
3671                 - (detail_device): print out device state
3672
3673         * src/NetworkManagerSystem.h
3674           src/backends/NetworkManagerArch.c
3675           src/backends/NetworkManagerDebian.c
3676           src/backends/NetworkManagerFrugalware.c
3677           src/backends/NetworkManagerGentoo.c
3678           src/backends/NetworkManagerMandriva.c
3679           src/backends/NetworkManagerPaldo.c
3680           src/backends/NetworkManagerRedHat.c
3681           src/backends/NetworkManagerSlackware.c
3682           src/backends/NetworkManagerSuSE.c
3683                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3684                    nm_system_device_free_system_config): remove; they were unused and
3685                         their functionality should be re-implemented in each distro's
3686                         system settings service plugin 
3687
3688         * src/nm-gsm-device.c
3689           src/nm-gsm-device.h
3690           src/nm-cdma-device.c
3691           src/nm-cdma-device.h
3692                 - (*_new): take the 'managed' argument
3693
3694         * src/nm-device.c
3695                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3696                 - (nm_device_init): start in unmanaged state, not disconnected
3697                 - (constructor): don't start device until the system settings service
3698                         has had a chance to figure out if the device is managed or not
3699                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3700                         don't set device state here, let callers handle that as appropriate
3701                 - (nm_device_dispose): don't touch the device if it's not managed
3702                 - (set_property, get_property, nm_device_class_init): implement the
3703                         'managed' property
3704                 - (nm_device_state_changed): bring the device up if its now managed,
3705                         and deactivate it if it used to be active
3706                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3707                         with the managed state
3708
3709         * src/nm-hal-manager.c
3710                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3711                         take initial managed state and pass it along to device constructors
3712                 - (create_device_and_add_to_list): get managed state and pass to
3713                         type creators
3714
3715         * src/nm-device-802-11-wireless.c
3716                 - (real_can_activate): fold in most of
3717                         nm_device_802_11_wireless_can_activate()
3718                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3719                 - (link_timeout_cb): instead of deactivating, change device state and
3720                         let the device state handler to it
3721                 - (real_update_hw_address): clean up
3722                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3723                         handler to transition to DISCONNECTED if the device isn't rfkilled
3724
3725         * src/nm-device-802-3-ethernet.c
3726                 - (set_carrier): move above callers and get rid of prototype
3727                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3728                         idle handler to transition to DISCONNECTED if the device has a
3729                         carrier
3730                 - (real_update_hw_address): clean up
3731                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3732                         deactivation directly as deactivation doesn't change state anymore
3733
3734         * src/NetworkManagerPolicy.c
3735                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3736                         the NMManager and wireless devices work that out themselves now
3737                 - (device_state_changed): change to a switch and update for new device
3738                         states
3739                 - (device_carrier_changed): remove; device handles this now through
3740                         state changes
3741                 - (device_added): don't care about carrier any more; the initial
3742                         activation check will happen when the device transitions to
3743                         DISCONNECTED
3744
3745         * src/nm-manager.c
3746                 - (dispose): clear unmanaged devices
3747                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3748                         the managed property on each device when needed
3749                 - (system_settings_properties_changed_cb): handle signals from the
3750                         system settings service
3751                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3752                         getting the unmanaged device list method call
3753                 - (query_unmanaged_devices): ask the system settings service for its
3754                         list of unmanaged devices
3755                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3756                         devices
3757                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3758                         devices directly and let them handle the necessary state transitions
3759                 - (manager_device_state_changed): update for new device states
3760                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3761                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3762                 - (nm_manager_activate_connection): return error if the device is
3763                         unmanaged
3764                 - (nm_manager_sleep): handle new device states correctly; don't change
3765                         the state of unavailable/unmanaged devices
3766
3767         * libnm-glib/nm-device-802-11-wireless.c
3768                 - (state_changed_cb): update for new device states
3769
3770 2008-04-07  Dan Williams  <dcbw@redhat.com>
3771
3772         * marshallers/nm-marshal.list
3773                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3774
3775 2008-04-07  Dan Williams  <dcbw@redhat.com>
3776
3777         * system-settings/src/main.c
3778                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3779                         plugins to the dbus settings object
3780                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3781                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3782                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3783                 - (main): switch default logging to syslog with a 'debug' option to
3784                         output to console; start up the HAL manager
3785
3786 2008-04-07  Dan Williams  <dcbw@redhat.com>
3787
3788         * introspection/nm-settings-system.xml
3789           introspection/Makefile.am
3790                 - Define the unmanaged devices interface for the system settings service
3791
3792         * system-settings/src/nm-system-config-hal-manager.c
3793           system-settings/src/nm-system-config-hal-manager.h
3794           system-settings/src/nm-system-config-hal-manager-private.h
3795           system-settings/src/Makefile.am
3796                 - Add a lightweight HAL manager object for tracking network devices for
3797                         the purpose of determining unmanaged devices and which devices need
3798                         the default DHCP connections
3799
3800         * system-settings/src/nm-system-config-interface.c
3801           system-settings/src/nm-system-config-interface.h
3802                 - (nm_system_config_interface_init): add the HAL manager as an argument
3803                 - (nm_system_config_interface_get_unmanaged_devices): implement
3804                 - Define 'unmanaged-devices-changed' signal
3805
3806         * system-settings/src/dbus-settings.c
3807           system-settings/src/dbus-settings.h
3808                 - Implement the unmanaged devices interface; some cleanups
3809
3810         * system-settings/plugins/ifcfg-suse/plugin.c
3811                 - Fixup for plugin interface changes
3812
3813         * system-settings/plugins/ifcfg-fedora/plugin.c
3814                 - (get_ether_device_udi): new function; find the device that has
3815                         a specified MAC address and return its UDI
3816                 - (get_udi_for_connection): new function; try to find the specific
3817                         device a connection is locked to, if any
3818                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3819                         response to HAL events
3820                 - (get_unmanaged_devices): new function; return unmanaged device list
3821                 - (build_one_connection): set the connection's locked device, if any
3822                 - (write_auto_wired_connection): remove
3823                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3824                 - (handle_connection_changed): alert listeners that the unmanaged device
3825                         list has changed
3826                 - (init): fixup for plugin interface changes, implement unmanaged devices
3827
3828         * system-settings/plugins/ifcfg-fedora/parser.c
3829           system-settings/plugins/ifcfg-fedora/parser.h
3830                 - (connection_data_free): clean up connection UDI
3831
3832 2008-04-07  Dan Williams  <dcbw@redhat.com>
3833
3834         * system-settings/plugins/ifcfg-fedora/parser.c
3835                 - (make_ip4_setting): fix parsing of DNS servers
3836
3837 2008-04-05  Dan Williams  <dcbw@redhat.com>
3838
3839         * Makefile.am
3840           configure.in
3841           marshallers/Makefile.am
3842           marshallers/nm-marshal-main.c
3843           marshallers/nm-marshal.list
3844                 - Consolidate marshallers
3845
3846         * libnm-glib/nm-marshal-main.c
3847           libnm-glib/nm-marshal.list
3848           src/marshallers/Makefile.am
3849           src/marshallers/nm-marshal-main.c
3850           src/marshallers/nm-marshal.list
3851                 - Remove
3852
3853         * libnm-glib/Makefile.am
3854           src/Makefile.am
3855           src/dhcp-manager/Makefile.am
3856           src/ppp-manager/Makefile.am
3857           src/supplicant-manager/Makefile.am
3858           src/vpn-manager/Makefile.am
3859                 - Use consolidated marshallers
3860
3861 2008-04-04  Dan Williams  <dcbw@redhat.com>
3862
3863         * src/nm-hal-manager.c
3864           src/nm-hal-manager.h
3865                 - (hal_init): don't look for hardware here
3866                 - (nm_hal_manager_start): new function; look for hardware here instead,
3867                         which can be done at a later time than hal_init()
3868
3869         * src/NetworkManager.c
3870                 - (main): start HAL manager after entering the main loop
3871
3872 2008-04-03  Dan Williams  <dcbw@redhat.com>
3873
3874         * libnm-glib/nm-settings.c
3875           libnm-glib/nm-settings.h
3876             - (nm_exported_connection_get_id): new function
3877                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3878
3879 2008-04-02  Dan Williams  <dcbw@redhat.com>
3880
3881         * src/nm-device-interface.c
3882           src/nm-device-interface.h
3883           src/nm-device.c
3884           src/nm-device.h
3885                 - Rename check_connection_conflicts() to check_connection_compatible()
3886
3887         * src/nm-device-802-11-wireless.c
3888                 - (real_check_connection_conflicts): remove
3889                 - (real_check_connection_compatible): implement; match MAC address
3890
3891         * src/nm-device-802-3-ethernet.c
3892                 - (real_check_connection_conflicts): remove
3893                 - (real_check_connection_compatible): implement; match MAC address
3894                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3895
3896         * src/nm-manager.c
3897                 - (check_connection_allowed): remove; unused until PolicyKit integration
3898                 - (internal_activate_device): check whether the connection is compatible
3899                         with the device before trying to activate it
3900
3901 2008-04-02  Dan Williams  <dcbw@redhat.com>
3902
3903         * system-settings/plugins/ifcfg-fedora/parser.c
3904                 - (read_mac_address): new function; read in MAC address and stuff it
3905                         into the connection
3906                 - (add_one_wep_key): remove debug spew
3907                 - (make_wireless_security_setting): validate the default TX key; don't
3908                         add the wireless-security setting if the connection doesn't need
3909                         security; don't leak the keys shvarFile on error cases
3910                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3911                         address
3912
3913 2008-04-02  Dan Williams  <dcbw@redhat.com>
3914
3915         * libnm-util/nm-setting-connection.c
3916           libnm-util/nm-setting-connection.h
3917                 - (set_property, get_property, nm_setting_connection_class_init): remove
3918                         the 'lockdown' property; it's functionality will be replaced by
3919                         PolicyKit instead
3920
3921 2008-04-01  Dan Williams  <dcbw@redhat.com>
3922
3923         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3924
3925         * configure.in
3926           initscript/Makefile.am
3927           initscript/Mandriva/Makefile.am
3928           initscript/Mandriva/networkmanager.in
3929           initscript/Mandriva/networkmanagerdispatcher.in
3930           src/backends/Makefile.am
3931           src/backends/NetworkManagerMandriva.c
3932           system-settings/plugins/Makefile.am
3933                 - Add Mandriva support
3934
3935 2008-03-31  Dan Williams  <dcbw@redhat.com>
3936
3937         * src/vpn-manager/nm-vpn-service.c
3938                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3939                         errors can be passed back to the caller; also no longer scheduled
3940                         as an idle handler, but called directly; and bump up VPN service
3941                         spawn timeout, 2s is really short
3942                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3943                         but call it directly so that errors are reported on return from
3944                         ActivateConnection() and don't get lost.  If scheduled as an idle
3945                         handler, clients don't have the time to query NM for the new VPN
3946                         connection's properties before the VPN connection is torn down again
3947                         if the service couldn't be launched, and therefore launch errors
3948                         get lost.
3949
3950 2008-03-31  Dan Williams  <dcbw@redhat.com>
3951
3952         * src/vpn-manager/nm-vpn-connection.c
3953                 - (device_state_changed): send correct state on device failure too
3954                 - (plugin_state_changed): failed state means unexpected disconnection,
3955                         thus if the service goes away while the VPN connection is activated
3956                         that's a failure too
3957
3958 2008-03-31  Dan Williams  <dcbw@redhat.com>
3959
3960         * src/vpn-manager/nm-vpn-manager.c
3961           src/vpn-manager/nm-vpn-manager.h
3962                 - Make VPNManager errors more available; add a service-start-failed error
3963
3964 2008-03-31  Dan Williams  <dcbw@redhat.com>
3965
3966         * libnm-glib/nm-client.c
3967           libnm-glib/nm-client.h
3968                 - (activate_cb): pass the new active connection to callback; fix
3969                         message when no callback is specified
3970
3971 2008-03-30  Dan Williams  <dcbw@redhat.com>
3972
3973         * libnm-util/nm-setting-wireless-security.c
3974                 - (need_secrets): only require key0 if the transmit key index is also
3975                         0
3976                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3977
3978 2008-03-29  Dan Williams  <dcbw@redhat.com>
3979
3980         * libnm-util/nm-setting-8021x.c
3981           libnm-util/nm-setting-ip4-config.c
3982           libnm-util/nm-setting-vpn-properties.c
3983           libnm-util/nm-setting-vpn.c
3984           libnm-util/nm-setting-wireless-security.c
3985           libnm-util/nm-setting-wireless.c
3986           libnm-util/nm-utils.c
3987           src/dhcp-manager/nm-dhcp-manager.c
3988           src/nm-activation-request.c
3989           src/nm-ip4-config.c
3990           src/nm-manager.c
3991           src/nm-properties-changed-signal.c
3992           src/ppp-manager/nm-pppd-plugin.c
3993           src/supplicant-manager/nm-supplicant-interface.c
3994           src/vpn-manager/nm-vpn-connection.c
3995                 - consistently use nm-dbus-glib-types.h
3996
3997 2008-03-29  Dan Williams  <dcbw@redhat.com>
3998
3999         * src/vpn-manager/nm-vpn-connection.c
4000                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4001                         not string
4002
4003         * src/nm-activation-request.c
4004                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4005                         not string
4006
4007 2008-03-29  Dan Williams  <dcbw@redhat.com>
4008
4009         * libnm-glib/nm-device-802-11-wireless.c
4010                 - (access_point_added_proxy): create new APs if not found
4011
4012 2008-03-29  Dan Williams  <dcbw@redhat.com>
4013
4014         * libnm-glib/nm-client.c
4015                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4016                         before freeing them
4017
4018 2008-03-29  Dan Williams  <dcbw@redhat.com>
4019
4020         * system-settings/plugins/ifcfg-fedora/parser.c
4021                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4022                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4023
4024 2008-03-29  Dan Williams  <dcbw@redhat.com>
4025
4026         * system-settings/plugins/ifcfg-fedora/parser.c
4027                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4028
4029 2008-03-27  Dan Williams  <dcbw@redhat.com>
4030
4031         * nm-object.c
4032                 - (nm_object_queue_notify): don't notify multiple times for the same
4033                         property
4034
4035         * nm-object-private.h
4036                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4037                         if it has zero elements
4038
4039         * nm-ip4-config.c
4040                 - (finalize): use g_ptr_array_foreach() when freeing domains
4041                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4042
4043         * nm-active-connection.c
4044                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4045
4046         * nm-device-802-11-wireless.c
4047           nm-device-802-11-wireless.h
4048                 - (nm_device_802_11_wireless_get_access_points): return const; use
4049                         handle_ptr_array_return()
4050
4051         * nm-types.c
4052                 - (nm_object_array_demarshal): always create an array, even of length
4053                         zero, to distinguish between "NM returned no items" and "haven't
4054                         asked NM yet"
4055
4056         * nm-client.c
4057                 - (dispose): free active connections too
4058                 - (proxy_name_owner_changed): free active connections too when NM goes
4059                         away
4060                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4061                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4062
4063 2008-03-26  Dan Williams  <dcbw@redhat.com>
4064
4065         Rework VPN connection handling for a more consistent D-Bus API.  The
4066         VPNManager object has been removed, and active VPN connections are now the
4067         same as any other active connection.  The Manager object's ActivateConnection
4068         and DeactivateConnection methods are used to start and stop a VPN connection,
4069         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4070         When activating a VPN connection, pass the path of the active connection
4071         to which the VPN connection is tied in the 'specific_object' argument.
4072
4073         Consequently, the libnm-glib API has been reworked to match this arrangement,
4074         with the VPNManager object removed, and the NMVPNConnection objects now
4075         being subclasses of NMActiveConnection.
4076
4077 2008-03-25  Dan Williams  <dcbw@redhat.com>
4078
4079         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4080
4081         * initscript/Arch/networkmanager.in
4082           initscript/Arch/networkmanager-dispatcher.in
4083                 - Updates for Arch Linux (gnome.org #523701)
4084
4085 2008-03-25  Dan Williams  <dcbw@redhat.com>
4086
4087         * libnm-glib/nm-ip4-config.c
4088           libnm-glib/nm-active-connection.c
4089           libnm-glib/nm-access-point.c
4090                 - Use nm_object_queue_notify() instead of g_object_notify()
4091
4092         * libnm-glib/nm-device.c
4093                 - (demarshal_ip4_config): distinguish between successful but missing
4094                         ip4-config request, and unsuccessful and missing ip4-config request
4095                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4096                         path
4097                 - Use nm_object_queue_notify() instead of g_object_notify()
4098
4099         * libnm-glib/nm-device-802-11-wireless.c
4100                 - (demarshal_active_ap): distinguish between successfull but missing
4101                         active-ap request, and unsuccessful and missing active-ap request
4102                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4103                         code
4104                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4105                         for the NMClient to notify the device that wireless is disabled,
4106                         and therefore to clear the AP list and active AP
4107                 - Use nm_object_queue_notify() instead of g_object_notify()
4108
4109         * libnm-glib/nm-client.c
4110                 - (poke_wireless_devices_with_rf_status): new function
4111                 - (update_wireless_status): notify wireless devices of the rfkill status
4112                         so they can clean up if needed
4113                 - Use nm_object_queue_notify() instead of g_object_notify()
4114
4115 2008-03-25  Dan Williams  <dcbw@redhat.com>
4116
4117         * libnm-glib/nm-object.c
4118           libnm-glib/nm-object-private.h
4119                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4120                         signals to an idle handler
4121                 - (nm_object_get_property): add a timeout to the D-Bus method call
4122
4123 2008-03-25  Dan Williams  <dcbw@redhat.com>
4124
4125         * introspection/nm-device-cdma.xml
4126           introspection/nm-device-gsm.xml
4127           introspection/Makefile.am
4128           introspection/all.xml
4129                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4130
4131         * src/nm-gsm-device.h
4132           src/nm-gsm-device.c
4133           src/nm-cdma-device.h
4134           src/nm-cdma-device.c
4135           src/Makefile.am
4136                 - Implement PropertiesChanged signals
4137
4138         * libnm-glib/nm-cdma-device.c
4139           libnm-glib/nm-cdma-device.c
4140                 - Attach to PropertiesChanged signals
4141
4142 2008-03-24  Dan Williams  <dcbw@redhat.com>
4143
4144         * libnm-glib/nm-client.c
4145                 - (client_device_added_proxy): add new devices to the internal device
4146                         list so they appear to clients
4147
4148 2008-03-24  Dan Williams  <dcbw@redhat.com>
4149
4150         Massive fixup of libnm-glib to:
4151         a) have all objects (with the exception of VPN) cache their properties and
4152                 update them asynchronously on PropertiesChanged signals from NM
4153         b) return internal const data for most attributes/properties instead of
4154                 allocated values that the caller must free
4155         c) cache wrapped objects such that a given D-Bus path will always map to the
4156                 same GObject returned by libnm-glib
4157         d) remove a few signals and move them to GObject property notifications
4158         e) match recent NM D-Bus API changes for activation/deactivation
4159         f) remove some private functions from libnm-glib headers
4160
4161 2008-03-20  Dan Williams  <dcbw@redhat.com>
4162
4163         * src/nm-manager.c
4164                 - (nm_manager_update_state, manager_device_state_changed,
4165                    nm_manager_activate_device, connection_added_default_handler,
4166                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4167                         queue PropertyChanged singals when the active connections change
4168
4169 2008-03-20  Dan Williams  <dcbw@redhat.com>
4170
4171         * introspection/nm-manager.xml
4172           introspection/nm-manager-client.xml
4173                 - (ActivateConnection): return the object path of the active connection
4174                         on success
4175                 - (GetActiveConnections): remove
4176                 - (DeactivateConnection): new function; deactivate a currently active
4177                         connection
4178                 - Add an ActiveConnections property which returns an array of
4179                         active connection object paths
4180
4181         * introspection/nm-device.xml
4182                 - (Deactivate): remove
4183
4184         * introspection/all.xml
4185                 - Add ActiveConnection introspection
4186
4187         * introspection/nm-active-connection.xml
4188                 - Add the ActiveConnection object
4189
4190         * include/NetworkManager.h
4191                 - Add the Connection.Active D-Bus interface
4192
4193         * src/nm-device-interface.c
4194                 - (impl_device_deactivate): remove
4195
4196         * src/nm-activation-request.c
4197           src/nm-activation-request.c
4198           src/Makefile.am
4199                 - Implement the Connection.Active D-Bus interface
4200
4201         * src/nm-manager.c
4202                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4203                 - (nm_manager_activate_device): return the active connection path
4204                 - (connection_added_default_handler, impl_manager_activate_connection):
4205                         return the active connection to the caller
4206                 - (add_one_connection_element, impl_manager_get_active_connections):
4207                         remove
4208                 - (impl_manager_deactivate_connection): new function; deactivate an
4209                         active connection
4210
4211         * libnm-glib/nm-device.c
4212           libnm-glib/nm-device.h
4213                 - Remove Deactivate() function
4214
4215 2008-03-19  Dan Williams  <dcbw@redhat.com>
4216
4217         * introspection/nm-manager.xml
4218           introspection/nm-manager-client.xml
4219                 - Rename the ActivateDevice method to ActivateConnection to better
4220                         reflect it's usage; it's arguments get reordered a bit too
4221                 - Convert GetActiveConnections method return from a struct to a dict
4222
4223         * include/NetworkManager.h
4224                 - Define the dict keys for return value of GetActiveConnections
4225
4226         * src/nm-manager.c
4227                 - impl_manager_activate_device -> impl_manager_activate_connection
4228                 - (add_one_connection_element): return a populated hash table, not
4229                         a structure
4230
4231         * libnm-glib/nm-client.c
4232           libnm-glib/nm-client.h
4233                 - nm_client_activate_device -> nm_client_activate_connection
4234                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4235                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4236                         instead of the custom structures.  Each element of the returned list
4237                         must be freed with nm_client_free_active_connections_element()
4238
4239 2008-03-18  Dan Williams  <dcbw@redhat.com>
4240
4241         * system-settings/plugins/ifcfg-fedora/parser.c
4242           system-settings/plugins/ifcfg-fedora/parser.h
4243           system-settings/plugins/ifcfg-fedora/plugin.c
4244                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4245                         profiles.  DNS servers and searches must now be stored in the ifcfg
4246                         files themselves
4247
4248 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4249
4250         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4251         print out username and password, it's supposed to be a secret.
4252
4253         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4254         request and set the device state accordingly.
4255
4256 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4257
4258         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4259
4260         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4261
4262 2008-03-18  Dan Williams  <dcbw@redhat.com>
4263
4264         * src/vpn-manager/nm-vpn-connection.c
4265                 - (get_secrets_cb): handle new GetSecrets return format
4266
4267 2008-03-18  Dan Williams  <dcbw@redhat.com>
4268
4269         Adapt system settings service for split 802.1x.
4270
4271         * system-settings/src/nm-system-config-interface.h
4272                 - clarify return value of get_secrets()
4273
4274         * system-settings/src/dbus-settings.c
4275                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4276                 - (check_for_secrets): check if there actually secrets returned by a
4277                         plugin
4278                 - (exported_connection_get_secrets): just return the plugin-returned
4279                         hash of settings' secrets if it looks valid
4280
4281         * system-settings/plugins/ifcfg-fedora/plugin.c
4282                 - (get_secrets): add split secrets with correct format to reply hash
4283
4284         * system-settings/plugins/ifcfg-fedora/parser.c
4285           system-settings/plugins/ifcfg-fedora/parser.h
4286                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4287                    connection_data_free, connection_data_add): keep secrets for
4288                         different settings in different hashes
4289
4290 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4291
4292         Clean up activating device deactivation.
4293
4294         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4295         should be done whether the device activation gets cancelled or the device
4296         is just getting deactivated.
4297         (nm_device_activation_cancel): Remove.
4298         (nm_device_deactivate_quickly): Handle the case where device is activating.
4299
4300         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4301         It does the exact same thing as real_deactivate_quickly().
4302
4303 2008-03-17  Dan Williams  <dcbw@redhat.com>
4304
4305         Split the 802.1x bits out of the wireless-security setting so they are
4306         generalized enough for wired 802.1x to use too.
4307
4308         * introspection/nm-exported-connection.xml
4309                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4310                         of just a hash of the secrets for one setting
4311
4312         * libnm-util/nm-setting-wireless-security.c
4313           libnm-util/nm-setting-wireless-security.h
4314                 - Remove 802.1x-specific stuff
4315                 - Added leap-username and leap-password properties for old-school LEAP
4316
4317         * src/nm-device.c
4318           src/nm-device.h
4319                 - (connection_secrets_updated_cb): take a list of updated settings names,
4320                         not just one
4321
4322         * src/supplicant-manager/nm-supplicant-config.c
4323           src/supplicant-manager/nm-supplicant-config.h
4324                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4325                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4326                         to nm_supplicant_config_add_setting_8021x()
4327                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4328                         the supplicant config
4329
4330         * src/nm-device-802-11-wireless.c
4331                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4332                 - (real_connection_secrets_updated): take a list of updated settings
4333                         names, not just one
4334
4335         * src/nm-device-802-3-ethernet.c
4336           src/nm-cdma-device.c
4337           src/nm-gsm-device.c
4338                 - (real_connection_secrets_updated_cb): take a list of updated settings
4339                         names, not just one
4340
4341         * src/nm-activation-request.c
4342           src/nm-activation-request.h
4343                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4344                         now passes a list of updated settings names, not just one
4345                 - (update_one_setting): new function; handle one updated setting
4346                 - (get_secrets_cb): handle multiple settings returned from the
4347                         settings service; have to be careful of ordering here as there are
4348                         some dependencies between settings (ex. wireless-security and 802.1x
4349                         in some cases)
4350
4351         * src/marshallers/nm-marshal.list
4352                 - new marshaller for connection-secrets-updated signal
4353
4354         * libnm-util/nm-setting-8021x.c
4355                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4356                         methods
4357                 - (verify): a valid 'eap' property is now required
4358
4359         * libnm-util/nm-connection.c
4360                 - (register_default_settings): add priorities to settings; there are
4361                         some dependencies between settings, and during the need_secrets
4362                         calls this priority needs to be respected.  For example, only the
4363                         wireless-security setting knows whether or not the connection is
4364                         going to use 802.1x or now, so it must be asked for secrets before
4365                         any existing 802.1x setting is
4366                 - (nm_connection_lookup_setting_type): expose
4367
4368         * libnm-util/nm-setting-wireless.c
4369                 - (verify): should verify even if all_settings is NULL; otherwise won't
4370                         catch the case where there is missing security
4371
4372         * libnm-util/nm-setting-wireless-security.c
4373                 - Remove everything to do with 802.1x
4374                 - Add old-school LEAP specific properties for username and password
4375                 - (need_secrets): rework LEAP secrets checking
4376                 - (verify): rework for LEAP and 802.1x verification
4377
4378 2008-03-17  Dan Williams  <dcbw@redhat.com>
4379
4380         * src/NetworkManagerPolicy.c
4381                 - (auto_activate_device): always remove the current activation check
4382                         from the pending activation list, otherwise when the policy gets
4383                         destroyed on NM exit it will attempt to free the already freed
4384                         activation check
4385
4386 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4387
4388         * src/backends/NetworkManagerSlackware.c 
4389         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4390
4391         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4392
4393 2008-03-14  Dan Williams  <dcbw@redhat.com>
4394
4395         * src/nm-manager.c
4396                 - (nm_device_interface_get_iface): g_object_get() will return an
4397                         allocated value, so this function must not return const
4398                 - (nm_device_interface_activate): free returned iface
4399
4400 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4401
4402         * libnm-util/Makefile.am: Add new files to build.
4403
4404         * libnm-util/nm-connection.c: Register NMSetting8021x.
4405
4406         * libnm-util/nm-setting-8021x.c
4407         * libnm-util/nm-setting-8021x.h: Implement.
4408
4409 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4410
4411         * libnm-util/Makefile.am: Add new files to build.
4412
4413         * libnm-util/nm-connection.c: Register NMSetting8021x.
4414
4415         * libnm-util/nm-setting-8021x.c
4416         * libnm-util/nm-setting-8021x.h: Implement.
4417
4418 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4419
4420         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4421         data.
4422
4423 2008-03-14  Dan Williams  <dcbw@redhat.com>
4424
4425         * include/wireless-helper.h
4426           include/Makefile.am
4427                 - One place for all the junk needed for #including wireless.h
4428
4429         * test/nm-tool.c
4430           src/NetworkManagerAP.c
4431           src/wpa.c
4432           src/Makefile.am
4433           libnm-util/nm-utils.c
4434           libnm-util/nm-setting-wireless.c
4435           libnm-glib/nm-device-802-11-wireless.c
4436           libnm-glib/nm-access-point.c
4437           libnm-glib/libnm-glib-test.c
4438                 - include wireless-helper.h, not iwlib.h
4439
4440         * configure.in
4441                 - Don't need libiw really, just need to check for wireless.h
4442
4443         * src/kernel-types.h
4444                 - Remove; used types moved into wpa.c
4445
4446         * src/nm-device-802-11-wireless.c
4447                 - (nm_device_802_11_wireless_update_signal_strength,
4448                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4449                    nm_device_802_11_wireless_set_mode,
4450                    nm_device_802_11_wireless_get_frequency,
4451                    nm_device_802_11_wireless_get_ssid,
4452                    nm_device_802_11_wireless_set_ssid,
4453                    nm_device_802_11_wireless_get_bitrate,
4454                    nm_device_802_11_wireless_get_bssid,
4455                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4456                         instead of iwlib functions
4457
4458 2008-03-14  Dan Williams  <dcbw@redhat.com>
4459
4460         * src/ppp-manager/nm-ppp-manager.c
4461                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4462                         should only take the DBusGMethodInvocation argument, not user/pass
4463                         too.  With dbus-glib, async functions only take 2 C arguments since
4464                         the real dbus method arguments get passed back with
4465                         dbus_g_method_return()
4466
4467 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4468
4469         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4470         Adapt the changes of NMSettingIP4Config.
4471
4472 2008-03-13  Dan Williams  <dcbw@redhat.com>
4473
4474         * src/NetworkManagerUtils.c
4475           src/NetworkManagerUtils.h
4476                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4477
4478         * src/NetworkManagerAP.c
4479           src/nm-device-802-11-wireless.c
4480           src/nm-device-802-3-ethernet.c
4481                 - s/iw_ether_ntop/nm_ether_ntop/g
4482
4483 2008-03-13  Dan Williams  <dcbw@redhat.com>
4484
4485         * src/NetworkManagerPolicy.c
4486                 - (update_routing_and_dns): never set the default route through an
4487                         IPv4LL addressed device
4488
4489 2008-03-13  Dan Williams  <dcbw@redhat.com>
4490
4491         * NetworkManagerUtils.c
4492           NetworkManagerUtils.h
4493                 - Remove NMSock stuff
4494                 - Remove the completion stuff
4495
4496         * nm-device.c
4497           nm-device.h
4498           NetworkManager.c
4499           NetworkManagerSystem.c
4500           autoip.c
4501           nm-device-802-11-wireless.c
4502           nm-device-802-3-ethernet.c
4503                 - Remove NMSock and completion stuff
4504                 - Remove nm_ioctl_info()
4505
4506 2008-03-12  Dan Williams  <dcbw@redhat.com>
4507
4508         * src/nm-device.c
4509                 - (merge_ip4_config): avoid duplicates
4510
4511 2008-03-12  Dan Williams  <dcbw@redhat.com>
4512
4513         * libnm-util/nm-setting-ip4-config.c
4514           libnm-util/nm-setting-ip4-config.h
4515                 - Remove 'manual' and 'autoip' properties
4516                 - Add 'method' property
4517                 - (verify): fix verification with 'method'
4518                 - (finalize): free 'method'
4519                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4520                         up for 'method'
4521
4522         * src/nm-device.c
4523                 - (real_act_stage3_ip_config_start): check IP4Config method
4524                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4525                         the future
4526                 - (merge_ip4_config): IP settings are valid with DHCP too
4527                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4528                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4529
4530         * src/nm-device-802-11-wireless.c
4531                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4532                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4533                         only on demand
4534
4535         * system-settings/plugins/ifcfg-fedora/parser.c
4536           system-settings/plugins/ifcfg-suse/parser.c
4537                 - (make_ip4_setting): fix up for 'method'
4538
4539 2008-03-12  Dan Williams  <dcbw@redhat.com>
4540
4541         * system-settings/plugins/ifcfg-fedora/parser.c
4542           system-settings/plugins/ifcfg-fedora/parser.h
4543                 - (get_ifcfg_name): ignore more file suffixes
4544                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4545
4546 2008-03-12  Dan Williams  <dcbw@redhat.com>
4547
4548         * configure.in
4549                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4550
4551 2008-03-12  Dan Williams  <dcbw@redhat.com>
4552
4553         * system-settings/plugins/ifcfg-fedora/plugin.c
4554                 - (write_auto_wired_connection): new function; write out an auto
4555                         wired connection file since the applet isn't doing it any more
4556                 - (reload_all_connections): write out the auto wired connection file
4557                         if there aren't any wired connections already
4558                 - (init): don't leak a GError
4559
4560 2008-03-12  Dan Williams  <dcbw@redhat.com>
4561
4562         * src/nm-device-interface.c
4563                 - (nm_device_interface_activate): print the ID of the connection
4564                         that's about to be activated
4565
4566 2008-03-12  Dan Williams  <dcbw@redhat.com>
4567
4568         Harmonize the 802.11 bitrate API
4569
4570         * introspection/nm-access-point.xml
4571                 - 'Rate' -> 'MaxBitrate'; clarify units
4572
4573         * introspection/nm-device-802-11-wireless.xml
4574                 - Clarify units of 'Bitrate'
4575
4576         * src/NetworkManagerAP.c
4577           src/NetworkManagerAP.h
4578                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4579                         property to 'max-bitrate'
4580                 - (foreach_property_cb): convert rate to Kb/s
4581
4582         * src/nm-device-802-11-wireless.c
4583                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4584
4585         * libnm-glib/nm-access-point.c
4586           libnm-glib/nm-access-point.h
4587                 - 'rate' -> 'max-bitrate'
4588
4589         * test/nm-tool.c
4590           libnm-glib/libnm-glib-test.c
4591                 - Fix up for these changes
4592
4593 2008-03-12  Dan Williams  <dcbw@redhat.com>
4594
4595         * src/nm-device.c
4596                 - (nm_device_set_ip4_config): don't send property notifications when
4597                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4598                         which dbus-glib can't parse because the value is NULL, which isn't
4599                         a legal object path.  Setting the IP4 config to NULL is only
4600                         valid when deactivating a device anyway, so the device state change
4601                         will alert listeners that the ip4 config is invalid.
4602
4603 2008-03-12  Dan Williams  <dcbw@redhat.com>
4604
4605         * src/nm-properties-changed-signal.c
4606                 - (add_to_string): better handling of NULL objects
4607
4608 2008-03-12  Dan Williams  <dcbw@redhat.com>
4609
4610         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4611         convert the libnm-glib NMDevice8023Ethernet to cached properties
4612
4613         * introspection/nm-device-802-3-ethernet.xml
4614                 - New 'Carrier' property
4615                 - New 'PropertiesChanged' signal
4616
4617         * introspection/nm-device.xml
4618                 - Remove 'Carrier' property
4619                 - Remove 'CarrierChanged' signal
4620
4621         * src/nm-device-interface.c
4622           src/nm-device-interface.h
4623                 - (nm_device_interface_init): remove 'carrier' property and
4624                         'carrier-changed' signal
4625
4626         * src/nm-device.c
4627           src/nm-device.h
4628                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4629                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4630                         the link here; wired device will handle that
4631                 - (handle_dhcp_lease_change): don't bother updating link here
4632                 - (get_property, nm_device_class_init): remove carrier property
4633
4634         * src/nm-device-802-11-wireless.c
4635                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4636                         real_update_link(); wireless devices don't use carrier at all
4637                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4638                    supplicant_iface_connection_state_cb_handler,
4639                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4640
4641         * src/nm-device-802-3-ethernet.c
4642           src/nm-device-802-3-ethernet.h
4643                 - (nm_device_802_3_ethernet_carrier_on,
4644                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4645                         instead of nm_device_set_carrier()
4646                 - (device_state_changed): update link from sysfs on activation;
4647                         replaces real_update_link()
4648                 - (real_update_link): remove, replaced by device_state_changed()
4649                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4650                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4651                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4652                         new get_carrier function
4653                 - (get_property): add 'carrier' property
4654                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4655                         hook into property-changed signal helper
4656
4657         * src/NetworkManagerPolicy.c
4658                 - (device_carrier_changed): will only ever be called with a wired device
4659                 - (device_added): only hook up to carrier-changed for wired devices
4660
4661         * libnm-glib/nm-device.c
4662           libnm-glib/nm-device.h
4663                 - (constructor, nm_device_class_init): remove carrier-changed signal
4664                 - (device_carrier_changed_proxy): remove; unused
4665                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4666
4667         * libnm-glib/nm-device-802-3-ethernet.c
4668           libnm-glib/nm-device-802-3-ethernet.h
4669                 - Convert to cached properties like AP and Wireless objects
4670                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4671                         instead of a 'char *', return value should not be freed
4672                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4673                 - (constructor): hook into properties-changed helper
4674                 - (set_property, get_property): new functions
4675                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4676
4677         * test/nm-tool.c
4678                 - (detail_device): strdup the wired hardware address too since it's
4679                         cached now
4680
4681         * libnm-glib/libnm-glib-test.c
4682                 - (dump_wired): strdup the wired hardware address too since it's
4683                         cached now
4684
4685 2008-03-12  Dan Williams  <dcbw@redhat.com>
4686
4687         * libnm-util/nm-setting-ip4-config.c
4688           libnm-util/nm-setting-ip4-config.h
4689                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4690                         the 'autoip' property from the spec
4691
4692 2008-03-11  Dan Williams  <dcbw@redhat.com>
4693
4694         * src/backends/NetworkManagerGeneric.c
4695           src/backends/NetworkManagerGeneric.h
4696                 - (nm_generic_device_get_use_dhcp): remove
4697
4698 2008-03-11  Dan Williams  <dcbw@redhat.com>
4699
4700         * src/nm-device.c
4701                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4702                         already in nm_device_set_ip4_config()
4703                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4704                         due to a DHCP rebind fails
4705                 - (nm_device_set_ip4_config): send property notifications when the
4706                         ip4 config changes
4707                 - (get_property): only report IP4Config property during valid states
4708
4709         * src/NetworkManagerPolicy.c
4710                 - (update_routing_and_dns): ignore devices that don't have an ip4
4711                         config; add parameter 'force_update' to allow callers to specify
4712                         that changes should be made even if the default device doesn't change
4713                 - (device_ip4_config_changed): update DNS and routing when the device's
4714                         IP4Config changes, like for DHCP updates
4715                 - (device_added): listen for ip4-config property changes
4716
4717 2008-03-11  Dan Williams  <dcbw@redhat.com>
4718
4719         Fix address handling as a result of DHCP rebind/renew/reboot.
4720
4721         * src/NetworkManagerSystem.c
4722                 - (check_one_address): delete an address if it doesn't match a given
4723                         one for the same interface
4724                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4725                         be smarter about flushing addresses (only flush ones that don't
4726                         match the one we're about to apply)
4727
4728         * src/backends/NetworkManagerDebian.c
4729           src/backends/NetworkManagerSuSE.c
4730           src/backends/NetworkManagerArch.c
4731           src/backends/NetworkManagerSlackware.c
4732           src/backends/NetworkManagerRedHat.c
4733           src/backends/NetworkManagerPaldo.c
4734           src/backends/NetworkManagerFrugalware.c
4735           src/backends/NetworkManagerGentoo.c
4736                 - (nm_system_delete_default_route): remove
4737
4738         * src/backends/NetworkManagerGeneric.c
4739           src/backends/NetworkManagerGeneric.h
4740                 - (nm_generic_enable_loopback): fix the loopback device label
4741                 - (nm_generic_delete_default_route): remove; no longer used
4742
4743 2008-03-11  Dan Williams  <dcbw@redhat.com>
4744
4745         * src/nm-device-interface.h
4746                 - Delimit property name words with '-', otherwise g_object_notify()
4747                         doesn't work the way we expect
4748
4749 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4750
4751         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4752
4753 2008-03-11  Dan Williams  <dcbw@redhat.com>
4754
4755         * src/NetworkManagerPolicy.c
4756                 - (update_routing_and_dns): don't change anything if the default device
4757                         hasn't changed; print something out when switching the default route
4758                         and DNS
4759
4760 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4761
4762         Implement PPPoE.
4763
4764         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4765         setting. Use "nic-$eth".
4766
4767         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4768         the device is activating here to fix a race condition.
4769
4770         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4771
4772         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4773         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4774         (nm_ppp_manager_start): Take activation request instead of connection, we might
4775         need it for asking secrets.
4776         (nm_ppp_manager_update_secrets): Implement.
4777
4778         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4779         ppp manager start. It might be needed for asking secrets.
4780
4781         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4782         (ppp_state_changed): Handle pppd daemon disappearing.
4783         (pppoe_stage2_config): Send activation request to ppp manager start.
4784
4785         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4786
4787         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4788         username and password.
4789         
4790 2008-03-10  Dan Williams  <dcbw@redhat.com>
4791
4792         * src/nm-device.c
4793                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4794                         response to a DHCP lease change
4795                 - (dhcp_state_changed): handle DHCP lease changes while activated
4796                 - (nm_device_set_ip4_config): remove a previously set named config
4797                         when setting an ip4 config
4798
4799 2008-03-10  Dan Williams  <dcbw@redhat.com>
4800
4801         * src/nm-serial-device.c
4802                 - (nm_serial_device_send_command): report errno on error
4803                 - (get_reply_got_data): limit the size of the overall buffer
4804                 - (wait_for_reply_info_destroy): destroy result string
4805                 - (wait_for_reply_got_data): append received data to an overall buffer
4806                         until timeout, filled buffer, or error instead of keeping a per-call
4807                         buffer.  Some devices send data slowly enough that this function
4808                         gets called multiple times for the same command stream.
4809                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4810                         wait_for_reply_got_data() here
4811
4812 2008-03-10  Dan Williams  <dcbw@redhat.com>
4813
4814         * src/nm-cdma-device.c
4815                 - (do_dial, init_modem): handle errors from
4816                         nm_serial_device_send_command_string()
4817
4818         * src/nm-gsm-device.c
4819                 - (do_dial, manual_registration, automatic_registration_get_network,
4820                    automatic_registration, enter_pin, check_pin, init_modem): handle
4821                         errors from nm_serial_device_send_command_string()
4822
4823 2008-03-10  Dan Williams  <dcbw@redhat.com>
4824
4825         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4826
4827         * src/named-manager/nm-named-manager.c
4828                 - (compute_searches): prefer searches before domains
4829                 - (compute_domain): new function
4830                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4831                 - (merge_one_ip4_config): if there are no searches in the source config,
4832                         merge domains of the source config into the target config
4833                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4834
4835 2008-03-10  Dan Williams  <dcbw@redhat.com>
4836
4837         * src/nm-serial-device.c
4838                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4839                 - (wait_for_reply_got_data): try to handle slower serial devices where
4840                         the reply is broken up into multiple reads by concatenating replies
4841                         together until either an error is received or the search string is
4842                         found
4843
4844 2008-03-10  Dan Williams  <dcbw@redhat.com>
4845
4846         * src/nm-device.c
4847                 - (nm_device_bring_down): deactivate the device if it's activating too,
4848                         not just if it's already activated.  This makes sure that everything
4849                         from an association attempt is cleaned up (like DHCP for example)
4850
4851 2008-03-10  Dan Williams  <dcbw@redhat.com>
4852
4853         * src/nm-serial-device.c
4854                 - (config_fd): report error from TCSETA
4855                 - (nm_serial_device_open): fail when config_fd() fails
4856
4857 2008-03-10  Dan Williams  <dcbw@redhat.com>
4858
4859         * src/nm-ip4-config.c
4860                 - (nm_ip4_config_init): allocate searches list
4861                 - (finalize): free searches list
4862
4863 2008-03-09  Dan Williams  <dcbw@redhat.com>
4864
4865         Patch from Bas Zoetekouw <bas@debian.org>
4866
4867         * src/dhcp-manager/nm-dhcp-manager.c
4868                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4869
4870 2008-03-09  Dan Williams  <dcbw@redhat.com>
4871
4872         Patch from Bas Zoetekouw <bas@debian.org>
4873
4874         * src/nm-ip4-config.c
4875           src/nm-ip4-config.h
4876                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4877                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4878                         domains.  'searches' is the correct way to store multiple search
4879                         domains, whereas 'domains' is really just supposed to store one
4880                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4881                         search domains to the client.
4882                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4883
4884 2008-03-09  Dan Williams  <dcbw@redhat.com>
4885
4886         * src/dhcp-manager/nm-dhcp-manager.c
4887                 - (dhclient_run): send interface-specific config files to dhclient
4888
4889 2008-03-07  Dan Williams  <dcbw@redhat.com>
4890
4891         * system-settings/plugins/ifcfg-fedora/parser.c
4892                 - (is_wireless_device): new function; test a device for wireless
4893                         extensions
4894                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4895                         test the device for wireless extensions to determine the type
4896
4897 2008-03-07  Dan Williams  <dcbw@redhat.com>
4898
4899         Change manager's StateChange signal to StateChanged for consistency.
4900
4901         * introspection/nm-manager.xml
4902                 - Add 'StateChanged' signal
4903                 - Move 'StateChange' down to the deprecated section
4904
4905         * src/nm-hal-manager.c
4906                 - (nm_hal_manager_new): connect to 'state-changed' instead
4907
4908         * src/NetworkManagerPolicy.c
4909                 - (nm_policy_new): connect to 'state-changed' instead
4910
4911         * src/nm-manager.c
4912           src/nm-manager.h
4913                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4914                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4915                         of 'state-change'
4916
4917         * libnm-glib/nm-client.c
4918           libnm-glib/nm-client.h
4919                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4920                         track and proxy 'state-changed' instead of 'state-change'
4921
4922 2008-03-07  Dan Williams  <dcbw@redhat.com>
4923
4924         First pass of multiple active device support.  Expect bugs.
4925
4926         * src/nm-ip4-config.c
4927           src/nm-ip4-config.h
4928                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4929                         there are better ways to do this in the named manager
4930
4931         * src/nm-device.c
4932           src/nm-device.h
4933                 - (nm_device_can_activate): return whether the device can activate a
4934                         connection right now; taking into account things like carrier state
4935                         and rfkill state
4936                 - (nm_device_get_best_auto_connection): renamed from
4937                         nm_device_get_best_connection
4938                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4939                         device subclasses themselves, so that each device can override the
4940                         MTU from it's NMSetting subclass if needed
4941                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4942                         in NetworkManagerSystem.c, not here
4943
4944         * src/named-manager/nm-named-manager.c
4945           src/named-manager/nm-named-manager.h
4946                 - (nm_named_manager_name_owner_changed,
4947                    nm_named_manager_dbus_connection_changed): fix for changes to
4948                         rewrite_resolv_conf()
4949                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4950                         from parameter list
4951                 - (merge_one_ip4_config): new function; merge ip4 configs together
4952                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4953                         ip4 configs; the VPN config takes precedence, then the best
4954                         device config, then the rest of the configs
4955                 - (get_domain_for_config): take the NMNamedManager as an argument
4956                         to check whether the config is the VPN config
4957                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4958                         attribute from ip4 configs
4959                 - (add_all_ip4_configs_to_named): add all the configs in priority order
4960                 - (remove_ip4_config_from_named): fix for changes to
4961                         get_domain_for_config()
4962                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4963                         based on its type; callers must pass in the type now
4964                 - (get_last_default_domain): remove, unused
4965                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4966
4967         * src/nm-device-802-11-wireless.c
4968                 - (real_can_activate): new function
4969                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4970                 - (real_act_stage4_get_ip4_config): handle MTU override
4971
4972         * src/nm-device-802-3-ethernet.c
4973                 - (real_can_activate): new function
4974                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4975                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4976
4977         * src/vpn-manager/nm-vpn-connection.c
4978                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4979                         attribute on the ip4 config
4980
4981         * src/NetworkManagerPolicy.c
4982                 - (nm_policy_auto_get_best_device): remove
4983                 - (nm_policy_device_change_check): remove
4984                 - (update_default_route): new function; set the default route via
4985                         the specified device
4986                 - (get_device_priority): new function; return the priority number of
4987                         a device type WRT which one should have the default route.  Order is
4988                         (highest to lowest)  wired, wireless, GSM, CDMA.
4989                 - (update_routing_and_dns): new function; determine which device should
4990                         have the default route, then update the routing table and DNS
4991                 - (maybe_auto_activate_device): new function; if a device is now
4992                         available for activation, find out what connection it would like to
4993                         activate and do it
4994                 - (schedule_activate_check): new function; if a device can be activated
4995                         now, schedule the activation.  Each device may have only one
4996                         pending activation at a given time.
4997                 - (device_state_changed): if activation was canceled, try again,
4998                         possibly with another connection; if the device was activated,
4999                         update routing and DNS; if the device was deactivated, try again
5000                         with another connection
5001                 - (device_carrier_changed): if there is no carrier, deactivate the
5002                         device; otherwise schedule an activation check for the device
5003                 - (wireless_networks_changed): schedule an activation check for the
5004                         device
5005                 - (device_added): keep track of the signal handler IDs so they can
5006                         be removed when the device goes away
5007                 - (device_removed): remove any signal handlers that might be attached
5008                         to the device; update routing and DNS
5009                 - (schedule_activate_all): new function
5010                 - (connections_added, connection_added, connection_updated): when
5011                         connections change, schedule all devices for an activation check
5012                 - (connection_removed): when a device is deactivated because its
5013                         connection was removed, schedule another activation check for it
5014                 - (nm_policy_destroy): destroy pending activations and disconnect
5015                         all device signal handlers
5016
5017         * src/nm-manager.c
5018                 - (nm_manager_activate_device): if the device was already actived,
5019                         deactivate it
5020                 - (deactivate_old_device): remove
5021                 - (connection_added_default_handler, impl_manager_activate_device):
5022                         don't deactivate other devices when activating this one
5023
5024         * src/backends/NetworkManagerGentoo.c
5025           src/backends/NetworkManagerFrugalware.c
5026           src/backends/NetworkManagerPaldo.c
5027           src/backends/NetworkManagerRedHat.c
5028           src/backends/NetworkManagerSlackware.c
5029           src/backends/NetworkManagerArch.c
5030           src/backends/NetworkManagerSuSE.c
5031           src/backends/NetworkManagerDebian.c
5032                 - (nm_system_get_mtu): remove; MTU should be provided through the
5033                         distro's system settings service plugin instead
5034                 - (nm_system_device_add_default_route_via_device): remove
5035                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5036                 - (nm_system_device_replace_default_route): new function; call
5037                         generic implementation
5038
5039         * src/backends/NetworkManagerGeneric.c
5040           src/backends/NetworkManagerGeneric.h
5041                 - (nm_generic_device_add_default_route_via_device,
5042                    nm_generic_device_add_default_route_via_device_with_iface): remove
5043                 - (nm_generic_device_replace_default_route): replace the default route
5044                         with the given route via some gateway
5045
5046         * src/NetworkManagerSystem.c
5047           src/NetworkManagerSystem.h
5048                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5049                         to routing and DNS; but set the MTU here
5050                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5051                         ip_iface of the active device; use the standard MTU setting function
5052                 - (nm_system_set_mtu): remove
5053                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5054
5055 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5056
5057         Rework the interaction between ppp manager and pppd plugin. Register a well
5058         known DBUS service in manager and let the plugin call it's methods instead
5059         of listening plugin's signals.
5060
5061         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5062         of emitting signals.
5063
5064         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5065
5066         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5067
5068         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5069         nm_ppp_manager_start().
5070
5071         * introspection/nm-ppp-manager.xml: New file.
5072
5073         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5074         the case correctly where driver is trying to send -1 for the speed, which gets
5075         casted to u16 and thus is always > 0.
5076
5077 2008-03-07  Dan Williams  <dcbw@redhat.com>
5078
5079         * src/nm-hal-manager.c
5080                 - (nm_get_device_driver_name): use net.originating_device first, fall
5081                         back to physical device.  HAL has deprecated physical_device.
5082
5083         * libnm-glib/nm-device.c
5084                 - (get_product_and_vendor): use net.originating_device first, fall
5085                         back to physical device.  HAL has deprecated physical_device.
5086                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5087
5088 2008-03-07  Dan Williams  <dcbw@redhat.com>
5089
5090         * src/nm-netlink.c
5091                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5092                         last commit; fix that
5093                 - (get_link_cache): print error string
5094
5095 2008-03-07  Dan Williams  <dcbw@redhat.com>
5096
5097         * src/nm-netlink.c
5098                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5099                         don't need this hack any more (Benoit Boissinot)
5100
5101 2008-03-06  Dan Williams  <dcbw@redhat.com>
5102
5103         * autogen.sh
5104                 - Die gnome-common, die
5105
5106 2008-03-04  Dan Williams  <dcbw@redhat.com>
5107
5108         Patch from Michael Biebl <biebl@debian.org>
5109
5110         * NetworkManager.pc.in
5111                 - doesn't actually depend on dbus-1
5112
5113         * libnm-util/nm-utils.h
5114                 - remove unused #include <dbus/dbus.h>
5115
5116         * libnm-glib/libnm_glib.pc.in
5117                 - depends on glib and dbus-glib
5118
5119 2008-03-02  Dan Williams  <dcbw@redhat.com>
5120
5121         * src/NetworkManagerPolicy.c
5122                 - s/device_state_changed_idle_id/update_state_id/
5123
5124 2008-03-02  Dan Williams  <dcbw@redhat.com>
5125
5126         * src/nm-device.c
5127           src/nm-device.h
5128           src/nm-device-802-11-wireless.c
5129           src/nm-device-802-3-ethernet.c
5130           src/NetworkManagerPolicy.c
5131                 - s/link_active/carrier
5132                 - nm_device_set_active_link() -> nm_device_set_carrier()
5133                 - nm_device_has_active_link() -> nm_device_get_carrier()
5134
5135 2008-03-02  Dan Williams  <dcbw@redhat.com>
5136
5137         * system-settings/plugins/ifcfg-fedora/parser.c
5138                 - (make_wireless_setting): fail connection creation on missing SSID
5139
5140 2008-02-29  Dan Williams  <dcbw@redhat.com>
5141
5142         * src/NetworkManagerPolicy.c
5143                 - (nm_policy_device_change_check): ensure that a previously active
5144                         device with a system connection has a link before denying a switch
5145                         to a user connection
5146
5147 2008-02-29  Dan Williams  <dcbw@redhat.com>
5148
5149         * src/nm-device-802-11-wireless.c
5150                 - (link_timeout_cb): try again if scanning; deactivate the device when
5151                         activated if the link dies
5152                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5153                         15 seconds
5154
5155 2008-02-29  Dan Williams  <dcbw@redhat.com>
5156
5157         * src/nm-device-802-11-wireless.c
5158           src/nm-device-802-11-wireless.h
5159                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5160                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5161                 - (device_cleanup): reset the scan interval lower when the device
5162                         deactivates
5163                 - (can_scan): base decision mostly off device state, not supplicant
5164                         interface state since the supplicant interface state isn't a
5165                         great indicator of whether the device is active or not
5166                 - (request_wireless_scan): clean up; schedule the next scan here
5167                 - (schedule_scan): only back the scan interval off if a new scan
5168                         actually gets scheduled; and make scan intervals tighter when the
5169                         device is disconnected
5170                 - (supplicant_iface_state_cb_handler): fold in the bits of
5171                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5172                         interval to minimum
5173                 - (activation_success_handler): reset scan interval to something
5174                         reasonable 
5175
5176 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5177
5178         reviewed by: Steev <steev@steev.net>
5179
5180         * configure.in:
5181         * src/backends/NetworkManagerGentoo.c:
5182         (nm_system_restart_mdns_responder):
5183                 Howl is no longer a supported mDNS provider
5184
5185 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5186
5187         Get rid of a bunch of unused distro specific functions.
5188
5189 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5190
5191         Implement suse plugin for system settings daemon.
5192
5193         * system-settings/plugins/ifcfg-suse/*: Implement.
5194
5195         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5196         suse.
5197
5198         * configure.in: Check (without failing) for gio.
5199         Create ifcfg-suse plugin's Makefile.
5200
5201 2008-02-20  Dan Williams  <dcbw@redhat.com>
5202
5203         * libnm-util/nm-connection.c
5204           libnm-util/nm-connection.h
5205                 - (nm_connection_compare): accept compare flags and pass them to the
5206                         setting compare function
5207
5208         * libnm-util/nm-setting.c
5209           libnm-util/nm-setting.h
5210                 - (nm_setting_compare): accept compare flags; ignore properties that are
5211                         marked fuzzy
5212
5213         * libnm-util/nm-setting-connection.c
5214           libnm-util/nm-setting-wireless.c
5215           libnm-util/nm-setting-ppp.c
5216           libnm-util/nm-setting-wired.c
5217                 - Mark some setting properties as ignorable when doing a fuzzy compare
5218
5219         * src/nm-device.c
5220                 - (device_activation_precheck): use exact compare
5221
5222 2008-02-20  Dan Williams  <dcbw@redhat.com>
5223
5224         * src/NetworkManagerPolicy.c
5225                 - (nm_policy_device_change_check): get scope off the connection, not
5226                         using the manager helper
5227
5228         * src/nm-manager.c
5229           src/nm-manager.h
5230                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5231                 - (connection_get_settings_cb): set scope and path on connection, not
5232                         using GObject data items
5233                 - (get_connection_for_proxy): don't need to return path, since that
5234                         can be gotten from the connection
5235                 - (get_connection_for_proxy): get path off the connection, not from
5236                         parameters
5237                 - (connection_removed_cb, connection_updated_cb): don't need to get
5238                         path from get_connection_for_proxy(); get scope off the connection
5239                         instead of using GObject data items
5240                 - (connection_added_default_handler, add_one_connection_element): use
5241                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5242                 - (nm_manager_get_connection_dbus_path): remove
5243                 - (nm_manager_get_connection_scope): remove
5244
5245 2008-02-20  Dan Williams  <dcbw@redhat.com>
5246
5247         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5248                 on confusing names
5249
5250         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5251                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5252                 NMExportedConnection
5253
5254         * Internally rename NMConnectionType -> NMConnectionScope
5255
5256         * Provide default implementations of the 'get_id' and 'get_settings' methods
5257                 of NMExportedConnection
5258
5259 2008-02-15  Dan Williams  <dcbw@redhat.com>
5260
5261         * src/nm-device-802-11-wireless.c
5262                 - (device_cleanup): release the AP list here too so that the AP list
5263                         doesn't survive across suspend/resume and up/down.  There is some
5264                         room for optimization, for example blow the list away when the card
5265                         brought back up, but only if the device has only been down for a
5266                         minute or more.
5267
5268 2008-02-15  Dan Williams  <dcbw@redhat.com>
5269
5270         * src/nm-hal-manager.c
5271                 - (modem_device_creator): recognize new HAL modem capabilities
5272
5273 2008-02-12  Dan Williams  <dcbw@redhat.com>
5274
5275         * system-settings/plugins/ifcfg-fedora/plugin.c
5276                 - (watch_path): handle IN_DELETE_SELF too
5277                 - (handle_connection_changed): notify when removing a connection
5278                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5279                         case of a file moving out of the profile directory
5280
5281 2008-02-12  Dan Williams  <dcbw@redhat.com>
5282
5283         * system-settings/plugins/ifcfg-fedora/parser.c
5284                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5285
5286 2008-02-12  Dan Williams  <dcbw@redhat.com>
5287
5288         * libnm-util/nm-utils.c
5289                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5290                         just any empty array
5291
5292 2008-02-12  Dan Williams  <dcbw@redhat.com>
5293
5294         * system-settings/src/nm-system-config-interface.c
5295           system-settings/src/nm-system-config-interface.h
5296                 - (load_connections): get_connections() should now return an allocated
5297                         GSList that the system settings service will free
5298
5299         * system-settings/plugins/ifcfg-fedora/plugin.c
5300           system-settings/plugins/ifcfg-fedora/parser.h
5301           system-settings/plugins/ifcfg-fedora/parser.c
5302                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5303                         in the profile directory, handle resolv.conf file changes
5304
5305 2008-02-10  Dan Williams  <dcbw@redhat.com>
5306
5307         * src/nm-device-802-3-ethernet.c
5308                 - (real_bring_up): save the supplicant interface state signal id
5309                 - (real_bring_down): disconnect from the supplicant interface state
5310                         signal
5311
5312 2008-02-07  Dan Williams  <dcbw@redhat.com>
5313
5314         * initscript/RedHat/NetworkManager.in
5315           initscript/RedHat/NetworkManagerDispatcher.in
5316                 - Add new-style LSB init headers
5317
5318 2008-02-07  Dan Williams  <dcbw@redhat.com>
5319
5320         * system-settings/src/dbus-settings.c
5321           system-settings/src/dbus-settings.h
5322                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5323                         table of secrets
5324                 - (connection_settings_get_secrets): consolidate error returns into
5325                         one place; use the new get_secrets() plugin interface function to
5326                         get secrets from the plugin itself rather than using GObject data
5327                         magic
5328
5329         * system-settings/src/main.c
5330                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5331                    load_connections): keep a private list of the plugin-returned
5332                         connections, don't use the plugin's GSList
5333
5334         * system-settings/plugins/ifcfg-fedora/plugin.c
5335                 - (watch_path): watch the path, not the filename (duh)
5336                 - (reload_all_connections): use the direct hash/equal functions; the
5337                         ones for int aren't appropriate here
5338                 - (get_secrets, system_config_interface_init): implement the
5339                         get_secrets() function
5340                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5341                         now in the connection's ConnectionData instead of being a GObject
5342                         data property
5343                 - (handle_profile_item_changed): ifcfg file path is now in the
5344                         connection's ConnectionData instead of being a GObject data property;
5345                         be sure to copy secrets over from the new connection to the existing
5346                         connection when updating the connection's settings
5347                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5348                         file descriptor
5349
5350         * system-settings/plugins/ifcfg-fedora/parser.c
5351           system-settings/plugins/ifcfg-fedora/parser.h
5352                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5353                    connection_data_copy_secrets, connection_data_free,
5354                    connection_data_add): new functions; connection data manipulation
5355                 - (make_wireless_security_setting): stuff secrets into the
5356                         connection data, not as GObject data items; make sure to close
5357                         the keys ifcfg file
5358                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5359                         connection data to the connection
5360
5361 2008-02-07  Dan Williams  <dcbw@redhat.com>
5362
5363         * system-settings/src/nm-system-config-interface.c
5364           system-settings/src/nm-system-config-interface.h
5365                 - Add a get_secrets() interface function to retrieve secrets for a
5366                         specific setting of a specific connection.  Document the interface
5367                         a bit more too.
5368
5369 2008-02-07  Dan Williams  <dcbw@redhat.com>
5370
5371         * src/nm-device-802-11-wireless.c
5372                 - (handle_auth_or_fail): new function; consolidate device activation
5373                         failure check after a certain number of failures getting secrets
5374                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5375                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5376                         the connection if secrets were requested more than a few times
5377                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5378                         tries here; otherwise they are cleared before the IP configure
5379                         timeout, which happens with open system WEP when key is wrong
5380                 - (activation_success_handler): clear wireless secrets tries here too
5381
5382 2008-02-07  Dan Williams  <dcbw@redhat.com>
5383
5384         * src/NetworkManagerPolicy.c
5385                 - (connection_updated): clear invalid tag when connection gets updated
5386                         to allow that connection to be tried again
5387                 - (nm_policy_new): save signal ids so they can be disconnected when
5388                         the policy is destroyed
5389                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5390                         and disconnect all signals from the manager object so that none
5391                         of the policy functions gets called after the policy is destroyed
5392
5393 2008-02-06  Dan Williams  <dcbw@redhat.com>
5394
5395         * src/nm-manager.c
5396                 - (finalize): remove devices a bit earlier; clean up system settings
5397                         poke
5398                 - (nm_manager_name_owner_changed): clean up system settings poke when
5399                         the service appears, and try to restart it if it fails
5400                 - (poke_system_settings_daemon_cb): try to get the system settings
5401                         service started through D-Bus service activation
5402                 - (initial_get_connections): start the system settings daemon if it's
5403                         not already running
5404
5405 2008-02-05  Dan Williams  <dcbw@redhat.com>
5406
5407         * src/supplicant-manager/nm-supplicant-config.c
5408                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5409                         broadcast networks too
5410
5411 2008-02-04  Dan Williams  <dcbw@redhat.com>
5412
5413         * system-settings/plugins/ifcfg-fedora/parser.c
5414                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5415                         need key_mgmt set too
5416                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5417                         .bak files; ensure that an error is set whenever NULL gets returned
5418
5419 2008-02-04  Dan Williams  <dcbw@redhat.com>
5420
5421         * system-settings/src/Makefile.am
5422                 - Install D-Bus service activation file for the system settings
5423                         service
5424
5425         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5426                 - D-Bus service activation file for system settings service
5427
5428 2008-02-04  Dan Williams  <dcbw@redhat.com>
5429
5430         * system-settings/src/main.c
5431                 - (parse_config_file): parse a config file
5432                 - (main): accept --config option and read plugins from config file
5433
5434 2008-02-04  Dan Williams  <dcbw@redhat.com>
5435
5436         * system-settings/plugins/ifcfg-fedora/plugin.c
5437                 - Change reported name to 'ifcfg-fedora'
5438                 - Use IFCFG_PLUGIN_NAME
5439
5440         * system-settings/plugins/ifcfg-fedora/plugin.c
5441                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5442
5443 2008-02-04  Dan Williams  <dcbw@redhat.com>
5444
5445         * system-settings/plugins/ifcfg-fedora/parser.c
5446                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5447                 - (make_connection_setting): use get_ifcfg_name()
5448                 - (make_wireless_security_setting): handle shadow key files
5449                 - (get_one_wep_key): treat empty string as NULL
5450
5451 2008-02-04  Dan Williams  <dcbw@redhat.com>
5452
5453         * src/supplicant-manager/nm-supplicant-manager.c
5454                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5455                         glib automatically reschedule
5456                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5457                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5458                         the supplicant
5459
5460 2008-02-01  Dan Williams  <dcbw@redhat.com>
5461
5462         * src/NetworkManagerPolicy.c
5463                 - (device_state_changed): schedule a change check when a device gets
5464                         deactivated so something happens if you disconnect GSM/CDMA
5465
5466 2008-01-31  Dan Williams  <dcbw@redhat.com>
5467
5468         * src/nm-device-802-11-wireless.h
5469           src/nm-device-802-11-wireless.c
5470                 - (ap_list_get_ap_by_ssid, is_associated,
5471                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5472                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5473                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5474                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5475                         function
5476
5477 2008-01-30  Dan Williams  <dcbw@redhat.com>
5478
5479         * system-settings/plugins/ifcfg
5480         * system-settings/plugins/ifcfg-fedora
5481                 - Move the ifcfg plugin to ifcfg-fedora
5482
5483 2008-01-24  Dan Williams  <dcbw@redhat.com>
5484
5485         * libnm-glib/nm-device-802-11-wireless.c
5486                 - (get_access_point): move the "/" check here; check for invalid path
5487                         too
5488                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5489                         to get_access_point()
5490                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5491                         to send signals for non-existent access points
5492
5493 2008-01-24  Dan Williams  <dcbw@redhat.com>
5494
5495         * libnm-glib/nm-device-802-11-wireless.c
5496                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5497
5498 2008-01-23  Dan Williams  <dcbw@redhat.com>
5499
5500         * libnm-glib/libnm_glib.c
5501                 - (libnm_glib_init): make thread joinable
5502                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5503
5504 2008-01-23  Dan Williams  <dcbw@redhat.com>
5505
5506         * test/libnm_glib_test.c
5507                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5508                 - (main): set up signal handlers; call libnm_glib_shutdown
5509
5510 2008-01-21  Dan Williams  <dcbw@redhat.com>
5511
5512         * include/NetworkManager.h
5513                 - Add CDMA mobile broadband card device type
5514
5515         * src/nm-hal-manager.c
5516                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5517                         must now be tagged with 'cdma' or 'gsm' capability
5518
5519         * src/nm-cdma-device.c
5520           src/nm-cdma-device.h
5521           src/Makefile.am
5522                 - Add the CDMA mobile broadband card device class
5523
5524         * libnm-util/nm-connection.c
5525                 - (register_default_settings): add NMSettingCdma
5526
5527         * libnm-util/nm-setting-cdma.c
5528           libnm-util/nm-setting-cdma.h
5529           libnm-util/Makefile.am
5530                 - Add the CDMA mobile broadband card setting class
5531
5532         * libnm-glib/nm-cdma-device.c
5533           libnm-glib/nm-cdma-device.h
5534           libnm-glib/Makefile.am
5535                 - Add the CDMA mobile broadband card GLib proxy class
5536
5537         * libnm-glib/nm-client.c
5538                 - (get_device): handle CDMA devices too
5539
5540 2008-01-21  Dan Williams  <dcbw@redhat.com>
5541
5542         * src/ppp-manager/nm-ppp-manager.c
5543                 - (ip4_config_get): set peer address too
5544
5545         * src/ppp-manager/nm-pppd-plugin.c
5546                 - (nm_ip_up): try harder to get the peer's address
5547
5548         * src/NetworkManagerSystem.c
5549                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5550                         address, use that too.  Otherwise, some PPP connections won't work.
5551
5552 2008-01-19  Dan Williams  <dcbw@redhat.com>
5553
5554         * src/NetworkManagerPolicy.c
5555                 - (nm_policy_device_change_check): system connections override user
5556                         connections; don't activate a user connection if there's a currently
5557                         active system connection, and new, better system connections always
5558                         interrupt user connections
5559
5560 2008-01-19  Dan Williams  <dcbw@redhat.com>
5561
5562         * src/nm-manager.h
5563                 - (nm_manager_get_connection_type): new function
5564
5565 2008-01-19  Dan Williams  <dcbw@redhat.com>
5566
5567         * src/nm-device-802-11-wireless.c
5568                 - (real_get_best_connection): collapse find_best_connection() into this
5569                         function
5570
5571 2008-01-19  Dan Williams  <dcbw@redhat.com>
5572
5573         * src/nm-device-802-3-ethernet.c
5574                 - (real_get_best_connection): collapse find_best_connection() into this
5575                         function
5576
5577 2008-01-18  Dan Williams  <dcbw@redhat.com>
5578
5579         * src/nm-device-802-3-ethernet.c
5580                 - (find_best_connection): check MAC address too
5581                 - (real_get_best_connection): let autoconnect=True connections activate
5582                         for devices that don't have carrier detection
5583
5584         * src/nm-device-802-11-wireless.c
5585                 - (find_best_connection): check MAC address too
5586
5587 2008-01-18  Dan Williams  <dcbw@redhat.com>
5588
5589         * system-settings/plugins/ifcfg/parser.c
5590                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5591
5592 2008-01-17  Dan Williams  <dcbw@redhat.com>
5593
5594         * src/nm-device-802-3-ethernet.c
5595                 - (nm_device_802_3_ethernet_carrier_on,
5596                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5597                         carrier events that might come in for devices that don't support
5598                         carrier detect
5599
5600 2008-01-17  Dan Williams  <dcbw@redhat.com>
5601
5602         * src/nm-device-interface.c
5603                 - (nm_device_interface_check_connection_conflicts): need to actually
5604                         get the interface, not cast to the object
5605
5606         * src/nm-device.c
5607                 - (nm_device_check_connection_conflicts): need to get the device class,
5608                         not cast the device to the device class
5609
5610 2008-01-17  Dan Williams  <dcbw@redhat.com>
5611
5612         * src/nm-device-802-11-wireless.c
5613                 - (real_check_connection_conflicts): ignore connections that aren't
5614                         wireless connections
5615
5616 2008-01-17  Dan Williams  <dcbw@redhat.com>
5617
5618         * src/NetworkManagerPolicy.c
5619                 - (nm_policy_device_change_check): clear change check idle here
5620                 - (device_change_check_done): remove
5621                 - (schedule_change_check): simplify
5622
5623 2008-01-17  Dan Williams  <dcbw@redhat.com>
5624
5625         * src/nm-manager.c
5626                 - (check_connection_allowed): take an NMDeviceInterface instead of
5627                         an NMDevice object as an argument
5628                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5629                         check_connection_allowed()
5630
5631 2008-01-13  Dan Williams  <dcbw@redhat.com>
5632
5633         * libnm-glib/nm-device-802-11-wireless.c
5634                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5635
5636 2008-01-12  Dan Williams  <dcbw@redhat.com>
5637
5638         * src/nm-device-802-11-wireless.c
5639                 - (activation_success_handler): if a match was found in the scan list
5640                         and that match is a hidden AP, update that AP's SSID
5641
5642 2008-01-11  Dan Williams  <dcbw@redhat.com>
5643
5644         * src/NetworkManagerAP.c
5645                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5646
5647         * src/nm-device-802-11-wireless.c
5648                 - (get_active_ap): do two passes over the scan list if the caller
5649                         requests that hidden APs get matched too; during the second pass
5650                         when matching hidden APs, ignore the SSID since hidden APs in the
5651                         scan list don't have an SSID yet
5652                 - (periodic_update): move some checks to
5653                         nm_device_802_11_periodic_update() because not all callers need them
5654                 - (nm_device_802_11_periodic_update): move some checks here from
5655                         perodic_update()
5656                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5657                         matching on incoming scan results, because the fake AP's flags
5658                         might be slightly different (yet still compatible) with the incoming
5659                         scan result's flags and they might actually be the same AP; update
5660                         the rate on merged APs too
5661                 - (activation_success_handler): update the frequency of the fake AP
5662                         on successful connection; match hidden APs too since if the
5663                         current AP is fake, there might already be a scan result in the
5664                         scan list for the desired AP, just without it's SSID filled in yet
5665
5666 2008-01-10  Dan Williams  <dcbw@redhat.com>
5667
5668         * src/NetworkManagerAP.c
5669                 - (foreach_property_cb): catch more hidden SSID formats
5670
5671 2008-01-10  Dan Williams  <dcbw@redhat.com>
5672
5673         Fix gnome.org #464215.  Requires the kernel patch titled
5674         "Introduce WEXT scan capabilities" but will handle the patch not being
5675         present, you'll just continue to have problems with hidden SSIDs when
5676         using mac80211-based drivers.
5677
5678         * src/supplicant-manager/nm-supplicant-config.h
5679           src/supplicant-manager/nm-supplicant-config.c
5680                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5681                         whether the driver supports SSID scans or not.  If it does, and if
5682                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5683
5684         * src/nm-device-802-11-wireless.c
5685                 - (constructor): check whether or not the driver supports SSID scans
5686                 - (build_supplicant_config): pass driver SSID scan capability when
5687                         building the wireless bits of the supplicant config
5688
5689 2008-01-09  Dan Williams  <dcbw@redhat.com>
5690
5691         * src/nm-device.c
5692           src/nm-device.h
5693                 - (device_activation_precheck, check_connection_complete): remove this
5694                         virtual function; incomplete connections should be invalid by
5695                         definition, complete-ness should be checked in the setting's
5696                         verify function
5697
5698         * src/nm-serial-device.c
5699           src/nm-gsm-device.c
5700                 - (real_check_connection_complete): remove
5701
5702         * libnm-util/nm-setting-serial.c
5703                 - (verify): new function; ensure there is a PPP setting too
5704
5705         * libnm-util/nm-setting-gsm.c
5706                 - (verify): ensure there is a serial setting too
5707
5708 2008-01-06  Dan Williams  <dcbw@redhat.com>
5709
5710         * src/dhcp-manager/nm-dhcp-manager.c
5711                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5712                         (gnome.org #332953)
5713
5714 2008-01-04  Dan Williams  <dcbw@redhat.com>
5715
5716         * src/named-manager/nm-named-manager.c
5717                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5718                         nameservers if the secondary config doesn't have any
5719                         (gnome.org #346833)
5720
5721 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5722
5723         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5724         with G_PARAM_CONSTRUCT so that they get the default values.
5725
5726         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5727         the monitoring device and prints out the output for now. Or more precicely, doesn't
5728         do absolutely anything right now since the montoring device argument is never set.
5729
5730         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5731         requires it's own knob to turn it on.
5732         (config_fd): Add NMSettingSerial to the arguments list.
5733         (nm_serial_device_open): Ditto.
5734         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5735         (nm_serial_device_get_io_channel): Implement.
5736
5737         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5738         a new reference every time (and forgetting to release it sometimes) is a pain and
5739         it's not like NMManager could work without dbus.
5740         (nm_manager_add_device): Register the added device on dbus here.
5741
5742         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5743         device.
5744
5745         * src/nm-device.c (constructor): Don't export the device here, instead export
5746         it when it's added to the NMManager's device list.
5747
5748 2007-12-31  Dan Williams  <dcbw@redhat.com>
5749
5750         * src/nm-device-interface.c
5751           src/nm-device-interface.h
5752                 - (nm_device_interface_check_connection_conflicts): new function
5753
5754         * src/nm-device.c
5755           src/nm-device.h
5756                 - (nm_device_check_connection_conflicts): new function
5757                 - (device_activation_precheck): don't require subclasses to implement
5758                         check_connection_complete()
5759                 - check_connection() -> check_connection_complete()
5760
5761         * src/nm-device-802-11-wireless.c
5762                 - (real_check_connection): remove; unused
5763                 - (real_check_connection_conflicts): implement, handle lockdown for
5764                         system connections
5765
5766         * src/nm-device-802-3-ethernet.c
5767                 - (real_check_connection): remove; unused
5768
5769         * src/nm-manager.c
5770                 - (check_connection_allowed): new function
5771                 - (nm_manager_activate_device): ensure the connection being requested
5772                         is allowed to be activated
5773
5774         * src/nm-serial-device.c
5775           src/nm-gsm-device.c
5776                 - real_check_connection() -> real_check_connection_complete()
5777
5778 2007-12-27  Dan Williams  <dcbw@redhat.com>
5779
5780         * src/nm-device-interface.c
5781           src/nm-device-interface.h
5782                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5783                         normalize and expand errors
5784                 - (nm_device_interface_init): register errors so they can be marshalled
5785                         through dbus-glib
5786                 - (nm_device_interface_activate): ensure that failure of activation
5787                         returns an error
5788
5789         * src/nm-device.c
5790           src/nm-device.h
5791                 - (device_activation_precheck): implementations of check_connection()
5792                         now take a GError and must fill it in if the check fails.  Return
5793                         more descriptive error if the requested connection is already
5794                         activating
5795                 - (nm_device_activate): actually try to return descriptive errors on
5796                         failures
5797
5798         * src/nm-device-802-11-wireless.c
5799           src/nm-device-802-3-ethernet.c
5800           src/nm-serial-device.c
5801           src/nm-gsm-device.c
5802                 - (real_check_connection): return more descriptive errors on failure
5803
5804         * src/NetworkManagerPolicy.c
5805                 - (nm_policy_device_change_check): print activation errors in the logs
5806
5807         * src/nm-manager.c
5808                 - (nm_manager_error_quark, nm_manager_error_get_type,
5809                    nm_manager_class_init): new errors
5810                 - (nm_manager_activate_device): handle errors
5811                 - (nm_manager_error_new): removed
5812                 - (wait_for_connection_expired, connection_added_default_handler,
5813                    impl_manager_activate_device): better error handling
5814
5815 2007-12-27  Dan Williams  <dcbw@redhat.com>
5816
5817         Fixes gnome.org #466954
5818
5819         * src/supplicant-manager/nm-supplicant-settings-verify.c
5820                 - Allow 'frequency' network property
5821
5822         * src/supplicant-manager/nm-supplicant-config.c
5823           src/supplicant-manager/nm-supplicant-config.h
5824                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5825                         for callers to specify the frequency an Ad-Hoc network should operate
5826                         on.  Some drivers require this to successfully create an Ad-Hoc
5827                         network.
5828
5829         * src/nm-device-802-11-wireless.c
5830                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5831                         guint32 value in MHz
5832                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5833                         iw_freq_to_uint32()
5834                 - (find_supported_frequency): new function; find a free supported
5835                         frequency for a user-created Ad-Hoc network
5836                 - (build_supplicant_config): if no frequency was specified for a user-
5837                         created Ad-Hoc network, find a free one to use
5838                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5839                         a specific object as user-created
5840
5841 2007-12-27  Dan Williams  <dcbw@redhat.com>
5842
5843         * libnm-util/nm-utils.c
5844           libnm-util/nm-utils.h
5845                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5846                         for adhoc networks
5847
5848 2007-12-24  Dan Williams  <dcbw@redhat.com>
5849
5850         * libnm-util/nm-setting-wireless.c
5851                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5852                         185, 187, 188, 192, and 196
5853
5854 2007-12-24  Dan Williams  <dcbw@redhat.com>
5855
5856         * src/nm-device-802-11-wireless.c
5857                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5858                         a channel # instead of a frequency
5859
5860 2007-12-24  Dan Williams  <dcbw@redhat.com>
5861
5862         * src/NetworkManagerAP.c
5863           src/NetworkManagerAP.h
5864                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5865                 - (freq_to_channel): handle split band tables
5866                 - (channel_to_freq): handle split band tables, take a band argument
5867
5868 2007-12-24  Dan Williams  <dcbw@redhat.com>
5869
5870         * libnm-util/nm-setting-connection.h
5871           libnm-util/nm-setting-connection.c
5872                 - Add 'lockdown' member
5873
5874 2007-12-22  Dan Williams  <dcbw@redhat.com>
5875
5876         * libnm-util/nm-setting-wireless.c
5877                 - (nm_setting_wireless_class_init): add missing 'rate' property
5878                         specification
5879
5880 2007-12-18  Dan Williams  <dcbw@redhat.com>
5881
5882         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5883
5884         * src/nm-netlink-monitor.c
5885           src/nm-netlink-monitor.h
5886                 - Remove handrolled netlink, use libnl instead
5887
5888         * src/nm-device-802-3-ethernet.c
5889                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5890                    nm_device_802_3_ethernet_carrier_on): use new names
5891
5892 2007-12-17  Dan Williams  <dcbw@redhat.com>
5893
5894         * configure.in
5895                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5896                         and fixes memory leaks)
5897
5898         * src/nm-netlink.c
5899                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5900                         automatically handle the netlink PID
5901
5902 2007-12-17  Dan Williams  <dcbw@redhat.com>
5903
5904         Patch from Michael Biebl <biebl@debian.org>
5905
5906         * configure.in
5907           src/ppp-manager/Makefile.am
5908                 - fix up install dir of pppd plugin
5909                 - clean up configure.in a bit
5910
5911 2007-12-12  Dan Williams  <dcbw@redhat.com>
5912
5913         * system-settings/src/nm-system-settings.conf
5914                 - Allow non-root clients (like the applet) to read settings
5915
5916 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5917
5918         * Replace all occurences of 'UMTS' with 'GSM'.
5919
5920 2007-12-07  Dan Williams  <dcbw@redhat.com>
5921
5922         * src/nm-serial-device.c
5923                 - (real_is_up): serial devices are always "up"
5924
5925 2007-12-07  Dan Williams  <dcbw@redhat.com>
5926
5927         * src/nm-netlink.c
5928           src/NetworkManagerSystem.c
5929                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5930                         twice (gnome.org #491047)
5931                 - Make more robust against allocation-related failures should they occur
5932
5933 2007-12-07  Dan Williams  <dcbw@redhat.com>
5934
5935         Noticed by Christian Persch <chpe@gnome.org>
5936
5937         Always chain up to parent object in dispose and finalize handlers.
5938                 (gnome.org #433112)
5939
5940 2007-12-07  Dan Williams  <dcbw@redhat.com>
5941
5942         * src/nm-device-802-11-wireless.c
5943                 - Wrap #include of linux/mii.h to fix redefined structures due to
5944                         incorrect kernel headers (gnome.org #350061)
5945
5946 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5947
5948         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5949         before doing anything else.
5950         (init_modem): Move modem initialization here.
5951
5952         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5953         (nm_serial_device_flash): Implement.
5954
5955         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5956         changes signal is "StateChanged" and not "Status".
5957         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5958
5959 2007-12-06  Dan Williams  <dcbw@redhat.com>
5960
5961         * src/supplicant-manager/nm-supplicant-config.c
5962                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5963                         to only send some options when they make sense; also send phase2
5964                         option to the supplicant (possible fix for rh #399631)
5965
5966 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5967
5968         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5969         arguments: This whole file shouldn't really know anything about NMDevices, it
5970         should deal only with device interfaces. Devices might have different ifaces for
5971         different stuff and this place shouldn't know anything about it.
5972
5973         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5974         (global_state_changed): Implement. In the current NM it's not really important,
5975         but will be required in the case of multiple active devices. (Or even better,
5976         if stuff like that gets moved out from NM).
5977
5978         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5979         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
5980         instead.
5981
5982         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5983         devices like serial devices (ttyS0 and ppp0 for example).
5984         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5985         set.
5986         (nm_device_set_ip_iface): Implement.
5987         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5988         after setting ip4_config from here ...
5989         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5990         than this function should call nm_system_device_set_from_ip4_config() because no
5991         other code has enough information on which arguments to use. So instead, other code
5992         could just set the new ip4 config using this function and everyone is happy.
5993
5994         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5995         if we happen to get deactivated while something is pending.
5996         (automatic_registration): Handle the response that indicates pending network
5997         registration and wait until the pending registration is done.
5998         (real_deactivate_quickly): If there's a pending operation, cancel it.
5999
6000         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6001         (real_deactivate_quickly): ... and remove it when it's down.
6002         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6003         it if needed.
6004         (nm_serial_device_wait_for_reply): Ditto.
6005
6006 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6007
6008         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6009         (get_network_done): Remove newline, nm_info() does it already.
6010         (real_act_stage1_prepare): Turn the modem echo off.
6011
6012         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6013         device, set the route to the device interface. This is a hack.
6014
6015         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6016         return, no need for a new-line.
6017         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6018         Change the device iface here (ugh).
6019         (real_act_stage4_get_ip4_config): Implement.
6020         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6021         Restore the device iface.
6022
6023         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6024         device is not wired or wireless (eg, automatically upped) device.
6025
6026         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6027         it isn't.
6028         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6029
6030         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6031         before calling it's is_device_fn().
6032
6033 2007-12-05  Dan Williams  <dcbw@redhat.com>
6034
6035         * libnm-util/nm-utils.c
6036                 - (nm_utils_register_value_transformations,
6037                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6038                         GHashTables of GValues too
6039
6040 2007-12-04  Dan Williams  <dcbw@redhat.com>
6041
6042         * initscript/RedHat/NetworkManager.in
6043                 - No longer start named; it's D-Bus interface is going away
6044
6045 2007-12-04  Dan Williams  <dcbw@redhat.com>
6046
6047         Patch from Michael Biebl <biebl@debian.org>
6048
6049         * system-settings/plugins/ifcfg/Makefile.am
6050           system-settings/src/main.c
6051           system-settings/src/Makefile.am
6052                 - Put system settings plugins in NM plugins dir
6053
6054         * src/ppp-manager/Makefile.am
6055           src/ppp-manager/nm-ppp-manager.c
6056                 - Move pppd plugin to NM plugins dir
6057
6058 2007-12-04  Dan Williams  <dcbw@redhat.com>
6059
6060         * libnm-util/nm-setting-vpn-properties.h
6061                 - Clarify usage of the 'data' member of the setting
6062
6063         * libnm-util/nm-setting-vpn-properties.c
6064                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6065                 - (set_property): just remove all the settings; don't recreate the has
6066                 - (update_one_secret): don't need to create the hash table here since
6067                         it should always be present
6068
6069 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6070
6071         Implement PIN and PUK requesting.
6072
6073         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6074         (enter_pin): Handle PIN and PUK requests.
6075         (real_act_stage1_prepare): Clear the secret type.
6076         (real_connection_secrets_updated): Implement this class method to get
6077         notified when new secrets arrive.
6078         (nm_umts_device_class_init): Add private data back to the umts device class
6079         to store the required secret type.
6080
6081 2007-12-01  Dan Williams  <dcbw@redhat.com>
6082
6083         * system-settings/plugins/ifcfg/parser.c
6084                 - (parser_parse_file): don't try to verify NULL connections
6085
6086 2007-12-01  Dan Williams  <dcbw@redhat.com>
6087
6088         * system-settings/src/main.c
6089                 - (load_connections, add_connection_to_settings): actually export
6090                         plugin-provided connections over D-Bus so NM can get them
6091
6092 2007-12-01  Dan Williams  <dcbw@redhat.com>
6093
6094         * system-settings/plugins/ifcfg/parser.c
6095           system-settings/plugins/ifcfg/parser.h
6096           system-settings/plugins/ifcfg/plugin.c
6097                 - Hook up more inotify bits (untested)
6098
6099 2007-11-29  Dan Williams  <dcbw@redhat.com>
6100
6101         * system-settings/src/nm-system-config-interface.h
6102           system-settings/src/nm-system-config-interface.c
6103                 - (nm_system_config_interface_init,
6104                    nm_system_config_interface_get_connections): add
6105
6106         * system-settings/src/main.c
6107                 - (load_plugins, load_connections, main): use a GSList for plugins
6108                         to ensure priority ordering
6109
6110         * system-settings/plugins/ifcfg/parser.c
6111                 - (ifcfg_error_quark): move to plugin.c, and rename
6112
6113         * system-settings/plugins/ifcfg/plugin.h
6114           system-settings/plugins/ifcfg/plugin.c
6115                 - (ifcfg_plugin_error_quark): move here from parser.c
6116                 - rework connection loading and initialization
6117                 - Add preliminary inotify support for network profile config file
6118
6119 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6120
6121         Merge the beginnings of the new GSM card support.
6122
6123         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6124         ppp watch source before killing pppd - If this happens from g_object_unref()
6125         then the ppp manager is already destroyed by the time the watch callback runs.
6126
6127         * src/nm-hal-manager.c: Add a device_type_name string to the device
6128         creators, so that we can print a nice human readable string when a
6129         device is added.
6130
6131         * src/nm-umts-device.c (automatic_registration_get_network): Query
6132         for the activated network, not much is done with the result thought.
6133
6134         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6135         (ppp_ip4_config): Change the device state to activated here for now.
6136         (real_check_connection): Make sure the connection includes ppp setting.
6137
6138         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6139
6140         * libnm-glib/Makefile.am: Add the new files to build.
6141
6142         * libnm-glib/nm-umts-device.c: 
6143         * libnm-glib/nm-umts-device.h: Implement.
6144
6145 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6146
6147         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6148         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6149
6150         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6151         the timeout source - this function is only called when the timeout source has
6152         been removed.
6153         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6154         to be big enough to contain the terminating zero element as well.
6155         The timeout argument is meant to be in seconds now.
6156         (real_deactivate_quickly): Implement.
6157
6158         * src/NetworkManager.conf: Allow root to own 
6159         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6160
6161         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6162         (not unsigned ints).
6163
6164         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6165         small issue with parity bounds - capital letters have lower ascii codes
6166         than lower case letters.
6167
6168         * libnm-util/nm-connection.c (register_default_settings): Register serial
6169         and umts settings.
6170
6171 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6172
6173         Remove the "index" property from devices as not all device types have this.
6174
6175         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6176
6177         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6178         (wired_device_creator): Get the device interface from hal to create the device.
6179         (wireless_device_creator): Ditto.
6180
6181         * src/nm-device.c (nm_device_init): Remove the index member.
6182         (constructor): Remove the checks for index property, make interface property
6183         a require constructor property.
6184         Use the HAL udi for DBus path for devices.
6185         (nm_device_get_index): Remove.
6186         (set_property): Remove index handling.
6187         (get_property): Ditto.
6188         (nm_device_get_dbus_path): Remove.
6189
6190         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6191         property.
6192
6193         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6194         Access the device index through it's interface.
6195         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6196         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6197         index argument. Add interface argument.
6198
6199         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6200         the useless test_dev argument. Remove index argument. Add interface arugment.
6201
6202         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6203         device index through interface.
6204         (nm_system_set_mtu): Ditto.
6205
6206         * introspection/nm-device.xml: Remove the "Index" property.
6207
6208 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6209
6210         * src/nm-serial-device.c: 
6211         * src/nm-serial-device.c: 
6212         * src/nm-umts-device.c:
6213         * src/nm-umts-device.h: Implement.
6214
6215         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6216         allocated by libhal.
6217         (modem_device_creator): Implement.
6218         (register_built_in_creators): Register the modem creator.
6219
6220         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6221         Remove the unused test_dev argument.
6222
6223         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6224
6225         * src/Makefile.am: Add new files to build.
6226         Link in ppp-manager.
6227
6228         * libnm-util/nm-setting-umts.c: 
6229         * libnm-util/nm-setting-umts.h: 
6230         * libnm-util/nm-setting-serial.c: 
6231         * libnm-util/nm-setting-serial.h: Implement.
6232
6233         * libnm-util/Makefile.am: Add new files to build.
6234
6235 2007-11-28  Dan Williams  <dcbw@redhat.com>
6236
6237         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6238
6239         Support DHCP-provided static routes.
6240
6241         * src/nm-ip4-config.h
6242           src/nm-ip4-config.c
6243                 - Add get/set functions for static routes
6244
6245         * src/dhcp-manager/nm-dhcp-manager.c
6246                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6247                         DHCP response
6248
6249         * src/NetworkManagerSystem.c
6250                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6251                         interface when applying the IP4Config
6252
6253 2007-11-28  Dan Williams  <dcbw@redhat.com>
6254
6255         * src/nm-device-802-11-wireless.c
6256                 - (real_act_stage1_prepare): mark APs created for hidden networks
6257                         as non-broadcasting
6258
6259 2007-11-27  Dan Williams  <dcbw@redhat.com>
6260
6261         * system-settings/src/nm-system-config-interface.h
6262                 - Note how to store secrets on NMSetting objects
6263
6264         * system-settings/src/dbus-settings.c
6265                 - (connection_settings_get_secrets): implement
6266
6267 2007-11-27  Dan Williams  <dcbw@redhat.com>
6268
6269         * system-settings/plugins/ifcfg/Makefile.am
6270           system-settings/plugins/ifcfg/parser.c
6271           system-settings/plugins/ifcfg/parser.h
6272           system-settings/plugins/ifcfg/plugin.c
6273                 - Parse wireless connections too
6274
6275         * system-settings/src/dbus-settings.c
6276           system-settings/src/dbus-settings.h
6277           system-settings/src/main.c
6278                 - Handle connection update/removal if the plugin supports it
6279
6280 2007-11-27  Dan Williams  <dcbw@redhat.com>
6281
6282         * src/nm-dbus-manager.h
6283           src/nm-hal-manager.c
6284                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6285                         do it for them
6286
6287         * src/Makefile.am
6288           src/NetworkManagerDbusUtils.c
6289           src/NetworkManagerDbusUtils.h
6290                 - Remove these two source files; they are unused
6291
6292 2007-11-27  Dan Williams  <dcbw@redhat.com>
6293
6294         * src/vpn-manager/nm-vpn-manager.c
6295                 - (impl_vpn_manager_connect): fix system settings check (found by
6296                         James M. Leddy)
6297
6298 2007-11-26  Dan Williams  <dcbw@redhat.com>
6299
6300         * Fix warnings so everything compiles with --enable-more-warnings
6301
6302 2007-11-25  Dan Williams  <dcbw@redhat.com>
6303
6304         * system-settings/*
6305                 - Rework structure and code to use GModule-loaded plugins and a plugin
6306                         interface that plugins export to the system settings service
6307
6308 2007-11-21  Dan Williams  <dcbw@redhat.com>
6309
6310         * system-settings/*
6311                 - Add Soren's system settings service.  Needs work for distros other
6312                         than Fedora; the backends from NM should mostly migrate to here
6313                         and be converted to GObjects
6314
6315 2007-11-21  Dan Williams  <dcbw@redhat.com>
6316
6317         * libnm-util/nm-setting-vpn-properties.c
6318                 - (set_property): must deep-copy the given settings hash, otherwise
6319                         double-free errors occur when the setting is disposed of
6320
6321 2007-11-21  Dan Williams  <dcbw@redhat.com>
6322
6323         * src/vpn-manager/nm-vpn-act-request.h
6324           src/vpn-manager/nm-vpn-act-request.c
6325                 - Remove; unused
6326
6327 2007-11-20  Dan Williams  <dcbw@redhat.com>
6328
6329         * libnm-util/nm-utils.c
6330                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6331                    nm_utils_convert_ip4_addr_struct_array_to_string,
6332                    nm_utils_register_value_transformations): print out the readable
6333                         values of more types of properties of NMSettings subclasses
6334
6335 2007-11-20  Dan Williams  <dcbw@redhat.com>
6336
6337         * libnm-util/nm-setting-ip4-config.c
6338                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6339                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6340                         marshal GValueArrays inside collections, so switch to types that it
6341                         can actually marshal/demarshal
6342
6343 2007-11-16  Dan Williams  <dcbw@redhat.com>
6344
6345         * libnm-util/nm-setting-wireless-security.c
6346                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6347                         minimal verification of EAP methods too
6348                 - (verify): verify phase1 eap methods too
6349
6350 2007-11-15  Dan Williams  <dcbw@redhat.com>
6351
6352         * libnm-glib/nm-device.h
6353           libnm-glib/nm-device.c
6354                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6355                         const char *
6356
6357 2007-11-15  Dan Williams  <dcbw@redhat.com>
6358
6359         * libnm-glib/nm-device.c
6360                 - (get_product_and_vendor): don't try to free things that should be
6361                         freed
6362
6363 2007-11-15  Dan Williams  <dcbw@redhat.com>
6364
6365         * src/NetworkManagerUtils.c
6366                 - (nm_ethernet_address_is_valid): unbreak previous fix
6367
6368 2007-11-15  Dan Williams  <dcbw@redhat.com>
6369
6370         * src/supplicant-manager/nm-supplicant-config.c
6371                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6372                         options
6373
6374 2007-11-15  Dan Williams  <dcbw@redhat.com>
6375
6376         * src/NetworkManagerUtils.c
6377                 - (nm_ethernet_address_is_valid): fix style, clarify
6378                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6379
6380         * src/nm-device-802-11-wireless.c
6381                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6382                 - (nm_device_802_11_wireless_get_ssid,
6383                    nm_device_802_11_wireless_get_bssid,
6384                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6385                         before calling the ioctl; fixes valgrind-reported jump depends on
6386                         uninitialized value errors
6387
6388 2007-11-15  Dan Williams  <dcbw@redhat.com>
6389
6390         * libnm-util/nm-setting.c
6391                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6392                         unecessary to serialize 'name'
6393
6394         * src/nm-activation-request.c
6395                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6396                         the GetSecrets call
6397
6398 2007-11-15  Dan Williams  <dcbw@redhat.com>
6399
6400         * libnm-util/nm-setting-connection.h
6401           libnm-util/nm-setting-connection.c
6402                 - Rename the 'name' property to 'id', because it conflicted with the
6403                         NMSetting superclass' 'name' property.
6404
6405         * libnm-util/nm-setting.c
6406                 - (nm_setting_to_hash): serialize the 'name' property
6407                 - (one_property_cb): ignore 'name' on deserialization of a connection
6408
6409         * src/nm-device-802-11-wireless.c
6410           src/vpn-manager/nm-vpn-connection.c
6411           src/NetworkManagerPolicy.c
6412                 - Fix up for NMSettingConnection 'name'->'id' changes
6413
6414 2007-11-13  Dan Williams  <dcbw@redhat.com>
6415
6416         * libnm-glib/nm-device-802-11-wireless.h
6417           libnm-glib/nm-device-802-11-wireless.c
6418                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6419
6420         * test/nm-tool.c
6421           libnm-glib/libnm-glib-test.c
6422                 - Fixes for above change
6423
6424 2007-11-12  Dan Williams  <dcbw@redhat.com>
6425
6426         * src/supplicant-manager/nm-supplicant-settings-verify.c
6427                 - Allow fragment_size option
6428
6429         * src/supplicant-manager/nm-supplicant-settings-verify.c
6430                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6431                         EAP fragment size than the default to help some TLS connections
6432
6433 2007-11-12  Dan Williams  <dcbw@redhat.com>
6434
6435         Make certs actually work.  The private key is now a secret, and should be
6436         decrypted when requested by NM.  The private key and phase2 private key
6437         passwords are no longer interesting to NM because they should be used by
6438         the settings service to decrypt the private key itself before passing it
6439         to NM, and hence have been removed as fields.
6440
6441         * libnm-util/nm-setting-wireless-security.h
6442           libnm-util/nm-setting-wireless-security.c
6443                 - Remove private-key-passwd and phase2-private-key-passwd from
6444                         properties
6445                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6446                    need_secrets): use property #defines instead strings to keep things
6447                         consistent
6448                 - (need_secrets_tls): if a client certificate is present but no
6449                         private key, request the private key
6450                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6451                         remove private key password stuff, mark private keys as secret
6452
6453         * src/supplicant-manager/nm-supplicant-settings-verify.c
6454                 - Remove private_key_passwd and private_key2_passwd from opt_table
6455
6456 2007-11-09  Dan Williams  <dcbw@redhat.com>
6457
6458         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6459         Since the vpn-properties are managed and known by the VPN daemons themselves,
6460         libnm-util doesn't know what's secret and what's in the setting's 'data'
6461         member.
6462
6463         * libnm-util/nm-setting.h
6464           libnm-util/nm-setting.c
6465                 - Add the ability for subclasses to override update_one_secret
6466
6467         * libnm-util/nm-setting-vpn-properties.c
6468                 - Override update_one_secret and just copy the values into the
6469                         internal table
6470
6471 2007-11-09  Dan Williams  <dcbw@redhat.com>
6472
6473         * libnm-glib/nm-settings.h
6474           libnm-glib/nm-settings.c
6475                 - (nm_settings_new_error): remove
6476                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6477                         clients should use g_set_error() with NM_SETTINGS_ERROR
6478
6479 2007-11-09  Dan Williams  <dcbw@redhat.com>
6480
6481         * src/supplicant-manager/nm-supplicant-config.c
6482                 - (nm_supplicant_config_add_setting_wireless_security): private key
6483                         passwords are never sent to wpa_supplicant, because the supplicant
6484                         should never be reading random files from the disk.  Clients like
6485                         the applet are required to decrypt the private keys and send NM
6486                         the decrypted blobs.
6487
6488 2007-11-08  Dan Williams  <dcbw@redhat.com>
6489
6490         * libnm-util/nm-setting-wireless-security.h
6491           libnm-util/nm-setting-wireless-security.c
6492                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6493                         members to 802-11-wireless-security structure.  This should be used
6494                         to indicate that the values in private-key and phase2-private-key
6495                         are already decrypted by the user agent, and that no
6496                         private-key-passwd or phase2-private-key-passwd should be expected.
6497                         It is not meant to be a stored configuration value, but meant to
6498                         be set when the conneciton is sent to NM over dbus.
6499
6500 2007-11-08  Dan Williams  <dcbw@redhat.com>
6501
6502         * libnm-util/nm-connection.h
6503           libnm-util/nm-connection.c
6504                 - (nm_connection_need_secrets): add argument to return hints
6505
6506         * src/nm-device-802-11-wireless.c
6507                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6508                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6509                         nm_connection_need_secrets() change
6510
6511 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6512
6513         Rework NMSetting structures: Move each setting to it's own file.
6514         Convert to GObject. Remove home grown setting types and use GTypes.
6515         Use GObject property introspection for hash conversion, enumerating
6516         properties, etc.
6517
6518         * libnm-util/nm-setting-connection.[ch]
6519         * libnm-util/nm-setting-ip4-config.[ch]
6520         * libnm-util/nm-setting-ppp.[ch]
6521         * libnm-util/nm-setting-vpn.[ch]
6522         * libnm-util/nm-setting-vpn-properties.[ch]
6523         * libnm-util/nm-setting-wired.[ch]
6524         * libnm-util/nm-setting-wireless.[ch]
6525         * libnm-util/nm-setting-wireless-security.[ch]
6526
6527         New files, each containing a setting.
6528
6529         * libnm-util/nm-setting-template.[ch]: A template for creating new
6530         settings. To use it, just replace 'template' with the new setting
6531         name, and you're half-way done.
6532
6533         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6534         introspection instead of internal types and tables.
6535
6536         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6537
6538         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6539         GValue types defined by dbus-glib for composed types like collections,
6540         structures and maps.
6541
6542         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6543         a setting from connection takes the setting type now. Also, since
6544         the settings are in multiple files, include relevant settings.
6545
6546 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6547
6548         * configure.in:
6549         * src/backends/NetworkManagerGentoo.c:
6550         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6551         providers in Gentoo.
6552
6553 2007-10-31  Dan Williams  <dcbw@redhat.com>
6554
6555         * libnm-util/nm-connection.c
6556                 - (gvalue_to_string): handle UINT32 arrays
6557
6558 2007-10-31  Dan Williams  <dcbw@redhat.com>
6559
6560         * libnm-glib/nm-device.h
6561           libnm-glib/nm-device.c
6562                 - (nm_device_get_description): remove
6563                 - (nm_device_get_product, nm_device_get_vendor): add
6564                 - (nm_device_update_description): new function (private); walk HAL
6565                         devices to get product and vendor IDs for a specific device
6566
6567 2007-10-31  Dan Williams  <dcbw@redhat.com>
6568
6569         * src/nm-device-802-11-wireless.c
6570                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6571
6572 2007-10-29  Dan Williams  <dcbw@redhat.com>
6573
6574         * src/nm-hal-manager.c
6575                 - (device_added, device_new_capability): ignore device additions while
6576                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6577                         kernel module is unloaded and reloaded and recognized by NM again.
6578
6579 2007-10-26  Dan Williams  <dcbw@redhat.com>
6580
6581         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6582
6583         * src/NetworkManagerAP.c
6584           src/NetworkManagerAP.h
6585           libnm-glib/nm-access-point.c
6586           libnm-glib/nm-access-point.h
6587                 - Make 'rate' property a guint32 to better match with WEXT and
6588                         wpa_supplicant and to allow representation of higher bitrates
6589
6590         * src/nm-device-802-11-wireless.c
6591           introspection/nm-device-802-11-wireless.xml
6592           libnm-glib/nm-device-802-11-wireless.c
6593           libnm-glib/nm-device-802-11-wireless.h
6594                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6595
6596         * src/nm-device-802-3-ethernet.c
6597           src/nm-device-802-3-ethernet.h
6598           introspection/nm-device-802-3-ethernet.xml
6599           libnm-glib/nm-device-802-3-ethernet.c
6600           libnm-glib/nm-device-802-3-ethernet.h
6601                 - Make 'speed' property a guint32 to match other speed/rate types
6602                 - Make nm_device_802_3_ethernet_get_speed() static
6603
6604         * test/nm-tool.c
6605                 - Update for the changes above
6606
6607 2007-10-26  Dan Williams  <dcbw@redhat.com>
6608
6609         * src/named-manager/nm-named-manager.c
6610                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6611                     not calling fclose() twice on some error conditions
6612
6613 2007-10-26  Dan Williams  <dcbw@redhat.com>
6614
6615         * src/nm-activation-request.c
6616                 - (dispose): clean up indentation; get the right DBusGProxy object to
6617                         cancel the GetSecrets pending call on.  Need to use the Secrets
6618                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6619                         pending call doesn't get canceled, and pressing Cancel in the
6620                         applet's password dialog could cause get_secrets_cb() to be called
6621                         after the activation request has already been destroyed
6622
6623 2007-10-24  Dan Williams  <dcbw@redhat.com>
6624
6625         * src/supplicant-manager/nm-supplicant-config.c
6626                 - (nm_supplicant_config_add_blob): pass blob data and length for
6627                         verification
6628                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6629
6630 2007-10-24  Dan Williams  <dcbw@redhat.com>
6631
6632         * src/supplicant-manager/nm-supplicant-settings-verify.c
6633                 - (opt_table): max length for certificates should be 65536
6634
6635 2007-10-24  Dan Williams  <dcbw@redhat.com>
6636
6637         * src/supplicant-manager/nm-supplicant-interface.c
6638                 - (blob_free): correctly free blob data after use
6639                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6640
6641 2007-10-24  Dan Williams  <dcbw@redhat.com>
6642
6643         * libnm-util/nm-setting.c
6644                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6645                         EAP method need secrets
6646
6647 2007-10-24  Dan Williams  <dcbw@redhat.com>
6648
6649         * src/backends/NetworkManagerRedHat.c
6650                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6651
6652 2007-10-23  Dan Williams  <dcbw@redhat.com>
6653
6654         * libnm-util/nm-setting.c
6655           libnm-util/nm-setting.c
6656                 - (nm_setting_compare): implement
6657                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6658                    compare_one_hash_gvalue): compare the contents of a setting
6659
6660         * libnm-util/nm-connection.c
6661                 - (nm_connection_compare): implement
6662
6663 2007-10-23  Dan Williams  <dcbw@redhat.com>
6664
6665         * src/nm-activation-request.c
6666                 - (get_secrets_cb): handle getting a setting back that is more than
6667                         just secrets (ie, user changed auth or EAP method or something)
6668
6669 2007-10-23  Dan Williams  <dcbw@redhat.com>
6670
6671         * libnm-util/nm-setting.c
6672           libnm-util/nm-setting.h
6673                 - (nm_setting_verify): new function; verify one setting
6674                 - (nm_settings_verify_all): rename from nm_settings_verify()
6675                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6676                         all_settings
6677
6678         * libnm-util/nm-connection.c
6679                 - (nm_connection_replace_settings, nm_connection_verify,
6680                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6681
6682 2007-10-23  Dan Williams  <dcbw@redhat.com>
6683
6684         * src/nm-device-802-11-wireless.c
6685                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6686                         desired behavior
6687
6688 2007-10-23  Dan Williams  <dcbw@redhat.com>
6689
6690         * src/supplicant-manager/nm-supplicant-settings-verify.c
6691                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6692                         nm-settings.c
6693
6694 2007-10-23  Dan Williams  <dcbw@redhat.com>
6695
6696         * src/nm-device-802-11-wireless.c
6697                 - (real_act_stage2_config): after the first association failure,
6698                         if the connection still needs secrets ask the user for them
6699                         explicitly.  After the fourth association failure due to bad
6700                         secrets, fail the connection entirely.  Handles the GetSecrets
6701                         loop that NM gets into when the provided secrets don't match up
6702                         with the connection details.
6703
6704 2007-10-23  Dan Williams  <dcbw@redhat.com>
6705
6706         * src/supplicant-manager/nm-supplicant-config.c
6707                 - (nm_supplicant_config_add_setting_wireless_security): only add
6708                         WPA-specific options when WPA is in use
6709
6710 2007-10-23  Dan Williams  <dcbw@redhat.com>
6711
6712         * src/supplicant-manager/nm-supplicant-config.c
6713                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6714                         secret doesn't need to be unhexified
6715
6716 2007-10-23  Dan Williams  <dcbw@redhat.com>
6717
6718         * libnm-util/nm-setting.c
6719                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6720                         before trying to do something with it
6721
6722 2007-10-23  Dan Williams  <dcbw@redhat.com>
6723
6724         * src/nm-device-802-11-wireless.c
6725                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6726
6727 2007-10-23  Dan Williams  <dcbw@redhat.com>
6728
6729         * src/nm-device-802-11-wireless.c
6730                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6731                         non-SSID-broadcasting APs
6732
6733 2007-10-23  Dan Williams  <dcbw@redhat.com>
6734
6735         * src/NetworkManagerAP.c
6736                 - (match_cipher, security_compatible): remove
6737                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6738                         libnm-util instead
6739
6740 2007-10-23  Dan Williams  <dcbw@redhat.com>
6741
6742         * libnm-util/nm-utils.c
6743           libnm-util/nm-utils.h
6744                 - (nm_utils_ap_security_compatible): common function for checking
6745                         whether a specific AP is compatible with an NMConnection
6746
6747 2007-10-23  Dan Williams  <dcbw@redhat.com>
6748
6749         * libnm-util/nm-setting.c
6750                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6751                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6752                    need_secrets_password, setting_wireless_security_verify): fix
6753                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6754                         secrets logic for each supported EAP method
6755
6756 2007-10-23  Dan Williams  <dcbw@redhat.com>
6757
6758         * src/supplicant-manager/nm-supplicant-config.c
6759                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6760                         config option name, should be "private_key2_passwd"
6761
6762 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6763
6764         Implement support for static IP addresses, additional/overridden DNS and
6765         DNS domain search lists.
6766
6767         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6768         (ip4_addresses_to_gvalue): Implement.
6769         (convert_array_to_byte_array): Implement.
6770         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6771         NM_S_TYPE_IP4_ADDRESSES.
6772         (nm_setting_hash): Ditto.
6773         (default_setting_clear_secrets): Add a default case for the switch: IP address
6774         shouldn't be secret, ever.
6775         (setting_ip4_config_verify): Update, requires addresses in case of manual
6776         configurations.
6777         (setting_ip4_config_destroy): Free stuff.
6778
6779         * src/nm-device.c (merge_ip4_config): Implement.
6780         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6781
6782 2007-10-22  Dan Williams  <dcbw@redhat.com>
6783
6784         * libnm-util/nm-setting.c
6785                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6786                         pairwise cipher options for Dynamic WEP
6787
6788 2007-10-21  Dan Williams  <dcbw@redhat.com>
6789
6790         * src/NetworkManagerAP.c
6791           src/NetworkManagerAP.h
6792                 - Rename 'articifical' -> 'fake' since that's what they are until
6793                         noticed in scans
6794                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6795                         from the attributes in an NMConnection object
6796                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6797                         WPA Enterprise
6798                 - (nm_ap_match_in_list): find a matching AP in a scan list
6799
6800         * src/nm-device-802-11-wireless.c
6801                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6802                         AP when searching the scan list; match on frequency and mode too
6803                 - (nm_device_802_11_wireless_get_frequency): implement
6804                 - (merge_scanned_ap): replace duplicate matching logic with
6805                         nm_ap_match_in_list()
6806                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6807                         the user is trying to connect to a hidden network that is not yet
6808                         known from the scan list
6809                 - (activation_success_handler): now that the card knows the AP's BSSID,
6810                         there may already be a scanned AP in the scan list that is what
6811                         we really wanted to connect to, but didn't know at the time.  Use
6812                         that instead of the 'fake' AP created at activation start and get
6813                         rid of the 'fake' AP 
6814                 - (cull_scan_list): don't remove fake APs
6815
6816 2007-10-21  Dan Williams  <dcbw@redhat.com>
6817
6818         * src/nm-activation-request.h
6819           src/nm-activation-request.c
6820                 - (nm_act_request_set_specific_object): new function; allow setting the
6821                         specific object if one isn't set yet
6822
6823 2007-10-20  Dan Williams  <dcbw@redhat.com>
6824
6825         * src/supplicant-manager/nm-supplicant-config.h
6826           src/supplicant-manager/nm-supplicant-config.c
6827                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6828                         table to store blobs
6829                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6830                         blob hash table
6831                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6832                 - (nm_supplicant_config_add_setting_wireless_security): handle
6833                         options that use certificates (ie, blobs)
6834
6835         * src/nm-device-802-11-wireless.c
6836                 - (build_supplicant_config): pass a UID (just use the connection path)
6837                         to the supplicant config as now required
6838
6839         * src/supplicant-manager/nm-supplicant-interface.c
6840                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6841                         there are any blobs to send to wpa_supplicant, send those first
6842                         before sending the network configuration
6843
6844 2007-10-19  Dan Williams  <dcbw@redhat.com>
6845
6846         Split the GetSecrets() call off to a separate D-Bus interface so that it
6847         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6848         should be able to call GetSecrets().
6849
6850         * include/NetworkManager.h
6851                 - Define the connection secrets D-Bus interface
6852
6853         * src/vpn-manager/nm-vpn-connection.c
6854                 - (clear_need_auth): get the right proxy object for the connection
6855                         secrets interface
6856                 - (get_connection_secrets): use the connection secrets proxy; send
6857                         empty hints in get secrets request
6858
6859         * src/nm-activation-request.c
6860                 - (nm_act_request_request_connection_secrets): use the connection
6861                         secrets proxy; send empty hints in get secrets request
6862
6863         * src/nm-manager.c
6864           src/nm-manager.h
6865                 - (connection_get_settings_cb): set the connection secrets proxy on
6866                         the connection object too
6867                 - (internal_new_connection_cb): create the connection secrets proxy
6868
6869         * introspection/nm-settings-connection.xml
6870                 - Define Connection.Secrets interface and move GetSecrets there
6871                 - Add a 'hints' argument to GetSecrets
6872
6873         * libnm-glib/nm-settings.c
6874           libnm-glib/nm-settings.h
6875                 - (impl_connection_settings_get_secrets): add 'hints' argument
6876
6877 2007-10-19  Dan Williams  <dcbw@redhat.com>
6878
6879         * src/nm-device.c
6880                 - (constructor): add message about what path a device is exported as
6881                         to help in debugging rh #339011
6882
6883 2007-10-17  Dan Williams  <dcbw@redhat.com>
6884
6885         * libnm-util/nm-utils.h
6886           libnm-util/nm-utils.c
6887                 - (nm_utils_security_valid): common function to help find the intersection
6888                         of capabilities of devices and (optionally) access points
6889
6890 2007-10-17  Dan Williams  <dcbw@redhat.com>
6891
6892         * src/nm-device-802-11-wireless.c
6893                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6894                         don't get erroneously cleared
6895
6896 2007-10-17  Dan Williams  <dcbw@redhat.com>
6897
6898         * src/nm-manager.h
6899           src/nm-manager.c
6900           src/nm-hal-manager.c
6901                 - (device_removed, finalize, nm_manager_remove_device,
6902                    nm_manager_sleep): add a 'deactivate' argument to 
6903                    nm_manager_remove_device() to fully deactivate devices when necessary
6904                    (ie, always except when waking up)
6905
6906 2007-10-16  Dan Williams  <dcbw@redhat.com>
6907
6908         * libnm-util/nm-setting.c
6909                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6910                         also isn't valid phase2 autheap method
6911
6912 2007-10-16  Dan Williams  <dcbw@redhat.com>
6913
6914         * libnm-glib/nm-client.c
6915                 - (update_wireless_status): consolidate updates of wireless status
6916                 - (constructor): use update_wireless_status()
6917                 - (manager_running): set wireless status off when NM goes away; requery
6918                         the wireless status when NM comes back
6919
6920 2007-10-16  Dan Williams  <dcbw@redhat.com>
6921
6922         * libnm-glib/nm-client.c
6923                 - (nm_client_activate_device): actually use the fixed-up specific
6924                         object path
6925
6926 2007-10-16  Dan Williams  <dcbw@redhat.com>
6927
6928         * src/nm-hal-manager.c
6929                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6930                         killswitch error messages once
6931
6932 2007-10-16  Dan Williams  <dcbw@redhat.com>
6933
6934         * src/nm-manager.c
6935                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6936                         if it's disabled in hardware; don't touch network devices while
6937                         NM is asleep
6938
6939 2007-10-16  Dan Williams  <dcbw@redhat.com>
6940
6941         * libnm-util/nm-client.c
6942                 - (nm_client_activate_device): convert NULL specific_object to "/",
6943                         which is used in place of NULL
6944
6945         * src/nm-manager.c
6946                 - (impl_manager_activate_device): convert "/" specific_object back into
6947                         NULL
6948
6949 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6950
6951         Implement a generic NMSetting creator from setting name.
6952         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6953         add a virtual function 'populate_fn'.
6954
6955         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6956         (register_default_creators): Register setting creators instead of functions
6957         that create and then populate.
6958         (parse_one_setting): Use the common setting creator and then setting specific
6959         poplulation function.
6960
6961         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6962         they all looked exactly the same.
6963         Add a 'populate_fn' virtual function to NMSetting.
6964         Use default virtual functions in case they are not overriden.
6965         (nm_setting_populate_from_hash): Implement.
6966
6967         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6968         name, use a defined string.
6969         (real_act_stage4_get_ip4_config): Ditto.
6970
6971 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6972
6973         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6974         HAL is int, not uint.
6975
6976 2007-10-15  Tambet Ingo  <tambet@gmail.com>
6977
6978         Implement killswitch polling through HAL.
6979
6980         * src/nm-manager.c: Add wireless hardware status property. Add 
6981         'properties-changed' signal for changes in wireless and wireless hardware
6982         state changes.
6983
6984         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6985         and update NMManager's wireless hardware state when it has changed.
6986         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6987         already does that.
6988
6989         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6990         values of wireless state and wireless hardware state. Listen for the
6991         'properties-changed' signals, update the cached values and emit notify.
6992
6993         * include/NetworkManager.h: Fix a typo in a comment.
6994
6995 2007-10-14  Dan Williams  <dcbw@redhat.com>
6996
6997         * libnm-util/nm-setting.c
6998                 - (setting_wireless_security_need_secrets): handle LEAP secrets
6999
7000 2007-10-13  Dan Williams  <dcbw@redhat.com>
7001
7002         * libnm-util/nm-setting.h
7003           libnm-util/nm-setting.c
7004           src/supplicant-manager/nm-supplicant-config.c
7005                 - Make the 'proto' field of the 802-11-wireless-security field a
7006                         string list
7007
7008 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7009
7010         Rework the "properties-changed" signal listening implementation.
7011         Add a generic implementation to NMObject class that listens for
7012         the signal and calls property setters of the target NMObject.
7013
7014         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7015
7016         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7017         code to the end of file so that all the static functions are available
7018         without extra declarations.
7019         Remove the "properties-changed" signal handling and use the framework from
7020         NMObject.
7021         Implement property setters for properties that change with 
7022         "properties-changed" signal.
7023
7024         * libnm-glib/nm-access-point.c: Ditto.
7025
7026 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7027
7028         Rework the "properties-changed" signal implementation.
7029         In classes that need to use it, just emit "GObject::notify" and the new
7030         framework takes care of the rest to make the signal available on dbus.
7031         The framework queues the notifications and tries to send as many together
7032         in one signal as possible.
7033
7034         * src/nm-properties-changed-signal.c:
7035         * src/nm-properties-changed-signal.h: Implement.
7036
7037         * src/Makefile.am: Add new files to build.
7038
7039         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7040         signal.
7041
7042         * src/nm-device-802-11-wireless.c: Ditto.
7043
7044 2007-10-10  Dan Williams  <dcbw@redhat.com>
7045
7046         * src/nm-manager.c
7047                 - (wait_for_connection_expired): ensure info is valid
7048                 - (connection_added_default_handler): Should only remove pending
7049                         connection info when the manager has the connection that it's
7050                         waiting for.  Fixes segfault in wait_for_connection_info().  
7051
7052 2007-10-10  Dan Williams  <dcbw@redhat.com>
7053
7054         * libnm-util/nm-setting.c
7055           libnm-util/nm-setting.h
7056                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7057                         can use if they choose.  Should be filled in by the settings service
7058                         on-the-fly with the currently logged in user's username
7059
7060 2007-10-10  Dan Williams  <dcbw@redhat.com>
7061
7062         * src/nm-device-802-11-wireless.c
7063                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7064                         as such, because even if the manager fills in the SSID, NM still
7065                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7066                         its SSID
7067
7068 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7069
7070         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7071         code that used NM's own version of dbus signal handling and custom dictionary
7072         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7073         and we get to maintain over 2000 lines less code.
7074
7075         * libnm-util/dbus-dict-helpers.c:
7076         * libnm-util/dbus-dict-helpers.h: Remove.
7077
7078         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7079
7080         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7081
7082         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7083         handlers.
7084
7085         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7086
7087         * configure.in: Remove test/libnm-util/Makefile creation.
7088
7089         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7090
7091         * test/libnm-util/: Remove the whole directory.
7092
7093 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7094
7095         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7096         device_state_changed_idle_id variable or it would contain some random value and the
7097         schedule_change_check calls would not do anything.
7098
7099 2007-10-09  Dan Williams  <dcbw@redhat.com>
7100
7101         * src/nm-device-802-11-wireless.c
7102                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7103                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7104                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7105                         merging of non-SSID-broadcasting APs
7106
7107 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7108
7109         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7110         "guint8 *" since it's usually used with GByteArray->data.
7111         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7112
7113 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7114
7115         * src/NetworkManagerUtils.c
7116         (nm_utils_is_empty_ssid):
7117         (nm_utils_escape_ssid):
7118         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7119         lot of places, so they belong to libnm-utils instead.
7120
7121         Now with 100% less compiler warnings:
7122
7123         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7124         (nm_dbus_unescape_object_path): Ditto.
7125         (nm_utils_ssid_to_utf8): Ditto.
7126         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7127         (nm_utils_escape_ssid): Ditto.
7128         (nm_utils_same_ssid): Ditto.
7129
7130         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7131         (add_one_connection_element): Remove an unused variable.
7132         (impl_manager_get_active_connections): Ditto.
7133
7134         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7135         variable.
7136
7137         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7138         from the previous commit.
7139
7140         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7141         (real_act_stage1_prepare): Ditto.
7142         (activation_success_handler): Ditto.
7143         (get_property): Ditto.
7144
7145         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7146         variable.
7147
7148         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7149         it's always set.
7150
7151         * src/supplicant-manager/nm-supplicant-config.c 
7152         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7153         to expected "char *".
7154         (nm_supplicant_config_add_setting_wireless): Ditto.
7155         (nm_supplicant_config_remove_option): Remove, not used.
7156
7157         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7158         not double.
7159         (test_wireless_enabled): Ifdef out unused function.
7160         (device_deactivate): Ditto.
7161         (device_state_changed): Ditto.
7162         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7163         (nm_utils_escape_ssid): Ditto.
7164
7165         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7166         (nm_utils_is_empty_ssid): Ditto.
7167
7168         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7169         unused variable.
7170
7171         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7172         (setting_vpn_properties_update_secrets): Ditto.
7173         (int_to_gvalue): Ifdef out for now, not used.
7174         (byte_to_gvalue): Ditto.
7175
7176         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7177         Unused, remove.
7178
7179 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7180
7181         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7182         about dbus manager, not named manager.
7183         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7184
7185         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7186         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7187         However, the same signal is emitted when we destroy it and there's 
7188         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7189
7190         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7191         releasing the DBusGConnection, since proxy needs a conneciton.
7192         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7193
7194 2007-10-08  Dan Williams  <dcbw@redhat.com>
7195
7196         * src/NetworkManager.c
7197                 - (main): error on unknown command-line options
7198
7199 2007-10-08  Dan Williams  <dcbw@redhat.com>
7200
7201         Reimplement the invalid connection list.  Don't try to re-activate a
7202         connection that just failed or was canceled.
7203
7204         * src/nm-device.c
7205                 - (connection_secrets_failed_cb): fail device activation, don't just
7206                         deactivate the device.  Listeners have to know about the failure.
7207
7208         * src/NetworkManagerPolicy.c
7209                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7210                         the connection list given to a device's get_best_connection()
7211                         method
7212                 - (device_state_changed): tag failed connections as invalid; clear the
7213                         tag from successful connections
7214
7215 2007-10-08  Dan Williams  <dcbw@redhat.com>
7216
7217         Fix problems with interrupted activation.  Previously, choosing an AP
7218         from the menu, then choosing another one before the first connection was
7219         successful wouldn't deactivate the device before starting the new connection
7220         on that same device.
7221
7222         * src/NetworkManagerPolicy.c
7223                 - (deactivate_old_device, device_state_changed, state_changed,
7224                    nm_policy_new): wrong place to deactivate old devices
7225
7226         * src/nm-manager.c
7227                 - (pending_connection_info_destroy, finalize,
7228                    wait_for_connection_expired): decouple destruction of the pending
7229                         connection info from the manager device
7230                 - (connection_added_default_handler): deactivate any active or
7231                         activating device before starting a new activation
7232                 - (impl_manager_activate_device): deactivate any active or activating
7233                         device before starting a new activation; be sure not to leak
7234                         pending connection info if a new activation request arrives but
7235                         there's already a pending one in-process
7236
7237 2007-10-08  Dan Williams  <dcbw@redhat.com>
7238
7239         * src/NetworkManagerAP.h
7240           src/NetworkManagerAP.c
7241                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7242                         should handle default SSIDs and whether or not to autoconnect
7243                         to them
7244
7245 2007-10-08  Dan Williams  <dcbw@redhat.com>
7246
7247         * src/NetworkManagerPolicy.c
7248                 - (nm_policy_device_change_check): print out connection name where
7249                         possible
7250
7251 2007-10-08  Dan Williams  <dcbw@redhat.com>
7252
7253         * src/nm-device-802-11-wireless.c
7254           src/nm-device-802-11-wireless.h
7255                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7256                         'hidden-ap-found' signal (for internal use only) that allows the
7257                         NMManager to fill in the AP's SSID if a connection has that AP's
7258                         BSSID in its seen-bssids list
7259
7260         * src/nm-manager.c
7261                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7262                         wireless device's hidden-ap-found signal and fill in the APs SSID
7263                         if possible
7264
7265 2007-10-07  Dan Williams  <dcbw@redhat.com>
7266
7267         * src/nm-manager.c
7268           src/nm-manager.h
7269                 - Add a 'connections-added' signal to batch together updates of large
7270                         numbers of connections, like when reading from a settings service
7271                         the first time.  Otherwise, the policy would just activate the first
7272                         suitable connection it saw rather than waiting for the full list
7273                         to arrive.
7274                 - (nm_manager_class_init): register new signal
7275                 - (get_type_for_proxy, connection_get_settings_cb,
7276                    get_connection_for_proxy): centralize places where a proxy's setting
7277                         service is determined
7278                 - (free_get_settings_info): if the call being freed is the last call
7279                         in a pending call group, fire off the connections-added signal
7280                 - (internal_new_connection_cb): add call to a pending call group if
7281                         requested
7282                 - (list_connections_cb): always create a call group here, because this
7283                         call results in a batch of new connections
7284                 - (initial_get_connections): start getting system connections first
7285                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7286                         removed signal when destroying connections
7287
7288         * src/NetworkManagerPolicy.c
7289                 - (nm_policy_new, connections_added): handle connections-added signal
7290                         from the manager
7291
7292 2007-10-06  Dan Williams  <dcbw@redhat.com>
7293
7294         * src/nm-device-802-11-wireless.c
7295                 - (constructor): fix leaked socket
7296
7297 2007-10-06  Dan Williams  <dcbw@redhat.com>
7298
7299         * src/NetworkManagerPolicy.c
7300                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7301                         connection in the list returned by nm_manager_get_connections() is
7302                         reffed, but they weren't getting unreffed before returning
7303
7304 2007-10-06  Dan Williams  <dcbw@redhat.com>
7305
7306         * src/nm-manager.c
7307                 - (connections_to_slist): sort connections first on autoconnect, then
7308                         on timestamp
7309
7310 2007-10-06  Dan Williams  <dcbw@redhat.com>
7311
7312         * libnm-util/nm-connection.c
7313                 - (gvalue_to_string): handle UINT64
7314
7315 2007-10-06  Dan Williams  <dcbw@redhat.com>
7316
7317         * src/NetworkManagerPolicy.c
7318                 - (connection_updated, nm_policy_new): recheck state when a connection
7319                         gets updated
7320
7321 2007-10-06  Dan Williams  <dcbw@redhat.com>
7322
7323         * src/nm-manager.c
7324           src/nm-manager.h
7325                 - (nm_manager_get_connection_dbus_path): make static
7326                 - (nm_manager_update_connections): remove; unused
7327                 - Add a connection-updated signal
7328                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7329                         handle connection object updates
7330
7331 2007-10-06  Dan Williams  <dcbw@redhat.com>
7332
7333         * src/NetworkManagerPolicy.c
7334                 - (connection_removed): deactivate removed connections
7335
7336 2007-10-06  Dan Williams  <dcbw@redhat.com>
7337
7338         * libnm-util/nm-connection.c
7339           libnm-util/nm-connection.h
7340                 - (nm_connection_replace_settings): new function
7341
7342 2007-10-06  Dan Williams  <dcbw@redhat.com>
7343
7344         * libnm-glib/nm-device-802-11-wireless.c
7345                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7346                         on error when getting the active access point over D-Bus from NM
7347
7348 2007-10-05  Dan Williams  <dcbw@redhat.com>
7349
7350         * libnm-util/nm-setting.c
7351                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7352                         to the NMSettingWireless table; it's now a string array not an array
7353                         of byte arrays
7354
7355 2007-10-05  Dan Williams  <dcbw@redhat.com>
7356
7357         * libnm-glib/nm-device-802-11-wireless.c
7358                 - Cache properties and update cached properties on D-Bus signals from NM
7359
7360 2007-10-05  Dan Williams  <dcbw@redhat.com>
7361
7362         * src/nm-device-802-11-wireless.c
7363                 - (set_current_ap): consolidate current_ap handling code into one place
7364                         to ensure that PropertiesChanged signals are emitted in all cases
7365                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7366                    nm_device_802_11_wireless_dispose): use set_current_ap()
7367
7368 2007-10-05  Dan Williams  <dcbw@redhat.com>
7369
7370         * libnm-glib/nm-access-point.c
7371           libnm-glib/nm-access-point.h
7372                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7373                         because the value is cached internally now.  Callers should not
7374                         free the internal value.
7375                 - Make signal name defines private
7376
7377         * test/nm-tool.c
7378           libnm-glib/libnm-glib-test.c
7379                 - Don't free value returned from nm_access_point_get_hw_address()
7380
7381 2007-10-04  Dan Williams  <dcbw@redhat.com>
7382
7383         * introspection/nm-device-802-11-wireless.xml
7384           src/nm-device-802-11-wireless.h
7385           src/nm-device-802-11-wireless.c
7386                 - Add a PropertiesChanged signal for wireless device
7387                 - Store currently associated access point
7388                 - (periodic_update): generalize; update rate here too and emit the
7389                         correct PropertiesChanged signal when stuff changes
7390                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7391                    real_activation_cancel_handler): clear current_ap when device is
7392                         deactivated
7393                 - (link_to_specific_ap, get_ap_blacklisted,
7394                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7395                         code
7396                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7397                         outside this file
7398                 - (real_set_hw_address): emit property changed signal if the card's
7399                         MAC address changes
7400                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7401                         the card is supposed to be connecting to
7402                 - (activation_success_handler): send out property updates on successful
7403                         activation
7404                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7405                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7406                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7407                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7408                         is now boxed; add PropertiesChanged signal
7409
7410 2007-10-04  Dan Williams  <dcbw@redhat.com>
7411
7412         * libnm-util/nm-connection.c
7413           libnm-util/nm-connection.h
7414                 - (nm_connection_verify): new function
7415
7416 2007-10-04  Dan Williams  <dcbw@redhat.com>
7417
7418         * libnm-util/nm-setting.c
7419                 - (nm_settings_verify): use #defines when possible rather than strings
7420                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7421                 - (setting_vpn_verify): tighter validity check on 'service_type'
7422
7423 2007-10-04  Dan Williams  <dcbw@redhat.com>
7424
7425         * libnm-glib/nm-settings.c
7426                 - (nm_connection_settings_class_init): provide correct type for argument
7427                         to the Updated signal so that dbus-glib knows how to marshal it
7428
7429 2007-10-03  Dan Williams  <dcbw@redhat.com>
7430
7431         * src/nm-device-802-3-ethernet.c
7432                 - (real_get_best_connection): don't create automatic connections
7433                         internally; clients should provide a setting that applies to
7434                         the device with 'autoconnect: True'.  Problem was that these
7435                         internally auto-created connections don't have a proxy or service
7436                         name becuase they weren't created by a settings daemon, and therefore
7437                         clients have no idea what to do with them.
7438
7439 2007-10-03  Dan Williams  <dcbw@redhat.com>
7440
7441         * src/nm-device-802-11-wireless.c
7442           src/nm-device-802-11-wireless.h
7443           introspection/nm-device-802-11-wireless.xml
7444                 - GetActiveNetworks -> GetAccessPoints
7445                 - ActiveNetwork -> ActiveAccessPoint
7446                 - NetworkAdded -> AccessPointAdded
7447                 - NetowrkRemoved -> AccessPointRemoved
7448
7449         * libnm-glib/nm-device-802-11-wireless.c
7450           libnm-glib/nm-device-802-11-wireless.h
7451                 - network-added signal -> access-point-added
7452                 - network-removed signal -> access-point-removed
7453                 - nm_device_802_11_wireless_get_active_network() ->
7454                         nm_device_802_11_wireless_get_active_access_point()
7455                 - nm_device_802_11_wireless_get_network_by_path() ->
7456                         nm_device_802_11_wireless_get_access_point_by_path()
7457                 - nm_device_802_11_wireless_get_networks() ->
7458                         nm_device_802_11_wireless_get_access_points()
7459
7460         * libnm-glib/libnm-glib-test.c
7461           test/nm-tool.c
7462           src/NetworkManagerPolicy.c
7463                 - Fixups for Network -> AccessPoint
7464
7465 2007-10-03  Dan Williams  <dcbw@redhat.com>
7466
7467         Add a GetActiveConnections() method on the Manager object.
7468
7469         * src/nm-manager.c
7470           src/nm-manager.h
7471           introspection/nm-manager.xml
7472                 - (connection_get_settings_cb): keep connection type around too
7473                 - (impl_manager_get_active_connections, add_one_connection_element):
7474                         implement; returns all active connections and what devices they
7475                         apply to
7476
7477         * libnm-glib/nm-client.c
7478           libnm-glib/nm-client.h
7479           introspection/nm-manager-client.xml
7480                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7481                         by the caller; free here to avoid memory leak
7482                 - (nm_client_get_active_connections): implement; return the list of
7483                         active connections
7484                 - (nm_client_free_active_connection_element): implement; free an element
7485                         of the GSList returned by nm_client_get_active_connections()
7486
7487 2007-10-03  Dan Williams  <dcbw@redhat.com>
7488
7489         * src/nm-device-802-11-wireless.c
7490                 - (nm_device_802_11_wireless_update_bssid): remove
7491                 - (get_active_ap): new function; find the AP in the scan list which
7492                         matches the current BSSID and SSID of the wireless device
7493                 - (nm_device_802_11_periodic_update): get current AP using
7494                         get_active_ap() and print AP roam messages
7495
7496 2007-10-01  Dan Williams  <dcbw@redhat.com>
7497
7498         * libnm-util/nm-setting.h
7499                 - Add a 'timestamp' option to NMSettingConnection
7500                 - Add a UINT64 type
7501
7502         * libnm-util/nm-setting.c
7503                 - (uint64_to_gvalue): new function
7504                 - (nm_setting_populate_from_hash, nm_setting_hash,
7505                    default_setting_clear_secrets): handle UINT64 type
7506                 - con_table: add 'timestamp' member
7507
7508 2007-10-01  Dan Williams  <dcbw@redhat.com>
7509
7510         * src/nm-manager.c
7511                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7512                         value when the connection can be activated immediately
7513
7514 2007-10-01  Dan Williams  <dcbw@redhat.com>
7515
7516         * libnm-glib/nm-device.c
7517                 - (nm_device_class_init): actually tell glib about the carrier-changed
7518                         signal
7519
7520 2007-10-01  Dan Williams  <dcbw@redhat.com>
7521
7522         * configure.in
7523           src/marshallers/Makefile.am
7524           src/marshallers/nm-marshal.list
7525           src/marshallers/nm-marshal-main.c
7526                 - Consolidate glib marshallers into one place
7527
7528         * src/dhcp-manager/Makefile.am
7529           src/dhcp-manager/nm-dhcp-manager.c
7530           src/supplicant-manager/Makefile.am
7531           src/supplicant-manager/nm-supplicant-manager.c
7532           src/supplicant-manager/nm-supplicant-interface.c
7533           src/ppp-manager/Makefile.am
7534           src/ppp-manager/nm-ppp-manager.c
7535           src/vpn-manager/Makefile.am
7536           src/vpn-manager/nm-vpn-connection.c
7537           src/Makefile.am
7538                 - Use consolidated marshallers
7539
7540         * src/dhcp-manager/nm-dhcp-marshal.list
7541           src/dhcp-manager/nm-dhcp-marshal-main.c
7542           src/supplicant-manager/nm-supplicant-marshal-main.c
7543           src/supplicant-manager/nm-supplicant-marshal.list
7544           src/nm-marshal-main.c
7545           src/nm-marshal.list
7546           src/ppp-manager/nm-ppp-marshal-main.c
7547           src/ppp-manager/nm-ppp-marshal.list
7548           src/vpn-manager/nm-vpn-marshal-main.c
7549           src/vpn-manager/nm-vpn-marshal.list
7550                 - Remove
7551
7552 2007-10-01  Dan Williams  <dcbw@redhat.com>
7553
7554         * include/NetworkManagerVPN.h
7555                 - define VPN connection state change reason codes
7556
7557         * src/vpn-manager/Makefile.am
7558           src/vpn-manager/nm-vpn-marshal.list
7559           src/vpn-manager/nm-vpn-marshal-main.c
7560                 - Add marshallers for StateChanged signal
7561
7562         * introspection/nm-vpn-connection.xml
7563                 - New Banner property
7564                 - StateChanged signal now includes a 'reason' argument
7565
7566         * src/vpn-manager/nm-vpn-connection.c
7567           src/vpn-manager/nm-vpn-connection.h
7568                 - Add a "Banner" property that contains the returned VPN server login
7569                         banner (if any); valid only in the ACTIVATED state
7570                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7571                         a 'reason' argument and emits that reason along with the
7572                         state-changed signal
7573                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7574                 - (nm_vpn_connection_ip4_config_get): save banner for later
7575                 - (nm_vpn_connection_get_banner, get_property,
7576                    nm_vpn_connection_class_init): implement Banner property
7577
7578         * src/vpn-manager/nm-vpn-service.c
7579                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7580                         connection list because elements may get added/removed from it
7581                         while iterating over the list
7582                 - (connection_state_changed): signal now includes the 'reason' argument
7583
7584         * libnm-glib/nm-vpn-connection.c
7585           libnm-glib/nm-vpn-connection.h
7586                 - (nm_vpn_connection_get_banner): new function
7587                 - (state_changed_proxy): handle reason argument
7588
7589 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7590
7591         * src/nm-manager.c:
7592         * src/nm-manager.h:
7593         Implement device activation through NMManager.
7594         Implement "pending device activation" here - If the connection isn't found,
7595         we try to wait for up to 5 seconds for the connection to be provided.
7596         Add NMConnectionType argument to "connection-added" and "connection-removed"
7597         signals.
7598         (nm_manager_get): Remove. Finally.
7599
7600         * src/nm-activation-request.c: 
7601         * src/nm-activation-request.h: 
7602         Remove all the deferred activation code.
7603
7604         * src/nm-device.c: Remove all the deferred activation code. Once the device
7605         activation is started, it's started. Update the activation virtual function
7606         signature.
7607
7608         * src/nm-device-interface.c:
7609         * src/nm-device-interface.h:
7610         Device activation now takes only NMActRequest argument.
7611         Don't expose device activation directly on dbus, it's supposed to go through
7612         NMManager now.
7613
7614         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7615         a bit more compact.
7616         Use the new device activation methods through NMManager.
7617
7618         * introspection/nm-manager-client.xml: 
7619         * introspection/nm-manager.xml: 
7620         * libnm-glib/nm-client.c:
7621         * libnm-glib/nm-client.h:
7622         Add device activation method.
7623         
7624         * libnm-glib/nm-device.c: 
7625         * libnm-glib/nm-device.h: 
7626         * introspection/nm-device.xml: 
7627         Remove device activation method. It's done through NMManager now.
7628
7629         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7630         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7631
7632 2007-09-28  Dan Williams  <dcbw@redhat.com>
7633
7634         * libnm-glib/nm-vpn-connection.c
7635                 - (nm_vpn_connection_get_state): try to update state if the current
7636                         state is UNKNOWN
7637
7638 2007-09-27  Dan Williams  <dcbw@redhat.com>
7639
7640         Patch from Bill Nottingham
7641
7642         * src/supplicant-manager/nm-supplicant-config.c
7643                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7644                         data to the supplicant
7645
7646 2007-09-27  Dan Williams  <dcbw@redhat.com>
7647
7648         * src/NetworkManagerSystem.c
7649                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7650                         and all address manipulation here should be happening on the
7651                         _VPN_ device, not the active device
7652
7653 2007-09-26  Dan Williams  <dcbw@redhat.com>
7654
7655         * src/nm-manager.c
7656           src/nm-manager.h
7657           src/nm-activation-request.c
7658           src/nm-activation-request.h
7659                 - Move the GetSecrets stuff out of the NMManager instance because it
7660                         doesn't really need to be there and complicates things
7661
7662         * src/nm-device.c
7663                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7664                         connection-secrets-failed signal and deactivate the device if
7665                         the GetSecrets call fails
7666
7667         * src/nm-device-802-11-wireless.c
7668                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7669                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7670                         secrets and give correct hints about whether new secrets should be
7671                         asked for by the client or not
7672
7673 2007-09-26  Dan Williams  <dcbw@redhat.com>
7674
7675         * src/vpn-manager/nm-vpn-connection.c
7676                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7677                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7678                         to the secrets-updated signal of the NMConnection since updating
7679                         the secrets is done within the scope of the NMVPNConnection object
7680                         already
7681                 - (get_connection_secrets): fix an uninialized variable usage error
7682
7683 2007-09-26  Dan Williams  <dcbw@redhat.com>
7684
7685         * libnm-util/nm-setting.c
7686                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7687                         actually get updated when the user enters them
7688
7689 2007-09-26  Dan Williams  <dcbw@redhat.com>
7690
7691         * libnm-glib/nm-vpn-plugin.c
7692                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7693
7694 2007-09-26  Dan Williams  <dcbw@redhat.com>
7695
7696         * include/NetworkManagerVPN.h
7697                 - Add a NEED_AUTH state
7698
7699         * src/vpn-manager/nm-vpn-connection.c
7700                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7701                         the connection needs secrets, and if so, then ask the settings
7702                         service to fill in the secrets.  Then start the connection.
7703
7704 2007-09-26  Dan Williams  <dcbw@redhat.com>
7705
7706         * src/vpn-manager/nm-vpn-manager.c
7707                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7708
7709 2007-09-26  Dan Williams  <dcbw@redhat.com>
7710
7711         * introspection/nm-vpn-plugin.xml
7712           libnm-glib/nm-vpn-plugin.c
7713           libnm-glib/nm-vpn-plugin.h
7714                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7715                         the name of the NMSetting in an NMConnection that may require
7716                         secrets specific to that VPN plugin
7717
7718 2007-09-26  Dan Williams  <dcbw@redhat.com>
7719
7720         * src/nm-manager.c
7721           src/nm-manager.h
7722                 - (nm_manager_get_connection_secrets): make static, unused outside
7723                         the file
7724                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7725
7726 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7727
7728         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7729         method.
7730         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7731         unreference the connection.
7732
7733         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7734         passing properties hash and routes string list, pass NMConnection (in hashed form).
7735
7736         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7737         as GSList, no need to copy stuff around anymore.
7738         (nm_vpn_connection_activate): Update the plugin activation method.
7739
7740         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7741         routes argument to GSList.
7742
7743 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7744
7745         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7746         state and try to get the secrets.
7747
7748         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7749         connections from NMManager and let the device to choose the best from the list.
7750         Since the connection list is sorted by system ones first and user ones later,
7751         the devices still prefer system connections like they did before.
7752         (deactivate_old_device): Implement. When a device starts activation, we have a
7753         policy (for now at least) to deactivate any other device that might be either
7754         active or still activating.
7755
7756         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7757         It's set on construction, there will be no other way to access it.
7758
7759         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7760         device events and drive the device, not the other way around.
7761
7762         * src/nm-device-802-3-ethernet.c: Ditto.
7763
7764         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7765         sent along, pass it on to virtual functions.
7766
7767         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7768         for now, but should really be public instead of nm_device_get_iface() since iface
7769         is a property of the DeviceInterface, not Device.
7770         (impl_device_activate): Don't touch NMManager!
7771
7772 2007-09-26  Jürg Billeter  <j@bitron.ch>
7773
7774         * initscript/paldo/NetworkManager.in:
7775         * initscript/paldo/NetworkManagerDispatcher.in:
7776         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7777         (nm_system_flush_loopback_routes): update paldo backend
7778
7779 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7780
7781         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7782         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7783         which means none of the devices get brought down properly, which in turn leaves
7784         DHCP client running.
7785
7786         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7787         (supplicant_connection_timeout_cb): Ditto.
7788
7789 2007-09-25  Dan Williams  <dcbw@redhat.com>
7790
7791         * src/nm-device.c
7792                 - (device_activation_go): small hack to work around race when
7793                         activating deferred connections; should solve this in a better way
7794
7795 2007-09-25  Dan Williams  <dcbw@redhat.com>
7796
7797         * introspection/nm-device.xml
7798           libnm-glib/nm-device.c
7799           libnm-glib/nm-device.h
7800                 - Add 'Carrier' property to exported NMDevice objects
7801
7802         * src/nm-device-interface.h
7803           src/nm-device-interface.c
7804           src/nm-device.c
7805                 - Add a 'carrier' property to internal NMDevice objects
7806
7807 2007-09-25  Dan Williams  <dcbw@redhat.com>
7808
7809         * src/nm-device-802-11-wireless.c
7810                 - (ap_auth_enforced): also return the encryption status of the AP so
7811                         that callers can differentiate easily between unencrypted APs
7812                         and encrypted ones, in addition to whether the AP has an
7813                         authenticator
7814                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7815                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7816                         previously would request secrets from unencrypted APs at times
7817
7818 2007-09-25  Dan Williams  <dcbw@redhat.com>
7819
7820         * src/nm-manager.c
7821                 - (nm_manager_update_state): new function; updates state and emits
7822                         appropriate signals ensuring a state-change signal for the same state
7823                         never gets emitted twice in a row.
7824                 - (manager_device_state_changed): handle more device state to get a
7825                         better picture of the overall NM state
7826
7827 2007-09-25  Dan Williams  <dcbw@redhat.com>
7828
7829         * libnm-glib/nm-settings.c
7830           libnm-glib/nm-settings.h
7831                 - (new_error -> nm_settings_new_error): make public so that subclasses
7832                         can use the same error domain.  Also pass a valid error code to
7833                         g_error_new_literal() so that libdbus doesn't assert when converting
7834                         the GError into a DBusError
7835                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7836                    impl_connection_settings_get_settings,
7837                    impl_connection_settings_get_secrets): use new error creator
7838                         function
7839
7840 2007-09-25  Dan Williams  <dcbw@redhat.com>
7841
7842         * src/NetworkManager.c
7843                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7844
7845 2007-09-25  Dan Williams  <dcbw@redhat.com>
7846
7847         * src/supplicant-manager/nm-supplicant-manager.c
7848                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7849                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7850                    nm_supplicant_manager_startup): when the supplicant isn't running,
7851                         try to start it periodically via system bus activation.  Fixes
7852                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7853                         for the supplicant to come back
7854
7855 2007-09-25  Dan Williams  <dcbw@redhat.com>
7856
7857         Ensure that old activation requests are forgotten about; previously
7858         hitting Cancel in the password dialog would deactivate whatever device
7859         that password was requested for, even if that wasn't the currently
7860         activating connection.
7861
7862         * src/nm-manager.c
7863           src/nm-manager.h
7864                 - (nm_manager_get_connection_secrets): track the pending call
7865                         object so it can be canceled later if needed
7866                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7867                         GetSecrets call for a particular connection
7868
7869         * src/nm-activation-request.c
7870                 - (dispose): cancel any outstanding GetSecrets calls on the
7871                         connection
7872
7873 2007-09-25  Dan Williams  <dcbw@redhat.com>
7874
7875         * src/NetworkManagerPolicy.c
7876                 - (nm_policy_device_change_check): handle devices that have a
7877                         deferred activation.  These devices are not really active _yet_,
7878                         but need to be treated as such here.  Don't interrupt them
7879                         automatically.
7880
7881         * src/nm-device-interface.c
7882                 - (impl_device_activate): handle devices that have a deferred activation
7883                         like activating or active devices.  When multiple active devices
7884                         get committed, the device shouldn't be deactivated until the
7885                         connection details are available to avoid DoS and such.  Currently,
7886                         any active, activating, or deferred activation device is deactivated
7887                         here before starting the new activation request.
7888
7889 2007-09-25  Dan Williams  <dcbw@redhat.com>
7890
7891         Properly re-query secrets from the settings daemon when stuff fails.
7892
7893         * src/nm-device-802-11-wireless.c
7894                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7895                         between Shared Key and Open System auth modes
7896                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7897                    real_act_stage4_ip_config_timeout): clear existing secrets and
7898                         request new ones when something fails due to a suspected wrong key
7899                 - (real_act_stage2_config): fix for new request_new argument to
7900                         nm_manager_get_connection_secrets()
7901
7902         * src/nm-manager.c
7903           src/nm-manager.h
7904                 - (nm_manager_get_connection_secrets): return error status; pass
7905                         new request_new argument on to the settings daemon
7906
7907         * introspection/nm-settings-connection.xml
7908                 - New 'request_new' argument to the GetSecrets call that hints to the
7909                         settings daemon to ask the user for completely new secrets
7910
7911         * libnm-glib/nm-settings.c
7912           libnm-glib/nm-settings.h
7913                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7914                         argument
7915
7916 2007-09-25  Dan Williams  <dcbw@redhat.com>
7917
7918         * libnm-util/nm-connection.c
7919           libnm-util/nm-connection.h
7920                 - (nm_connection_clear_secrets): new function; clear secrets out of
7921                         each NMSetting in an NMConnection
7922
7923         * libnm-util/nm-setting.h
7924           libnm-util/nm-setting.c
7925                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7926                         secrets out of an NMSetting
7927                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7928                    nm_setting_wired_new, nm_setting_wireless_new,
7929                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7930                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7931                         to default handler default_setting_clear_secrets()
7932
7933 2007-09-25  Dan Williams  <dcbw@redhat.com>
7934
7935         * src/nm-activation-request.c
7936           src/nm-activation-request.h
7937                 - (nm_act_request_is_deferred): new function
7938
7939 2007-09-24  Dan Williams  <dcbw@redhat.com>
7940
7941         * src/nm-device-802-11-wireless.c
7942                 - (activation_success_handler): update signal strength immediately
7943                         after activation
7944
7945 2007-09-24  Dan Williams  <dcbw@redhat.com>
7946
7947         * libnm-util/nm-setting.c
7948                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7949
7950 2007-09-24  Dan Williams  <dcbw@redhat.com>
7951
7952         * src/NetworkManagerPolicy.c
7953                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7954                         device by deactivating it because it doesn't have a "best connection".
7955                         Since autoconnect=False connections aren't automatically chosen,
7956                         NM would interrupt activation of such a connection because it
7957                         would never be "best" due to autoconnect=False.
7958
7959 2007-09-24  Dan Williams  <dcbw@redhat.com>
7960
7961         * src/nm-manager.c
7962                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7963                         actually has some time to enter a key before the GetSecrets call
7964                         times out
7965
7966 2007-09-24  Dan Williams  <dcbw@redhat.com>
7967
7968         * introspection/nm-manager.xml
7969           src/nm-manager.c
7970                 - (impl_manager_legacy_state): fix 'state' method call return value
7971
7972 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
7973
7974         * test/Makefile.am: Install nm-tool
7975
7976 2007-09-24  Dan Williams  <dcbw@redhat.com>
7977
7978         Patch from Ross Burton <ross@burtonini.com>
7979
7980         * test/nm-tool.c
7981           callouts/nm-dhcp-client-action.c
7982           src/nm-netlink.c
7983           src/vpn-manager/nm-vpn-connection.c
7984           libnm-glib/libnm-glib-test.c
7985                 - warning fixes
7986
7987 2007-09-24  Dan Williams  <dcbw@redhat.com>
7988
7989         * libnm-util/nm-utils.h
7990           libnm-util/nm-utils.c
7991                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7992                         remove, unused
7993
7994 2007-09-23  Dan Williams  <dcbw@redhat.com>
7995
7996         * vpn-daemons/vpnc/properties/nm-vpnc.c
7997                 - Update for new VPN properties API bits; instead of passing around
7998                         a lot of random things, everything goes into the NMConnection
7999                         object.
8000
8001 2007-09-23  Dan Williams  <dcbw@redhat.com>
8002
8003         * libnm-util/nm-setting.c
8004                 - Correctly dispose of settings objects if creating them from a hash
8005                         table fails
8006
8007 2007-09-23  Dan Williams  <dcbw@redhat.com>
8008
8009         * libnm-util/nm-setting.c
8010                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8011                         the hash table in a standard manner.  Clients of libnm-util should
8012                         only call g_hash_table_remove_all(), never destroy the hash table
8013                         and recreate it.
8014
8015 2007-09-22  Dan Williams  <dcbw@redhat.com>
8016
8017         * src/nm-device-802-11-wireless.c
8018                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8019                         real reason to do it so often, and reduces wakeups for clients.
8020
8021 2007-09-21  Dan Williams  <dcbw@redhat.com>
8022
8023         * src/nm-device-802-11-wireless.c
8024                 - (build_supplicant_config): wpa_supplicant requires the option
8025                         key_mgmt=NONE for unencrypted networks
8026                 - (real_act_stage2_config): clarify log message on activation
8027
8028 2007-09-21  Dan Williams  <dcbw@redhat.com>
8029
8030         * test/nm-supplicant-test.c
8031           test/Makefile.am
8032                 - Remove supplicant test binary; no longer applicable
8033
8034 2007-09-21  Dan Williams  <dcbw@redhat.com>
8035
8036         * src/supplicant-manager/nm-supplicant-manager.c
8037                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8038                         activate it on the system bus
8039
8040 2007-09-20  Dan Williams  <dcbw@redhat.com>
8041
8042         * initscript/RedHat/NetworkManager.in
8043                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8044
8045 2007-09-20  Dan Williams  <dcbw@redhat.com>
8046
8047         * src/nm-device.c
8048                 - (nm_device_is_activating): work around a race between auto-activation
8049                         and the user activating the same device that is being auto-activated
8050
8051 2007-09-20  Dan Williams  <dcbw@redhat.com>
8052
8053         * src/nm-device-interface.c
8054                 - (impl_device_activate): until multiple active device support lands,
8055                         ensure only one device can be active at a time
8056
8057 2007-09-20  Dan Williams  <dcbw@redhat.com>
8058
8059         * src/supplicant-manager/nm-supplicant-config.c
8060           src/supplicant-manager/nm-supplicant-config.h
8061                 - (nm_supplicant_config_add_option): hide secrets from system logs
8062
8063 2007-09-20  Dan Williams  <dcbw@redhat.com>
8064
8065         * src/NetworkManagerPolicy.c
8066                 - (nm_policy_device_change_check): re-enable the wireless device change
8067                         checking code; insted of checking for SSIDs, check for the same
8068                         connection instead
8069
8070 2007-09-20  Dan Williams  <dcbw@redhat.com>
8071
8072         * src/nm-device-802-11-wireless.c
8073                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8074                         composite link state when determining when to start the disconnection
8075                         timer; that link state is already based on the supplicant interface's
8076                         status which is exactly what's already being examined, plus the link
8077                         state is a conglomeration of various things that we don't want here
8078
8079 2007-09-20  Dan Williams  <dcbw@redhat.com>
8080
8081         * libnm-glib/nm-access-point.c
8082                 - (handle_property_changed): strength is a UCHAR
8083
8084 2007-09-20  Dan Williams  <dcbw@redhat.com>
8085
8086         * src/supplicant-manager/nm-supplicant-config.c
8087                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8088                         string list keywords too since that's what wpa_supplicant wants
8089
8090 2007-09-20  Dan Williams  <dcbw@redhat.com>
8091
8092         * libnm-util/nm-setting.c
8093                 - (convert_strv_to_slist): dupe the values in the list because since
8094                         the list is a boxed value, it'll get destroyed when it's container
8095                         (like a hash table or whatever) gets destroyed
8096
8097 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8098
8099         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8100         GSList.
8101
8102         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8103
8104         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8105         just use (g_object_set_data_full).
8106
8107         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8108         that NMSettingVPN->routes is a GSList, convert it to char **.
8109         (nm_vpn_connection_ip4_config_get): Free routes when done.
8110         (nm_vpn_connection_activate): Ditto.
8111
8112         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8113         (real_act_stage2_config): Use defined setting names.
8114
8115 2007-09-20  Dan Williams  <dcbw@redhat.com>
8116
8117         * src/nm-device-802-11-wireless.c
8118           src/nm-manager.c
8119           src/nm-manager.h
8120                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8121                         so that the device can be deactivated if secrets are wrong
8122
8123 2007-09-20  Dan Williams  <dcbw@redhat.com>
8124
8125         * introspection/nm-settings-connection.xml
8126           libnm-glib/nm-settings.c
8127           libnm-glib/nm-settings.h
8128                 - Make GetSecrets asynchronous on the server side
8129
8130 2007-09-20  Dan Williams  <dcbw@redhat.com>
8131
8132         * src/nm-manager.h
8133           src/nm-device.c
8134                 - (nm_device_activate): actually check if a given connection
8135                         exists before assuming it doesn't
8136
8137 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8138
8139         * libnm-util/nm-connection.c (register_default_creators): Use defined
8140         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8141
8142         * libnm-util/nm-setting.c: Define property name strings, use them.
8143         Implement NMSettingVPN and NMSettingVPNProperties settings.
8144         Implement NM_S_TYPE_GVALUE_HASH.
8145         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8146         (setting_connection_verify): Rename 'devtype' property to 'type'.
8147
8148         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8149         properties.
8150
8151         * src/vpn-manager/nm-vpn-service.c: Ditto.
8152
8153         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8154
8155         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8156         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8157
8158         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8159         names. NMSettingConnection->devtype got renamed to 'type'.
8160
8161         * src/nm-device-802-3-ethernet.c (find_best_connection):
8162         (real_get_best_connection): Ditto.
8163
8164         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8165
8166         * libnm-glib/nm-vpn-manager.[ch]: Update.
8167
8168 2007-09-19  Dan Williams  <dcbw@redhat.com>
8169
8170         * src/NetworkManagerAP.c
8171           src/NetworkManagerAP.h
8172           introspection/nm-access-point.xml
8173                 - Change strength-changed signal into a properties-changed signal
8174                         for all properties, not just strength.  Export that signal over dbus
8175                         so listeners don't have to poll NM for changes.
8176                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8177                         get exported over D-Bus, so break up the logic and let other bits
8178                         decided when to export the AP
8179                 - (nm_ap_new_from_ap): remove, unused
8180
8181         * src/nm-device-802-11-wireless.c
8182                 - (merge_scanned_ap): only export APs that are actually on the device
8183                         list, not every AP created internally
8184
8185         * libnm-glib/nm-access-point.c
8186           libnm-glib/nm-access-point.h
8187                 - Cache properties internally and only hit DBus when needed.  Get
8188                         property updates from NM signals
8189
8190 2007-09-16  Dan Williams  <dcbw@redhat.com>
8191
8192         * libnm-util/nm-connection.c
8193           libnm-util/nm-connection.h
8194                 - (nm_connection_for_each_setting_value): new function; iterate over
8195                         each setting's value and call a user-provided function with details
8196                         about that value
8197
8198         * libnm-util/nm-setting.c
8199           libnm-util/nm-setting.h
8200                 - (nm_setting_enumerate_values): new function; enumerate the values
8201                         of a specific NMSetting subclass for a user-provided function with
8202                         details about that value
8203                 - Change wep_tx_keyidx to a uint32
8204                 - Create settings value tables for each setting defining their type,
8205                         key name, offset into the NMSetting subclass' structure, and whether
8206                         they are required and/or a secret
8207                 - (nm_setting_populate_from_hash): generic function to populate an
8208                         NMSetting from a GHash table, make all settings use it
8209                 - (nm_setting_hash): generic function to derive a GHashTable from
8210                         an NMSetting object, make all settings use it
8211
8212 2007-09-14  Dan Williams  <dcbw@redhat.com>
8213
8214         Remove unused stuff in libnm-util
8215
8216         * configure.in
8217           libnm-util/Makefile.am
8218           libnm-util/cipher-private.h
8219           libnm-util/cipher-wep-ascii.c
8220           libnm-util/cipher-wep-ascii.h
8221           libnm-util/cipher-wep-hex.c
8222           libnm-util/cipher-wep-hex.h
8223           libnm-util/cipher-wep-passphrase.c
8224           libnm-util/cipher-wep-passphrase.h
8225           libnm-util/cipher-wpa-psk-hex.c
8226           libnm-util/cipher-wpa-psk-hex.h
8227           libnm-util/cipher-wpa-psk-passphrase.c
8228           libnm-util/cipher-wpa-psk-passphrase.h
8229           libnm-util/cipher.c
8230           libnm-util/cipher.h
8231           libnm-util/dbus-helpers.c
8232           libnm-util/dbus-helpers.h
8233           libnm-util/gnome-keyring-md5.c
8234           libnm-util/gnome-keyring-md5.h
8235           libnm-util/sha1.c
8236           libnm-util/sha1.h
8237           src/nm-device-802-11-wireless.c
8238           test/libnm-util/Makefile.am
8239           test/libnm-util/test-ciphers.c
8240           test/libnm-util/test-dbus-helpers.c
8241           test/libnm-util/test-inputs.h
8242                 - Removed
8243
8244 2007-09-14  Dan Williams  <dcbw@redhat.com>
8245
8246         * libnm-util/dbus-method-dispatcher.c
8247           libnm-util/dbus-method-dispatcher.h
8248                 - Remove, unused
8249
8250 2007-09-14  Dan Williams  <dcbw@redhat.com>
8251
8252         Implement deferred activation support in the device class.
8253
8254         * src/nm-device-interface.c
8255           src/nm-device-interface.h
8256                 - (nm_device_interface_activate): take more arguments to support
8257                         deferred activation; callers must pass one of (connection) OR
8258                         (service_name, connection_path)
8259                 - (impl_device_activate): connection validation is punted to the device
8260                         to be able to handle deferred activation.  Yes, this means errors
8261                         don't get returned from the Activate() dbus call, and yes, that
8262                         should be fixed somehow later.
8263
8264         * src/nm-device.c
8265           src/nm-device.h
8266                 - (clear_act_request): clear additional deferred activation stuff too
8267                 - (deferred_activation_timeout_cb): new function; clean up when
8268                         deferred activation times out.
8269                 - (deferred_activation_start_cb): new function; when the connection
8270                         finally becomes available, start device activation
8271                 - (nm_device_activate): attach to the right signals of the activation
8272                         request if we need to defer activation until the connection is valid
8273
8274         * src/NetworkManagerPolicy.c
8275                 - (nm_policy_device_change_check): update for additional arguments
8276                         required for nm_device_interface_activate().  Pass NULL for these
8277                         though because this function already knows exactly which
8278                         NMConnection to use
8279
8280 2007-09-14  Dan Williams  <dcbw@redhat.com>
8281
8282         Implement deferred activation handling in the NMActRequest class.  When a
8283         client wants to activate a device but must create the NMConnection details
8284         on the fly, there likely hasn't been enough time yet for NM to receive the
8285         new connection signal and grab all the connection details.  So the
8286         activation is deferred (and bounded by a timer) for a while, and if the
8287         connection appears within the window, it is activated.
8288
8289         * src/nm-activation-request.c
8290           src/nm-activation-request.h
8291                 - (nm_act_request_class_init): two new signals to support deferred
8292                         activation, to allow the listener to handle both timeout and success
8293                 - (nm_act_request_new_deferred): new function, starts the deferred
8294                         activation timeout handler and listens to the NMManager for
8295                         new-connection signals to notice when the connection comes in
8296
8297 2007-09-14  Dan Williams  <dcbw@redhat.com>
8298
8299         * src/nm-manager.h
8300           src/nm-manager.c
8301                 - (nm_manager_get_connection_service_name,
8302                    nm_manager_get_connection_dbus_path): get details about a connection
8303                         known internally by the NMManager
8304                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8305                         because NMConnection is now a GObject subclass
8306                 - Use constant for the gobject data tag used on NMConnection objects for
8307                         storing the associated DBusGProxy
8308
8309 2007-09-14  Dan Williams  <dcbw@redhat.com>
8310
8311         * utils/Makefile.am
8312           utils/nm-utils.c
8313           utils/nm-utils.h
8314           src/supplicant-manager/Makefile.am
8315           src/dhcp-manager/Makefile.am
8316           src/backends/Makefile.am
8317           src/named-manager/Makefile.am
8318           src/ppp-manager/Makefile.am
8319           src/vpn-manager/Makefile.am
8320           test/libnm-util/Makefile.am
8321           test/test-common/Makefile.am
8322                 - Remove utils/; it was unused
8323
8324 2007-09-13  Dan Williams  <dcbw@redhat.com>
8325
8326         * libnm-glib/nm-vpn-manager.h
8327           libnm-glib/nm-vpn-manager.c
8328                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8329
8330 2007-09-13  Dan Williams  <dcbw@redhat.com>
8331
8332         * src/nm-device-802-3-ethernet.c
8333                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8334                         netlink monitor carrier signals on dispose, not bring down.  The
8335                         carrier signals should be handled over the entire lifetime of the
8336                         device anyway, not created/destroyed on up or down.
8337
8338 2007-09-13  Dan Williams  <dcbw@redhat.com>
8339
8340         * libnm-glib/nm-device.c
8341           libnm-glib/nm-device.h
8342                 - (nm_device_activate): take a connection object path rather than an
8343                         NMConnection because NMConnection isn't exported over D-Bus and
8344                         therefore it dbus-glib can't automatically get an object path from it
8345
8346 2007-09-13  Dan Williams  <dcbw@redhat.com>
8347
8348         * libnm-util/nm-setting.c
8349                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8350
8351 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8352
8353         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8354
8355 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8356
8357         * src/vpn-manager/nm-vpn-connection.[ch]: 
8358         * src/vpn-manager/nm-vpn-manager.[ch]:
8359         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8360         dbus-glib, GObjects, signals etc.
8361
8362         * libnm-glib/nm-vpn-manager.[ch]: 
8363         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8364         so much, rewrite these too.
8365
8366         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8367         the new introspection files.
8368
8369         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8370
8371         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8372         the header with the same name from libnm-utils.
8373
8374         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8375
8376         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8377
8378         * introspection/nm-vpn-plugin.xml: Implement.
8379
8380         * introspection/nm-vpn-connection.xml: Implement.
8381
8382         * introspection/nm-vpn-manager.xml: Implement.
8383
8384         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8385         the named manager argument, it can just as easily get it as the caller.
8386         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8387
8388         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8389
8390         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8391
8392         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8393         libnm-utils.
8394
8395         * libnm-util/nm-connection.c: Ditto.
8396
8397         * src/NetworkManagerMain.h: Remove, it's finally empty.
8398
8399         * configure.in: Remove utils/ from build.
8400
8401         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8402         of hard-coded strings.
8403
8404         * utils/: Move it over to libnm-util.
8405
8406         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8407
8408         * dispatcher-daemon/Makefile.am: Ditto.
8409
8410         * src/Makefile.am: Ditto.
8411
8412 2007-09-12  Dan Williams  <dcbw@redhat.com>
8413
8414         Wireless connections can be made with config data from the applet now.
8415         
8416         Yay.
8417
8418         * src/supplicant-manager/nm-supplicant-config.h
8419           src/supplicant-manager/nm-supplicant-config.c
8420                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8421                 - (nm_supplicant_config_add_setting_wireless,
8422                    nm_supplicant_config_add_setting_wireless_security): new functions;
8423                         add key/value pairs from the settings objects to the supplicant
8424                         config
8425
8426         * src/nm-device-802-11-wireless.c
8427                 - (cull_scan_list): fix check to not prune currently associated AP
8428                 - (build_supplicant_config, real_act_stage2_config): call the functions
8429                         of the NMSupplicantConfig that parse settings objects rather than
8430                         doing it manually here
8431
8432 2007-09-12  Dan Williams  <dcbw@redhat.com>
8433
8434         * src/supplicant-manager/nm-supplicant-interface.c
8435           src/supplicant-manager/nm-supplicant-marshal.list
8436                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8437                         "connection-error" signal arguments should be STRING not CHAR
8438
8439 2007-09-12  Dan Williams  <dcbw@redhat.com>
8440
8441         * src/NetworkManagerUtils.c
8442           src/NetworkManagerUtils.h
8443                 - (nm_utils_hexstr2bin): new function
8444
8445 2007-09-11  Dan Williams  <dcbw@redhat.com>
8446
8447         * src/nm-manager.c
8448                 - (connection_get_settings_cb): emit connection-added signal
8449                 - (connection_removed_cb): uncomment bits for system settings service,
8450                         send connection-removed when appropriate
8451                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8452                         the stack by trying to g_object_set_data() on something that's
8453                         not a GObject; handle case where settings service returns
8454                         empty settings hash table
8455
8456 2007-09-11  Dan Williams  <dcbw@redhat.com>
8457
8458         * src/NetworkManagerPolicy.c
8459                 - (connection_added, connection_removed): trigger device change checks
8460                         on connection changes
8461
8462 2007-09-11  Dan Williams  <dcbw@redhat.com>
8463
8464         * src/nm-activation-request.c
8465                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8466
8467 2007-09-11  Dan Williams  <dcbw@redhat.com>
8468
8469         * src/nm-device-802-11-wireless.c
8470                 - (real_connection_secrets_updated): fix erroneous check
8471
8472 2007-09-11  Dan Williams  <dcbw@redhat.com>
8473
8474         * introspection/nm-device.xml
8475           libnm-glib/nm-device.c
8476           libnm-glib/nm-device.c
8477                 - Fix Activate call argument borkage; Activate takes 3 arguments
8478
8479 2007-09-11  Dan Williams  <dcbw@redhat.com>
8480
8481         * libnm-glib/nm-access-point.c
8482           libnm-glib/nm-access-point.c
8483                 - (nm_access_point_get_frequency): now returns guint32 to match
8484                         property change on 2007-09-10
8485
8486 2007-09-11  Dan Williams  <dcbw@redhat.com>
8487
8488         * src/nm-device-802-11-wireless.c
8489                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8490                         somewhere defines 'index' and I missed this one when I fixed the
8491                         shadow declaration errors earlier
8492
8493 2007-09-11  Dan Williams  <dcbw@redhat.com>
8494
8495         * libnm-util/nm-connection.c
8496                 - (nm_connection_update_secrets, need_secrets_check): move
8497                         802-11-wireless-security need_secrets checks to the setting object
8498                         itself, where it belongs
8499
8500         * libnm-util/nm-setting.c
8501           libnm-util/nm-setting.h
8502                 - (nm_setting_need_secrets): new function
8503                 - (setting_wireless_security_verify,
8504                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8505                 - (setting_wireless_security_need_secrets): mostly copy code over
8506                         from nm-connection.c
8507
8508 2007-09-11  Dan Williams  <dcbw@redhat.com>
8509
8510         * libnm-util/nm-setting.c
8511           libnm-util/nm-setting.h
8512                 - (nm_setting_update_secrets): new function; add a virtual function that
8513                         subclasses can implement to update their secrets
8514                 - (setting_wireless_security_update_secrets): implement that function
8515                         for the 802-11-wireless-security subclass
8516
8517         * libnm-util/nm-connection.c
8518           libnm-util/nm-connection.h
8519                 - (nm_connection_update_secrets): update secrets for a Setting and
8520                         emit a signal on success
8521
8522         * src/nm-manager.c
8523           src/nm-manager.h
8524           src/nm-marshal.list
8525                 - (connection_get_settings_cb): enable system settings bits
8526                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8527                         to request secrets from the settings dbus service and to
8528                         push those secrets to the NMConnection itself
8529
8530         * src/nm-activation-request.c
8531           src/nm-activation-request.h
8532                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8533                         currently being activated, and proxy that signal to other listeners.
8534                         Goes through the activation request because the activation request
8535                         is the thing that manages the lifetime of the NMConnection that's
8536                         being activated.
8537
8538         * src/nm-device-802-11-wireless.c
8539                 - (real_connection_secrets_updated): implement the connection secrets
8540                         updated notification and restart activation when secrets are
8541                         received
8542                 - (real_act_stage2_config): request secrets from the settings dbus
8543                         service if secrets are needed
8544
8545         * src/nm-device.c
8546           src/nm-device.h
8547                 - (clear_act_request, nm_device_activation_cancel,
8548                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8549                         where the activation request is cleared
8550                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8551                         updated secrets signal of activation request and add a function
8552                         that subclasses can override to handle it easily
8553
8554 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8555
8556         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8557         removal of NetworkManagerAPList.
8558
8559 2007-09-10  Dan Williams  <dcbw@redhat.com>
8560
8561         * src/NetworkManagerAP.c
8562           src/NetworkManagerAP.h
8563           introspection/nm-access-point.xml
8564                 - Change 'freq' property to a guint32 instead of a double since we
8565                         weren't using the floating point bits anyway
8566
8567 2007-09-10  Dan Williams  <dcbw@redhat.com>
8568
8569         * NetworkManagerAP.c
8570           NetworkManagerAP.h
8571           NetworkManagerPolicy.c
8572           NetworkManagerSystem.c
8573           NetworkManagerUtils.c
8574           NetworkManagerUtils.h
8575           nm-device-802-11-wireless.c
8576           nm-device-802-3-ethernet.c
8577           nm-hal-manager.c
8578           nm-manager.c
8579           vpn-manager/nm-dbus-vpn.c
8580                 - Warning fixes; casts and removal of unused variables
8581
8582 2007-09-10  Dan Williams  <dcbw@redhat.com>
8583
8584         * include/NetworkManager.h
8585                 - Kill NMNetworkType; AP types don't matter any more
8586
8587         * src/NetworkManagerAPList.c
8588           src/NetworkManagerAPList.h
8589           src/Makefile.am
8590                 - Kill; NMAccessPointList has outlived it's usefulness
8591
8592         * src/NetworkManagerAP.c
8593           src/NetworkManagerAP.h
8594                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8595                         functions; check if an NMConnection object is compatible with the
8596                         settings of this AP
8597                 - (freq_to_channel, channel_to_freq): utility functions for
8598                         channel <-> frequency conversion
8599
8600         * src/nm-device.c
8601           src/nm-device.h
8602                 - (nm_device_get_best_connection): pass the specific object around
8603                          (which might be the object path of a specific AP to connect to).
8604                          The get_best_connection() call should populate this on return
8605                          if needed (wireless does).
8606
8607         * src/nm-device-802-3-ethernet.c
8608                 - (real_get_best_connection): handle specific_object argument
8609
8610         * src/NetworkManager.c
8611           src/NetworkManagerMain.h
8612                 - Remove unused includes
8613
8614         * src/nm-device-802-11-wireless.c
8615           src/nm-device-802-11-wireless.h
8616                 - Convert the ap_list into a GSList from an NMAccessPointList
8617                 - No need for caching the 'activation_ap' since this is now determined
8618                         from the specific_object of the activation request, which is
8619                         populated from the get_best_connection() call or from a user request
8620                 - (nm_device_802_11_wireless_update_bssid): fix warning
8621                 - (get_wireless_capabilities): fix error message format arguments
8622                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8623                 - (find_best_connection, real_get_best_connection): implement
8624                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8625                         move here from NetworkManagerAPList
8626                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8627                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8628                         already verified earlier
8629                 - (real_act_stage2_config): use nm_connection_need_secrets()
8630
8631         * src/NetworkManagerPolicy.c
8632                 - (nm_policy_auto_get_best_device): handle specific objects
8633                 - (create_connection): remove; automatic connection creation functionality
8634                         is handled by the Connection objects
8635                 - (nm_policy_device_change_check): handle specific_object
8636
8637         * libnm-util/nm-connection.c
8638                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8639
8640 2007-09-10  Dan Williams  <dcbw@redhat.com>
8641
8642         * src/nm-manager.c
8643                 - (query_connections): fix uninitialized variable problem that caused
8644                         segfault
8645                 - (nm_manager_add_device): take devices down on startup so that we can
8646                         be assured that nm_device_is_up() won't short-circuit the init
8647                         process.  Hack until the is_up check gets split into two pieces
8648                         that aren't behaviorally confusing.
8649
8650 2007-09-09  Dan Williams  <dcbw@redhat.com>
8651
8652         * introspection/nm-device.xml
8653                 - The 'Activate' method now takes 3 arguments, a service name for the
8654                 settings service (user or system), the object path of the connection
8655                 to activate, and the specific object to activate, if any
8656
8657         * src/nm-device-interface.c
8658                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8659                 Add error bits
8660                 - (impl_device_activate): adapt to new Activate arguments; validate
8661                 the service name and get the Connection object from the NMManager
8662                 before starting to activate the device with the specified connection
8663
8664         * src/nm-device-802-3-ethernet.c
8665                 - (real_get_best_connection): find the best connection, or create a
8666                 default one if no existing connections can be used
8667
8668         * src/NetworkManagerPolicy.c
8669                 - (nm_policy_auto_get_best_device): Get the device's best connection
8670                 and only pick the device if it has one
8671                 - (nm_policy_device_change_check): disable wireless bits for now until
8672                 wireless get_best_connection() can be implemented (replacing "best_ap");
8673                 don't create a default connection here as the device subclass will do
8674                 that if needed
8675
8676         * src/nm-manager.h
8677           src/nm-manager.c
8678                 - (nm_manager_get): make NMManager a singleton and expose the getter
8679                 internally
8680                 - Rework internal NMManager connection handling to use the same
8681                 routines for both the system and user settings services.  Most calls
8682                 take a new NMConnectionType argument specifying either system or user
8683                 connections
8684                 - (nm_manager_get_connection_by_object_path): new function; get a
8685                 connection keyed on its object path
8686
8687         * src/NetworkManager.c
8688                 - (main): use nm_manager_get()
8689
8690 2007-09-09  Dan Williams  <dcbw@redhat.com>
8691
8692         * src/nm-device.h
8693           src/nm-device.c
8694                 - (nm_device_get_best_connection): new function; get best connection
8695                         for the device at that time
8696
8697 2007-09-09  Dan Williams  <dcbw@redhat.com>
8698
8699         * src/nm-device-interface.h
8700                 - Add NMDeviceInterfaceError with an UnknownConnection error
8701
8702 2007-09-09  Dan Williams  <dcbw@redhat.com>
8703
8704         Stupid mistake on my part; object path and interface for settings service
8705         and connection objects can be the same, only the service name must be
8706         different for the system and user settings services.
8707
8708         * include/NetworkManager.h
8709           src/nm-manager.c
8710           introspection/nm-settings-connection.xml
8711           introspection/nm-settings.xml
8712           libnm-glib/nm-settings.c
8713                 - (nm_connection_settings_init, query_user_connections,
8714                    new_connection_cb): Unify NetworkManagerSettings and Connection
8715                    interface name and object path
8716
8717 2007-09-06  Dan Williams  <dcbw@redhat.com>
8718
8719         * libnm-glib/nm-object.c
8720                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8721                    nm_object_get_int_property, nm_object_get_uint_property,
8722                    nm_object_get_boolean_property, nm_object_get_byte_property,
8723                    nm_object_get_double_property, nm_object_get_byte_array_property):
8724                         clear GValues after copying their contents, fixes memory leaks
8725                         after every property access because dbus-glib copies the values
8726                         from the DBusMessage into the GValue already.
8727
8728 2007-09-06  Dan Williams  <dcbw@redhat.com>
8729
8730         * introspection/nm-access-point.xml
8731                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8732                         them to be.  There's some magic property name parsing going on in
8733                         dbus-glib that breaks up property names based on studly-caps and
8734                         puts - between words.
8735
8736         * libnm-glib/nm-access-point.c
8737                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8738                         Fix property names
8739
8740 2007-09-06  Dan Williams  <dcbw@redhat.com>
8741
8742         * src/nm-manager.c
8743                 - (nm_manager_user_connections_destroy): clear the user connections hash
8744                         table, don't destroy it
8745                 - (finalize): only destroy the hash table on NMManager finalization
8746
8747 2007-09-02  Dan Williams  <dcbw@redhat.com>
8748
8749         * include/NetworkManager.h
8750           libnm-glib/nm-settings.c
8751                 - defines for the user settings daemon D-Bus bits
8752
8753         * src/NetworkManager.c
8754                 - Remove stuff that referred to the old NetworkManagerInfo service
8755
8756         * src/vpn-manager/nm-dbus-vpn.h
8757                 - Move old NMI defines to the only place they are used still
8758
8759         * libnm-util/nm-connection.c
8760           libnm-util/nm-connection.h
8761           src/nm-activation-request.c
8762                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8763
8764         * src/nm-manager.c
8765           src/nm-manager.h
8766                 - Get connections and their settings from the user settings daemon
8767                         at the appropriate times
8768
8769 2007-09-02  Dan Williams  <dcbw@redhat.com>
8770
8771         * libnm-util/nm-setting.c
8772                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8773                 - (setting_wireless_hash): set the right value on the item
8774
8775 2007-09-02  Dan Williams  <dcbw@redhat.com>
8776
8777         * test/Makefile.am
8778           test/nminfotest.c
8779                 - Remove, no longer useful
8780
8781 2007-08-30  Dan Williams  <dcbw@redhat.com>
8782
8783         * src/Makefile.am
8784           src/NetworkManagerDbus.c
8785           src/NetworkManagerDbus.h
8786           src/vpn-manager/nm-dbus-vpn.c
8787                 - Remove, no longer necessary.  Move last bits to the only place its
8788                 used, in nm-dbus-vpn.c
8789
8790         * src/NetworkManagerAPList.c
8791           src/nm-device.c
8792           src/NetworkManager.c
8793           src/nm-device-802-11-wireless.c
8794           src/vpn-manager/nm-vpn-manager.c
8795           src/vpn-manager/nm-vpn-service.c
8796           src/NetworkManagerPolicy.c
8797           src/nm-manager.c
8798                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8799                 that was message_is_error()
8800
8801 2007-08-30  Dan Williams  <dcbw@redhat.com>
8802
8803         * libnm-util/sha1.c
8804                 - Include config.h to get defines for endiannes (gnome.org #420216)
8805
8806 2007-08-30  Dan Williams  <dcbw@redhat.com>
8807
8808         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8809
8810         * src/ppp-manager/Makefile.am
8811                 - use -fPIC (gnome.org #471825)
8812
8813 2007-08-29  Dan Williams  <dcbw@redhat.com>
8814
8815         * include/NetworkManager.h
8816                 - Keep NMConnection object path in sync
8817
8818         * libnm-glib/nm-settings.c
8819           libnm-glib/nm-settings.h
8820                 - Break D-Bus object registration out of the init function, because
8821                 every object that's exported over D-Bus needs to use the _same_
8822                 DBusConnection.  Otherwise, each object would get a different object
8823                 path tree and wouldn't be callable.
8824
8825 2007-08-29  Dan Williams  <dcbw@redhat.com>
8826
8827         * libnm-util/nm-setting.h
8828           libnm-util/nm-setting.c
8829           libnm-util/nm-connection.c
8830           src/NetworkManagerPolicy.c
8831                 - 'info' settings object should be 'connection' says the spec
8832                 at NetworkManagerConfigurationSpecification
8833
8834 2007-08-29  Dan Williams  <dcbw@redhat.com>
8835
8836         * libnm-glib/nm-settings.c
8837           libnm-glib/nm-settings.h
8838                 - make the dbus path a property of the object, and autogenerate it.
8839                 It can't be composed of the 'id' field becuase that's not available
8840                 yet during the GObject creation in nm_connection_settings_init()
8841
8842 2007-08-29  Dan Williams  <dcbw@redhat.com>
8843
8844         * introspection/nm-settings-connection.xml
8845           introspection/nm-settings.xml
8846                 - Service name -> NetworkManagerUserSettings because two services
8847                 can't share part of the same path.  I'm not really sure how we'll use
8848                 the same code with the system-settings daemon...
8849
8850 2007-08-28  Dan Williams  <dcbw@redhat.com>
8851
8852         * src/nm-device-interface.c
8853           src/nm-device-interface.h
8854                 - Kill one more bit of NMData
8855
8856 2007-08-28  Dan Williams  <dcbw@redhat.com>
8857
8858         * src/NetworkManagerSystem.h
8859           src/nm-device.c
8860           src/nm-device.h
8861           src/nm-hal-manager.c
8862           src/NetworkManager.c
8863           src/nm-device-802-11-wireless.c
8864           src/nm-hal-manager.h
8865           src/nm-device-802-3-ethernet.c
8866           src/vpn-manager/nm-vpn-service.h
8867           src/vpn-manager/nm-vpn-manager.c
8868           src/vpn-manager/nm-vpn-manager.h
8869           src/vpn-manager/nm-vpn-service.c
8870           src/nm-device-802-11-wireless.h
8871           src/NetworkManagerMain.h
8872           src/nm-device-802-3-ethernet.h
8873           src/backends/NetworkManagerGentoo.c
8874           src/backends/NetworkManagerPaldo.c
8875           src/backends/NetworkManagerFrugalware.c
8876           src/backends/NetworkManagerRedHat.c
8877           src/backends/NetworkManagerSlackware.c
8878           src/backends/NetworkManagerGeneric.c
8879           src/backends/NetworkManagerArch.c
8880           src/backends/NetworkManagerSuSE.c
8881           src/backends/NetworkManagerGeneric.h
8882           src/backends/NetworkManagerDebian.c
8883                 - Kill NMData
8884
8885 2007-08-28  Dan Williams  <dcbw@redhat.com>
8886
8887         * src/NetworkManagerMain.h
8888           src/nm-device-802-11-wireless.c
8889           src/NetworkManager.c
8890                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8891                 for now we should set the 'invalid' property on individual APs, and when
8892                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8893                 that ESS
8894
8895 2007-08-28  Dan Williams  <dcbw@redhat.com>
8896
8897         * src/NetworkManagerAP.c
8898           src/NetworkManagerAP.h
8899                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8900                         'autoconnect' property instead
8901
8902         * src/NetworkManager.c
8903           src/NetworkManagerMain.h
8904           src/NetworkManagerPolicy.c
8905           src/NetworkManagerPolicy.h
8906                 - Remove the 'allowed_ap_list', which should be replaced by 
8907                         NMConnection/NMSettings instead, since _those_ are the allowed
8908                         things that NM can connect to
8909
8910         * src/nm-device-802-11-wireless.c
8911                 - Remove both allowed_ap_list usage and 'fallback' checking
8912
8913 2007-08-28  Dan Williams  <dcbw@redhat.com>
8914
8915         * src/nm-device.c
8916           src/named-manager/nm-named-manager.c
8917           src/named-manager/nm-named-manager.h
8918           src/NetworkManager.c
8919           src/vpn-manager/nm-vpn-manager.c
8920           src/NetworkManagerMain.h
8921           src/NetworkManagerSystem.c
8922                 - Remove the named-manager object from NMData structure in preparation
8923                 for NMData's timely death.  Make the NMNamedManager the singleton that
8924                 it really is
8925
8926 2007-08-28  Dan Williams  <dcbw@redhat.com>
8927
8928         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8929         each AP's capabilities, and by NMConnection/NMSettings objects for user
8930         defined connections.
8931
8932         * include/NetworkManager.h
8933                 - Redefine 802.11 security properties.  There are now device capabilities
8934                         and AP flags and AP security flags.  It was way to unclear before.
8935
8936         * src/Makefile.am
8937           src/nm-ap-security-leap.h
8938           src/nm-ap-security-leap.c
8939           src/nm-ap-security-wpa-eap.c
8940           src/nm-ap-security-wpa-eap.h
8941           src/nm-ap-security-private.h
8942           src/nm-ap-security-wpa-psk.c
8943           src/nm-ap-security-wpa-psk.h
8944           src/nm-ap-security-wep.c
8945           src/nm-ap-security-wep.h
8946           src/nm-ap-security.c
8947           src/nm-ap-security.h
8948                 - Removed, to be replaced with NMConnection/NMSettings objects
8949
8950         * src/nm-dbus-nmi.c
8951           src/nm-dbus-nmi.h
8952                 - Removed, to be replaced by code that talks to the new info daemon
8953                         interface and gets NMConnection/NMSettings objects
8954
8955         * src/backends/NetworkManagerSuSE.c
8956                 - Remove usage of NMAPSecurity; should be replaced by a system-level
8957                         info-daemon that does the same thing but talks the new info-daemon
8958                         D-Bus interface
8959
8960         * src/NetworkManagerAP.h
8961           src/NetworkManagerAP.c
8962           src/NetworkManagerAPList.c
8963           libnm-glib/libnm-glib-test.c
8964                 - Remove usage of NMAPSecurity objects and adjust to new flags for
8965                         WPA/RSN
8966
8967         * libnm-glib/nm-access-point.c
8968           libnm-glib/nm-access-point.h
8969           introspection/nm-access-point.xml
8970           test/nm-tool.c
8971                 - Adjust to new flags for AP security
8972
8973         * utils/nm-utils.c
8974           utils/nm-utils.h
8975           src/vpn-manager/nm-dbus-vpn.c
8976                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8977                         stuff which is the only place it's used
8978
8979         * src/nm-device-interface.c
8980           src/nm-device-interface.h
8981           introspection/nm-device.xml
8982           src/nm-activation-request.c
8983           src/nm-activation-request.h
8984           src/nm-device.c
8985                 - Add a new 'specific_object' argument that hints to NM what actual
8986                         AP or other device-specific thing the connection should apply to.
8987                         NMConnection objects can apply to more than one actual device/AP.
8988
8989         * libnm-util/nm-connection.c
8990         * libnm-util/nm-connection.h
8991                 - Add 'have_secrets" call stubs
8992
8993         * libnm-util/cipher.h
8994                 - Move NM_AUTH_TYPE_* defines here for now
8995
8996         * src/nm-device-802-11-wireless.c
8997                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8998                         NMSettings objects
8999
9000         * src/NetworkManagerDbus.c
9001         * src/NetworkManagerPolicy.c
9002                 - Remove usage of update_allowed_networks, should be pushing data in
9003                         a different manner
9004
9005 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9006
9007         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9008         dbus-glib frees it when the call is done.
9009
9010 2007-08-26  Dan Williams  <dcbw@redhat.com>
9011
9012         * introspection/nm-device.xml
9013                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9014
9015 2007-08-26  Dan Williams  <dcbw@redhat.com>
9016
9017         * src/nm-device-802-3-ethernet.c
9018                 - (constructor): move connection of interface-connected/disconnected
9019                         signals here from real_bring_up().  Should be listening to netlink
9020                         for carrier events no matter what the initial state of the device
9021                         is.
9022
9023 2007-08-26  Dan Williams  <dcbw@redhat.com>
9024
9025         * src/nm-netlink-monitor.c
9026                 - (nm_netlink_monitor_class_init): fix marshalling types for
9027                         interface-connected/interface-disconnected
9028                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9029                         check
9030
9031 2007-08-26  Dan Williams  <dcbw@redhat.com>
9032
9033         Convert to using interface indexes as the primary method of identifying
9034         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9035         be renamed at any time.  Device object paths now refer to the device
9036         index rather than the name, and you can map those two manually if you like
9037         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9038         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9039         to use interface indexes rather than names.
9040
9041 2007-08-26  Dan Williams  <dcbw@redhat.com>
9042
9043         * src/nm-netlink-monitor.h
9044                 - Remove one last bit of wireless-event signal
9045
9046 2007-08-26  Dan Williams  <dcbw@redhat.com>
9047
9048         * src/nm-netlink-monitor.c
9049                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9050                         don't need the 'wireless-event' signal anymore since that's all
9051                         handled by wpa_supplicant
9052
9053 2007-08-25  Dan Williams  <dcbw@redhat.com>
9054
9055         It's 2007. Remove support for drivers that don't support wireless scanning.
9056
9057         * test/nm-tool.c
9058           include/NetworkManager.h
9059           src/NetworkManagerUtils.c
9060           src/NetworkManagerPolicy.c
9061           src/nm-device-802-11-wireless.c
9062                 - Remove special handling for non-scanning devices and mark them
9063                         as unsupported/unhandled
9064
9065 2007-08-20  Dan Williams  <dcbw@redhat.com>
9066
9067         * src/nm-device-802-11-wireless.c
9068           src/nm-device-802-3-ethernet.c
9069                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9070                         because when the card is pulled or the module removed, the device
9071                         is already !IFF_UP and then device-specific cleanup (removing
9072                         the supplicant interface, periodic checks, etc) never gets done
9073
9074 2007-08-20  Dan Williams  <dcbw@redhat.com>
9075
9076         * src/nm-manager.c
9077                 - (nm_manager_remove_device): bring device down before disconnecting
9078                         signal handlers, so that the 'state' signal will get broadcast when
9079                         the device enters the DOWN state
9080                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9081                         of states that cause the NMManager to recheck its state
9082
9083 2007-08-20  Dan Williams  <dcbw@redhat.com>
9084
9085         * src/supplicant-manager/nm-supplicant-interface.c
9086                 - (interface_disconnect_done): don't try to dispose of the net proxy
9087                         when it may already have been disposed of
9088
9089 2007-08-20  Dan Williams  <dcbw@redhat.com>
9090
9091         * src/nm-device-802-11-wireless.c
9092                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9093                         the SSID isn't available; this can happen when the card is pulled
9094                         or the module unloaded, during the post-removal deactivation
9095                         paths, when the ioctl returns ENODEV
9096
9097 2007-08-20  Dan Williams  <dcbw@redhat.com>
9098
9099         * src/nm-device-802-11-wireless.c
9100                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9101                         frequency, and mode match.  Applets are now responsible for grouping
9102                         access points
9103
9104 2007-08-20  Dan Williams  <dcbw@redhat.com>
9105
9106         * src/NetworkManagerAP.c
9107         * src/NetworkManagerAP.h
9108                 - (nm_ap_print_self): new function
9109
9110         * src/NetworkManagerAPList.c
9111                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9112                         to do it all here
9113         
9114 2007-08-17  Dan Williams  <dcbw@redhat.com>
9115
9116         * src/nm-device-802-3-ethernet.c
9117                 - (real_bring_down): don't try to dispose of stuff that might not
9118                         exist
9119
9120 2007-08-17  Dan Williams  <dcbw@redhat.com>
9121
9122         * src/NetworkManagerAP.c
9123                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9124                         applet.  This ensures that the case between the seen-bssids and
9125                         the bssids reported by the driver match.
9126
9127 2007-08-17  Dan Williams  <dcbw@redhat.com>
9128
9129         * src/nm-device-802-11-wireless.c
9130                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9131                         we dispose of the interface proxy in NM
9132
9133 2007-08-16  Dan Williams  <dcbw@redhat.com>
9134
9135         * libnm-glib/nm-client.c
9136                 - (nm_client_init): create VPN connections hash table with key free
9137                         function
9138                 - (proxy_vpn_connection_added): VPN connections hash table key should
9139                         be a duplicated value, not the same memory address as the VPN
9140                         connection name.  This is because the VPN connection name could
9141                         potentially be freed and set to something else during the lifetime
9142                         of the NMVPNConnection object.
9143
9144 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9145
9146         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9147         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9148         with the file descriptors. Send a child setup function to change the pppd
9149         progress group.
9150
9151 2007-08-15  Dan Williams  <dcbw@redhat.com>
9152
9153         * src/supplicant-manager/nm-supplicant-interface.c
9154                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9155                         an interface
9156                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9157                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9158                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9159                         the interface internally
9160
9161 2007-08-15  Dan Williams  <dcbw@redhat.com>
9162
9163         * src/nm-device-802-11-wireless.c
9164                 - (real_bring_down): move most of this function into device_cleanup()
9165                         so that it can be called from elsewhere
9166                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9167                         and stuff on dispose.  These would normally get cleaned up when
9168                         the device is marked down and deactivated, but when the device is
9169                         hot-unplugged, it's already down and real_down() never gets run
9170
9171 2007-08-15  Dan Williams  <dcbw@redhat.com>
9172
9173         * src/nm-dbus-nmi.c
9174                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9175                         caused a reference leak on device for which NM requested a key
9176
9177 2007-08-15  Dan Williams  <dcbw@redhat.com>
9178
9179         * libnm-glib/nm-client.c
9180                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9181
9182 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9183
9184         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9185         nothing is using it at the moment, but it'll be all useful and stuff later on.
9186
9187         * libnm-util/nm-setting.h: Define NMSettingPPP.
9188
9189         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9190
9191         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9192
9193         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9194
9195         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9196
9197         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9198
9199 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9200
9201         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9202
9203         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9204         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9205         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9206         name and different arguments and it won't compile anymore. To fix this, we now have
9207         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9208         that is new API + compatibility API and used by the daemon. The other, 
9209         nm-manager-client.xml is only the new API without compatibility bits and is used
9210         by libnm-glib to make it compile.
9211
9212         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9213
9214         * src/nm-manager.c (impl_manager_legacy_sleep)
9215         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9216         interface functions for 0.6 branch.
9217
9218 2007-08-14  Dan Williams  <dcbw@redhat.com>
9219
9220         * src/NetworkManagerAP.c
9221                 - (nm_ap_new_from_properties): fix mistaken check of return value
9222                         from memcmp (should expect 0)
9223
9224 2007-08-14  Dan Williams  <dcbw@redhat.com>
9225
9226         (force-commit to fix wrong comment and partial commit of r2685; this
9227          commit actually applies to r2685)
9228
9229         * src/NetworkManagerUtils.c
9230                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9231                         ignores trailing nulls in the SSID to work around mismatches in
9232                         expectations between WEXT and what the info-daemon passes back.  The
9233                         info-daemon would pass back the correct length, but due to the
9234                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9235                         the device would always have an SSID + 1 depending on what versions
9236                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9237                         visible by just quitting the applet and relaunching, which caused
9238                         NM to reassociated to the same network over again when reloading
9239                         the save networks.
9240
9241         * src/NetworkManagerPolicy.c
9242           src/NetworkManagerUtils.h
9243           src/nm-device-802-11-wireless.c
9244                 - Update for new parameter to nm_utils_same_ssid()
9245
9246 2007-08-14  Dan Williams  <dcbw@redhat.com>
9247
9248         * src/NetworkManagerAP.c
9249                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9250                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9251                         setting the BSSID to all 0s.  That confused the heck out of NM,
9252                         plus it's useless and probably out-of-spec.
9253
9254 2007-08-14  Dan Williams  <dcbw@redhat.com>
9255
9256         * callouts/Makefile.am
9257           src/dhcp-manager/nm-dhcp-manager.c
9258           src/dhcp-manager/nm-dhcp-manager.h
9259           src/dhcp-manager/Makefile.am
9260                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9261
9262 2007-08-14  Dan Williams  <dcbw@redhat.com>
9263
9264         * src/dhcp-manager/nm-dhcp-manager.c
9265                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9266                         it's really needed, get rid of unused xtra_args parameter
9267
9268 2007-08-14  Dan Williams  <dcbw@redhat.com>
9269
9270         * include/NetworkManagerVPN.h
9271           src/vpn-manager/nm-dbus-vpn.c
9272           src/vpn-manager/nm-dbus-vpn.h
9273           src/vpn-manager/nm-vpn-act-request.c
9274           src/vpn-manager/nm-vpn-act-request.h
9275           src/vpn-manager/nm-vpn-service.c
9276           src/vpn-manager/nm-vpn-service.h
9277           libnm-glib/nm-vpn-connection.c
9278           libnm-glib/nm-vpn-connection.h
9279           libnm-glib/nm-client.h
9280                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9281                         NMVPNServiceState to clarify what they apply to
9282                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9283                         NMVPNActStage -> NMVPNConnectionState for the same reason
9284
9285         * libnm-glib/nm-client.c
9286                 - Constant + type renames from above
9287                 - Properly handle NameOwnerChanged/manager_running signals
9288                         for NM service; only emit when state really changes
9289                 - Use hash tables correctly so that the key (which was previously owned
9290                         by the D-Bus message) now has the same lifetime as the value, since
9291                         the key is now taken from the the NMVPNConnection itself.  This
9292                         really fixes the double-VPN names in the applet
9293
9294 2007-08-13  Dan Williams  <dcbw@redhat.com>
9295
9296         Patch from Michael Biebl <biebl@debian.org>
9297
9298         * po/POTFILES.in
9299           po/POTFILES.skip
9300                 - Update for vpn-properties move
9301
9302 2007-08-13  Dan Williams  <dcbw@redhat.com>
9303
9304         * libnm-glib/nm-client.c
9305                 - Convert internal VPN connection tracking from a list to a hash table
9306                         to easily avoid duplicates
9307                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9308                         must be freed by the caller, like nm_client_get_devices()
9309                 - (nm_client_remove_vpn_connection): don't let the removal signal
9310                         leak through for NMVPNConnection objects that aren't actually
9311                         tracked.
9312                 - (manager_running): throw away VPN connection list when NM goes away,
9313                         like with the device list
9314
9315 2007-08-13  Dan Williams  <dcbw@redhat.com>
9316
9317         * src/dhcp-manager/nm-dhcp-manager.c
9318                 - Stop any dhclient instance that might be already running for a
9319                         particular interface before starting an NM spawned dhclient.  Fixes
9320                         dhclient processes left over if NM crashes, stuff like that.
9321
9322 2007-08-13  Dan Williams  <dcbw@redhat.com>
9323
9324         * src/NetworkManagerAP.c
9325                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9326                         when the AP wasn't broadcasting it's SSID
9327
9328 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9329
9330         * include/NetworkManager.h: added DBus path for connection settings.
9331
9332         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9333         nm_connection_settings_signal_updated,
9334         nm_connection_settings_signal_removed): new functions to wrap the
9335         objects' signals.
9336         (nm_connection_settings_init): register GObject with DBus.
9337         (nm_connection_settings_get_dbus_object_path): new function.
9338
9339         * libnm-glib/Makefile.am: added libnmutil to link flags.
9340
9341 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9342
9343         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9344
9345         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9346         libnm_glib directory got merged with libnm-glib/.
9347
9348         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9349
9350         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9351         Rename the library from libnm-glib to libnm_glib to maintain the library API
9352         compatibility with 0.6 branch.
9353
9354         * Makefile.am: Remove gnome/ SUBDIR.
9355
9356         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9357
9358         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9359
9360         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9361
9362         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9363         anymore.
9364         Remove checks for wpa_supplicant binary, it's used over dbus.
9365         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9366
9367         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9368         Link the binaries with libnm_glib.la.
9369
9370 2007-08-12  Dan Williams  <dcbw@redhat.com>
9371
9372         * src/NetworkManagerPolicy.c
9373                 - (nm_policy_device_change_check): fix policy to deactivate old device
9374                         before activating new one, at least until the multiple active
9375                         device support lands
9376
9377 2007-08-12  Dan Williams  <dcbw@redhat.com>
9378
9379         * src/NetworkManagerPolicy.c
9380                 - (nm_policy_new): hook up to connection-added / connection-removed
9381                         signals instead of connections-changed
9382
9383 2007-08-12  Dan Williams  <dcbw@redhat.com>
9384
9385         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9386         Robert Frank <rfrank@redhat.com>
9387
9388         * src/dhcp-manager/nm-dhcp-manager.c
9389           src/dhcp-manager/nm-dhcp-manager.c
9390           src/nm-device.c
9391                 - Spawn and communicate with dhclient directly, through means of a
9392                 custom dhclient callout script.  Process callout D-Bus signals
9393                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9394                 sent via gobject signals rather than being driven by the dhcp manager
9395                 directly.
9396
9397 2007-08-12  Dan Williams  <dcbw@redhat.com>
9398
9399         * callouts/nm-dhcp-client-action.c
9400                 - (build_message): ignore non-DHCP-related environment variables
9401
9402 2007-08-12  Dan Williams  <dcbw@redhat.com>
9403
9404         * Makefile.am
9405           configure.in
9406           callouts/Makefile.am
9407           callouts/nm-dhcp-client-action.c
9408           callouts/nm-dhcp-client.conf
9409                 - Add dhclient-executed callout that takes the place of dhclient-script
9410                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9411                 NM then listens for
9412
9413 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9414
9415         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9416
9417         * libnm-glib/nm-client.h:
9418         * libnm-glib/nm-object.h:
9419         * libnm-glib/nm-vpn-connection.h:
9420         * libnm-glib/nm-settings.h:
9421         * libnm-glib/nm-device.h:
9422         * libnm-glib/nm-ip4-config.h:
9423         * libnm-glib/nm-access-point.h:
9424         * libnm-glib/nm-device-802-3-ethernet.h:
9425         * libnm-util/nm-setting.h: 
9426         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9427
9428         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9429
9430         * libnm-glib/nm-access-point.c: Strength has type char.
9431
9432         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9433         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9434
9435         * introspection/nm-access-point.xml: Strength property is char, not int.
9436
9437         * src/NetworkManagerAP.c (set_property): Set strength from char.
9438         (get_property): Handle hidden APs (with empty SSID).
9439         Get strength value from char.
9440         (nm_ap_class_init): Strength property has char type.
9441
9442 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9443
9444         * introspection/Makefile.am:
9445         * introspection/nm-settings.xml:
9446         * introspection/nm-settings-connection.xml: added Settings interfaces.
9447
9448         * libnm-glib/nm-settings.[ch]:
9449         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9450         containing the DBus implementation.
9451
9452 2007-07-26  Dan Williams  <dcbw@redhat.com>
9453
9454         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9455
9456         * src/NetworkManagerSystem.c
9457                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9458                         same subnet (#437396)
9459
9460 2007-07-26  Dan Williams  <dcbw@redhat.com>
9461
9462         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9463
9464         * gnome/vpn-properties/nm-vpn-properties.c
9465                 - Fix translatable strings (#445865)
9466
9467 2007-07-26  Dan Williams  <dcbw@redhat.com>
9468
9469         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9470
9471         * configure.in
9472                 - Remove useless junk (#412530)
9473
9474 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9475
9476         Patch from Robert Buchholz <rbu@gentoo.org>:
9477
9478         * configure.in:
9479         * Makefile.am:
9480         * introspection/Makefile.am:
9481         Make make distcheck work again.
9482
9483 2007-06-27  Dan Williams  <dcbw@redhat.com>
9484
9485         * Make SSIDs GByteArrays everywhere
9486         * Rename "essid" -> "ssid" everywhere that's appropriate
9487         * Refcount activation_ap member of the 802.11 wireless device class
9488
9489 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9490
9491         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9492
9493 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9494
9495         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9496         that we got a new AP when we just update existing AP properties.
9497
9498 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9499
9500         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9501
9502         * nm-utils.[ch]: Remove.
9503
9504         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9505         objects for easy property access and dbus connection handling.
9506
9507         * libnm-glib/nm-client.c: Derive from NMObject.
9508
9509         * libnm-glib/nm-device.c: Ditto.
9510
9511         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9512
9513         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9514
9515         * libnm-glib/nm-ip4-config.c: Ditto.
9516
9517         * libnm-glib/nm-access-point.c: Ditto.
9518
9519         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9520         comparision. Currently used by the device activation code to determine if the new
9521         activation is the same as the old one.
9522
9523         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9524         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9525         able to ask password for the AP.
9526
9527         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9528         up if the device is already connected, tear down it's connection (if it isn't the
9529         same as new one) and start the activation.
9530
9531         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9532
9533         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9534         the issue where all APs are always listed as encrypted.
9535
9536         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9537         their own registered paths.
9538
9539         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9540         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9541
9542 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9543
9544         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9545         (0 & 0 == 0, doh)
9546
9547         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9548         because the handling code will cause the next state change and signal listeners
9549         get the signals in wrong order.
9550
9551         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9552         correctly in case of pending activation.
9553
9554         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9555         Convert the essid byte array to string correctly, including the terminating NULL.
9556
9557         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9558         mode with correct types.
9559
9560         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9561         constructed info to dbus call instead of the activation request.
9562
9563 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9564
9565         Patch from Christian Persch <chpe@gnome.org>
9566
9567         * libnm-glib/Makefile.am:
9568         * dispatcher-daemon/Makefile.am:
9569         Use the correct variables, the correct paths, and correct ordering. (446315)
9570
9571 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9572
9573         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9574         argument. The activation request is easy to retrieve.
9575
9576         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9577         just to be a convenient location for devices to store random stuff.
9578
9579 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9580
9581         Patch from Alex Smith <alex@alex-smith.me.uk>
9582
9583         * src/backends/NetworkManagerFrugalware.c:
9584         Update the FrugalWare backend to fix a few segfaults. (#392642)
9585
9586 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9587
9588         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9589
9590         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9591         setting.
9592         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9593
9594 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9595
9596         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9597         automagically.
9598         Implement NMSettingIP4Config.
9599         Finish NMSettingWired by adding all known members.
9600         (setting_wired_verify): Implement.
9601         Finish NMSettingWireless by adding all known members.
9602         (setting_wireless_verify): Implement.
9603
9604         * libnm-util/nm-connection.c: Register "ipv4" setting.
9605         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9606         dump function, we can introspect the GHashTable which is used for sending connections
9607         over dbus.
9608
9609         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9610         Take GByteArray for essid, it's really not a string.
9611
9612         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9613         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9614         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9615         means overriding the values we got from DHCP.
9616         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9617         (nm_device_deactivate_quickly): Ditto.
9618
9619         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9620         for debugging.
9621
9622 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9623
9624         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9625         NMConnection.
9626
9627         * libnm-glib/nm-device-802-11-wireless.c:
9628         (nm_device_802_3_ethernet_activate): Remove.
9629
9630         * libnm-glib/nm-device-802-3-ethernet.c
9631         (nm_device_802_3_ethernet_activate): Remove.
9632
9633         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9634
9635         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9636         NMConnection.
9637
9638         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9639         activation has started.
9640         Implement the new activation using NMConnection.
9641
9642         * src/nm-activation-request.c: Store a generic connection object instead
9643         of a wireless-specific AP.
9644
9645         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9646         on device type, create a device specific connection object suitable for
9647         device activation.
9648
9649         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9650         specific check to validate the connection and on success start the
9651         activation.
9652
9653         * src/nm-device-interface.h: Add a activate virtual function to the
9654         interface definition.
9655
9656         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9657         (impl_device_activate): Implement.
9658
9659         * introspection/nm-device.xml: Add a generic device activation interface
9660         that accepts an abstract NMConnection structure that has device-specific
9661         information in it.
9662
9663         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9664         activation interface.
9665
9666         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9667         activation interface.
9668
9669         * libnm-util/nm-connection.c: 
9670         * libnm-util/nm-connection.h: 
9671         * libnm-util/nm-setting.c:
9672         * libnm-util/nm-setting.h: Add.
9673
9674         * libnm-util/Makefile.am: Build the added files.
9675
9676         * src/nm-dbus-manager.c
9677         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9678         DbusConnection argument from 'name-owner-changed' signal. The manager
9679         is already passed as a first argument to the signal and the connection
9680         is easy enough to get from it.
9681
9682         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9683         Update the signature of the function.
9684
9685         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9686         Ditto.
9687
9688         * src/NetworkManager.c: Ditto.
9689
9690         * src/named-manager/nm-named-manager.c
9691         (nm_named_manager_name_owner_changed): Ditto.
9692
9693         * src/supplicant-manager/nm-supplicant-manager.c
9694         (nm_supplicant_manager_name_owner_changed): Ditto.
9695
9696         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9697
9698         * src/dhcp-manager/nm-dhcp-manager.c
9699         (nm_dhcp_manager_name_owner_changed): Ditto.
9700
9701         * src/nm-hal-manager.c: Add a list of device detectors and creators
9702         to make it easier to add new devices. Each device type has it's own
9703         entry in the table so adding new device types is only a matter of
9704         implementing a couple of functions, one for device detection and the
9705         other for device creation.
9706
9707 2007-04-25  Dan Williams  <dcbw@redhat.com>
9708
9709         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9710                 (gnome.org #432401)
9711
9712 2007-03-30  Dan Williams  <dcbw@redhat.com>
9713
9714         * src/NetworkManagerSystem.c
9715                 - (nm_system_device_set_ip4_route): clean up and fix argument
9716                         to nm_dev_sock_open()
9717
9718 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9719
9720         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9721         data to correct types instead of always using string.
9722
9723         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9724         _not_ have NM_802_11_CAP_PROTO_NONE.
9725         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9726         is not set.
9727
9728 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9729
9730         * libnm-glib/Makefile.am: Fix the build issue.
9731
9732 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9733
9734         * libnm-glib/nm-vpn-connection.h: 
9735         * libnm-glib/nm-vpn-connection.c: Implement.
9736
9737         * libnm-glib/nm-client.c: Add VPN support.
9738
9739         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9740         handler for VPN.
9741
9742         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9743         on DBUS again.
9744
9745 2007-03-26  Dan Williams  <dcbw@redhat.com>
9746
9747         * src/NetworkManagerAPList.c
9748         * src/nm-device-802-11-wireless.c
9749         * src/NetworkManagerAP.c:
9750                 - Store last seen as glong instead of GTimeVal.
9751                 - Fix the upper bound of capabilities, it's a bitfield.
9752
9753 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9754
9755         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9756
9757         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9758         "manager-running" signal that notifies the appearance/disappearance of NM.
9759         (nm_client_sleep): Implement.
9760
9761         * libnm-glib/nm-device.c:
9762         * libnm-glib/nm-device-802-11-wireless.c: 
9763         * libnm-glib/nm-device-802-3-ethernet.c: 
9764
9765         Don't inherit from DBusGProxy, add a proxy to private
9766         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9767         for anything but their own dbus interface. DBusGProxy objects support only one
9768         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9769         interface. The nice side effect of this change is that we do not create a new
9770         DBusGProxy object for each property access.
9771
9772 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9773
9774         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9775         with zeroes before passing them to functions - the functions never do that and
9776         reading the values back may produce wrong values.
9777         (real_bring_up): Store the signal handler id ...
9778         (real_bring_down): ... So that it can be removed here.
9779         Disconnect the supplicant interface here as well.
9780         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9781         from the access point instead of old $device/Networks/$essid.
9782
9783         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9784         device state is connected (instead of just having link/carrier).
9785
9786         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9787         already easily accessible through the device.
9788
9789         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9790         store it within the object.
9791         (nm_ap_get_dbus_path): Export it to public as well.
9792
9793         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9794         of the singleton.
9795
9796 2007-03-12  Dan Williams  <dcbw@redhat.com>
9797
9798         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9799         for non-carrier-detect capable devices, and useless for carrier-detect
9800         devices since we get notifications from netlink about carrier status anyway.
9801
9802         * src/nm-device-802-3-ethernet.c
9803                 - remove 'link_source_id' member from private data
9804                 - (probe_link): remove and collapse into real_update_link()
9805                 - (nm_device_802_3_periodic_update): remove
9806                 - (real_is_up): check for sup_iface rather than link_source_id
9807                 - (real_bring_up): return gboolean for success/fail; require that
9808                         sup_iface be valid for device bringup to succeed
9809                 - (real_bring_down): zero out link signal ids
9810
9811         * src/nm-device.c
9812                 - (nm_device_activate_stage2_device_config): fail activation if device
9813                         bringup fails
9814                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9815                         fails
9816                 - (nm_device_bring_up): return success/fail
9817
9818         * src/nm-device.h
9819                 - bring_up now returns success/fail
9820
9821         * src/nm-device-802-11-wireless.c
9822                 - (real_bring_up): return success from bringup
9823
9824 2007-03-07  Dan Williams  <dcbw@redhat.com>
9825
9826         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9827         * src/nm-ap-security-wpa-psk.c
9828                 - (real_write_supplicant_config): work with PSKs that may contain
9829                         zeros in the binary format rather than treating it as a string
9830
9831 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9832
9833         * libnm-glib/nm-device-802-11-wireless.c
9834         (nm_device_802_11_wireless_get_capabilities): Implement.
9835
9836         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9837
9838         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9839
9840         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9841         reply only if it's not NULL. Not sure why this started happening right now.
9842
9843         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9844         code paths for when devices get removed on shutdown or when a device is just
9845         removed.
9846         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9847         gets freed so any signal from a device (disconnected for instance) would invoke
9848         NMState update which would crash.
9849         (nm_manager_remove_device): Bring the device down when it gets removed.
9850
9851         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9852         the unused dev_type.
9853
9854         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9855         reference to the added device, NMManager will own it (if it wants).
9856
9857         * test/nm-tool.c: Rewrite using libnm-glib.
9858
9859         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9860         We get signalled when it changes.
9861
9862         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9863         when it changes.
9864
9865         * libnm-glib/nm-device.c: Cache the device state property.
9866
9867         * libnm-glib/nm-access-point.c: Cache the strength property.
9868
9869         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9870         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9871         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9872         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9873         the device is down, activating, or activated (in case of A/B/G cards).
9874         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9875         it's all done through supplicant now.
9876
9877         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9878         counting issues with pending calls which caused leaks and crashes when
9879         interface was removed (now that the interface actually gets removed).
9880
9881         * src/nm-call-store.c: Make a copy of data before running a foreach
9882         with user callback on it - The most common usage pattern is to cancel
9883         (and thus remove) all pending calls with foreach which would modify
9884         the hash table we're iterating over.
9885
9886         * src/nm-manager.c: When a device is added, make sure it is "up". When
9887         it's removed or disabled due to disabling wireless or networking, bring
9888         it down.
9889
9890         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9891
9892         * src/nm-device-802-11-wireless.c: 
9893         * src/nm-device-802-3-ethernet.c: 
9894         * src/nm-device.c:
9895                 - Remove "init" virtual function, all gobjects have a place for that
9896                   already (constructor).
9897                 - Replace "start" virtual function with "bring_up", devices can be
9898                   brought up and down more than just on startup now.
9899                 - Add "is_up" virtual function.
9900                 - Implement one way to bring a device down instead of previous 4 different
9901                   ways, each of witch did something different.
9902
9903         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9904         all it needs is the device interface.
9905
9906         Get rid of NMData.dev_list (3 members to go).
9907         Get rif of NMData in a lot of places.
9908
9909         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9910
9911 2007-02-23  Dan Williams  <dcbw@redhat.com>
9912
9913         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9914
9915         * src/NetworkManagerAP.c
9916                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9917                         OR-ing rather than AND-ing
9918
9919 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9920
9921         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9922         "network-removed" signals.
9923
9924         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9925
9926         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9927         when receiving the signal from dbus.
9928
9929         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9930         property.
9931
9932         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9933         deactivation of the previously activated device working again.
9934
9935         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9936         and setter.
9937
9938         * src/nm-device.c (nm_device_is_activated): Remove.
9939         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9940
9941         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9942         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9943         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9944         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9945         Remove NMNetworkStatus and NMActStage enums.
9946
9947 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9948
9949         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9950         Handle device state changes and disconnect VPN if it's device deactivates.
9951
9952         * src/nm-dbus-nm.c: 
9953         * src/nm-dbus-nm.h: 
9954         * src/nm-dbus-device.c: 
9955         * src/nm-dbus-device.c: 
9956         * src/nm-dbus-net.c: 
9957         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9958
9959         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9960
9961         * src/nm-device.c (nm_device_get_by_udi):
9962         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9963         implemented in the correct location (NMManager).
9964         Rip out all the test_device stuff.
9965
9966         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9967         failure handlers, it's all done by NMDevice already.
9968
9969         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9970         Remove the iochannel hack to route the unix signals to the main thread since
9971         we're not threaded anymore.
9972
9973         * src/NetworkManagerAP.c: Implement HWAddress property.
9974
9975         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9976         automatically with dbus-glib.
9977
9978         * src/nm-netlink-monitor.c: 
9979         * src/nm-netlink-monitor.h:
9980                 - Move it low in the class hierarchy, don't reference any NM types.
9981                 - Remove private data from the header.
9982                 - Use type safe checks in public API methods.
9983                 - Make it a singleton so we don't have to pass the single reference around.
9984
9985 2007-02-16  Tambet Ingo  <tambet@ximian.com>
9986
9987         * introspection/nm-ip4-config.xml: Implement.
9988
9989         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9990
9991         * libnm-glib/nm-ip4-config.c:
9992         * libnm-glib/nm-ip4-config.c: Implement.
9993
9994         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9995         securities. APs reference security.
9996
9997         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9998         be exported over DBUS.
9999
10000         * src/nm-device-802-3-ethernet.c: Ditto.
10001
10002         * src/NetworkManagerAP.c:
10003         * src/NetworkManagerAP.h:
10004                 - Convert to GObject, export over DBUS.
10005
10006         * src/nm-ip4-config.h:
10007         * src/nm-ip4-config.h:
10008                 - Convert to GObject, export over DBUS.
10009
10010 2007-02-12  Dan Williams  <dcbw@redhat.com>
10011
10012         Patch from Helmut Schaa <hschaa@suse.de>
10013
10014         * vpn-daemons/pptp/configure.in
10015           vpn-daemons/pptp/Makefile.am
10016           vpn-daemons/openvpn/configure.in
10017           vpn-daemons/openvpn/Makefile.am
10018           vpn-daemons/vpnc/configure.in
10019           vpn-daemons/vpnc/Makefile.am
10020                 - Add --without-gnome switch which disables building gnome bits
10021
10022 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10023
10024         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10025
10026         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10027
10028         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10029         'HwAddress'.
10030
10031         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10032
10033         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10034
10035         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10036
10037         * src/:
10038                 - Remove old low-level dbus interface implementations and replace them
10039                   with dbus-glib one.
10040
10041         * configure.in:
10042                 - Require dbus-glib >= 0.72.
10043                 - Plug in new sources to build.
10044
10045         * libnm-glib/:
10046                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10047                   to make it more convenient to use from GObject based programs.
10048
10049         * introspection/:
10050                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10051
10052 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10053
10054         * src/nm-device-802-11-wireless.c:
10055                 - Add "network-added" and "network-removed" signals.
10056                 - Use gobject boilerplate macros to define the GObject.
10057                 - Implement wireless device activation.
10058                 - Remove activation_failure_handler and activation_success_handler
10059                   and instead listen on state-changed signals and run the same code
10060                   from there.
10061
10062         * src/nm-device.c:
10063                 - Implment NMDeviceInterface::deactivate.
10064                 - Remove activation_failure_handler and activation_success_handler
10065                   virtual methods. Each device which is interested in these events
10066                   can just listen on it's state changed signals.
10067
10068         * src/NetworkManagerPolicy.c:
10069                 - Move a bit more NMData usage to NMManager.
10070                 - Remove activation scheduling bits.
10071                 - Add listeners for wireless device's "network-added" and
10072                   "network-removed" signals.
10073                 - Listen device changed signals and deactivate currently activated
10074                   device when another device start activating (for now).
10075                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10076                   for calling this, the policy code knows exactly when this should happen,
10077                   by listening on events from NMManager and NMDevices.
10078
10079         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10080         Implement.
10081
10082         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10083         method on the specific device instead of going to through policy code
10084         and determining the device type by passed in AP's existance.
10085
10086         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10087         abstract NMDevice deactivation.
10088
10089 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10090
10091         * src/NetworkManager.c:
10092                 - Set up all the shiny new managers.
10093
10094         * src/NetworkManagerPolicy.c:
10095                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10096                   classes to call into policy code, make the policy code kind of like
10097                   a supervisor that monitors what's going on and drives the whole NM.
10098
10099         * src/nm-hal-manager.c: 
10100         * src/nm-hal-manager.h:
10101                 - Collect all libhal code scattered around NM to this one class.
10102                 - Listen libhal and NMManager events and add/remove devices to
10103                   NMManager.
10104
10105         * src/nm-manager.c:
10106         * src/nm-manager.h:
10107                 - Implment a replacement for NMData. NMData is now officially
10108                 deprecated.
10109
10110 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10111
10112         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10113         * src/supplicant-manager/nm-supplicant-interface.h
10114         * src/supplicant-manager/nm-supplicant-interface.c
10115         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10116         argument to boolean from enum.
10117
10118         Make NMDevice abstract class, remove almost all references to it's
10119         subclasses (the last place gets removed with new policy manager). Add
10120         NMDeviceInterface (which NMDevice implements) so that when we have
10121         NMDevice exported over DBUS, there's a common NMDevice interface which
10122         all instances have, plus there's a device specific interface for each
10123         specific type.
10124         Remove functions (nm_device_is_802_3_ethernet) and
10125         (nm_device_is_802_11_wireless). There are already standard GObject macros
10126         for type safe checks.
10127         Use the updated supplican manager API.
10128
10129         * src/nm-device-interface.h: 
10130         * src/nm-device-interface.c: 
10131         * src/nm-call-store.h: 
10132         * src/nm-call-store.c: Implement.
10133
10134         * src/supplicant-manager/nm-supplicant-interface.c:
10135         * src/supplicant-manager/nm-supplicant-interface.h:
10136         * src/supplicant-manager/nm-supplicant-manager.c:
10137         * src/supplicant-manager/nm-supplicant-manager.h:
10138                 - Remove all private data type references from public header files.
10139                 - Remove all references to other NM classes, this class is just a
10140                   proxy between wpa_supplicant and NM so it doesn't have to know
10141                   any internals.
10142                 - Convert to dbus-glib bindings.
10143                 - Type safe checks for public methods' arguments.
10144                 - Store pending DBUS call ids to NMCallStore.
10145
10146         * src/supplicant-manager/nm-supplicant-config.c:
10147                 - Store config values in a GHashTable instead of GSList.
10148
10149         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10150
10151         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10152         singleton now.
10153
10154         * src/nm-device.c: Use the new DHCP manager API.
10155
10156         * src/nm-activation-request.c:
10157         * src/nm-activation-request.h:
10158                 - Remove all dhcp related properties and methods.
10159
10160         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10161
10162         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10163
10164         * src/dhcp-manager/nm-dhcp-manager.c:
10165         * src/dhcp-manager/nm-dhcp-manager.h:
10166                 - Convert it to GObject since we need to signal state changes.
10167                 - Remove all references to other NM classes, this class is one
10168                   of the lowest classes in our hierarchy.
10169                 - One less class to use NMActRequest.
10170                 - Make it singleton, one less user of NMData.
10171                 - Remove a couple of sleep() calls.
10172                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10173                   One less class to use the NM's custom tailored signal handlig.
10174
10175         * Makefile.am: Generate marshallers, add them to build.
10176
10177 2007-02-02  Dan Williams  <dcbw@redhat.com>
10178
10179         * configure.in
10180           gnome/Makefile.am
10181           nm-applet.desktop
10182           Makefile.am
10183                 - Remove last bits referencing gnome applet
10184
10185 2007-02-02  Dan Williams  <dcbw@redhat.com>
10186
10187         * src/vpn-manager/nm-vpn-service.c
10188                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10189                         and NBNS server addresses
10190
10191 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10192
10193         * src/nm-dbus-manager.c:
10194         * src/nm-dbus-manager.h:
10195                 - Convert all internal DBUS code to use dbus-glib bindings.
10196                 - Remove GObject properties, we don't need them here.
10197                 - Don't explicitly set things to NULL after freeing, glib is
10198                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10199                 - Make public API argument checks type safe.
10200                 - Remove unnecessary (and wrong) cast to GObject for the first
10201                   argument to g_signal_* calls - The first argument is a gpointer.
10202                 - Export DBusGConnection to other cool classes that (are going to)
10203                   use dbus-glib.
10204
10205 2007-01-26  Dan Williams  <dcbw@redhat.com>
10206
10207         * libnm-util/dbus-dict-helpers.c
10208           libnm-util/dbus-dict-helpers.h
10209                 - Coordinate style with wpa_supplicant version to minimize diff
10210                 - Add uint32 array support
10211                 - (nmu_dbus_dict_append_uint32_array): new function
10212                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10213                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10214                         version; allow adding string array elements individually
10215
10216         * test/libnm-util/test-dbus-dict-helpers.c
10217                 - Test uint32 arrays
10218
10219 2007-01-27  Jürg Billeter  <j@bitron.ch>
10220
10221         * src/backends/NetworkManagerPaldo.c
10222                 - (nm_system_update_dns): clear nscd hosts cache
10223
10224 2007-01-04  Dan Williams  <dcbw@redhat.com>
10225
10226         Threading removal related cleanups:
10227
10228         - Use the glib default main context.  Remove the device main context
10229                 member from NMDevice, and the main_context member from NMData.  Change
10230                 all the idle and timeout scheduler functions to use plain
10231                 g_idle_add() and g_timeout_add().
10232
10233         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10234                 takes an argument; fix that up too.
10235
10236         - Remove all locking, which is useless since we no longer use threads.  For
10237                 example, nm_get_device_by_iface_locked() has been removed.  The global
10238                 device list lock, the AP List lock, and all static locks in
10239                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10240                 in NetworkManagerUtils.c have also been removed.
10241
10242         - Other cleanups in spacing and code style
10243
10244 2007-01-01  Dan Williams  <dcbw@redhat.com>
10245
10246         Found by Bill Moss:
10247
10248         * src/supplicant-manager/nm-supplicant-interface.c
10249                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10250                         the supplicant interface wasn't already disconnected.  Always
10251                         call removeNetwork and disconnect unless the supplicant interface
10252                         is in the DISCONNECTED or INACTIVE state.
10253
10254 2006-12-28  Dan Williams  <dcbw@redhat.com>
10255
10256         Use a single thread for everything.  With the move to wpa_supplicant
10257         and communication over D-Bus, there's no reason for multiple threads.
10258         Almost all of the blocking code has been removed, with one exception in
10259         the DHCP manager and a few in the VPN manager.  This commit removes the
10260         per-device worker thread and fixes activation cancellation in the absence
10261         of threads.  Further removal of thread-related code would be removing
10262         any locking code (like the device list lock) and simplification of logic
10263         around areas of code or data structures that are currently locked.
10264
10265         * autoip.c
10266           dhcp-manager/nm-dhcp-manager.c 
10267           nm-device-802-11-wireless.c
10268           nm-device-802-3-ethernet.c
10269           nm-device.c
10270           nm-device.h
10271                 - Remove usage of multiple threads
10272
10273 2006-12-19  Dan Williams  <dcbw@redhat.com>
10274
10275         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10276         plus a few other patches from wpa_supplicant bugzilla.
10277
10278         * src/Makefile.am
10279           src/NetworkManagerPolicy.c
10280           src/NetworkManagerUtils.c
10281           src/NetworkManagerUtils.h
10282           src/nm-ap-security-leap.c
10283           src/nm-ap-security-wep.c
10284           src/nm-ap-security-wpa-eap.c
10285           src/nm-ap-security-wpa-psk.c
10286           src/nm-ap-security.c
10287           src/nm-ap-security.h
10288           src/nm-device-802-11-wireless.c
10289           src/nm-device-802-11-wireless.h
10290           src/supplicant-manager/nm-supplicant-config.c
10291           src/supplicant-manager/nm-supplicant-config.h
10292           src/supplicant-manager/nm-supplicant-interface.c
10293           src/supplicant-manager/nm-supplicant-interface.h
10294           src/supplicant-manager/nm-supplicant-marshal.list
10295           src/supplicant-manager/nm-supplicant-settings-verify.c
10296           src/supplicant-manager/nm-supplicant-settings-verify.h
10297                 - Move all connection management and association handling to
10298                         wpa_supplicant over dbus, rather than spawning a private copy
10299
10300 2006-12-19  Dan Williams  <dcbw@redhat.com>
10301
10302         * src/NetworkManagerPolicy.c
10303                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10304                         better locking of the device change check handler ID.  Incorrect
10305                         locking was causing lost device change requests
10306
10307 2006-12-18  Dan Williams  <dcbw@redhat.com>
10308
10309         * libnm-util/dbus-dict-helpers.c
10310                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10311                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10312                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10313
10314 2006-12-18  Dan Williams  <dcbw@redhat.com>
10315
10316         * gnome/libnm_glib/libnm_glib.c
10317                 - Change dbus_connection_close() -> dbus_connection_unref()
10318
10319 2006-12-11  Dan Williams  <dcbw@redhat.com>
10320
10321         * src/supplicant-manager/nm-supplicant-interface.c
10322                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10323                         wpa_supplicant interface state
10324                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10325                         state before transitioning to READY state
10326
10327 2006-12-04  Dan Williams  <dcbw@redhat.com>
10328
10329         * src/nm-device-802-11-wireless.c
10330                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10331                         odd length of ESSID returned from ieee80211 stack-based drivers
10332
10333 2006-12-04  Dan Williams  <dcbw@redhat.com>
10334
10335         * src/nm-device-802-11-wireless.c
10336                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10337                         IE handling blocks that cause mis-parsing of the IE
10338
10339 2006-12-04  Dan Williams  <dcbw@redhat.com>
10340
10341         * src/nm-device-802-11-wireless.c
10342                 - (init_supplicant_interface): new function; pull supplicant interface
10343                         setup code out into standalone function since it must be called from
10344                         two different places
10345                 - (real_init): sup_mgr is now in private object data; get and track
10346                         the supplicant manager object over the NMDevice subclass' lifetime
10347                         and register a signal handler for its state signals; only try to
10348                         initialize the supplicant interface if the supplicant manager is in
10349                         the IDLE state (and therefore is ready for requests)
10350                 - (request_wireless_scan): reschedule the scan request if (a) there is
10351                         no supplicant interface yet (meaning wpa_supplicant isn't running
10352                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10353                         for requests yet
10354                 - (supplicant_iface_connection_state_cb): new function; stub for
10355                         handling supplicant interface connection state signals
10356                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10357                         comes and goes
10358                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10359                         supplicant manager object that's being tracked starting with this
10360                         commit
10361
10362 2006-12-04  Dan Williams  <dcbw@redhat.com>
10363
10364         * src/supplicant-manager/nm-supplicant-interface.c
10365                 - (nm_supplicant_interface_set_property): track signal handler ID
10366                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10367
10368 2006-12-04  Dan Williams  <dcbw@redhat.com>
10369
10370         * src/supplicant-manager/nm-supplicant-interface.[ch]
10371                 - (nm_supplicant_interface_get_state): new function
10372
10373 2006-12-04  Dan Williams  <dcbw@redhat.com>
10374
10375         * src/supplicant-manager/nm-supplicant-interface.c
10376                 - (bssid_properties_cb): don't treat DBus errors as valid
10377                         scanned AP messages
10378
10379 2006-12-04  Dan Williams  <dcbw@redhat.com>
10380
10381         * src/supplicant-manager/nm-supplicant-interface.[ch]
10382                 - (nm_supplicant_interface_get_connection_state): new function
10383                 - define new supplicant connection states
10384                 - send a signal when the supplicant connection state changes
10385
10386 2006-12-03  Dan Williams  <dcbw@redhat.com>
10387
10388         * src/supplicant-manager/Makefile.am
10389           src/supplicant-manager/nm-supplicant-connection.h
10390           src/supplicant-manager/nm-supplicant-connection.c
10391           src/supplicant-manager/nm-supplicant-config.h
10392           src/supplicant-manager/nm-supplicant-config.c
10393           src/supplicant-manager/nm-supplicant-types.h
10394           src/supplicant-manager/nm-supplicant-interface.h
10395           src/supplicant-manager/nm-supplicant-interface.c
10396                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10397
10398 2006-12-03  Dan Williams  <dcbw@redhat.com>
10399
10400         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10401
10402         * po/POTFILES.in
10403           po/POTFILES.skip
10404                 - Move VPN-related translatables to .skip
10405
10406         * vpn-daemons/pptp/po/POTFILES.in
10407                 - Update with new translatables
10408
10409 2006-12-02  Dan Williams  <dcbw@redhat.com>
10410
10411         Patch from Christian Persch <chpe@gnome.org>
10412
10413         * gnome/applet/Makefile.am
10414           gnome/applet/applet-dbus-devices.c
10415           gnome/applet/applet-notifications.c
10416           gnome/applet/applet.c
10417           gnome/applet/applet.h
10418           gnome/applet/main.c
10419                 - Be a GtkStatusIcon on GTK+ >= 2.10
10420
10421 2006-12-02  Dan Williams  <dcbw@redhat.com>
10422
10423         * gnome/applet/applet.c
10424                 - (nma_update_info): fix two unecessary allocations
10425
10426 2006-12-02  Dan Williams  <dcbw@redhat.com>
10427
10428         Patch from Michael Biebl <biebl@teco.edu>
10429         * configure.in
10430           man/NetworkManager.1.in
10431           man/NetworkManagerDispatcher.1.in
10432           man/NetworkManager.8.in
10433           man/NetworkManagerDispatcher.8.in
10434                 - Add .SH NAME stanzas
10435                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10436
10437 2006-12-02  Dan Williams  <dcbw@redhat.com>
10438
10439         Patch from Christian Persch <chpe@gnome.org>
10440
10441         * configure.in
10442                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10443
10444 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10445
10446         Patch by Timo Hoenig <thoenig@suse.de>:
10447         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10448         DBUS-1.0.
10449
10450         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10451         we can't use the one from the main source directory.
10452
10453 2006-11-27  Dan Williams  <dcbw@redhat.com>
10454
10455         Patch from Christian Persch <chpe@gnome.org>
10456
10457         * gnome/applet/applet-dbus-devices.c
10458                 - (hal_info_product_cb): fix memleak; free duped string.
10459                         Gnome.org #379908
10460
10461 2006-11-27  Dan Williams  <dcbw@redhat.com>
10462
10463         Patch from Christian Persch <chpe@gnome.org>
10464
10465         * gnome/applet/menu-items.c
10466                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10467                         as gtk_progress_set_percentage is deprecated.  Should
10468                         work as far back as GTK+ 2.4.  Gnome.org #379780
10469
10470 2006-11-26  Dan Williams  <dcbw@redhat.com>
10471
10472         Scan using wpa_supplicant over DBus.
10473
10474         * src/nm-device-802-11-wireless.c
10475                 - remove wireless extensions netlink event handler bits
10476                         (wireless_event_helper, nm_device_802_11_wireless_event)
10477                 - remove wireless extensions scan event handler bits
10478                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10479                         hex2byte, hex2num, request_and_convert_scan_results,
10480                         free_process_scan_cb_data, scan_results_timeout,
10481                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10482                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10483                         and request scans from the supplicant interface rather than directly
10484                 - Move functionality of convert_scan_results() to cull_scan_list() and
10485                         supplicant_iface_scanned_ap_cb()
10486                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10487                         at the scan interval when the current scan has finished
10488                 - (supplicant_iface_state_cb): start scanning when the supplicant
10489                         interface enters the READY state, and stop scanning when it
10490                         enters the DOWN state
10491                 - (cull_scan_list): weed out old access points from the scan list
10492                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10493                         point into an NMAccessPoint and merge it into the device's scan list
10494
10495         * src/supplicant-manager/nm-supplicant-interface.c
10496           src/supplicant-manager/nm-supplicant-interface.h
10497                 - Add a new signal "scan-result" which is issued when the supplicant
10498                         notifies NM that a scan has completed
10499                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10500                         point found in the scan.  Called once for each access point that
10501                         the supplicant interface object receives from the supplicant as a
10502                         result of the "scanResults" method call
10503                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10504                         for the initial scan results
10505                 - (scan_request_cb): new function; send listeners the result
10506                         (success, error) of a wireless scan request
10507                 - (nm_supplicant_interface_request_scan): new function; ask the
10508                         supplicant to perform an immediate wireless scan
10509
10510 2006-11-25  Dan Williams  <dcbw@redhat.com>
10511
10512         * src/supplicant-manager/Makefile.am
10513                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10514                         add HAL cflags/includes and named-manager includes directory
10515
10516         * src/supplicant-manager/nm-supplicant-interface.h
10517                 - New state STARTING to handle transition from INIT to READY where
10518                         the addInterface pending call is still outstanding
10519
10520         * src/supplicant-manager/nm-supplicant-interface.c
10521                 - track pending calls differently since we may have more than one
10522                         going on at any given time
10523                 - request scan results from wpa_supplicant; but don't do it more often
10524                         than every 4 seconds.  Drivers that do background scanning
10525                         (like the 'ipw' drivers) send a continuous stream of scan completion
10526                         notifications, so we don't want to hammer the supplicant or dbus
10527                         with requests for all scan results every time we get a completion
10528                         notification.
10529
10530 2006-11-25  Dan Williams  <dcbw@redhat.com>
10531
10532         * src/supplicant-manager/nm-supplicant-types.h
10533                 - new file; move all supplicant manager object typedefs here for
10534                         #include sanity
10535
10536         * src/supplicant-manager/nm-supplicant-interface.c
10537           src/supplicant-manager/nm-supplicant-interface.h
10538                 - new file; an object that interfaces an NMDevice object to the
10539                         supplicant and handles signals from the supplicant.  This object
10540                         does all necessary DBus communication with wpa_supplicant.
10541
10542         * src/supplicant-manager/nm-supplicant-manager.c
10543           src/supplicant-manager/nm-supplicant-manager.h
10544                 - Actually do something.  Track the state of the wpa_supplicant service
10545                         and deal with its comings & goings.  Handle life events of
10546                         supplicant interfaces too.
10547                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10548
10549         * src/supplicant-manager/nm-supplicant-connection.h
10550                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10551
10552         * src/supplicant-manager/Makefile.am
10553                 - Add new files to build, and add libnm-util to includes
10554
10555         * src/nm-marshal.list
10556                 - New marshaler type: VOID:UINT,UINT
10557
10558         * src/nm-device-802-3-ethernet.c
10559                 - (real_init): grab a supplicant interface
10560                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10561                 - (supplicant_iface_state_cb): new function, stub for handling
10562                         supplicant interface state changes
10563
10564         * src/nm-device-802-11-wireless.c
10565                 - (real_init): grab a supplicant interface
10566                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10567                 - (supplicant_iface_state_cb): new function, stub for handling
10568                         supplicant interface state changes
10569
10570         * src/NetworkManager.c
10571                 - (main): create and keep the supplicant manager around for the lifetime
10572                         of NetworkManager
10573
10574         * src/Makefile.am
10575                 - Link to the supplicant manager sub-library and use the supplicant
10576                         manager includes
10577
10578 2006-11-25  Dan Williams  <dcbw@redhat.com>
10579
10580         Rework DBus manager signal handling to be more flexible.  Previously,
10581         only one signal handler could be registered for a particular interface.
10582         The DBus manager now reference counts DBus bus matches and allows multiple
10583         clients to register signal handlers for the same interface and sender.
10584
10585         * src/NetworkManager.c
10586                 - (main): track NMI signal handler ID and remove it when we quit
10587
10588         * src/NetworkManagerMain.h
10589                 - Keep track of NMI signal handler ID
10590
10591         * src/nm-dbus-manager.c
10592           src/nm-dbus-manager.h
10593                 - rework signal handling; each signal handler references one signal
10594                         match, but a signal match may be referenced by one or more
10595                         signal handlers.  Matches are refcounted and are destroyed when the
10596                         last signal handler that references the match is removed.  This is
10597                         necessary because two signal handlers may end up requiring the same
10598                         dbus bus match, so the match must live until the last signal handler
10599                         is destroyed (for example, with the wpa_supplicant network interface
10600                         dbus interface).
10601
10602         * src/dhcp-manager/nm-dhcp-manager.c
10603                 - (nm_dhcp_manager_new): track DHCP signal handler id
10604                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10605
10606         * src/vpn-manager/nm-vpn-service.c
10607                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10608                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10609
10610 2006-11-25  Dan Williams  <dcbw@redhat.com>
10611
10612         Suggested by Helmut Schaa <hschaa@suse.de>
10613
10614         * src/vpn-daemons/nm-vpn-service.c
10615                 - (supplicant_child_setup): new function
10616                 - (supplicant_exec): make child process use a new process group id
10617
10618         * src/nm-device-802-11-wireless.c
10619                 - (nm_vpn_service_child_setup): new function
10620                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10621                         process group id
10622
10623 2006-11-19  Dan Williams  <dcbw@redhat.com>
10624
10625         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10626         * gnome/vpn-properties/nm-vpn-properties.c
10627                 - clean up after renamed VPN connection
10628
10629 2006-11-19  Dan Williams  <dcbw@redhat.com>
10630
10631         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10632         * gnome/applet/applet-dbus-vpn.c
10633                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10634
10635         * gnome/vpn-properties/nm-vpn-properties.c
10636                 - (init_app): sort VPN connections
10637
10638 2006-11-09  Dan Williams  <dcbw@redhat.com>
10639
10640         * src/NetworkManagerAPList.c
10641                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10642                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10643                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10644                 broke hidden SSID matching.  Found by Bill Moss.
10645
10646 2006-10-25  Dan Williams  <dcbw@redhat.com>
10647
10648         * src/nm-dbus-nm.c
10649                 - (nm_dbus_nm_set_active_device): return an empty success message on
10650                         success, rather than falling through to the error case.
10651
10652 2006-10-25  Dan Williams  <dcbw@redhat.com>
10653
10654         * src/NetworkManagerUtils.c
10655                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10656                         "SCAN" command
10657
10658 2006-10-24  Dan Williams  <dcbw@redhat.com>
10659
10660         Reduce the number of times the Gnome applet wakes up, especially when
10661         it's doing absolutely nothing and is hidden.  Initial patch by
10662         Chris Aillon.
10663
10664         * gnome/applet/applet-dbus.c
10665                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10666                         kill the redraw timeout.  When NM starts up, start the redraw
10667                         timeout.  Also, if we get kicked off the bus for some reason,
10668                         start the reconnection timeout if one's not already running.
10669                 - (nma_dbus_init): better handling of error conditions, don't leak
10670                         a half-initialized dbus connection
10671                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10672                         the applet's data, just call nm_dbus_init_helper()
10673                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10674                         timeout that calls nma_dbus_connection_watcher()
10675                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10676                         reconnection timeout, and don't start the reconnection timeout
10677                         unconditionally anymore
10678
10679         * gnome/applet/applet-dbus.h
10680                 - Expose nma_start_dbus_connection_watch()
10681
10682         * gnome/applet/applet.c
10683                 - (nma_update_state): no longer static, called from applet-dbus.c for
10684                         immediate UI updates on certain events
10685                 - (nma_set_running): new function; take over setting applet->running,
10686                         when not running (ie, NM is not active), don't activate the redraw
10687                         timeout because we're not showing the applet anyway.  When we are
10688                         running (ie, NM is active), and only when we're running, start the
10689                         redraw timeout.
10690                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10691                         kill any reconnection timeout
10692                 - (nma_get_instance): move one-off dbus initialization code here since
10693                         nm_dbus_init_helper() gets called more than once, possibly by the
10694                         reconnection timeout function too.  And, when we start up, if we
10695                         can't get a connection to the bus, start the reconnection timeout.
10696                         But don't start the redraw timeout yet, only do that when we get
10697                         NM's state and find out if it's running or not.
10698
10699         * gnome/applet/applet.h
10700                 - Add the reconnection GSource ID
10701                 - Add prototypes for nma_set_running() and the no-longer-static
10702                         nma_update_state()
10703
10704 2006-10-24  Dan Williams  <dcbw@redhat.com>
10705
10706         * src/vpn-daemons/nm-dbus-vpnc.c
10707                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10708                         pending call tracker
10709                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10710                         pending call tracker; register one-vpn-connection update pending
10711                         call in pending call tracker
10712                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10713                         update pending call in pending call tracker
10714                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10715                         update pending call in pending call tracker; don't block waiting
10716                         for call to return
10717
10718 2006-10-19  Robert Love  <rml@novell.com>
10719
10720         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10721           refresh the cache.
10722
10723 2006-10-14  Dan Williams  <dcbw@redhat.com>
10724
10725         * src/dhcp-manager/nm-dhcp-manager.c
10726                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10727                 the dbus connection and the device object path rather than
10728                 constructing it inside both functions.  Saves a bit of memory
10729                 and clarifies a failure path.
10730                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10731                 and allocate device path here rather than each of the two
10732                 functions above.
10733
10734 2006-10-13  Dan Williams  <dcbw@redhat.com>
10735
10736         * src/NetworkManager.c
10737                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10738                 this somehow droppout in the refactor
10739
10740 2006-10-13  Dan Williams  <dcbw@redhat.com>
10741
10742         * Huge DBus refactor:
10743                 - Create a "DBus Manager" object which manages the connection and
10744                 sends signals on NameOwnerChanged and connection/disconnection events,
10745                 handles reconnection to the bus if NM gets kicked off, and abstracts
10746                 signal handling
10747                 - Remove DBusConnection members from places where they are no
10748                 longer needed due to the refactor, like the dbus-connection
10749                 property of the named manager, and from NMData
10750                 - Reformats a bunch of the code to gnome style
10751                 (8-space tabs, braces on same line as statement, 80-col width).
10752                 Consider it open season to reformat any bits to gnome style.
10753                 style that aren't already.
10754
10755 2006-10-13  Dan Williams  <dcbw@redhat.com>
10756
10757         * src/supplicant-manager/Makefile.am
10758                 - Add new files
10759
10760         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10761                 - Make it a minimal GObject
10762
10763         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10764                 - Verify settings destined for wpa_supplicant
10765
10766         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10767                 - Minimal GObject to track wpa_supplicant controlled device
10768                 connections
10769
10770 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10771
10772         * gnome/applet/applet.c: (nma_update_info),
10773         (nma_act_stage_to_pixbuf), (nma_update_state):
10774         Mark missing strings for translation. Fixes bug #343306.
10775
10776 2006-10-01  Dan Williams  <dcbw@redhat.com>
10777
10778         * src/vpn-manager/nm-vpn-manager.c
10779                 - (nm_vpn_manager_load_services): split and clean up
10780                 for readability and correctness.  Restrict VPN service
10781                 files to ending in ".name", as was meant from the
10782                 beginning (but not coded in).  Better error reporting.
10783
10784 2006-10-01  Dan Williams  <dcbw@redhat.com>
10785
10786         * utils/nm-utils.h
10787                 - Clean up formatting of debug/info/warning log messages
10788
10789 2006-09-27  Robert Love  <rml@novell.com>
10790
10791         Patch by Tambet Ingo <tambet@ximian.com>:
10792         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10793           actually work.
10794
10795 2006-09-07  Dan Williams <dcbw@redhat.com>
10796
10797         * test/Makefile.am
10798           test/libnm-util/Makefile.am
10799           test/nm-supplicant-test.c
10800                 - Add test program emulating the way NM drives wpa_supplicant
10801                 to help debug supplicant issues
10802
10803 2006-08-24  Dan Williams <dcbw@redhat.com>
10804
10805         * configure.in
10806           src/Makefile.am
10807           src/supplicant-manager/Makefile.am
10808           src/supplicant-manager/nm-supplicant-manager.c
10809           src/supplicant-manager/nm-supplicant-manager.h
10810                 - Add skeleton bits of the wpa_supplicant manager
10811
10812 2006-08-24  Dan Williams <dcbw@redhat.com>
10813
10814         Patch from Ed Catmur:
10815         * src/NetworkManagerUtils.c
10816                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10817                 if netmask is 0 (Gnome #352634)
10818
10819 2006-08-17  Robert Love  <rml@novell.com>
10820
10821         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10822           package is now DBUS-enabled and listens for the NM signals.
10823
10824 2006-08-14  Dan Williams  <dcbw@redhat.com>
10825
10826         * Patch from Christian Persch <chpe gnome org>
10827         * configure.in
10828           po/LINGUAS
10829           vpn-daemons/openvpn/po/LINGUAS
10830           vpn-daemons/openvpn/configure.in
10831           vpn-daemons/pptp/po/LINGUAS
10832           vpn-daemons/pptp/configure.in
10833           vpn-daemons/vpnc/po/LINGUAS
10834           vpn-daemons/vpnc/configure.in
10835                 - Convert to LINGUAS method so translators don't have to modify
10836                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10837                 0.35 or higher
10838
10839 2006-08-14  Dan Williams  <dcbw@redhat.com>
10840
10841         Patch from Alex Smith <alex.extreme2@gmail.com>
10842         * configure.in
10843           src/backends/Makefile.am
10844           src/backends/NetworkManagerFrugalware.c
10845                 - Add support for Frugalware
10846
10847 2006-08-13  Dan Williams  <dcbw@redhat.com>
10848
10849         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10850         * src/nm-device-802-11-wireless.c
10851                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10852                 Gnome #346875
10853
10854 2006-08-13  Dan Williams  <dcbw@redhat.com>
10855
10856         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10857         * src/nm-ap-security.c
10858           src/nm-ap-security.h
10859                 - Add authentication_required bits for subclasses to specify whether
10860                 or not real authentication is required for connections, i.e. whether
10861                 the AP rejects us when an encryption key is wrong or not.
10862
10863         * src/nm-ap-security-wep.c
10864           src/nm-ap-security-wpa-eap.c
10865           src/nm-ap-security-wpa-psk.c
10866           src/nm-ap-security-leap.c
10867                 - Implement authentication_required appropriately for each method
10868
10869         * src/nm-device-802-11-wireless.c
10870                 - Be smarter about when to request a key; for example, using a wrong key
10871                 in WEP shared key mode previously just timed out and did not request
10872                 a new key
10873
10874 2006-08-13  Dan Williams  <dcbw@redhat.com>
10875
10876         * gnome/libnm_glib/libnm_glib.c
10877                 - dbus_connection_disconnect() -> dbus_connection_close() for
10878                 dbus >= 0.90
10879
10880 2006-08-07  Dan Williams  <dcbw@redhat.com>
10881
10882         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10883         * src/NetworkManagerSystem.c
10884                 - Respect specified MTU.  Gnome #344967
10885
10886 2006-08-07  Dan Williams  <dcbw@redhat.com>
10887
10888         * src/vpn-manager/nm-vpn-service.c
10889                 - Simplify print_vpn_config() arguments
10890
10891         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10892         * src/vpn-manager/Makefile.am
10893           src/vpn-manager/nm-vpn-service.c
10894                 - Add new API for passing VPN config options as a dict. Gnome #344967
10895
10896 2006-08-06  Dan Williams  <dcbw@redhat.com>
10897
10898         * gnome/applet/applet-dbus-devices.c
10899           gnome/applet/applet-dbus-vpn.c
10900           gnome/applet/applet-dbus.c
10901           gnome/applet/applet-dbus.h
10902           src/nm-dbus-nmi.c
10903           utils/nm-utils.c
10904           utils/nm-utils.h
10905                 - Make pending call tracking code generic,
10906                 so we can use it in NM as well as the applet
10907
10908 2006-08-06  Dan Williams  <dcbw@redhat.com>
10909
10910         * src/nm-activation-request.c
10911                 - Refcount pending call objects
10912
10913 2006-08-06  Dan Williams  <dcbw@redhat.com>
10914
10915         Patch from Christan Chiesa <christanc@gmail.com>
10916         * configure.in
10917                 - Tell sha1.c to use bigendian mode on PPC
10918
10919 2006-08-04  Robert Love  <rml@novell.com>
10920
10921         Glib Memory Slices!
10922         * configure.in: Require glib 2.10 or later.
10923         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10924           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10925           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10926           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10927           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10928           Memory Slices are the greatest thing since bread slices.
10929         * src/NetworkManagerAP.c: Also, fix memory leak.
10930
10931 2006-08-01  Robert Love  <rml@novell.com>
10932
10933         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10934
10935 2006-07-31  Robert Love  <rml@novell.com>
10936
10937         * src/backends/interface_parser.c: Declarations must begin the block.
10938
10939 2006-07-24  Dan Williams  <dcbw@redhat.com>
10940
10941         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10942         * src/backends/Makefile.am
10943           src/backends/NetworkManagerArch.c
10944           src/backends/NetworkManagerDebian.c
10945           src/backends/NetworkManagerGeneric.c
10946           src/backends/NetworkManagerGeneric.h
10947           src/backends/NetworkManagerGentoo.c
10948           src/backends/NetworkManagerPaldo.c
10949           src/backends/NetworkManagerRedHat.c
10950           src/backends/NetworkManagerSlackware.c
10951           src/backends/NetworkManagerSuSE.c
10952                 - Genericize common backend functions
10953
10954 2006-07-18  Robert Love  <rml@novell.com>
10955
10956         * configure.in: Add "--with-notify" option to allow disabling of
10957           libnotify support.
10958
10959 2006-07-13  Dan Williams  <dcbw@redhat.com>
10960
10961         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10962         * gnome/applet/applet.glade
10963           gnome/applet/Makefile.am
10964           gnome/applet/nm-gconf-wso.c
10965           gnome/applet/nm-gconf-wso-leap.c
10966           gnome/applet/nm-gconf-wso-leap.h
10967           gnome/applet/wireless-security-manager.c
10968           gnome/applet/wso-leap.c
10969           gnome/applet/wso-leap.h
10970           include/NetworkManager.h
10971           libnm-util/dbus-helpers.c
10972           libnm-util/dbus-helpers.h
10973           src/Makefile.am
10974           src/NetworkManagerAP.c
10975           src/nm-ap-security.c
10976           src/nm-ap-security-leap.c
10977           src/nm-ap-security-leap.h
10978                 - Add LEAP authentication support
10979
10980 2006-07-13  Dan Williams  <dcbw@redhat.com>
10981
10982         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10983         * configure.in
10984           src/backends/NetworkManagerArch.c
10985           src/backends/NetworkManagerDebian.c
10986           src/backends/NetworkManagerGentoo.c
10987           src/backends/NetworkManagerPaldo.c
10988           src/backends/NetworkManagerRedHat.c
10989           src/backends/NetworkManagerSlackware.c
10990           src/backends/NetworkManagerSuSE.c
10991                 - Convert hardcoding of 'ip' path to configure-time
10992                         detected one
10993
10994 2006-07-12  Leonid Kanter <leon@asplinux.ru>
10995
10996         * configure.in: added ru to ALL_LINGUAS
10997
10998 2006-07-10  Dan Williams  <dcbw@redhat.com>
10999
11000         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11001         * src/nm-device.c
11002                 - (real_act_stage3_ip_config_start): don't infinite loop when
11003                         dhcdbd isn't running (Gnome #346845)
11004
11005 2006-07-09  Dan Williams  <dcbw@redhat.com>
11006
11007         * gnome/applet/applet.c
11008                 - (nma_destroy): don't pass NULL to notify_notification_close
11009                         (RH #197917)
11010
11011 2006-07-09  Dan Williams  <dcbw@redhat.com>
11012
11013         * gnome/applet/applet.c
11014                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11015
11016 2006-07-04  Tor Krill  <tor@krill.nu>
11017
11018         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11019         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11020         (nm_system_restart_mdns_responder), (ArchReadConfig),
11021         (nm_system_device_get_system_config):
11022                 - Explicitly check for DHCP configuration
11023                 - Check if daemons are running before starting them
11024
11025 2006-06-25  Dan Williams  <dcbw@redhat.com>
11026
11027         * libnm-util/dbus-dict-helpers.[ch]
11028           test/libnm-util/test-dbus-dict-helpers.c
11029                 - Add string array support
11030
11031 2006-06-24  Dan Williams  <dcbw@redhat.com>
11032
11033         * src/dhcp-manager/nm-dhcp-manager.c
11034                 - (nm_dhcp_manager_process_signal): clean up spacing
11035
11036 2006-06-21  Dan Williams  <dcbw@redhat.com>
11037
11038         * src/nm-dbus-device.c
11039                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11040                         through dbus
11041
11042 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11043
11044         * configure.in: Added 'lv' to ALL_LINGUAS
11045
11046 2006-06-19  Dan Williams  <dcbw@redhat.com>
11047
11048         * src/NetworkManagerAP.c
11049                 - Clarify usage of user_created
11050
11051         * src/nm-ap-security-wep.c
11052           src/nm-ap-security-wpa-eap.c
11053           src/nm-ap-security-wpa-psk.c
11054           src/nm-ap-security.c
11055           src/nm-ap-security.h
11056                 - s/user_created/adhoc, because we really do mean adhoc
11057
11058         Patch from Bernard Blackham <bernard@blackham.com.au>
11059         * src/nm-device-802-11-wireless.c         
11060                 - (supplicant_send_network_config): instead of user_created,
11061                         use adhoc, and do AP_SCAN 2 for adhoc networks
11062
11063 2006-06-18  Robert Love  <rml@novell.com>
11064
11065         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11066           we have a value to set.  Gconf generates a warning if `val' is NULL.
11067         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11068           unless we actually received a valid private key file passphrase or
11069           password.  Otherwise, we don't know to later ask the applet to pull
11070           the key from the keyring.
11071
11072 2006-06-17  Dan Williams  <dcbw@redhat.com>
11073
11074         * libnm-util/dbus-dict-helpers.[ch]
11075           test/libnm-util/test-dbus-dict-helpers.c
11076                 - Fixes for zero-length byte arrays
11077                 - Replace return values of 0 with FALSE for clarity
11078                 - Test zero-length byte arrays
11079
11080 2006-06-17  Dan Williams  <dcbw@redhat.com>
11081
11082         * libnm-util/dbus-dict-helpers.[ch]
11083           test/libnm-util/test-dbus-dict-helpers.c
11084                 - Add helpers for byte arrays
11085                 - Rework bits of the testcase
11086
11087 2006-06-16  Dan Williams  <dcbw@redhat.com>
11088
11089         * libnm-util/Makefile.am
11090         * libnm-util/dbus-dict-helpers.[ch]
11091                 - Add some helpers to take the pain out of using dict types in
11092                         dbus.
11093
11094         * test/libnm-util/Makefile.am
11095         * test/libnm-util/test-dbus-dict-helpers.c
11096                 - Test cases for the dict helper functions
11097
11098 2006-06-15  Robert Love  <rml@novell.com>
11099
11100         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11101           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11102           if there is no key to pass.
11103         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11104           receiving a non-NULL key.
11105
11106 2006-06-14  Robert Love  <rml@novell.com>
11107
11108         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11109           copy the strings.
11110
11111
11112 2006-06-14  Dan Williams  <dcbw@redhat.com>
11113
11114         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11115         * src/nm-device-802-11-wireless.c
11116                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11117                         or ones where the driver is unknown
11118                 - (supplicant_exec): don't wait for supplicant startup here
11119                 - (supplicant_interface_init): finer grained polling for supplicant
11120                         startup
11121
11122 2006-06-13  Robert Love  <rml@novell.com>
11123
11124         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11125           if it is currently set to TRUE.  Otherwise, we will reset the value
11126           when we connect normally.
11127         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11128           the old BSSID is valid, too.  The recently added ESSID check may not be
11129           sufficient (we can remove it?).  What we really want to catch is the
11130           case of going from all-zeros to the BSSID of some other network, which
11131           happens on failure.
11132
11133 2006-06-09  Dan Williams  <dcbw@redhat.com>
11134
11135         * src/NetworkManagerSystem.[ch]
11136                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11137                         it was unused and pointless
11138                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11139                         fix for set_up_down_with_iface change
11140
11141         * src/vpn-manager/nm-vpn-connection.c
11142                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11143
11144         * src/backends/NetworkManagerPaldo.c
11145           src/backends/NetworkManagerRedHat.c
11146           src/backends/NetworkManagerSuSE.c
11147           src/backends/NetworkManagerArch.c
11148           src/backends/NetworkManagerDebian.c
11149           src/backends/NetworkManagerGentoo.c
11150                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11151                         appropriate
11152                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11153                         where appropriate
11154
11155 2006-06-09  Dan Williams  <dcbw@redhat.com>
11156
11157         Patch from Peter Jones:
11158         * src/nm-device-802-11-wireless.c
11159                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11160                         SSID hasn't changed from what we expect before automatically
11161                         updating the saved BSSID from a new AP
11162
11163 2006-06-08  Robert Love  <rml@novell.com>
11164
11165         Add 'fallback' support.  NetworkManager will attempt to brute-force
11166         connect to networks marked as fallback if there are no better wireless
11167         connections available.  This is useful as a method of last resort, to
11168         work around driver problems, and for use with hidden networks.
11169         * gnome/applet/applet-dbus-devices.c,
11170           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11171         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11172           pass it on via DBUS.
11173         * gnome/applet/applet.c: No fallback by default.
11174         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11175           Update other-network-dialog to add UI checkbox toggling fallback.
11176         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11177           propery from AP object.  Add "fallback" property to AP object.
11178         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11179         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11180         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11181           separate function.  Add get_best_fallback_ap() for returning an AP
11182           on which to attempt fallback.
11183         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11184         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11185
11186 2006-06-07  Robert Love  <rml@novell.com>
11187
11188         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11189           checked that the return type was GCONF_VALUE_STRING, not the correct
11190           GCONF_VALUE_BOOL, and thus it never worked.
11191         * src/NetworkManagerAPList.c: Before concluding that two networks are
11192           identical based on their BSSID, make sure that the BSSID in question
11193           is actually valid.  Specifically, an empty or all zero BSSID does not
11194           cut it.
11195         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11196           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11197           similar invariant clean up.
11198
11199 2006-06-02  Robert Love  <rml@novell.com>
11200
11201         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11202
11203 2006-05-28  Dan Williams  <dcbw@redhat.com>
11204
11205         * gnome/applet/applet.glade
11206           gnome/vpn-properties/nm-vpn-properties.glade
11207                 - Set window icons on dialogs  (Gnome.org #333420)
11208
11209 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11210
11211         * gnome/vpn-properties/nm-vpn-properties.glade:
11212         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11213         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11214         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11215                 - Make the VPN properties pages prettier and more HIG
11216                   compliant. Gnome Bug #336913.
11217
11218 2006-05-28  Dan Williams  <dcbw@redhat.com>
11219
11220         Patch from Christian Persch <chpe@gnome.org>
11221         * gnome/vpn-properties/nm-vpn-properties.c
11222         * gnome/vpn-properties/nm-vpn-properties.glade
11223                 - HIG-ification love  (Gnome.org #336846)
11224
11225 2006-05-28  Dan Williams  <dcbw@redhat.com>
11226
11227         Patch from Christian Persch <chpe@gnome.org>
11228         * configure.in
11229           gnome/vpn-properties/nm-vpn-properties.c
11230                 - (main): Fix option parsing.  Gnome.org #336847
11231
11232 2006-05-28  Dan Williams  <dcbw@redhat.com>
11233
11234         * gnome/vpn-properties/nm-vpn-properties.c
11235                 - (find_vpn_ui_by_service_name): protect against NULL service names
11236                 - (update_edit_del_sensitivity): protect against NULL service names
11237                         Gnome.org #341306
11238
11239 2006-05-28  Dan Williams  <dcbw@redhat.com>
11240
11241         Patch from Chris Fuller <crf@grandecom.net>:
11242         * src/nm-device-802-11-wireless.c
11243                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11244                         don't dispose of wireless-specific stuff unless it is actually
11245                         initialized.  Gnome.org #341263
11246
11247 2006-05-28  Dan Williams  <dcbw@redhat.com>
11248
11249         * src/NetworkManagerPolicy.c
11250                 - (nm_policy_device_change_check): don't switch devices if the "best"
11251                         AP is essentially the same as the current activation request, but
11252                         the current activation request isn't done activating yet.  Fixes
11253                         multiple requests for keyring password on startup for Gnome applet.
11254                         Gnome.org #341297
11255
11256 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11257
11258         * src/NetworkManager.c: use GOptions instead of getopt
11259         * configure.in: bump glib required version to >= 2.6 for GOption
11260           support
11261
11262 2006-05-25  Robert Love  <rml@novell.com>
11263
11264         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11265           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11266           instead of dumping ifdef's throughout the code.
11267         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11268           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11269           use nm_ioctl_info() in lieu.
11270
11271 2006-05-25  Robert Love  <rml@novell.com>
11272
11273         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11274         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11275           not using gcrypt.  Otherwise, we get a linker error.
11276
11277 2006-05-25  Robert Love  <rml@novell.com>
11278
11279         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11280         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11281           configure flag to disable building of the GNOME-based applet.
11282
11283 2006-05-25  Robert Love  <rml@novell.com>
11284
11285         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11286           parameter from link, because it shadows a global variable with some
11287           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11288           should never have exported to the entire system a common four letter
11289           word.  But we here at NetworkManager are team players.  Fixes
11290           GNOME bug #336532.
11291
11292 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11293
11294         * configure.in: Added mk.po, Macedonian translation.
11295
11296 2006-05-24  Robert Love  <rml@novell.com>
11297
11298         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11299           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11300           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11301
11302 2006-05-24  Robert Love  <rml@novell.com>
11303
11304         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11305           libnm-util/Makefile.am, src/Makefile.am,
11306           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11307           vpn-daemons/openvpn/properties/Makefile.am,
11308           vpn-daemons/pptp/auth-dialog/Makefile.am,
11309           vpn-daemons/pptp/properties/Makefile.am,
11310           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11311           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11312           user passed for --datadir, if anything, when setting the GNOME locale
11313           directory.  It should be a function of the specified datadir and not
11314           the prefix.
11315
11316 2006-05-24  Robert Love  <rml@novell.com>
11317
11318         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11319           src/NetworkManager.c: Take care to call bindtextdomain with the
11320           location of msgid files.
11321         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11322           files.
11323
11324 2006-05-22  Robert Love  <rml@novell.com>
11325
11326         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11327           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11328           99% of the time there is a real problem with wireless, and a
11329           seemingly successful connection via Zeroconf just confuses the user.
11330           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11331
11332 2006-05-22  Robert Love  <rml@novell.com>
11333
11334         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11335           autofs on interface up if NIS is configured.  On interface down, do
11336           nothing.
11337
11338 2006-05-22  Robert Love  <rml@novell.com>
11339
11340         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11341           to avoid calling g_object_unref() on stale pointers on error in
11342           nma_icons_free().  This happens because we short-circuit loaded the
11343           icons on the first failure but then free all icons.  Normally we have
11344           no issue because the icons were zero'ed out malloc, but we have stale
11345           pointer data after nma_icon_theme_changed().
11346         * gnome/applet/main.c: Return error code if nma_new() failed.
11347
11348 2060-05-21  Dan Williams  <dcbw@redhat.com>
11349
11350         * initscript/NetworkManager.in
11351                 - Ensure both dhcdbd and named are started before NM
11352
11353 2006-05-21  Dan Williams  <dcbw@redhat.com>
11354
11355         * configure.in
11356                 - Bump version to 0.7 to signify we are in 0.7 development
11357
11358 2006-05-21  Dan Williams  <dcbw@redhat.com>
11359
11360         Patch from Adam Schreiber <sadam@clemson.edu>
11361         * gnome/vpn-properties/nm-vpn-properties.c
11362                 - (main): correct Gnome program name  (gnome.org #342498)
11363
11364 2006-05-21  Dan Williams  <dcbw@redhat.com>
11365
11366         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11367
11368         * src/NetworkManagerDbus.[ch]
11369                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11370                         clarify that function's argument should be an escaped dbus object
11371                         path, and look for path segment end before returning a match
11372         * src/nm-dbus-nm.c:
11373                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11374
11375 2006-05-17  Robert Love  <rml@novell.com>
11376
11377         Functionality to differentiate Ad-Hoc networks from infrastructure
11378         networks in the applet, by displaying a special icon:
11379         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11380         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11381         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11382           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11383           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11384           networks, encrypted or not.
11385         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11386           accessor functions to get and set the mode of a given network,
11387           wireless_network_get_mode() and wireless_network_set_mode().
11388
11389 2006-05-17  Robert Love  <rml@novell.com>
11390
11391         Functionality to automatically add BSSIDs to the allowed-MAC list as
11392         one roams from access point to access point on a given network:
11393         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11394           helper function to compare two ether_addr structures and return TRUE
11395           if they contain the same MAC address.
11396         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11397           prototype.
11398         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11399           stored with the current AP.  If the BSSID has indeed changed, we
11400           send it out to the applet, allowing the allowed-MAC list to grow
11401           automatically in response to roaming.
11402
11403 2006-05-16  Robert Love  <rml@novell.com>
11404
11405         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11406           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11407
11408 2006-05-13  Dan Williams  <dcbw@redhat.com>
11409
11410         * src/nm-device-802-3-ethernet.c
11411                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11412                         carrier detect (Debian bug #366373)
11413
11414 2006-05-11  Dan Williams  <dcbw@redhat.com>
11415
11416         Patch from Michael Biebl <biebl@teco.edu>
11417         * src/backends/NetworkManagerDebian.c
11418                 - Debian backend fixups
11419
11420 2006-05-10  Robert Love  <rml@novell.com>
11421
11422         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11423
11424 2006-05-09  Robert Love  <rml@novell.com>
11425
11426         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11427           private certificate passphrase, if any, in the GNOME Keyring.
11428         * libnm-utils/dbus-helpers.c: Update.
11429
11430 2006-05-05  Dan Williams  <dcbw@redhat.com>
11431
11432         * src/nm-device-802-11-wireless.c
11433                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11434                         nm_device_802_11_wireless_disable_encryption() since that's all
11435                         we use it for anymore; we don't ever set WEP keys ourselves.
11436                 - (real_deactivate_quickly): reset SSID and encryption keys
11437                 - (real_deactivate): move SSID and encryption key reset to
11438                         real_deactivate_quickly(), which gets run before us anyway
11439
11440 2006-05-05  Robert Love  <rml@novell.com>
11441
11442         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11443           root has a wacky default of its own (or, more common, a user has a
11444           bad umask and uses su/sudo to restart NetworkManager).  Anything
11445           other than 0022 does not do what we want with, for example,
11446           resolv.conf.  This problem is amplified by our judicious use of
11447           fopen(), which uses mode 0666 -- implying that the only way to get
11448           the permissions we want is with a umask of 0022.
11449
11450 2006-05-05  Dan Williams  <dcbw@redhat.com>
11451
11452         * gnome/libnm_glib/libnm_glib.c
11453                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11454                         to reconnect; instead wait a bit more with each reconnect attempt
11455                         up to a max of one minute.
11456
11457 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11458
11459         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11460           the WirelessNetwork structure using the proper function instead of
11461           just casting it directly to (const char *) (gnome.org #336991)
11462
11463 2006-05-03  Robert Love  <rml@novell.com>
11464
11465         * src/backends/NetworkManagerSuSE.c: Respect the variable
11466           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11467           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11468           to dynamically update /etc/resolv.conf.
11469
11470 2006-05-02  Peter Jones  <pjones@redhat.com>
11471
11472         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11473
11474 2006-05-02  Robert Love  <rml@novell.com>
11475
11476         Patch by Timo Hoenig;
11477         * tests/nm-online.c: Print pretty status indicator as timeout winds
11478           down.  Also fix possible race between DBUS startup and failure
11479           return.
11480
11481 2006-05-01  Robert Love  <rml@novell.com>
11482
11483         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11484           empty, too.
11485
11486 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11487
11488         * src/nm-device.c (discover_device_type): Actually use the hal
11489         device type instead of ioctl poking
11490
11491 2006-04-26  Robert Love  <rml@novell.com>
11492
11493         * tests/nm-online.c: New file.  Simple utility that returns exit status
11494           noting whether the connection is offline or online.  If offline on
11495           start, it waits 30 seconds (or a command-line given value) for an
11496           online signal.  If it times out, it again returns offline.  This is
11497           useful for scripts that want to wait for network connections.
11498
11499 2006-04-25  Robert Love  <rml@novell.com>
11500
11501         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11502           key mode (the authentication algorithm), e.g. open or shared, when we
11503           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11504           only shared was broken.  If the user specified a shared key, set it
11505           explicitly, otherwise let wpa_supplicant go with the default.
11506
11507 2006-04-24  Dan Williams  <dcbw@redhat.com>
11508
11509         * src/nm-device-802-11-wireless.c
11510                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11511
11512 2006-04-24  Dan Williams  <dcbw@redhat.com>
11513
11514         Commit the async scanning patch
11515
11516         * src/nm-device-802-11-wireless.c
11517                 - get rid of scan_mutex
11518                 - (wireless_event_helper): act on wireless scan events
11519                 - (real_start): schedule a pending scan
11520                 - (link_to_specific_ap): fake the link to the AP during a scan
11521                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11522                         strength during scans
11523                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11524                         nm_device_set_bitrate): unused with new scanning code, disable
11525                 - (nm_device_wireless_schedule_scan): removed
11526                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11527                 - (request_and_convert_scan_results): new function; retrieve scan
11528                         results from the driver and schedule the processing function
11529                 - (scan_results_timeout): timeout triggered when card doesn't send
11530                         a scan results wireless event during a certain interval
11531                 - (schedule_scan_results_timeout): new function; schedule the scan
11532                         results timeout
11533                 - (cancel_scan_results_timeout): new function; cancel the scan
11534                         results timeout
11535                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11536                         to do the scanning.  Otherwise, just request a scan but don't
11537                         grab results here; instead schedule a timeout for scan results and
11538                         let netlink notify us of scan completion events
11539                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11540                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11541                 - (supplicant_status_cb): ignore disconnect events while scanning
11542                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11543                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11544                         timeouts
11545                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11546
11547 2006-04-24  Dan Williams  <dcbw@redhat.com>
11548
11549         * gnome/applet/applet-dbus.c
11550                 - Disable the pending call debug stuff, seems under control now
11551
11552 2006-04-20  Robert Love  <rml@novell.com>
11553
11554         Fix bug where hidden ESSID's would not show up in the applet, even
11555         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11556         because nm_policy_device_list_update_from_allowed_list() would merge
11557         the data, putting a name to the hidden networks, but never notify NMI
11558         of the changes.  Simple fix is to invoke the function
11559         nm_dbus_signal_wireless_network_change() if we make a mapping.
11560         * src/NetworkManagerAPList.c: Call the function
11561           nm_dbus_signal_wireless_network_change() if we made a successful
11562           BSSID to ESSID mapping, notifying the applet of the "new" network.
11563         * src/NetworkManagerAPList.h: Update the prototypes for both
11564           nm_ap_list_copy_essids_by_address() and
11565           nm_ap_list_copy_one_essid_by_address().
11566
11567 2006-04-20  Robert Love  <rml@novell.com>
11568
11569         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11570           not set.  Just return zero.
11571
11572 2006-04-20  Robert Love  <rml@novell.com>
11573
11574         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11575           only one copy of nm-vpn-properties is running at a time via the 'ol
11576           X selection trick.  This prevents the user from opening two "VPN
11577           Connections" windows from within the applet, which leads to mass
11578           hysteria.
11579         * clipboard.c: New file, implementing simple X selection logic.
11580         * clipboard.h: New file.
11581         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11582
11583 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11584
11585         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11586         * configure.in
11587           initscript/Gentoo/Makefile.am
11588           initscript/Gentoo/NetworkManagerDispatcher.in
11589                 - New script
11590         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11591           Gentopia
11592
11593 2006-04-16  Dan Williams  <dcbw@redhat.com>
11594
11595         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11596         * configure.in
11597           initscript/Slackware/Makefile.am
11598           initscript/Slackware/rc.networkmanager-dispatcher.in
11599           initscript/Slackware/rc.networkmanager.in
11600                 - Update slackware initscripts
11601
11602 2006-04-10  Robert Love  <rml@novell.com>
11603
11604         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11605           the "delete_event" signal on the druid's parent window and handle it
11606           our way, lest using the WM to close the druid results in a series of
11607           bloody and ultimately lethal errors.
11608
11609 2006-04-10  Robert Love  <rml@novell.com>
11610
11611         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11612           'Back' too or else the 'Forward' option is initially disabled despite
11613           valid input.
11614
11615 2006-04-06  Robert Love  <rml@novell.com>
11616
11617         Fix bad but simple bug where an active modem connection did not update
11618         NM's connection state, breaking any app that did online/offline:
11619         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11620           represented whether a dial up connection is active, or not.
11621         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11622           to modem activation and deactivation.
11623         * src/NetworkManagerDbus.c: When asked our state, do not return
11624           disconnected if the modem is active.
11625
11626 2006-04-04  Robert Love  <rml@novell.com>
11627
11628         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11629           applet.  It just confuses the crap out of people and does not make a
11630           lot of sense, as the daemon still runs.
11631
11632 2006-04-02  Tor Krill  <tor@krill.nu>
11633
11634         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11635           in start of service.
11636         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11637           get Archlinux backend up to date.
11638
11639 2006-03-29  Robert Love  <rml@novell.com>
11640
11641         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11642         to add support for per-route MSS and improve support for per-interface
11643         MTU:
11644         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11645           optionally take an MSS parameter and set it for the given route.
11646           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11647           NMIP4Config's stored MSS, if any.
11648         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11649           the interface's MTU and the route's MSS, respectively.  Add functions
11650           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11651           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11652           MSS.
11653         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11654           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11655           nm_ip4_config_set_mss.
11656         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11657           VPN daemon.
11658         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11659           Change the retval of nm_system_get_mtu to guint32.
11660         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11661           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11662           servers can specify MTU's, we should set it here if the MTU was not
11663           provided.
11664
11665 2006-03-27  Jürg Billeter  <j@bitron.ch>
11666
11667         * configure.in:
11668         * initscript/Makefile.am:
11669         * initscript/paldo/Makefile.am:
11670         * initscript/paldo/NetworkManager.in:
11671         * initscript/paldo/NetworkManagerDispatcher.in:
11672         * src/backends/Makefile.am:
11673         * src/backends/NetworkManagerPaldo.c:
11674                 - Add paldo support
11675
11676 2006-03-27  Dan Williams  <dcbw@redhat.com>
11677
11678         Patch from Christian Persch <chpe@gnome.org>
11679         * gnome/applet/applet.glade
11680                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11681
11682 2006-03-27  Dan Williams  <dcbw@redhat.com>
11683
11684         Patch from Diffe <diffie@blazebox.homeip.net>
11685         * src/backends/NetworkManagerSlackware.c
11686                 - Don't restart howl, since it's been replaced by Avahi
11687                         in most distributions
11688
11689 2006-03-27  Dan Williams  <dcbw@redhat.com>
11690
11691         Patch from Tor Krill <bugzilla@krill.nu>
11692         * configure.in
11693           initscript/Makefile.am
11694           src/backends/Makefile.am
11695           src/backends/NetworkManagerArch.c
11696           initscript/Arch/Makefile.am
11697           initscript/Arch/networkmanager-dispatcher.in
11698           initscript/Arch/networkmanager.in
11699                 - Add Arch Linux support, fixes gnome.org #335147
11700
11701 2006-03-27  Dan Williams  <dcbw@redhat.com>
11702
11703         Patch from Diffe <diffie@blazebox.homeip.net>
11704      * initscript/Slackware/rc.networkmanager
11705         - update, fixed gnome.org #333368
11706
11707 2006-03-27  Robert Love  <rml@novell.com>
11708
11709         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11710           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11711
11712 2006-03-27  Robert Love  <rml@novell.com>
11713
11714         Patch by Jürg Billeter <j@bitron.ch>:
11715         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11716           systems.
11717         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11718           as we prefer glibc over kernel headers, if possible.
11719
11720 2006-03-27  Robert Love  <rml@novell.com>
11721
11722         Patch by Jon Escombe <list@dresco.co.uk>:
11723         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11724         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11725           fail, don't bail out.  We don't expect all of the various WPA-EAP
11726           values to be present.
11727         * src/nm-ap-security.c: We need to match all capabilities for each
11728           encryption type, not any one of them.
11729
11730 2006-03-27  Robert Love  <rml@novell.com>
11731
11732         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11733           restart, not reload, ypbind.  Unfortunately there is no superior
11734           solution.
11735
11736 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11737
11738         * gnome/applet/applet-notifications.c:
11739         When displaying a notification, make sure to get rid of the
11740         previous notification so as to not have competing bubbles,
11741         and stop leaking the old one.
11742
11743         * gnome/applet/applet.c:
11744         * gnome/applet/applet.h:
11745         Add a new 'notification' member to the applet, and zero it out
11746         and free it appropriately.
11747
11748 2006-03-23  Robert Love  <rml@novell.com>
11749
11750         Patch by j <j@bootlab.org>:
11751         * gnome/applet/applet.glade: Don't set the invisible_char property,
11752           which simply overrides the GTK default.  By and by, this behavior
11753           ought to be fixed in Glade.
11754
11755 2006-03-22  Robert Love  <rml@novell.com>
11756
11757         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11758
11759 2006-03-22  Robert Love  <rml@novell.com>
11760
11761         Bug fix by Timo Hoenig <thoenig@suse.de>:
11762         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11763           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11764           and the applet going AWOL.
11765
11766 2006-03-22  Robert Love  <rml@novell.com>
11767
11768         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11769           preprocessor define and use it instead of open-coded the DHCP
11770           timeout, which is currently 25 seconds, everywhere.
11771
11772 2006-03-22  Robert Love  <rml@novell.com>
11773
11774         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11775         key exchange via WPA, ostensibly providing good security without
11776         requiring hardware that supports full WPA.  Also, add UI elements to
11777         allow the user to select the pairwise & group cipher for WPA Enterprise
11778         networks, too:
11779         * gnome/applet/applet.glade: Update glade file.
11780         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11781           key type, too, to and from gconf.
11782         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11783           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11784           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11785           the capabilities match.
11786         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11787           prototype.
11788         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11789           serialize from UI to DBUS.
11790         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11791           one element.
11792         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11793           nmu_security_serialize_wpa_eap_with_cipher(), and
11794           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11795           serialize/deserialize the key type via DBUS as the new third DBUS
11796           parameter.
11797         * libnm-util/dbus-helpers.h: Update prototypes.
11798         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11799           too.  If the key type is WEP104, do Dynamic WEP, which means
11800           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11801           pairwise and group ciphers (fixes a FIXME).
11802
11803 2006-03-21  Robert Love  <rml@novell.com>
11804
11805         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11806           nm_system_get_mtu(), which returns a user-provided or system-mandated
11807           MTU value for a given device, if any, or zero if no such value
11808           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11809           if we have a provided value.
11810         * src/nm-device.c: Set the MTU of devices.
11811         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11812         * src/backends/NetworkManagerDebian.c,
11813           src/backends/NetworkManagerGentoo.c,
11814           src/backends/NetworkManagerRedHat.c,
11815           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11816
11817 2006-03-21  Robert Love  <rml@novell.com>
11818
11819         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11820           configuration file.
11821
11822 2006-03-17  Robert Love  <rml@novell.com>
11823
11824         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11825           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11826           it, in case it is not running in the first place.  We just want its
11827           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11828
11829 2006-03-15  Robert Love  <rml@novell.com>
11830
11831         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11832           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11833           label "WEP 40/128-bit" is inconsistent because the physical key size
11834           is 40 or 104-bits, to which a 24-bit initialisation vector is
11835           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11836           to read "40/104" or "64/128".  I do not care much which, but most
11837           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11838           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11839           WEP passphrase support only handles 128-bit keys, and any future
11840           64-bit passphrase support will require a new option (no way to auto-
11841           detect the target key size), explicitly label our passphrase support
11842           "WEP 128-bit Passphrase".
11843
11844 2006-03-15  Robert Love  <rml@novell.com>
11845
11846         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11847           the system init scripts (or some other mechanism) starting it (or a
11848           compatible DBUS service) before NetworkManager runs.  This means that
11849           distributions might need to update their init scripts.  This fixes
11850           possible races and is quite a bit cleaner.
11851         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11852           starting the NetworkManager daemon.
11853
11854
11855 2006-03-14  Robert Love  <rml@novell.com>
11856
11857         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11858           before adding anything.
11859
11860 2006-03-13  Robert Love  <rml@novell.com>
11861
11862         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11863           widgets, too, if they exist, in case the user hit the back button.
11864           Fixes a bug where the details page contains the widgets of multiple
11865           VPN modules (Novell bug #157048).
11866
11867 2006-03-13  Robert Love  <rml@novell.com>
11868
11869         Patch by Timo Hoenig <thoenig@suse.de>:
11870         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11871           daemon survive DBUS restarts, too.
11872
11873 2006-03-10  Robert Love  <rml@novell.com>
11874
11875         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11876           passphrase or key.
11877         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11878           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11879           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11880           in response to "toggled" signal on new toggle.
11881
11882 2006-03-10  Robert Love  <rml@novell.com>
11883
11884         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11885           serialization if strings are NULL, lest DBUS get angry.
11886
11887 2006-03-10  Robert Love  <rml@novell.com>
11888
11889         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11890
11891 2006-03-09  Robert Love  <rml@novell.com>
11892
11893         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11894           configurations.
11895
11896 2006-03-09  Dan Williams  <dcbw@redhat.com>
11897
11898         Track pending call requests in the applet, and report how many are
11899         outstanding, and how long each completed one takes.
11900         
11901         * gnome/applet/applet-dbus-devices.c
11902           gnome/applet/applet-dbus-vpn.c
11903                 - Track pending calls
11904
11905         * gnome/applet/applet-dbus.[ch]
11906                 - Remove some unused enums
11907                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11908                         new functions to track dbus pending calls and spit out some
11909                         statistics about them
11910
11911 2006-03-09  Robert Love  <rml@novell.com>
11912
11913         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11914           nm_ap_set_timestamp() take the second and micro-second parameters as
11915           direct arguments, which avoids both a dynamic memory allocation and a
11916           structure-to-structure copy!  Add a new interface, the aptly named
11917           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11918           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11919           the return from nm_ap_get_timestamp().  New users should use the new
11920           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11921           the extreme benefit to performance.
11922         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11923           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11924
11925 2006-03-08  Robert Love  <rml@novell.com>
11926
11927         * gnome/applet/applet.glade: Hide the password entry text with
11928           asterisks.
11929
11930 2006-03-08  Robert Love  <rml@novell.com>
11931
11932         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11933           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11934           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11935           a second argument, NMData.
11936         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11937         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11938           config files as trusted.
11939
11940 2006-03-06  Robert Love  <rml@novell.com>
11941
11942         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11943         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11944           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11945           Rivera, detect if the applet was auto-started.  If so, ask the user
11946           if he or she would like to stop automatically running the applet on
11947           login.  If so, disable autostart.
11948
11949 2006-03-06  Robert Love  <rml@novell.com>
11950
11951         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
11952           directory in CFLAGS so developers can actually use NetworkManager.h.
11953
11954 2006-03-06  Robert Love  <rml@novell.com>
11955
11956         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11957           open-coded integer constants.  Add state_to_string() to map a given
11958           state to a textual description, and provide that when notifying of
11959           state change.
11960         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11961           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
11962           this header directly, but it is currently not installed on most
11963           systems.
11964
11965 2006-03-05  Dan Williams  <dcbw@redhat.com>
11966
11967         Process netlink messages in device subclasses rather than in
11968         NetworkManager.c.  Also add support for recognizing Wireless Events.
11969         
11970         * configure.in
11971                 - Find GLIB_GENMARSHAL
11972
11973         * src/Makefile.am
11974                 - Since we're marshalling custom types for wireless event signals,
11975                         we get to create our own marshallers using GLIB_GENMARSHAL
11976
11977         * src/NetworkManager.c
11978                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11979                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11980                         cut down somewhat.  We no longer process signals here.
11981                 - (nm_data_new): create the netlink monitor here, and remove a
11982                         useless call to nm_policy_schedule_device_change_check()
11983                 - (nm_data_free): get rid of the netlink monitor here
11984                 - (nm_device_link_activated, nm_device_link_deactivated): removed
11985                 - (main): don't create the netlink monitor here, let nm_data_new
11986                         do that.  Call nm_policy_schedule_device_change_check() right
11987                         before we jump to the mainloop to figure out which device
11988                         to use first
11989
11990         * src/NetworkManagerSystem.[ch]
11991                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11992                         convert back and forth from interface names to interface
11993                         indexes
11994
11995         * src/nm-device-802-11-wireless.c
11996                 - (real_init): connect to wireless-event signals from the netlink
11997                         monitor object
11998                 - (nm_device_802_11_wireless_event): new function, schedule handler
11999                         for wireless event signals from the netlink monitor object.  We
12000                         want the handler to run in the device's context
12001                 - (wireless_event_helper): handle wireless-event signals from netlink
12002                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12003                         signal handler
12004
12005         * src/nm-device-802-11-wireless.h
12006                 - remove unused prototype for nm_device_802_11_wireless_new
12007
12008         * src/nm-device-802-3-ethernet.c
12009                 - (real_init): new function; set up signal handlers for link events
12010                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12011                         handler for netlink link activated events on device's main loop
12012                 - (link_activated_helper): when we get a link activated event, set
12013                         the device's link to be active
12014                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12015                         handler for netlink link deactivated events on device's main loop
12016                 - (link_deactivated_helper): when we get a link deactivated event, set
12017                         the device's link to be inactive
12018                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12019                         dispose
12020
12021         * src/nm-device-802-3-ethernet.h
12022                 - remove unused prototype for nm_device_802_3_ethernet_new
12023
12024         * src/nm-device.[ch]
12025                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12026                         but locks the device list
12027                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12028
12029         * src/nm-netlink-monitor.[ch]
12030                 - (nm_netlink_monitor_class_install_signals): New signal
12031                         "wireless-event"
12032                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12033                         at the device list
12034                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12035
12036         * src/nm-marshal-main.c
12037                 - Include generated nm-marshal.c and nm-marshal.h
12038
12039         * src/nm-marshal.list
12040                 - List of custom marshal functions
12041
12042 2006-03-05  Dan Williams  <dcbw@redhat.com>
12043
12044         * gnome/applet/applet-notifications.h
12045                 - Protect prototype of nma_send_event_notification() because it
12046                         includes libnotify-specific types
12047                 - Include libnotify/libnotify.h too, since we technically need it
12048
12049         * gnome/applet/applet.c
12050                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12051                 - (nma_show_vpn_login_banner_dialog): add some error checking
12052
12053 2006-03-04  Dan Williams  <dcbw@redhat.com>
12054
12055         Clean up activation cancellation.  Should be a lot faster now.  Observed
12056         an issue with wireless devices between stage 2 and 3 of activation, where
12057         activation would be cancelled, but the device thread wouldn't notice until
12058         the supplicant association timed out.  Reorganize activation such that
12059         a cancellation handler gets immediately scheduled in the device's thread,
12060         and devices have a chance to perform any custom cleanup too.
12061
12062         * src/nm-device.[ch]
12063                 - (activation_cancel_handler): new device-type-specific function
12064                         for cleaning up device-type-specific stuff on cancellation
12065                 - (cancel_activation): removed
12066                 - (nm_device_activation_cancel): subsume functionality of
12067                         real_cancel_activation, but instead of doing anything, punt
12068                         operation to a handler that's run in device-thread context
12069                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12070                         a warning message
12071                 - (activation_handle_cancel_helper): cancellation handler run in
12072                         device-thread context, calls device-type-specific cancelation,
12073                         then tears down the activation request
12074                 - (real_activation_cancel_handler): generic cancellation handler,
12075                         deals with cancelling any in-process DHCP request
12076                 - (nm_device_activate_stage1_device_prepare,
12077                    nm_device_activate_stage2_device_config,
12078                    nm_device_activate_stage3_ip_config_start,
12079                    nm_device_activate_stage4_ip_config_get,
12080                    nm_device_activate_stage4_ip_config_timeout,
12081                    nm_device_activate_stage5_ip_commit): don't call
12082                         nm_device_schedule_activation_handle_cancel() any more, since
12083                         cancellation will have been already scheduled for us by
12084                         nm_device_activation_cancel().  Just exit the function and
12085                         assume that the cancel handler will be called next.
12086
12087         * src/nm-device-802-3-ethernet.c
12088                 - (real_act_stage2_config): remove; didn't do anything anyway
12089
12090         * src/nm-device-802-11-wireless.c
12091                 - (supplicant_status_cb): ensure we don't do anything if the activation
12092                         got cancelled
12093                 - (real_activation_cancel_handler): implement; cancel user key request
12094                         on activation cancellation
12095
12096 2006-03-04  Dan Williams  <dcbw@redhat.com>
12097
12098         * src/nm-device-802-11-wireless.c
12099                 - (supplicant_send_network_config): assume that drivers that don't
12100                         support WPA pretty much suck, and can't handle NM scanning
12101                         along with wpa_supplicant.
12102
12103 2006-03-03  Robert Love  <rml@novell.com>
12104
12105         * configure.in: Bump version to 0.6.0.
12106         * NEWS: Update.
12107
12108 2006-03-03  Robert Love  <rml@novell.com>
12109
12110         * configure.in: Require DBUS 0.60 or later.
12111
12112 2006-03-03  Dan Williams  <dcbw@redhat.com>
12113
12114         Fix a crash if an "Other wireless network" was chosen, failed, then
12115         chosen again from the applet's menu.  If the other network wasn't
12116         noticed in a scan, it wouldn't have any capabilities, but would still
12117         be listed because the user forced the network.  To fix this, we set
12118         sensible capabilities on the forced network, which will get overwritten
12119         with the correct ones if the network shows up later in a scan.
12120         
12121         * src/nm-ap-security.h
12122                 - Add a new "get_default_capabilities_func" member to the
12123                         NMAPSecurity class
12124
12125         * src/nm-ap-security.c
12126                 - (nm_ap_security_get_default_capabilities): new function
12127
12128         * src/nm-ap-security.c
12129           src/nm-ap-security-wep.c
12130           src/nm-ap-security-wpa-psk.c
12131           src/nm-ap-security-wpa-eap.c
12132                 - Implement get_default_capabilities_func() for all, which
12133                         uses the information contained in a specific NMAPSecurity
12134                         object to determine default AP capabilites necessary
12135                         to support that object
12136
12137         As a secondary measure, we now prune artificial access points that fail
12138         to be activated right away.  The thing failed, and we have no scan data for
12139         it, so it's pretty much useless since security information is only saved
12140         in the applets when a connection is successful.
12141
12142         * src/NetworkManagerAPList.c
12143                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12144                         not artificial.  If we see it, it's no longer a figment of the
12145                         user's imagination :)
12146
12147         * src/NetworkManagerPolicy.c
12148                 - (nm_policy_activation_failed): send along the failed AP if we
12149                         have it
12150
12151         * src/nm-device-802-11-wireless.c
12152                 - (real_activation_failure_handler): remove artificial APs from
12153                         the device list, because activation failed
12154
12155 2006-03-02  Robert Love  <rml@novell.com>
12156
12157         Add support for retrieving both the per-device speed and the
12158         per-network maximum supported rate.  Then change the getProperties
12159         DBUS API for both networks and devices to report this informaiton.
12160         Finally, display the information via both nm-applet and nm-tool:
12161         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12162           and set it.
12163         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12164           Information' dialog.
12165         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12166         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12167           network_device_get_speed() and network_device_set_speed() for
12168           retrieving and setting, respectively, a network device's current
12169           speed.
12170         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12171         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12172           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12173           not matter (yet) what the units are, because we only feed it its own
12174           output.  Implement SIOCGIRATE and set the per-network maximum
12175           supported rate during scanning.
12176         * src/nm-device-802-11-wireless.h: Export the function
12177           nm_device_802_11_wireless_get_bitrate().
12178         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12179           function nm_device_802_3_ethernet_get_speed() for returning an
12180           802.3's current speed, in Mb/s.
12181         * test/nm-tool.c: Display the per-device current speed, if available,
12182           and the per-network maximum rate.
12183
12184 2006-03-02  Dan Williams  <dcbw@redhat.com>
12185
12186         * src/nm-device-802-11-wireless.c
12187                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12188                         card when it gets initialized.  Since devices don't get added to
12189                         the scan list until they are initialized, this function wasn't
12190                         setting the intitial scan interval correctly, and was leaving
12191                         it at 0.  This caused cards to get many scan requests in a short
12192                         amount of time when they were initialized
12193
12194 2006-03-02  Robert Love  <rml@novell.com>
12195
12196         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12197           active device.  But do not do what we used to do and override the
12198           state, which caused the dreaded icon race of '05.
12199
12200 2006-03-02  Robert Love  <rml@novell.com>
12201
12202         Commit Dan's update of my previous commit:
12203         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12204           set_mode() function itself does the check.  But do only set the
12205           frequency if in Ad-Hoc mode.
12206
12207 2006-03-02  Robert Love  <rml@novell.com>
12208
12209         Patch by Brian Magnuson <magnuson@rcn.com>:
12210         * src/nm-device-802-11-wireless.c: During scanning, only set the
12211           wireless mode to infrastructure if it is not currently in
12212           infrastructure mode.  For some driver, setting the mode is a costly
12213           operation, apparently.
12214
12215 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12216
12217         * Makefile.am: use the correct dir for autostart mechanism.
12218
12219 2006-02-28  Dan Williams  <dcbw@redhat.com>
12220
12221         Patch from Brian Magnuson <magnuson@rcn.com>
12222         * gnome/applet/applet.c
12223                 - (nma_show_vpn_failure_dialog): fix errors left over from
12224                         libnotify support changes
12225
12226 2006-02-28  Dan Williams  <dcbw@redhat.com>
12227
12228         * src/vpn-manager/nm-vpn-act-request.[ch]
12229                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12230                         just one value
12231                 - (nm_vpn_act_request_is_failed): new function; return whether or
12232                         not the vpn activation request has failed
12233
12234         * src/vpn-manager/nm-vpn-manager.c 
12235                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12236                         daemon to kill the connection when the activation request fails.
12237                         Fixes issue where NM would get confused if the VPN activation
12238                         request timed out, and would not allow further VPN connections
12239                         on that service.
12240
12241 2006-02-28  Dan Williams  <dcbw@redhat.com>
12242
12243         * gnome/applet/applet.c
12244                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12245                         overlapping connection requests, disable all VPN menu items
12246                         but the active VPN connection
12247
12248 2006-02-28  Dan Williams  <dcbw@redhat.com>
12249
12250         * src/vpn-manager/nm-vpn-connection.c
12251                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12252                         called g_object_unref() on the connection's parent device
12253                         when it should have been ref-ed instead.  Fixes crash with
12254                         repeated vpn connect requests
12255
12256 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12257
12258         * gnome/applet/applet.glade:
12259         Mark a few strings non-translatable, since they shouldn't be.
12260
12261 2006-02-28  Dan Williams  <dcbw@redhat.com>
12262
12263         * src/vpn-manager/nm-vpn-service.c
12264                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12265                         already running, don't blindly ask it to connect, but wait until
12266                         it's in the STOPPED state first.  Fixes an assertion when user
12267                         starts a second vpn connection without stopping the first.
12268                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12269                         dbus service exists before continuing with the connection
12270                         process, and reduce latency while waiting for it to become
12271                         available
12272                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12273                         waiting for the vpn service daemon to become available
12274                 - General log message cleanups; show progress via "Stage x of 4"
12275                         rather than not telling anyone how many stages there are
12276
12277 2006-02-28  Robert Love  <rml@novell.com>
12278
12279         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12280         * src/backends/NetworkManagerSuSE.c: Implement the interface
12281           nm_system_should_modify_resolv_conf() for SUSE.
12282         * src/backends/NetworkManagerDebian.c,
12283           src/backends/NetworkManagerGentoo.c,
12284           src/backends/NetworkManagerRedHat.c,
12285           src/backends/NetworkManagerSlackware.c: Add stub.
12286         * src/named-manager/Makefile.am: Grab includes from src.
12287         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12288           automatic updating of resolv.conf.  This is useful for testing,
12289           broken static configurations, and administrator lock-down.
12290
12291 2006-02-28  Dan Williams  <dcbw@redhat.com>
12292
12293         * src/nm-device-802-11-wireless.c
12294                 - Move all the wpa_supplicant-related management stuff into its
12295                         own struct, just for oranization's sake
12296                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12297                         to a GIOChannel/GSource
12298                 - (supplicant_log_stdout): new function; grab output from the
12299                         wpa_supplicant stdout pipe and write it to our logs.
12300
12301 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12302
12303         * src/nm-device-802-11-wireless.c:
12304         Err, fix thinko in my previous commit.
12305
12306 2006-02-28  Robert Love  <rml@novell.com>
12307
12308         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12309
12310 2006-02-28  Robert Love  <rml@novell.com>
12311
12312         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12313           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12314           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12315           deserializers are responsible for freeing the returned DBUS strings.
12316
12317 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12318
12319         * src/nm-device-802-11-wireless.c:
12320         The scan list is being pruned prematurely.  We should prune after
12321         the device has gone MIA for three scans, not one.  Split out the
12322         interval to realtime seconds function to better serve this.
12323
12324 2006-02-27  Robert Love  <rml@novell.com>
12325
12326         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12327           Open the pid file O_TRUNC, so if it already exists we truncate it to
12328           zero length.  Also, be more verbose about warnings generated during
12329           writing out the pid file.  Finally, always write out the pid file if
12330           in daemon mode.  Use "--pid-file" to override the default.
12331
12332 2006-02-27  Robert Love  <rml@novell.com>
12333
12334         Patch by R. Vinay <rvinay@novell.com>:
12335         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12336           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12337           Novell bug #153628).
12338           
12339 2006-02-27  Robert Love  <rml@novell.com>
12340
12341         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12342           entry so user can hit <ENTER> after entering passphrase (Novell bug
12343           #153738).
12344
12345 2006-02-27  Dan Williams  <dcbw@redhat.com>
12346
12347         * gnome/applet/*
12348                 - Mass search/replace of:
12349                         nmwa -> nma
12350                         NMWirelessApplet -> NMApplet
12351                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12352                    (it ain't just for wireless anymore, ma!)
12353                 - Fix duplicate function name printing when using nm_warning
12354                 - wireless-applet.glade -> applet.glade
12355
12356 2006-02-27  Dan Williams  <dcbw@redhat.com>
12357
12358         * dispatcher-daemon/NetworkManagerDispatcher.c
12359                 - Accept --pid-file with a path to a pidfile, write it out on
12360                         startup, and delete it on shutdown
12361
12362         * src/NetworkManager.c
12363                 - Accept --pid-file with a path to a pidfile, write it out on
12364                         startup, and delete it on shutdown
12365                 - Move nm_print_usage() lower
12366
12367         * initscripts/RedHat/NetworkManager.in
12368                 - Use new --pid-file option
12369                 - Fix service stopping to wait a bit for NM to quit
12370
12371         * initscripts/RedHat/NetworkManagerDispatcher.in
12372                 - Use new --pid-file option
12373
12374 2006-02-26  Dan Williams  <dcbw@redhat.com>
12375
12376         * src/Makefile.am
12377                 - make and install nm-crash-logger
12378
12379         * src/nm-logging.[ch]
12380                 - New files; consolidate logging and crash handling
12381
12382         * src/nm-crash-logger.c
12383           src/gdb-cmd
12384                 - Standalong crashlogger for NM, grab a backtrace
12385                         using GDB
12386
12387         * src/NetworkManager.[ch]
12388                 - Remove signal handling and put it into nm-logging.c
12389
12390 2006-02-26  Dan Williams  <dcbw@redhat.com>
12391
12392         * configure.in
12393           gnome/applet/Makefile.am
12394                 - Conditionalize all the notify stuff
12395
12396         Merge most of Chris Aillon's notification patch:
12397         
12398         * gnome/applet/applet-notifications.[ch]
12399                 - New files; show a notification
12400         
12401         * gnome/applet/applet-dbus-devices.[ch]
12402                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12403                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12404                         new functions, do the right thing when a device change occurs
12405
12406         * gnome/applet/applet-dbus.c
12407                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12408                         signals, so we can handle them specially
12409
12410         * gnome/applet/applet.[ch]
12411                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12412                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12413                 - (nmwa_notify_state): remove
12414                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12415                         notification work is now done when the appropriate dbus signals
12416                         are received.
12417                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12418                         defer execution of the notification/dialog stuff.  That was an
12419                         artifact of the previous multi-threaded nature of the applet
12420                         and is now pointless.
12421                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12422                         no longer needed.  Function folded into applet-notifications.c
12423
12424         * src/NetworkManagerPolicy.c
12425                 - (nm_policy_activation_finish): send the AP along with the device
12426                         status change signal, if the connection is wireless.  Should
12427                         fix the race where applet would show a connection to "unknown"
12428
12429 2006-02-25  Robert Love  <rml@novell.com>
12430
12431         Add WPA Enterprise support:
12432         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12433           nm-gconf-wso-wpa-eap.h.
12434         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12435           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12436           serialization and deserialization.
12437         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12438           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12439           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12440         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12441           settings related to WPA Enterprise.
12442         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12443           instantiate WPA Enterprise wireless-security-option.
12444         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12445           Implement WPA Enterprise wireless-security-option object.
12446         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12447           defines.  Cleanup.
12448         * libnm-util/cipher-wpa-psk-hex.c,
12449           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12450         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12451           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12452           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12453           including the cipher to DBUS method, and
12454           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12455           to output.
12456         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12457           nm-ap-security-wpa-eap.h
12458         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12459           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12460         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12461           files.  Implement NMAPSecurityWPA_EAP object.
12462         * src/nm-ap-security-wpa-psk.c: Cleanup.
12463         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12464           an NMAPSecurityWPA_EAP object via the method
12465           nm_ap_security_wpa_eap_new_deserialize().
12466         * src/nm-dbus-nm.c: Cleanup.
12467         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12468           WPA Enterprise support.
12469
12470 2006-02-24  Robert Love  <rml@novell.com>
12471
12472         Patch from Timo Hoenig <thoenig@suse.de>:
12473         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12474
12475 2006-02-24  Robert Love  <rml@novell.com>
12476
12477         Patch from Dan Winship <danw@novell.com>:
12478         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12479           area to transparent.
12480
12481 2006-02-21  Dan Williams  <dcbw@redhat.com>
12482
12483         * gnome/applet/applet.[ch]
12484           gnome/applet/applet-dbus.c
12485                 - Implement notification support for VPN messages too
12486
12487 2006-02-21  Dan Williams  <dcbw@redhat.com>
12488
12489         * gnome/applet/applet-dbus-info.c
12490                 - Clean up warning messages to not double-print the function
12491
12492 2006-02-21  Dan Williams  <dcbw@redhat.com>
12493
12494         * gnome/applet/applet-compat.c
12495                 - (convert_one_entry): accept entries without a key_type and
12496                         convert them to unencrypted networks
12497
12498 2006-02-21  Dan Williams  <dcbw@redhat.com>
12499
12500         * gnome/libnm_glib/libnm_glib.c
12501                 - Use __func__ everywhere we can
12502                 - Code cleanups
12503                 - Use dbus pending calls rather than blocking
12504                 - Reduce busywaits for our thread to start and stop
12505                         (gnome.org #330562)
12506                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12507                         stomp on others using the default shared dbus connection.
12508                         Fixes #rh177546# and gnome.org #326572
12509
12510 2006-02-21  Dan Williams  <dcbw@redhat.com>
12511
12512         Patch from Rodney Dawes <dobey@novell.com>
12513         * configure.in
12514           gnome/applet/Makefile.am
12515           gnome/applet/applet.c
12516                 - Add libnotify support if '--enable-notify=yes' is passed
12517                   at configure time
12518
12519 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12520
12521         * configure.in (ALL_LINGUAS): ko added. (Korean)
12522
12523 2006-02-15  Robert Love  <rml@novell.com>
12524
12525         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12526           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12527           and WPA_SUPPLICANT_CONTROL_SOCKET.
12528         
12529 2006-02-15  Robert Love  <rml@novell.com>
12530
12531         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12532           information about what connection stage we are at, provide the total
12533           number of stages, e.g. "Stage 2 of 5", so users know how far along
12534           they are if they experience problems.
12535
12536 2006-02-15  Robert Love  <rml@novell.com>
12537
12538         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12539           define to $sysconfdir.
12540         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12541           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12542           type of VPN and then editing another results in a mangled dialog
12543           box containing the widgets from both VPNs (fixes Novell #150854).
12544           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12545
12546 2006-02-14  Robert Love  <rml@novell.com>
12547
12548         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12549           syslog's file descriptor.
12550
12551 2006-02-14  Robert Love  <rml@novell.com>
12552
12553         Fix bug around since the change to "deal with APs changing settings on
12554         us," checked in on the fifth of February in the year of the dog, 
12555         wherein connecting to non-broadcast encrypted networks always fails
12556         because nm_ap_get_encrypted() always returns FALSE, even when the user
12557         provided a key, because the newly-created fake AP does not have any
12558         capabilities set, which is a sypmtom of security settings not matching
12559         capabilities (Novell bug #150784):
12560         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12561           nm_ap_add_capabilities_from_security(), which sets the given AP's
12562           capabilities off the given security settings.  Also improve our
12563           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12564           NM_AUTH_CIPHER_AUTO.
12565         * src/nm-device-802-11-wireless.c: Call the function
12566           nm_ap_add_capabilities_from_security() to ensure that capabilities
12567           match newly updated security settings.
12568
12569 2006-02-14  Robert Love  <rml@novell.com>
12570
12571         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12572           error as a string, not an integer, if possible; do not print the
12573           function name twice; always give the interface, if possible; misc.
12574           cleanup.
12575
12576 2006-02-12  Dan Williams  <dcbw@redhat.com>
12577
12578         Patch from Tom Parker <palfrey@tevp.net>
12579         * src/NetworkManagerSystem.h
12580                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12581                         no longer used
12582
12583         * src/backends/NetworkManagerDebian.c
12584                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12585                         unused variables
12586
12587 2006-02-12  Dan Williams  <dcbw@redhat.com>
12588
12589         * vpn-daemons/openvpn/intltool-extract.in
12590           vpn-daemons/openvpn/intltool-merge.in
12591           vpn-daemons/openvpn/intltool-update.in
12592           vpn-daemons/pptp/intltool-extract.in
12593           vpn-daemons/pptp/intltool-merge.in
12594           vpn-daemons/pptp/intltool-update.in
12595                 - Remove from CVS, they should get created by intltoolize,
12596                         shouldn't they?
12597
12598 2006-02-12  Dan Williams  <dcbw@redhat.com>
12599
12600         * vpn-daemons/pptp/src/pppd/patchlevel.h
12601         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12602                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12603                         Makefile-defined VERSION
12604
12605 2006-02-09  Dan Williams  <dcbw@redhat.com>
12606
12607         Patch from: Vinay A R <rvinay@novell.com>
12608         * src/vpn-manager/nm-vpn-act-request.[ch]
12609                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12610                         IPSec VPNs require them for std gateway.
12611                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12612                         and 'user_routes_count'
12613                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12614                         defined routes  from NMVPNActRequest object, returns the string
12615                         array of routes.
12616
12617         * src/vpn-manager/nm-vpn-manager.[ch]
12618                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12619                         for 'user_routes' and 'user_routes_count'
12620         
12621         * src/vpn-manager/nm-dbus-vpn.c
12622                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12623                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12624         
12625         * src/vpn-manager/nm-vpn-service.c
12626                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12627                         the vpn daemon
12628
12629         Modifications by Dan:
12630         * src/vpn-manager/nm-vpn-service.c
12631                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12632                         arrays into dbus
12633
12634         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12635         * vpn-daemons/pptp/src/nm-pptp-service.c
12636         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12637                 - Grab user routes from dbus message
12638                 - Free all string arrays we got from dbus
12639
12640 2006-02-07  Robert Love  <rml@novell.com>
12641
12642         Patch by Stefan Seyfried <seife@suse.de>:
12643         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12644
12645 2006-02-06  Robert Love  <rml@novell.com>
12646
12647         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12648
12649 2006-02-06  Robert Love  <rml@novell.com>
12650
12651         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12652           test ">=" is never false.  If no newline is found, we loop forever.
12653           We can just check for ">" because the following if() will see the
12654           zero-th argument if the while() gets that far.
12655
12656 2006-02-05  Dan Williams  <dcbw@redhat.com>
12657
12658         Refine handling of non-broadcast networks.
12659
12660         * src/NetworkManagerAPList.c
12661                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12662                         property from scanned AP to the AP from the device list
12663
12664         * src/nm-device-802-11-wireless.c
12665                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12666                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12667                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12668                         networks since those don't have APs.
12669                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12670                         AP as non-SSID-broadcasting
12671                 - (process_scan_results): don't handle non-SSID-broadcasting here
12672
12673 2006-02-05  Dan Williams  <dcbw@redhat.com>
12674
12675         * src/nm-device-802-11-wireless.c
12676                 - (get_supplicant_timeout): new function; return
12677                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12678                         14 channels.  These are likely a/b/g cards, like Atheros, and
12679                         slow as hell to scan.
12680                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12681                         get_supplicant_timeout()
12682
12683 2006-02-05  Dan Williams  <dcbw@redhat.com>
12684
12685         * src/dhcp-manager/nm-dhcp-manager.c
12686                 - Loose a commit race with Robert; make sure size check
12687                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12688
12689 2006-02-05  Robert Love  <rml@novell.com>
12690
12691         Patch by Christoph Brill <chrisbrill@gmx.net>:
12692         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12693           with DHCP_SERVICE_NAME.
12694
12695 2006-02-05  Dan Williams  <dcbw@redhat.com>
12696
12697         Remove anything having to do with device_setup_func from the
12698         AP security objects, since it's no longer used.
12699
12700         * src/nm-ap-security.h
12701                 - Kill device_setup_func and nm_ap_security_device_setup()
12702
12703         * src/nm-ap-security-wep.c
12704           src/nm-ap-security-wpa-psk.c
12705                 - (real_device_setup): remove
12706
12707         * src/nm-ap-security.c
12708                 - (real_device_setup): remove
12709                 - (nm_ap_security_device_setup): remove
12710
12711         * src/nm-device-802-11-wireless.[ch]
12712                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12713                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12714                         and done by wpa_supplicant now anyway
12715
12716 2006-02-05  Dan Williams  <dcbw@redhat.com>
12717
12718         * src/nm-device-802-11-wireless.c
12719                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12720                         settings on us.  Previously NM would loop asking for the
12721                         key but getting the same one back.  Now, if the NMI-supplied
12722                         cipher doesn't overlap with the scanned AP capabilities,
12723                         we request a completely new key from the user.
12724
12725 2006-02-05  Dan Williams  <dcbw@redhat.com>
12726
12727         * src/NetworkManagerUtils.c
12728                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12729                         Handle newline killing better
12730
12731 2006-02-05  Dan Williams  <dcbw@redhat.com>
12732
12733         * gnome/applet/nm-gconf-wso.c
12734                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12735                         of unencrypted access point security info.
12736
12737 2006-02-03  Robert Love  <rml@novell.com>
12738
12739         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12740           user's encryption key, so we print the err_msg_cmd not the command,
12741           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12742           sense.
12743
12744 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12745
12746         * initscript/RedHat/NetworkManagerDispatcher.in:
12747         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12748         Patch from Dan Walsh <dwalsh@redhat.com>
12749
12750 2006-02-03  Robert Love  <rml@novell.com>
12751
12752         * dispatcher-daemon/NetworkManagerDispatcher.c,
12753           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12754           but use the sysconfdir.
12755
12756 2006-02-03  Robert Love  <rml@novell.com>
12757
12758         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12759           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12760           'char *'.
12761         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12762           nm_ip4_config_get_hostname() and
12763           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12764         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12765           leak g_strdup() result.
12766
12767 2006-02-03  Robert Love  <rml@novell.com>
12768
12769         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12770           broadcast == TRUE.  Also, copy broadcast and artificial properties
12771           from source network to destination in nm_ap_copy().
12772         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12773           since we now default new networks to non-hidden.
12774
12775 2006-02-03  Dan Williams  <dcbw@redhat.com>
12776
12777         * gnome/applet/main.c
12778                 - (main): change the NEVER->ALWAYS so we start at the
12779                         beginning of the session, if being session-managed
12780
12781 2006-02-03  Dan Williams  <dcbw@redhat.com>
12782
12783         * gnome/applet/main.c
12784                 - (main): in a variation on Robert's patch, change
12785                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12786                         he wants.
12787
12788 2006-02-02  Robert Love  <rml@novell.com>
12789
12790         * src/Makefile.am: If we aren't going to create the run directory at,
12791           uh, run-time, create it during install.  Then users just doing
12792           'make install' are cool, too.  While we are here, create the
12793           dispatcher.d directory, too.
12794         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12795           the exact run directory.
12796         * Makefile.am: Install nm-applet.desktop.
12797
12798 2006-02-02  Robert Love  <rml@novell.com>
12799
12800         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12801           structure, which denotes whether or not the AP is hidden.  This is a
12802           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12803           can show up in the scan list.  Add nm_ap_get_broadcast() and
12804           nm_ap_set_broadcast() accessor interfaces.
12805         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12806           nm_ap_set_broadcast().
12807         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12808           "getProperties" method, which denotes whether or not the given
12809           network is hidden.
12810         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12811           an artificial network.  Set broadcast to TRUE when scanning returns
12812           an ESSID and FALSE when not.
12813         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12814           from "getProperties" method on a network.  Possible TODO is to
12815           somehow display this.
12816         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12817
12818 2006-02-02  Dan Williams  <dcbw@redhat.com>
12819
12820         * src/nm-device-802-11-wireless.c
12821                 - (supplicant_interface_init): don't try to create
12822                         /var/run/NetworkManager, since that should be done by
12823                         the distro package.  Causes problems for stuff like SELinux
12824
12825 2006-02-02  Robert Love  <rml@novell.com>
12826
12827         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12828         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12829           Check for and handle empty string for iface.
12830
12831 2006-02-01  Robert Love  <rml@novell.com>
12832
12833         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12834           manpage.
12835
12836 2006-01-31  Dan Williams  <dcbw@redhat.com>
12837
12838         * nm-applet.desktop
12839                 - Add --sm-disable to Exec arguments, presuming that when
12840                         using autostart, we don't want session management
12841
12842 2006-01-31  Robert Love  <rml@novell.com>
12843
12844         * src/NetworkManagerAP.c: Add two new manufacturer default network
12845           names: linksys-a and linksys-g.  These are found (at least) on the
12846           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12847           own ESSID.
12848
12849 2006-01-31  Robert Love  <rml@novell.com>
12850
12851         * src/NetworkManagerAP.c: Optimize the function
12852           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12853           machine code.  This is the first in a series of code tweaks aiming to
12854           generate better machine code and make NetworkManager all the better.
12855           Just kidding.  Who has time to go through the assembly generated for
12856           every function?  I certainly don't.  I have a wife, a kid, a job,
12857           a mortgage, a mistress.  But this function was so bad, I was called
12858           to arms.  Like the book.
12859
12860 2006-01-31  Robert Love  <rml@novell.com>
12861
12862         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12863           AP is not broadcasting, to scan with probe request frames.  Required
12864           for non-broadcast networks.
12865
12866 2006-01-31  Robert Love  <rml@novell.com>
12867
12868         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12869           preprocessor define (still 20s).  Fix message text in nm_info()
12870           s/too too/took too/.
12871
12872 2006-01-30  Dan Williams  <dcbw@redhat.com>
12873
12874         * src/nm-device-802-11-wireless.c
12875                 - (supplicant_monitor_start): increase connect/auth timeout to
12876                         20 seconds from 10 seconds
12877
12878 2006-01-30  Dan Williams  <dcbw@redhat.com>
12879
12880         * src/Makefile.am
12881                 - Define LOCALSTATEDIR
12882
12883         * src/nm-device-802-11-wireless.c
12884                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12885                         socket where we want it to
12886
12887         * src/wpa_ctrl.[ch]
12888                 - (wpa_ctrl_open): accept location to put local control socket
12889
12890 2006-01-30  Robert Love  <rml@novell.com>
12891
12892         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12893           get_ip4_string() for "domain_name".
12894
12895 2006-01-30  Robert Love  <rml@novell.com>
12896
12897         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12898           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12899           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12900           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12901           support for "Automatic" pairwise and group cipher configuration by
12902           letting wpa_supplicant handle the details.  Add UI elements, new
12903           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12904           charm.  Note this does more than add a nice feature, it fixes a bug.
12905           Apparently, some people have AP's where the pairwise cipher does not
12906           match the group cipher.  Insane, but true.
12907
12908 2006-01-30  Dan Williams  <dcbw@redhat.com>
12909
12910         * gnome/applet/applet-dbus-devices.c
12911                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12912                         functions, grab device driver name from NetworkManager
12913                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12914
12915         * gnome/applet/applet.c
12916                 - (nmwa_update_info): show driver name in Connection Information
12917                         dialog
12918
12919         * gnome/applet/nm-device.[ch]
12920                 - (network_device_get_driver, network_device_set_driver): add
12921                         accessors for driver name
12922
12923         * gnome/applet/wireless-applet.glade
12924                 - Add line for driver name to Connection Information dialog
12925
12926         * src/nm-dbus-device.c
12927                 - (nm_dbus_device_get_driver): new function to return driver name
12928                 - (nm_dbus_device_methods): hook up driver name function to dbus
12929
12930         * test/nm-tool.c
12931                 - (get_driver_name): new function
12932                 - (detail_device): grab and show driver name
12933
12934 2006-01-30  Robert Love  <rml@novell.com>
12935
12936         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12937           does not parse the markup if it is not part of the format.
12938
12939 2006-01-30  Robert Love  <rml@novell.com>
12940
12941         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12942           FALSE, we have no security options for this dialog, so we throw up
12943           an error dialog instead of a broken passphrase dialog.  Fixes
12944           Novell #138404.
12945         * gnome/applet/wireless-security-manager.c,
12946           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12947           does not add any security options, not even NONE, print a warning
12948           and return FALSE.  This let's functions constructing a dialog bail
12949           out if the device's capabilities and the network's requirements have
12950           zero overlap.
12951
12952 2006-01-27  Robert Love  <rml@novell.com>
12953
12954         * configure.in: Require wpa_supplicant.  Detect location of binary and
12955           use it.  Override with "--with-wpa_supplicant=foo".
12956         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12957           path to wpa_supplicant but use the auto-detected or user-provided
12958           value from configure.
12959
12960 2006-01-27  Robert Love  <rml@novell.com>
12961
12962         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12963           but the DHCP server did not return a hostname, try to look up our
12964           name via DNS and set the system hostname to that.
12965
12966 2006-01-27  Dan Williams  <dcbw@redhat.com>
12967
12968         * src/backends/NetworkManagerRedHat.c
12969                 - Add NM_CONTROLLED system network script support for RH/Fedora
12970
12971 2006-01-27  Dan Williams  <dcbw@redhat.com>
12972
12973         * src/backends/NetworkManagerGentoo.c
12974                 - (nm_system_device_get_disabled): add missing function.
12975                         Gnome BZ #328780
12976
12977 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
12978
12979         * configure.in: Added vi in ALL_LINGUAS line.
12980         
12981 2006-01-26  Robert Love  <rml@novell.com>
12982
12983         * src/Makefile.am, src/kernel-types.h: Now that two different source
12984           files are feeling the crack-addled leakage of kernel types such as
12985           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12986           types in user-space -- define a header and include it as needed.
12987         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12988         * src/nm-device-802-3-ethernet.h: Remove defines.
12989         * src/wpa.c: Remove defines and include kernel-types.h.
12990
12991 2006-01-26  Robert Love  <rml@novell.com>
12992
12993         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
12994           work.
12995
12996 2006-01-26  Robert Love  <rml@novell.com>
12997
12998         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12999         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13000           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13001           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13002           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13003           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13004           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13005           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13006           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13007           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13008           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13009           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13010           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13011           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13012           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13013           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13014           Kill unused variables, labels, and static functions.  Don't pass
13015           string literals as the format string for printf-like functions.
13016
13017 2006-01-25  Dan Williams  <dcbw@redhat.com>
13018
13019         * gnome/applet/wireless-applet.glade
13020                 - Remove WPA2 Checkbox
13021
13022         * gnome/applet/wireless-security-manager.c
13023                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13024                         This means the Wireless Security menu now has two WPA options,
13025                         one for "WPA Personal" and one for "WPA2 Personal"
13026
13027         * gnome/applet/wso-wpa-psk.[ch]
13028                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13029                         'wpa2' argument to determine WPA version to use
13030                 - (append_dbus_params_func): pass stored WPA version to cipher
13031                         rather than using the (removed) checkbox
13032
13033 2006-01-24  Robert Love  <rml@novell.com>
13034
13035         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13036           before we g_strdup(), not the ultimate string.
13037
13038 2006-01-23  Dan Williams  <dcbw@redhat.com>
13039
13040         * src/NetworkManagerAP.[ch]
13041                 - (nm_ap_new_from_ap): copy original essid too
13042                 - (nm_ap_unref): free original essid
13043                 - (nm_ap_get_orig_essid): new function
13044                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13045                         but keep original essid around too
13046
13047         * src/nm-device-802-11-wireless.c
13048                 - (supplicant_send_network_config): send wpa_supplicant the
13049                         _original_ essid, and not as a string, but in hex.  Should
13050                         allow us to connect to more APs that use wierd character
13051                         encodings for their essids
13052
13053         * utils/nm-utils.[ch]
13054                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13055                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13056                         use the current locale as a hint for what encoding the essid
13057                         might be in.  Obviously not 100% accurate, but the idea here is
13058                         that if a user's locale is ex. ja_JP, they are more likely than
13059                         not to be in Japan, where access points will likely be in some
13060                         Japanese encoding.
13061
13062 2006-01-23  Dan Williams  <dcbw@redhat.com>
13063
13064         * libnm-util/cipher-private.h
13065           libnm-util/cipher.c
13066           libnm-util/cipher.h
13067                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13068
13069 2006-01-23  Robert Love  <rml@novell.com>
13070
13071         Patch by Timo Hoenig <thoenig@suse.de>:
13072         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13073           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13074           by DHCP and pass it to the backends, allowing distribution-specific
13075           behavior with respect to the DHCP-supplied hostname (if nothing else,
13076           some distributions might not want to set the hostname).
13077         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13078           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13079           Also update our NIS behavior.
13080         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13081           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13082           Add stub functions.
13083
13084 2006-01-23  Robert Love  <rml@novell.com>
13085
13086         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13087           gnome-session does autostart.  TODO: We need to install this to
13088           $prefix/share/autostart/.
13089
13090 2006-01-22  Dan Williams  <dcbw@redhat.com>
13091
13092         * src/NetworkManagerAP.[ch]
13093           src/nm-dbus-nmi.c
13094           src/nm-device-802-11-wireless.c         
13095                 - Make nm_ap_get_essid return "const char *"
13096
13097 2006-01-22  Dan Williams  <dcbw@redhat.com>
13098
13099         * src/NetworkManagerAP.[ch]
13100                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13101
13102         * src/NetworkManagerAPList.[ch]
13103                 - (nm_ap_list_diff): removed
13104                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13105                         deal with access points changing essids on us
13106
13107         * src/nm-device-802-11-wireless.c
13108                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13109                         src/NetworkManagerAPList.c
13110                 - (real_can_interrupt_activation): new function; allow interruption
13111                         of device activation if we are waiting for a network key
13112
13113         * src/NetworkManagerPolicy.c
13114                 - (nm_policy_device_change_check): allow interruption of currently
13115                         activating devices if the device allows it.  Previous behavior
13116                         would refuse to activate a just-plugged wired device if a
13117                         wireless device was waiting for a key.
13118
13119         * src/nm-device.[ch]
13120                 - (nm_device_can_interrupt_activation): new function; ask devices
13121                         whether their activation can be interrupted
13122
13123 2006-01-20  Robert Love  <rml@novell.com>
13124
13125         * Makefile.am, configure.in: Add new man subdirectory.
13126         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13127           man/Makefile.am: Add man pages for NetworkManager and its
13128           crime-solving bumbling buddy, NetworkManagerDispatcher.
13129         * man/.cvsignore: Add.
13130         * initscript/Debian/NetworkManager,
13131           initscript/Gentoo/NetworkManager.in,
13132           initscript/RedHat/NetworkManager.in,
13133           initscript/RedHat/NetworkManagerDispatcher.in,
13134           initscript/SUSE/networkmanager-dispatcher.in,
13135           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13136
13137 2006-01-20  Robert Love  <rml@novell.com>
13138
13139         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13140           instead of queuing.  This prevents the running of multiple NM
13141           daemons concurrently, which does not work whatsoever and results in
13142           neither daemon working correctly.  Also, we don't handle queuing and
13143           name-owner-changes, anyhow.
13144
13145 2006-01-20  Robert Love  <rml@novell.com>
13146
13147         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13148         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13149           to sbin, not bin.
13150
13151 2006-01-19  Robert Love  <rml@novell.com>
13152
13153         * configure.in: Require hal 0.5.0 or later.
13154
13155 2006-01-18  Robert Love  <rml@novell.com>
13156
13157         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13158           Allow backends to flag a device (in whatever distro-dependent way
13159           they so desire) as disabled.  NM will ignore any such device.
13160         * src/backends/NetworkManagerDebian.c,
13161           src/backends/NetworkManagerRedHat.c,
13162           src/backends/NetworkManagerSlackware.c: Add stub function
13163           nm_system_device_get_disabled() that always returns FALSE (enabled).
13164         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13165           SUSE-specific configuration structure.  Fill it in from the
13166           NM_CONTROLLED variable in the system networking scripts.  If this var
13167           exists and is "no", we ignore the device.
13168
13169 2006-01-17  Robert Love  <rml@novell.com>
13170
13171         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13172           identical for NM.  For a full discussion, see the thread at
13173           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13174
13175 2006-01-17  Dan Williams  <dcbw@redhat.com>
13176
13177         * src/nm-device.c
13178                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13179                         function.  Fixes crash when wired DHCP fails.
13180
13181 2006-01-16  Robert Love  <rml@novell.com>
13182
13183         * src/Makefile.am: Don't install NMLoadModules
13184         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13185           from src/ to test/ as no one uses it anymore.  Note that I would be
13186           fine with removing it altogether.
13187
13188 2006-01-16  Robert Love  <rml@novell.com>
13189
13190         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13191           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13192           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13193           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13194           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13195           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13196           declarations, ever.
13197         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13198           NM_STATE_DISCONNECTED is zero).
13199
13200 2006-01-16  Robert Love  <rml@novell.com>
13201
13202         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13203           uninitialized parameter and buffer overflow.  Novell #143496.
13204
13205 2006-01-16  Dan Williams  <dcbw@redhat.com>
13206
13207         Apply the PtP Address bits of a patch from Tim Niemueller
13208
13209         * src/nm-ip4-config.[ch]
13210                 - Add ip4_ptp_address member to object
13211                 - (nm_ip4_config_copy): copy ptp address too
13212                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13213                         new functions
13214                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13215                         rather than local tunnel ip address
13216
13217         * src/vpn-manager/nm-vpn-service.c
13218                 - (print_vpn_config): update for PtP address
13219                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13220                         DBusMessageIters in preparation for getting routes from the VPN
13221                         service daemons too
13222
13223         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13224                 - (send_config_info): update for PtP address, clean up code
13225                 - (main): update for PtP address, clean up code, fix typo
13226
13227         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13228                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13229
13230         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13231                 - (pptp_ip_up): update for PtP address
13232
13233         * vpn-daemons/pptp/src/nm-pptp-service.c
13234                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13235
13236         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13237                 - (print_vpn_config): update for PtP address
13238                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13239
13240 2006-01-16  Dan Williams  <dcbw@redhat.com>
13241
13242         * gnome/applet/applet.c
13243                 - (nmwa_add_networks_helper): don't indicate an active network
13244                         if NM is disconnected or asleep
13245
13246 2006-01-16  Dan Williams  <dcbw@redhat.com>
13247
13248         * src/NetworkManagerPolicy.c
13249                 - (nm_policy_device_change_check): switch devices if we lose the link
13250                         on an ethernet device. 
13251
13252 2006-01-16  Dan Williams  <dcbw@redhat.com>
13253
13254         * gnome/applet/wso-wpa-psk-hex.[ch]
13255                 - Renamed -> wso-wpa-psk.[ch]
13256
13257         * gnome/applet/wso-wpa-psk.[ch]
13258                 - New files
13259
13260         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13261                 - Removed, rolled into wso-wpa-psk.[ch]
13262
13263         * gnome/applet/Makefile.am
13264                 - Updated for above changes
13265
13266         * gnome/applet/wireless-applet.glade
13267                 - Consolidate WPA-PSK options into one notebook
13268                         widget, and make dialogs invisible by default
13269                         to fix screen oddities
13270
13271         * gnome/applet/wireless-security-manager.c
13272                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13273                         than both the old hex & passphrase ones
13274
13275 2006-01-16  Dan Williams  <dcbw@redhat.com>
13276
13277         * gnome/applet/other-network-dialog.c
13278                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13279
13280 2006-01-16  Dan Williams  <dcbw@redhat.com>
13281
13282         * gnome/applet/applet.c
13283                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13284                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13285                         prevention to realize window before trying to get server
13286                         time
13287
13288         * gnome/applet/other-network-dialog.c
13289                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13290                         prevention to realize window before trying to get server
13291                         time
13292
13293         * gnome/applet/passphrase-dialog.c
13294                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13295                         prevention to realize window before trying to get server
13296                         time
13297
13298 2006-01-16  Robert Love  <rml@novell.com>
13299
13300         Patch from Timo Hoenig  <thoenig@suse.de:
13301         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13302           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13303           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13304           libnm-util/dbus-helpers.h: add checks whether headers are used
13305           within a C++ build.
13306
13307 2006-01-16  Dan Williams  <dcbw@redhat.com>
13308
13309         * gnome/applet/wireless-security-option.c
13310                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13311
13312 2006-01-16  Dan Williams  <dcbw@redhat.com>
13313
13314         * libnm-util/cipher-wpa-psk-passphrase.c
13315                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13316                         be 8 - 63 characters inclusive
13317
13318 2006-01-16  Dan Williams  <dcbw@redhat.com>
13319
13320         * src/nm-dbus-nm.c
13321                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13322
13323 2006-01-13  Robert Love  <rml@novell.com>
13324
13325         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13326         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13327           modules that do not use an interface.
13328
13329 2006-01-13  Dan Williams  <dcbw@redhat.com>
13330
13331         * src/nm-device.c
13332           src/nm-device.h
13333                 - Allow subclasses to implement deactivate_quickly()
13334                 - (nm_device_deactivate_quickly): call subclass
13335                         deactivate_quickly() methods
13336                 - (nm_device_set_active_link): small cleanups, and don't
13337                         deactivate the device right away because we risk a deadlock
13338                         when called from device thread, waiting for the device
13339                         thread to cancel activation
13340
13341         * src/nm-device-802-11-wireless.c
13342                 - (real_deactivate_quickly): new function
13343                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13344                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13345                         so that we kill the supplicant when we sleep too
13346                 - (supplicant_interface_init): work around naive naming attempts of
13347                         wpa_ctrl when naming sockets
13348
13349 2006-01-13  Dan Williams  <dcbw@redhat.com>
13350
13351         * src/nm-device-802-11-wireless.c
13352                 - (supplicant_cleanup): delete old device control sockets too
13353                 - (supplicant_get_device_socket_path): new function to consolidate
13354                         locations that need a path to a device's control socket
13355
13356 2006-01-12  Robert Love  <rml@novell.com>
13357
13358         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13359           description so that the description is unique for each
13360           pair (device,provider).  Fixes Novell #142773.
13361
13362 2006-01-12  Dan Williams  <dcbw@redhat.com>
13363
13364         * src/nm-device-802-11-wireless.c
13365                 - (supplicant_exec): ensure GError is correctly initialized
13366                         Reported by Diego González (gnome.org #326708)
13367
13368 2006-01-11  Robert Love  <rml@novell.com>
13369
13370         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13371           define if_mii(), open code the same results, and do so without any
13372           type punning.
13373
13374 2006-01-11  Robert Love  <rml@novell.com>
13375
13376         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13377           that wso_foo_new() returned non-NULL.  Instead, only append the new
13378           wso to wsm->options if the wso is non-NULL.  The crux is that we
13379           assume that the relevant key types are implied by WEP and WPA as
13380           appropriate.  To be sure, they should be, but we should not expect
13381           drivers to not be oozing piles of wolf fecal matter.
13382
13383 2006-01-11  Robert Love  <rml@novell.com>
13384
13385         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13386         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13387           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13388           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13389           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13390           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13391           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13392         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13393           comparing values within DBL_EPSILON.  Also fix shadowed variable
13394           usage.
13395
13396 2006-01-11  Dan Williams  <dcbw@redhat.com>
13397
13398         Add options for WPA2 and WPA1+CCMP (AES).
13399
13400         * gnome/applet/wireless-applet.glade
13401                 - Add UI bits for WPA+CCMP
13402
13403         * gnome/applet/other-network-dialog.c
13404                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13405                         and don't allow creation of WPA2 Ad-Hoc networks since
13406                         wpa_supplicant doesn't support them
13407
13408         * gnome/applet/wireless-security-manager.c
13409                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13410                         on to the specific wireless security option being created
13411
13412         * gnome/applet/wireless-security-option.[ch]
13413                 - (wso_wpa_create_key_type_model): new utility function to create
13414                         the model required for WPA Key Type combo box
13415
13416         * gnome/applet/wso-private.h
13417           gnome/applet/wireless-security-option.h
13418                 - Move private function prototypes into wso-private.h
13419
13420         * gnome/applet/wso-wpa-psk-hex.[ch]
13421           gnome/applet/wso-wpa-psk-passphrase.[ch]
13422                 - (append_dbus_params_func): get WPA version from checkbox and pass
13423                         it to the dbus serialization helper
13424                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13425                         key type combo changes
13426                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13427                         model and options
13428
13429         * libnm-util/cipher-wpa-psk-hex.c
13430           libnm-util/cipher-wpa-psk-passphrase.c
13431                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13432                         new function; allow the cipher to be changed after object creation
13433
13434         * src/nm-ap-security-wpa-psk.c
13435                 - (set_description): Do WPA2 descriptions too
13436
13437         * src/nm-ap-security.c
13438                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13439
13440 2006-01-11  Robert Love  <rml@novell.com>
13441
13442         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13443           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13444           from the ifreq structure in lieu of an open coded solution.  Removes
13445           a life-threatening type-punning.
13446         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13447           types, ever, whatsoever, baby.
13448
13449 2006-01-11  Robert Love  <rml@novell.com>
13450
13451         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13452           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13453           assignments to applet->nm_state into a new nmwa_set_state() function
13454           for both cleanliness and to help debugging.
13455
13456 2006-01-10  Robert Love  <rml@novell.com>
13457
13458         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13459           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13460           seconds, exclusive.  That is, we want to sleep x seconds such that
13461           1 < x < 2.
13462
13463 2006-01-10  Robert Love  <rml@novell.com>
13464
13465         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13466           the attr fields according to the example in the email available at
13467           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13468           Conversely, we do have to free 'name', so we do so, fixing a leak.
13469
13470 2006-01-10  Robert Love  <rml@novell.com>
13471
13472         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13473           sure that we close the socket!
13474
13475 2006-01-10  Robert Love  <rml@novell.com>
13476
13477         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13478           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13479           src/nm-device.c: Fix a FIXME!  Reimplement the function
13480           nm_device_update_hw_address() in device subclass variants,
13481           nm_device_802_3_ethernet_set_address() and
13482           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13483           This fixes the existing bug where MAC addresses are all zeros.
13484
13485 2006-01-10  Robert Love  <rml@novell.com>
13486
13487         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13488           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13489           option to give users ability to globally disconnect and put NM to
13490           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13491           clean disconnect.
13492
13493 2006-01-09  Robert Love  <rml@novell.com>
13494
13495         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13496           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13497           User-space does not supply these types, so we have to define them
13498           ourselves.  The relevant kernel maintainer refused to accept a patch
13499           switching these headers to the proper C99 types.
13500
13501 2006-01-09  Dan Williams  <dcbw@redhat.com>
13502
13503         Apply Robert's 'tray icon redo' patch with fixes
13504         * gnome/applet/applet.c
13505           gnome/applet/applet.h
13506                 - Instead of using a menu bar + menu item, simulate menu
13507                         behavior using a popup menu.  Highlight the area around
13508                         the icon more like a menu too, by playing with the
13509                         applet's size requisition
13510
13511 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13512         * libnm-util/dbus-helpers.c
13513           libnm-util/dbus-helpers.h
13514                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13515                         to 'exception_namespace' (:namespace is a keyword in
13516                         C++)
13517
13518 2006-01-09  Dan Williams  <dcbw@redhat.com>
13519
13520         * src/NetworkManagerPolicy.c
13521                 - (nm_policy_device_change_check): don't autoswitch away from
13522                         Ad-Hoc networks, since there's really no concept of
13523                         "link"
13524
13525         * src/nm-dbus-nm.c
13526                 - (nm_dbus_nm_create_wireless_network): mark created networks
13527                         as Ad-Hoc networks
13528
13529         * src/nm-device-802-11-wireless.c
13530                 - (real_activation_success_handler): add user-created Ad-Hoc
13531                         networks to the device's scan list
13532
13533 2006-01-08  Dan Williams  <dcbw@redhat.com>
13534
13535         We now require a patch for wpa_supplicant to support Ad-Hoc
13536         networks:
13537           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13538
13539         * src/nm-device-802-11-wireless.c
13540                 - (supplicant_send_network_config): turn off wpa_supplicant's
13541                         scanning.  Fixes Ad-Hoc networks.
13542
13543 2006-01-08  Dan Williams  <dcbw@redhat.com>
13544
13545         * src/nm-ap-security.c
13546           src/nm-ap-security.h
13547                 - Add a user_created argument to the write_supplicant_config
13548                         functions
13549
13550         * src/nm-ap-security-wep.c
13551           src/nm-ap-security-wpa-psk.c
13552           src/nm-device-802-11-wireless.c
13553                 - Make Ad-Hoc mode somewhat work, at least write the
13554                         correct options to wpa_supplicant
13555
13556 2006-01-08  Dan Williams  <dcbw@redhat.com>
13557
13558         * src/nm-device-802-11-wireless.c
13559                 - Remove unused code from the old device activation path
13560
13561 2006-01-08  Dan Williams  <dcbw@redhat.com>
13562
13563         * libnm-util/dbus-helpers.c
13564                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13565                         dbus when key == NULL
13566
13567 2006-01-08  Dan Williams  <dcbw@redhat.com>
13568
13569         * gnome/applet/nm-gconf-wso-wpa-psk.c
13570                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13571                         correct arguments to nmu_security_deserialize_wpa_psk()
13572
13573         * src/nm-ap-security-wpa-psk.c
13574                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13575                         arguments to nmu_security_deserialize_wpa_psk()
13576
13577 2006-01-08  Dan Williams  <dcbw@redhat.com>
13578
13579         * gnome/applet/wso-wpa-psk-hex.c
13580           gnome/applet/wso-wpa-psk-passphrase.c
13581                 - Hook up the append_dbus_params_func() function
13582
13583 2006-01-08  Dan Williams  <dcbw@redhat.com>
13584
13585         * src/nm-device-802-11-wireless.c
13586                 - (get_wireless_capabilities): correctly detect driver WPA
13587                         capabilities
13588
13589 2006-01-08  Dan Williams  <dcbw@redhat.com>
13590
13591         * gnome/applet/Makefile.am
13592           gnome/applet/wso-wpa-psk-hex.c
13593           gnome/applet/wso-wpa-psk-hex.h
13594                 - New files, implement WPA-PSK Hex key input
13595
13596         * gnome/applet/wireless-applet.glade
13597                 - Change existing wpa-psk stuff to wpa-psk-hex
13598                 - Add new widgets for wpa-psk-passphrase
13599
13600         * gnome/applet/wireless-security-manager.c
13601                 - (wsm_set_capabilities): enable WPA options
13602
13603         * gnome/applet/wso-wpa-psk-passphrase.c
13604                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13605                         for WPA-PSK passphrase
13606
13607 2006-01-08  Dan Williams  <dcbw@redhat.com>
13608
13609         * include/NetworkManager.h
13610                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13611                         applet/info-daemons
13612
13613         * gnome/applet/passphrase-dialog.c
13614                 - Use the constant.  Fixes a bug where the arguments to
13615                         dbus_message_new_error() were incorrect
13616
13617         * src/nm-dbus-nmi.c
13618                 - Use the constant
13619
13620 2006-01-07  Dan Williams  <dcbw@redhat.com>
13621
13622         * src/nm-device-802-11-wireless.c
13623                 - Add a link timeout so we allow the supplicant time to
13624                         reassociate if it can, before we deactivate the card
13625                 - Fix up link status and link updating so things work better
13626
13627 2006-01-07  Dan Williams  <dcbw@redhat.com>
13628
13629         * src/nm-device-802-11-wireless.c
13630                 - Switch over to using wpa_supplicant
13631                 - Add a timeout of 10s for association of the supplicant
13632                 - Start the monitor callback of the supplicant
13633
13634 2006-01-07  Dan Williams  <dcbw@redhat.com>
13635
13636         * src/NetworkManagerUtils.c
13637                 - (nm_utils_supplicant_request,
13638                   nm_utils_supplicant_request_with_check):
13639                         pass correct buffer length to wpa_ctrl_request()
13640
13641 2006-01-07  Dan Williams  <dcbw@redhat.com>
13642
13643         * src/nm-device-private.h
13644           src/nm-device.c
13645                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13646                         this function available to subclasses
13647
13648 2006-01-06  Robert Love  <rml@novell.com>
13649
13650         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13651           user plugging in a network cable signals their preference for to
13652           switch, unless the user explicitly selected a wireless network and
13653           therefore signaled their preference for said wireless network over
13654           wired.  In other words, do exactly what makes sense.
13655
13656 2006-01-06  Robert Love  <rml@novell.com>
13657
13658         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13659           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13660           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13661           showing up in my greps.
13662
13663 2006-01-06  Robert Love  <rml@novell.com>
13664
13665         * gnome/applet/applet-dbus-devices.c,
13666           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13667           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13668           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13669           New Network' both failed in the non-encrypted case because we were
13670           not appending the security options to the DBUS message.  And
13671           'Connect to Other' was also failing in the encrypted case because
13672           we were not incrementing to the next DBUS parameter.  All fixed.
13673           Thanks to dcdw for some debugging help.
13674
13675 2006-01-06  Robert Love  <rml@novell.com>
13676
13677         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13678           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13679           hangup code and add per-device hangup.  Tie last commit into the
13680           GNOME applet.  TODO:  Save, understand, and respond to the state of
13681           each dialup device.
13682
13683 2006-01-06  Robert Love  <rml@novell.com>
13684
13685         Patch by Timo Hoenig <thoenig@suse.de>:
13686         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13687           hangup specific dialup devices.
13688         * src/backends/NetworkManagerDebian.c,
13689           src/backends/NetworkManagerGentoo.c,
13690           src/backends/NetworkManagerRedHat.c,
13691           src/backends/NetworkManagerSlackware.c: Add stub backend.
13692         * src/backends/NetworkManagerRedHat.c,
13693           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13694           hangup specific dialup devices.
13695
13696 2006-01-04  Robert Love  <rml@novell.com>
13697
13698         * gnome/applet/applet-dbus-devices.c,
13699           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13700           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13701           connections.
13702
13703 2006-01-04  Dan Williams  <dcbw@redhat.com>
13704
13705         First dump of wpa_supplicant-related code.  It's not hooked up to
13706         anything yet though.  Thanks to Kay Sievers for
13707         wpa_supplicant_wrapper.c, which formed the basis for this work,
13708         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13709
13710         * src/Makefile.am
13711           src/wpa_ctrl.[ch]
13712                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13713
13714         * src/NetworkManagerUtils.[ch]
13715                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13716                         Add convenience functions for talking to wpa_supplicant
13717
13718         * src/nm-ap-security.[ch]
13719           src/nm-ap-security-wep.c
13720           src/nm-ap-security-wpa-psk.[ch]
13721                 - Update and implement real_write_supplicant_config functions
13722                         in all security types
13723                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13724                         nm-ap-security-wpa-psk.c
13725
13726         * src/nm-device-802-11-wireless.c
13727                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13728                    wpa_supplicant_start, wpa_supplicant_interface_init,
13729                    wpa_supplicant_send_network_config): add functions to talk to
13730                         wpa_supplicant and write network config to it
13731
13732 2006-01-04  Robert Love  <rml@novell.com>
13733
13734         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13735           values so that distribution-backends can differentiate between the
13736           various types (modem, ISDN, et cetera) of dialup device that they
13737           support.
13738         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13739           needed.
13740
13741 2006-01-03  Dan Williams  <dcbw@redhat.com>
13742
13743         * src/NetworkManagerPolicy.c
13744           src/nm-device.[ch]
13745           src/nm-device-802-11-wireless.c
13746                 - Move wireless-specific activation failure and success code
13747                         into wireless device class
13748
13749 2006-01-03  Robert Love  <rml@novell.com>
13750
13751         Patch by Preggna S:
13752         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13753           IPsec does not require that a VPN client be bound to an interface,
13754           due to the use of the in-kernel IPSec bits.  So make the tunnel
13755           device optional.
13756
13757 2006-01-03  Dan Williams  <dcbw@redhat.com>
13758
13759         * src/NetworkManagerAP.c
13760                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13761                         the WPA IE specifies that WEP is supported
13762
13763         * src/nm-device-802-11-wireless.c
13764                 - (process_scan_results): don't mark an AP as supporting WEP
13765                         if there's already other encryption capability info
13766
13767 2006-01-03  Dan Williams  <dcbw@redhat.com>
13768
13769         * src/dhcp-manager/nm-dhcp-manager.c
13770                 - Recognize activation cancellation when waiting for DHCP
13771                         configuration from dhcdbd
13772                 - Ignore non-dhcdbd messages
13773
13774         * src/nm-device.c
13775                 - (real_act_stage3_ip_config_start): return to correct behavior
13776                         of letting the dhcp-manager notify us of failure or
13777                         success rather than incorrectly doing that ourselves
13778                 - (nm_device_activate_stage4_ip_config_get): deal with
13779                         activation cancellation a bit earlier
13780
13781 2006-01-03  Dan Williams  <dcbw@redhat.com>
13782
13783         * src/nm-device-802-11-wireless.c
13784           src/nm-device.[ch]
13785                 - Add hooks to subclasses for stage3_ip_config_start and
13786                         stage4_ip_config_timeout
13787
13788         * src/nm-device-802-3-ethernet.c
13789                 - (real_get_generic_capabilities): make devices NM-supported
13790                         by default
13791
13792 2006-01-03  Robert Love  <rml@novell.com>
13793
13794         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13795           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13796           latter cannot differentiate between error and the address -1; misc.
13797           clean up.
13798
13799 2006-01-03  Dan Williams  <dcbw@redhat.com>
13800
13801         * src/NetworkManager.c
13802                 - Move link-checking/probing into the device subclasses
13803                         themselves
13804
13805         * src/nm-device.[ch]
13806           src/nm-device-802-11-wireless.c
13807           src/nm-device-802-3-ethernet.c
13808                 - Do periodic link checking in device subclasses rather
13809                         than being triggered from NetworkManager.c
13810                 - discover_wireless_capabilities -> get_wireless_capabilities
13811                 - discover_generic_capabilities -> get_generic_capabilities
13812                 - Device subclass activation routines now return a value of type
13813                         NMActStageReturn to indicate what step to perform next
13814                 - Devices now override stage4_get_ip4_config if they choose
13815
13816 2006-01-01  Dan Williams  <dcbw@redhat.com>
13817
13818         * src/nm-device-802-11-wireless.c
13819                 - (real_init): don't chain up to parent init because we don't
13820                         need to do that anymore
13821
13822         * src/nm-device.c
13823                 - (discover_device_type): fix arguments to ioctl() to correctly
13824                         pass interface name
13825                 - (nm_device_new): consolidate generic device initialization into
13826                         nm_device_new()
13827                 - (real_init): remove, consolidated to nm_device_new()
13828                 - (nm_device_deactivate, real_deactivate): consolidate
13829
13830 2006-01-01  Dan Williams  <dcbw@redhat.com>
13831
13832         * src/nm-activation-request.c
13833                 - Change dhcp_state member of the NMActRequest structure
13834                         from guint8 to guint32
13835
13836         * src/dhcp-manager/nm-dhcp-manager.[ch]
13837                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13838                         than guint8 to match the dbus argument.  Turns out we were
13839                         overwriting memory since we were passing in only a guint8
13840
13841 2005-12-31  Dan Williams  <dcbw@redhat.com>
13842
13843         * refactor NMDevice into a GObject-based framework with separate
13844                 objects for wired and wireless.  The following files are no
13845                 longer used but should stick around for a bit so we don't
13846                 loose code through the cracks:
13847                         NetworkManagerDevice.c
13848                         NetworkManagerDevice.h
13849                         NetworkManagerWireless.c
13850                         NetworkManagerWireless.h
13851
13852         The intent here is to allow each device type to manage its own
13853         connection & activation life-cycle, ie to allow wireless devices
13854         to interface with wpa_supplicant, etc.  There's a fair bit of
13855         encapsulation breakage right now that should gradually get pulled
13856         back into each device, along with things like periodic property
13857         updates and link probing.
13858
13859 2005-12-29  Dan Williams  <dcbw@redhat.com>
13860
13861         * include/NetworkManager.h
13862                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13863                         between networks that don't have any encryption at all
13864
13865 2005-12-29  Dan Williams  <dcbw@redhat.com>
13866
13867         * test/test-common.c
13868           test/test-common.h
13869           test/Makefile.am
13870                 - Move to a test-common subdirectory
13871
13872         * test/libnm-util/test-ciphers.c
13873                 - Move test data to test-inputs.h
13874                 - Test WPA ciphers too
13875
13876         * test/libnm-util/test-dbus-helpers.c
13877                 - Test serialization/deserialization of ciphers
13878
13879 2005-12-29  Dan Williams  <dcbw@redhat.com>
13880
13881         * gnome/applet/applet-dbus-devices.c
13882                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13883                         in dbus calls to NM
13884                 - Set capabilities on WirelessNetwork objects
13885                 - Receive and save type-specific device capabilities too
13886
13887         * gnome/applet/applet-dbus-info.c
13888           gnome/applet/applet-dbus.c
13889                 - Passphrase dialog no longer a singleton; new instance gets created
13890                         on each request.  Updates to deal with that.
13891
13892         * gnome/applet/applet.c
13893                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13894                         than single 'encrypted' flag
13895                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13896                         menu items
13897                 - Passphrase dialog updates per above
13898
13899         * gnome/applet/menu-items.c
13900                 - (network_menu_item_update): use AP capabilities to determine
13901                         encryption
13902
13903         * gnome/applet/nm-device.[ch]
13904                 - Add accessors for type-specific device capabilities
13905
13906         * gnome/applet/other-network-dialog.c
13907                 - Rework to respect device capabilities.  i.e., if the device doesn't
13908                         support WPA, remove that option from the security dropdown
13909
13910         * gnome/applet/passphrase-dialog.c
13911                 - Massive rework so that a new instance is created each time
13912                         it's used, to support wireless network capabilities
13913
13914         * gnome/applet/wireless-network.[ch]
13915                 - Add accessors and members for wireless network capabilities
13916
13917         * gnome/applet/wireless-security-manager.[ch]
13918                 - (wsm_set_capabilities): called after creation to set which
13919                         security options get shown to the user
13920
13921 2005-12-29  Dan Williams  <dcbw@redhat.com>
13922
13923         * libnm-util/cipher-wpa-psk-passphrase.c
13924                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13925                         like other ciphers
13926
13927 2005-12-23  Dan Williams  <dcbw@redhat.com>
13928
13929         * gnome/applet/applet-dbus-info.c
13930                 - (nmi_dbus_get_key_for_network): if there's no entry in
13931                         GConf for a network, assume we want a new key
13932                 - (nmi_save_network_info): serialize wireless security info
13933                         into GConf so its saved
13934
13935         * src/nm-dbus-nm.c
13936                 - Fix warning as we may not be passed security info when
13937                         connecting to a wireless network
13938
13939 2005-12-23  Dan Williams  <dcbw@redhat.com>
13940
13941         * gnome/applet/applet-compat.c
13942                 - Fix bugs in GConf entry conversion
13943
13944         * gnome/applet/applet-dbus-info.c
13945                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13946                         list being zero-length
13947
13948         * libnm-util/cipher-*
13949           libnm-util/dbus-helpers.c
13950                 - All ciphers must now return hashed keys as UTF-8 valid
13951                         hexadecimal strings, ie "8f3dae4023".  They are pushed
13952                         through dbus as strings too.
13953                 - Consolidate various functions that do bin->hex and hex->bin
13954                         conversion into cipher.c
13955
13956         * src/nm-ap-security-wep.c
13957           src/nm-ap-security-wpa-psk.c
13958                 - Handle NULL keys since we may not know keys right away
13959
13960         * src/nm-dbus-nmi.c
13961                 - (nm_dbus_get_network_data_cb): actually advance to the start
13962                         of the wireless security info before we try to deserialize it
13963
13964         * libnm-util/test-ciphers.c
13965                 - Update cipher tests for the change to UTF-8 hexadecimal strings
13966
13967 2005-12-22  Dan Williams  <dcbw@redhat.com>
13968
13969         * gnome/applet/applet-compat.[ch]
13970                 - Convert old-format GConf and keyring entries
13971                         when the applet starts up.
13972
13973         * gnome/applet/applet.c
13974                 - (nmwa_get_instance): Call the conversion function
13975                         on startup before dbus is initialized
13976
13977 2005-12-22  Dan Williams  <dcbw@redhat.com>
13978
13979         * gnome/applet/applet-dbus-info.c
13980                 - Remove nmi_dbus_create_error_message() in favor of
13981                         nmu_create_dbus_error_message()
13982                 - (nmi_dbus_get_network_properties): Error message cleanups
13983                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13984                         gconf key rather than 'addresses', since they really are BSSIDs
13985                 - (nmi_dbus_get_network_properties): Dispose of the security
13986                         object when we're done with it
13987
13988 2005-12-21  Dan Williams  <dcbw@redhat.com>
13989
13990         * Consolidate the info-daemon's "updateNetworkInfo" and
13991                 "addNetworkAddress" calls into just "updateNetworkInfo"
13992
13993 2005-12-21  Dan Williams  <dcbw@redhat.com>
13994
13995         * Make connection after key retrieval work again
13996
13997 2005-12-21  Dan Williams  <dcbw@redhat.com>
13998
13999         * gnome/applet/nm-gconf-wso*
14000                 - Make the serialize functions return gboolean
14001                         rather than int
14002
14003         * gnome/applet/nm-gconf-wso.c
14004                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14005                         parent class handling so we don't segfault
14006
14007         * src/NetworkManagerAP.[ch]
14008                 - (nm_ap_get_capabilities): new function, return capabilities
14009                         now that something can use them
14010                 - (nm_ap_set_encrypted): assume that an access point supports
14011                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14012                         we even tell whether it just supports WEP40?
14013
14014         * src/NetworkManagerDevice.c
14015                 - (ap_need_key): resurrect and update for the New World Order
14016                 - (nm_device_wireless_get_activation_ap): if we're not given
14017                         security info to use, create some based on access point
14018                         capabilities
14019
14020         * src/nm-ap-security-wep.c
14021                 - (nm_ap_security_wep_new_from_ap): create a new object
14022                         based on a certain access point's capabilities
14023
14024         * src/nm-ap-security.c
14025                 - (nm_ap_security_new_from_ap): delegate creation of a new
14026                         object based on access point capabilities to a subclass
14027                 - (nm_ap_security_copy_properties): don't segfault if we
14028                         don't have a key yet
14029
14030         * src/nm-dbus-nm.c
14031                 - (nm_dbus_nm_set_active_device): provide more informative
14032                         output when errors occur.  Also construct security info
14033                         for a given access point if we weren't given any
14034
14035 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14036
14037         * configure.in: Added Lithuanian to ALL_LINGUAS.
14038
14039 2005-12-21  Dan Williams  <dcbw@redhat.com>
14040
14041         * test/libnm-util
14042                 - Add some testcases for WEP ciphers
14043
14044 2005-12-17  Dan Williams  <dcbw@redhat.com>
14045
14046         * Fix bugs
14047
14048 2005-12-17  Dan Williams  <dcbw@redhat.com>
14049
14050         * include/NetworkManager.h
14051                 - Finally kill NMEncKeyType
14052
14053         * gnome/applet/applet-dbus-info.c
14054                 - (nmi_save_network_info): convert to NMGConfWSO
14055
14056         * gnome/applet/nm-gconf-wso-*.c
14057                 - Implement gconf serialization functions
14058
14059         * src/NetworkManagerPolicy.c
14060                 - (nm_policy_activation_finish): fix up meaning of
14061                         automatic/user_requested
14062
14063 2005-12-17  Dan Williams  <dcbw@redhat.com>
14064
14065         * gnome/applet/*
14066                 - More applet cleanups
14067                 - Use the dbus-method-dispatcher
14068
14069         * libnm-util/dbus-method-dispatcher.[ch]
14070                 - Generalize the implementation from NM in
14071                         NetworkManagerUtils.c
14072
14073 2005-12-16  Dan Williams  <dcbw@redhat.com>
14074
14075         * gnome/applet/*
14076                 - Fix up the passphrase dialog to use all the
14077                         WirelessSecurityOption stuff (untested)
14078
14079 2005-12-16  Dan Williams  <dcbw@redhat.com>
14080
14081         * Move nm_gconf_get_*_helper() functions to separate files,
14082                 gconf-helpers.c & gconf-helpers.h
14083
14084         * New NMGConfWSO objects for managing the gconf side of things.
14085                 Eventually these should be merged with the
14086                 WirelessSecurityOption objects and a common base (that can
14087                 serialize/deserialize from dbus & gconf) should be
14088                 refactored out, but for now they are separate.
14089
14090 2005-12-16  Robert Love  <rml@novell.com>
14091
14092         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14093           binaries unless they exist (nm_spawn_process() emits a warning if
14094           asked to spawn a non-existant process).
14095
14096 2005-12-16  Dan Williams  <dcbw@redhat.com>
14097
14098         * gnome/applet/applet-dbus-info.c
14099                 - Clean up lots of gconf-related code
14100
14101 2005-12-16  Robert Love  <rml@novell.com>
14102
14103         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14104
14105 2005-12-16  Dan Williams  <dcbw@redhat.com>
14106
14107         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14108
14109         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14110                 bits still to be done)
14111
14112 2005-12-16  Dan Williams  <dcbw@redhat.com>
14113
14114         * Finally move info-daemon related stuff out of
14115                 NetworkManagerDbus.c to nm-dbus-nmi.c
14116
14117 2005-12-16  Dan Williams  <dcbw@redhat.com>
14118
14119         * Kill auth_method for access points, since that's now done
14120                 by NMAPSecurity objects
14121
14122         * Add a copy-constructor of sorts to NMAPSecurity
14123                 (how do you do this properly in glib???)
14124
14125 2005-12-15  Dan Williams  <dcbw@redhat.com>
14126
14127         * Exorcise encryption key hashing on APs
14128         * Use libnm-util's serialization/deserialization in both the
14129                 applet and NM
14130         * Random other stuff
14131
14132 2005-12-15  Robert Love  <rml@novell.com>
14133
14134         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14135           is being added to the icon naming spec, so let's use that (Tango CVS
14136           has the icon).  Because it is new, however, we fall back to the
14137           current "gnome-lockscreen" if the new icon is not around, thus
14138           behavior is the same.
14139         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14140           factory junk.
14141
14142 2005-12-15  Robert Love  <rml@novell.com>
14143
14144         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14145           well, help to give.  Couple other misc. bits.
14146
14147 2005-12-15  Dan Williams  <dcbw@redhat.com>
14148
14149         * libnm-util/dbus-helpers.[ch]
14150                 - Make this the one-stop-shop for serializing/deserializing
14151                         AP & connection security settings over dbus.  Both NM
14152                         and applets should use this to ensure consistent dbus
14153                         API going forwared.
14154
14155 2005-12-15  Robert Love  <rml@novell.com>
14156
14157         Patch by Timo Hoenig  <thoenig@suse.de>:
14158         * src/NetworkManagerDbus.c
14159                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14160                         if HAL jumps off the system bus.  Otherwise libdbus
14161                         (dbus_connection_dispatch) will try to run the filter
14162                         function of our libhal context which is already freed.
14163
14164 2005-12-15  Alexander Shopov  <ash@contact.bg>
14165
14166         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14167
14168 2005-12-14  Dan Williams  <dcbw@redhat.com>
14169
14170         * include/NetworkManager.h
14171           src/NetworkManagerWireless.c
14172                 - Rearrange 802.11 wireless-specific capabilities again
14173
14174         * src/Makefile.am
14175                 - Forgot to add wpa.c/wpa.h to the makefiles
14176
14177         * src/NetworkManagerAP.[ch]
14178                 - Implement access point capabilities and parse the
14179                         WPA/RSN IEs into the capability bitfield
14180                 - Switch the "encrypted" attribute to utilize the bitfield
14181                         and capabilities rather than being independent
14182
14183         * src/NetworkManagerDevice.c
14184                 - (nm_device_wireless_get_activation_ap): break it horribly
14185                         until we can push NMAPSecurity objects into access point
14186                         objects and through the activation chain
14187                 - Stuff WPA & RSN IEs into AP capabilities
14188
14189         * src/nm-dbus-nm.c
14190                 - Take a shot at actually making setActiveDevice work
14191
14192         * src/wpa.[ch]
14193                 - Make the API a bit saner
14194
14195 2005-12-14  Dan Williams  <dcbw@redhat.com>
14196
14197         * include/NetworkManager.h
14198                 - Add 802.11-specific capability for 802.1x key
14199                         management
14200
14201         * src/wpa.[ch]
14202                 - Pull in WPA IE and RSN IE parsing code from
14203                         wpa_supplicant so we can determine access point
14204                         capabilities
14205                 - Move WPA-related constants here from NetworkManagerAP.h
14206                         and NetworkManagerDevice.c
14207
14208         * src/NetworkManagerDevice.c
14209           src/NetworkManagerAP.[ch]
14210                 - Use WPA-related constants from wpa.h
14211
14212 2005-12-14  Dan Williams  <dcbw@redhat.com>
14213
14214         * include/NetworkManager.h
14215                 - Update and split 802.11 wireless-specific capabilities from
14216                         generic device capabilities
14217
14218         * src/NetworkManagerDevice.c
14219           src/NetworkManagerDevicePrivate.h
14220                 - (nm_device_wireless_discover_capabilities): Move 802.11
14221                         wireless-specific capability checks to
14222                         NetworkManagerWireless.c
14223                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14224                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14225
14226         * src/NetworkManagerWireless.[ch]
14227                 - (nm_802_11_wireless_discover_capabilities): Check extended
14228                         802.11 wireless-specific capabilities of the driver
14229
14230 2005-12-14  Robert Love  <rml@novell.com>
14231
14232         Patch from Stefan Scheler <sscheler@suse.de>:
14233         * src/NetworkManagerDevice.c: call backend code to activate and
14234           deactivate NIS.
14235         * src/NetworkManagerSystem.h: add new NIS interfaces.
14236         * src/backends/NetworkManagerDebian.c,
14237           src/backends/NetworkManagerGentoo.c,
14238           src/backends/NetworkManagerRedHat.c,
14239           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14240           support.
14241         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14242
14243 2005-12-14  Dan Williams  <dcbw@redhat.com>
14244
14245         * src/nm-ap-security*.[ch]
14246                 - Add AP security abstractions to NetworkManager
14247
14248         * src/nm-dbus-device.c
14249                 - Begin to parse new format dbus messages from the applet
14250                         and construct an AP security object from the message
14251
14252         * libnm-util/dbus-helpers.c
14253                 - Use message iters so we can append the key as a fixed
14254                         array of bytes, which actually works rather than
14255                         using dbus_message_append_args() as we were before
14256
14257 2005-12-14  Dan Williams  <dcbw@redhat.com>
14258
14259         * src/NetworkManagerDbus.c
14260           gnome/applet/applet-dbus.c
14261                 - Fix up dbus service replacement options.  The applet
14262                         should allow replacement, NM itself should not.
14263
14264 2005-12-13  Robert Love  <rml@novell.com>
14265
14266         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14267           Instead, fail silently if config is NULL by not asserting and not
14268           returning FALSE.  Also, make sure we always fclose() the file.
14269
14270 2005-12-13  Robert Love  <rml@novell.com>
14271
14272         Patch by Stefan Scheler <sscheler@suse.de>:
14273         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14274            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14275            via DHCP.  Still need the backends to commit the NIS domain name and
14276            and servers to yp.conf as needed.
14277
14278 2005-12-13  Robert Love  <rml@novell.com>
14279
14280         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14281           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14282
14283 2005-12-13  Robert Love  <rml@novell.com>
14284
14285         * src/named-manager/nm-named-manager.c: Don't unref the config until
14286           after we call rewrite_resolv_conf(), because get_last_default_domain()
14287           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14288           `config != NULL' failed" assertion failures and "Could not commit DNS
14289           changes" warnings.
14290
14291 2005-12-12  Dan Williams  <dcbw@redhat.com>
14292
14293         * libnm-util/dbus-helpers.[ch]
14294           libnm-util/Makefile.am
14295                 - new helper calls to consolidate locations where
14296                         NM's setDevice method is called
14297
14298         * gnome/applet/applet-dbus-devices.c
14299           gnome/applet/wireless-security-option.c
14300           gnome/applet/wso-*
14301                 - Implement dbus message param append function for
14302                         all wireless security options
14303
14304 2005-12-12  Robert Love  <rml@novell.com>
14305
14306         * libnm-util/cipher-wep-passphrase.c,
14307           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14308           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14309           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14310           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14311           When handling keys, we don't care what the sign is.  The compiler
14312           guarantees us that we get our 8-bits, which is all we care about.
14313         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14314
14315 2005-12-12  Dan Williams  <dcbw@redhat.com>
14316
14317         * gnome/applet/applet-dbus-devices.[ch]
14318           gnome/applet/applet.c
14319           gnome/applet/other-network-dialog.c
14320           gnome/applet/wireless-security-manager.[ch]
14321           gnome/applet/wireless-security-option.[ch]
14322           gnome/applet/wso-*
14323                 - Push the wireless security options further into the applet
14324
14325 2005-12-12  Robert Love  <rml@novell.com>
14326
14327         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14328           return any name servers.  That is perfectly valid.  (Novell #134369).
14329
14330 2005-12-11  Dan Williams  <dcbw@redhat.com>
14331
14332         * gnome/applet/wso-*
14333           gnome/applet/wireless-security-option.*
14334           gnome/applet/Makefile.am
14335                 - split each security option out so we can eventually
14336                         have each one build up their own dbus message
14337                         arguments to send to NM
14338
14339 2005-12-11  Dan Williams  <dcbw@redhat.com>
14340
14341         * Make validation of the key work correctly
14342
14343 2005-12-11  Dan Williams  <dcbw@redhat.com>
14344
14345         * Hook more bits of the Other Network Dialog up to the
14346                 wireless security manager stuff, and restructure
14347                 bits of the dialog so there's less code.
14348
14349 2005-12-10  Dan Williams  <dcbw@redhat.com>
14350
14351         * gnome/applet/Makefile.am
14352                 - Add libnm-util to includes
14353                 - Add libnm-util to link list
14354                 - Add wireless-security-common.* to compile list
14355
14356         * gnome/applet/other-network-dialog.c
14357                 - Convert to using the WirelessSecurityManager code and
14358                         widgets
14359
14360         * gnome/applet/passphrase-dialog.c
14361                 - Comment out references to stuff in the glade file that
14362                         cause runtime errors until it can be fixed up
14363                         to use the WirelessSecurityManager code
14364
14365         * gnome/applet/wireless-applet.glade
14366                 - Rename some widgets
14367                 - Add widgets for the WirelessSecurityManager code
14368                 - Remove passphrase-related stuff since that's now
14369                         handled by the WirelessSecurityManager code
14370
14371 2005-12-10  Dan Williams  <dcbw@redhat.com>
14372
14373         * gnome/applet/applet-dbus-devices.c
14374                 - Print out error message details for dbus pending call callbacks
14375                 - Move nmwa_dbus_update_devices() up
14376
14377         * gnome/applet/applet-dbus-vpn.c
14378                 - Print out error message details for dbus pending call callbacks
14379
14380 2005-12-10  Dan Williams  <dcbw@redhat.com>
14381
14382         * libnm-util/*
14383                 - More fixups
14384                 - Remove cipher-manager.* because we don't need it
14385                 - Forgot to add gnome-keyring-md5 files to compile list
14386
14387 2005-12-09  Dan Williams  <dcbw@redhat.com>
14388
14389         * libnm-util/*
14390           configure.in
14391           Makefile.am
14392                 - Add a utility library for clients of NetworkManager.  It's
14393                         only targetted at applets for the moment, and contains
14394                         a generalized 802.11 cipher framework for different
14395                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14396
14397 2005-12-09  Robert Love  <rml@novell.com>
14398
14399         * src/NetworkManagerDevice.c: handle error better in
14400           nm_device_set_mode().
14401
14402 2005-12-08  Robert Love  <rml@novell.com>
14403
14404         * include/NetworkManager.h: add WPA capabilities constants
14405         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14406           or WPA2 and add the capabilities bits as appropriate.
14407
14408 2005-12-08  Robert Love  <rml@novell.com>
14409
14410         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14411           NetworkManagerDispatcher.
14412         * configure.in, initscript/SUSE/.cvsignore,
14413           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14414           initscript.
14415
14416 2005-12-08  Robert Love  <rml@novell.com>
14417
14418         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14419
14420 2005-12-08  Robert Love  <rml@novell.com>
14421
14422         * src/NetworkManagerDevice.c: We want to fall back on and default to
14423           IW_MODE_AUTO, not -1, which is more in line with our previous
14424           behavior.  Otherwise, we try to set the wireless mode to -1 in
14425           nm_device_set_mode().
14426
14427 2005-12-07  Robert Love  <rml@novell.com>
14428
14429         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14430           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14431           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14432           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14433           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14434           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14435           zero.
14436
14437 2005-12-07  Robert Love  <rml@novell.com>
14438
14439         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14440           supplied IP is invalid, fall back to DHCP.
14441
14442 2005-12-07  Dan Williams  <dcbw@redhat.com>
14443
14444         * Convert NETWORK_MODE_* constants to IW_MODE_*
14445         * Make all the get_mode/set_mode functions take and return 'int'
14446         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14447
14448 2005-12-07  Robert Love  <rml@novell.com>
14449
14450         * src/NetworkManagerDevice.c: strncpy() buffer check.
14451         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14452
14453 2005-12-06  Dan Williams  <dcbw@redhat.com>
14454
14455         * gnome/applet/applet-dbus.c
14456                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14457
14458         * gnome/applet/applet-dbus-vpn.c
14459                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14460                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14461                         to TRUE here if stage was ACTIVATED
14462
14463 2005-12-06  Dan Williams  <dcbw@redhat.com>
14464
14465         * Change nm_device_is_* functions to better names:
14466                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14467                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14468
14469 2005-12-06  Dan Williams  <dcbw@redhat.com>
14470
14471         * Change naming of NMDeviceType to something more sensible:
14472                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14473                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14474                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14475
14476 2005-12-06  Dan Williams  <dcbw@redhat.com>
14477
14478         * Move NetworkManager.h -> include/NetworkManager.h
14479         * Split out VPN stuff into include/NetworkManagerVPN.h
14480         * Fix up makefiles to include new location
14481         * Fix up sources to include NetworkManagerVPN.h
14482
14483 2005-12-06  Dan Williams  <dcbw@redhat.com>
14484
14485         Various changes in the applet to move VPN connection "state" -> "stage",
14486         which it actually is.  I'd like to change the signal as well when we
14487         break compat in the near future.
14488
14489 2005-12-06  Dan Williams  <dcbw@redhat.com>
14490
14491         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14492         * initscript/Slackware/rc.networkmanager
14493                 - Cosmetic fix
14494
14495         * src/backends/NetworkManagerSlackware.c
14496                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14497                         interfaces
14498
14499 2005-12-05  Robert Love  <rml@novell.com>
14500
14501         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14502           to free, particularly here as it just barfs.
14503
14504 2005-12-05  Dan Williams  <dcbw@redhat.com>
14505
14506         * gnome/applet/applet-dbus.c
14507                 - Work with dbus 0.6 too
14508
14509 2005-12-03  Dan Williams  <dcbw@redhat.com>
14510
14511         * src/NetworkManagerUtils.[ch]
14512           src/nm-ip4-config.c
14513                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14514                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14515
14516 2005-12-01  Robert Love  <rml@novell.com>
14517
14518         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14519           need a NULL for the '...' parameter, too, to fill the so-called
14520           sentinel.
14521
14522 2005-12-01  Robert Love  <rml@novell.com>
14523
14524         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14525           interface is already gone, so don't call rtnl_link_change() to down
14526           it (which will segfault, anyhow).
14527
14528 2005-11-22  Robert Love  <rml@novell.com>
14529
14530         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14531           gateway is not set, just print a little note.  Configurations without
14532           gateways are valid.
14533
14534 2005-11-22  Robert Love  <rml@novell.com>
14535
14536         * README: update
14537
14538 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14539
14540         * configure.in: Added Finnish translation to ALL_LINGUAS
14541
14542 2005-11-14  Robert Love  <rml@novell.com>
14543
14544         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14545           Niemueller <tim@niemueller.de>.
14546
14547 2005-11-08  Dan Williams  <dcbw@redhat.com>
14548
14549         Patch from Bill Moss <bmoss@clemson.edu>
14550         * src/NetworkManagerDevice.c
14551                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14552                         of nm_policy_schedule_activation_finish() to prevent a
14553                         race condition that causes the link to be dropped
14554
14555 2005-11-08  Dan Williams  <dcbw@redhat.com>
14556
14557         Patch from Bill Moss <bmoss@clemson.edu>
14558         * src/NetworkManagerAPList.c
14559           src/NetworkManagerDevice.c
14560           src/NetworkManagerDbus.c
14561                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14562                         we get more readable ether/mac addresses
14563
14564 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14565
14566         * gnome/applet/main.c: Don't set the restart command.  This fixes
14567         the issue where the restart command was getting copies of all its
14568         arguments for each time the applet was restarted.
14569
14570 2005-11-02  Robert Love  <rml@novell.com>
14571
14572         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14573           if the widget state differs from our saved state.  This ensures we
14574           do not enter an endless loop of death and destruction.  Also, this
14575           guarantees us that we enforce the widget state.
14576
14577 2005-11-02  Robert Love  <rml@novell.com>
14578
14579         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14580         * gnome/applet/applet-dbus-devices.c: invoke the new function
14581           nmwa_enable_wireless_set_active() to ensure that the state of the
14582           'Enable Wireless' checkbox matches the daemon's state.  This is a
14583           concern because the daemon remembers the state.
14584
14585 2005-11-02  Robert Love  <rml@novell.com>
14586
14587         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14588           Enabled", as checkboxes should be actions/commands not positive
14589           statements, otherwise they are confusing in the unselected case.  See
14590           examples in GNOME HIG, Chapter 6.
14591
14592 2005-11-02  Robert Love  <rml@novell.com>
14593
14594         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14595           show a list of wireless networks or the wireless devices or the
14596           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14597           a bad bug: If wireless is disabled and the user picks a wireless
14598           network, NM will switch to the network, only to immediately switch
14599           back, as wireless is disabled.  This also reassures people that NM
14600           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14601
14602 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14603
14604         * gnome/applet/applet.c:
14605         * gnome/applet/applet.h:
14606         Partial backout of Dan's timeout animation patch.
14607         Timeout IDs cannot legally be 0, so revert the code in place to handle
14608         a timeout ID of 0 to denote the timeout isn't running.
14609
14610 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14611
14612         * src/NetworkManagerPolicy.c:
14613         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14614
14615 2005-10-28  Robert Love  <rml@novell.com>
14616
14617         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14618           "Import Saved Configuration..." to make it clear that importing is
14619           not the next step, but an option.  As an aside, a nice TODO would be
14620           to move Importing out of the vpn-specific dialog and into the main
14621           property editor, as Importing goes with Adding, but that will require
14622           some rearchitecting of the VPN stuff I suspect.
14623
14624 2005-10-27  Dan Williams  <dcbw@redhat.com>
14625
14626         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14627         we should replace most of the distro-specific backend code
14628         with libnl stuff.
14629
14630         Get it here:  http://people.suug.ch/~tgr/libnl/
14631
14632         * configure.in
14633           src/Makefile.am
14634                 - Add checks for libnl pkgconfig file
14635                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14636
14637         * src/NetworkManagerSystem.c
14638           src/nm-ip4-config.[ch]
14639                 - Use libnl rather than ioctl() for most things
14640                 - Remove unused functions
14641
14642 2005-10-27  Robert Love  <rml@novell.com>
14643
14644         * src/backends/NetworkManagerSuSE.c: fix warning message text
14645
14646 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14647
14648         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14649
14650 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14651
14652         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14653         project page <http://www.gnome.org/projects/NetworkManager/>
14654
14655 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14656
14657         * gnome/applet.c: Also use translator credits if we don't have
14658         the new GtkAboutDialog (older versions of GTK+)
14659
14660 2005-10-26  Robert Love  <rml@novell.com>
14661
14662         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14663           failure; correct usage text for "--no-daemon"
14664
14665 2005-10-25  Dan Williams  <dcbw@redhat.com>
14666
14667         * src/NetworkManagerDevice.c
14668                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14669                         no scan results
14670                 - (free_process_scan_cb_data): unref the device when freeing results
14671                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14672                         so we don't unref the device underneath ourselves
14673
14674 2005-10-25  Dan Williams  <dcbw@redhat.com>
14675
14676         * Back out 2005-10-24 commit from Tor Krill.  Patch
14677                 causes nameservers never to be removed from named.
14678
14679 2005-10-24  Dan Williams  <dcbw@redhat.com>
14680
14681         Clean up wireless scanning and wireless link probing.
14682
14683         * src/NetworkManagerDevice.c
14684                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14685                         just see if there's an activation request on the device, and check the
14686                         current link against the activation request access point's ESSID.
14687                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14688                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14689                         don't call process_scan_results() on zero-length data
14690                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14691                         15 seconds (from 10)
14692
14693 2005-10-24  Dan Williams  <dcbw@redhat.com>
14694
14695         Cleanup some applet stuff:
14696
14697         - Animation timeouts.  If NM died while the applet was animating,
14698                 the applet would not hide itself.  This is now fixed.
14699
14700         - Remove some dead code
14701
14702         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14703                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14704
14705         - Track animation timeout using a gboolean rather than the timeout's
14706                 ID, since timeout IDs can legally be 0.
14707
14708 2005-10-24  Dan Williams  <dcbw@redhat.com>
14709
14710         * src/backends/interface_parser.c
14711                 - Add void to function declarations that need it
14712                         to match patch from Engin AYDOGAN
14713
14714         * src/backends/interface_parser.h
14715                 - Remove unused prototype for ifparser_interfaces()
14716
14717         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14718         * src/backends/interface_parser.h:
14719                 - Compile fixes for gcc 4.0.2 (add void)
14720
14721 2005-10-24  Dan Williams  <dcbw@redhat.com>
14722
14723         Patch from Tor Krill <tor@krill.nu>
14724         * src/named-manager/nm-named-manager.c
14725                 - Write more than just the first nameserver to /etc/resolv.conf
14726                 - Write out valid /etc/resolv.conf on exit
14727
14728 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14729
14730         * gnome/applet/applet-dbus-vpn.c:
14731         Get rid of spurious newlines in debug console output
14732
14733 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14734
14735         * src/backends/NetworkManagerGentoo.c:
14736         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14737
14738 2005-10-20  Robert Love  <rml@novell.com>
14739
14740         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14741           direct comparison of floating point values, which is never correct.
14742           Also some misc. cleanup.
14743
14744 2005-10-19  Robert Love  <rml@novell.com>
14745
14746         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14747
14748 2005-10-19  Robert Love  <rml@novell.com>
14749
14750         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14751           sensitivity of the buttons.  Specificaly, do the right thing if
14752           there are no entries.
14753
14754 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14755
14756         * configure.in: Update check for adequate wireless-tools
14757         with an AC_TRY_COMPILE for the new symbols we use.
14758
14759 2005-10-19  Dan Williams  <dcbw@redhat.com>
14760
14761         * src/NetworkManagerDevice.c
14762                 - (process_scan_results): don't drop the last (or only)
14763                         access point we see
14764
14765 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14766
14767         * src/backends/NetworkManagerSlackware.c:
14768         Patch from Nico <lordllucifer@gmail.com>
14769                 - Update the Slackware backend.
14770
14771 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14772
14773         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14774         if we've got GLib 2.8.0
14775
14776 2005-10-18  Robert Love  <rml@novell.com>
14777
14778         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14779           function nm_schedule_state_change_signal_broadcast() when we
14780           deactivate a device, too.
14781
14782 2005-10-18  Robert Love  <rml@novell.com>
14783
14784         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14785           be used uninitialized.
14786
14787 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14788
14789         * test/libnm_glib_test.c: Test unregistering, too.
14790
14791 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14792
14793         * configure.in: Bump to 0.5.0
14794
14795 2005-10-17  Dan Williams  <dcbw@redhat.com>
14796
14797         * NetworkManager.h
14798                 - Remove WPA-related constants so they aren't part of the
14799                         upcoming release.
14800
14801 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14802
14803         * gnome/applet/applet.c:
14804         * gnome/applet/applet.h:
14805         Desensitize the 'Connection Information' menu item when there is
14806         no active connection.
14807
14808 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14809
14810         * gnome/libnm_glib/libnm_glib.c:
14811         Make libnm_glib_unregister_callback () actually unregister the callback
14812
14813 2005-10-17  Robert Love  <rml@novell.com>
14814
14815         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14816           two seconds -- tries is updated every 1/10 of a second, not every
14817           second..
14818
14819 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14820
14821         * gnome/applet/applet-dbus-info.c:
14822         Let D-BUS know that we haven't handled a message when we haven't.
14823
14824 2005-10-17  Robert Love  <rml@novell.com>
14825
14826         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14827           in order to remain 64-bit clean.
14828
14829 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14830
14831         * gnome/applet/applet-dbus-info.c:
14832         Find network encryption keys asynchronously
14833
14834 2005-10-17  Robert Love  <rml@novell.com>
14835
14836         * src/backends/NetworkManagerDebian.c,
14837           src/backends/NetworkManagerRedHat,
14838           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14839           comment delimiter.
14840
14841 2005-10-17  Robert Love  <rml@novell.com>
14842
14843         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14844           "/etc"
14845
14846 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14847
14848         * src/NetworkManagerDevice.c: (process_scan_results)
14849         Fix logic that checks to see whether we have an ESSID.
14850
14851 2005-10-15  Dan Williams  <dcbw@redhat.com>
14852
14853         Move scanning code into NetworkManager rather than use iwlib's
14854         iw_scan() function, so that we can figure out AP capabilities.
14855
14856         * NetworkManager.h
14857                 - Add AP capability bits
14858
14859         * src/NetworkManagerAP.[ch]
14860                 - Add capability field to NMAccessPoint structure
14861                 - Add WPA & RSN Information Element fields and accessor
14862                         functions to NMAccessPoint
14863
14864         * src/NetworkManagerDevice.c
14865                 - Remove usage of iw_scan
14866                 - Add scanning code to NetworkManager rather than use
14867                         iw_scan() from iwlib
14868
14869         * src/NetworkManagerUtils.[ch]
14870                 - (nm_dispose_scan_results): remove, unused
14871
14872 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14873
14874         * gnome/libnm_glib/libnm_glib.c:
14875         * gnome/libnm_glib/libnm_glib.h:
14876         Use guint instead of gint for callback IDs.
14877
14878 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14879
14880         * gnome/applet/applet.c:
14881         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14882         every 1000ms.  It will unconditionally call nmwa_update_state which
14883         kills the existing animation timeout and registers a new one with a
14884         callback to draw a new frame every 100ms.  There are 11 connecting
14885         icon frames, so the last 2 frames kept getting dropped.  Only reset
14886         the animation timeout if we aren't animating.
14887
14888 2005-10-11  Dan Williams  <dcbw@redhat.com>
14889
14890         * gnome/applet/applet-dbus-devices.c
14891                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14892                         We want to grab the product & vendor from net.physical_dev
14893                         rather than info.parent.
14894
14895 2005-10-11  Dan Williams  <dcbw@redhat.com>
14896
14897         * src/NetworkManagerDevice.c
14898                 - Use the driver's WE version for scanning rather than
14899                         the WE version NM was compiled with.  Fixes random
14900                         crashes in iw_scan () in iwlib.
14901
14902 2005-10-10  Dan Williams  <dcbw@redhat.com>
14903
14904         * Remove nm_system_load_device_modules() from backend files
14905                 and from NetworkManager.c
14906
14907 2005-10-10  Dan Williams  <dcbw@redhat.com>
14908
14909         * src/NetworkManagerPolicy.c
14910                 - Fix some bugs introduced by the capabilities patch
14911
14912 2005-10-10  Dan Williams  <dcbw@redhat.com>
14913
14914         * gnome/applet/applet-dbus-info.c
14915                 - (nmi_dbus_get_network_key): hide the menu when putting up
14916                         the keyring dialog.  (not sure if the code is right...)
14917
14918 2005-10-09  Dan Williams  <dcbw@redhat.com>
14919
14920         Patch from Bill Moss <bmoss@clemson.edu>
14921         * src/NetworkManagerDevice.c
14922                 - (nm_device_set_user_key_for_network): don't try to set auth
14923                         mode on the AP from the allowed list if it's NULL
14924
14925 2005-10-09  Dan Williams  <dcbw@redhat.com>
14926
14927         * Replace the "driver support level" stuff with capabilities.  The
14928                 capability field is a bitfield that is more flexible than the
14929                 old driver support level thing.  It's mostly so we can easily
14930                 figure out what supports WPA and what doesn't, but should be
14931                 quite useful later.
14932
14933 2005-10-09  Dan Williams  <dcbw@redhat.com>
14934
14935         * test/nmtest.c
14936                 - Removed
14937
14938         * test/nm-tool.c
14939           test/Makefile.am
14940                 - Added new "nm-tool" tool that gives quite a bit more
14941                         information
14942
14943 2005-10-07  Robert Love  <rml@novell.com>
14944
14945         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14946           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14947           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14948           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14949           appropriate
14950
14951 2005-10-07  Robert Love  <rml@novell.com>
14952
14953         * configure.in: Change our compile flags for the betterment of mankind.
14954           Add "-Wstrict-prototypes" because we comply anyhow and missing a
14955           prototype is very bad on 64-bit platforms as types default to int but
14956           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14957           "-Wmissing-declarations" to warn if we define an exported function
14958           but fail to put it in a header.
14959
14960 2005-10-07  Robert Love  <rml@novell.com>
14961
14962         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14963           by the name nm_update_device_wireless_timeouts() and once tried,
14964           without success, to steal my pet turtle.
14965
14966 2005-10-07  Robert Love  <rml@novell.com>
14967
14968         * Cleanup prototypes: put some functions in header files and mark
14969           others as 'static' -- feel free to invert
14970         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14971           nm_vpn_manager_vpn_connection_list_copy()
14972         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14973           nm_vpn_service_get_dbus_connection()
14974         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14975           nm_vpn_manager_vpn_connection_list_copy()
14976         * src/vpn-manager/nm-vpn-service.c: make
14977           nm_vpn_service_act_request_failed() and
14978           nm_vpn_service_stage2_daemon_wait() static
14979         * src/vpn-manager/nm-vpn-service.h: add prototype for
14980           nm_vpn_service_get_dbus_connection()
14981
14982 2005-10-06  Christopher Aillon  <caillon@redhat.com>
14983
14984         * gnome/applet/applet.c:
14985         * gnome/applet/applet.h:
14986         * gnome/applet/icons/Makefile.am:
14987         Convey information about the current connection stage in the
14988         icons themselves instead of creating a separate progress bar.
14989
14990 2005-10-04  Robert Love  <rml@novell.com>
14991
14992         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14993           convert an ether_addr structure's MAC into a string, because the
14994           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14995           versus 07:3B:04, while the former will not.
14996
14997 2005-10-04  Robert Love  <rml@novell.com>
14998
14999         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15000           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15001           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15002           default route in the 'Connection Information' dialog, send primary
15003           and secondary name servers in in "getProperties" DBUS method, add
15004           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15005           secondary domain name servers are crucial pieces of information
15006           that a user might need in debugging a network problem.
15007
15008 2005-10-04  Robert Love  <rml@novell.com>
15009
15010         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15011           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15012           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15013           default route in the 'Connection Information' dialog, send default
15014           route in "getProperties" DBUS method, add network_device_set_route(),
15015           and network_device_get_route().  The Gateway is a crucial piece of
15016           connection-related information that a user might need in debugging a
15017           network problem.
15018
15019 2005-10-03  Robert Love  <rml@novell.com>
15020
15021         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15022           NULL.
15023
15024 2005-10-02  Dan Williams  <dcbw@redhat.com>
15025
15026         * Shorten time taken to sleep by fastpathing bits of device deactivation
15027                 necessary for sleep.
15028
15029         * Fix issue where deactivating a device might deactivate the active
15030                 VPN connection, even if the VPN was not using the device.
15031
15032 2005-10-02  Dan Williams  <dcbw@redhat.com>
15033
15034         * gnome/applet/applet.c
15035                 - Adjust signal strength -> icon mapping values slightly
15036                         (so that 51% signal doesn't show a 75% icon) by adding
15037                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15038                         shows 50% icon, etc.
15039
15040 2005-09-29  Robert Love  <rml@novell.com>
15041
15042         * src/NetworkManager.c: removed unused variable.
15043
15044 2005-09-28  Dan Williams  <dcbw@redhat.com>
15045
15046         Support for named + DBus, using Red Hat DBus patches for named.  You
15047         can find those patches here, with "dbus" in the patch's filename:
15048
15049                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15050
15051         Don't forget the named dbus service file either.
15052
15053         Instead of writing a config file and spawing a named process, NM will
15054         use an already-running dbus-enabled named if it finds one.  NM will
15055         update named's forwarder configuration on the fly using dbus.
15056
15057         If there is no dbus-enabled named running, NM will automatically fall
15058         back to writing the most-recent DNS server information to /etc/resolv.conf
15059         and calling nm_system_update_dns() to kick the system's resolver.
15060
15061         Accordingly, all named-related configure-time options have been removed.
15062
15063 2005-09-26  Robert Love  <rml@novell.com>
15064
15065         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15066           ISDN support!
15067         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15068           bug in error path if "ASKPASSWORD" is "no".
15069
15070 2005-09-26  Robert Love  <rml@novell.com>
15071
15072         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15073           comment in /etc/resolv.conf -- ';' is not.
15074
15075 2005-09-19  Dan Williams  <dcbw@redhat.com>
15076
15077         * src/backends/NetworkManagerRedHat.c:
15078         * src/backends/NetworkManagerDebian.c:
15079         * src/backends/NetworkManagerSlackware.c:
15080         * src/backends/NetworkManagerGentoo.c:
15081         * src/backends/NetworkManagerSUSE.c:
15082         Fix invocations of "/sbin/ip address" to use short form instead
15083
15084 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15085
15086         * src/nm-dbus-device.c: Don't assert when getting
15087         addresses of a not yet connected interface.
15088
15089         * gnome/applet/applet.c: Free icons if loading fails.
15090         Use translator-credits so translators can make themselves known.
15091
15092 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15093
15094         * src/NetworkManagerAP.c:
15095         * src/NetworkManagerAP.h:
15096         * src/NetworkManagerDevice.c:
15097         Set a blacklist for certain common manufacturer default ESSIDs:
15098         APs with these ESSIDs are extremely likely to be completely
15099         different networks: connecting to one should not make NM
15100         auto-connect to every other AP with the same default ESSID.
15101
15102 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15103
15104         * gnome/applet/wireless-applet.glade:
15105         The passphrase entry should also activate the default
15106
15107         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15108
15109         * gnome/applet/applet-dbus-devices.c:
15110         * gnome/applet/applet.c:
15111         * gnome/applet/nm-device.c:
15112         * gnome/applet/nm-device.h:
15113         * src/NetworkManagerUtils.c:
15114         * src/NetworkManagerUtils.h:
15115         * src/nm-dbus-device.c:
15116         I've got a fever, and the only cure for it is less ioctl.
15117         Make NM push IP data rather than make the applet open a socket
15118         to the device.
15119
15120 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15121
15122         * gnome/applet/applet.c:
15123         * gnome/applet/applet-dbus-devices.c:
15124         * gnome/applet/applet-dbus-info.c:
15125         * gnome/applet/passphrase-dialog.c:
15126         * gnome/libnm_glib/libnm_glib.c:
15127         * gnome/vpn-properties/nm-vpn-properties.c:
15128         * src/autoip.c:
15129         * src/backends/NetworkManagerRedHat.c:
15130         * src/named-manager/nm-named-manager.c:
15131         * src/NetworkManagerAPList.c:
15132         * src/NetworkManager.c:
15133         * src/NetworkManagerDbus.c:
15134         * src/NetworkManagerDevice.c:
15135         * src/NetworkManagerPolicy.c:
15136         * src/NetworkManagerSystem.c:
15137         * src/nm-dbus-device.c:
15138         * src/nm-dbus-nm.c:
15139         * src/vpn-manager/nm-vpn-manager.c:
15140         * src/vpn-manager/nm-vpn-service.c:
15141         * test/libnm_glib_test.c:
15142         * test/nminfotest.c:
15143         * test/nmtestdevices.c:
15144         Fix a bunch of 'unused variable' compiler warnings
15145
15146         * NetworkManager.h:
15147         * gnome/applet/applet-dbus-info.c:
15148         * gnome/applet/applet-dbus-info.h:
15149         * gnome/applet/applet.c:
15150         * gnome/applet/applet.h:
15151         * src/NetworkManager.c:
15152         * src/NetworkManagerDbus.c:
15153         * src/NetworkManagerDbus.h:
15154         * src/NetworkManagerDevice.c:
15155         * src/NetworkManagerDevice.h:
15156         * src/NetworkManagerMain.h:
15157         * src/NetworkManagerWireless.c:
15158         * src/NetworkManagerWireless.h:
15159         * src/nm-dbus-nm.c:
15160         Make NetworkManager be smart about how frequently to scan
15161         based on its current state.  Remove the UI for choosing when
15162         to scan.  Scanning still may disabled completely by the user
15163         via the "Wireless Enabled" menu item.
15164
15165 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15166
15167         * gnome/applet/applet.c:
15168         Also overlay the vpn connecting icons onto the wired icon,
15169         when appropriate.
15170
15171         * gnome/vpn-properties/nm-vpn-properties.glade:
15172         Clean up a few strings to use better grammar and proper casing.
15173
15174 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15175
15176         * gnome/applet/vpn-connection.c:
15177         * gnome/applet/vpn-connection.h:
15178         Add nmwa_vpn_connection_is_activating ()
15179
15180         * gnome/applet/applet.c:
15181         * gnome/applet/applet.h:
15182         * gnome/applet/icons/nm-vpn-connecting*.png:
15183         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15184         the user know something's happening between clicking the VPN item and it
15185         actually being connected.
15186
15187 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15188
15189         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15190         failure case as well.
15191
15192 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15193
15194         * gnome/panel/eggtrayicon.[ch]:
15195         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15196
15197 2005-09-07  Dan Williams  <dcbw@redhat.com>
15198
15199         Patch from Bill Moss <bmoss@clemson.edu>
15200         * src/applet-dbus.c
15201                 - (nmwa_dbus_filter): strip whitespace from beginning
15202                         and end of VPN login banner
15203
15204 2005-09-07  Dan Williams  <dcbw@redhat.com>
15205
15206         * The great VPN Manager rewrite of 2005
15207
15208 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15209
15210         * gnome/applet/menu-items.c:
15211         * gnome/applet/nm-device.c:
15212         * gnome/applet/wireless-network.c:
15213         * gnome/libnm_glib/libnm_glib.c:
15214         * src/NetworkManagerDbusUtils.c:
15215         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15216         g_malloc0 doesn't return NULL
15217
15218 2005-09-06  Dan Williams  <dcbw@redhat.com>
15219
15220         Patch from Tomislav Vujec <tvujec@redhat.com>
15221         * src/NetworkManagerDevice.c
15222                 - (nm_get_device_by_udi): don't return a device when we
15223                         actually didn't find what we were looking for
15224
15225 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15226
15227         * gnome/applet/applet-dbus-devices.c:
15228         * gnome/applet/applet-dbus-devices.h:
15229         * gnome/applet/applet-dbus.c:
15230         * src/NetworkManagerDbus.c:
15231         * src/NetworkManagerDbus.h:
15232         * src/NetworkManagerDevice.c:
15233         * src/nm-dbus-device.c:
15234         Make NM push updates about active device strength when it changes,
15235         rather than having the applet poll every 2s.
15236
15237 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15238
15239         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15240         network_device_set_strength
15241
15242 2005-09-04  Dan Williams  <dcbw@redhat.com>
15243
15244         Patch from Bill Nottingham <notting@redhat.com>
15245         * src/NetworkManagerDevice.c
15246                 - (nm_device_activation_cancel): reset the quit_activation flag
15247
15248 2005-09-04  Dan Williams  <dcbw@redhat.com>
15249
15250         * src/nm-activation-request.c
15251                 - (nm_act_request_unref): actually free the structure,
15252                         which we didn't seem to be doing before
15253
15254 2005-09-04  Dan Williams  <dcbw@redhat.com>
15255
15256         Patch from John Palmieri <johnp@redhat.com>
15257         * gnome/applet/applet-dbus-devices.c
15258                 - Fix up unreffing of DBusMessage objects
15259
15260 2005-09-04  Dan Williams  <dcbw@redhat.com>
15261
15262         Patch from John Palmieri <johnp@redhat.com>
15263         * gnome/applet/nm-device.c
15264                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15265
15266 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15267
15268         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15269
15270 2005-09-02  Bill Nottingham  <notting@redhat.com>
15271
15272         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15273
15274 2005-09-01  Dan Williams  <dcbw@redhat.com>
15275
15276         * src/NetworkManager.c
15277                 - (nm_remove_device_from_list): rename to nm_remove_device
15278                 - (nm_hal_device_removed): call nm_remove_device()
15279
15280         * src/NetworkManagerDevice.c
15281                 - Change the NMWirelessScanCB member 'reschedule' which
15282                         wasn't used to 'force' to indicate that we need to
15283                         force a scan when adding a device
15284
15285         * src/nm-dbus-nm.c
15286                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15287                         from the device list
15288                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15289
15290 2005-09-01  Robert Love  <rml@novell.com>
15291
15292         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15293           and the check "!iface" in the error case is probably never true.
15294
15295 2005-09-01  Dan Williams  <dcbw@redhat.com>
15296
15297         Patch from Bill Nottingham <notting@redhat.com>
15298         * src/backends/NetworkManagerRedHat.c
15299                 - Add initial dialup support to Red Hat/Fedora backend
15300
15301 2005-09-01  Dan Williams  <dcbw@redhat.com>
15302
15303         * gnome/applet/applet-dbus-devices.c
15304                 - Sort both wireless networks and devices again, which got
15305                         broken when removing threading
15306
15307 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15308
15309         * gnome/applet/applet.c:
15310         Only show the "Stop/Start All Wireless Devices" menuitem
15311         if we actually have wireless devices.
15312
15313         * gnome/applet/applet-dbus-info.c:
15314         * gnome/applet/applet.c:
15315         * gnome/applet/other-network-dialog.c:
15316         * gnome/applet/vpn-password-dialog.c:
15317         Drop the gtk_dialog_run () calls in favor of connecting to
15318         "response" signals, needed now that the applet is not threaded.
15319
15320 2005-08-31  Dan Williams  <dcbw@redhat.com>
15321
15322         Patch from Bill Moss <bmoss@clemson.edu>
15323         * src/NetworkManagerDevice.c
15324                 - (nm_device_wireless_scan): fix scan timeout values
15325
15326 2005-08-30  Dan Williams  <dcbw@redhat.com>
15327
15328         * gnome/applet/wireless-applet.glade
15329                 - HIG-ify the Other Wireless Networks dialog a bit more
15330                 - Fix some potential segfaults in the info dialog
15331
15332 2005-08-30  Dan Williams  <dcbw@redhat.com>
15333
15334         * gnome/applet/applet-dbus-devices.c
15335                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15336
15337 2005-08-30  Dan Williams  <dcbw@redhat.com>
15338
15339         * gnome/applet/applet-dbus.[ch]
15340                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15341                         they weren't being used anyway
15342
15343 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15344
15345         * test/nmtestdevices.c: (print_usage), (main):
15346         Check the number of arguments, and fix a typo
15347
15348 2005-08-29  Dan Williams  <dcbw@redhat.com>
15349
15350         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15351         * gnome/applet/applet.c
15352                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15353
15354 2005-08-29  Dan Williams  <dcbw@redhat.com>
15355
15356         * gnome/applet/*
15357                 - Don't use threads any more.  Anything that blocks
15358                         (like gtk_dialog_run()) will  have to get fixed up which
15359                         should happen quickly.  We really only had threads to make
15360                         the animation smooth, and when everything got converted over
15361                         to DBus Pending Calls, the need for threads kind of went away
15362
15363 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15364
15365         * gnome/applet/applet.c: Draw VPN connections as radio items
15366         since we don't yet support multiple VPNs.
15367         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15368         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15369
15370 2005-08-29  Dan Williams  <dcbw@redhat.com>
15371
15372         Patch from j@bootlab.org
15373         - Make --without-named work
15374         - Make --with-dhcdbd work correctly
15375
15376 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15377
15378         * configure.in: Added "ca" to ALL_LINGUAS.
15379
15380 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15381
15382         * Fix up VPN state handling between the applet and NetworkManager,
15383                 so that the applet doesn't show a VPN as connected when one
15384                 really is not
15385                         - The applet no longer has a pointer to the active VPN's
15386                                 name, but tracks each VPNs state individually
15387                         - NM no longer has a "getActiveVPNConnection" method
15388                         - NM no longer broadcasts the "VPNConnectionChange" signal
15389                         - NM now broadcasts a "VPNConnectionStateChange" signal
15390                                 whenever the state of a VPN changes
15391
15392 2005-08-26  Dan Williams <dcbw@redhat.com>
15393
15394         * gnome/applet/applet-dbus-devices.c
15395           gnome/applet/applet-dbus-vpn.c
15396                 - Remove calls to dbus_pending_call_ref() because we already
15397                         "own" the pending call
15398                 - Remove calls to dbus_pending_call_get_completed() because
15399                         when we are in the callback, the pending call is completed
15400                         by definition
15401
15402 2005-08-22  Dan Williams <dcbw@redhat.com>
15403
15404         Patch by Bill Moss <bmoss@clemson.edu>
15405         * src/dhcp-manager/nm-dhcp-manager.c
15406                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15407                         some time to send out a RELEASE if they like
15408
15409 2005-08-22  Dan Williams <dcbw@redhat.com>
15410
15411         Noticed by Bill Moss <bmoss@clemson.edu>
15412         * src/NetworkManagerDbus.c
15413                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15414                         instead of just cancelling its activation
15415
15416         * src/NetworkManagerDevice.c
15417                 - (nm_device_deactivate): some small cleanups
15418                 - (nm_device_set_user_key_for_network): deactivate the device
15419                         instead of just cancelling its activation
15420
15421 2005-08-22  Dan Williams <dcbw@redhat.com>
15422
15423         Noticed by Bill Moss <bmoss@clemson.edu>
15424         * src/NetworkManagerDevice.c
15425                 - (nm_device_wireless_scan): fix scan timeout, we were
15426                         waiting way too long for scans to complete
15427
15428 2005-08-22  Dan Williams <dcbw@redhat.com>
15429
15430         Patch from j@bootlab.org:
15431         * src/backends/NetworkManagerDebian.c
15432                 - Make the Debian backend work for static IP again
15433
15434 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15435
15436         * gnome/applet/other-network-dialog.c:
15437         The "Create New Network" and "Connect to Other Network"
15438         dialogs share alot of code, but shouldn't share a window
15439         title.  Give them different ones.
15440
15441         * gnome/applet/wireless-applet.glade:
15442         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15443         Some more minor UI tweaks.
15444
15445 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15446
15447         * gnome/applet/other-network-dialog.c:
15448         * gnome/applet/wireless-applet.glade:
15449         Also need mnemonic widgets, and underline enabled.
15450
15451 2005-08-19  Dan Williams <dcbw@redhat.com>
15452
15453         * vpn-daemons/vpnc/nm-vpnc-service.c
15454                 - (vpnc_watch_cb): remove no-longer-relevant comment
15455                 - (write_config_option): new function, helper to write
15456                         config options to vpnc's stdin
15457                 - (nm_vpnc_config_write): use the new helper, make the
15458                         code shorter
15459
15460 2005-08-19  Christopher Aillon <caillon@redhat.com>
15461
15462         * gnome/applet/passphrase-dialog.c:
15463         * gnome/applet/wireless-applet.glade:
15464         Make the passphrase dialog response based, and treat
15465         responses other than OK (such as Esc, [X]) as a cancel.
15466
15467 2005-08-18  Christopher Aillon <caillon@redhat.com>
15468
15469         * initscript/Gentoo/NetworkManager:
15470         * initscript/RedHat/NetworkManager:
15471         * initscript/RedHat/NetworkManagerDispatcher:
15472         * initscript/SUSE/networkmanager:
15473         CVS remove these in place of .in replacements
15474
15475         * configure.in:
15476         * initscript/Gentoo/NetworkManager.in:
15477         * initscript/RedHat/NetworkManager.in:
15478         * initscript/RedHat/NetworkManagerDispatcher.in:
15479         * initscript/SUSE/networkmanager.in:
15480         These scripts now are generated so they work still when
15481         NM is built using a bindir other than /usr/bin
15482
15483 2005-08-18  Dan Williams <dcbw@redhat.com>
15484
15485         * gnome/applet/main.c
15486                 - Revert previous change for --no-session since
15487                         --sm-disable does the same thing
15488
15489 2005-08-18  Dan Williams <dcbw@redhat.com>
15490
15491         * gnome/applet/applet-dbus-info.c
15492                 - (nmi_dbus_create_error_message): new function
15493                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15494                         functions.  Also don't check for both device _and_ network before
15495                         asking for a user's key, because we may not have gotten all our
15496                         networks back from NM quite yet (due to the dbus pending calls
15497                         coming in later).  Fixes a hang in NM/nm-applet.
15498
15499         * src/NetworkManagerDbus.c
15500                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15501                         slightly more sane manner, even though we are still broken for
15502                         certain other error conditions.
15503                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15504                         to the info-daemon too
15505
15506         * src/NetworkManagerDevice.c
15507                 - Fix some debug messages to be info messages instead
15508
15509 2005-08-18  Dan Williams <dcbw@redhat.com>
15510
15511         * gnome/applet/main.c
15512                 - Add new "--no-session" parameter that disables applet
15513                         session management, ie for testing
15514
15515 2005-08-18  Christopher Aillon <caillon@redhat.com>
15516
15517         * gnome/applet/other-network-dialog.c:
15518         * gnome/applet/wireless-applet.glade: More mnemonics
15519
15520 2005-08-17  Robert Love  <rml@novell.com>
15521
15522         * initscript/SUSE/networkmanager: update
15523
15524 2005-08-17  Dan Williams  <dcbw@redhat.com>
15525
15526         * Tag NM_0_4_1_RELEASE
15527
15528 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15529
15530         * gnome/applet/applet.c: More translatable string cleanup
15531
15532
15533 2005-08-17  Dan Williams  <dcbw@redhat.com>
15534
15535         * gnome/applet/applet-dbus-info.c
15536                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15537                         from the dbus message, which tells us to unconditionally
15538                         ask the user for a new key.  Otherwise, we pull the key from
15539                         the keyring and return it.  If we fail to get the key from the
15540                         keyring, we ask the user for a new key.
15541                 - (nmi_dbus_get_network_key): new function to grab the key for
15542                         an essid from the keyring.
15543                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15544                         Also, don't return any key in the dbus message.
15545
15546         * src/NetworkManagerDbus.[ch]
15547                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15548                         indicate that we unconditionally want a new key.  This function
15549                         is now also used to get keys from the info-daemon which are
15550                         pre-stored, not just for asking the user for a new key.  The
15551                         "new_key" parameter indicates whether or not we wish to ask the
15552                         user for a new key.
15553                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15554                         info-daemon in the return message, so use NULL instead.  The
15555                         key will be filled in at connect time by calling
15556                         nm_dbus_get_user_key_for_network()
15557
15558         * src/NetworkManagerDevice.c
15559                 - (nm_device_wireless_configure): update for "new_key" param to
15560                         nm_dbus_get_user_key_for_network().  We initially set new_key
15561                         to FALSE to see if we have a stored key in the info-daemon, but
15562                         if the connection is unsuccessful at this stage we request a
15563                         new one
15564
15565 2005-08-17  Dan Williams  <dcbw@redhat.com>
15566
15567         * gnome/applet/icons/nm-no-connection.png
15568           gnome/applet/icons/nm-device-wired.png
15569                 - Use Diana's new RJ45 connector icons
15570
15571 2005-08-17  Dan Williams  <dcbw@redhat.com>
15572
15573         * src/NetworkManagerPolicy.c
15574                 - (nm_policy_device_change_check): clarify switching rules if
15575                         both new and old devices are valid; mainly, don't switch
15576                         away from user-requested wireless connection back to a wired
15577                         one
15578
15579 2005-08-17  Dan Williams  <dcbw@redhat.com>
15580
15581         * gnome/applet/Makefile.am
15582                 - Relocate the applet to /usr/bin since it is no longer
15583                         executed by anything, but directly by the user
15584
15585 2005-08-17  Dan Williams  <dcbw@redhat.com>
15586
15587         Patch from Bill Moss <bmoss@clemson.edu>
15588
15589         * gnome/applet/applet-dbus-info.[ch]
15590                 - (nmi_save_network_info): save timestamp for network if it
15591                         was a change requested by the user
15592                 - (nmi_dbus_update_network_info): get user_requested from dbus
15593                         message and pass to nmi_save_network_info()
15594
15595         * gnome/applet/applet.c
15596                 - (nmwa_update_network_timestamp): remove
15597                 - (nmwa_menu_item_activate): don't set timestamp on networks
15598                         here, only after a successful connect in nmi_save_network_info()
15599
15600         * src/NetworkManagerDbus.[ch]
15601                 - (nm_dbus_update_network_info): pass user_requested into the 
15602                         dbus message
15603
15604         * src/NetworkManagerPolicy.c
15605                 - (nm_policy_activation_finish): pass user_requested to
15606                         nm_dbus_update_network_info()
15607
15608 2005-08-16  Robert Love  <rml@novell.com>
15609
15610         * gnome/applet/applet.c: Better "Dial Up" menu item.
15611
15612 2005-08-16  Robert Love  <rml@novell.com>
15613
15614         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15615           "Connection Information" menu item.
15616
15617 2005-08-16  Dan Williams  <dcbw@redhat.com>
15618
15619         Patch from j@bootlab.org
15620         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15621
15622         * configure.in: allow specifying the path to dhcdbd
15623
15624 2005-08-16  Robert Love  <rml@novell.com>
15625
15626         Patch from j@bootlab.org
15627         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15628           src/backends/interface_parser.h: Debian dialup support.
15629
15630 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15631
15632         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15633         * gnome/applet/applet.c: Add some mnemonics for VPNC
15634
15635         * vpn-daemons/.cvsignore: fix this up a little bit
15636
15637 2005-08-16  Robert Love  <rml@novell.com>
15638
15639         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15640           support.
15641
15642 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15643
15644         * gnome/applet/applet.c: Split markup out of translatable strings
15645         and clean up logic a little bit.  (fixes #309012)
15646
15647 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15648
15649         * gnome/vpn-properties/nm-vpn-properties.c:
15650         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15651         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15652         Makeshift fix to remove newlines from translatable strings.
15653         Note that we now return an allocated string, so callers of
15654         get_confirmation_details () must now call g_free () on the
15655         result. (fixes #309033).
15656
15657 2005-08-12  Robert Love  <rml@novell.com>
15658
15659         * gnome/applet/applet-dbus.c: remove newlines from translatable
15660           strings--not needed here anyway. (fix b.g.o #309011)
15661         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15662
15663 2005-08-11  Robert Love  <rml@novell.com>
15664
15665         * gnome/applet/applet.c: mark string as translatable.
15666
15667 2005-08-11  Robert Love  <rml@novell.com>
15668
15669         * initscript/SUSE/networkmanager: update.
15670
15671 2005-08-11  Dan Williams  <dcbw@redhat.com>
15672
15673         * src/nm-dhcp-manager.c
15674                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15675                         an gateway returned from DHCP, try to use the address of the DHCP
15676                         server as the gateway instead.  Found by Ralf Ertzinger.
15677
15678 2005-08-10  Robert Love  <rml@novell.com>
15679
15680         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15681           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15682
15683 2005-08-10  Dan Williams  <dcbw@redhat.com>
15684
15685         Patch from Bill Moss <bmoss@clemson.edu>
15686         * Consolidate writes of access point information updates to the info daemon
15687                 so that we only do it when the connection to the access point was
15688                 successful.  Also consolidates updates to GConf in the Gnome applet.
15689
15690         * src/nm-netlink-monitor.c
15691                 - Silence compile warning when calling g_object_new()
15692
15693 2005-08-08  Dan Williams  <dcbw@redhat.com>
15694
15695         Patch from Steev <steev@steev.net>:
15696         * src/backends/NetworkManagerGentoo.c
15697                 - Stub new dialup backend functions
15698
15699 2005-08-08  Dan Williams  <dcbw@redhat.com>
15700
15701         Patch from Colin Slater:
15702         * src/backends/NetworkManagerGentoo.c
15703                 - (nm_system_update_dns): Fix exit status check for restarting
15704                         nscd
15705
15706 2005-08-05  Robert Love  <rml@novell.com>
15707
15708         * NetworkManager.h,
15709           gnome/applet/applet-dbus-devices.c,
15710           gnome/applet/applet-dbus-devices.h,
15711           gnome/applet/applet-dbus.c,
15712           gnome/applet/applet.c,
15713           gnome/applet/applet.h,
15714           src/NetworkManager.c,
15715           src/NetworkManagerMain.h,
15716           src/NetworkManagerSystem.h,
15717           src/backends/NetworkManagerRedHat.c,
15718           src/backends/NetworkManagerSuSE.c,
15719           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15720
15721 2005-08-05  Robert Love  <rml@novell.com>
15722
15723         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15724           machine's hostname to make adhoc creation idiot-proof.
15725
15726 2005-08-04  Robert Love  <rml@novell.com>
15727
15728         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15729           freed.
15730
15731 2005-08-04  Dan Williams  <dcbw@redhat.com>
15732
15733         * gnome/applet/applet-dbus-info.c
15734           gnome/applet/applet-dbus-info.h
15735                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15736                         to store key, key type, and auth method rather than just auth method
15737                 - (nmi_dbus_update_network_info): new function
15738                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15739
15740         * gnome/applet/passphrase-dialog.c
15741                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15742                         of saving the info ourselves
15743
15744         * gnome/libnm_glib/libnm_glib.c
15745                 - Remove the stupid version check for dbus
15746
15747         * src/NetworkManagerAP.c
15748           src/NetworkManagerAP.h
15749                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15750
15751         * src/NetworkManagerDbus.c
15752           src/NetworkManagerDbus.h
15753                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15754                         more than just the auth method
15755
15756         * src/NetworkManagerDevice.c
15757                 - Update network info at the appropriate times
15758
15759 2005-07-29  Ray Strode  <rstrode@redhat.com>
15760
15761         * src/NetworkManager.c (nm_info_handler): don't use input as format
15762         string (Spotted by Ian Jackson).
15763
15764 2005-07-27  Dan Williams  <dcbw@redhat.com>
15765
15766         * src/nm-dbus-nm.c
15767           src/nm-dbus-net.c
15768                 - Random cleanups of spacing
15769
15770         * gnome/applet/applet.h
15771           gnome/applet/other-network-dialog.c
15772           gnome/applet/passphrase-dialog.c
15773                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15774
15775         Patch from Bill Moss:
15776                 - Make Other Wireless Networks work again with encryption keys
15777
15778 2005-07-26  Dan Williams  <dcbw@redhat.com>
15779
15780         Patch from Steev <steev@steev.net>:
15781         * src/backends/NetworkManagerGentoo.c
15782           src/backends/Makefile.am
15783                 - Fix up Gentoo backend
15784
15785 2005-07-26  Robert Love  <rml@novell.com>
15786
15787         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15788
15789 2005-07-25  Robert Love  <rml@novell.com>
15790
15791         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15792           in the same group as the wireless networks, since they are all
15793           mutually exclusive.
15794
15795 2005-07-24  Ray Strode  <rstrode@redhat.com>
15796
15797         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15798         remove unneeded NULL arg from g_object_new().  Any
15799         warnings caused by not having the extra NULL are just a
15800         result of a bug in glib 2.7.0 - 2.7.2.
15801
15802 2005-07-22  Robert Love  <rml@novell.com>
15803
15804         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15805
15806 2005-07-22  Robert Love  <rml@novell.com>
15807
15808         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15809           parameters (gcc 4.0.2 warning fix).
15810
15811 2005-07-18  Robert Love  <rml@novell.com>
15812
15813         Suggested by Aaron Bockover (abockover@novell.com)
15814         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15815           s/Ascii/ASCII
15816         * gnome/applet/passphrase-dialog.c: ditto
15817         * gnome/applet/wireless-applet.glade: ditto
15818
15819 2005-07-13  Dan Williams  <dcbw@redhat.com>
15820
15821         Patch from Ray Strode <halfline@gmail.com>
15822         * vpn-daemons/vpnc/nm-vpnc-service.c
15823                 - Don't let vpnc daemonize, fixes some races with PID file reading
15824
15825 2005-07-13  Dan Williams  <dcbw@redhat.com>
15826
15827         Patch from Ray Strode <halfline@gmail.com>
15828         * Random cleanups for strict CFLAGS
15829
15830 2005-07-07  Dan Williams  <dcbw@redhat.com>
15831
15832         Patch from Derek Atkins <warlord@MIT.EDU>
15833         * src/nm-dbus-net.c:
15834                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15835
15836 2005-07-07  Dan Williams  <dcbw@redhat.com>
15837
15838         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15839         * src/backends/NetworkManagerGentoo.c
15840                 - Gentoo backend Static IP nameserver fixes
15841                 - General Gentoo backend goodness
15842
15843 2005-07-07  Dan Williams  <dcbw@redhat.com>
15844
15845         Patch from Bastien Nocera:
15846         * gnome/applet/applet.c
15847                 - Fix up error reporting when icons or glade files are missing
15848
15849 2005-07-07  Robert Love  <rml@novell.com>
15850
15851         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15852           are not any VPN connections above it.
15853
15854 2005-07-07  Robert Love  <rml@novell.com>
15855
15856         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15857
15858 2005-07-05  Robert Love  <rml@novell.com>
15859
15860         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15861           zero.
15862
15863 2005-07-05  Robert Love  <rml@novell.com>
15864
15865         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15866           on wired or unencrypted wireless.
15867
15868 2005-07-01  Robert Love  <rml@novell.com>
15869
15870         * src/NetworkManagerSystem.c: Print the error via strerror().
15871
15872 2005-06-30  Robert Love  <rml@novell.com>
15873
15874         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15875           then exit if the glade file is not found.  currently the application
15876           just hangs.
15877
15878 2005-06-30  Robert Love  <rml@novell.com>
15879
15880         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15881           explicitly up all interfaces on wake from sleep.
15882
15883 2005-06-30  Robert Love  <rml@novell.com>
15884
15885         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15886           with information about the currently active connection.
15887         * gnome/applet/applet.h: (ditto)
15888         * gnome/applet/wireless-applet.glade: (ditto), new file
15889
15890 2005-06-30  Robert Love  <rml@novell.com>
15891
15892         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15893         * src/nm-dbus-nm.c: print when we sleep and wake up.
15894         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15895         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15896           in /sbin unless D-BUS is, folks).
15897         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15898
15899 2005-06-27  Robert Love  <rml@novell.com>
15900
15901         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15902           case.
15903
15904 2005-06-27  Robert Love  <rml@novell.com>
15905
15906         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15907           items radios.
15908
15909 2005-06-26  Robert Love  <rml@novell.com>
15910
15911         * src/NetworkManagerDevice.c: be specific about which device in
15912           nm_info() message.
15913
15914 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15915
15916         * src/nm-netlink-monitor.c: correct spelling error.
15917
15918 2005-06-23  Robert Love  <rml@novell.com>
15919
15920         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15921         * gnome/applet/passphrase-dialog.c: more of that keyring!
15922
15923 2005-06-23  Robert Love  <rml@novell.com>
15924
15925         * configure.in: remove extraneous GNOMEKEYRING directives.
15926         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15927         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15928         * gnome/applet/passphrase-dialog.c: whitespace.
15929
15930 2005-06-23  Robert Love  <rml@novell.com>
15931
15932         * src/NetworkManagerDevice.c: division in assignment was flipped.
15933
15934 2005-06-23  David Zeuthen  <david@fubar.dk>
15935
15936         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15937         signal to the child to indicate that we got what we wanted when we
15938         see two new-lines right after each other.
15939         (nmwa_vpn_request_password): Pass a structure with several members
15940         instead of just the passwords
15941
15942 2005-06-23  Dan Williams <dcbw@redhat.com>
15943
15944         * src/NetworkManager.c
15945           src/NetworkManagerMain.h
15946                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15947                 - (nm_hal_init): new function, init libhal context then add devices
15948                 - (nm_hal_deinit): new function, clean up libhal context
15949                 - (nm_data_free): Move Hal cleanup here
15950                 - (main): check whether Hal is running, and if so, get a list of
15951                         network devices from it
15952
15953         * src/NetworkManagerDbus.c
15954                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15955                         and when it appears, get a list of network devices from it.  If
15956                         Hal goes away, clean up the libhal context
15957
15958 2005-06-22  Robert Love  <rml@novell.com>
15959
15960         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15961           permissions of scripts before executing.
15962
15963 2005-06-21  Robert Love  <rml@novell.com>
15964
15965         * initscript/SUSE/networkmanager: update.
15966         * src/backends/NetworkManagerSuSE.c: cleanup.
15967
15968 2005-06-21  Robert Love <rml@novell.com>
15969
15970         * gnome/applet/applet.c: use menu mnemonics.
15971         * gnome/applet/menu-items.c: (ditto)
15972
15973 2005-06-21  Robert Love  <rml@novell.com>
15974
15975         * applet/applet-dbus-devices.c: mark non-static functions static.
15976         * applet/applet-dbus-vpn.c: (ditto)
15977         * applet/applet.c: (ditto)
15978         * applet/nm-device.h: (ditto)
15979         * applet/other-network-dialog.c: (ditto)
15980         * applet/passphrase-dialog.c: (ditto)
15981         * NetworkManager.c: (ditto)
15982         * NetworkManagerDbus.c: (ditto)
15983         * NetworkManagerDevice.c: (ditto)
15984         * NetworkManagerPolicy.c: (ditto)
15985         * NetworkManagerUtils.c: (ditto)
15986         * NetworkManagerWireless.c: (ditto)
15987         * NetworkManagerWireless.h: (ditto)
15988         * nm-netlink-monitor.c: (ditto)
15989         * applet/applet-dbus-info.c: (ditto), add FIXME's.
15990         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15991         * autoip.c: include autoip.h.
15992         * autoip.h: new file.  define get_autoip().
15993         * nm-netlink-monitor.h: define nm_netlink_close_connection().
15994         * NetworkManagerDbus.h: remove duplicate definitions.
15995
15996 2005-06-20  Robert Love  <rml@novell.com>
15997
15998         * Makefile.am: Add missing intltool-foo.in generated files to
15999           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16000           with the start of stuff to cleanup on 'distclea'.
16001         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16002           stuff right and 'distcheck' works.
16003         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16004           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16005           Makefile.am for each.  And systray/Makefile needs to be redone.
16006
16007 2005-06-19  Dan Williams <dcbw@redhat.com>
16008
16009         * src/NetworkManagerDevice.c
16010         - (nm_device_wireless_process_scan_results): scan every 20s when
16011           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16012
16013 2005-06-19  Dan Williams <dcbw@redhat.com>
16014
16015         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16016
16017 2005-06-18  Ray Strode <rstrode@redhat.com>
16018
16019         * src/nm-netlink-monitor.c 
16020         (nm_netlink_monitor_event_handler): check for the presence
16021         of either error condition not both. 
16022         
16023         (nm_netlink_monitor_error_handler): emit error signal if
16024         error occurs.
16025
16026         (nm_netlink_monitor_event_handler),
16027         (nm_netlink_monitor_error_handler),
16028         (nm_netlink_monitor_disconnect_handler): if an 
16029         assertion fails disconnect the event handler to prevent 
16030         infinite loops.
16031
16032         * src/nm-netlink-monitor.h: add new error condition
16033         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16034
16035 2005-06-18  Ray Strode <rstrode@redhat.com>
16036
16037         * src/nm-netlink-monitor.c 
16038         (nm_netlink_monitor_event_handler): remove bogus < 0
16039         check on unsigned value and return early if the kernel
16040         didn't send any bytes.
16041
16042 2005-06-17  Robert Love  <rml@novell.com>
16043
16044         * initscript/SUSE/networkmanager: Change the Provides and default
16045         run levels
16046
16047 2005-06-16  Dan Williams <dcbw@redhat.com>
16048
16049         Patch from Robert Love:
16050         * gnome/applet/applet.c
16051                 - Beautify some applet menu item names
16052
16053 2005-06-17  David Zeuthen  <davidz@redhat.com>
16054
16055         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16056         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16057         Also add new methods can_export, import_file and export.
16058
16059         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16060         to the main UI
16061
16062         * gnome/vpn-properties/nm-vpn-properties.c:
16063         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16064         nm-vpn-ui-interface.h.
16065         (update_edit_del_sensitivity): Also update "Export" sensitivity
16066         (add_vpn_connection): Also add new SVC_NAME column
16067         (import_settings): New function
16068         (retrieve_data_from_selected_connection): New function
16069         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16070         this function
16071         (export_cb): New function
16072         (init_app): Also setup the "export" widget
16073         (main): Support the --import-service and --import-file commandline
16074         arguments
16075
16076         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16077         D-BUS 0.34
16078
16079 2005-06-16  Dan Williams <dcbw@redhat.com>
16080
16081         Patch from Robert Love:
16082         * gnome/applet/menu-items.c
16083                 - (network_menu_item_new): pass -1 as wireless network
16084                         menu items height size request rather than ascent / 2
16085
16086 2005-06-16  Dan Williams <dcbw@redhat.com>
16087
16088         * Clean up wording in Wireless Scan Methods menu items and constants
16089
16090 2005-06-16  Robert Love  <rml@novell.com>
16091
16092         * po/POTFILES.in
16093                 - remove gtkcell* files
16094
16095 2005-06-15  Dan Williams <dcbw@redhat.com>
16096
16097         Patch from Robert Love: make the applet stetic
16098
16099         * gnome/applet/Makefile.am
16100                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16101
16102         * gnome/applet/gtkcellview.h
16103           gnome/applet/gtkcellview.c
16104           gnome/applet/gtkcellrendererprogress.h
16105           gnome/applet/gtkcellrendererprogress.c
16106                 - Removed
16107
16108         * gnome/applet/menu-items.c
16109                 - Progress bars are 5:1 size ratio
16110                 - Use GTK progress bars rather than internal ones
16111
16112 2005-06-15  Dan Williams <dcbw@redhat.com>
16113
16114         Patch from Robert Love:
16115         * initscript/SUSE/networkmanager
16116                 - Fix typo
16117
16118 2005-06-15  Dan Williams <dcbw@redhat.com>
16119
16120         * src/backends/NetworkManagerSuSE.c
16121           src/backends/NetworkManagerRedHat.c
16122           src/backends/NetworkManagerDebian.c
16123                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16124
16125 2005-06-15  Dan Williams <dcbw@redhat.com>
16126
16127         * src/backends/NetworkManagerDebian.c
16128                 - Add nm_system_device_get_use_dhcp() to debian backend
16129
16130         Patch from Kay Sievers:
16131         * src/backends/NetworkManagerSuSE.c
16132                 - Update debian backend for static IP nameservers
16133
16134         * src/NetworkManagerDevice.c
16135                 - Actually set the device to use static IP or DHCP rather
16136                         than always DHCP
16137
16138 2005-06-15  Dan Williams <dcbw@redhat.com>
16139
16140         Patch from Thom May:
16141         * src/backends/NetworkManagerDebian.c
16142                 - Update debian backend for static IP nameservers
16143
16144 2005-06-15  Dan Williams <dcbw@redhat.com>
16145
16146         Patches from Robert Love:
16147         * gnome/applet/wireless-applet.glade
16148                 - Tighten up wording
16149
16150         * src/NetworkManagerDevice.c
16151                 - Remove misplaced ';'
16152
16153         * configure.in
16154           initscript/Makefile.am
16155           initscript/SUSE/Makefile.am
16156           initscript/SUSE/networkmanager
16157                 - Add SUSE initscript
16158
16159 2005-06-12  David Zeuthen  <davidz@redhat.com>
16160
16161         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16162
16163         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16164
16165         * gnome/vpn-properties/nm-vpn-properties.c: New file
16166
16167         * gnome/vpn-properties/Makefile.am: New file
16168
16169         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16170         array of passwords
16171
16172         * src/vpn-manager/nm-vpn-manager.c
16173         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16174         instead of just a single one
16175
16176         * src/vpn-manager/nm-dbus-vpn.c:
16177         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16178         here
16179         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16180
16181         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16182         Change the interface here to give a list of passwords. Also, don't
16183         require username, but do require service
16184
16185         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16186         the binary for the auth-dialog and use that instead of putting up a
16187         dialog asking for a single password
16188
16189         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16190         however do remember the service
16191
16192         * gnome/applet/main.c (main): Setup i18n
16193
16194         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16195         connection to '%s'" to the tooltip if we are connected using VPN
16196         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16197         key to determine whether we the auth-dialog needs to
16198         reprompt. Also cope with the fact that the auth-dialog now returns
16199         an array of passwords.
16200         (nmwa_menu_configure_vpn_item_activate): New handler for
16201         "Configure VPN..." menu item
16202         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16203         (is_vpn_available): New function to determine if we got any
16204         NM-compatible VPN software installed
16205         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16206         items only if we have NM-compatible VPN software installed
16207         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16208         logic for detecting when VPN connections are removed
16209
16210         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16211         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16212         since these are defined elsewhere
16213
16214         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16215         function used to keep track of whether the last attempt succeded
16216         (nmwa_dbus_filter): Update last_attempt according to whether the
16217         VPN connection could be established or not
16218
16219         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16220         Change prototype to take an array of passwords, not just a single
16221         password
16222
16223         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16224         update service, not user
16225         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16226         dbus_active_vpn_name is not NULL before using it
16227         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16228         string array instead of assuming a single password
16229
16230         * gnome/applet/applet-dbus-info.c:
16231         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16232         user name; don't read from gconf
16233
16234         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16235         VPN_NAME_FILES_DIR
16236
16237         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16238
16239         * configure.in: Add checks for gmodule-2.0.
16240         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16241         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16242         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16243         for details
16244
16245         * vpn-daemons/Makefile.am: Removed
16246
16247         * vpn-daemons/README: New file to describe extensions points for VPN
16248         software
16249
16250 2005-06-10  Dan Williams <dcbw@redhat.com>
16251
16252         * src/backends/NetworkManagerRedHat.c
16253                 - (get_current_profile_name): new function, grab current network profile name from
16254                         /etc/sysconfig/network
16255                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16256                         update an IP4 Config structure's settings from it
16257                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16258                         get DNS info from current network profile
16259
16260 2005-06-09  Dan Williams <dcbw@redhat.com>
16261
16262         Patch from Robert Love:
16263         * src/NetworkManagerDevice.c
16264           src/NetworkManagerUtils.c
16265                 - 64-bit build fixes
16266
16267 2005-06-09  Dan Williams <dcbw@redhat.com>
16268
16269         Patch from Kay Sievers and Robert Love:
16270         * configure.in
16271           src/backends/Makefile.am
16272           src/backends/NetworkManagerSuSE.c
16273                 - Add SuSE support
16274
16275 2005-06-09  Dan Williams <dcbw@redhat.com>
16276
16277         * NetworkManager.h
16278                 - Add NMWirelessScanMethod enum for scan methods
16279
16280         * gnome/applet/applet-dbus-devices.c
16281                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16282                 - (nmwa_dbus_update_scanning_enabled): remove
16283                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16284                         since it got removed
16285                 - (nmwa_dbus_enable_scanning): remove
16286
16287         * gnome/applet/applet-dbus-info.c
16288                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16289                         update the wireless scanning method from NMI
16290                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16291                         method value to NetworkManager
16292                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16293
16294         * gnome/applet/applet-dbus-info.h
16295                 - Add prototype for nmi_dbus_signal_update_scan_method
16296
16297         * gnome/applet/applet.c
16298                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16299                         Wireless Scanning menu based on current wireless scan method
16300                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16301                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16302                         and update our menu items to make sure the right one is checked
16303                 - (nmwa_set_scanning_enabled_cb): remove
16304                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16305                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16306                         Scanning menu item
16307                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16308                         from GConf
16309                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16310                         so we get notified of preference values too
16311                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16312
16313         * gnome/applet/applet.h
16314                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16315                 - Add wireless scan method member to applet data
16316                 - Remove pause_scanning_item, add Wireless Scanning submenu
16317
16318         * src/NetworkManager.c
16319                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16320                 - (main): grab scanning method from NMI if we can
16321
16322         * src/NetworkManagerDbus.c
16323                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16324                         nm_dbus_update_wireless_scan_method()
16325                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16326                         from NMI
16327                 - (nm_dbus_nmi_is_running): redundant function, removed
16328                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16329                         when NMI comes back
16330
16331         * src/NetworkManagerDevice.c
16332                 - (nm_device_is_activated): return TRUE if the device is activated
16333                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16334                         and we are activated
16335
16336         * src/nm-dbus-nm.c
16337                 - (nm_dbus_nm_set_scanning_enabled): removed
16338                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16339                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16340
16341 2005-06-09  Dan Williams <dcbw@redhat.com>
16342
16343         * NetworkManager.h
16344           src/vpn-manager/nm-vpn-service.c
16345                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16346
16347 2005-05-27  Dan Williams <dcbw@redhat.com>
16348
16349         * vpn-daemons/vpnc/nm-vpnc-service.c
16350                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16351                         Should fix the bug where the VPN connection terminates the first time.
16352
16353 2005-05-20  Dan Williams <dcbw@redhat.com>
16354
16355         * NetworkManager.h
16356                 - Differentiate VPN config signals between bad VPN config options
16357                         and bad IP config
16358
16359         * gnome/applet/applet-dbus-info.h
16360                 - Add prototypes for wireless network and vpn connection update functions
16361
16362         * gnome/applet/applet-dbus.c
16363                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16364
16365         * gnome/applet/applet.c
16366                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16367                         error signals
16368                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16369                         propogation to NetworkManager
16370                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16371                         notify propogation to NetworkManager
16372
16373         * src/NetworkManagerDbus.c
16374                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16375                         are updating so a network can be removed from it if necessary
16376
16377         * src/vpn-manager/nm-vpn-manager.c
16378                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16379
16380         * vpn-daemons/vpnc/nm-vpnc-service.c
16381                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16382                 - (nm_vpnc_dbus_signal_launch_failed): remove
16383                 - (nm_vpnc_dbus_signal_connect_failed): remove
16384                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16385                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16386                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16387                         for new generalized error signal function, remove config file stuff
16388                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16389                         we can write configuration options to it
16390                 - (nm_vpnc_config_file_generate): removed
16391                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16392                 - (nm_vpnc_config_options_validate): validate the config options we receive
16393                         from NetworkManager to block potential exploits
16394                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16395                         starting vpnc
16396                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16397                         to NetworkManager
16398
16399 2005-05-16  Dan Williams  <dcbw@redhat.com>
16400
16401         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16402                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16403                         is not "connect"
16404
16405 2005-05-16  Dan Williams  <dcbw@redhat.com>
16406
16407         Patch from Tomislav Vujec <tvujec@redhat.com>
16408         * gnome/applet/applet-dbus-info.c
16409                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16410                         GConf and pass them to NetworkManager.  New key is 'routes' under
16411                         the VPN connection, and should be a string list
16412
16413         * src/NetworkManagerSystem.c
16414                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16415                         set them on the device when we set the rest of the VPN config.  Ensure
16416                         they are in the correct format since they are passed directly to the
16417                         command line.
16418
16419         * src/backends/NetworkManagerRedHat.c
16420           src/backends/NetworkManagerDebian.c
16421                 - (nm_system_device_add_route_via_device_with_iface): new function
16422
16423         * src/vpn-manager/nm-dbus-vpn.c
16424                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16425
16426         * src/vpn-manager/nm-vpn-manager.c
16427                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16428                         them into the IP4 config functions
16429
16430 2005-05-15  Dan Williams  <dcbw@redhat.com>
16431
16432         From Filip Miletic:
16433         * po/sr.po
16434           po/sr@Latn.po
16435           configure.in
16436                 - Serbian translation added
16437
16438 2005-05-15  Dan Williams  <dcbw@redhat.com>
16439
16440         * dispatcher-daemon/NetworkManagerDispatcher.c
16441                 - (main): sync arguments with NetworkManager and the applet, now use
16442                         "--no-daemon" rather than "daemon=no"
16443                 - (nmd_print_usage): Fix script path in usage message
16444
16445 2005-05-15  Dan Williams  <dcbw@redhat.com>
16446
16447         * src/NetworkManagerDevice.[ch]
16448           src/NetworkManagerPolicy.c
16449           src/NetworkManager.c
16450           src/nm-dbus-nm.c
16451                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16452                         longer send the DeviceNoLongerActive signal unconditionally, but only
16453                         when the device is actually active.
16454
16455         * dispatcher-daemon/NetworkManagerDispatcher.c
16456                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16457                         and simplify the logic
16458                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16459                         we free it later on
16460
16461         * initscript/RedHat/Makefile.am
16462           initscript/RedHat/NetworkManagerDispatcher
16463                 - Add initscript for NetworkManagerDispatcher
16464
16465
16466         Patch from Bill Moss:
16467         * dispatcher-daemon/NetworkManagerDispatcher.c
16468                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16469
16470         * src/NetworkManagerDbus.c
16471                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16472                         and DeviceNowActive gets signaled, then the device has a new IP address
16473                         anyway.  There's no need for a separate signal.
16474
16475         * src/NetworkManagerDevice.c
16476                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16477
16478         * src/NetworkManagerPolicy.c
16479                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16480                         activates successfully.  This kind of went missing when I reworked the
16481                         activation code.
16482
16483 2005-05-15  Dan Williams  <dcbw@redhat.com>
16484
16485         * configure.in
16486                 - Check for dhcdbd and error if its not found
16487
16488         * src/dhcp-manager/Makefile.am
16489           src/dhcp-manager/nm-dhcp-manager.c
16490                 - Use path to dhcdbd that configure found
16491
16492 2005-05-14  Dan Williams  <dcbw@redhat.com>
16493
16494         * gnome/applet/nm-device.c
16495                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16496                         sort wireless networks alphabetically
16497
16498         * gnome/applet/applet-dbus-devices.c
16499                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16500                         before copying them over to the GUI
16501
16502 2005-05-14  Dan Williams  <dcbw@redhat.com>
16503
16504         * src/NetworkManager.c
16505                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16506                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16507                         the device list, as does nm_get_active_device() which is called from
16508                         nm_vpn_manager_deactivate_vpn_connection().
16509
16510 2005-05-14  Dan Williams  <dcbw@redhat.com>
16511
16512         * NetworkManager.h
16513                 - Add signals for VPN Launch and Connect failures
16514
16515         * gnome/applet/applet-dbus.c
16516                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16517
16518         * gnome/applet/applet.c
16519                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16520                         function to handle all VPN failure messages
16521                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16522                         function to hanlde all VPN failure  messages
16523                 - (show_warning_dialog): work around focus-stealing prevention
16524
16525         * gnome/applet/other-network-dialog.c
16526           gnome/applet/passphrase-dialog.c
16527                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16528                         problem where it never enabled for ASCII Key and Hex Key types
16529
16530         * gnome/applet/wireless-applet.glade
16531                 - Add window title to Other Wireless Network Dialog
16532
16533         * src/vpn-manager/nm-dbus-vpn.c
16534                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16535                         function to handle all VPN failure messages
16536
16537         * src/vpn-manager/nm-vpn-manager.c
16538                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16539
16540         * vpn-daemons/vpnc/nm-vpnc-service.c
16541                 - (nm_vpnc_dbus_signal_launch_failed): new function
16542                 - (nm_vpnc_dbus_signal_connect_failed): new function
16543                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16544                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16545                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16546                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16547
16548 2005-05-11  Dan Williams  <dcbw@redhat.com>
16549
16550         * vpn-daemons/vpnc/nm-vpnc-service.c
16551                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16552                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16553                         file exists before trying to write it out.
16554
16555 2005-05-10  Dan Williams  <dcbw@redhat.com>
16556
16557     * gnome/applet/applet-dbus-device.c
16558         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16559             prevented just entering ESSID and leaving key and key type up to
16560             NetworkManager (which should have them already cached)
16561
16562 2005-05-08  Dan Williams  <dcbw@redhat.com>
16563
16564         * src/NetworkManagerPolicy.c
16565                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16566                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16567                         fix a situation where NM is told to terminate and the device stops activation,
16568                         but the main thread isn't aware of that because it would never have run
16569                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16570                         had already quit.
16571
16572         * src/NetworkManagerDevice.c
16573                 - (nm_device_probe_wired_link_state): cosmetic fixes
16574                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16575                         we've failed to activate or been canceled.
16576                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16577
16578 2005-05-08  Dan Williams  <dcbw@redhat.com>
16579
16580         * src/NetworkManagerWireless.c
16581                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16582                         value of WEXT quality structures, and add a debug message when we cannot
16583                         determine any quality % at all
16584
16585 2005-05-08  Dan Williams  <dcbw@redhat.com>
16586
16587         * src/dhcp-manager/nm-dhcp-manager.c
16588                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16589                         it goes down.
16590
16591 2005-05-06  Dan Williams  <dcbw@redhat.com>
16592
16593         * gnome/applet/applet-dbus-device.c
16594           gnome/applet/applet-dbus-info.c
16595           gnome/applet/applet-dbus.c
16596           gnome/applet/applet.c
16597           gnome/applet/applet.h
16598                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16599
16600         * gnome/applet/applet-dbus.c
16601                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16602                         so we notice when wired device's carriers come back on.  Should
16603                         fix issue with wired devices being grayed out even if the cable
16604                         is in, for devices that support carrier detection.
16605
16606         * gnome/applet/applet.c
16607                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16608                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16609                         tooltip message
16610                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16611                         Fix situation where applet wouldn't respond to menu selections
16612
16613         * src/NetworkManager.c
16614           src/NetworkManagerDevice.c
16615           src/NetworkManagerDbus.c
16616           src/NetworkManagerDbus.h
16617                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16618
16619         * src/NetworkManagerDbus.c
16620                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16621                         Remove, no longer used or relevant
16622                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16623                 - (nm_dbus_schedule_device_status_change_signal): add
16624
16625         * src/NetworkManagerDevice.c
16626                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16627                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16628                         ie don't deactivate them unless explicitly told to by the user.  Also send
16629                         CARRIER_OFF / CARRIER_ON signals when link changes
16630                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16631                         Don't print error message when device is no longer around
16632                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16633                         not just during activation
16634
16635         * src/NetworkManagerPolicy.c
16636                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16637                         auto-device-selection.
16638                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16639
16640         * src/NetworkManagerSystem.c
16641                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16642                         is no longer present (Bill Moss)
16643
16644         * src/backends/shvar.c
16645                 - (svOpenFile): Open read-only to make SELinux happy
16646
16647         * src/backends/NetworkManagerRedHat.c
16648                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16649                         the path to the ifcfg-* files
16650
16651 2005-05-05  Dan Williams  <dcbw@redhat.com>
16652
16653         * Expose activation stages to NetworkManager clients, like the applet
16654         * Add Diana's progress icons to the applet, cued off NM activation stage
16655         * Use more descriptive tooltips, cued off NM activation stage
16656
16657 2005-05-05  Ray Strode  <rstrode@redhat.com>
16658
16659         * src/nm-netlink-monitor.c:
16660                 - Use clear_event_source instead of g_nullify_pointer() again.
16661
16662 2005-05-05  Dan Williams  <dcbw@redhat.com>
16663
16664         * gnome/applet/main.c
16665                 - Fix session management so the applet is actually managed now
16666
16667         * gnome/applet/passphrase-dialog.c
16668                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16669
16670 2005-05-05  Dan Williams  <dcbw@redhat.com>
16671
16672         Patch from Bill Moss:
16673         * gnome/libnm_glib/libnm_glib.c
16674                 - Fix for dbus-0.33
16675
16676 2005-05-05  Dan Williams  <dcbw@redhat.com>
16677
16678         Suggestion from Bill Moss:
16679         * src/NetworkManagerSystem.c
16680                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16681
16682
16683         * src/NetworkManager.c
16684                 - (nm_data_free): move destruction of the various managers after
16685                         release of device list, because deactivating and freeing a device
16686                         requires at least the named manager
16687                 - (nm_poll_and_update_wireless_link_state):
16688                   (nm_device_link_activated):
16689                   (nm_device_link_deactivated):
16690                         don't grab the device list lock when actually updating device
16691                         link status or strength, since nm_device_set_link_active()
16692                         needs to call nm_get_active_device(), which also locks the device list.
16693
16694         * src/NetworkManagerDevice.c
16695                 - (nm_device_set_link_active): if a device's link switches from off->on,
16696                         and it's wired, and the active device is wireless (or there is no
16697                         active device), activate the new device whose link just came on
16698                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16699                         my only calling the link to the current ap "failed" when more than 2
16700                         consecutive link checks have failed
16701
16702 2005-05-04  Dan Williams  <dcbw@redhat.com>
16703
16704         * src/NetworkManagerDevice.c
16705                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16706                         but let link_to_specific_ap() do the locking where it needs
16707
16708         Patch from Bill Moss:
16709         * src/NetworkManagerSystem.c
16710                 - Set MTU of VPN devices to 1412
16711
16712 2005-05-04  Dan Williams  <dcbw@redhat.com>
16713
16714         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16715
16716         * Fix some holes in device activation and retaining the currently connected
16717                 access point
16718
16719 2005-05-03  Dan Williams  <dcbw@redhat.com>
16720
16721         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16722           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16723           means you need dhcdbd, which you can get here (get the latest one):
16724
16725                 http://people.redhat.com/jvdias/dhcdbd/
16726
16727           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16728           interface as dhcdbd.
16729
16730         * Rewrite device activation to facilitate the new DHCP infrastructure and
16731           future improvements.  Its now "activation request" based, ie there is a single
16732           activation request composed of the device, access point, and other info which
16733           follows the entire activation process.  There are 5 stages of the activation
16734           process which correspond to:
16735
16736                 1) Device preparation
16737                 2) Device configuration (bring it up, set ESSID/Key/etc)
16738                 3) IP Config Start (fire off DHCP if we're using it)
16739                 4) IP Config Get (grab config from DHCP or static config files)
16740                 5) IP Config Commit (set device's IP address, DNS, etc)
16741
16742           Note that there is no longer a "scanning" step, since the access point must
16743           be known _before_ activation starts.  If the access point drops out or does
16744           not exist for some reason, the entire activation process fails and must be
16745           restarted for a different access point or device.
16746
16747         Patch from Bill Moss:
16748         * gnome/applet/applet.c
16749                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16750
16751 2005-04-27  Dan Williams  <dcbw@redhat.com>
16752
16753         * gnome/applet/applet-dbus-vpn.c
16754           gnome/applet/applet.c
16755           gnome/applet/applet.h
16756                 - Fix up active VPN handling so that we reliably know when a VPN
16757                         connection has been deactivated
16758
16759         * src/vpn-manager/nm-vpn-manager.c
16760                 - Remove duplicate VPNConnectionChange signal
16761
16762 2005-04-27  Dan Williams  <dcbw@redhat.com>
16763
16764         Patch from Peter Jones:
16765         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16766
16767         Patch from Bill Moss:
16768         * src/NetworkManagerSystem.c
16769                 - Fix checking of return value from ioctl()
16770
16771 2005-04-27  Dan Williams  <dcbw@redhat.com>
16772
16773         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16774         * Warn and exit if icons cannot be found
16775
16776 2005-04-27  Dan Williams  <dcbw@redhat.com>
16777
16778         Patch from Tom Parker:
16779         * Update debian backend
16780
16781 2005-04-27  Dan Williams  <dcbw@redhat.com>
16782
16783         * Merge the applet and the info-daemon, and move the converged
16784                 applet under gnome/applet
16785         * Move libnm_glib to gnome/libnm_glib
16786         * Convert most dbus calls between the applet, info-daemon, and NM
16787                 into async calls
16788         * Fix a few things valgrind noticed
16789         * Make NM broadcast state more reliably
16790
16791 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16792
16793         * configure.in: Added ne in ALL_LINGUAS
16794
16795 2005-04-15  Dan Williams  <dcbw@redhat.com>
16796
16797         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16798                 code for dbus 0.2x versions
16799
16800 2005-04-15  Dan Williams  <dcbw@redhat.com>
16801
16802         Patches from Tom Parker:
16803         - Fix memleaks
16804         - Join with worker thread rather than polling for its exit
16805
16806         Patch from Bill Moss:
16807         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16808
16809 2005-04-15  Dan Williams  <dcbw@redhat.com>
16810
16811         - Fixes to pass 'make distcheck'
16812
16813 2005-04-15  Dan Williams  <dcbw@redhat.com>
16814
16815         Initial VPN Support
16816                 - supports 'vpnc'
16817                 - reworks device IP configuration, backend files have changed and will need
16818                         to be updated for all distributions.  I will try to do what I can for
16819                         them, but I cannot test them.
16820
16821         - Move named directory to src/named-manager
16822         - Make backends directory self-contained
16823
16824 2005-04-06  Dan Williams  <dcbw@redhat.com>
16825
16826         Add debug code for socket/file descriptor leaks.  We register every socket
16827         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16828         list of sockets that we forgot to close on shutdown.  This also consolidates
16829         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16830
16831 2005-04-06  Dan Williams  <dcbw@redhat.com>
16832
16833         * dhcpcd/dhcpcd.c
16834                 - (dhcp_interface_free): fix a file descriptor leak that may have
16835                         caused network drivers to not unload due to refcounts > 0
16836
16837 2005-04-04  Dan Williams  <dcbw@redhat.com>
16838
16839         * panel-applet/NMWirelessAppletDbus.c
16840                 - (nmwa_dbus_call_nm_method): remove some commented code
16841
16842         * src/NetworkManagerAPList.[ch]
16843                 - (nm_ap_list_remove_ap_by_essid): new function
16844
16845         * src/NetworkManagerDevice.c
16846                 - (nm_device_wireless_force_use): remove access points from the ignore list
16847                         when the user forces them
16848
16849         * src/nm-dbus-device.c
16850                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16851
16852 2005-04-04  Dan Williams  <dcbw@redhat.com>
16853
16854         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16855
16856 2005-04-04  Dan Williams  <dcbw@redhat.com>
16857
16858         * src/NetworkManagerDevice.c:
16859                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16860                         of only erroring after the second consecutive scan times out.  Also
16861                         don't exit when the card requires more time than we can give it, just
16862                         log the event and continue.
16863
16864 2005-04-01  Steve Murphy  <murf@e-tools.com>
16865
16866         * configure.in: Added "rw" to ALL_LINGUAS.
16867
16868 2005-04-01  Dan Williams <dcbw@redhat.com>
16869
16870         Perform scans during device activation, if needed.  Both activation 
16871         and scans run in the same GMainContext.  Therefore, if an access point
16872         is not found by the time the device starts activation, it will not
16873         be available until after activation.  We now try to scan during
16874         activation (in nm_wa_test) every 15s so that all available access
16875         points are more likely to be found and available for the activation
16876         procedure.
16877
16878         Also change nm_wireless_link_state_handle() to only update the "best"
16879         AP if we are not forcing a device and if we are not about to change
16880         state.  This attempts to work around a race when forcing a device,
16881         where the forced AP would get cleared out too soon by the link state
16882         checking timeout in the main thread, and the activation attempt with
16883         that AP would fail.
16884
16885 2005-04-01  Dan Williams <dcbw@redhat.com>
16886
16887         * po/POTFILES.in
16888                 - Update with new translatables
16889
16890 2005-03-31  Dan Williams <dcbw@redhat.com>
16891
16892         * panel-applet/NMWirelessAppletDbus.c
16893                 - Fix device names now that hal has changed device parenting for
16894                         network devices.
16895
16896 2005-03-31  Dan Williams <dcbw@redhat.com>
16897
16898         Tighten up handling of wireless devices that don't support wireless
16899         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16900         hadn't been doing pseudo-scanning for a while either and would just
16901         spin waiting for an access point.  They are now manual devices where
16902         the user must choose the access point from the menu every time.  All
16903         "allowed" access points are listed in the applet's menu regardless
16904         of whether or not they can be seen by the card, since it can't scan
16905         anyway.
16906
16907         * src/NetworkManager.c
16908                 - (nm_wireless_link_state_handle): new function, but only update
16909                         the "best" ap for non-scanning devices when its not activating,
16910                         and when no device is being forced on the card
16911                 - (nm_link_state_monitor): split wireless link state handling out
16912                         into separate function
16913
16914         * src/NetworkManagerDevice.c
16915                 - (nm_device_copy_allowed_to_dev_list): new function
16916                 - (nm_device_new): populate non-scanning cards' AP lists with
16917                         access points from the "allowed" list
16918                 - (nm_device_new): don't start a scanning timeout for devices that
16919                         can't scan
16920                 - (nm_device_activation_schedule_finish): new parameter, should be
16921                         the AP that failed to be connected to, pass it on to the
16922                         activation finish function in NetworkManagerPolicy.c
16923                 - (nm_device_activate_wireless): don't ever try to get a new AP
16924                         for non-scanning devices, just fail.  The user must choose
16925                         a new access point manually.
16926                 - (nm_device_activate): grab the AP that failed connection and
16927                         pass it on
16928                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16929                         a link to it, user must manually choose a new one
16930                 - (nm_device_do_pseudo_scan): remove function
16931                 - (nm_device_wireless_process_scan_results): remove bits for non-
16932                         scanning cards since they never get here
16933                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16934                         and fake the scan list for test devices a bit earlier
16935
16936         * src/NetworkManagerPolicy.c
16937                 - (nm_policy_activation_finish): use the failed_ap that we get
16938                         passed rather than getting the best_ap from the card, which
16939                         may have changed since we were scheduled
16940                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16941                         update their scan list directly from the allowed list when
16942                         we get updates to the allowed list from NetworkManagerInfo
16943
16944         * src/NetworkManagerPolicy.h
16945                 - New member for failed access point in NMActivationResult
16946
16947   -------------------------------------
16948
16949         Driver Notification patch: notifies the user when their driver
16950                 sucks.  Gives them the option to ignore further insertions
16951                 of the card that has the sucky driver.
16952
16953         * NetworkManager.h
16954                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16955                         enum and replace it with NO_CARRIER_DETECT and
16956                         NO_WIRELESS_SCAN
16957
16958         * panel-applet/NMWirelessApplet.[ch]
16959                 - Merge essid.glade -> wireless-applet.glade
16960                 - Implement the "Your driver sucks" notification dialog
16961
16962         * panel-applet/NMWirelessAppletDbus.c
16963                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16964                 - Grab hardware address for each device from NM too
16965                 - Check whether the driver for each device sucks or not whenever
16966                         a new device is noticed
16967
16968         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16969                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16970
16971         * src/NetworkManager.c
16972                 - Fix a double-unref on device removal
16973
16974         * src/NetworkManagerUtils.c
16975                 - Set appropriate driver support level on a device that doesn't
16976                         support scanning or carrier detection
16977
16978         * src/nm-dbus-device.c
16979                 - New "getHWAddress" dbus method on devices
16980                 - getSupportsCarrierDetect -> getDriverSupportLevel
16981
16982 2005-03-31  Dan Williams <dcbw@redhat.com>
16983
16984         * src/NetworkManagerDevice.c
16985                 - (nm_device_wireless_scan): Fix leak of scan results in some
16986                         instances
16987
16988 2005-03-29  Dan Williams <dcbw@redhat.com>
16989
16990         * src/NetworkManager.c
16991                 - (nm_poll_and_update_wireless_link_state): make code less indented
16992
16993         Patch from Bill Moss:
16994         * src/NetworkManager.c
16995                 - (nm_device_update_link_state): Update signal strength on wireless
16996                         devices every time we update link state too.
16997
16998 2005-03-29  Dan Williams <dcbw@redhat.com>
16999
17000         * src/NetworkManagerDevice.c
17001                 - (nm_device_set_essid): Work around Orinoco cards which need
17002                         extra time after setting the ESSID
17003
17004 2005-03-29  Dan Williams <dcbw@redhat.com>
17005
17006         * src/NetworkManagerDevice.c
17007                 - Merge one more bit of Peter Jones' completion patch
17008
17009 2005-03-29  Dan Williams <dcbw@redhat.com>
17010
17011         * src/NetworkManagerDevice.c
17012                 - (nm_device_force_use): Fix possible segfault
17013
17014 2005-03-29  Dan Williams <dcbw@redhat.com>
17015
17016         * src/NetworkManagerDevice.c
17017                 - Use iw_get_ext() where we should rather than iw_set_ext()
17018
17019 2005-03-29  Dan Williams <dcbw@redhat.com>
17020
17021         * src/NetworkManagerDevice.c
17022                 - (nm_device_set_up_down): remove check for unsupported devices
17023                         that caused NM to not bring devices up when they were
17024                         added to the device list.
17025
17026 2005-03-28  Dan Williams <dcbw@redhat.com>
17027
17028         * src/NetworkManagerDevice.c
17029                 - (mdio_read): Fix two bugs that caused all devices to fail
17030                         the MII carrier detection support checks
17031
17032 2005-03-26  Dan Williams <dcbw@redhat.com>
17033
17034         * src/NetworkManagerDevice.c
17035                 - (nm_device_wireless_scan): Remove duplicated scanning code
17036
17037 2005-03-25  Dan Williams <dcbw@redhat.com>
17038
17039         * panel-applet/NMWirelessApplet.c
17040                 - (nmwa_about_cb): Add some more contributors
17041                 - (nmwa_update_state): show the applet when there's no connection
17042                 - Enable the "Stop/Resume all wireless devices" option in the
17043                         context menu
17044                 - New "no connection" icon
17045
17046         * src/NetworkManager.c
17047                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17048                         wireless is disabled or we're asleep
17049
17050         * src/NetworkManagerDHCP.c
17051                 - Remove trailing "\n" on debug messages
17052
17053         * src/NetworkManagerDbus.c
17054                 - (nm_dbus_network_status_from_data): new state "asleep"
17055
17056         * src/NetworkManagerDevice.c
17057                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17058                         latency and wait times for most operations
17059                 - (nm_device_wireless_scan): Don't scan when asleep
17060
17061         * src/NetworkManagerPolicy.c
17062                 - (nm_policy_get_best_device): return no device when asleep
17063                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17064                         for all wireless devices on update, not just active device
17065
17066         * src/NetworkManagerUtils.c
17067                 - Merge Peter Jones' "completion" patch
17068
17069         * src/nm-dbus-nm.c
17070                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17071                         we're told to disable them
17072                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17073
17074         * utils/nm-utils.h
17075                 - New variants of the warn/info/error/debug print functions that can take
17076                         variables rather than static strings
17077
17078 2005-03-24  Dan Williams <dcbw@redhat.com>
17079
17080         * src/NetworkManagerUtils.c
17081                 - (nm_get_device_driver_name): driver names are now on the parents of
17082                         "Network Interface" objects, so look for them there
17083
17084 2005-03-24  Dan Williams <dcbw@redhat.com>
17085
17086         * test/nmtest.c
17087                 - Escape some forgotten object paths before we shove them through dbus
17088
17089 2005-03-24  Dan Williams <dcbw@redhat.com>
17090
17091         * dhcpcd/dhcpcd.[ch]
17092           src/NetworkManagerDHCP.c
17093                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17094                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17095
17096         * src/NetworkManagerDbus.c
17097                 - spacing cleanups
17098
17099         * src/nm-dbus-dhcp.c
17100                 - Make the API suck less.  There is now only 1 type of each function,
17101                         ie only "getInteger" and no longer also "getIntegerv".  All types
17102                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17103                         that will never have more than 1 element.  This should simplify
17104                         things greatly.
17105
17106         * test/nm-dhcp-opt-test.c
17107                 - Make the tool not segfault
17108                 - adapt to new DHCP Options API
17109
17110 2005-03-22  Dan Williams <dcbw@redhat.com>
17111
17112         * src/NetworkManager.c
17113                 - (nm_wired_link_deactivated): actually ignore netlink events from
17114                         wireless devices.
17115
17116 2005-03-22  Dan Williams <dcbw@redhat.com>
17117
17118         * src/NetworkManager.c
17119                 - (nm_wired_link_activated): actually ignore netlink events from
17120                         wireless devices.
17121
17122 2005-03-17  Dan Williams <dcbw@redhat.com>
17123
17124         Patch from Tom Parker:
17125         * src/nm-netlink-monitor.c
17126                 - Include unistd.h
17127         * info-daemon/NetworkManagerInfoDbus.c
17128                 - (nmi_dbus_update_network_auth_method): free GConf values
17129
17130         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17131         * src/NetworkManagerDevice.c
17132                 - (nm_device_set_wireless_config): wait for successful
17133                         association longer for some cards (Atheros a/b/g)
17134
17135 2005-03-15  Ray Strode  <rstrode@redhat.com>
17136
17137         * src/NetworkManager.c:
17138         (sigterm_pipe_handler):
17139         remove bogus FIXME
17140
17141 2005-03-15  Ray Strode  <rstrode@redhat.com>
17142
17143         * src/NetworkManagerDbus.c:
17144         Fix some sign weirdness that gcc4 doesn't like,
17145         and add a header file so PPC can hopefully find
17146         SIGTRAP
17147
17148 2005-03-14  Ray Strode  <rstrode@redhat.com>
17149         
17150         Fourth (probably working) cut at porting to
17151         dbus 0.30 api and new hal. This cut adds
17152         some new logging macros to make debugging
17153         easier.
17154
17155         * dispatcher-daemon/NetworkManagerDispatcher.c:
17156         * info-daemon/NetworkmanagerInfo.c:
17157         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17158         * info-daemon/NetworkManagerInfoVPN.c:
17159         * src/NetworkManager.c:
17160         * src/NetworkManagerAP.c:
17161         * src/NetworkManagerAPList.c:
17162         * src/NetworkManagerDHCP.c:
17163         * src/NetworkManagerDbus.c:
17164         * src/NetworkManagerDevice.c:
17165         * src/NetworkManagerPolicy.c:
17166         * src/NetworkManagerSystem.c:
17167         * src/NetworkManagerUtils.c:
17168         * src/NetworkManagerWireless.c:
17169         * src/autoip.c:
17170         * src/nm-dbus-nm.c:
17171         * src/backends/NetworkManagerDebian.c:
17172         * src/backends/NetworkManagerGentoo.c:
17173         * src/backends/NetworkManagerRedHat.c:
17174         * src/backends/NetworkManagerSlackware.c:
17175         use new logging macros.
17176
17177         * dispatcher-daemon/NetworkManagerDispatcher.c:
17178         (nmd_dbus_filter): s/dbus_free/g_free/
17179
17180         * info-daemon/Makefile.am: link in utils library.
17181         * info-daemon/NetworkmanagerInfo.c: use new logging 
17182         macros.
17183         (nmi_dbus_get_network): don't assume enumerations
17184         are 32-bit.
17185         (nmi_dbus_nmi_message_handler): don't free what 
17186         doesn't belong to us.
17187
17188         * libnm_glib/libnm_glib.c:
17189         (libnm_glib_get_nm_status): 
17190         (libnm_glib_init): don't free what doesn't
17191         belong to us.
17192         (libnm_glib_dbus): strdup result, so it doesn't get
17193         lost when message is unref'd.
17194
17195         * panel-applet/NMWirelessAppletDbus.c:
17196         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17197
17198         * src/NetworkManager.c:
17199         (nm_monitor_wired_link_state): request initial status 
17200         dump of all cards when we start up, instead of relying
17201         on /sys/.../carrier.
17202         (nm_info_handler), (nm_set_up_log_handlers): 
17203         log handlers to specify what syslog priorites 
17204         the logging macros default to.
17205
17206         * src/NetworkManagerAPList.c: 
17207         (nm_ap_list_populate_from_nmi):
17208         s/dbus_free_string_array/g_strfreev/
17209
17210         * src/NetworkManagerDbus.c:
17211         (nm_dbus_get_network_object):
17212         validate d-bus message argument types.
17213         Advance message iterator after reading argument,
17214         prepend instead of append to GSList.
17215
17216         * src/NetworkManagerDevice.c:
17217         (nm_device_probe_wired_link_status):
17218         remove redundant /sys in /sys path. remove wrong
17219         contents == NULL means has carrier assumption.
17220
17221         * src/nm-netlink-monitor.c 
17222         (nm_netlink_monitor_request_status): implement
17223         function to ask kernel to dump interface link
17224         status over netlink socket.
17225
17226         * test/*.c: s/dbus_free/g_free/
17227
17228         * utils/nm-utils.h:
17229         (nm_print_backtrace): new macro to print backtrace.
17230         (nm_get_timestamp): new macro to get sub-second precise
17231         unix timestamp.
17232         (nm_info), (nm_debug), (nm_warning), (nm_error):
17233         new logging functions. nm_info just prints,
17234         nm_debug includes timestamp and function,
17235         nm_warning includes function, nm_error includes
17236         backtrace and sigtrap.
17237
17238 2005-03-11  Ray Strode  <rstrode@redhat.com>
17239
17240         Third (unfinished, partially working) cut at porting to 
17241         dbus 0.30 api and new hal.
17242
17243         * info-daemon/NetworkManagerInfoDbus.c:
17244                 don't free null arrays.
17245
17246         * panel-applet/NMWirelessAppletDbus.c: 
17247         * src/nm-dbus-device.c:
17248         * src/nm-dbus-net.c: 
17249         * src/NetworkManagerDbus.c: more 
17250         STRING -> OBJECT_PATH fun
17251         * src/NetworkManagerDevice.c:
17252         * src/NetworkManagerDevice.h:
17253         (rename nm_device_get_link_active): rename to 
17254         nm_device_has_active_link
17255         (nm_device_wireless_link_active): rename to
17256         nm_device_probe_wireless_link_state
17257         (nm_device_wired_link_active): rename to
17258         nm_device_probe_wired_link_state.  Rewrite to
17259         use carrier file since hal doesn't maintain
17260         link state anymore.
17261         (nm_device_update_link_active): rename to
17262         nm_device_update_link_state
17263         * src/NetworkManagerPolicy.c 
17264           (nm_policy_activation_finish): check for NULL
17265           MAC address.
17266
17267         * src/Makefile.am:
17268         * src/NetworkManagerMain.h: 
17269         * src/NetworkManager.c:
17270         * src/nm-netlink-monitor.c:
17271         * src/nm-netlink-monitor.h: New class to support
17272         monitoring wired ethernet link status, since HAL
17273         doesn't export that information anymore.
17274
17275 2005-03-09  Ray Strode  <rstrode@redhat.com>
17276
17277         Second (unfinished, unworking) cut at porting to 
17278         dbus 0.30 api.
17279
17280         * dispatcher-daemon/NetworkManagerDispatcher.c:
17281         * info-daemon/NetworkManagerInfoDbus.c:
17282         * panel-applet/NMWirelessAppletDbus.c:
17283         * src/NetworkManagerDbusUtils.c:
17284         * src/NetworkManagerDbusUtils.h:
17285         * src/nm-dbus-device.c:
17286         * src/nm-dbus-nm.c:
17287         * test/nmtest.c: support dbus "object path" type
17288
17289         * configure.in: 
17290         * Makefile.am:
17291         * info-daemon/Makefile.am:
17292         * libnm_glib/Makefile.am:
17293         * panel-applet/Makefile.am:
17294         * dispatcher-daemon/Makefile.am
17295         * src/Makefile.am:
17296         * test/Makefile.am:
17297         * utils/Makefile.am: 
17298         * utils/nm-utils.c: 
17299         * utils/nm-utils.h: new utils static lib
17300
17301 2005-03-07  Ray Strode  <rstrode@redhat.com>
17302
17303         * info-daemon/NetworkManagerInfoDbus.c:
17304         * libnm_glib/libnm_glib.c:
17305         * panel-applet/NMWirelessAppletDbus.c:
17306         * src/NetworkManager.c:
17307         * src/NetworkManagerDbus.c:
17308         * src/NetworkManagerDevice.c:
17309         * src/NetworkManagerUtils.c:
17310         * src/nm-dbus-device.c:
17311         * src/nm-dbus-dhcp.c:
17312         * src/nm-dbus-net.c:
17313         * src/nm-dbus-nm.c:
17314         * test/nminfotest.c:
17315         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17316
17317 2005-03-04  Dan Williams  <dcbw@redhat.com>
17318
17319         * configure.in
17320                 - Mark HEAD as 0.4
17321
17322 2005-03-04  Dan Williams  <dcbw@redhat.com>
17323
17324         Patch from Peter Jones:
17325         - Make stuff work with gcc 4.0
17326
17327 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17328
17329         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17330
17331 2005-02-27  Jim Huang  <jserv@kaffe.org>
17332
17333         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17334
17335 2005-02-27  Dan Williams  <dcbw@redhat.com>
17336
17337         Patch from Bill Moss:
17338         * panel-applet/NMWirelessAppletDbus.c
17339                 - Make sure strength for current access point is up-to-date when we
17340                         update the gui data model
17341
17342 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17343
17344         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17345
17346 2005-02-27  Dan Williams  <dcbw@redhat.com>
17347
17348         * src/backends/NetworkManagerRedHat.c
17349                 - (nm_system_init): Kill any dhclient processes lying around as well
17350                         as stopping 'nifd' if its already been started.  NetworkManager
17351                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17352
17353 2005-02-27  Dan Williams  <dcbw@redhat.com>
17354
17355         * panel-applet/NMWirelessApplet.c
17356                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17357                         dbus data model, not the GUI data model twice.
17358
17359 2005-02-27  Dan Williams  <dcbw@redhat.com>
17360
17361         * panel-applet/NMWirelessApplet.[ch]
17362           panel-applet/NMWirelessAppletDbus.[ch]
17363                 - Move to incremental network updates.  Instead of blowing away our list
17364                         of devices every time we get a signal from NetworkManager, we now
17365                         incrementally add/remove networks when NetworkManager notifies us that
17366                         a new network has appeared or disappered.  Strength updates now happen
17367                         on-the-fly for each access point as well.  There are now two copies of
17368                         data from NetworkManager: one for the dbus side, and one for the gui side.
17369                         When the dbus side data is modified, it is copied over to the gui side
17370                         so we don't have to hold the data_mutex for long periods of time (and
17371                         therefore block animation of the applet's icon).
17372                 - Clean up some memleaks too
17373
17374         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17375                 - Minor code beautification
17376
17377         * src/NetworkManagerAPList.c
17378                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17379                         completely new and whether or not an existing one's strength was updated.
17380                         Try to fix multiple access points and signal strength by using the highest
17381                         signal strength in each scan for any given ESSID.
17382
17383         * src/NetworkManagerDbus.[ch]
17384                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17385                         wireless networks; now we have only WirelessNetworkUpdate which includes
17386                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17387                 - Kill usage of DbusMessageIter
17388
17389         * src/NetworkManagerDevice.c
17390                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17391                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17392                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17393                         currently associated with from the network list.
17394                 - Update for new signals during scan, send out Appeared, Disappeared, or
17395                         StrengthChanged when necessary.
17396
17397 2005-02-25  Dan Williams  <dcbw@redhat.com>
17398
17399         * README
17400                 - Line break the README
17401
17402 2005-02-25  Dan Williams  <dcbw@redhat.com>
17403
17404         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17405                 - Remove usage of gtk_window_set_default_size()
17406
17407         * panel-applet/essid.glade
17408                 - Stick default size here
17409                 - Add in random crap that current glade wants to add in now
17410
17411 2005-02-25  Dan Williams  <dcbw@redhat.com>
17412
17413         * src/backends/NetworkManagerRedHat.c
17414                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17415                         and that we actually tell nscd to reload the hosts cache when it changes
17416
17417 2005-02-25  Dan Williams  <dcbw@redhat.com>
17418
17419         * info-daemon/NetworkManagerInfoDbus.c
17420                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17421
17422         * test/nminfotest.c
17423                 - Whack usage of DbusMessageIter
17424                 - Clean up DbusError and DbusMessage handling and freeing
17425                 - Remove unused unregister handler
17426
17427         * test/nmtest.c
17428                 - Whack usage of DbusMessageIter
17429
17430         * test/nmtestdevices.c
17431                 - Whack usage of DbusMessageIter
17432
17433 2005-02-25  Dan Williams  <dcbw@redhat.com>
17434
17435         * NetworkManager.h
17436                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17437                         signal
17438
17439 2005-02-25  Dan Williams  <dcbw@redhat.com>
17440
17441         * named/nm-named-manager.c
17442                 - Ensure that pid and watch variables for child named process get cleared out
17443                         when the child goes away.
17444
17445 2005-02-22  Dan Williams  <dcbw@redhat.com>
17446
17447         * src/NetworkManagerPolicy.c
17448                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17449                         and NULL out data->active_device so that we have to choose another one.
17450                         This may make NetworkManager keep attempting to connect to a wired network
17451                         if it fails, but if it keeps failing the wired network has more problems than
17452                         just NetworkManager.
17453
17454         * src/backends/NetworkManagerRedHat.c
17455                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17456                         is already running
17457
17458         * named/nm-named-manager.c
17459                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17460                         named so that the distro can flush whatever name service caching
17461                         daemon it uses
17462
17463 2005-02-21  Dan Williams  <dcbw@redhat.com>
17464
17465         * src/NetworkManagerDHCP.[ch]
17466                 - (nm_device_dhcp_remove_timeouts): new function
17467
17468         * src/NetworkManagerDevice.c
17469                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17470                         remove the DHCP timeouts.
17471
17472 2005-02-21  Dan Williams  <dcbw@redhat.com>
17473
17474         * panel-applet/NMWirelessApplet.[ch]
17475           panel-applet/menu-info.[ch]
17476                 - Give the panel applet some major love: menu items are no longer
17477                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17478                         This allows the applet to actually reflect theme changes correctly,
17479                         since themeing of subclassed items in GTK _sucks_.
17480
17481 2005-02-18  Dan Williams  <dcbw@redhat.com>
17482
17483         * libnm_glib/libnm_glib.[ch]
17484           test/libnm_glib_test.c
17485                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17486                         and its data, and doesn't have to free the callback data anymore
17487
17488 2005-02-18  Dan Williams  <dcbw@redhat.com>
17489
17490         * panel-applet/NMWirelessApplet.c
17491                 - Revert 2005-02-18 William Jon McCann fix for standard
17492                         copyright string until it passes 'make distcheck'.
17493                         With standard copyright string, xgettext complains
17494                         about "Non-ASCII string at ...".
17495
17496 2005-02-18  Dan Williams  <dcbw@redhat.com>
17497
17498         * panel-applet/essid.glade
17499           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17500                 - Correct spelling of "adaptor"->"adapter"
17501
17502 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17503
17504         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17505         (nmwa_about_cb): Use standard copyright string.  Update comment
17506         text to reflect that it is a notification area applet.  Remove
17507         leading newline in authors list.
17508         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17509         instead of on parent menu item activation.  Fixes #167550.
17510
17511 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17512
17513         * panel-applet/essid.glade: Capitalize items as per HIG.
17514           Fixes #167632
17515
17516 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17517
17518         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17519         files for GTK 2.4 or lower, since now public in GTK 2.6.
17520
17521         * panel-applet/essid.glade: Don't specify window size.
17522         
17523 2005-02-17  Dan Williams  <dcbw@redhat.com>
17524
17525         Caught by Bill Moss:
17526         * dhcpcd/client.c
17527                 - Time remaining for DHCP transaction calculation was incorrectly
17528                         inside a #ifdef DEBUG
17529
17530 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17531
17532         * configure.in: Added fr (French) to ALL_LINGUAS.
17533
17534 2005-02-14  Dan Williams  <dcbw@redhat.com>
17535
17536         * src/NetworkManagerDHCP.c
17537                 - (set_domain_searches): Fix free of invalid pointer
17538
17539 2005-02-14  Dan Williams  <dcbw@redhat.com>
17540
17541         Patch from Peter Jones:
17542         * dhcpcd/client.c
17543                 - Ensure we return RET_DHCP_CEASED everywhere we should
17544         * dhcpcd/udpipgen.c
17545                 - Use faster TOS for IP packets
17546                 - Don't set ip_id since we're UDP
17547
17548         Patch from Tomislav Vujec:
17549         * src/nm-dbus-dhcp.c
17550           test/nm-dhcp-opt-test.c
17551                 - Clean up warnings to enable cvs tree compilation.
17552
17553 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17554
17555         * configure.in
17556           po/hr.po
17557                 - Add the Croatian locale.
17558
17559 2005-02-14  Colin Walters  <walters@verbum.org>
17560
17561         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17562         list of domains to search.
17563         
17564         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17565
17566 2005-02-13  Dan Williams  <dcbw@redhat.com>
17567
17568         * dhcpcd/client.c
17569                 - Debug output cleanups of DHCP option printing and parsing.
17570
17571 2005-02-13  Dan Williams  <dcbw@redhat.com>
17572
17573         Patch from Dan Reed:  DHCP options D-BUS API
17574                 Exposes the DHCP options that a device receives to clients over D-BUS.
17575
17576         * configure.in
17577                 - A few cleanups
17578
17579         * dhcpcd/client.h
17580                 - Correct names, option length, and types for DHCP options
17581
17582         * dhcpcd/dhcpcd.[ch]
17583                 - Clarify function names that access DHCP options & data
17584
17585         * src/NetworkManagerDHCP.c
17586                 - Use new DHCP data access functions
17587
17588         * src/NetworkManagerDbus.c
17589                 - Message handler for DHCP functions
17590
17591         * src/nm-dbus-dhcp.[ch] (new)
17592                 - DHCP dbus methods
17593
17594         * test/nm-dhcp-opt-test.c
17595                 - Test DHCP D-BUS API and return all present DHCP options
17596
17597 2005-02-12  Dan Williams  <dcbw@redhat.com>
17598
17599         * test/Makefile.am
17600           test/nmclienttest.c
17601           test/nmtest.c
17602                 - Move nmclienttest.c -> nmtest.c
17603
17604 2005-02-12  Dan Williams  <dcbw@redhat.com>
17605
17606         * dhcpcd/buildmsg.c
17607                 - Pad DHCP packets until they are at least 300 bytes in size.
17608
17609 2005-02-11  Dan Williams  <dcbw@redhat.com>
17610
17611         * dhcpcd/client.c
17612                 - (dhcp_init): only print out client ID and class ID if they are specified
17613
17614         * src/NetworkManagerDbus.[ch]
17615           src/nm-dbus-nm.[ch]
17616           src/nm-dbus-device.[ch]
17617           src/nm-dbus-net.[ch]
17618                 - Move NM, Device, and Net functions to separate files and use the
17619                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17620                         method dispatching
17621
17622         * src/NetworkManagerDbusUtils.c
17623                 - Add new validate_method called before each dispatch (if present)
17624                         that can validate the method call
17625
17626         * src/NetworkManagerWireless.c
17627                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17628                         levels never to be evaluated
17629
17630         Patch from j@bootlab.org
17631         * src/NetworkManagerDevice.c
17632                 - Add typedef for "u64"
17633
17634         * src/backends/NetworkManagerDebian.c
17635                 - Copy in Dave Woodhouse's fixes for IPv6
17636
17637 2005-02-11  Dan Williams  <dcbw@redhat.com>
17638
17639         Patch from Dave Woodhouse for IPv6:
17640         * src/NetworkManagerUtils.c
17641                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17642                         and multicast addresses
17643
17644         * src/NetworkManagerDevice.c
17645                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17646                         after bringing up a card.
17647
17648 2005-02-10  Dan Williams  <dcbw@redhat.com>
17649
17650         Patch from Dave Woodhouse:
17651         * src/NetworkManagerSystem.h
17652           src/backends/NetworkManagerDebian.c
17653           src/backends/NetworkManagerGentoo.c
17654           src/backends/NetworkManagerSlackware.c
17655                 - New nm_system_device_add_ip6_link_address() function to add link-local
17656                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17657
17658         * src/backends/NetworkManagerRedHat.c
17659                 - (nm_system_device_add_ip6_link_address): implement
17660                 - (nm_system_device_flush_addresses): revert to previous behavior of
17661                         flushing all addresses
17662
17663 2005-02-10  Dan Williams  <dcbw@redhat.com>
17664
17665         Patch from Tom Parker:
17666         * src/NetworkManagerDevice.c
17667                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17668                         mii.h headers are broken, and instead use our own typedefs
17669
17670 2005-02-10  Dan Williams  <dcbw@redhat.com>
17671
17672         * dhcpcd/buildmsg.c
17673                 - (fill_host_and_class_id): only fill in client and class IDs if
17674                         they are set by callers.
17675
17676         * dhcpcd/client.c
17677                 - (class_id_setup): don't autogenerate a class ID, only use one
17678                         we're given, if any.
17679                 - (client_id_setup): don't autogenerate a client ID, only use one
17680                         we're given, if any.
17681
17682         * dhcpcd/dhcpcd.c
17683                 - (dhcp_interface_init): ensure that client options are correctly
17684                         NULL terminated
17685
17686         * src/NetworkManagerDHCP.c
17687                 - (nm_device_dhcp_request): pass hostname to dhcp library
17688
17689 2005-02-10  Dan Williams  <dcbw@redhat.com>
17690
17691         * dhcpcd/client.c
17692                 - #rh147661# Don't send kernel version in DHCP requests
17693
17694         * src/NetworkManagerSystem.h
17695           src/backends/NetworkManagerDebian.c
17696           src/backends/NetworkManagerGentoo.c
17697           src/backends/NetworkManagerRedHat.c
17698           src/backends/NetworkManagerSlackware.c
17699                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17700                         functions, they are no longer used anyway
17701
17702         * src/backends/NetworkManagerRedHat.c
17703                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17704                         addresses in an attempt to keep IPv6 local-scope addresses around
17705
17706 2005-02-10  Dan Williams  <dcbw@redhat.com>
17707
17708         * src/NetworkManager.c
17709                 - (nm_create_device_and_add_to_list): change the add message slightly
17710
17711         * src/NetworkManagerUtils.c
17712                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17713                         Return driver name to calling function
17714                 - (nm_get_driver_support_level): print out the driver a device is using
17715                         during the support check
17716
17717         Patch from Dave Woodhouse:
17718         * dhcpcd/udpipgen.c
17719                 - (in_cksum): copy last byte of odd-sized packets into a
17720                         'u_short' rather than a 'u_char', should fix wrong checksums
17721                         on big-endian platforms
17722
17723 2005-02-09  Dan Williams  <dcbw@redhat.com>
17724
17725         * Clean up usage of GSList objects and looping through their members
17726         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17727                 now.
17728         * Fix problem where even if scanning was turned off, card would still
17729                 cycle through frequencies.
17730
17731 2005-02-08  Dan Williams  <dcbw@redhat.com>
17732
17733         * panel-applet/NMWirelessApplet.c
17734                 - Fix for gtk 2.4
17735
17736 2005-02-08  Dan Williams  <dcbw@redhat.com>
17737
17738         Patch from Bill Moss
17739         * panel-applet/NMWirelessApplet.c
17740                 - Restore correct ESSID in tooltips
17741
17742 2005-02-07  Dan Williams  <dcbw@redhat.com>
17743
17744         * panel-applet/NMWirelessApplet.[ch]
17745                 - Add a context menu that contains:
17746                         Pause/Resume Wireless Scanning
17747                         Stop/Start All Wireless Devices
17748                         About...
17749                 - Grab active device strength off active device,
17750                         not its network
17751
17752         * panel-applet/NMWirelessAppletDbus.[ch]
17753                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17754                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17755                 - Update active device strength every 2 seconds, not every 1 second
17756
17757         * panel-applet/menu-info.c
17758                 - Only disable wired devices in the menu when they support carrier detection,
17759                         and don't currently have a link.  Non-carrier-detect devices will always
17760                         remain choosable
17761
17762         * src/Makefile.am
17763           src/NetworkManagerDbusUtils.[ch]
17764                 - Add new new dbus utils sources
17765
17766         * src/NetworkManager.c
17767                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17768                         with the boolean parameter
17769                 - Set scanning_enabled & wireless_enabled to TRUE
17770
17771         * src/NetworkManagerDbus.c
17772                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17773                 - Implement scanning & wireless enable/disable calls
17774                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17775
17776         * src/NetworkManagerDevice.c
17777                 - New link detection stuff again...
17778                         o  Create device's mainloop earlier (but don't run it earlier)
17779                         o  Hook up new carrier-detect support stuff
17780                         o  Add in the ethtool & mii support detection code
17781                 - Don't scan if scanning is disabled
17782
17783         * src/NetworkManagerPolicy.c
17784                 - Never automatically choose a device that doesn't support carrier detection
17785                 - Don't automatically choose a wireless device if wireless is disabled
17786
17787 2005-02-07  Dan Williams  <dcbw@redhat.com>
17788
17789         * libnm_glib/libnm_glib.c
17790                 - Small cleanup in element list iteration
17791
17792 2005-02-07  Dan Williams  <dcbw@redhat.com>
17793
17794         * src/NetworkManagerWireless.c
17795                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17796                         to be in line with the WEXT quality specification
17797
17798 2005-02-02  Dan Williams  <dcbw@redhat.com>
17799
17800         Patch from Nathan Fredrickson <nathan@silverorange.com>
17801         * Fix up compile for deprecation of libgnomeui
17802                 - Switch to <glib/gi18n.h> from <libintl.h>
17803                 - Remove <libgnomeui/libgnomeui.h> includes
17804                 - Use gtk_window_set_default_icon_from_file() rather than
17805                         gnome_window_set_default_icon_from_file()
17806
17807         * named/nm-named-manager.c
17808                 - (generate_named_conf): Fix return-nothing in non-void
17809                         function
17810
17811 2005-02-02  Dan Williams  <dcbw@redhat.com>
17812
17813         * Clean up unused variables and the like
17814
17815 2005-02-02  Dan Williams  <dcbw@redhat.com>
17816
17817         * src/NetworkManagerAPList.c
17818                 - (nm_ap_list_merge_scanned_ap): merge strength too
17819
17820         * src/NetworkManagerUtils.c
17821                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17822                         of locking issues by printing out prettier information than g_mutex_lock
17823                 - Print out names of mutexes registered with nm_register_mutex_desc()
17824                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17825                         us to seemingly block here for too long
17826
17827         * src/NetworkManager.c
17828           src/NetworkManagerAPList.c
17829           src/NetworkManagerDevice.c
17830                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17831                         so we get better debug information printed
17832
17833         * src/NetworkManagerDbus.c
17834                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17835                         since it sometimes has locking side effects
17836                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17837                         from 10s
17838                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17839                         we don't need a switch.  This gets called often enough that we can't block
17840                         until the scan mutex is acquired, because we'll block on device activation
17841                         and a few other things, which hangs main thread for too long.
17842
17843         * src/NetworkManagerPolicy.c
17844                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17845                         nm_device_need_ap_switch() will be called               
17846
17847 2005-02-02  Dan Williams  <dcbw@redhat.com>
17848
17849         * panel-applet/NMWirelessApplet.c
17850                 - Display name of wireless network we are connecting to or connected to
17851                         in the tooltip of the applet
17852
17853 2005-02-02  Dan Williams  <dcbw@redhat.com>
17854
17855         * src/NetworkManagerDHCP.c
17856                 - Hopefully fix double-default-route problem by cleaning up the default
17857                         route added by DHCP code right before the DHCP transaction begins
17858
17859 2005-02-02  Dan Williams  <dcbw@redhat.com>
17860
17861         * named/nm-named-manager.c
17862                 - Write out valid resolv.conf when we exit
17863
17864 2005-02-01  Dan Williams  <dcbw@redhat.com>
17865
17866         Patch from Colin Walters:
17867         * named/nm-named-manager.c
17868                 - Make multi-domain search options work
17869
17870 2005-01-31  Dan Williams  <dcbw@redhat.com>
17871
17872         * info-daemon/NetworkManagerInfoDbus.c
17873                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17874
17875         * src/NetworkManagerDevice.c
17876                 - (nm_device_new): Don't store the entire range struct, use only what we need
17877                         (which is currently avg_quality, max_quality, and frequencies).  Also
17878                         zero device structure when we've free'd it to maybe expose errors down
17879                         the line.
17880                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17881                         quality data from the card since quality will be useless during a scan.
17882                         Call updated wireless qual-to-percent function with values stored in
17883                         nm_device_new() earlier.
17884                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17885                         nm_device_get_bad_crypt_packets())
17886                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17887                         nm_device_new()
17888                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17889                         list if available.  Problem was this: when the WEP key is wrong, NM will
17890                         try OS then SK modes, and then get stuck in SK mode after that.  This
17891                         should reset it.
17892                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17893                         function
17894
17895         * src/NetworkManagerWireless.c
17896                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17897                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17898                         if that's all present, otherwise fall back to signal-to-noise ratios.
17899
17900 2005-01-29  Dan Williams  <dcbw@redhat.com>
17901
17902         * initscript/RedHat/NetworkManager
17903                 - Don't spit out sysctl stuff to console
17904
17905         * libnm_glib/libnm_glib.c
17906                 - (libnm_glib_init): call dbus_g_thread_init()
17907
17908         * panel-applet/NMWirelessAppletDbus.c
17909                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17910
17911         * src/NetworkManager.c
17912                 - (main): call dbus_g_thread_init()
17913
17914         * src/NetworkManagerAPList.c
17915                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17916                         so we can actually see what's there in a normal syslog
17917
17918         * src/NetworkManagerDevice.c
17919                 - (nm_device_activate_wireless): print out the "waiting for access point"
17920                         message only once, then say what access point we actually got after
17921                         the wait.
17922                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17923                         function, wait until the scan is done.  Scans may change the ESSID of
17924                         the card, making this function think we need to switch access points
17925                 - (nm_device_wireless_process_scan_results): for artificial access points
17926                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17927                         prevents collisions with the scanning code, which may change the card's
17928                         ESSID and cause the access point to get dropped from the device's AP
17929                         list.  Also increase the keep-around time to 2m from 60s since the max
17930                         scan interval could be 60s in some cases.
17931
17932         * src/NetworkManagerPolicy.c
17933                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17934                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17935                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17936                         between NM and NMI.
17937
17938 2005-01-27  Dan Williams  <dcbw@redhat.com>
17939
17940         * info-daemon/NetworkManagerInfoDbus.c
17941                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17942                         GConf, make a minimal entry for it (essid & timestamp)
17943
17944         * src/NetworkManagerAPList.c
17945                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17946                         NetworkManagerInfo isn't running
17947
17948         * src/NetworkManagerDbus.[ch]
17949                 - (nm_dbus_nmi_is_running): new function
17950
17951         * src/NetworkManagerDevice.c
17952                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17953                         address to garbage.
17954
17955         * src/NetworkManagerPolicy.c
17956                 - (nm_policy_activation_finish): On successful activation, make sure
17957                         the "best" AP has a MAC address, and don't tell NMI to add the
17958                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17959                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17960                         access point after refreshing our allowed list if it doesn't already
17961                         have a "best" access point.
17962
17963 2005-01-25  Dan Williams  <dcbw@redhat.com>
17964
17965         * panel-applet/NMWirelessAppletDbus.c
17966                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17967                         so we check for NM_DBUS_SERVICE rather than not for it
17968
17969         * libnm_glib/libnm_glib.c
17970                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17971                         ServiceOwnerChanged signal
17972
17973 2005-01-25  Dan Williams  <dcbw@redhat.com>
17974
17975         * configure.in
17976                 - Check DBUS version in configure, and set the C macros
17977                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
17978
17979         * info-daemon/NetworkManagerInfoDbus.c
17980                 - Remove #if 0-d section of code that quit NMI if NM went away.
17981
17982         * panel-applet/NMWirelessAppletDbus.c
17983                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17984
17985         * src/NetworkManager.c
17986           src/NetworkManagerMain.h
17987           src/NetworkManagerDbus.c
17988                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17989                 - Make updating of our Allowed Wireless Network lists from NMI
17990                         an idle function in the main thread now, with a high priority.
17991
17992 2005-01-24  Dan Williams  <dcbw@redhat.com>
17993
17994         * panel-applet/gtkcellview.[ch]
17995           panel-applet/menu-info.c
17996                 - Fix GTK version checks to be <= rather than <
17997
17998         * test/Makefile.am
17999                 - Include the libtool archive of libnm_glib rather than
18000                         trying to pull in the .so
18001
18002 2005-01-24  Dan Williams  <dcbw@redhat.com>
18003
18004         * src/NetworkManagerDevice.c
18005           src/NetworkManagerDevicePrivate.h
18006                 - Block nm_device_new() until our device's worker thread has had a
18007                         chance to start up.  Fixes a race between main thread and worker
18008                         thread starting that caused activation requests to get lost.
18009
18010 2005-01-24  Dan Williams  <dcbw@redhat.com>
18011
18012         * initscript/RedHat/NetworkManager
18013                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18014                         to add the NM startup script at priority 50, which was
18015                         way too early
18016
18017 2005-01-24  Colin Walters  <walters@redhat.com>
18018
18019         * named/named.conf: Use any port for query source instead of
18020         restricting to port 53.
18021
18022 2005-01-24  Dan Williams  <dcbw@redhat.com>
18023
18024         * initscript/RedHat/NetworkManager
18025                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18026                         to add the NM startup script at priority 50, which was
18027                         way too early
18028
18029 2005-01-24  Dan Williams  <dcbw@redhat.com>
18030
18031         Patch from Tom Parker <palfrey@tevp.net>
18032         * Fix up compile warnings & errors in the wireless applet
18033
18034 2005-01-24  Dan Williams  <dcbw@redhat.com>
18035
18036         * panel-applet/NMWirelessApplet.c
18037                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18038
18039 2005-01-24  Dan Williams  <dcbw@redhat.com>
18040
18041         * panel-applet/gtkcellview.[ch]
18042                 - Only compile these files for GTK 2.4 or lower, since 
18043                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18044                         when choosing "Other Wireless Networks" from the panel
18045                         applet menu
18046
18047 2005-01-21  Dan Williams  <dcbw@redhat.com>
18048
18049         * src/NetworkManager.c
18050                 - Daemonize earlier so that glib doesn't get confused (?)
18051
18052 2005-01-21  Dan Williams  <dcbw@redhat.com>
18053
18054         * panel-applet/NMWirelessApplet.[ch]
18055           panel-applet/NMWirelessAppletDbus.c
18056           panel-applet/menu-info.c
18057           src/NetworkManagerDevice.c
18058                 - Disable wired devices in the menu when they have no link.
18059
18060 2005-01-21  Dan Williams  <dcbw@redhat.com>
18061
18062         * Cache last-known-good wireless authentication method in
18063                 NetworkManagerInfo, and use that method first during
18064                 wireless device activation.  Should speed up devices that
18065                 need Shared Key authentication method since Open System is
18066                 now the default.
18067
18068         * Remove the hack to not do full activation on wired connections
18069                 that are active when we launch, it causes too many problems
18070                 with name resolution and was a hack in the first place.
18071
18072         * Re-work wireless device activation again somewhat to have a
18073                 clearer chain of events and to use last-known-good
18074                 authentication method of the access point.  Also provide
18075                 better status throughout activation to ensure the applet
18076                 can tell the user exactly what's going on.
18077
18078         * Remove the "find wireless network" code and now simply attempt
18079                 to activate with that access point.  This reduces the delay
18080                 between selecting "Other wireless Network" and actually
18081                 connecting to that network.
18082
18083         * Correctly stop the device's worker thread when its removed.
18084
18085 2005-01-21  Dan Williams  <dcbw@redhat.com>
18086
18087         * dhcpcd/client.c
18088                 - Clean up some of the debug messages
18089
18090 2005-01-21  Dan Williams  <dcbw@redhat.com>
18091
18092         * Add new icons, more frames of animation
18093         * Remove some hacks to get the panel applet to display correct
18094                 status, an NM update will soon follow that will fix the
18095                 real issue.
18096
18097 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18098
18099         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18100         the first include for working i18n. Also, don't include it in .h files
18101         * panel-applet/NMWirelessApplet.h: Same
18102         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18103         * panel-applet/menu-info.c: Same
18104
18105 2005-01-18  Dan Williams <dcbw@redhat.com>
18106
18107         * dhcpcd/client.c
18108                 - Remove some debug messages
18109                 - Wrap others in #ifdef DEBUG/#endif
18110
18111         * src/NetworkManager.c
18112                 - Remove some debug messages
18113                 - Clarify some debug messages
18114                 - Remove code related to old single-thread wireless scanning
18115
18116         * src/NetworkManagerAP.[ch]
18117                 - New AP property "last_seen" to track how recently an AP was
18118                         found in a scan
18119                 - Start using 'const' more in function arguments
18120
18121         * src/NetworkManagerAPList.[ch]
18122                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18123                         of an AP found in an AP list from a source AP, or if not found
18124                         in the list add the source AP
18125                 - (nm_ap_list_combine): remove, no longer needed
18126
18127         * src/NetworkManagerDevice.c
18128                 - Each device now has a "worker" thread from start to end of its life.
18129                         Scanning for wireless devices now happens in that thread,
18130                         not in a single "wireless scanning thread" for all devices as
18131                         previously.  Activation consists of adding an idle handler to the
18132                         thread's main loop/context, which gets run at the next available
18133                         opportunity.
18134                 - Wireless scanning is also simplified, there is now only one list of
18135                         access points per wireless device, and APs older than 60s are
18136                         removed from the list.  Previously, we kept results for the last
18137                         3 scans and merged whole lists, which was complicated.
18138                 - Cleaned up activation debug messages.
18139                 - Wireless activation and access-point search routines now use Open System
18140                         authentication before trying Shared Key.
18141                 - Removed some code in nm_device_update_best_ap() that could cause cards
18142                         to loose their link to the access point.
18143                 - Scanning now uses a backoff algorithm, where the inverval becomes
18144                         progressively longer between scans when the list of scanned access
18145                         points doesn't change.  A change will revert to the shortest scan
18146                         interval (20s).
18147
18148         * src/NetworkManagerWireless.[ch]
18149                 - Remove code related to old single-thread wireless scanning
18150
18151 2005-01-18  Colin Walters  <walters@redhat.com>
18152
18153         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18154         of older nameservers.
18155
18156 2005-01-18  Colin Walters  <walters@redhat.com>
18157
18158         * named/nm-named-manager.c (generate_named_conf): Many fixes
18159         to config file generation.
18160         (safer_kill): Remove, was too much trouble for little gain.
18161         (nm_named_manager_start): Run named as NM_NAMED_USER.
18162
18163         * configure.in: Add option --with-named-user.
18164
18165 2005-01-14  Colin Walters  <walters@redhat.com>
18166
18167         Patch from ed@catmur.co.uk (Ed Catmur)
18168
18169         * named/nm-named-manager.c: Add "context" property.
18170         Use it to add child watch source in specific GMainContext.
18171
18172         * src/NetworkManager.c (nm_data_new): Initialize
18173         named with correct main context.  Start named only
18174         after forking.
18175
18176 2005-01-14  Colin Walters  <walters@redhat.com>
18177
18178         * named/nm-named-manager.c (generate_named_conf): Write config
18179         and pid files into NM_NAMED_DATA_DIR; this allows things to
18180         work better with FC3 named SELinux policy.  Also fix up silly
18181         format error.
18182
18183         * configure.in: Add --with-named-dir option.
18184
18185 2005-01-14  Colin Walters  <walters@redhat.com>
18186
18187         * configure.in: Make named support require passing --with-named.
18188
18189         * named/nm-named-manager.c: Support writing resolv.conf directly
18190         without running named.
18191
18192 2005-01-13  Dan Williams <dcbw@redhat.com>
18193
18194         * named/nm-named-manager.c
18195                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18196
18197         * src/NetworkManagerDevice.c
18198                 - Rework wireless link detection code to be more reliable
18199
18200 2005-01-12  Dan Williams <dcbw@redhat.com>
18201
18202         * initscripts/RedHat/NetworkManager
18203                 - Change initial level to "-" rather than "345" so that
18204                         we don't activate ourselves by default on install
18205
18206 2005-01-12  Dan Williams <dcbw@redhat.com>
18207
18208         * libnm_glib/
18209                 - Client library for applications using glib
18210
18211         * configure.in
18212           various Makefiles
18213                 - Split NM_CFLAGS and NM_LIBS into separate variables
18214                         like DBUS_*, HAL_* and GLIB_*
18215
18216         * src/NetworkManager.c
18217           src/NetworkManagerMain.h
18218                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18219                         broadcast a status changed signal over DBUS from the main thread.
18220                         Still unused anywhere for the moment.
18221
18222         Patch from j@bootlab.org
18223         * panel_applet/NMWirelessAppletDbus.c
18224           src/NetworkManagerDbus.c
18225                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18226                         for the "getMode" method call
18227
18228 2005-01-10  Dan Williams <dcbw@redhat.com>
18229
18230         * src/NetworkManagerDevice.c
18231                 - Minor fixups & corrections to "auto" frequency mode, make it
18232                         less chatty with syslog
18233
18234 2005-01-10  Dan Williams <dcbw@redhat.com>
18235
18236         * src/NetworkManagerDevice.c
18237                 - Implement "auto" frequency/channel support, since cards like Atheros
18238                         can't use other frequencies at all when you've told it to use a
18239                         specific one, even for scanning.
18240                 - Grab the scan mutex around places where we can't tolerate wireless
18241                         settings changing underneath us, like nm_device_wireless_network_exists()
18242                         and nm_device_activate_wireless()
18243
18244         * src/NetworkManagerWireless.c
18245                 - Back scan interval off to 20s instead of 14s
18246
18247 2005-01-09  Dan Williams <dcbw@redhat.com>
18248
18249         * src/NetworkManagerDevice.c
18250                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18251                         already set.  Stops some drivers like Atmel from continually
18252                         reloading the firmware, which they do upon every configuration
18253                         change.
18254
18255 2005-01-09  Dan Williams <dcbw@redhat.com>
18256
18257         * dhcpcd/client.c
18258                 - Use correct timeout value
18259
18260         * info-daemon/NetworkManagerInfoDbus.c
18261           src/NetworkManagerDbus.c
18262                 - Consolidate communication between NM and NMI by doing only 1 dbus
18263                         method call to get Wireless Network info from NMI instead of 6
18264
18265         * src/NetworkManager.c
18266                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18267                         when we didn't have an AP to use, we'd wait for one forever without
18268                         quitting
18269
18270         * src/NetworkManagerDevice.c
18271                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18272                         activation, dhcp might not have started yet but we don't quit activation
18273                         before starting it, so the quit signal gets lost
18274
18275 2005-01-07  Dan Williams <dcbw@redhat.com>
18276
18277         * dhcpcd/client.c
18278                 - Rework the DHCP client code to be much less chatty when
18279                         it receives non-DHCP UDP packets during the DHCP run
18280                         (reported by and preliminary patches from Bill Moss)
18281
18282         * Move wireless scanning to a separate thread.  This thread forwards the
18283                 results to the main thread when done where they are integrated into
18284                 the device's access point lists.  This keeps the main thread (which
18285                 does all the DBUS communication) from being blocked for long periods
18286                 of time by wireless scanning.
18287
18288         * Make state modification an idle routine in the main loop, and trigger
18289                 state changes rather than polling for them.
18290
18291         * src/backends/NetworkManagerGentoo.c
18292                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18293
18294         * src/NetworkManagerDevice.c
18295                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18296                         router advertisements, causing problems and infinite loop
18297                         during "best" device determination due to link going up/down
18298                         (reported by Bill Moss)
18299
18300         Apply patch from Peter Jones
18301         * src/NetworkManagerDevice.c
18302                 - Shortcut for link-checking for ipw2x00 cards
18303                 - Split out association check into separate routine
18304
18305 2004-01-05  Colin Walters  <walters@redhat.com>
18306
18307         * named/named.conf: Add PID_FILE.
18308
18309         * named/nm-named-manager.c: Always generate a pid
18310         file, since older BIND versions don't support
18311         "pid-file none".
18312
18313 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18314
18315         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18316
18317 2004-12-22  Dan Williams <dcbw@redhat.com>
18318
18319         * src/NetworkManagerDevice.c
18320                 - Silently fail when setting bitrate doesn't work
18321
18322
18323         Patches from j@bootlab.org:
18324         * src/backends/NetworkManagerDebian
18325                 - Update backend to match functionality in RedHat backend
18326         * src/NetworkManagerDevice.c
18327                 - Take down then bring up wired devices after connection so
18328                 they send out ipv6 router advertisements
18329
18330 2004-12-21  Colin Walters  <walters@verbum.org>
18331
18332         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18333         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18334
18335 2004-12-21  Colin Walters  <walters@redhat.com>
18336
18337         * configure.in: Correct named detection.
18338
18339 2004-12-21  Colin Walters  <walters@redhat.com>
18340
18341         * src/NetworkManager.c (nm_data_new): Initialize named.
18342         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18343         the mainloop when these signals are received.
18344         (nm_data_free): Unref named.
18345         (sigterm_handler, sigterm_pipe_handler): New functions for
18346         exiting mainloop.
18347         
18348         * src/NetworkManagerMain.h (NMData): Add signal handling and
18349         nameserver bits.
18350
18351         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18352         unref.
18353
18354         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18355         set nameservers from DHCP response data.
18356         (set_domain_search): Set domain search from DHCP response.
18357         (nm_device_dhcp_configure): Invoke them.
18358
18359         * src/NetworkManagerSystem.c
18360         (nm_system_device_update_resolv_conf): Delete.  Deleting
18361         code is totally sweet.
18362
18363         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18364
18365         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18366         implements an object which controls a nameserver.  Currently
18367         uses bind 9.
18368
18369         * configure.in: Check for named.
18370
18371         * Makefile.am (SUBDIRS): Add named dir.
18372
18373         * named/named.conf: New template config file.
18374
18375 2004-12-20  Colin Walters  <walters@redhat.com>
18376
18377         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18378         instead of '='.
18379
18380 2004-12-17  Dan Williams  <dcbw@redhat.com>
18381
18382         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18383                 link-local addresses instead of doing DHCP.
18384
18385         * In the panel applet, there's a new "Create new Wireless Network..." item
18386
18387         * The panel applet also sticks around now even if NetworkManager dies, but
18388                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18389                 a bug, I'll fix that later.
18390
18391         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18392                 lookups after a switch rather than actually doing them.
18393
18394         * Clean up some of those warnings in nm_ap_list_* functions
18395
18396         * Delay between scans changed to 15s instead of 10s
18397
18398 2004-12-15  Dan Williams  <dcbw@redhat.com>
18399
18400         Patch from Tom Parker
18401         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18402                 address
18403
18404         * Longer pause after setting ESSID on cards that support a larger number
18405                 of channels to give the card time to find the right channel
18406
18407         * Add system hook to restart mDNSResponder (or whatever the local implementation
18408                 of Multicast DNS is) when we activate interfaces
18409
18410 2004-12-15  Dan Williams  <dcbw@redhat.com>
18411
18412         * Rework the DHCP code again to revert to sending full ethernet frames
18413                 rather then relying on the kernel to do the right thing with our
18414                 packets.
18415
18416 2004-12-06  Dan Williams  <dcbw@redhat.com>
18417
18418         * dhcpcd/client.c
18419                 - Fix some minor errors in dhcp_handle_transaction() that caused
18420                         unexpected early timeouts of DHCP transactions
18421
18422         * dhcpcd/client.h
18423                 - DHCP retransmit time from 4s -> 5s
18424
18425 2004-12-05  Dan Williams  <dcbw@redhat.com>
18426
18427         * Major rework of the DHCP code, taking some cues from pump.  We don't
18428                 write raw Ethernet packets anymore, which simplifies the code quite
18429                 a bit.  The new code should be more robust, not hang in recvfrom()
18430                 as much, and generally work better.  This also means that we need
18431                 to force HAL/dbus to use a created GMainContext rather than the
18432                 default context, since having the DHCP renew/rebind thread using
18433                 its own GMainContext seemed to give dbus a fit.  There is also more
18434                 debugging information printed from the DHCP loop to help with future
18435                 problems.
18436
18437         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18438                 assume that the default gateway should be the DHCP server.
18439
18440         Patch from Matthew Schick <matt oss-institute org>
18441         * src/backends/NetworkManagerGentoo.c
18442                 - Fix compilation error due to missing "ip4_broadcast"
18443
18444 2004-12-03  Dan Williams  <dcbw@redhat.com>
18445
18446         * initscript/Makefile.am
18447         * initscript/Debian/NetworkManager
18448         * initscript/Gentoo/NetworkManager
18449         * initscript/RedHat/NetworkManager
18450         * initscript/NMLaunchHelper.c
18451                 - Remove NMLaunchHelper, if you need to wait until the network
18452                         comes up, use the dead code from CVS.
18453
18454 2004-12-01  Colin Walters  <walters@redhat.com>
18455         
18456         * configure.in: Suck in gcc warnings code from Rhythmbox,
18457         but use fewer default flags, and in particular add -Wno-unused,
18458         since the codebase has a lot of unused variables.
18459
18460         * test/nmtestdevices.c (create_device): 
18461         * test/nminfotest.c (get_network_string_property) 
18462         (get_networks_of_type): 
18463         * test/nmclienttest.c (main): 
18464         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18465         * initscript/NMLaunchHelper.c (get_nm_status): 
18466         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18467         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18468         Fix declarations after statements.
18469
18470 2004-12-01  Colin Walters  <walters@redhat.com>
18471
18472         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18473         (nmi_dbus_get_vpn_userpass): New method.
18474         (nmi_dbus_nmi_message_handler): Invoke it.
18475
18476         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18477
18478         * info-daemon/NetworkManagerInfoVPN.h,
18479         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18480         to requests for VPN passwords.
18481
18482         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18483
18484 2004-12-01  Colin Walters  <walters@redhat.com>
18485
18486         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18487         includes.
18488
18489 2004-12-01  Colin Walters  <walters@redhat.com>
18490
18491         * panel-applet/NMWirelessAppletDbus.c
18492         (nmwa_dbus_update_active_device_strength): Fix missing
18493         return value.
18494
18495 2004-12-01  Colin Walters  <walters@redhat.com>
18496
18497         * panel-applet/NMWirelessApplet.c: Add missing include.
18498
18499 2004-12-01  Colin Walters  <walters@redhat.com>
18500
18501         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18502         Remove useless CLAMP (); the value is unsigned, and the case tests
18503         qual->qual < 100, so the value must always be between 0 and 100.
18504
18505 2004-12-01  Colin Walters  <walters@redhat.com>
18506
18507         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18508
18509 2004-11-22  Colin Walters  <walters@verbum.org>
18510
18511         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18512         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18513         which is essentially a noop since nscd caches hosts on disk too.
18514         
18515 2004-11-22  Colin Walters  <walters@redhat.com>
18516
18517         * src/Makefile.am (NetworkManager_SOURCES): Add
18518         NetworkManagerDevicePrivate.h.
18519
18520 2004-11-22  Dan Williams <dcbw@redhat.com>
18521
18522         * src/NetworkManagerDevicePrivate.h
18523                 - Split out the NMDevice struct to a different file so that stuff like
18524                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18525
18526         * dhcpcd/client.c
18527                 - fprintf->syslog
18528                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18529                         need to cancel the dhcp request during the send and recv
18530
18531         * dhcpcd/client.h
18532                 - Move the DHCP option enum to dhcpcd.h
18533
18534         * src/NetworkManagerDHCP.c
18535                 - Split out the actual IP/netmask/etc setting code
18536                 - New Renew/Rebind functions
18537                 - New timer setup function for renew/rebind operations
18538
18539         * src/NetworkManagerDevice.c
18540                 - For device activation, if we are using DHCP then keep the activation thread
18541                         alive until device deactivation.  We need to renew/rebind the DHCP address
18542                         after the T1 (renew) and T2 (rebind) times have expired.
18543                 - Increase some timeouts after bringing wireless cards up/down
18544
18545 2004-11-17  Dan Williams <dcbw@redhat.com>
18546
18547         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18548                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18549                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18550                 show known access points that don't broadcast their ESSID in the menus without
18551                 any user intervention whatsoever.
18552
18553         * info-daemon/NetworkManagerInfoDbus.c
18554                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18555                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18556
18557         * src/NetworkManagerAP.[ch]
18558                 - Add a "user_addresses" data member to the NMAccessPoint structure
18559                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18560                         the user_addresses data member
18561
18562         * src/NetworkManagerAPList.c
18563                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18564                         the AP's reported address
18565                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18566
18567         * src/NetworkManagerDHCP.c
18568                 - Increase DHCP timeout from 25s -> 30s
18569
18570         * src/NetworkManagerDbus.[ch]
18571                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18572                         user addresses
18573
18574         * src/NetworkManagerDevice.c
18575                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18576                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18577                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18578                         So, we take the card down to clear it out.
18579                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18580                         too, since that's where the user_addresses are
18581
18582         * src/NetworkManagerPolicy.c
18583                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18584                         that wireless networks' user_addresses list upon successful activation
18585
18586 2004-11-16  Dan Williams <dcbw@redhat.com>
18587
18588         * src/NetworkManagerDevice.[ch]
18589                 - (nm_device_clear_activation_fail): new function
18590
18591         * src/NetworkManagerPolicy.c
18592                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18593                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18594
18595 2004-11-16  Dan Williams <dcbw@redhat.com>
18596
18597         * src/NetworkManagerDevice.c
18598                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18599                         leak the structure, better updating of now_scanning status
18600                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18601
18602 2004-11-15  Dan Williams <dcbw@redhat.com>
18603
18604         Major rework of link detection code.  We now use DHCP
18605         as part of the link detection which proves to be much more robust,
18606         and also supports Open System authentication for wireless networks.
18607
18608         We no longer use external DHCP client programs.  Instead, we use 
18609         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18610         which was written by:
18611                 Yoichi Hariguchi <yoichi@fore.com>
18612                 Sergei Viznyuk <sv@phystech.com>
18613                 http://www.phystech.com/download/
18614         It resides in the "dhcpcd" directory and was refactored into a general
18615         purpose DHCP client library by me.
18616
18617         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18618         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18619
18620 2004-11-15  Dan Williams <dcbw@redhat.com>
18621
18622         Patch from Tom Parker <palfrey@tevp.net>:
18623
18624         * src/NetworkManagerDevice.c
18625                 - Less output to console when no access
18626                         points are found during a scan
18627
18628 2004-11-15  Dan Williams <dcbw@redhat.com>
18629
18630         Patch from Tom Parker <palfrey@tevp.net>:
18631
18632         * src/backends/interface_parser.c
18633                 - Use g_strdup ()
18634                 - Check for inp == NULL
18635                 - use syslog ()
18636
18637 2004-11-13  Colin Walters  <walters@redhat.com>
18638
18639         Patch from Tom Parker <palfrey@tevp.net>:
18640
18641         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18642         
18643         * src/backends/NetworkManagerRedHat.c: Switch to
18644         including shvar.h instead of shvar.c.
18645
18646         * src/backends/NetworkManagerDebian.c: Don't include
18647         interface_parser.c in source file.
18648
18649         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18650         and interface_parser.[ch].
18651         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18652         Include shvar.c and shvar.h here.
18653         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18654         interface_parser.c and interface_parser.h here.
18655
18656 2004-11-12  Colin Walters  <walters@redhat.com>
18657
18658         * configure.in: Strip out TARGET_DISTRO and
18659         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18660         conditionals.
18661
18662         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18663         (libnmbackend_la_SOURCES): Use Automake conditionals
18664         to add distro-specific files.
18665
18666         * initscript/Makefile.am (SUBDIRS): Update to
18667         use conditionals.
18668
18669 2004-11-12  Colin Walters  <walters@redhat.com>
18670
18671         Patches from j bootlab org
18672
18673         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18674         Add interface_parser.[ch].
18675
18676         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18677         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18678
18679 2004-11-12  Colin Walters  <walters@redhat.com>
18680
18681         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18682         call to nmi_dbus_is_running too, not necessary anymore.
18683         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18684         pick up exit().
18685
18686 2004-11-11  Colin Walters  <walters@verbum.org>
18687
18688         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18689         Delete.
18690         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18691         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18692         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18693         This avoids a race condition that made it pretty easily
18694         possible to get two NetworkManagerInfo daemons running.
18695
18696 2004-11-11  Colin Walters  <walters@verbum.org>
18697         
18698         * src/NetworkManager.c (main): Use daemon(3).
18699
18700         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18701
18702         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18703
18704 2004-11-10 Dan Williams <dcbw@redhat.com>
18705
18706         Patches from j bootlab org
18707         * src/NetworkManagerDevice.c
18708                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18709                         whether the card has a link or not, some cards are slow
18710                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18711
18712         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18713                 - Disable the "Login" button on the passphrase dialog until the user
18714                         enters a valid passphrase or key
18715
18716         Patches from Tom Parker <palfrey tevp net>
18717         * src/backends/NetworkManagerDebian.c
18718                 - Add static IP support to the debian backend
18719
18720         * src/backends/interface_parser.[ch]
18721                 - Parse debian interface config files
18722
18723 2004-11-08 Dan Williams <dcbw@redhat.com>
18724
18725         * src/NetworkManagerDevice.c
18726                 - Some random fprintf->syslog conversions
18727                 - (nm_device_wireless_network_exists): double-check for network
18728                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18729
18730         * src/NetworkManagerWireless.[ch]
18731                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18732                         so that the binary->ascii conversion works (if unsigned, the bitshift
18733                         will fill with zeros, which is what's required).  Also mask bitshift
18734                         result with 0xF for futher assurance.
18735
18736 2004-11-06 Dan Williams <dcbw@redhat.com>
18737
18738         * src/NetworkManagerUtils.c
18739                 - (nm_get_wireless_driver_support_level): default to
18740                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18741                         flip this when changing from whitelist->blacklist of
18742                         wireless drivers
18743
18744 2004-11-05 Dan Williams <dcbw@redhat.com>
18745
18746         Patch from Robert Paskowitz:
18747         * src/backends/NetworkManagerGentoo.c
18748                 - Update static IP config code
18749
18750 2004-11-05 Dan Williams <dcbw@redhat.com>
18751
18752         * info-daemon/NetworkManagerInfoDbus.c
18753           src/NetworkManagerDbus.[ch]
18754           src/NetworkManagerDevice.c
18755                 - Keep track of the # of attempts to get the WEP key
18756                         from the user and pass that along to the info daemon
18757
18758 2004-11-05 Dan Williams <dcbw@redhat.com>
18759
18760         * src/NetworkManagerUtils.c
18761                 - Blacklist wireless cards rather than whitelisting them.
18762                 - Grab driver name from HAL rather than trying to find it
18763                         ourselves.
18764
18765 2004-11-03 Dan Williams <dcbw@redhat.com>
18766
18767         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18768                 - Disable OK button until valid data is entered
18769                         for encryption stuff too
18770
18771         * panel-applet/NMWirelessApplet.c
18772                 - Report card strength for current AP if the card
18773                         doesn't report strength data for scanned access
18774                         points
18775
18776         * src/NetworkManagerDevice.c
18777                 - Smooth out cards reported quality, Atmel card was
18778                         intermittently reporting no quality data but soon
18779                         recovers
18780
18781         * src/NetworkManagerWireless.c
18782                 - Better quality data percentage calculation.  Atmel
18783                         cards (mine at least) seem to report the quality
18784                         in percentage format already, so honor that
18785
18786         Patch from <j@bootlab.org>
18787         * NetworkManager.h
18788           info-daemon/NetworkManagerInfoPassphraseDialog.c
18789           info-daemon/passphrase.glade
18790           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18791           panel-applet/essid.glade
18792           src/NetworkManagerAP.c
18793           src/NetworkManagerDevice.c
18794           src/NetworkManagerWireless.[ch]
18795                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18796
18797 2004-11-03 Dan Williams <dcbw@redhat.com>
18798
18799         * src/NetworkManagerDevice.[ch]
18800                 - (nm_device_set_enc_key): Add parameter to set Authentication
18801                         Mode (Open System, Shared Key, or None).  We're still using
18802                         Shared Key for now though.
18803
18804 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18805
18806         * panel-applet/menu-info.c: change from bold text to light
18807         colored, may cause problems with some themes, i've tested a lot
18808         and they seem fine. 
18809
18810         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18811
18812 2004-11-01  Colin Walters  <walters@verbum.org>
18813
18814         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18815         (nm_wireless_128bit_key_from_passphrase): Add const.
18816
18817         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18818         (nm_ap_set_enc_key_source): Add const.
18819         
18820 2004-11-01  Colin Walters  <walters@verbum.org>
18821
18822         * .cvsignore: Update.
18823
18824 2004-10-29 Dan Williams <dcbw@redhat.com>
18825
18826         * src/NetworkManagerDevice.c
18827                 - (nm_device_wireless_network_exists): Actually use the encryption
18828                         key we got from the applet when attempting to find a wireless network
18829                 - Don't bring devices down so much since on some cards it triggers
18830                         firmware hotplugs each time
18831
18832         * src/NetworkManagerDbus.c
18833                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18834                         from the caller
18835
18836 2004-10-29 Dan Williams <dcbw@redhat.com>
18837
18838         * src/NetworkManager.c
18839                 - (nm_hal_device_property_modified): unlock a locked active
18840                         wireless device when a wired connection gets a link.
18841                         (Means you'll switch to wired whenever you plug in no
18842                         matter what).
18843
18844 2004-10-29 Dan Williams <dcbw@redhat.com>
18845
18846         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18847                 - New files, implement the "Other wireless network" dialog
18848
18849         * panel-applet/NMWirelessApplet.c
18850                 - Move "other wireless network" dialog to separate file
18851
18852         * panel-applet/NMWirelessAppletDbus.[ch]
18853                 - Take key and key_type paramaters for the set_device function
18854
18855         * panel-applet/essid.glade
18856                 - Add UI bits for encryption settings
18857
18858         * src/NetworkManagerDbus.c
18859                 - Retrieve key and key_type params for "setActiveDevice" method call
18860                         and pass them on
18861                 - unref AP returned from nm_device_get_best_ap() when needed
18862
18863         * src/NetworkManagerDevice.c
18864                 - (nm_device_get_best_ap): ref the ap before returning it
18865                 - unref AP returned from nm_device_get_best_ap() when needed
18866                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18867                         need to call nm_device_get_best_ap() here, it was pretty much
18868                         redundant anyway
18869                 - (AP_NEED_KEY): break second link check condition out into separate
18870                         function, and fix segfault when ap->enc_key_source was NULL
18871                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18872                         pass them along to nm_device_wireless_network_exists().  If the
18873                         network does exist, set the passed-in key+key_type on the AP
18874
18875         * src/NetworkManagerPolicy.c
18876                 - unref AP returned from nm_device_get_best_ap() when needed
18877
18878 2004-10-28 Dan Williams <dcbw@redhat.com>
18879
18880         * src/NetworkManagerUtils.c
18881                 - (nm_spawn_process): Fix a potential dereference of NULL
18882
18883         Patches from Peter Jones:
18884
18885         * src/NetworkManagerDevice.c
18886                 - (nm_device_test_wireless_extensions): Better check for
18887                         wireless devices
18888
18889         * src/NetworkManagerUtils.c
18890                 - (nm_spawn_process): Pass in valid stdout and stderr so
18891                         executed programs don't randomly SIGPIPE and fail
18892                 - (nm_get_wired_driver_support_level): quash hal warning
18893                         when checking for USB ethernet device
18894
18895 2004-10-27 Dan Williams <dcbw@redhat.com>
18896
18897         * info-daemon/NetworkManagerInfo.c
18898           info-daemon/NetworkManagerInfoDbus.c
18899           info-daemon/NetworkManagerInfoPassphraseDialog.c
18900           panel-applet/NMWirelessApplet.c
18901                 - Properly escape gconf keys
18902
18903         * src/NetworkManager.c
18904                 - remove unused variables
18905
18906         * src/NetworkManagerAP.c
18907                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18908                         refcount since it got set in nm_ap_new()
18909
18910         * src/NetworkManagerAPList.c
18911                 - (nm_ap_list_combine): Give up ownership of newly created
18912                         access points to the ap list, fixes memleak
18913
18914         * src/NetworkManagerDevice.c
18915                 - Remove cached_ap_list4 member since its not really needed
18916                 - (nm_device_wireless_network_exists): Try to get correct
18917                         encryption status of a found AP if its already in our
18918                         device list
18919                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18920                         memory allocs/deallocs a bit clearer and shorter-lived
18921
18922 2004-10-26 Ray Strode <rstrode@redhat.com>
18923
18924         * panel-applet/NMWirelessApplet.c:
18925           (custom_essid_item_selected):  kill some compiler
18926         warnings 
18927
18928 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18929
18930         * info-daemon/NetworkManagerInfoDbus.c
18931                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18932                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18933
18934 2004-10-23 Dan Williams <dcbw@redhat.com>
18935
18936         * info-daemon/NetworkManagerInfoDbus.c
18937                 - Trap the "DeviceActivationFailed" signal
18938
18939         * docs/NetworkManager DBUS API.txt
18940                 - Add "DeviceActivationFailed" signal
18941
18942         * panel-applet/NMWirelessAppletDbus.c
18943                 - Quash the "NetworkManager service not available" message
18944
18945         * src/NetworkManagerDbus.[ch]
18946                 - Add the "DeviceActivationFailed" signal
18947
18948         * src/NetworkManagerDevice.c
18949                 - Add support for activation_failed flag
18950                 - Fix deadlock where activation thread didn't clean itself up, making
18951                         main thread still believe it was alive forever (didn't reset activation
18952                         flags like activating, just_activated, etc when IP configuration
18953                         failed)
18954
18955         * src/NetworkManagerPolicy.c
18956                 - Implement logic for DeviceActivationFailed signal, and when activation fails
18957                         for wireless networks, try to fall back to some other access point
18958
18959 2004-10-23 Dan Williams <dcbw@redhat.com>
18960
18961         * panel-applet/NMWirelessApplet.[ch]
18962                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18963                         to the applet object, so we can get tooltips
18964                 - Add tooltips (RH #136866)
18965
18966         * src/NetworkManagerDevice.c
18967                 - When trying to find a wireless network, try to connect with encryption
18968                         turned on first, so that we can more accurately detect whether or not
18969                         we need to use encryption for the actual association later on
18970
18971 2004-10-21 Dan Williams <dcbw@redhat.com>
18972
18973         * Add some support for telling NetworkManagerInfo to tell the user
18974                 that they are using a device that's not fully supported
18975
18976         * Fix some assertions in debug messages due to null access point args
18977
18978 2004-10-21 Dan Williams <dcbw@redhat.com>
18979
18980         * src/NetworkManagerDevice.c
18981                 - Don't try to activate/bring up/down unsupported
18982                         devices
18983
18984         * src/NetworkManagerUtils.c
18985                 - Fix case of PCI ID checks for driver support levels
18986
18987 2004-10-21 Dan Williams <dcbw@redhat.com>
18988
18989         * NetworkManager.h
18990                 - New file, now contains commonly used structures and bits
18991                         for the dbus API of NetworkManager
18992
18993         * Makefile.am
18994                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18995
18996         * src/NetworkManager.h
18997                 - Rename -> src/NetworkManagerMain.c
18998
18999         * Various fixups all around to use NetworkManager.h and new
19000                 src/NetworkManagerMain.h, remove redundant bits that got
19001                 moved into NetworkManager.h
19002
19003         * src/NetworkManagerDevice.[ch]
19004           src/NetworkManagerUtils.[ch]
19005           src/NetworkManagerPolicy.c
19006           src/NetworkManagerDbus.c
19007                 - Whitelist wireless drivers, and blacklist some wired
19008                         drivers.  Also blacklist cipsec and ethernet-over-usb
19009                         devices at this time (RH #135722, RH #135648)
19010                 - Don't leak unsupported devices out over dbus, or allow
19011                         them to be set as the active device.  Skip over them
19012                         during automatic device picking
19013
19014         * test/nmclienttest.c
19015                 - Clean up the dbus code a lot
19016
19017 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19018
19019         * configure.in: post release bump.
19020
19021 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19022
19023         * configure.in:
19024         * NEWS: Released NetworkManager-0.3.1
19025
19026 2004-10-18 Dan Williams <dcbw@redhat.com>
19027
19028         Patches from Thom May:
19029         * test/nmtestdevices.c
19030                 - Include <string.h>
19031         * src/backends/NetworkManagerDebian.c:
19032                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19033                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19034                         Move to using g_strdup_printf rather than arbitrary buffers
19035                 - (nm_system_device_setup_static_ip4_config) Implement function.
19036                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19037
19038 2004-10-17 Dan Williams <dcbw@redhat.com>
19039
19040         * info-daemon/NetworkManagerInfoDbus.c
19041                 - Display name of network in the "network not found" dialog
19042
19043         * panel-applet/NMWirelessAppletDbus.c
19044                 - (nmwa_dbus_call_nm_method): new function replaces all other
19045                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19046                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19047                         consolidated into nmwa_dbus_get_object_name()
19048
19049 2004-10-15 Dan Williams <dcbw@redhat.com>
19050
19051         * src/NetworkManagerDbus.c
19052           info-daemon/NetworkManagerInfoDbus.c
19053                 - Display an error dialog when the user tries to use an
19054                         "Other wireless network" that's not found.
19055
19056 2004-10-15 Dan Williams <dcbw@redhat.com>
19057
19058         * panel-applet/NMWirelessApplet.[ch]
19059                 - Fix up corner cases in applet state, making it
19060                         look more responsive.  Change state to "connecting" when
19061                         the user is forcing a device too.
19062
19063 2004-10-15 Dan Williams <dcbw@redhat.com>
19064
19065         * src/NetworkManagerAPList.c
19066                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19067
19068         * src/NetworkManagerDbus.c
19069                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19070
19071         * src/NetworkManagerDevice.c
19072                 - Disown APs after the device's AP list takes ownership
19073
19074 2004-10-15 Dan Williams <dcbw@redhat.com>
19075
19076         * panel-applet/NMWirelessApplet.c
19077                 - Update our applet state from the GUI thread
19078
19079         * panel-applet/NMWirelessAppletDbus.c
19080                 - Greatly simplify the locking to make the GUI thread
19081                         smoother.  Update a private copy of the device list
19082                         and active device and only when done talking to
19083                         NetworkManager turn it over to the GUI thread.
19084
19085 2004-10-15 Dan Williams <dcbw@redhat.com>
19086
19087         * src/NetworkManagerAP.[ch]
19088                 - Add "artificial" get/set functions, set for APs that
19089                         aren't discovered as part of a scan but instead
19090                         discovered by force-setting the ESSID
19091
19092         * src/NetworkManagerDevice.[ch]
19093                 - (nm_device_wireless_network_exists): pass back whether
19094                         or not the discovered AP was encrypted.  Also, try
19095                         falling back to encrypted mode on the card if unencrypted
19096                         association doesn't work
19097                 - (nm_device_find_and_use_essid): If the network requested
19098                         did in fact exists, but it wasn't in our scan list, add
19099                         an "artificial" entry for it.  Some Cisco cards don't
19100                         see non-ESSID-broadcasting APs in their scan but can still
19101                         associate with them if you know the ESSID, this works around
19102                         that behavior
19103                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19104                         to scan if the card is currently associated with that AP
19105
19106 2004-10-15 Dan Williams <dcbw@redhat.com>
19107
19108         ---- We have a website ----
19109         http://people.redhat.com/dcbw/NetworkManager
19110
19111         Patch from Robert Paskowitz:
19112         * src/NetworkManager.c
19113                 - (main): Make sure we are run as root
19114         * src/NetworkManagerDevice.c
19115                 - Fix type in ad-hoc setting function
19116
19117         Patch from Thom May:
19118         * src/backends/NetworkManagerDebian.c
19119                 - Make Debian backend compile again
19120
19121 2004-10-14 Dan Williams <dcbw@redhat.com>
19122
19123         * Tagged NetworkManager-0_3
19124
19125 2004-10-14 Dan Williams <dcbw@redhat.com>
19126
19127         Patch from Robert Paskowitz:
19128         * NEWS
19129           src/NetworkManagerDevice.[ch]
19130           src/backends/NetworkManagerDebian.c
19131           src/backends/NetworkManagerGentoo.c
19132           src/backends/NetworkManagerRedHat.c
19133           src/backends/NetworkManagerSlackware.c
19134                 - Add support for grabbing and using a broadcast address
19135                         from system config files
19136                 - Some Gentoo backend fixes for grabbing network config
19137                 - Fix LOG_WARN->LOG_WARNING
19138
19139 2004-10-14 Dan Williams <dcbw@redhat.com>
19140
19141         * NEWS: a few small fixes in the credits
19142
19143 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19144
19145         * NEWS: prep for release.
19146
19147 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19148
19149         * panel-applet/NMWirelessAppletDbus.c
19150         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19151
19152 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19153
19154         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19155         applet->state == APPLET_STATE_NO_NM animation.
19156
19157         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19158         set the text correctly.
19159
19160 2004-10-14 Dan Williams <dcbw@redhat.com>
19161
19162         * src/NetworkManager.c
19163                 - Only accept and manager 802.3 and 802.11 devices
19164
19165         * src/NetworkManagerDbus.[ch]
19166                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19167                         logic into NetworkManagerDevice.c
19168                 - (nm_dbus_network_status_from_data): new function
19169                 - (nm_dbus_signal_network_status_change): new function, unused for now
19170                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19171
19172         * src/NetworkManagerDevice.[ch]
19173                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19174                         a random ESSID.
19175
19176 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19177
19178         * info-daemon/NetworkManagerInfo.c 
19179                 - (main): Added session management
19180
19181 2004-10-14 Dan Williams <dcbw@redhat.com>
19182
19183         * panel-applet/NMWirelessAppletDbus.[ch]
19184                 - Expose network_device_[un]ref()
19185                 - Expose wireless_network_[un]ref()
19186                 - (wireless_network_new_with_essid): new function, create and return
19187                         a wireless network with a particular essid
19188
19189         * panel-applet/NMWirelessApplet.c
19190                 - Hook up the "other network" dialog to do something
19191
19192 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19193
19194         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19195         doesn't work yet, but it looks okay.
19196
19197         * panel-applet/icons/*png: Resize to 22x22 and install in the
19198         right place.
19199
19200 2004-10-13 Dan Williams <dcbw@redhat.com>
19201
19202         * panel-applet/NMWirelessApplet.c
19203                 - Add function to print out applet_state in a readable
19204                         manner
19205
19206         * src/NetworkManager.c
19207                 - (main): Don't segfault when nm_dbus_init() fails, we had
19208                         a left-over call to hal_shutdown() into which we passed NULL
19209
19210         * src/NetworkManagerAP.c
19211                 - (nm_ap_set_essid): Allow NULL essids
19212
19213         * src/NetworkManagerAPList.[ch]
19214                 - More use of nm_ap_list_[un]lock ()
19215                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19216                         network/essid, just return nothing.  Also skip over NULL
19217                         essid access points in the list when searching
19218                 - (nm_ap_list_get_ap_by_address): new function
19219                 - (nm_ap_list_update_network): set the access point's key source to
19220                         NULL when the key returned from NetworkManagerInfo is NULL or
19221                         of 0 length
19222                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19223                         copy timestamp over too
19224                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19225                         find the correct ESSID for a blank-essid access point by searching
19226                         through another list and matching access point MAC addresses
19227                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19228
19229         * src/NetworkManagerDbus.c
19230                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19231                         may specify.  This is mainly for access points that don't
19232                         broadcast their essid.  So if the user tells us to associate with
19233                         some random ESSID that's not in our access point list, we find
19234                         out if the access point does in fact exist (by attempting association
19235                         and then matching that access point's MAC address with the essid the
19236                         user gave us) and then we switch to it.
19237                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19238                         to the returned list of networks for the "getNetworks" method
19239
19240         * src/NetworkManagerDevice.[ch]
19241                 - Extra debugging info for link detection
19242                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19243                         based on MAC address
19244                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19245                 - (nm_device_wireless_network_exists): new function, find out whether
19246                         a random ESSID exists by attempting to associate with it
19247                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19248                         device list as long as they have an AP MAC address we can use.
19249                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19250                         devices too.  Lets the applet update more frequently.
19251
19252         * src/backends/NetworkManagerGentoo.c
19253                 - Patch from: Robert Paskowitz
19254                         - Update backend code for Gentoo
19255                         - Implement nm_system_device_update_config_info ()
19256
19257         * test/nmclienttest.c
19258                 - (set_network_device): new function, takes a command-line argument
19259                         and tells NetworkManager to use that wireless network
19260
19261 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19262
19263         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19264         if the notification icon crashes 5 times within 5 seconds of each respawn 
19265
19266 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19267
19268         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19269         g_print.
19270
19271 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19272
19273         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19274
19275         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19276         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19277         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19278         Change the name of the icons.
19279
19280         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19281         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19282         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19283         (nm_menu_wireless_expose_event): Really bad hack to get the style
19284         to draw in the right color.
19285
19286 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19287
19288         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19289         Notification if it crashes
19290
19291 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19292
19293         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19294         (nmwa_dbus_get_string): remove unused functions
19295
19296         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19297         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19298         remove unused functions
19299
19300         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19301
19302 2004-10-12 Dan Williams <dcbw@redhat.com>
19303
19304         * panel-applet/NMWirelessAppletDbus.c
19305                 - New functions:
19306                         wireless_network_new
19307                         wireless_network_copy
19308                         network_device_new
19309                         network_device_copy
19310
19311         * src/NetworkManagerDevice.[ch]
19312                 - New functions:
19313                         nm_device_set_mode_managed
19314                         nm_device_set_mode_adhoc
19315                 - Use these functions where appropriate
19316                 - When creating a new wireless device, force the card
19317                         to managed/Infrastructure mode as soon as possible
19318
19319 2004-10-12 Dan Williams <dcbw@redhat.com>
19320
19321         * src/NetworkManagerDevice.c
19322                 - Force wireless cards into Infrastructure mode before we use them
19323
19324 2004-10-12 Dan Williams <dcbw@redhat.com>
19325
19326         * TODO
19327                 - Remove bit about static IP address support
19328
19329         * src/NetworkManagerUtils.c
19330                 - (nm_spawn_process): Add some error reporting
19331
19332         * src/NetworkManagerDevice.c
19333                 - (nm_device_activation_configure_ip): hook up to the static config
19334                         routines in the backends
19335
19336         * src/backends/NetworkManagerRedHat.c
19337                 - (nm_system_device_update_config_info): use shvar.c routines to
19338                         parse the config file iformation, not our own
19339                 - (nm_system_device_setup_static_ip4_config): new function, based
19340                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19341                         with a static IP address and gateway
19342
19343         * src/backends/shvar.[ch]
19344                 - Parser (filched from initscripts package) for ifcfg-* files
19345
19346         * src/backends/NetworkManagerSystem.h
19347           src/backends/NetworkManagerGentoo.c
19348           src/backends/NetworkManagerDebian.c
19349           src/backends/NetworkManagerSlackware.c
19350                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19351
19352 2004-10-11 Dan Williams <dcbw@redhat.com>
19353
19354         * TODO
19355                 - Remove bit about more robust AP diffing since I just implemented it
19356
19357 2004-10-11 Dan Williams <dcbw@redhat.com>
19358
19359         * src/NetworkManagerAP.c
19360                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19361                         enough RAM to allocate new AP structures, but return NULL instead
19362
19363         * src/NetworkManagerAPList.[ch]
19364                 - (nm_ap_list_is_empty): new function
19365                 - (nm_ap_list_combine): new function, combine two access point lists
19366                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19367                         into another
19368
19369         * src/NetworkManagerDevice.[ch]
19370                 - Rename some functions to be clearer:
19371                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19372                         nm_device_just_activated     -> nm_device_is_just_activated
19373                         nm_device_activating         -> nm_device_is_activating
19374                         nm_device_now_scanning       -> nm_device_is_scanning
19375                 - Cache the last 4 scans so that the access point list is more stable.
19376                         We combine the lastest two scans and use that as the AP list,
19377                         and diff that combined list against the combination of the earliest
19378                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19379
19380 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19381
19382         * info-daemon/NWManagerInfo.h
19383                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19384
19385         * info-daemon/NWManagerInfoDbus.c
19386                 - (shutdown_callback): new function
19387                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19388                         if NetworkManager goes away.  Kill the timeout
19389                         if NetworkManager restarts before the 30 seconds
19390                         are up.
19391                 - (nmi_dbus_service_init): 
19392                         - call gtk_main_quit if NetworkManager is not running
19393                         - add filters to monitor dbus service creations and
19394                                 deletions
19395         
19396 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19397
19398         * panel-applet/NMWirelessApplet.c
19399                 - (nmwa_update_state): Hide notification icon if we are only
19400                         showing one wired card and no wireless interfaces 
19401                         (Red Hat Bug #134895)
19402
19403         * panel-applet/NMWirelessAppletDbus.c
19404                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19405
19406         * info-daemon/NWManagerInfo.c
19407                 - (main): Terminated the notification_icon_cmd array with a NULL
19408
19409 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19410
19411         * configure.in (ALL_LINGUAS): Added de (German).
19412
19413 2004-10-08 Dan Williams <dcbw@redaht.com>
19414
19415         * src/NetworkManagerDevice.c
19416                 - Be a bit more robust about link checking, ie make sure that
19417                         the WEP key we were given actually has some data in it
19418
19419 2004-10-08 Dan Williams <dcbw@redhat.com>
19420
19421         * info-daemon/NetworkManagerInfo.c (main):
19422                 - Initialize GError object to NULL
19423
19424 2004-10-08 Dan Williams <dcbw@redhat.com>
19425
19426         * panel-applet/NMWirelessAppletDbus.c
19427                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19428
19429 2004-10-08 Dan Williams <dcbw@redhat.com>
19430
19431         * info-daemon/NetworkManagerInfo.[ch]
19432           info-dameon/NetworkManagerInfoDbus.[ch]
19433           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19434                 - Preserve original label text in the passphrase dialog so that
19435                         it actually gets updated with the new network name the next
19436                         time around.  Previously, we were overwriting it so you'd get
19437                         the wrong network name to enter a key for
19438                 - Add a "Key Type" combo to the passphrase dialog, user selects
19439                         encryption key type now, type is stored in GConf too
19440                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19441
19442         * src/NetworkManagerAP.[ch]
19443                 - Remove all the encyption method magic.  It's now set by the user
19444                         and NetworkManager retrieves the type of encryption key from
19445                         NetworkManagerInfo
19446
19447         * src/NetworkManagerAPList.[ch]
19448           src/NetworkManagerDbus.[ch]
19449                 - Adjust to new way of setting encryption key and method
19450                 - Pull encryption method down from NMI along with key
19451
19452         * src/NetworkManagerDevice.[ch]
19453                 - Removed encryption method fallback magic as the method is now
19454                         determined by the user.  This greatly simplifies the connection
19455                         logic.
19456                 - More robust connection/link logic.  Besides removing the encryption
19457                         method fallback magic, check whether or not the card is receiving
19458                         invalidly encrypted packets, which usually indicates that we have
19459                         a bad WEP key set.
19460                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19461
19462         * test/nminfotest.c
19463                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19464
19465 2004-10-07 Dan Williams <dcbw@redhat.com>
19466
19467         * info-daemon/NetworkManagerInfo.conf
19468                 - Allow root user to run NMI too
19469
19470 2004-10-06 Dan Williams <dcbw@redhat.com>
19471
19472         * src/NetworkManagerDevice.[ch]
19473           src/NetworkManagerDbus.c
19474           doc/NetworkManager DBUS API.txt
19475                 - Add a new status tag "scanning", which is set when there
19476                         is no active network connection, but NetworkManager is
19477                         looking for an access point to associate with
19478
19479         * panel-applet/main.c
19480                 - Cast the applet appropriately for gtk_widget_show_all ()
19481
19482 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19483
19484         * panel-applet/eggtrayicon.[ch]:
19485         * panel-applet/main.c: Add missing file
19486
19487 2004-10-04 Dan Williams <dcbw@redhat.com>
19488
19489         * src/NetworkManagerDevice.[ch]
19490                 - Add a slightly more robust method of determining if the WEP key
19491                         is correct or not, by checking the WEP-discarded packet count
19492                         on the card
19493
19494         * info-daemon/NetworkManagerInfo.c
19495                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19496                         un-escape values we pull out rather than escaping them
19497
19498 2004-10-03  Marcel Telka  <marcel@telka.sk>
19499
19500         * configure.in (ALL_LINGUAS): Added sk.
19501
19502 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19503
19504         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19505         and feel.  We should be back to working, and have a good, clean
19506         look.
19507
19508 2004-09-30 Dan Williams <dcbw@redhat.com>
19509
19510         * info-daemon/NetworkManagerInfo.c
19511           info-daemon/NetworkManagerInfoDbus.c
19512           test/nminfotest.c
19513                 - Escape ESSIDs in gconf
19514
19515         * src/NetworkManagerDevice.c
19516                 - Fix pseudo-scanning to use netowrk list from info daemon
19517
19518 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19519
19520         * configure.in: Add a temporary --enable-notification-icon.  This
19521         will prolly go away.
19522
19523         * info-daemon/Makefile.am:
19524         * info-daemon/NetworkManagerInfo.c:
19525         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19526
19527         * panel-applet/Makefile.am:
19528         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19529         * panel-applet/NMWirelessApplet.h:
19530
19531 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19532
19533         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19534         before 'select custom ESSID'.
19535
19536         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19537         fully complete, but syncing in prep for merge.
19538
19539         * panel-applet/icons/*png: New images
19540
19541 2004-09-28 Dan Williams <dcbw@redhat.com>
19542
19543         * src/NetworkManager.c
19544           src/NetworkManagerDevice.c
19545           src/NetworkManagerPolicy.c
19546                 - Don't blow away an active wired connection on startup
19547
19548 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19549
19550         Changes from J5
19551         
19552         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19553
19554         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19555         syslog output
19556
19557 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19558
19559         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19560         have a wireless card.
19561
19562 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19563
19564         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19565         Also, get the right device strings.
19566
19567 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19568
19569         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19570         the logic to make this right.
19571
19572         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19573         devices so that wired networks are always first.
19574
19575 2004-09-22    <clarkbw@cvs.gnome.org>
19576
19577         * initscript/Debian/.cvsignore:
19578         * initscript/Slackware/.cvsignore:
19579         Added new cvsignores for Makefile, Makefile.in
19580         
19581         * test/.cvsignore:
19582         Added nmtestdevices
19583         
19584         * src/NetworkManagerDevice.c: 
19585         * src/NetworkManager.c: 
19586         Updated the wireless/wired HAL device strings from net.ethernet to
19587         net.80203 or net.80211 depending on wired or wireless respectively
19588         
19589         * examples/python/NetworkManager.py: 
19590         s/Quality/Strength/
19591
19592         * examples/python/systray/network_tray.py:
19593         Lots of little changes and fixes.  been rotting for a while so I
19594         figured I'd finally sync them all with CVS
19595
19596 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19597
19598         * configure.in: Add graphics
19599
19600         * panel-applet/Makefile.am: Add graphics
19601
19602         * panel-applet/icons/*: Add graphics
19603
19604         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19605         the icons fully lined up.
19606
19607         * panel-applet/menu-info.c: 
19608         * panel-applet/menu-info.h: Add another menu type.
19609
19610 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19611
19612         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19613
19614         * panel-applet/menu-item.[ch]: Wireless menu item.
19615
19616 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19617
19618         * info-daemon/NetworkManagerInfo.conf
19619                 - Created a more robust security policy for the DBus service
19620                         - everything is denied by default
19621                         - root can own and send to the service
19622                         - users logged in at the console can send to the service
19623
19624 2004-09-13  Dan Williams <dcbw@redhat.com>
19625
19626         * src/NetworkManagerDevice.c
19627                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19628                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19629                         the latter
19630
19631 2004-09-13  Dan Williams <dcbw@redhat.com>
19632
19633         * TODO: fix typo
19634
19635         * docs/NetworkManager DBUS API.txt
19636                 - Update for new signal strength changes
19637
19638         * panel-applet/NMWirelessApplet.c
19639                 - Make panel icon show strength of the current connection
19640                 - Cleanups and memleak fixes
19641
19642         * panel-applet/NMWirelessApplet.h
19643                 - Add data members for signal strength on devices and networks
19644
19645         * panel-applet/NMWirelessAppletDbus.c
19646                 - Free more DBusErrors
19647                 - Update for new signal strength changes
19648                 - Make devices and networks more like real objects, use ref/unref methods
19649                 - Actually unlock the mutex when updating the active device
19650
19651         * src/NetworkManagerAP.c
19652                 - Change AP functions and data members from "quality"->"strength"
19653
19654         * src/NetworkManagerDbus.c
19655                 - Kill "getMaxQuality" and "getQuality" methods
19656                 - Add "getStrength" methods for Networks and Devices
19657
19658         * src/NetworkManagerDevice.[ch]
19659                 - Add accessors for device strength
19660                 - Add functions to update strength for a device.  Note that not all drivers
19661                         actually support signal strength for scanned access points (Atmel drivers
19662                         being one)
19663                 - Calculate signal strength for each AP during scan
19664
19665         * src/NetworkManagerWireless.[ch]
19666                 - Add function to return signal strength % from a device and a raw quality struct
19667
19668         * test/nmclienttest.c
19669                 - Update for new signal strength changes
19670
19671 2004-09-11  Dan Williams <dcbw@redhat.com>
19672
19673         * src/NetworkManager.c
19674                 - Fix race condition between initscripts and NM on card insertion
19675                         which could cause a card to keep an IP address and routes around
19676                         even when it was not the active device
19677
19678         * src/NetworkManagerDbus.c
19679                 - Fix compile errors, free more DBusErrors
19680
19681 2004-09-11  Dan Williams <dcbw@redhat.com>
19682
19683         * docs/NetworkManager DBUS API.txt
19684                 - Add an explanation of NM's API
19685
19686         * src/NetworkManagerDbus.c
19687                 - Free some more DBusErrors if needed
19688
19689 2004-09-11  Dan Williams <dcbw@redhat.com>
19690
19691         * panel-applet/NMWirelessApplet.c
19692           panel-applet/NMWirelessAppletDbus.c
19693                 - Start using NetworkDevice/WirelessNetwork structures in more places
19694                 - Update for unified device/network forcing in NetworkManager
19695
19696         * src/NetworkManager.c
19697                 - some code consolidation
19698
19699         * src/NetworkManagerDbus.c
19700                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19701                         or two arguments:  the first is the NM ID of the device to switch to,
19702                         and the second (optional) argument is the ESSID of a wireless network
19703                         to use as well.
19704                 - Get rid of "setNetwork" method due to above change
19705
19706         * src/NetworkManagerDevice.c
19707                 - (nm_device_new): perform scan and update best AP on device creation
19708                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19709                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19710                         spin waiting for cancellation to finish before returning
19711
19712         * src/NetworkManagerPolicy.c
19713                 - Changes here clarify the situations in which a device switch occurs, and 
19714                         make sure to keep using a forced device and network if the user gives
19715                         us one
19716                 - Remove old unused code
19717
19718 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19719
19720         * configure.in: Added Danish (da) to ALL_LINGUAS.
19721
19722 2004-09-09  Dan Williams <dcbw@redhat.com>
19723
19724         * panel-applet/NMWirelessAppletDbus.c
19725                 - Pull fresh devices and networks from NM when wireless networks
19726                         change.  Provides faster feedback of a forced wireless network
19727
19728         * src/NetworkManagerDbus.c
19729                 - Return error when "getMaxQuality" is called on a wired device
19730                 - Make best_ap freezing actually work again, and signal cancellation
19731                         of activation if there's already a device activation when the user
19732                         freezes the best_ap
19733
19734         * src/NetworkManagerDevice.c
19735                 - Don't clear out the best_ap for wireless devices when the link goes
19736                         down, that's done elsewhere
19737                 - Kill any dhcp daemons when cancelling device activation since they
19738                         may be stuck waiting for a DHCP address, and since we're cancelling
19739                         activation we don't care about that anymore
19740
19741         * src/NetworkManagerPolicy.c
19742                 - Make sure to unref the device we ref earlier (we refed it to make sure
19743                         it stuck around during device activation and such)
19744                 - If we were going to change the best device, but its activating currently
19745                         (and therefore the change didn't occur due to the check earlier)
19746                         we mark the state changed to we come back to it later when device
19747                         activation has canceled and its no longer activating
19748
19749         * src/backends/NetworkManagerRedHat.c
19750                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19751
19752 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19753
19754         * info-daemon/passphrase.glade: 
19755         set passphrase input to activates_default : True
19756
19757         * examples/python/systray/network_tray.py
19758         (network_tray.sort_networks):
19759
19760         Added support for having wireless always scanning
19761
19762 2004-09-09  Dan Williams <dcbw@redhat.com>
19763
19764         NOTE: this commit changes the behavior of wireless devices in
19765         NetworkManager.  They are now up all the time, scanning all
19766         the time.  Only the active device has an IP address and routing
19767         information set up however.  Also, NetworkManager will no longer
19768         opportunistically switch wireless networks when a better one
19769         comes in range, it will remain associated with one wireless network
19770         until that one drops out.
19771
19772         * panel-applet/NMWirelessApplet.c
19773           panel-applet/NMWirelessAppletDbus.c
19774                 - List all wireless cards and their respective networks
19775
19776         * src/NMLoadModules
19777                 - Use full path to /sbin/ip
19778
19779         * src/NetworkManager.c
19780                 - Keep wireless devices up all the time so they can scan
19781
19782         * src/NetworkManagerDbus.c
19783                 - On a WirelessNetworkUpdate signal from NMI, don't update
19784                         the "best" AP
19785
19786         * src/NetworkManagerDevice.c
19787                 - (nm_device_set_link_active): clear out the best ap for
19788                         wireless devices when the link is set to FALSE
19789                 - Scan on all wireless cards, all the time
19790                 - (nm_device_activation_worker): split out the wireless card
19791                         link-waiting code to a separate function
19792                 - Keep wireless cards up even if device activation fails
19793                 - Don't update the "best" ap as much
19794
19795         * src/NetworkManagerPolicy.c
19796                 - Don't update the best ap when checking if its frozen,
19797                         let link checking clear out a frozen best ap for us
19798
19799         * src/NetworkManagerWireless.c
19800                 - Scan on all wireless cards, all the time
19801
19802 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19803
19804         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19805
19806 2004-09-09  Ankit Patel <ankit@redhat.com>
19807
19808         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19809
19810 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19811
19812         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19813
19814 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19815
19816         * examples/python/NetworkManager.py: 
19817         added CONNECTED, CONNECTING, and DISCONNECTED states
19818         added methods to return number of devices of a single type
19819
19820         * examples/python/systray/network_tray.py: 
19821         did some tweaks to get the menu looking near what it is supposed
19822         to look like.  Also did a Airo card hack to make it show the
19823         correct AP quality
19824
19825 2004-09-08  Dan Williams <dcbw@redhat.com>
19826
19827         * panel-applet/no-networkmanager.png
19828           panel-applet/Makefile.am
19829           panel-applet/NMWirelessApplet.c
19830                 - Add a "NetworkManager not running" icon and use it
19831                 - Use new consolidated GConf keys rather than Preferred/Trusted
19832
19833         * TODO: update
19834
19835         * info-daemon/NetworkManagerInfo.c
19836           info-daemon/NetworkManagerInfoDbus.[ch]
19837           info-daemon/NetworkManagerInfoPassphraseDialog.c
19838                 - There are now no longer two separate lists of wireless networks,
19839                         but one list where each network is "trusted" or not trusted
19840                 - Add a "getNetworkTrusted" dbus method
19841                 - "WirelessNetworkUpdate" signal now sent rather than
19842                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19843                 - Start freeing some dbus errors (not completed yet)
19844
19845         * info-daemon/passphrase.glade
19846                 - Remove the "don't show" hints for pager and taskbar
19847                 - Add a title since its going to be in the taskbar
19848
19849         * src/NetworkManager.[ch]
19850           src/NetworkManagerAPList.[ch]
19851                 - There are now no longer two separate lists of wireless networks,
19852                         but one list where each network is "trusted" or not trusted
19853
19854         * src/NetworkManagerAP.[ch]
19855                 - Add get/set "trusted" accessors and data bit
19856
19857         * src/NetworkManagerDbus.[ch]
19858                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19859                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19860
19861         * src/NetworkManagerDevice.[ch]
19862                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19863                 - (nm_device_new): Get device config from backend when initializing devices
19864                 - (nm_device_activation_worker): Split out device configuration on
19865                         activation to deal with static/dynamic IP differences, and try encryption
19866                         fallbacks on a device if the encryption method for the best AP is not good
19867                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19868                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19869
19870         * src/NetworkManagerWireless.c
19871                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19872
19873         * src/backends/NetworkManagerRedHat.c
19874           src/backends/NetworkManagerSystem.h
19875                 - (nm_system_device_update_config_info): Add function to get device configuration
19876                         from system data in ifcfg-* files
19877
19878         * src/backends/NetworkManagerDebian.c
19879           src/backends/NetworkManagerGentoo.c
19880           src/backends/NetworkManagerSlackware.c
19881                 - Add stub functions for getting device configuration
19882
19883 2004-09-07  Dan Williams <dcbw@redhat.com>
19884
19885         * src/backends/NetworkManagerRedhat.c
19886           src/backends/NetworkManagerSlackware.c
19887                 - Use full path to /sbin/ip everywhere
19888
19889 2004-09-07  Dan Williams <dcbw@redhat.com>
19890
19891         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19892
19893         * configure.in
19894           initscript/Makefile.am
19895           initscript/Slackware/Makfile.am
19896           initscript/Slackware/rc.networkmanager
19897           src/Makefile.am
19898           src/backends/NetworkManagerSlackware.c
19899                 - Add Slackware support
19900
19901 2004-09-07  Dan Williams <dcbw@redhat.com>
19902
19903         Patches below from:
19904                 <j@bootlab.org>
19905                 Mark Roach <mrroach@okmaybe.com>
19906                 Thom May <thom@debian.org>
19907
19908         * configure.in
19909           initscript/Debian/NetworkManager
19910           initscript/Debian/Makefile.am
19911                 - Initscript for Debian
19912
19913         * src/backends/NetworkManagerDebian.c
19914                 - Add missing system init function to allow compilation
19915                         on Debian
19916
19917 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19918
19919         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19920
19921 2004-09-03  Akagic Amila <bono@linux.org.ba>
19922
19923         * configure.in: Added 'bs' to ALL_LINGUAS.
19924
19925 2004-09-02  Colin Walters  <walters@verbum.org>
19926
19927         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19928         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19929         g_strdup_printf instead of arbitrarily sized buffers.
19930
19931 2004-09-01  Colin Walters  <walters@verbum.org>
19932
19933         * NetworkManager.pc.in: New file.
19934
19935         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19936
19937 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19938         
19939         * configure.in: Punjabi(pa) is added to po/.
19940
19941 2004-08-31  Dan Williams <dcbw@redhat.com>
19942
19943         * Remove 'debug' extern global from all files since we now
19944                 use syslog()
19945
19946         * src/NetworkManager.[ch]
19947                 - Break out routine that get the net.interface property from HAL,
19948                         removing that logic from nm_create_device_and_add_to_list()
19949                 - (nm_create_device_and_add_to_list): make this a bit more general so
19950                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19951                         the create of test devices.
19952                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19953                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19954                         which makes NetworkManager listen for dbus commands to create test
19955                         devices, which have no backing hardware.  Use when you're on a plane
19956                         for example, and/or forgot your wireless card at home.  Test devices
19957                         _cannot_ be created unless NM is started with --enable-test-devices.
19958
19959         * src/NetworkManagerDbus.[ch]
19960                 - New "getLinkActive" method for devices
19961                 - New "setLinkActive" method for devices (only works on test devices)
19962                 - New "createTestDevice" method on NetworkManager object to create a test
19963                         device of a specified type (ie wired, wireless).  UDI is created from
19964                         scratch, as is the interface name.  Only works when NM is started with
19965                         --enable-test-devices switch.
19966                 - New "removeTestDevice" method on NetworkManager object which removes a
19967                         test device.  Only works when NM is started with --enable-test-devices
19968
19969         * src/NetworkManagerDevice.[ch]
19970                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
19971                         whether a device is a test device or not, and what its link status is.
19972                 - Deal with test devices in most functions.  For those that work directly on hardware
19973                         special-case test devices.
19974                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19975                         command-line.
19976                 - (nm_device_update_link_active): split out logic for wired and wireless device link
19977                         checking to separate functions to facilitate test device link checking.
19978                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19979                         don't make a distinction between System Authentication and Encryption
19980                         (namely Cisco aironet), we use Open System auth when setting a WEP key
19981                         on the card.  We don't deal with Shared Key auth yet.
19982                 - (nm_device_activation_worker): split the activation cancel check logic out into
19983                         a separate routine nm_device_activation_cancel_if_needed()
19984                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19985                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19986                         a list of fake access points that they can "see"
19987                 - (nm_device_is_test_device): return whether or not a device is a test device
19988
19989         * src/NetworkManagerPolicy.c
19990                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19991                         previously if you "locked"/forced NM to use a wireless device but then
19992                         selected a wireless network for NM to use, it would switch to a wired device.
19993                         So, if the active device is wireless and it has a "forced" best AP, use it
19994                         if the "forced" best AP is still valid
19995                 - (nm_state_modification_monitor): deal with NULL best devices, for example
19996                         there were no usable network devices, or the last one was removed
19997
19998         * src/backends/NetworkManager*.c
19999                 - Deal with test devices, mostly just return success for operations like getting
20000                         a DHCP address
20001
20002         * test/nmtestdevices.c
20003                 - Test tool to create/remove/link-switch test devices
20004
20005 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20006
20007         * examples/python/NetworkManager.py: 
20008         added convience functions has_wired_device and has_wireless_device
20009
20010         * examples/python/systray/network_tray.py: 
20011         cleaned up a bunch of cruft, added support for listing wireless
20012         networks just like the real applet.  This is probably all I'm
20013         going to work on this applet from now on.
20014         TODO: add support for actually changing networks and devices
20015
20016         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20017         changed "nm.networks" into a dict from a list so I can store all
20018         the cool information about networks in there
20019
20020         * examples/python/systray/network_tray.py: 
20021         Added nice message when you try to run without running make first
20022
20023         * examples/python/NetworkManager.py: 
20024         Bug fixes to the code so we get all the device information
20025         that we need in get_device()
20026         
20027         * examples/python/NMTester.py: 
20028         Fixed _print_device_list to print_device_list
20029
20030 2004-08-29  Seth Nickell  <seth@gnome.org>
20031
20032         * configure.in:
20033
20034         Actually properly setup the Debian backend in configure.
20035         
20036 2004-08-29  Colin Walters  <walters@verbum.org>
20037
20038         * test/nminfotest.c: Include string.h and stdlib.h.
20039         (get_network_string_property, get_networks_of_type): Return NULL.
20040
20041         * test/nmclienttest.c (get_device_name, get_active_device): Return
20042         NULL.
20043
20044         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20045         use strlen, fgets always NULL-terminates the string.
20046
20047         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20048         dbus_message_get_member): Remove /* in comment.
20049
20050         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20051
20052         * src/NetworkManager.c (quit): Unused, delete.
20053         (nm_data_free): Cast arg to GFunc.
20054
20055         * panel-applet/NMWirelessAppletDbus.c: Need to include
20056         string.h, and dbus-glib-lowlevel.h (the latter is needed
20057         for dbus_connection_setup_with_g_main at present).
20058         (nmwa_dbus_update_wireless_network_list): Parenthesize
20059         assignment in conditional.
20060         (nmwa_dbus_worker): Return NULL.
20061
20062         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20063         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20064         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20065         (nmwa_populate_menu): Return NULL on failure, instead of just
20066         return;
20067
20068         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20069
20070         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20071         variables.
20072
20073         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20074         delete.
20075         
20076 2004-08-29  Colin Walters  <walters@verbum.org>
20077
20078         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20079         a GTimeVal instead of time_t.  This is easier to work with,
20080         since time_t may be a long or double, we don't know.
20081
20082         * src/NetworkManagerDbus.h: Update prototype.
20083         
20084         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20085         instead of time_t.
20086         (nm_ap_get_timestamp): Update to return GTimeVal.
20087         (nm_ap_set_timestamp): Update to take GTimeVal.
20088         
20089         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20090         to handle GTimeVal.
20091
20092         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20093         GTimeVal change.
20094         (nm_ap_list_print_members): Fix warnings in printf format.
20095
20096 2004-08-29  Colin Walters  <walters@verbum.org>
20097         
20098         * panel-applet/NMWirelessApplet.c: Include config.h.
20099
20100 2004-08-29  Colin Walters  <walters@verbum.org>
20101
20102         * configure.in: Generate config.h.
20103
20104         * configure.in: Dump dependency on OpenSSL; we can't
20105         use it since this package is GPL:
20106         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20107         Instead, check for libgcrypt, use it if available,
20108         otherwise use included MD5 code.
20109
20110         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20111         Suck in from gnome-keyring, munge a bit.
20112         
20113         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20114         gnome-keyring-md5.h gnome-keyring-md5.c.
20115         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20116
20117         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20118         libgcrypt or included gnome-keyring md5 bits.
20119         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20120
20121 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20122
20123         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20124
20125 2004-08-27  Bryan Clark  <bclark@redhat.com>
20126
20127         * examples/python/systray/Makefile: 
20128
20129         Updated the clean section
20130         
20131         * examples/python/systray/trayiconmodule.c: 
20132         * examples/python/systray/trayicon.override: 
20133         * examples/python/systray/network_tray.py: 
20134         * examples/python/systray/eggtrayicon.h: 
20135         * examples/python/systray/eggtrayicon.c: 
20136         * examples/python/systray/Makefile: 
20137         * examples/python/README: 
20138         * examples/python/NetworkManager.py: 
20139         * examples/python/NMTester.py: 
20140
20141         Initial commit of these python example files
20142
20143 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20144
20145         * panel-applet/NMWirelessApplet.c
20146                 - Make current device bold
20147                 - Show more user-friendly device name if we got one from hal
20148
20149         * panel-applet/NMWirelessAppletDbus.c
20150                 - Grab "info.product" key from hal for network devices
20151                 - Cache the current active device
20152
20153 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20154
20155         * configure.in: Added en_CA to ALL_LINGUAS.
20156
20157 2004-08-27  Christian Rose  <menthos@menthos.com>
20158
20159         * configure.in: Added "sv" to ALL_LINGUAS.
20160
20161 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20162
20163         * Tag NetworkManager-0.2
20164
20165 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20166
20167         * initscripts/Makefile.am
20168         * configure.in: Make pass distcheck
20169
20170         * po/ChangeLog: added
20171
20172 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20173
20174         * panel-applet/NMWirelessApplet.c
20175                 - Remove debugging code
20176                 - Enable device switching from menus
20177
20178         * panel-applet/NMWirelessAppletDbus.[ch]
20179                 - Method for asking NM to switch devices
20180
20181         * src/NetworkManagerDevice.c
20182                 - Set dev->activating earlier, avoids race between
20183                         the dbus signal of "DeviceActivating" and setting
20184                         dev->activating (which is what NM's "status" method call
20185                         looks at)
20186
20187 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20188
20189         * panel-applet/NMWirelessApplet.[ch]
20190                 - Rework menu code to add devices to menu, and to show
20191                         signal strength for each access point.  Code cleanups
20192                         too.
20193
20194         * panel-applet/NMWirelessAppletDbus.c
20195                 - Grab network devices from NetworkManager too
20196                 - Grab quality information from NM for wireless networks
20197
20198         * src/NetworkManagerDbus.[ch]
20199                 - Add dbus methods for getting the HAL UDI from a device and
20200                         for getting its base quality, if its wireless
20201                 - Consolidate some functions (wireless network notifications,
20202                         device notifications)
20203                 - Add method for requesting NM to use a particular device
20204
20205         * src/NetworkManager.c
20206                 - Change for function consolidations from NetworkManagerDbus.c
20207                 - Implement active device locking and user-requested devices
20208                         (ie, tell NM to use a particular device instead of the one
20209                         it autochose)
20210
20211         * src/NetworkManagerDevice.c
20212                 - Add method for getting the base quality of a device, if its
20213                         wireless
20214                 - Grab device base quailty info from iwlib during scans
20215
20216         * src/NetworkManagerPolicy.c
20217                 - Use a user-requested device rather than the auto-chosen device
20218                         if we are told to
20219
20220 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20221
20222         * Makefile.am: add po as a supdir
20223
20224         * autogen.sh: use gnome-autogen.sh
20225
20226         * initscript/Gentoo/.cvsignore:
20227         * initscript/RedHat/.cvsignore: Shut up cvs
20228
20229         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20230
20231         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20232         (nmwa_fill): Use gettext.
20233
20234         * configure.in: add gettext support
20235         * po/.cvsignore:
20236         * po/NetworkManager.pot:
20237         * po/POTFILES.in:
20238
20239 2004-08-26  Seth Nickell  <seth@gnome.org>
20240
20241         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20242         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20243         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20244         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20245         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20246         * panel-applet/NMWirelessApplet.h:
20247
20248         Use a menu bar instead of a button for the main clickable
20249         thingy.
20250         
20251 2004-08-25  Dan Williams <dcbw@redhat.com>
20252
20253         * src/NetworkManagerDevice.c
20254                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20255                         turning encryption off, because the Cisco driver doesn't associate
20256                         with WEP-enabled access points unless we are in "open"
20257
20258 2004-08-25  Dan Williams <dcbw@redhat.com>
20259
20260         * src/NetworkManagerWireless.c
20261                 - Don't try to defererence blank passphrases
20262
20263 2004-08-25  Dan Williams <dcbw@redhat.com>
20264
20265         * panel-applet/NMWirelessApplet.c
20266                 - Rebuild the menu whenever a user clicks
20267
20268 2004-08-25  Dan Williams <dcbw@redhat.com>
20269
20270         * panel-applet/NMWirelessApplet.c
20271                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20272                         when NM isn't around or when its not connected
20273
20274         * src/NetworkManagerDevice.c
20275                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20276                         canceled.
20277
20278 2004-08-25  Dan Williams <dcbw@redhat.com>
20279
20280         * panel-applet/NMWirelessAppletDbus.c
20281                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20282                         for getting encryption, and don't stop on "val" once we've gotten it
20283                         from NetworkManager.  Short form:  encryption should now show up.
20284
20285 2004-08-25  Dan Williams <dcbw@redhat.com>
20286
20287         * panel-applet/NMWirelessApplet.c
20288                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20289                         network to associate with
20290
20291 2004-08-25  Dan Williams <dcbw@redhat.com>
20292
20293         * panel-applet/*
20294                 - Rework the panel applet to do all DBUS communication in a separate
20295                         thread
20296
20297 2004-08-25  Dan Williams <dcbw@redhat.com>
20298
20299         * info-daemon/NetworkManagerInfo.[ch]
20300                 - Remove "get_next_priority" function
20301
20302         * info-daemon/NetworkManagerInfoDbus.[ch]
20303                 - Convert "priority" functions to "timestamp"
20304
20305 2004-08-25  Dan Williams <dcbw@redhat.com>
20306
20307         * src/NetworkManagerAP.[ch]
20308                 - Add a "enc_method_good" member and accessors to an Access Point
20309                         to signal when we've found the correct encryption method
20310                         for an access point
20311                 - Add a "timestamp" member and accessors, remove "priority" member
20312                         and accessors (use timestamps instead)
20313                 - Rename "wep_key"->"enc_key"
20314                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20315                         for a specified encryption method using the access points
20316                         source encryption key/passphrase
20317
20318         * src/NetworkManagerAPList.c
20319                 - When updating a network with dbus, grab timestamp now instead of
20320                         priority
20321
20322         * src/NetworkManagerDBus.[ch]
20323                 - Add signal for "DeviceActivating"
20324                 - Switch priority->timestamp
20325
20326         * src/NetworkManagerDevice.c
20327                 - Change references of "wep_key" -> "enc_key" or "key"
20328                 - Signal DeviceActivating when starting activation
20329                 - When activating a wireless device, if the access point we are connecting
20330                         to is encrypted, and we have a source key, try to generate a mangled
20331                         key and use that (ie, generate real WEP key from a passphrase)
20332                 - Rework device activation to fallback to other encryption methods if
20333                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20334                         first, then if that doesn't work fall back to direct hex key).
20335                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20336                         priority.  We now prefer the latest access point used, rather than using
20337                         a priority scheme
20338                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20339                         points we've just discovered, and merge in correct info from the global
20340                         access point lists
20341
20342 2004-08-25  Seth Nickell  <seth@gnome.org>
20343
20344         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20345         Debian support.
20346         
20347         * src/Makefile.am:
20348         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20349         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20350         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20351         (nm_system_delete_default_route),
20352         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20353         (nm_system_load_device_modules):
20354
20355 2004-08-24  Dan Willemsen <dan@willemsen.us>
20356
20357         * src/NetworkManager.c
20358           src/backends/NetworkManagerGentoo.c
20359           src/backends/NetworkManagerRedHat.c
20360           src/backends/NetworkManagerSystem.h
20361                 - Implement preliminary Gentoo support, adding a
20362                         nm_system_init function to the backend specification
20363
20364         * configure.in
20365                 - Distribution auto-detection, lowercase any user-fed
20366                         distribution names
20367
20368         * initscript/.cvsignore
20369           initscript/Makefile.am
20370           initscript/RedHat/Makefile.am
20371           initscript/RedHat/NetworkManager
20372           initscript/Gentoo/Makefile.am
20373           initscript/Gentoo/NetworkManager
20374                 - Refactored initscript code separately for each
20375                         distribution
20376
20377 2004-08-23  Dan Williams <dcbw@redhat.com>
20378
20379         * configure.in
20380           src/Makefile.am
20381           src/NetworkManagerDevice.c
20382           src/NetworkManager.c
20383           src/NetworkManagerUtils.[ch]
20384           src/backends/NetworkManagerSystem.h
20385           src/backends/NetworkManagerRedHat.c
20386           src/backends/NetworkManagerGentoo.c
20387                 - Refactor system-specific code into separate backends for
20388                         each distribution
20389
20390 2004-08-23  Dan Willemsen <dan@willemsen.us>
20391
20392         * dispatcher-daemon/NetworkManagerDispatcher.c
20393           info-daemon/NetworkManagerInfo.[ch]
20394           info-daemon/NetworkManagerInfoDbus.c
20395           info-daemon/NetworkManagerInfoPassphraseDialog.c
20396           src/NetworkManager.c
20397           src/NetworkManagerAP.c
20398           src/NetworkManagerAPList.c
20399           src/NetworkManagerDbus.c
20400           src/NetworkManagerDevice.c
20401           src/NetworkManagerPolicy.c
20402           src/NetworkManagerUtils.[ch]
20403           src/NetworkManagerWireless.c
20404                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20405
20406         * src/NetworkManager.c
20407                 - Fixed usage wording for --no-daemon
20408
20409 2004-08-23  Dan Williams <dcbw@redhat.com>
20410
20411         * panel-applet/NMWirelessApplet.c
20412                 - Update our state every second to get more responsive panel icon
20413                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20414                         was causing our marching ants status blips to never move when
20415                         looking for a wireless network
20416
20417         * src/NetworkManagerDevice.c
20418                 - (nm_device_activation_begin): return if activation has already begun
20419                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20420                         trusted/preferred network into the device's access point when the
20421                         scan list is processed
20422
20423 2004-08-23  Dan Williams <dcbw@redhat.com>
20424
20425         * initscript/NetworkManager
20426                 - Use NMLaunchHelper rather than sleeping
20427
20428         * initscript/NMLaunchHelper.c
20429           Makefile.am
20430                 - Add helper program that exits only when NM activates a device,
20431                         or 10 seconds have passed, whichever happens first.  This
20432                         stops the boot processes until we have a network connection,
20433                         which NM can't do because it daemonizes and brings the connection
20434                         up in the background.  Allows stuff like NFS to not die.
20435
20436 2004-08-20  Dan Williams <dcbw@redhat.com>
20437
20438         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20439                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20440                         for a network, set the essid as well since it may not exist yet
20441                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20442                         since WEP keys/passphrases are long and prone to entry-error
20443
20444         * panel-applet/Makefile.am
20445           panel-applet/wired.png
20446                 - Add (pulled from system-config-network temporarily)
20447
20448         * panel-applet/NMWirelessApplet.[ch]
20449                 - Show wired picture when a wired connection is used
20450                 - Rename wireless icon enums, adding WIRELESS
20451
20452         * src/NetworkManagerDevice.c
20453                 - (nm_device_activate_wireless): unset encryption before bringing
20454                         down the card and setting the essid
20455                 - (nm_device_activatin_worker): request a key from the user if the
20456                         AP we are connecting to is encrypted but we don't have a key
20457                         for it yet
20458                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20459                         strcmp() that prevented a user-entered key from actually getting
20460                         used
20461
20462 2004-08-16  Dan Williams <dcbw@redhat.com>
20463
20464         * initscript/NetworkManager
20465                 - Check for /sbin/ip
20466                 - Do sysctl magic that network service does
20467                 - sleep 4s after start to allow network time to come up [hack]
20468
20469         * src/Makefile.am
20470           src/NMLoadModules
20471                 - Load all network device kernel modules (hal doesn't know devices
20472                         are ethernet until the module is loaded, and therefore we don't know)
20473
20474         * src/NetworkManager.c
20475                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20476                         network devices, and bring up the loopback device explicitly
20477
20478         * src/NetworkManagerUtils.[ch]
20479                 - (nm_enable_loopback): new function
20480
20481 2004-08-13  Dan Williams <dcbw@redhat.com>
20482
20483         * configure.in
20484           panel-applet/Makefile.am
20485                 - Fix up cleanfiles and server_DATA/server_in_files
20486
20487         * README
20488                 - Update with some comments on theory of operation
20489
20490         * CONTRIBUTING
20491           Makefile.am
20492                 - Add CONTRIBUTING
20493
20494 2004-08-12  Dan Williams <dcbw@redhat.com>
20495
20496         * info-daemon/passphrase.glade
20497                 - Set window title to " "
20498
20499         * panel-applet/Makefile.am
20500           panel-applet/keyring.png
20501                 - Deliver to correct place
20502
20503         * panel-applet/NMWirelessApplet.[ch]
20504                 - Add comments
20505                 - Remove applet->have_active_device as its no longer used
20506                 - (nmwa_load_theme): load keyring.png too
20507                 - (error_dialog): remove
20508                 - (show_warning_dialog): subsume functionality of error dialog too
20509                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20510                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20511                         the networks menu
20512                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20513                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20514                         and when we get broadcasts of changed wireless access points only, not when the
20515                         user clicks on the button to display the menu (too long of a wait)
20516                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20517                         networks that are encrypted
20518                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20519                         menu item with g_object_set_data()
20520
20521         * panel-applet/NMWirelessAppletDbus.[ch]
20522                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20523                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20524                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20525                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20526                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20527                         activation/deactivation signals and rebuild the menu when they happen
20528
20529         * src/NetworkManager.c
20530                 - (main): use new nm_spawn_process() rather than system()
20531
20532         * src/NetworkManagerDbus.c
20533                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20534                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20535                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20536                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20537                         to freeze the best_ap.
20538
20539         * src/NetworkManagerDevice.[ch]
20540                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20541                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20542                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20543                         ap list
20544
20545         * src/NetworkManagerUtils.[ch]
20546                 - (nm_spawn_process): add replacement for system() usage
20547
20548 2004-08-11  Dan Williams <dcbw@redhat.com>
20549
20550         * panel-applet/NMWirelessApplet.[ch]
20551                 - Fix up copyright and credits to include Bastien and Eskil,
20552                         who created the gnome-applets wireless applet, from whose
20553                         skeleton this one was created
20554                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20555                         pixmap to draw is computed during nmwa_update_state()
20556                 - Applet now shows itself all the time due to panel packing issues
20557                         which caused the applet to previously never come back after hiding.
20558                         When a wired device is the active device, the applet shows "not connected"
20559
20560         * panel-applet/NMWirelessAppletDbus.[ch]
20561                 - Clean up error messages and show what function they are from
20562                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20563                 - Add new device type getters, and a status getter
20564
20565         * src/NetworkManagerDbus.c
20566                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20567                         network is actually in the device's ap list
20568                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20569
20570         * src/NetworkManagerDevice.c
20571                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20572                         card
20573
20574         * test/nmclienttest.c
20575                 - Report status of NetworkManager too
20576
20577 2004-08-11  Dan Williams <dcbw@redhat.com>
20578
20579         * info-daemon/NetworkManagerInfo.c:
20580                 - (main): clean up Seth's code style
20581
20582         * info-daemon/NetworkManagerInfoDbus.c:
20583                 - Use the more aptly-named path/service/interface constants from NetworkManager
20584                 - Don't return empty strings ("") as object paths ever, instead return errors
20585
20586         * panel-applet/NMWirelessApplet.c:
20587                 - Clean up Seth's code style
20588
20589         * src/NetworkManager.[ch]
20590                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20591                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20592
20593         * src/NetworkManagerAPList.[ch]
20594                 - Move Iter struct right above the iter functions to preserve opacity
20595                 - (nm_ap_list_remove_ap): implement
20596                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20597                         remove AP if NetworkManagerInfo doesn't know anything about it
20598                 - (nm_ap_list_diff): user NMAPList iterators
20599                 - (nm_ap_list_print_members): implement debugging function
20600
20601         * src/NetworkManagerDbus.[ch]
20602                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20603                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20604                         and move the actual key setting stuff into NetworkManagerDevice.c
20605                 - (nm_dbus_get_network_priority): return -1 now on errors
20606                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20607                         get lost, and force the active device to update its "best" ap when AP lists change
20608                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20609                         method call due to pending_device member removal
20610
20611         * src/NetworkManagerDevice.[ch]
20612                 - Move NMDevice structure to the top
20613                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20614                 - Remove Pending Action stuff from everywhere
20615                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20616                         activation for us.  This thread blocks until all conditions for activation have
20617                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20618                         then setup up the interface and runs dhclient.  We have to do this because there
20619                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20620                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20621                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20622                         can tell nm_device_activation_worker() that we've got a key
20623                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20624                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20625                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20626                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20627
20628         * src/NetworkManagerPolicy.c
20629                 - Remove anything to do with pending_device
20630                 - Adjust device activation to deal with activation-in-worker-thread
20631
20632         * src/NetworkManagerUtils.c
20633                 - Clean up locking debugging a bit
20634
20635         * src/NetworkManagerWireless.[ch]
20636                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20637                         was badly named and is better as a device function
20638
20639         * panel-applet/.cvsignore: add
20640
20641 2004-08-09  Seth Nickell  <seth@gnome.org>
20642
20643         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20644         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20645         (nmwa_new):
20646         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20647
20648         Don't load the menus until clicked on (also removes a call outside
20649         normal code paths at first load).
20650
20651         Hide applet when NM is not present.
20652         
20653         Improve printf debugging stuff.
20654         
20655 2004-08-09  Dan Williams <dcbw@redhat.com>
20656
20657         * dispatcher-daemon/NetworkManagerDispatcher.c:
20658                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20659                 - Use constants for NetworkManager interface, service, and path
20660
20661 2004-08-09  Dan Williams <dcbw@redhat.com>
20662
20663         * src/NetworkManagerDbus.c:
20664                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20665                         instead return an error message
20666                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20667                         on a wired device.  Also never return an empty object path, instead return an error message
20668
20669 2004-08-06  Seth Nickell  <seth@gnome.org>
20670
20671         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20672
20673         Check the error code when getting a connection.
20674         
20675         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20676
20677         Check if the NM service exists when initializing (rather than
20678         assuming it does not).
20679         
20680         * src/NetworkManagerDbus.c: (nm_dbus_init):
20681
20682         Don't acquire the well-known service name until we have
20683         registered object/path handlers and can actually receive
20684         calls.
20685         
20686 2004-08-06  Dan Williams <dcbw@redhat.com>
20687
20688         * panel-applet/*
20689                 - Add panel applet
20690
20691         * src/NetworkManagerPolicy.c
20692           src/NetworkManager.c
20693                 - Get access point lists from NetworkManagerInfo on-demand,
20694                         and look for ServiceCreate/ServiceDeleted signals to see when
20695                         we should query NMI for lists
20696         * src/NetworkManagerAPList.c
20697                 - Make sure to init the list's mutex
20698                 - Convert traversals of the list over to the list iter functions
20699
20700         * src/NetworkManagerDbus.[ch]
20701                 - Use more aptly-named path/service/interface constants
20702                 - Treat both active and pending devices the same for "getActiveDevice"
20703                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20704
20705         * src/NetworkManagerDevice.c
20706                 - Honor "ignored" network list when picking best ap to use
20707
20708 2004-08-06  Seth Nickell  <seth@gnome.org>
20709
20710         * aclocal.m4:
20711
20712         Autogenerated, remove from CVS.
20713         
20714         * autogen.sh:
20715
20716         Don't hardcode automake version.
20717         
20718         * configure.in:
20719         * info-daemon/Makefile.am:
20720         * info-daemon/NetworkManagerInfo.c: (main):
20721
20722         Use GnomeProgram et al. for doing session management.
20723         Use popt stuff for argument parsing rather than doing
20724         it manugally.
20725         
20726 2004-08-05  Dan Williams <dcbw@redhat.com>
20727
20728         * test/nminfotest.c
20729                 - Update to new NMI dbus API, check different network types
20730
20731         * info-daemon/NetworkManagerInfoDbus.c
20732                 - Update to new NM dbus API, ie network type sent in query message
20733
20734 2004-08-05  Dan Williams <dcbw@redhat.com>
20735
20736         * An assload of changes
20737
20738 2004-08-02  Dan Williams <dcbw@redhat.com>
20739
20740         * TODO
20741                 - new task: proper logging support
20742
20743         * info-daemon/NetworkManagerInfo.c
20744                 - Correct spelling of "canceled"
20745                 - Correct casting of objects for g_signal_connect()
20746
20747         * info-daemon/NetworkManagerInfoDbus.c
20748                 - Add defines for NetworkManager namespace and object path, and use them
20749                 - Add filter function to trap new signals from NetworkManager:
20750                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20751
20752         * info-daemon/passphrase.glade
20753                 - Change name of "ok" button to "Login to Network..."
20754                 - Mark invisible
20755
20756         * src/NetworkManager.c
20757                 - Code and debug message cleanups
20758                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20759                 - (nm_add_initial_devices) Check returned string array of devices
20760                         and don't try to add devices if array is NULL
20761                 - (main) Initialize libhal a bit later, make code a bit clearer
20762
20763         * src/NetworkManagerAP.[ch]
20764                 - New accessor and data member "matched": used to speed up AP list
20765                         diffing
20766                 - New accessor and data member "enc_method": will be used during key
20767                         fallback to cache which passphrase->key conversion actually works
20768                         so we don't have to do it every time
20769
20770         * src/NetworkManagerAPList.[ch]
20771                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20772                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20773                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20774                         dbus in response to those differences
20775
20776         * src/NetworkManagerDbus.[ch]
20777                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20778                         make an object path for that access point (NOTE that we don't yet check to
20779                         make sure that access point is actually in the device's AP list yet)
20780                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20781                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20782                         New: signal appearance/disappearance of wireless networks
20783                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20784                         key entry
20785
20786         * src/NetworkManagerDevice.[ch]
20787                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20788                 - (nm_device_ap_list_get) New: return the AP list (static function)
20789                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20790                         new one resulting from the scan with the old one
20791
20792         * src/NetworkManagerWireless.c
20793                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20794
20795         * test/nminfotest.c
20796                 - #define object paths and namespaces and use the #defines rather than static strings
20797                 - Test out user-key functionality of NetworkManagerInfo too
20798
20799 2004-07-29  Dan Williams <dcbw@redhat.com>
20800
20801         * info-daemon/NetworkManagerInfoDbus.c
20802           src/NetworkManagerDbus.c
20803                 - Update to current DBus (ie don't use decomposed paths when registering
20804                         object paths/fallbacks)
20805
20806 2004-07-27  Dan Williams <dcbw@redhat.com>
20807
20808         * Remove various Makefile.in files
20809
20810         * TODO
20811                 - Add some more items
20812
20813         * configure.in
20814                 - Add checks for OpenSSL/md5 headers and libs
20815
20816         * src/Makefile.am
20817                 - Use OpenSSL CFLAGS
20818
20819         * src/NetworkManagerAP.[ch]
20820                 - Remove 'stamp' functions, replace with 'invalid' functions
20821                         to support user cancelling WEP key entry
20822
20823         * src/NetworkManagerDbus.c
20824                 - Remove 'stamp' return functions
20825                 - Treat returned user key as a passphrase and convert to a WEP key,
20826                         but don't actually use the WEP key yet.  We use the returned user
20827                         key as a hexadecimal WEP key until we can figure out a UI for
20828                         passphrase-vs-hex key
20829
20830         * src/NetworkManagerWireless.[ch]
20831                 - Add passphrase-to-128bit-key function
20832
20833 2004-07-27  Dan Williams <dcbw@redhat.com>
20834
20835         * TODO
20836                 - Add a couple of items
20837
20838 2004-07-27  Dan Williams <dcbw@redhat.com>
20839
20840         * info-daemon/NetworkManagerInfo.c
20841                 - Update allowed network's GConf key when user enters a WEP key explicitly
20842
20843         * info-daemon/NetworkManagerDbus.c
20844                 - Fix some comments
20845                 - nmi_dbus_get_allowed_networks(): kill warning
20846
20847 2004-07-27  Dan Williams <dcbw@redhat.com>
20848
20849         * initscript/Makefile.in
20850                 - Remove
20851
20852         * initscript/Makefile.am
20853                 - Add correct rules to install the init.d initscript
20854
20855         * info-daemon/NetworkManagerInfoDbus.c
20856                 - Remove debug fprintf
20857
20858         * src/NetworkManagerDbus.[ch]
20859                 - Remove debug fprintfs
20860                 - Add macros for NetworkManagerInfo object path/namespace
20861                 - Use said macros instead of constant strings
20862
20863 2004-07-27  Dan Williams <dcbw@redhat.com>
20864
20865         * initscript/.cvsignore
20866                 - Add
20867
20868         * info-daemon/Makefile.am
20869                 - Install .glade files and keyring.png
20870                 - Fix stupid omission of a \ that caused half the flags not to be
20871                         passed to gcc
20872
20873         * info-daemon/NetworkManagerInfo.c
20874                 - gtk_signal_connect->g_signal_connect
20875                 - Alert NetworkManagerInfo to new glade file location
20876
20877 2004-07-27  Dan Williams <dcbw@redhat.com>
20878
20879         * test/nmclienttest.c
20880           test/nminfotest.c
20881                 - Add missing <dbus/dbus.h> headers
20882                 - Add GPL message at top
20883
20884 2004-07-27  Dan Williams <dcbw@redhat.com>
20885
20886         * src/NetworkManagerAPList.[ch]
20887           src/Makefile.am
20888                 - Add.  Deal with allowed network list additions, deletions, and updates
20889
20890         * dispatcher-daemon/NetworkManagerDispatcher.c
20891                 - Add missing <dbus/dbus.h> header
20892
20893         * info-daemon/NetworkManagerInfo.[ch]
20894                 - Add missing <dbus/dbus.h> header
20895                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20896                         network change
20897                 - Better error checking
20898
20899         * info-daemon/NetworkManagerInfoDbus.[ch]
20900                 - Add missing <dbus/dbus.h> header
20901                 - Convert to using dbus_message_append_args/dbus_message_get_args
20902                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20903                         that an allowed network changed.  We don't want to signal on individual
20904                         keys _inside_ an allowed network really, just want NM to query the info
20905                         daemon for updated info on all keys.
20906                 - Better error checking
20907
20908         * src/NetworkManager.[ch]
20909                 - Add missing <dbus/dbus.h> header
20910                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20911                 - Zero out NMData structure on free
20912                 - No longer use a thread for allowed_ap_list updating, instead its now done
20913                         through dbus queries against NetworkManagerInfo
20914                 - Populate allowed_ap_list initially before adding existing network devices
20915                         to the device list, so wireless devices can get their "best" AP
20916
20917         * src/NetworkManagerDbus.[ch]
20918                 - Convert to using dbus_message_append_args/dbus_message_get_args
20919                 - Better error checking
20920                 - Implement Allowed Network info functions to request allowed network
20921                         info from NetworkManagerInfo
20922                 - Implement the filter function to process signals from NetworkManagerInfo
20923                         about changing allowed networks
20924
20925         * src/NetworkManagerDevice.c
20926                 - Fix file descriptor leak in nm_device_update_ip4_address()
20927
20928 2004-07-27  Dan Williams <dcbw@redhat.com>
20929
20930         * .cvsignore
20931           src/.cvsignore
20932           test/.cvsignore
20933           dispatcher-daemon/.cvsignore
20934           info-daemon/.cvsignore
20935                 - Add .cvsignore files to reduce noise when diffing
20936
20937 2004-07-24  Dan Williams <dcbw@redhat.com>
20938
20939         * src/NetworkManager.[ch]
20940           src/NetworkManagerDbus.[ch]
20941           src/NetworkManagerDevice.[ch]
20942           src/NetworkManagerPolicy.c
20943           src/NetworkManagerWireless.[ch]
20944                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20945                 - Pass the NMData application data structure through all calls
20946                         that need it so we can get rid of nm_get_global_data()
20947                 - Change deallocation of the allowed_ap_list GSList in preparation
20948                         for not completely clearing it every time we get an update,
20949                         but instead getting incremental updates via GConf/dbus
20950
20951 2004-07-22  Dan Williams <dcbw@redhat.com>
20952
20953         * configure.in
20954                 - Add checks for GConf libs & headers & flags
20955
20956         * info-daemon/Makefile.am
20957                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20958
20959         * info-daemon/NetworkManagerInfo.[ch]
20960                 - Don't use gquarks for data storage, just use normal data storage
20961                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20962
20963         * info-daemon/NetworkManagerDbus.[ch]
20964                 - Add method call for getting allowed networks
20965                 - Add method calls for getting an allowed network's essid, priority, and key
20966                 - Hook the method calls up to GConf
20967                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20968                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20969                 
20970         * src/NetworkManagerDbus.[ch]
20971                 - Switch for enumeration of networks to using essid instead
20972
20973         * test/Makefile.am
20974           test/nminfotest.c
20975                 - Add test program for NetworkManagerInfo
20976
20977 2004-07-19  Dan Williams <dcbw@redhat.com>
20978
20979         * src/NetworkManagerDbus.c
20980                 - Switch from indexed device paths to names.  Less code, more efficient.
20981                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20982
20983 2004-07-19  Dan Williams <dcbw@redhat.com>
20984
20985         * dispatcher-daemon/NetworkManagerDispatcher.c
20986                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20987
20988 2004-07-19  Dan Williams <dcbw@redhat.com>
20989
20990         * Makefile.am
20991                 - Add info-daemon directory
20992
20993         * configure.in
20994                 - Check for glade libs and headers
20995                 - Add info-daemon directory
20996
20997         * src/NetworkManagerAP.c
20998                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20999                         copied over to the new AP.
21000
21001         * src/NetworkManagerDbus.c
21002           src/NetworkManagerDbus.h
21003                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21004                 - Remove nm_dbus_signal_need_key_for_network()
21005                 - Add disabled code for asynchronous user wep key callbacks
21006                 - Add functions for getting, setting, and cancelling user key operations
21007                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21008                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21009
21010         * src/NetworkManagerDevice.c
21011           src/NetworkManagerDevice.h
21012                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21013                         logic is in device activation now
21014                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21015                         key is wrong) trigger get-user-key pending action
21016                 - Implement get-user-key pending action stuff, tie to dbus messages
21017                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21018                 - Add nm_device_ap_list_get_ap_by_essid()
21019                 - Instead of copying "best" access points, ref them instead so that the key we set
21020                         sticks around
21021
21022         * src/NetworkManagerPolicy.c
21023                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21024                 - Don't cancel pending actions on a device if its the same device as last iteration
21025                 - Only promote pending_device->active_device if activation was successfull
21026
21027         * src/Makefile.am
21028                 - Rename nmclienttest->nmtest
21029
21030         * info-daemon/Makefile.am
21031           info-daemon/NetworkManagerInfo.c
21032           info-daemon/NetworkManagerInfo.h
21033           info-daemon/NetworkManagerInfoDbus.c
21034           info-daemon/NetworkManagerInfoDbus.h
21035           info-daemon/passphrase.glade
21036           info-daemon/NetworkManagerInfo.conf
21037           info-daemon/keyring.png
21038                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21039                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21040                         lists to NetworkManager by proxying user's GConf
21041           
21042
21043 2004-07-15  Dan Williams <dcbw@redhat.com>
21044
21045         * src/Makefile.am
21046                 - Turn on warnings
21047
21048         * src/NetworkManager.c
21049                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21050                         that doing the deactivation ourselves
21051                 - Cancel an pending actions on a device if its being removed
21052                 - Break up link state checking a bit, make non-active wireless cards
21053                         deactivated to save power
21054                 - Remove unused variables
21055
21056         * src/NetworkManager.h
21057                 - Add support for "pending" device
21058
21059         * src/NetworkManagerAP.h
21060           src/NetworkManagerAP.c
21061                 - Add support for determining whether and AP has encryption enabled or not
21062                 - AP address is now "struct ether_addr" rather than a string
21063
21064         * src/NetworkManagerDbus.h
21065           src/NetworkManagerDbus.c
21066                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21067                 - Changes for AP address from struct ether_addr->string
21068
21069         * src/NetworkManagerDevice.h
21070           src/NetworkManagerDevice.c
21071                 - Remove unused variables, fix warnings
21072                 - Add support for Pending Actions (things that block a device from being "active"
21073                         until they are completed).
21074                 - First pending action:  Get a WEP key from the user
21075                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21076                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21077                 - Update wireless link checking to try to determine if the AP we are associated
21078                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21079                         trigger the GetUserKey pending action on the device
21080                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21081                         up in that case, otherwise we can't scan or link-check on it
21082                 - Add IP address change notifications at appropriate points (still needs some work)
21083                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21084
21085         * src/NetworkManagerPolicy.h
21086           src/NetworkManagerPolicy.c
21087                 - Split out "best" access point determiniation into separate function
21088                 - Make device activation 2-stage:  first the device is pending, then
21089                         in the next iteration through it becomes "active" unless it has
21090                         pending actions
21091
21092         * src/NetworkManagerUtils.h
21093           src/NetworkManagerUtils.c
21094                 - Clean up unused variables and warnings
21095                 - Wrap our debug macros in {} to prevent possible confusion
21096
21097         * src/NetworkManagerWireless.c
21098                 - Forgot to return current best priority, which lead to last available AP always
21099                         being chosen no matter what its priority was.  Corrected.
21100
21101 2004-07-15  Dan Williams <dcbw@redhat.com>
21102
21103         * dispatcher-daemon/Makefile.am
21104                 - Turn on warnings
21105
21106         * dispatcher-daemon/NetworkManagerDispatcher.c
21107                 - Remove unused variables due to warnings
21108                 - Fix some comments
21109                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21110
21111 2004-07-06  Dan Williams <dcbw@redhat.com>
21112
21113         * src/NetworkManager.c
21114                 - Add IPv4 address update for active device during link state check
21115                 - Don't allow wireless cards to be powered up when they are not the
21116                         active device
21117
21118         * src/NetworkManagerDbus.c
21119           src/NetworkManagerDbus.h
21120                 - Add DBUS IPv4 address change signal
21121                 - Add DBUS IPv4 address get method for devices
21122
21123         * src/NetworkManagerDevice.c
21124                 - Make setting the WEP key actually work
21125                 - Move IP address get/set/update stuff here, per-device
21126                 - Power down/bring down wireless device when deactivated
21127                 - For scanning wireless devices, if first scan returned ENODATA, try again
21128
21129         * src/NetworkManagerPolicy.c
21130                 - Only set the WEP key for an allowed access point if there is one.
21131                         We were setting it to be blank if one wasn't specified.
21132
21133         * src/NetworkManagerUtils.h
21134           src/NetworkManagerUtils.c
21135                 - Move the IP address stuff to NetworkManagerDevice.c
21136
21137         * dispatcher-daemon/NetworkManagerDispatcher.c
21138                 - Add device IPv4 address change notification stuff
21139
21140 2004-07-05  Dan Williams <dcbw@redhat.com>
21141
21142         * dispatcher-daemon/NetworkManagerDispatcher.c
21143                 - A bit more descriptive state message
21144                 - Don't segfault when reading directory
21145
21146         * src/NetworkManager.h
21147                 - Remove NMData desired_ap member, its now
21148                         per-device rather than global
21149
21150         * src/NetworkManager.c
21151                 - Remove references to desired_ap
21152                 - Move the allowed AP list refresh stuff into a thread
21153
21154         * src/NetworkManagerDevice.c
21155           src/NetworkManagerDevice.h
21156                 - Each wireless device now has a "best ap"
21157                 - Make device activate/deactivate functions per-device
21158                 - Make wireless scanning per-device
21159                 - Add IPv4 address discover functions, stub IPv6 ones
21160                 - Move ethernet address validation functions to NetworkManagerUtils.c
21161                 - Add wireless access point accessor function
21162                 - Get/Set functions for "best ap"
21163
21164         * src/NetworkManagerPolicy.c
21165                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21166                 - Deal with per-device "best ap" rather than data->desired_apa
21167                 - Implement allowed access point worker thread
21168                 - Add nm_policy_essid_is_allowed() function
21169
21170         * src/NetworkManagerUtils.c
21171           src/NetworkManagerUtils.h
21172                 - Add nm_ethernet_address_is_valid() function
21173                 - Add IPv4/IPv6 address get functions
21174
21175         * src/NetworkManagerWireless.c
21176           src/NetworkManagerWireless.h
21177                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21178
21179 2004-06-29  Dan Williams <dcbw@redhat.com>
21180
21181         * dispatcher-daemon/NetworkManagerDispatcher.c
21182                 - Implement script callout functionality
21183
21184 2004-06-24  Dan Williams <dcbw@redhat.com>
21185
21186         * NetworkManager.c
21187             - Spacing cleanups
21188             - Flush device routes and ip addresses when added to the device list
21189
21190         * NetworkManagerDbus.c
21191             - Spacing cleanups
21192             - Add missing returns in the two signal functions
21193         
21194         * NetworkManagerPolicy.c
21195             - Spacing and variable cleanups
21196
21197 2004-06-24  Dan Williams <dcbw@redhat.com>
21198
21199         * Makefile.am
21200           Makefile.in
21201           configure.in
21202           dispatcher-daemon/Makefile.am
21203           dispatcher-daemon/Makefile.in
21204           dispatcher-daemon/NetworkManagerDispatcher.c
21205             - Add a daemon that receives signals from NetworkManager
21206                         and will (eventually) call scripts in /etc/somewhere
21207                         when devices go up or down.
21208         
21209         * NetworkManager.c
21210             - Spacing cleanups
21211             - Flush device routes and ip addresses when added to the device list
21212
21213         * NetworkManagerDbus.c
21214             - Spacing cleanups
21215             - Add missing returns in the two signal functions
21216         
21217         * NetworkManagerPolicy.c
21218             - Spacing and variable cleanups
21219             - Rename nm_policy_switch_interface->nm_policy_switch_device
21220             - nm_policy_switch_device():
21221                                 Use kill (pid) instead of system ("kill <pid>")
21222             - nm_state_modification_monitor():
21223                                 Add wireless essid to output of debug statements
21224                                 Correct typo in device compare to switch or not (should be !=)
21225                                 Don't sleep after sending "no longer active" signal, was useless
21226
21227 2004-06-24  Dan Williams <dcbw@redhat.com>
21228
21229         * Initial import