2008-10-11 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-11  Dan Williams  <dcbw@redhat.com>
2
3         Add support for VPN subnet gateways (bgo #549196)
4
5         * include/NetworkManager.h
6                 - Add key for internal VPN subnet gateway
7
8         * src/vpn-manager/nm-vpn-connection.c
9                 - (ip_address_to_string): return a const from a static buffer so we
10                         don't leak a lot of strings
11                 - (print_vpn_config): print internal VPN gateway as well
12                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
13                         VPN service too
14                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
15
16         * src/NetworkManagerSystem.c
17           src/NetworkManagerSystem.h
18                 - (nm_system_device_replace_default_ip4_route): split into two, one for
19                         VPN connections and one for normal devices
20                 - (replace_default_ip4_route): break out route stuff into its own function
21                 - (nm_system_replace_default_ip4_route_vpn,
22                    nm_system_replace_default_ip4_route): simplify by having two cases,
23                         one for VPNs and one for normal devices
24
25         * src/NetworkManagerPolicy.c
26                 - (update_routing_and_dns): simplify, use split default route replacement
27                         functions
28
29 2008-10-10  Dan Williams  <dcbw@redhat.com>
30
31         Rework default route handling to consolidate decisions in the policy,
32         and to take active VPN connections into account when changing the default
33         route (bgo #545912)
34
35         * src/NetworkManager.c
36                 - (main): pass the vpn_manager to the policy so it knows about active
37                         VPN connections; clean up the named manager which wasn't done before
38
39         * src/NetworkManagerPolicy.c
40           src/NetworkManagerPolicy.h
41                 - (nm_policy_new): get a clue about the vpn_manager
42                 - (update_default_route): remove, fold into update_routing_and_dns()
43                 - (update_routing_and_dns): handle active VPN connections too; an
44                         active VPN connection becomes the default route if it does not have
45                         server-specified or user-specified custom routes.  Otherwise, the
46                         best active device gets the default route
47                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
48                    nm_policy_destroy): track VPN connection activation and deactivation
49                         and update the default route when appropriate
50
51         * src/NetworkManagerSystem.c
52           src/NetworkManagerSystem.h
53                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
54                         in the VPN connection itself
55                 - (nm_system_vpn_device_set_from_ip4_config,
56                    nm_system_device_set_from_ip4_config): merge together to make
57                         nm_system_apply_ip4_config()
58                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
59                         via the parent device
60                 - (nm_system_apply_ip4_config): simplify
61                 - (add_ip4_route_to_gateway): new function; add a direct route to the
62                         gateway if needed
63                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
64                         route stuff out into add_ip4_route_to_gateway() for clarity
65
66         * src/nm-device.c
67                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
68
69         * src/vpn-manager/nm-vpn-connection.c
70           src/vpn-manager/nm-vpn-connection.h
71                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
72                    nm_vpn_connection_get_parent_device): add
73                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
74                         device explicit
75                 - (connection_state_changed): update the named manager now that
76                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
77                         useful on errors
78
79         * src/vpn-manager/nm-vpn-manager.c
80           src/vpn-manager/nm-vpn-manager.h
81                 - Add a 'connection-activated' signal
82                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
83                         policy to find out about active VPN connections
84
85 2008-10-10  Tambet Ingo  <tambet@gmail.com>
86
87         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
88         a daemon to prevent NM logging spew on console on startup and shutdown (due
89         to dependency loop between NM and syslog).
90
91 2008-10-10  Alexander Sack  <asac@ubuntu.com>
92
93         Implement managed mode. We bind devices configured in /etc/network/interfaces
94         to their connections by updating wired/wireless setting with the
95         mac address of the device.
96
97         * system-settings/plugins/ifupdown/plugin.c
98                 - (get_net_address_for_udi): implement function to retrieve MAC
99                         address of udi from hal in GByteArray format
100                 - (bind_device_to_connection): bind mac address of device to
101                         wired/wireless system connection
102                 - (hal_device_added_cb): call bind_device_to_connection for
103                         system connections with a matching interface.name
104                 - (hal_device_added_cb): ensure that all code paths
105                         properly free the "iface" string.
106
107 2008-10-10  Alexander Sack  <asac@ubuntu.com>
108
109         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
110         mode of the ifupdown system config plugin.
111
112         * system-settings/plugins/ifupdown/plugin.c
113                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
114                         private unmanage_well_known state field accordingly
115
116 2008-10-10  Alexander Sack  <asac@ubuntu.com>
117
118         Implement unmanaged mode that will prevent all devices in the
119         well_known_udis set from being touched by NetworkManager
120
121         * system-settings/plugins/ifupdown/plugin.c
122                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
123                         unmanage_well_known field used to turn on/off unmanaged
124                         mode
125                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
126                         signal when well_known_udis get added/removed
127                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
128                         if we are in unmanaged mode
129
130 2008-10-10  Alexander Sack  <asac@ubuntu.com>
131
132         Add support to track network devices that have a configuration
133         with a matching interface.name in /etc/network/interfaces
134
135         * system-settings/plugins/ifupdown/plugin.c
136                 - (typedef struct SCPluginIfupdownPrivate): add hash table
137                         to track |well_known_udis|
138                 - (get_iface_for_udi): helper function to get interface.name
139                         for a udi
140                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
141                         that add and remove devices to and from the well_known_udis
142                         set depending on whether their |interface.name| matches
143                         any interface definition in /etc/network/interfaces
144                 - (SCPluginIfupdown_init): connect callbacks from above with
145                         hal_mgr and setup well_known_udis hashtable
146                 - (GObject__dispose): destroy well_known_udis hashtable
147                 - (hal_device_added_cb2): implement wrapper callback with GFunc
148                         signature. user_data is supposed to be a triple (hal_mgr,
149                         config and devtype)
150                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
151                         startup and call hal_device_added_cb2
152
153 2008-10-10  Alexander Sack  <asac@ubuntu.com>
154
155         Remove implementation for not used NMSystemConfigInterface callback functions
156         in ifupdown plugin
157
158         * system-settings/plugins/ifupdown/plugin.c
159                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
160                 - (SCPluginIfupdown_connection_added): removed
161
162 2008-10-08  Dan Williams  <dcbw@redhat.com>
163
164         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
165
166         * src/NetworkManagerUtils.c
167                 - (nm_utils_call_dispatcher): add a 'hostname' action
168
169         * src/NetworkManagerPolicy.c
170                 - (set_system_hostname): dispatch hostname changes
171
172         * callouts/nm-dispatcher-action.c
173                 - (nm_dispatcher_action): handle 'hostname' actions
174
175 2008-10-08  Dan Williams  <dcbw@redhat.com>
176
177         * src/NetworkManagerSystem.c
178                 - (find_route): ref the route so it doesn't get destroyed when the cache
179                         is cleared
180                 - (nm_system_device_set_priority): unref the route here after it's done
181                         being used
182
183 2008-10-08  Dan Williams  <dcbw@redhat.com>
184
185         * src/nm-serial-device.c
186                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
187
188 2008-10-08  Tambet Ingo  <tambet@gmail.com>
189
190         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
191         connection with new settings before saving it.
192
193 2008-10-06  Dan Williams  <dcbw@redhat.com>
194
195         * src/nm-ip4-config.c
196           src/nm-ip4-config.h
197                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
198
199         * src/nm-device-interface.c
200                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
201                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
202                         by using '/' for the object path
203
204         * src/nm-device.c
205                 - (src/nm-device.c): marshal missing/unexported ip4-config through
206                         dbus as '/' since dbus-glib can't handle NULL objects nor can
207                         dbus handle NULL object paths
208
209 2008-10-03  Alexander Sack  <asac@ubuntu.com>
210
211         Implement system hostname support for debian/ubuntu
212
213         * system-settings/plugins/ifupdown/plugin.c
214                 - (GObject__get_property): extend announced capabilities; add
215                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
216                 - (GObject__set_property,write_system_hostname): implement
217                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
218                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
219                    update_system_hostname, get_hostname):
220                         implement hostname property that watches and
221                         parses /etc/hostname
222
223 2008-10-03  Alexander Sack  <asac@ubuntu.com>
224
225         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
226           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
227           system-settings/plugins/ifcfg-fedora/Makefile.am
228           system-settings/src/nm-inotify-helper.c
229           system-settings/src/nm-inotify-helper.h
230           src/Makefile.am
231                 - Move ifcfg-fedora inotify helpers to the system settings service so
232                         they are available to all plugins
233
234 2008-10-03  Alexander Sack  <asac@ubuntu.com>
235
236         Implement support for wep-tx-keyidx in ifupdown system
237         config plugin.
238
239         * system-settings/plugins/ifupdown/parser.c
240                 - (update_wireless_security_setting_from_if_block): introduce
241                         free_type_mapping func table; rename a few local
242                         variables to improve readability; add wpa security mapping
243                         for wep-tx-keyidx property
244                 - (string_to_gpointerint): new function used for the auto_type_mapping
245                         of new wep-tx-keyidx property
246                 - (slist_free_all): free func used for mapped slist types
247
248 2008-10-03  Alexander Sack  <asac@ubuntu.com>
249
250         * system-settings/src/main.c:
251                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
252                         always used as the hash key; fixes a crash when removing wired
253                         devices
254
255 2008-10-02  Dan Williams  <dcbw@redhat.com>
256
257         * src/nm-gsm-device.c
258                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
259                         pass the required GSM secret along via user_data rather than keeping
260                         it around in the private data where it sometimes didn't get cleared
261                 - (real_get_ppp_name): implement using the GSM username
262
263 2008-10-02  Dan Williams  <dcbw@redhat.com>
264
265         * src/ppp-manager/nm-ppp-manager.c
266           src/ppp-manager/nm-ppp-manager.h
267                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
268                         the settings daemon for completely new ones
269                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
270                         local PPP peer name; allow PPP debuging by launching NM with
271                         the environment variable NM_PPP_DEBUG defined
272                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
273                         create_pppd_cmd_line()
274
275         * src/nm-serial-device.c
276           src/nm-serial-device.h
277                 - New 'get_ppp_name' function for subclasses to implement to return the
278                         local PPP peer name
279                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
280                         and pass that name to the PPP manager
281
282         * src/nm-device-ethernet.c
283                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
284                         the local peer name
285
286         * src/nm-cdma-device.c
287                 - (real_get_ppp_name): implement using the CDMA username
288
289 2008-10-02  Dan Williams  <dcbw@redhat.com>
290
291         Patch from Alexander Sack <asac ubuntu com>
292
293         * system-settings/plugins/ifupdown/parser.c
294                 - Implement more graceful ip4 config parsing for cases where
295                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
296                   by using default values
297
298 2008-10-02  Dan Williams  <dcbw@redhat.com>
299
300         * src/NetworkManagerPolicy.c
301                 - (device_state_changed): when marking a connection invalid, clear its
302                         secrets too so that fresh secrets get requested the next time
303
304 2008-10-01  Dan Williams  <dcbw@redhat.com>
305
306         * system-settings/src/dbus-settings.c
307                 - (nm_sysconfig_settings_init): cache system hostname on startup as
308                         a fallback if no plugin provides a hostname
309                 - (get_property): fall back to cached hostname if no plugin provides
310                         a hostname
311
312 2008-10-01  Dan Williams  <dcbw@redhat.com>
313
314         Fix setting value comparison issue that caused some settings to look the
315         same when they were really different (rh #464417)
316
317         * libnm-util/nm-param-spec-specialized.c
318                 - (type_is_fixed_size): return fundamental size of the fixed type too
319                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
320                         in the comparison so that the _entire_ fixed type collection gets
321                         compared rather than just the first 'len1' bytes
322
323 2008-09-30  Dan Williams  <dcbw@redhat.com>
324
325         * src/NetworkManagerPolicy.c
326                 - (lookup_thread_worker): don't store the idle handler ID becuase the
327                         idle handler could have already run and freed the LookupThread
328                         structure
329
330 2008-09-30  Tambet Ingo  <tambet@gmail.com>
331
332         * src/nm-device.c (nm_device_get_priority): Implement.
333         (nm_device_set_ip4_config): Send the device priority to system ip4 
334         config setter.
335
336         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
337         Add priority argument and if it's >= 0, set the priority of the network
338         route added automatically by netlink (or kernel?).
339         (nm_system_device_set_priority): Implement.
340
341         * src/NetworkManagerPolicy.c (get_best_device): Use 
342         nm_device_get_priority() instead of home-grown version. Revert the
343         meaning, best priority is the lowest one.
344
345 2008-09-29  Dan Williams  <dcbw@redhat.com>
346
347         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
348         when it returns EAGAIN (rh #362421)
349
350         * src/nm-device-wifi.c
351                 - (wireless_get_range): try GIWRANGE a few times until the card responds
352                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
353
354 2008-09-28  Dan Williams  <dcbw@redhat.com>
355
356         * src/nm-serial-device.c
357           src/nm-serial-device.h
358                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
359                         cleaned at the right times when subclasses close the serial port too
360                 - (nm_serial_device_send_command): use a default send delay; don't
361                         spin forever on EAGAIN
362                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
363                         remove, no longer used
364                 - (find_response): return the matched response if any
365                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
366                         while doing so
367                 - (wait_for_reply_done): pass the matched response to the callback
368                 - (wait_for_reply_got_data): save the matched response; simplify timeout
369                         handling
370                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
371                         const since they never get modified
372                 - (cleanup_device): split out common cleanup stuff to a new function
373                 - (real_deactivate_quickly, finalize): use cleanup_device()
374
375         * src/nm-gsm-device.c
376                 - (modem_get_reply): remove, unused
377                 - (set_apn): give the card a bit more time to respond
378                 - (manual_registration_again, schedule_manual_registration_again,
379                    manual_registration_response, manual_registration): handle manual
380                         registration timeouts better by retrying registration a few times
381                         because cards are a bit slow after CFUN=1
382                 - (automatic_registration_get_network, get_network_response): use
383                         modem_wait_for_reply() because it interacts better with the serial
384                         buffer and does more intelligent matching; need to wait for 'OK'
385                         rather than just matching terminators
386                 - (schedule_automatic_registration_again,
387                    automatic_registration_response, automatic_registration): retry
388                         registration a few times on timeout or "searching" because cards
389                         take a bit to find a network after being powered up with CFUN=1
390                 - (power_up_response, power_up, init_full_done, enter_pin,
391                    check_pin_done): power up the card with CFUN=1 before trying to
392                         register with the network
393                 - (init_modem_full, init_modem): use more standard 3G init strings
394
395         * src/nm-hso-gsm-device.c
396                 - (modem_get_reply): remove, unused
397                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
398                         modem_wait_for_reply() to match actual responses instead of single
399                         termination characters; it doesn't leave stuff in the serial buffer
400                         that might confuse later calls
401                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
402                         to ensure that the call is really disconnected and not leave extra
403                         stuff in the serial buffer
404
405         * src/nm-cdma-device.c
406                 - (power_up_response, power_up, init_done): try Sierra-style modem
407                         power up before attempting to connect
408
409 2008-09-27  Dan Williams  <dcbw@redhat.com>
410
411         * libnm-util/nm-setting-gsm.c
412                 - (verify): verify GSM network ID
413
414 2008-09-25  Dan Williams  <dcbw@redhat.com>
415
416         * libnm-util/nm-setting-gsm.c
417           libnm-util/nm-setting-gsm.h
418                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
419                         technology terms (bgo #551361)
420
421 2008-09-25  Dan Williams  <dcbw@redhat.com>
422
423         Fix bgo #549401 (inspired by patch from Alexander Sack)
424
425         * src/nm-device-ethernet.c
426                 - (finish_supplicant_task): clean up scheduled tasks and free memory
427                 - (remove_supplicant_interface_error_handler): remove the supplicant
428                         error idle callback too
429                 - (supplicant_interface_release): rename from supplicant_interface_clean
430                         to match nm-device-wifi.c; clean up supplicant interface-related
431                         state tasks when the supplicant interface is disposed of
432                 - (schedule_state_handler): add scheduled tasks to a list so they can
433                         be cleaned up later
434                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
435                    supplicant_iface_connection_state_cb_handler): use
436                         finish_supplicant_task() to clean up each completed task
437                 - (supplicant_iface_connection_error_cb_handler,
438                    supplicant_connection_timeout_cb): clear source id when the task is
439                         complete
440                 - (supplicant_iface_connection_error_cb): save scheduled task id for
441                         later cleanup
442                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
443                         tasks
444
445         * src/nm-device-wifi.c
446                 - (finish_supplicant_task): clean up scheduled tasks and free memory
447                 - (remove_supplicant_interface_error_handler): remove the supplicant
448                         error idle callback too
449                 - (supplicant_interface_release): clean up supplicant interface-related
450                         state tasks when the supplicant interface is disposed of
451                 - (schedule_state_handler): add scheduled tasks to a list so they can
452                         be cleaned up later
453                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
454                    supplicant_iface_connection_state_cb_handler): use
455                         finish_supplicant_task() to clean up each completed task
456                 - (supplicant_iface_connection_error_cb_handler): clear source id when
457                         the task is complete
458                 - (supplicant_iface_connection_error_cb): save scheduled task id for
459                         later cleanup
460                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
461
462 2008-09-24  Tambet Ingo  <tambet@gmail.com>
463
464         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
465         method and get/set hostname property.
466
467 2008-09-24  Tambet Ingo  <tambet@gmail.com>
468
469         * src/supplicant-manager/nm-supplicant-interface.c
470         (nm_supplicant_interface_disconnect): Don't increment the reference 
471         count when disconnecting. The problem is on shutdown, when the replies
472         to these commands do not arrive before NM exits, resulting on never
473         calling supplicant interface's dispose(), which removes the interface
474         from supplicant.
475
476 2008-09-24  Tambet Ingo  <tambet@gmail.com>
477
478         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
479         all the public function arguments.
480
481 2008-09-22  Tambet Ingo  <tambet@gmail.com>
482
483         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
484         "Failure" signal from VPN plugins, store the failure reason, and
485         use it when the state is changed to failure.
486
487         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
488         description.
489
490         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
491         reason to the end of the list to not break the API.
492         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
493         so it can be shared by plugins and daemon.
494
495 2008-09-18  Dan Williams  <dcbw@redhat.com>
496
497         Patch from Alexander Sack <asac@ubuntu.com>
498
499         * configure.in
500           system-settings/plugins/Makefile.am
501           system-settings/plugins/ifupdown/Makefile.am
502           system-settings/plugins/ifupdown/interface_parser.c
503           system-settings/plugins/ifupdown/interface_parser.h
504           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
505           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
506           system-settings/plugins/ifupdown/parser.c
507           system-settings/plugins/ifupdown/parser.h
508           system-settings/plugins/ifupdown/plugin.c
509           system-settings/plugins/ifupdown/plugin.h
510                 - Implement a Debian/Ubuntu legacy network configuration plugin
511                         (gnome.org #551941)
512
513 2008-09-18  Dan Williams  <dcbw@redhat.com>
514
515         Implement support for honoring configured and automatic hostnames, and for
516         setting the configured hostname.
517
518         * introspection/nm-ip4-config.xml
519           src/nm-ip4-config.c
520           src/nm-ip4-config.h
521           src/dhcp-manager/nm-dhcp-manager.c
522                 - Remove useless hostname property; it's not really part of the IPv4
523                         config
524
525         * introspection/nm-settings-system.xml
526           libnm-glib/nm-dbus-settings-system.c
527           libnm-glib/nm-dbus-settings-system.h
528                 - Add SetHostname() call to system settings D-Bus interface
529                 - Add Hostname property to system settings D-Bus interface
530                 - (nm_dbus_settings_system_save_hostname,
531                    nm_dbus_settings_system_get_hostname): implement
532
533         * src/nm-device.c
534           src/nm-device.h
535                 - (nm_device_get_dhcp4_config): implement
536
537         * src/nm-manager.c
538           src/nm-manager.h
539                 - Fetch and track system settings service hostname changes, and proxy
540                         the changes via a GObject property of the manager
541
542         * system-settings/src/nm-system-config-interface.c
543           system-settings/src/nm-system-config-interface.h
544                 - Replace nm_system_config_interface_supports_add() with a capabilities
545                         bitfield
546
547         * system-settings/src/nm-system-config-error.c
548           system-settings/src/nm-system-config-error.h
549                 - Add additional errors
550
551         * system-settings/src/dbus-settings.c
552           system-settings/src/dbus-settings.h
553                 - (get_property, nm_sysconfig_settings_class_init): add hostname
554                         property; first plugin returning a hostname wins
555                 - (impl_settings_add_connection): use plugin capabilities instead of
556                         nm_system_config_interface_supports_add()
557                 - (impl_settings_save_hostname): implement hostname saving
558
559         * src/NetworkManagerPolicy.c
560                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
561                    lookup_thread_die): implement an asynchronous hostname lookup thread
562                         which given an IPv4 address tries to look up the hostname for that
563                         address with reverse DNS
564                 - (get_best_device): split out best device code from
565                         update_routing_and_dns()
566                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
567                         to preserve the 127.0.0.1 reverse mapping that so many things require
568                 - (set_system_hostname): set a given hostname
569                 - (update_system_hostname): implement hostname policy; a configured
570                         hostname (from the system settings service) is used if available,
571                         otherwise an automatically determined hostname from DHCP, VPN, etc.
572                         If there was no automatically determined hostname, reverse DNS of
573                         the best device's IP address will be used, and as a last resort the
574                         hostname 'localhost.localdomain' is set.
575                 - (update_routing_and_dns): use get_best_device(); update the system
576                         hostname when the network config changes
577                 - (hostname_changed): update system hostname if the system settings
578                         service signals a hostname change
579                 - (nm_policy_new): list for system settings service hostname changes
580                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
581                         gets told to die
582
583         * system-settings/plugins/keyfile/plugin.c
584           system-settings/plugins/ifcfg-suse/plugin.c
585                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
586                         capabilities properties
587
588         * system-settings/plugins/ifcfg-fedora/shvar.c
589                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
590                         writes out /etc/sysconfig/network now
591
592         * system-settings/plugins/ifcfg-fedora/plugin.c
593                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
594                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
595                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
596                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
597                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
598                         hostname get/set and capabilities get
599
600 2008-09-18  Dan Williams  <dcbw@redhat.com>
601
602         * libnm-util/nm-setting-wireless.c
603                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
604                         group ciphers if the wireless-security setting explicitly specified
605                         them, effectively making the default be "all ciphers"  (idea from
606                         Alexander Sack)
607
608 2008-09-15  Dan Williams  <dcbw@redhat.com>
609
610         Patch from Alexander Sack <asac@ubuntu.com>
611
612         * src/named-manager/nm-named-manager.c
613                 - (dispatch_resolvconf): respect resolvconf exit code
614
615 2008-09-12  Tambet Ingo  <tambet@gmail.com>
616
617         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
618         again. Add some debugging.
619
620 2008-09-11  Dan Williams  <dcbw@redhat.com>
621
622         * system-settings/plugins/keyfile/plugin.c
623                 - (update_connection_settings): update connection manually, since
624                         nm_exported_connection_update() does authentication
625                 - (dir_changed): update_connection_settings() doesn't need to return
626                         an error
627
628 2008-09-09  Dan Williams  <dcbw@redhat.com>
629
630         * libnm-glib/nm-vpn-plugin-ui-interface.c
631           libnm-glib/nm-vpn-plugin-ui-interface.h
632           libnm-glib/libnm_glib_vpn.ver
633                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
634                         should clean up resources related to the connection (like keyring
635                         secrets)
636                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
637                         should save user-scope secrets (like to the keyring)
638
639 2008-09-08  Dan Williams  <dcbw@redhat.com>
640
641         Patch from Alexander Sack <asac@ubuntu.com>
642
643         * libnm-util/crypto_gnutls.c
644           libnm-util/crypto_nss.c
645                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
646
647         * libnm-util/nm-utils.c
648           libnm-util/nm-utils.h
649           libnm-util/libnm-util.ver
650                 - (nm_utils_init): initialize libnm-util
651                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
652
653         * libnm-util/nm-setting-8021x.c
654                 - (nm_setting_802_1x_class_init): init libnm-util when needed
655
656 2008-09-05  Dan Williams  <dcbw@redhat.com>
657
658         Patch from Roy Marples <roy@marples.name> and others
659
660         * configure.in
661           src/named-manager/nm-named-manager.c
662                 - Add support for resolvconf; use --with-resolvconf at configure time
663                         to enable it
664
665 2008-09-05  Dan Williams  <dcbw@redhat.com>
666
667         * libnm-util/crypto_nss.c
668           libnm-util/crypto_gnutls.c
669           libnm-util/crypto.h
670                 - (crypto_init): return error when init fails
671
672 2008-09-05  Dan Williams  <dcbw@redhat.com>
673
674         * libnm-glib/nm-device-wifi.c
675                 - (access_point_removed_proxy): clean up the active access point too
676                         just in case the active ap changed signal didn't come through yet
677                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
678
679 2008-09-05  Dan Williams  <dcbw@redhat.com>
680
681         * libnm-glib/nm-client.c
682                 - (constructor): get initial state after we know whether NM is running
683                         or not
684
685 2008-09-05  Dan Williams  <dcbw@redhat.com>
686
687         * libnm-glib/nm-ip4-config.c
688           libnm-glib/nm-dhcp4-config.c
689                 - (finalize): clean up the DBusGProxy
690
691 2008-09-04  Dan Williams  <dcbw@redhat.com>
692
693         * src/nm-ip4-config.c
694           src/nm-ip4-config.h
695                 - (nm_ip4_config_new): don't export over D-Bus here
696                 - (nm_ip4_config_export): new function; export the config over D-Bus
697                 - (nm_ip4_config_is_exported): new function
698
699         * src/nm-device.c
700                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
701                         objects by balancing the IP4Config constructor; the device holds
702                         a reference to the IP4Config already
703                 - (nm_device_set_ip4_config): export the IP4Config when needed
704
705 2008-09-04  Dan Williams  <dcbw@redhat.com>
706
707         * src/supplicant-manager/nm-supplicant-settings-verify.c
708                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
709
710 2008-09-04  Dan Williams  <dcbw@redhat.com>
711
712         * libnm-util/nm-setting-vpn.c
713           libnm-util/nm-setting-vpn.h
714                 - Split VPN secrets from VPN data so that settings services can actually
715                         figure out that they are secrets and store them accordingly
716
717         * system-settings/plugins/keyfile/nm-keyfile-connection.c
718           system-settings/plugins/keyfile/reader.c
719           system-settings/plugins/keyfile/reader.h
720           system-settings/plugins/keyfile/writer.c
721                 - Store VPN secrets separately from VPN data so that they can be fetched
722                         on demand
723                 - Implement the get_secrets() call so that (a) secrets don't leak out
724                         to unprivileged callers, and (b) secrets can be sent to privileged
725                         callers when needed
726
727         * vpn-daemons/vpnc/src/nm-vpnc-service.c
728                 - Handle split VPN secrets
729
730 2008-08-27  Dan Williams  <dcbw@redhat.com>
731
732         * system-settings/plugins/ifcfg-fedora/reader.c
733                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
734
735 2008-08-27  Dan Williams  <dcbw@redhat.com>
736
737         Ensure zombie children get cleaned up.  To get notifications when children
738         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
739         that requires calling waitpid() yourself if you've removed the child watch
740         handler before the process has actually died, which NM needs to do in a few
741         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
742         cleans up after the child when required.  Should fix problems trying to
743         activate mobile broadband connections after a previous failure.
744
745         * src/dhcp-manager/nm-dhcp-dhclient.c
746           src/dhcp-manager/nm-dhcp-dhcpcd.c
747                 - Use G_SPAWN_DO_NOT_REAP_CHILD
748
749         * src/dhcp-manager/nm-dhcp-manager.c
750                 - (nm_dhcp_device_destroy): ensure child is cleaned up
751                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
752                         block on child quitting, since the non-blocking functionality was
753                         never actually used
754
755         * src/dnsmasq-manager/nm-dnsmasq-manager.c
756                 - (dm_watch_cb): child is already reaped here
757                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
758
759         * src/nm-device.c
760                 - (aipd_cleanup): block until child is dead
761
762         * src/named-manager/nm-named-manager.c
763                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
764                         event bothering to watch the child
765
766         * src/ppp-manager/nm-ppp-manager.c
767                 - (ppp_watch_cb): child is already reaped here
768                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
769
770         * src/vpn-manager/nm-vpn-service.c
771                 - (vpn_service_watch_cb): child is already reaped here
772                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
773                         status of the child is actually tracked
774                 - (ensure_killed, finalize): block until child is dead
775
776 2008-08-26  Dan Williams  <dcbw@redhat.com>
777
778         * system-settings/plugins/keyfile/nm-keyfile-connection.c
779                 - (update): Update filename of the connection if the connection id
780                         was changed
781
782         * system-settings/plugins/keyfile/plugin.c
783                 - (dir_changed): first pass at handling connection renames correctly
784
785         * system-settings/plugins/keyfile/writer.c
786           system-settings/plugins/keyfile/writer.h
787                 - (write_connection): replace '/' with '*' when writing out the filename
788                         from the connection id
789
790 2008-08-26  Dan Williams  <dcbw@redhat.com>
791
792         Add connection UUIDs, since connection names can be changed, and since
793         old-style connection IDs could change over the life of the connection.  The
794         UUID should be assigned at connection creation time, be stable for a given
795         connection, and should be unique among all connections for a given settings
796         service.
797
798         * configure.in
799           libnm-util/Makefile.am
800                 - Require libuuid
801
802         * introspection/nm-exported-connection.xml
803                 - Remove "GetID" method
804
805         * libnm-glib/nm-dbus-connection.c
806           libnm-glib/nm-settings.c
807           libnm-glib/nm-settings.h
808                 - Remove id-related stuff
809
810         * libnm-util/nm-utils.c
811           libnm-util/nm-utils.h
812           libnm-util/libnm-util.ver
813                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
814                         utility functions to generate UUIDs
815
816         * libnm-util/nm-setting-connection.c
817           libnm-util/nm-setting-connection.h
818                 - Add 'uuid' member to the connection setting
819                 - (verify): require valid 'uuid' for a valid connection
820
821         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
822           system-settings/plugins/ifcfg-fedora/reader.c
823           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
824           system-settings/plugins/ifcfg-suse/parser.c
825           system-settings/plugins/keyfile/nm-keyfile-connection.c
826           system-settings/src/main.c
827                 - Remove id-related stuff
828                 - Give connections UUIDs where needed
829
830 2008-08-25  Dan Williams  <dcbw@redhat.com>
831
832         * libnm-util/crypto_gnutls.c
833           libnm-util/crypto_nss.c
834                 - (crypto_init, crypto_deinit): refcount init/deinit
835                 - (crypto_md5_hash): allow NULL salt
836
837 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
838
839         * libnm-glib/Makefile.am
840           libnm-util/Makefile.am
841           libnm-glib/libnm_glib.ver
842           libnm-glib/libnm_glib_vpn.ver
843           libnm-util/libnm-util.ver
844                 - Use linker version scripts to control the list of exported 
845                 symbols. List each exported symbol explicitely.
846         * libnm-util/Makefile.am
847                 - Fix compilation of the test-crypto binary. The crypto
848                 functions are no longer part of the libnm-util API. Add 
849                 crypto_*.c to test_crypto_SOURCES and link against the correct
850                 crypto libraries.
851
852 2008-08-19  Dan Williams  <dcbw@redhat.com>
853
854         * configure.in
855           test/Makefile.am
856                 - Don't build test/test-common
857                 - Remove unused stuff
858
859         * test/nm-set-fallback
860           test/nmtestdevices.c
861           test/test-common/.cvsignore
862           test/test-common/Makefile.am
863           test/test-common/test-common.c
864           test/test-common/test-common.h
865                 - delete
866
867 2008-08-18  Dan Williams  <dcbw@redhat.com>
868
869         * libnm-util/nm-utils.c
870           libnm-util/nm-utils.h
871                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
872                         export anything that needs to be converted with this function
873
874         * src/dhcp-manager/nm-dhcp-manager.c
875                 - (garray_to_string): convert a byte array to a UTF-8 string with
876                         minimal validation; the DHCP client sends it in ASCII anyway
877                 - (get_option, copy_option): use garray_to_string()
878
879 2008-08-18  Dan Williams  <dcbw@redhat.com>
880
881         * include/NetworkManager.h
882           introspection/nm-device.xml
883                 - Add a "missing firmware" device state reason
884
885         * src/NetworkManagerSystem.c
886           src/NetworkManagerSystem.h
887                 - (nm_system_device_set_up_down): add a no_firmware argument
888                 - (nm_system_device_set_up_down_with_iface): if the result of setting
889                         IFF_UP is ENOENT, that almost always means missing firmware
890
891         * src/backends/NetworkManagerGeneric.c
892           src/nm-device-ethernet.c
893           src/nm-device-private.h
894           src/nm-device-wifi.c
895           src/nm-device.c
896           src/nm-device.h
897           src/nm-hso-gsm-device.c
898           src/vpn-manager/nm-vpn-connection.c
899                 - Pass no_firmware along; check it where appropriate
900
901 2008-08-18  Dan Williams  <dcbw@redhat.com>
902
903         Patch from Robert Buchholz <rbu@gentoo.org>
904
905         * autogen.sh
906           configure.in
907                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
908                         1003.1-1988, allowing for file names longer than 99 characters
909
910 2008-08-17  Dan Williams  <dcbw@redhat.com>
911
912         * include/NetworkManager.h
913           introspection/nm-device.xml
914           src/nm-gsm-device.c
915                 - Finer-grained GSM registration failure error codes
916
917 2008-08-17  Dan Williams  <dcbw@redhat.com>
918
919         * callouts/Makefile.am
920           src/Makefile.am
921                 - Move dispatcher directory creation to callouts/Makefile.am
922
923         * system-settings/plugins/keyfile/Makefile.am
924                 - Create keyfile connections directory in DESTDIR (bgo #546833)
925
926 2008-08-15  Dan Williams  <dcbw@redhat.com>
927
928         Do connection sharing in a cleaner manner; all required iptables rules
929         are now stored in the activation request and pertain only to the device
930         which is being shared to other computers. (rh #458625)
931
932         * src/nm-activation-request.c
933           src/nm-activation-request.h
934                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
935                         the activation request which will get torn down automatically when
936                         the activation request dies
937                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
938                         is started, and tear them down when sharing is stopped
939
940         * src/nm-device.c
941                 - (start_sharing): start up sharing by doing the required iptables magic
942                 - (share_init): poke the right bits of the kernel and load the right
943                         modules for NAT
944                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
945                         connection if it's a 'shared' connection
946
947         * src/NetworkManagerPolicy.c
948                 - Remove all sharing stuff; done in the device code itself
949
950 2008-08-15  Dan Williams  <dcbw@redhat.com>
951
952         * src/dnsmasq-manager/nm-dnsmasq-manager.c
953                 - (create_dm_cmd_line): send the right router address
954
955 2008-08-15  Dan Williams  <dcbw@redhat.com>
956
957         * src/ppp-manager/nm-ppp-manager.c
958                 - (pppd_timed_out): ensure timeouts fail the connection
959
960 2008-08-14  Dan Williams  <dcbw@redhat.com>
961
962         * src/nm-properties-changed-signal.c
963           src/nm-properties-changed-signal.h
964                 - Add a property spec flag for "don't export this property" in
965                         property changed signals
966
967         * src/nm-hso-gsm-device.c
968           src/nm-gsm-device.c
969           src/nm-cdma-device.c
970                 - Don't export monitor interface or netdev interface properties
971
972 2008-08-14  Dan Williams  <dcbw@redhat.com>
973
974         * src/NetworkManagerPolicy.c
975                 - (update_routing_and_dns): 'hso' devices can be default even if they
976                         don't have a gateway
977
978 2008-08-14  Dan Williams  <dcbw@redhat.com>
979
980         * src/nm-device.c
981                 - (nm_device_deactivate_quickly): tear down activation request after
982                         calling device-specific deactivation
983
984         * src/nm-hso-gsm-device.c
985                 - (real_deactivate_quickly): terminate connection when deactivating
986
987 2008-08-14  Dan Williams  <dcbw@redhat.com>
988
989         * src/nm-activation-request.h
990                 - Add HSO secrets caller
991
992         * src/nm-gsm-device.c
993           src/nm-gsm-device.h
994                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
995                         something to the callback function
996                 - (set_apn, set_apn_done): call class dial function, not a static one
997                 - (nm_gsm_device_class_init): add a class 'dial' function
998
999         * src/nm-hal-manager.c
1000                 - (get_hso_netdev): find the hso-driven hardware's net device
1001                 - (modem_device_creator): recognize hso-driven hardware and create the
1002                         right type of device object for it
1003
1004         * src/Makefile.am
1005           src/nm-hso-gsm-device.c
1006           src/nm-hso-gsm-device.h
1007                 - Implement support for devices driven by the 'hso' driver as a subclass
1008                         of NMGsmDevice
1009
1010 2008-08-14  Dan Williams  <dcbw@redhat.com>
1011
1012         * src/NetworkManagerSystem.c
1013                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1014                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1015                         success if the operation really was successful
1016
1017 2008-08-14  Dan Williams  <dcbw@redhat.com>
1018
1019         * src/nm-netlink-monitor.c
1020           src/nm-netlink-monitor.h
1021           src/nm-device-ethernet.c
1022                 - (nm_netlink_monitor_request_status): return an error on failure
1023                 - (constructor): don't segfault on missing error
1024
1025 2008-08-13  Dan Williams  <dcbw@redhat.com>
1026
1027         * callouts/nm-dispatcher-action.c
1028                 - Add IP4 config info to script environment
1029
1030 2008-08-12  Dan Williams  <dcbw@redhat.com>
1031
1032         * src/nm-device.c
1033                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1034                         that want to use DHCP hostnames should use dispatcher scripts
1035                         for that
1036
1037         * src/NetworkManagerSystem.h
1038           src/backends/NetworkManagerArch.c
1039           src/backends/NetworkManagerDebian.c
1040           src/backends/NetworkManagerFrugalware.c
1041           src/backends/NetworkManagerGeneric.c
1042           src/backends/NetworkManagerGeneric.h
1043           src/backends/NetworkManagerGentoo.c
1044           src/backends/NetworkManagerMandriva.c
1045           src/backends/NetworkManagerPaldo.c
1046           src/backends/NetworkManagerRedHat.c
1047           src/backends/NetworkManagerSlackware.c
1048           src/backends/NetworkManagerSuSE.c
1049                 - Remove nm_system_set_hostname(), no longer used
1050           
1051         * src/backends/Makefile.am
1052           src/backends/shvar.c
1053           src/backends/shvar.h
1054                 - Remove shvar.*; no longer used
1055
1056 2008-08-12  Dan Williams  <dcbw@redhat.com>
1057
1058         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1059         hostname is updated at runtime.  Distros or users who want hostname updates
1060         can use dispatcher scripts to update the hostname if they need it.
1061
1062 2008-08-12  Dan Williams  <dcbw@redhat.com>
1063
1064         * introspection/nm-settings-system.xml
1065           system-settings/src/dbus-settings.c
1066           system-settings/src/dbus-settings.h
1067                 - Add a 'Hostname' property (rw) which represents the configured
1068                         hostname and domain of the system, if any
1069
1070         * system-settings/src/nm-system-config-error.c
1071           system-settings/src/nm-system-config-error.h
1072           system-settings/src/nm-system-config-interface.c
1073           system-settings/src/nm-system-config-interface.h
1074                 - Add a 'hostname' property to the plugin interface
1075                 - Add a method to send updated hostname to plugins to save in their
1076                         backing configuration store
1077
1078         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1079           system-settings/plugins/keyfile/plugin.c
1080           system-settings/plugins/keyfile/writer.c
1081           system-settings/plugins/keyfile/writer.h
1082           system-settings/plugins/ifcfg-suse/plugin.c
1083                 - Add minimal hostname support
1084
1085         * system-settings/plugins/ifcfg-fedora/plugin.c
1086                 - Add support for updating system hostname in /etc/sysconfig/network
1087
1088 2008-08-12  Dan Williams  <dcbw@redhat.com>
1089
1090         * system-settings/plugins/ifcfg-fedora/shvar.c
1091           system-settings/plugins/ifcfg-fedora/shvar.c
1092                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1093
1094 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1095
1096         * Makefile.am: Fix distcheck.
1097
1098 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1099
1100         * libnm-glib/*.c. Document some more.
1101
1102 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1103
1104         Start documenting libnm-glib public API using gtk-doc.
1105
1106         * libnm-glib/nm-serial-device.c: 
1107         * libnm-glib/nm-object.c: 
1108         * libnm-glib/nm-gsm-device.c: 
1109         * libnm-glib/nm-device.c: 
1110         * libnm-glib/nm-device-wifi.c: 
1111         * libnm-glib/nm-device-ethernet.c: 
1112         * libnm-glib/nm-client.c: 
1113         * libnm-glib/nm-cdma-device.c: Document the public API.
1114
1115         * docs/libnm-glib/libnm-glib.types: Implement.
1116
1117         * docs/libnm-glib/Makefile.am: Implement.
1118
1119         * autogen.sh: 
1120         * configure.in: 
1121         * Makefile.am: Add gtk-doc support.
1122
1123 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1124
1125         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1126
1127         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1128         the composite result of all the IP4 configurations and call a distro
1129         specific update_resolv_conf().
1130         (update_resolv_conf): Implement one for directly writing to 
1131         /etc/resolv.conf and one for opensuse to call netconfig.
1132
1133 2008-08-11  Dan Williams  <dcbw@redhat.com>
1134
1135         * src/ppp-manager/nm-ppp-manager.c
1136                 - (impl_ppp_manager_need_secrets): pass interface as required
1137
1138 2008-08-11  Dan Williams  <dcbw@redhat.com>
1139
1140         Merge the vpn-properties setting with the vpn setting since it was pointless
1141         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1142         of string:string (instead of string:variant) so that system settings plugins
1143         can have an easier time dealing with the arbitrary key/value pairs.
1144
1145 2008-08-11  Dan Williams  <dcbw@redhat.com>
1146
1147         * libnm-util/nm-utils.c
1148                 - (nm_utils_register_value_transformations): add value transform for
1149                         a hash table of string:string
1150
1151 2008-08-10  Dan Williams  <dcbw@redhat.com>
1152
1153         * libnm-glib/nm-vpn-plugin.c
1154                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1155                         an idle handler so the Connect reply gets delivered before the
1156                         stop StateChanged signal
1157
1158 2008-08-10  Dan Williams  <dcbw@redhat.com>
1159
1160         * src/nm-ip4-config.c
1161                 - (get_property): use common ip4 address/route conversion functions
1162                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1163                         copy the new route here, not take ownership
1164
1165 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1166
1167         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1168         Update the IP4 setting's method name.
1169
1170 2008-08-07  Dan Williams  <dcbw@redhat.com>
1171
1172         * introspection/nm-ip4-config.xml
1173           libnm-glib/libnm-glib-test.c
1174           libnm-glib/nm-ip4-config.c
1175           libnm-glib/nm-ip4-config.h
1176           src/NetworkManagerSystem.h
1177           src/backends/NetworkManagerArch.c
1178           src/backends/NetworkManagerDebian.c
1179           src/backends/NetworkManagerFrugalware.c
1180           src/backends/NetworkManagerGeneric.c
1181           src/backends/NetworkManagerGeneric.h
1182           src/backends/NetworkManagerGentoo.c
1183           src/backends/NetworkManagerMandriva.c
1184           src/backends/NetworkManagerPaldo.c
1185           src/backends/NetworkManagerRedHat.c
1186           src/backends/NetworkManagerSlackware.c
1187           src/backends/NetworkManagerSuSE.c
1188           src/dhcp-manager/nm-dhcp-manager.c
1189           src/nm-device.c
1190           src/nm-ip4-config.c
1191           src/nm-ip4-config.h
1192                 - Remove NIS logic; should be done from dispatcher scripts instead
1193
1194 2008-08-07  Dan Williams  <dcbw@redhat.com>
1195
1196         * src/dhcp-manager/nm-dhcp-manager.c
1197                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1198                         mis-handling of DHCP responses that returned more than one router
1199                         (found by Grant Williamson)
1200
1201 2008-08-07  Dan Williams  <dcbw@redhat.com>
1202
1203         * callouts/nm-dispatcher-action.c
1204                 - (nm_dispatcher_action): grab device path and create the device; pass
1205                         the device's DHCP4 config to script caller
1206                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1207                         scripts
1208
1209         * libnm-glib/nm-dhcp4-config.c
1210           libnm-glib/nm-dhcp4-config.h
1211                 - (nm_dhcp4_config_get_options): expose
1212                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1213
1214 2008-08-07  Dan Williams  <dcbw@redhat.com>
1215
1216         * include/NetworkManager.h
1217                 - Add the DHCP4Config D-Bus interface
1218
1219         * libnm-glib/Makefile.am
1220           libnm-glib/nm-dhcp4-config.c
1221           libnm-glib/nm-dhcp4-config.h
1222                 - Handle DHCP4 config objects exported by NM over D-Bus
1223
1224         * libnm-glib/nm-device.c
1225           libnm-glib/nm-device.h
1226                 - Add a 'dhcp4-config' property
1227
1228         * libnm-glib/libnm-glib-test.c
1229                 - Print out DHCP4 config for devices
1230                 - Fix some crashes when no connections are active
1231
1232         * src/nm-device-interface.c
1233           src/nm-device.c
1234           src/nm-dhcp4-config.c
1235           src/nm-dhcp4-config.h
1236                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1237                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1238                         doesn't let us do when the property type is G_TYPE_OBJECT
1239
1240 2008-08-07  Dan Williams  <dcbw@redhat.com>
1241
1242         * src/NetworkManager.c
1243           src/NetworkManagerSystem.h
1244           src/backends/NetworkManagerArch.c
1245           src/backends/NetworkManagerDebian.c
1246           src/backends/NetworkManagerFrugalware.c
1247           src/backends/NetworkManagerGeneric.c
1248           src/backends/NetworkManagerGeneric.h
1249           src/backends/NetworkManagerGentoo.c
1250           src/backends/NetworkManagerMandriva.c
1251           src/backends/NetworkManagerPaldo.c
1252           src/backends/NetworkManagerRedHat.c
1253           src/backends/NetworkManagerSlackware.c
1254           src/backends/NetworkManagerSuSE.c
1255                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1256
1257 2008-08-06  Dan Williams  <dcbw@redhat.com>
1258
1259         * libnm-glib/nm-ip4-config.c
1260           libnm-glib/nm-ip4-config.h
1261                 - Add 'routes' property
1262
1263         * libnm-util/nm-setting-vpn.c
1264           libnm-util/nm-setting-vpn.h
1265                 - Remove 'routes' property
1266
1267         * libnm-util/nm-setting-ip4-config.c
1268           libnm-util/nm-setting-ip4-config.h
1269                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1270                 - Add 'ignore-auto-routes' property
1271                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1272                         accomodate route metrics
1273                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1274
1275         * libnm-util/nm-utils.c
1276           libnm-util/nm-utils.h
1277                 - Add helpers for marshalling IP4 routes
1278
1279         * src/NetworkManagerUtils.c
1280                 - (nm_utils_merge_ip4_config): handle property renames and new route
1281                         structure
1282
1283         * src/NetworkManagerSystem.c
1284                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1285                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1286
1287         * src/dhcp-manager/nm-dhcp-manager.c
1288                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1289
1290         * system-settings/plugins/ifcfg-fedora/reader.c
1291           system-settings/plugins/ifcfg-fedora/writer.c
1292                 - Handle routes separately from addresses now that routes have a different
1293                         format
1294
1295         * introspection/nm-ip4-config.xml
1296           src/nm-ip4-config.c
1297           src/nm-ip4-config.h
1298                 - Rename internal routing functions
1299                 - 'static-routes' renamed to 'routes'
1300
1301 2008-08-04  Dan Williams  <dcbw@redhat.com>
1302
1303         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1304
1305         * src/NetworkManager.c
1306           src/nm-manager.c
1307           src/nm-manager.h
1308                 - More explicitly make the NMManager a singleton
1309
1310 2008-08-04  Dan Williams  <dcbw@redhat.com>
1311
1312         * libnm-util/nm-connection.c
1313           libnm-util/nm-connection.h
1314                 - (nm_connection_verify): return error on missing 'connection' setting
1315                         (found by Sjoerd Simons)
1316
1317 2008-08-04  Dan Williams  <dcbw@redhat.com>
1318
1319         Handle multiple concurrent PPP connections.
1320
1321         * src/ppp-manager/nm-ppp-manager.c
1322           src/ppp-manager/nm-ppp-manager.h
1323                 - (constructor): only PPP Manager request bus name once; each
1324                         NMPPPManager object gets a unique object path
1325                 - (nm_ppp_manager_class_init, get_property, set_property,
1326                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1327                         at construct time
1328                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1329                         remove timeout until PPP manager gets an IP4 config
1330                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1331                         the plugin can call back to this specific PPP manager instance
1332
1333         * src/nm-device-ethernet.c
1334           src/nm-serial-device.c
1335                 - Pass parent device in nm_ppp_manager_new()
1336
1337         * src/nm-gsm-device.c
1338           src/nm-cdma-device.c
1339                 - (device_state_changed): don't close serial device on NEED_AUTH
1340                         state changed, that's not a failure case like the rest are
1341
1342         * src/ppp-manager/nm-pppd-plugin.c
1343                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1344                         binds one interface to any pppd process, thus the correct index
1345                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1346                         problems; try harder to get a peer address in spite of pppd
1347                 - (plugin_init): use 'ipparam' as the object path back to our specific
1348                         PPP manager instance
1349
1350 2008-08-04  Dan Williams  <dcbw@redhat.com>
1351
1352         * src/ppp-manager/nm-ppp-manager.c
1353                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1354                         since the GSM and CDMA settings now implement need_secrets, we can
1355                         rely on them to do the right thing.  Where secrets are not required,
1356                         just pass empty strings back to the pppd plugin.
1357                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1358                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1359                         on successful IP4 config receipt
1360
1361 2008-08-04  Dan Williams  <dcbw@redhat.com>
1362
1363         * libnm-util/nm-setting-cdma.c
1364           libnm-util/nm-setting-gsm.c
1365                 - (verify): validate username & password if they exist
1366                 - (need_secrets): if username given, require a password too
1367
1368 2008-08-04  Dan Williams  <dcbw@redhat.com>
1369
1370         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1371                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1372                         manpage says about --listen-address without --interface
1373                         (bgo #546033)
1374
1375 2008-08-01  Dan Williams  <dcbw@redhat.com>
1376
1377         * libnm-glib/nm-device.c
1378                 - (proxy_get_string): util function for querying a HAL property
1379                 - (get_ancestor_device): split out from get_product_and_vendor()
1380                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1381                         from PCI devices by querying subsys properties
1382                 - (nm_device_update_description): simplify
1383
1384 2008-08-01  Dan Williams  <dcbw@redhat.com>
1385
1386         * libnm-util/nm-setting-ip4-config.c
1387           libnm-util/nm-setting-ip4-config.h
1388                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1389                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1390                         settings, and they don't necessarily use DHCP.
1391
1392         * src/NetworkManagerPolicy.c
1393           src/nm-device.c
1394           system-settings/plugins/ifcfg-fedora/reader.c
1395           system-settings/plugins/ifcfg-suse/parser.c
1396                 - Fixup for method changes
1397
1398 2008-07-31  Dan Williams  <dcbw@redhat.com>
1399
1400         * src/nm-activation-request.c
1401           src/vpn-manager/nm-vpn-connection.c
1402                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1403                         itself should be attached to the activation request or the VPN
1404                         connection, not the NMConnection object, since the call is not
1405                         expected to live as long as the NMConnection itself
1406
1407 2008-07-31  Dan Williams  <dcbw@redhat.com>
1408
1409         * src/nm-device-wifi.c
1410                 - (real_act_stage2_config): fix issue where association would continue
1411                         even though secrets were needed; 'goto out' was in wrong scope and
1412                         result of handle_auth_or_fail() should have been dumped directly to
1413                         'ret' to ensure that the association was postponed until secrets
1414                         are available
1415
1416 2008-07-31  Dan Williams  <dcbw@redhat.com>
1417
1418         * system-settings/plugins/ifcfg-fedora/plugin.c
1419           system-settings/plugins/ifcfg-fedora/reader.c
1420                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1421                         valid NM connection
1422
1423 2008-07-29  Dan Williams  <dcbw@redhat.com>
1424
1425         * src/nm-gsm-device.c
1426                 - (automatic_registration_response, automatic_registration): recognize
1427                         denied registration and reorder responses
1428
1429 2008-07-29  Dan Williams  <dcbw@redhat.com>
1430
1431         * src/nm-serial-device.c
1432                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1433                         time(2) is used for current time, which returns seconds, we shouldn't
1434                         be multiplying by 1000.
1435
1436 2008-07-28  Dan Williams  <dcbw@redhat.com>
1437
1438         Patch from Fabrice Bellet <fabrice@bellet.info>
1439
1440         * src/NetworkManagerSystem.c
1441                 - (route_in_same_subnet): mask addresses and compare them so that the
1442                         function actually does what it says it's going to do (rh #456685)
1443
1444 2008-07-27  Dan Williams  <dcbw@redhat.com>
1445
1446         * libnm-util/nm-setting-ip6-config.c
1447                 - (set_property): add missing break that caused routes to be overwritten
1448                         with addresses
1449
1450         * libnm-util/nm-setting-ip6-config.c
1451                 - (verify): validate routes and return GError everywhere on invalid setting
1452                 - (finalize): don't leak routes
1453                 - (set_property): add missing break that caused routes to be overwritten
1454                         with addresses
1455
1456 2008-07-27  Dan Williams  <dcbw@redhat.com>
1457
1458         * libnm-util/*
1459                 - Relicense to LGPLv2+
1460
1461 2008-07-27  Dan Williams  <dcbw@redhat.com>
1462
1463         * system-settings/plugins/ifcfg-fedora/reader.c
1464                 - (make_ip4_setting): fix parsing automatic configs
1465
1466 2008-07-27  Dan Williams  <dcbw@redhat.com>
1467
1468         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1469           src/nm-device.c
1470           src/ppp-manager/nm-ppp-manager.c
1471                 - Ensure child process gets reaped.  The child watch function may be
1472                         removed from the mainloop before the child gets killed, so we have
1473                         to make sure the child is reaped when it's told to die intentionally
1474
1475 2008-07-27  Dan Williams  <dcbw@redhat.com>
1476
1477         Patch from Roy Marples <roy@marples.name>
1478
1479         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1480                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1481
1482 2008-07-27  Dan Williams  <dcbw@redhat.com>
1483
1484         * src/nm-gsm-device.c
1485                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1486                         Huawei devices turn echo back on after CPIN (rh #456770)
1487
1488 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1489
1490         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1491         format argument to g_set_error() call.
1492
1493         * src/backends/interface_parser.[ch]: Remove.
1494
1495         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1496
1497 2008-07-21  Dan Williams  <dcbw@redhat.com>
1498
1499         * src/ppp-manager/nm-ppp-manager.c
1500                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1501                         to prevent pppd from picking up some random local address from an
1502                         interface that doesn't have anything to do with the one we're
1503                         interested in (rh #455348)
1504
1505 2008-07-17  Dan Williams  <dcbw@redhat.com>
1506
1507         * libnm-util/nm-utils.c
1508                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1509                         by locale
1510                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1511                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1512
1513 2008-07-17  Dan Williams  <dcbw@redhat.com>
1514
1515         * introspection/Makefile.am
1516           introspection/nm-device.xml
1517           introspection/nm-dhcp4-config.xml
1518                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1519                         itself
1520         * src/nm-device-interface.c
1521           src/nm-device-interface.h
1522                 - Add the DHCP4Config property
1523
1524         * src/nm-device.c
1525                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1526                         D-Bus clients when it changes
1527
1528         * src/nm-dhcp4-config.c
1529           src/nm-dhcp4-config.h
1530                 - Simple object to store DHCP4 options, export them over D-Bus, and
1531                         notify when they change
1532
1533         * src/dhcp-manager/nm-dhcp-manager.c
1534           src/dhcp-manager/nm-dhcp-manager.h
1535                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1536                         filter server-returned DHCP options into an NMDHCP4Config object
1537
1538 2008-07-16  Dan Williams  <dcbw@redhat.com>
1539
1540         * introspection/nm-device.xml
1541                 - Add device state reasons
1542
1543 2008-07-16  Dan Williams  <dcbw@redhat.com>
1544
1545         Patch from Roy Marples <roy@marples.name>
1546
1547         * configure.in
1548                 - Add --with-dhcp-client option
1549
1550         * src/dhcp-manager/Makefile.am
1551                 - pass DHCP_CLIENT_PATH on compile line
1552
1553         * src/dhcp-manager/nm-dhcp-manager.c
1554           src/dhcp-manager/nm-dhcp-manager.h
1555                 - Genericize for both dhcpcd and dhclient
1556
1557         * src/dhcp-manager/nm-dhcp-dhclient.c
1558                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1559
1560         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1561                 - Implement support for dhcpcd too
1562
1563 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1564
1565         * system-settings/src/nm-system-config-interface.c 
1566         (nm_system_config_interface_supports_add): Implement.
1567         (nm_system_config_interface_add_connection): Return a boolean to notify
1568         of errors.
1569
1570         * system-settings/src/nm-polkit-helpers.c: 
1571         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1572         a separate file.
1573
1574         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1575         Return an error when none of the plugins support add or if addition
1576         failed for some reason.
1577
1578         * system-settings/src/nm-system-config-error.h: 
1579         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1580         here from nm-polkit-helpers.[ch].
1581
1582         * system-settings/src/Makefile.am: Build new files.
1583
1584         * system-settings/plugins/keyfile/reader.c 
1585         (read_array_of_array_of_uint): Make it more general so that it would
1586         work for routes as well.
1587
1588         * system-settings/plugins/keyfile/writer.c
1589         (write_array_of_array_of_uint): Ditto.
1590         Fix the netmask/prefix writing.
1591
1592         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1593         boolean to notify errors.
1594
1595         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1596         Return more specific error.
1597         (delete): Ditto.
1598
1599 2008-07-11  Dan Williams  <dcbw@redhat.com>
1600
1601         Modify the NMDevice::state-changed signal to include the previous state
1602         and reason. Enables the applet to provide more information why device
1603         activation failed.
1604
1605 2008-07-09  Dan Williams  <dcbw@redhat.com>
1606
1607         * callouts/Makefile.am
1608           callouts/nm-avahi-autoipd-action.c
1609           callouts/nm-avahi-autoipd.conf
1610                 - avahi-autoipd callout to send options back to NM
1611
1612         * src/autoip.c
1613           src/autoip.h
1614                 - remove
1615
1616         * src/nm-device.c
1617           src/nm-device-private.h
1618           src/nm-manager.c
1619                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1620                         old custom stuff
1621
1622 2008-07-07  Dan Williams  <dcbw@redhat.com>
1623
1624         * system-settings/plugins/ifcfg-fedora/reader.c
1625                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1626                         handle PREFIX too; clean up
1627
1628 2008-07-07  Dan Williams  <dcbw@redhat.com>
1629
1630         Convert to using IPv4 prefixes instead of netmasks.
1631
1632 2008-07-03  Dan Williams  <dcbw@redhat.com>
1633
1634         * libnm-util/nm-setting-ip4-config.c
1635           libnm-util/nm-setting-ip4-config.h
1636                 - Add properties for DHCP Client Identifier and DHCP Hostname
1637
1638         * src/dhcp-manager/nm-dhcp-manager.c
1639           src/dhcp-manager/nm-dhcp-manager.h
1640                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1641                         setting as an argument to pass on to the dhclient config file
1642                         creation function
1643                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1644                         DHCP is torn down
1645                 - (dhclient_run): punt config file handling to create_dhclient_config()
1646                 - (create_dhclient_config): create an interface-specific dhclient
1647                         config file since there may need to be interface-specific options
1648                         passed to dhclient
1649                 - (merge_dhclient_config): merge normal distro dhclient config file and
1650                         add options from the connection
1651                 - (nm_dhcp_device_new): generate the interface specific dhclient
1652                         config file path once
1653                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1654                         dhclient config file path
1655
1656         * src/nm-device.c
1657                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1658                         DHCP manager when starting DHCP
1659
1660 2008-07-02  Dan Williams  <dcbw@redhat.com>
1661
1662         * libnm-util/nm-setting-8021x.c
1663                 - (verify): allow forcing the PEAP label to 0
1664
1665 2008-07-02  Dan Williams  <dcbw@redhat.com>
1666
1667         * introspection/nm-active-connection.xml
1668           introspection/nm-vpn-connection.xml
1669           libnm-glib/nm-active-connection.c
1670           src/nm-activation-request.c
1671           src/nm-active-connection.h
1672           src/vpn-manager/nm-vpn-connection.c
1673                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1674                         and libnm-glib API since sharing didn't get implemented that way
1675
1676 2008-07-02  Dan Williams  <dcbw@redhat.com>
1677
1678         * src/nm-device-wifi.c
1679                 - (can_scan): don't scan when a shared connection is activated since
1680                         that makes drivers mad (causing disconnects); also NM doesn't need
1681                         to hedge against disconnects by keeping up-to-date network topology
1682                         because the connection originates from the local machine, and thus
1683                         there should be no disconnects
1684
1685 2008-07-01  Dan Williams  <dcbw@redhat.com>
1686
1687         Fix mobile broadband username/password issues.  NM was never requesting
1688         mobile broadband secrets, nor was it passing back the username and password
1689         if it had them.
1690
1691         * marshallers/nm-marshal.list
1692                 - Add some new types for activation request objects
1693
1694         * src/nm-activation-request.c
1695           src/nm-activation-request.h
1696                 - (get_secrets_cb): pass the caller type in the signal
1697                 - (nm_act_request_request_connection_secrets): take a caller type, so
1698                         that GetSecrets() reply handlers know who asked for the secrets in
1699                         the first place; use secret hints too so the settings service can
1700                         figure out exactly what NM wants (ie, PIN or the PPP password)
1701
1702         * src/ppp-manager/nm-ppp-manager.c
1703           src/ppp-manager/nm-ppp-manager.h
1704                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1705                         detect needed secrets when the secret could be blank, like GSM/CDMA
1706                         passwords.  So always ask for secrets, and send a hint as to what
1707                         secret we really want.
1708                 - (nm_ppp_manager_update_secrets): make function more generic by making
1709                         the device specific class figure out the username and password, and
1710                         accept an error argument to return back over D-Bus
1711
1712         * src/nm-device-wifi.c
1713                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1714                         nm_act_request_request_connection_secrets()
1715                 - (real_connection_secrets_updated): update for 'caller' changes
1716
1717         * src/nm-device.c
1718           src/nm-device.h
1719                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1720                         for 'caller' changes
1721
1722         * src/nm-device-ethernet.c
1723                 - (real_connection_secrets_updated): update for 'caller' changes and
1724                         move logic for getting PPPoE username and password here before
1725                         calling nm_ppp_manager_update_secrets()
1726                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1727                         nm_act_request_request_connection_secrets()
1728
1729         * src/nm-cdma-device.c
1730                 - (real_connection_secrets_updated): pass username and password back
1731                         to the PPP manager when required
1732
1733         * src/nm-gsm-device.c
1734                 - (enter_pin): send the required secret name to the settings service
1735                 - (real_connection_secrets_updated): pass username and password back
1736                         to the PPP manager when required
1737
1738 2008-06-30  Dan Williams  <dcbw@redhat.com>
1739
1740         * src/nm-device-wifi.c
1741                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1742
1743 2008-06-30  Dan Williams  <dcbw@redhat.com>
1744
1745         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1746         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1747         priv->supplicant.iface.  When either condition is false, the device should
1748         transition back to UNAVAILABLE because it cannot be used.
1749
1750         * src/nm-device-wifi.c
1751                 - (constructor): cleanup; connect to supplicant manager here since the
1752                         supplicant manager is always around
1753                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1754                         ensure the supplicant manager is in the IDLE state
1755                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1756                         cancel any pending scans too
1757                 - (real_bring_up): don't set up the supplicnat interface here, because
1758                         we need the supplicant interface at times when the device may not
1759                         be "up"
1760                 - (real_take_down): just remove the periodic source
1761                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1762                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1763                         do anything if there's no supplicant interface
1764                 - (cleanup_association_attempt): cleanup
1765                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1766                         the interface enters the READY state; transition to UNAVAILABLE
1767                         state when the interface goes down because the device can't be used
1768                         without a supplicant interface
1769                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1770                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1771                         acquire the supplicant interface and transition to DISCONNECTED
1772                         if the radio isn't killed
1773                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1774                 - (state_changed_cb): release any existing supplicant interface; if the
1775                         radio is enabled then try to acquire a new supplicant interface;
1776                         if the radio is enabled and a supplicant interface has been acquired,
1777                         we can transition to DISCONNECTED
1778                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1779                         don't enable the radio, because HAL probably lied to us about the
1780                         killswitch being off.  If bringing the hardware up worked, then
1781                         try to grab a supplicant interface, and if that was successful,
1782                         transition to DISCONNECTED
1783
1784 2008-06-30  Dan Williams  <dcbw@redhat.com>
1785
1786         * src/supplicant-manager/nm-supplicant-interface.c
1787                 - (request_scan_results, nm_supplicant_interface_dispose,
1788                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1789                         the id of the timeout, not a GSource
1790
1791 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1792
1793         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1794         bunch of typoes introduced by "Patch from David Cantrell 
1795         <dcantrell@redhat.com> and me".
1796
1797 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1798
1799         * src/nm-serial-device.c: 
1800         * src/nm-gsm-device.c: 
1801         * src/nm-cdma-device.c: Move the pending call handling to a common location
1802         in serial device. Handle setting device state to failed in one place as well.
1803
1804 2008-06-29  Dan Williams <dcbw@redhat.com>
1805
1806         * src/nm-hal-manager.c
1807                 - Rework killswitch handling to query killswitch status immediately
1808                         when the first killswitch is added, so that rfkill state is
1809                         known as early as possible
1810                 - Also treat failure of GetPower() as rfkill when the dbus method
1811                         call times out (but not when the HAL callout returns an error)
1812
1813 2008-06-26  Dan Williams <dcbw@redhat.com>
1814
1815         Patch from David Cantrell <dcantrell@redhat.com> and me
1816
1817         * include/nm-dbus-glib-types.h
1818                 - Add IP6 address types
1819
1820         * libnm-util/Makefile.am
1821           libnm-util/nm-setting-ip6-config.c
1822           libnm-util/nm-setting-ip6-config.h
1823                 - Add IP6 settings object
1824
1825         * libnm-util/nm-connection.c
1826                 - (register_default_settings): register ip6 settings object
1827
1828         * libnm-util/nm-utils.c
1829           libnm-util/nm-utils.h
1830                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1831                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1832                         ip6 address conversion functions
1833         
1834 2008-06-26  Dan Williams <dcbw@redhat.com>
1835
1836         Patch from David Cantrell <dcantrell@redhat.com>
1837         
1838         * Use inet_ntop() and inet_pton() everwhere and check for errors
1839
1840 2008-06-26  Dan Williams <dcbw@redhat.com>
1841
1842         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1843
1844 2008-06-26  Dan Williams <dcbw@redhat.com>
1845
1846         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1847
1848         * src/nm-device-wifi.c
1849                 - (link_timeout_cb): don't ignore disconnects due to scanning
1850                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1851                         a longer timeout when scanning; avoids case where supplicant can't
1852                         find the AP and just keeps scanning forever but isn't connected
1853
1854 2008-06-26  Dan Williams <dcbw@redhat.com>
1855
1856         Patch from Michael Biebl <biebl@debian.org>
1857
1858         * Clean up build system stuff
1859
1860 2008-06-23  Christian Persch  <chpe@gnome.org>
1861
1862         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1863         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1864         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1865         (impl_get_object):
1866         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1867         (impl_get_object):
1868         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1869         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1870         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1871         (impl_get_object):
1872         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1873         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1874         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1875         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1876         * vpn-daemons/pptp/properties/vpnui_opt.c:
1877         (vpnui_opt_connect_signals):
1878         * vpn-daemons/pptp/properties/vpnui_opt.h:
1879         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1880         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1881         deprecated gtk type macros. Bug #539325.
1882
1883 2008-06-20  Dan Williams  <dcbw@redhat.com>
1884
1885         * libnm-glib/nm-vpn-plugin-ui-interface.c
1886           libnm-glib/nm-vpn-plugin-ui-interface.h
1887                 - 'validity-changed' -> 'changed' to work better with the connection
1888                         editor.  Plugin UI widgets should emit 'changed' whenever their
1889                         UI values change in a meaningful way.
1890                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1891                         update_connection member now returns validity of the UI widget
1892
1893 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1894
1895         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1896
1897 2008-06-17  Dan Williams  <dcbw@redhat.com>
1898
1899         * libnm-glib/nm-vpn-plugin-ui-interface.c
1900           libnm-glib/nm-vpn-plugin-ui-interface.h
1901                 - Add "desc" property for longer descriptions of the VPN plugin
1902
1903 2008-06-16  Dan Williams  <dcbw@redhat.com>
1904
1905         * configure.in
1906           libnm-glib/libnm_glib_vpn.pc.in
1907                 - add a .pc file for libnm_glib_vpn
1908
1909         * libnm-glib/nm-vpn-plugin-ui-interface.c
1910           libnm-glib/nm-vpn-plugin-ui-interface.h
1911                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1912                         rework it substantially
1913
1914 2008-06-12  Dan Williams  <dcbw@redhat.com>
1915
1916         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1917         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
1918         returns a descriptive GError when verification fails.
1919
1920 2008-06-11  Dan Williams  <dcbw@redhat.com>
1921
1922         Patch from Tambet Ingo <tambet@gmail.com>
1923
1924         * libnm-util/nm-setting-gsm.c
1925                 - (verify): validate APN
1926
1927         * src/nm-gsm-device.c
1928                 - (manual_registration_done): start setting APN if needed
1929                 - (set_apn, set_apn_done): set the APN
1930                 - (do_dial): use the APN when dialing
1931
1932 2008-06-11  Dan Williams  <dcbw@redhat.com>
1933
1934         * src/NetworkManagerSystem.c
1935                 - (nm_system_device_set_ip4_route,
1936                    nm_system_device_replace_default_ip4_route): check for the right
1937                         return value from rtnl_route_add() to know when to add a gateway
1938                         route (from Tambet)
1939
1940 2008-06-11  Dan Williams  <dcbw@redhat.com>
1941
1942         * src/NetworkManagerPolicy.c
1943                 - do_ipt_cmd -> do_cmd
1944                 - (sharing_init): use do_cmd() instead of system()
1945
1946 2008-06-10  Dan Williams  <dcbw@redhat.com>
1947
1948         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
1949         and use "wifi" everwhere instead.
1950
1951 2008-06-10  Dan Williams  <dcbw@redhat.com>
1952
1953         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
1954
1955 2008-06-10  Dan Williams  <dcbw@redhat.com>
1956
1957         Patch from Tambet Ingo <tambet@gmail.com>
1958
1959         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1960                 changes.
1961
1962         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1963                 a signal to emit these changes over dbus.
1964
1965         * src/Makefile.am: Genereate nm-serial-device-glue.
1966
1967         * libnm-glib/nm-serial-device.[ch]: Implement.
1968
1969         * libnm-glib/nm-cdma-device.[ch]
1970           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
1971
1972         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
1973
1974         * introspection/nm-device-serial.xml: Implement.
1975
1976         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
1977
1978         * introspection/Makefile.am: Add nm-device-serial.xml.
1979
1980         * include/NetworkManager.h: Add a DBus interface for serial device.
1981
1982 2008-06-10  Dan Williams  <dcbw@redhat.com>
1983
1984         * configure.in
1985                 - Add TARGET_* define to config.h to distinguish distros
1986
1987         * src/dhcp-manager/nm-dhcp-manager.c
1988                 - (dhclient_run): use distro-specific path for dhclient config file
1989
1990 2008-06-09  Dan Williams  <dcbw@redhat.com>
1991
1992         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1993           src/dnsmasq-manager/nm-dnsmasq-manager.h
1994                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
1995                         calculate the addresses passed to dnsmasq instead of hard-coding
1996                         them
1997
1998         * src/nm-device.c
1999                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2000                         IP addresses for shared connections to guard against shared
2001                         connection address collisions
2002                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2003                         error conditions
2004                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2005                         the dnsmasq manager
2006
2007 2008-06-09  Dan Williams  <dcbw@redhat.com>
2008
2009         * src/NetworkManagerPolicy.c
2010                 - (update_routing_and_dns): set the default connection _after_ unsetting
2011                         default on all non-default connections so that two connections can
2012                         never be default at the same time
2013                 - (device_state_changed): start and stop connection sharing when
2014                         needed
2015                 - (active_connection_default_changed): restart or stop sharing when
2016                         the default connection changes to keep shared connections always
2017                         NAT-ed through the default connection
2018                 - (check_sharing): handle activation/deactivation of shared connections
2019                 - (sharing_restart): atom-bomb approach to connection sharing until we
2020                         can use libnl; reinit all sharing when the default connection or
2021                         shared connections change
2022                 - (sharing_init, sharing_stop): evil functions that init and deinit
2023                         iptables
2024
2025 2008-06-09  Dan Williams  <dcbw@redhat.com>
2026
2027         * src/nm-activation-request.c
2028           src/nm-activation-request.h
2029                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2030                    nm_act_request_get_device): new functions to facilitate connection
2031                         sharing
2032
2033 2008-06-09  Dan Williams  <dcbw@redhat.com>
2034
2035         * src/nm-device.c
2036                 - (clear_act_request): unset the 'default' property of the activation
2037                         request when clearing it to ensure the property changed signal gets
2038                         delivered and handled
2039
2040 2008-06-09  Dan Williams  <dcbw@redhat.com>
2041
2042         * libnm-glib/nm-device-802-11-wireless.c
2043                 - (access_point_removed_proxy): actually unref the AP after removing
2044                         it from the device's AP list.  Fixes refcounting bug for APs that
2045                         caused them to get mixed up in the applet's menu.
2046
2047 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2048
2049         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2050         (nm_dhcp_device_destroy): Destroy the device options hash table.
2051
2052 2008-06-06  Dan Williams <dcbw@redhat.com>
2053
2054         * system-settings/src/nm-polkit-helpers.c
2055                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2056                         unref the context if the initialization fails; also avoid spew when
2057                         the error isn't set
2058
2059 2008-06-06  Dan Williams <dcbw@redhat.com>
2060
2061         Patch from Tambet Ingo  <tambet@gmail.com>
2062
2063         * src/NetworkManagerSystem.c
2064           src/NetworkManagerSystem.h
2065                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2066                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2067                 - (nm_system_device_set_ip4_route): clean up
2068                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2069
2070         * src/nm-device.c
2071                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2072
2073         * src/vpn-manager/nm-vpn-connection.c
2074                 - (ip_address_to_string): new function
2075                 - (print_vpn_config): use ip_address_to_string
2076                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2077                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2078
2079         * include/NetworkManagerVPN.h
2080                 - Add 'routes' key
2081
2082 2008-06-05  Dan Williams <dcbw@redhat.com>
2083
2084         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2085
2086         * test/nm-tool.c
2087                 - Show which device is the default device
2088
2089 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2090
2091         Fix memory leaks.
2092
2093         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2094         Free data returned from dbus method call.
2095
2096         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2097         dbus_g_method_get_sender() returns a duplicated string, free it 
2098         when done.
2099         (check_polkit_privileges): Looks like policykit sometimes returns
2100         error and non-null return value, don't leak errors in that case.
2101
2102         * system-settings/src/main.c (find_plugin): Don't leak existing 
2103         plugin names.
2104         (load_stuff): Don't leak device list and list items.
2105         (have_connection_for_device): Don't leak connection list.
2106
2107         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2108         Free the data received from g_keyfile_get_*.
2109
2110         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2111         the key when the security object is updated.
2112
2113         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2114         Free data returned from dbus method call.
2115         (iface_state_cb): Ditto.
2116         (add_network_cb): Ditto.
2117         (nm_supplicant_interface_add_cb): Don't make another copy of already
2118         duplicated object path.
2119         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2120         when done.
2121
2122         * src/supplicant-manager/nm-supplicant-config.c 
2123         (ADD_STRING_LIST_VAL): Fix a memory leak.
2124
2125         * src/nm-manager.c (free_get_settings_info): Free the allocated
2126         memory slice.
2127         (list_connections_cb): Free data returned from dbus method call.
2128         (system_settings_get_unmanaged_devices_cb): Ditto.
2129
2130         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2131
2132         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2133         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2134         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2135         of the GList.
2136
2137         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2138         arguments after the object is created.
2139
2140 2008-06-04  Dan Williams <dcbw@redhat.com>
2141
2142         * libnm-util/Makefile.am
2143                 - Don't distribute nm-param-spec-specialized.h
2144
2145 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2146
2147         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2148
2149         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2150         NMIP4Address, update the getters and setters.
2151
2152         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2153         Use the updated NMIP4Config routes api.
2154
2155         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2156         static routes as well.
2157
2158         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2159         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2160         routes api.
2161
2162 2008-05-30  Dan Williams <dcbw@redhat.com>
2163
2164         * src/named-manager/nm-named-manager.c
2165           src/named-manager/nm-named-manager.h
2166                 - Remove stale/obsolete bits for controlling bind over DBus
2167
2168 2008-05-29  Dan Williams <dcbw@redhat.com>
2169
2170         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2171           src/dnsmasq-manager/nm-dnsmasq-manager.h
2172                 - (nm_dnsmasq_manager_new): move iface argument here
2173                 - (constructor): remove, not needed
2174                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2175                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2176
2177         * src/nm-device.c
2178                 - (real_act_stage4_get_ip4_config,
2179                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2180                         changes
2181
2182 2008-05-29  Dan Williams <dcbw@redhat.com>
2183
2184         * src/nm-device.c
2185                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2186                         something happens to dnsmasq
2187                 - (nm_device_new_ip4_shared_config): new function; create a new
2188                         ip4-config for shared connections.  Shared connections always use a
2189                         fixed static IP address.
2190                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2191                         autoip connections by actually using the returned ip4-config and
2192                         not leaking it
2193                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2194                         connections
2195                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2196                         if its active
2197
2198 2008-05-29  Dan Williams <dcbw@redhat.com>
2199
2200         * src/nm-device-802-11-wireless.c
2201                 - (real_get_best_auto_connection): auto-activate 'shared' method
2202                         connections too
2203
2204 2008-05-29  Dan Williams <dcbw@redhat.com>
2205
2206         * libnm-util/nm-setting-ip4-config.c
2207           libnm-util/nm-setting-ip4-config.h
2208                 - Add a 'shared' method to indicate that this connection should be
2209                         brought up with a DHCP and proxy DNS server to facilitate
2210                         connection sharing.
2211                 - (verify): 'shared' method doesn't allow DNS or searches either
2212
2213 2008-05-29  Dan Williams <dcbw@redhat.com>
2214
2215         * configure.in
2216           src/Makefile.am
2217           src/dnsmasq-manager/Makefile.am
2218           src/dnsmasq-manager/nm-dnsmasq-manager.c
2219           src/dnsmasq-manager/nm-dnsmasq-manager.h
2220                 - Add a dnsmasq daemon manager to facilitate connection sharing
2221
2222 2008-05-29  Dan Williams <dcbw@redhat.com>
2223
2224         * src/nm-device-private.h
2225                 - Remove unused prototypes and clean up
2226
2227         * src/nm-device.c
2228                 - Remove anything related to system_config_data, which is no longer used
2229                 - (nm_device_new_ip4_autoip_config): make static
2230
2231 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2232
2233         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2234         (file_changed): Fix a bug where suse system settings plugin didn't
2235         update the connections automatically when the files changed.
2236
2237 2008-05-28  Dan Williams  <dcbw@redhat.com>
2238
2239         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2240
2241 2008-05-28  Dan Williams  <dcbw@redhat.com>
2242
2243         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2244
2245         * src/NetworkManagerSystem.c
2246                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2247                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2248                         was causing -EINVAL errors since the libnl code actually does flush
2249                         the routes on VPN interfaces now
2250
2251         * src/backends/NetworkManagerArch.c
2252           src/backends/NetworkManagerDebian.c
2253           src/backends/NetworkManagerFrugalware.c
2254           src/backends/NetworkManagerGeneric.c
2255           src/backends/NetworkManagerGentoo.c
2256           src/backends/NetworkManagerMandriva.c
2257           src/backends/NetworkManagerPaldo.c
2258           src/backends/NetworkManagerRedHat.c
2259           src/backends/NetworkManagerSlackware.c
2260           src/backends/NetworkManagerSuSE.c
2261                 - (nm_system_device_flush_ip4_routes,
2262                    nm_system_device_flush_ip4_routes_with_iface): remove
2263
2264 2008-05-28  Dan Williams  <dcbw@redhat.com>
2265
2266         * libnm-util/nm-setting-wireless.c
2267           libnm-util/nm-setting-wireless.h
2268                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2269                         'adhoc-create' property, which when TRUE indicates that NM should
2270                         create this connection as an adhoc wifi network if it's not found
2271                         as an adhoc network during scanning.  Can be used to auto-create
2272                         adhoc networks when used in combination with autoconnect.
2273
2274 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2275
2276         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2277
2278         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2279         checked, it doesn't work on some devices.
2280
2281 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2282
2283         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2284         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2285
2286         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2287         Use inet_aton() everywhere to improve error detection.
2288         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2289         provided.
2290
2291 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2292
2293         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2294         Fix a typo.
2295
2296 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2297
2298         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2299         reference counting issue.
2300
2301 2008-05-23  Dan Williams  <dcbw@redhat.com>
2302
2303         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2304
2305         * src/backends/NetworkManagerGeneric.c
2306                 - (nm_generic_enable_loopback): use libnl
2307
2308 2008-05-23  Dan Williams  <dcbw@redhat.com>
2309
2310         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2311
2312         * src/NetworkManagerSystem.h
2313           src/backends/NetworkManagerArch.c
2314           src/backends/NetworkManagerDebian.c
2315           src/backends/NetworkManagerFrugalware.c
2316           src/backends/NetworkManagerGentoo.c
2317           src/backends/NetworkManagerMandriva.c
2318           src/backends/NetworkManagerPaldo.c
2319           src/backends/NetworkManagerRedHat.c
2320           src/backends/NetworkManagerSlackware.c
2321           src/backends/NetworkManagerSuSE.c
2322                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2323                    nm_system_flush_arp_cache): remove, unused
2324
2325         * src/backends/NetworkManagerGeneric.c
2326           src/backends/NetworkManagerGeneric.h
2327                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2328                    nm_generic_flush_arp_cache): remove, unused
2329
2330 2008-05-23  Dan Williams  <dcbw@redhat.com>
2331
2332         * system-settings/plugins/ifcfg-fedora/reader.c
2333                 - (make_ip4_setting): honor PEERDNS setting
2334
2335 2008-05-23  Dan Williams  <dcbw@redhat.com>
2336
2337         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2338
2339         * src/NetworkManagerSystem.c
2340                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2341                         libnl
2342
2343         * src/backends/NetworkManagerArch.c
2344           src/backends/NetworkManagerDebian.c
2345           src/backends/NetworkManagerFrugalware.c
2346           src/backends/NetworkManagerGentoo.c
2347           src/backends/NetworkManagerMandriva.c
2348           src/backends/NetworkManagerPaldo.c
2349           src/backends/NetworkManagerRedHat.c
2350           src/backends/NetworkManagerSlackware.c
2351           src/backends/NetworkManagerSuSE.c
2352                 - (nm_system_device_flush_ip4_addresses,
2353                    nm_system_device_flush_ip4_addresses_with_iface): remove
2354
2355         * src/backends/NetworkManagerGeneric.c
2356                 - (nm_generic_device_flush_ip4_addresses,
2357                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2358
2359 2008-05-23  Dan Williams  <dcbw@redhat.com>
2360
2361         * src/supplicant-manager/nm-supplicant-settings-verify.c
2362                 - Switch 'bssid' from bytes to keyword type
2363                 - (validate_type_keyword): allow NULL keyword lists
2364
2365         * src/supplicant-manager/nm-supplicant-config.c
2366                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2367                         a byte array to string form, which is what the supplicant expects
2368
2369 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2370
2371         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2372         information received from DHCP.
2373
2374         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2375         to make it possible to ignore the DNS information (both servers and 
2376         searches) returned by DHCP server.
2377
2378         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2379         name servers and searches if "ignore_dhcp_dns" is set.
2380
2381         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2382         (nm_ip4_config_reset_searches): Implement.
2383
2384 2008-05-22  Dan Williams  <dcbw@redhat.com>
2385
2386         Remove anything mDNS related.  This is better done from a distro-specific
2387         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2388         avahi, since avahi can handle interface changes just fine using netlink.
2389
2390         * configure.in
2391                 - Remove --with-mdns-provider
2392
2393         * src/NetworkManagerPolicy.c
2394                 - (global_state_changed): don't restart the mdns provider
2395
2396         * src/NetworkManagerSystem.h
2397           src/backends/NetworkManagerArch.c
2398           src/backends/NetworkManagerDebian.c
2399           src/backends/NetworkManagerFrugalware.c
2400           src/backends/NetworkManagerGentoo.c
2401           src/backends/NetworkManagerMandriva.c
2402           src/backends/NetworkManagerPaldo.c
2403           src/backends/NetworkManagerRedHat.c
2404           src/backends/NetworkManagerSlackware.c
2405           src/backends/NetworkManagerSuSE.c
2406                 - (nm_system_restart_mdns_responder): remove
2407
2408         * src/backends/NetworkManagerGeneric.c
2409           src/backends/NetworkManagerGeneric.h
2410                 - (nm_generic_restart_mdns_responder): remove
2411
2412 2008-05-22  Dan Williams  <dcbw@redhat.com>
2413
2414         * configure.in
2415                 - clean up crypto options; just use --with-crypto=nss or
2416                         --with-crypto=gnutls
2417
2418 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2419
2420         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2421         anymore, do it right away.
2422
2423 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2424
2425         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2426         serial device open when we're not connecting or connected.
2427
2428         * src/nm-cdma-device.c (device_state_changed): Ditto.
2429
2430 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2431
2432         Don't remove all devices on waking up, sync with HAL.
2433
2434         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2435         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2436         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2437
2438 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2439
2440         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2441         If the default gateway is unreachable, add a route to gateway and try
2442         again.
2443
2444 2008-05-20  Dan Williams  <dcbw@redhat.com>
2445
2446         * system-settings/plugins/ifcfg-fedora/reader.c
2447                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2448
2449 2008-05-19  Dan Williams  <dcbw@redhat.com>
2450
2451         * system-settings/plugins/ifcfg-fedora/reader.c
2452                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2453                         if the ifcfg doesn't specify one (rh #446527)
2454
2455 2008-05-19  Dan Williams  <dcbw@redhat.com>
2456
2457         Make the system settings service exit when the bus goes away.  Since it's
2458         a bus-activated service, it's lifetime is limited to the bus that activated
2459         it (rh #444976).
2460
2461         * system-settings/src/Makefile.am
2462           system-settings/src/nm-system-config-hal-manager-private.h
2463                 - Remove nm-system-config-hal-manager-private.h
2464
2465         * system-settings/src/nm-system-config-hal-manager.c
2466                 - (nm_system_config_hal_manager_reinit_dbus,
2467                    nm_system_config_hal_manager_deinit_dbus): remove
2468
2469         * system-settings/src/main.c
2470                 - (dbus_reconnect): remove
2471                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2472                 - (destroy_cb): just quit when the bus goes away
2473                 - (start_dbus_service, dbus_init): simplify
2474                 - (main): destroy the wired devices hash table after destroying
2475                         the HAL manager so we don't have to disconnect signals from the
2476                         HAL manager
2477
2478 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2479
2480         Move crypto functions from nm-applet to libnm-util.
2481
2482         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2483         (nm_setting_802_1x_set_client_cert)
2484         (nm_setting_802_1x_set_phase2_ca_cert)
2485         (nm_setting_802_1x_set_phase2_client_cert)
2486         (nm_setting_802_1x_set_private_key)
2487         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2488         file (or private key and it's password), read the certificate data.
2489
2490         * libnm-util/crypto_nss.c: 
2491         * libnm-util/crypto_gnutls.c: 
2492         * libnm-util/crypto.[ch]: Move here from nm-applet.
2493
2494         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2495
2496         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2497         Imlement WPA-EAP configuration reading from sysconfig.
2498
2499 2008-05-16  Dan Williams  <dcbw@redhat.com>
2500
2501         * src/nm-device-802-11-wireless.c
2502                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2503                         wireless
2504
2505 2008-05-14  Dan Williams  <dcbw@redhat.com>
2506
2507         Fix Linus' bug in rh #134886
2508
2509         * src/nm-device-802-3-ethernet.c
2510                 - (constructor): request initial carrier state
2511
2512         * src/nm-netlink-monitor.c
2513                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2514                         signals after refilling the link cache.  Because the refill is a 
2515                         synchronous operation, the normal message hander won't get called
2516                         since libnl has already consumed the messages.
2517                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2518
2519 2008-05-14  Dan Williams  <dcbw@redhat.com>
2520
2521         * src/NetworkManagerSystem.c
2522                 - (nm_system_device_is_up_with_iface): clean up
2523
2524 2008-05-13  Dan Williams  <dcbw@redhat.com>
2525
2526         Fix refcounting issues over sleep/wake when a VPN connection was active that
2527         caused NM to try registering an object path for a device upon wake that was
2528         the same as an already registered object path.
2529
2530         * src/nm-device.c
2531                 - (nm_device_take_down): properly handle cases where the device is
2532                         no longer active but was just active, and therefore must be
2533                         deactivated.  When a device moves to unmanaged mode, this function
2534                         previously would not deactivate the device, because the state was
2535                         already unmanaged by the time this function was called.
2536
2537         * src/vpn-manager/nm-vpn-connection.c
2538                 - (device_state_changed): properly handle multiple devices states in
2539                         which the device is now deactivated.  Code previously didn't handle
2540                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2541                         UNMANAGED states.
2542
2543 2008-05-13  Dan Williams  <dcbw@redhat.com>
2544
2545         * src/nm-device-private.h
2546           src/nm-device.c
2547                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2548
2549         * src/nm-device-802-11-wireless.c
2550                 - (nm_device_802_11_wireless_set_enabled): take devices up
2551                         and down as appropriate for the rfkill state
2552
2553 2008-05-13  Dan Williams  <dcbw@redhat.com>
2554
2555         * marshallers/nm-marshal.list
2556                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2557
2558         * system-settings/plugins/ifcfg-fedora/Makefile.am
2559           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2560           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2561                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2562                         events.  Solely for use watching ifcfg files to pick up changes
2563                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2564
2565         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2566                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2567                         file contents change
2568                 - (finalize): clean up inotify watches
2569                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2570                         and the connection ifcfg for changes on their hardlinks
2571                 - (files_changed_cb): proxy the changed signal back out to listeners
2572
2573         * system-settings/plugins/ifcfg-fedora/plugin.c
2574                 - (dir_changed): 
2575                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2576                         changes
2577                 - (read_one_connection): connect to change signals on the new connection
2578                 - (dir_changed, connection_changed_handler,
2579                    handle_connection_remove_or_new): break out connection change
2580                         handling and connection new/remove handling so it can be used from
2581                         both the GFileMonitor callback and the NMIfcfgConnection changed
2582                         signals
2583
2584         * system-settings/plugins/ifcfg-fedora/reader.c
2585           system-settings/plugins/ifcfg-fedora/reader.h
2586                 - (connection_from_file): return the keyfile path the connection would use
2587
2588 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2589
2590         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2591         single PolKitContext which is shared by all. PolKitContext::unref leaks
2592         just about everything, including all open file descriptiors and results
2593         in 99% cpu usage when data arrives to any of the fds that don't belong
2594         to any context anymore.
2595
2596 2008-05-12  Dan Williams  <dcbw@redhat.com>
2597
2598         * gfilemonitor/glocaldirectorymonitor.c
2599           gfilemonitor/glocaldirectorymonitor.h
2600                 - (g_local_directory_monitor_constructor): actually subscribe to the
2601                         watch
2602                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2603
2604         * gfilemonitor/glocalfilemonitor.c
2605           gfilemonitor/glocalfilemonitor.h
2606                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2607                 - (_g_local_file_monitor_new): ensure that inotify is started up
2608
2609 2008-05-11  Dan Williams  <dcbw@redhat.com>
2610
2611         * configure.in
2612                 - record PolicyKit version
2613
2614         * system-settings/src/nm-polkit-helpers.c
2615                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2616                         with PolicyKit <= 0.6
2617
2618 2008-05-11  Dan Williams  <dcbw@redhat.com>
2619
2620         Update Fedora system-settings plugin to support latest API and use
2621         GFileMonitor rather than home-rolled inotify code.
2622
2623         * system-settings/plugins/ifcfg-fedora/Makefile.am
2624           system-settings/plugins/ifcfg-fedora/common.h
2625           system-settings/plugins/ifcfg-fedora/plugin.c
2626                 - Update to latest system settings plugin API; use GIO instead of
2627                         custom inotify code; use NMIfcfgConnection objects instead of
2628                         ConnectionData structures tacked onto NMConnection objects
2629
2630         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2631           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2632                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2633                         connections
2634
2635         * system-settings/plugins/ifcfg-fedora/reader.c
2636           system-settings/plugins/ifcfg-fedora/reader.h
2637                 - Move ifcfg parsing bits here from parser.c
2638
2639         * system-settings/plugins/ifcfg-fedora/parser.c
2640           system-settings/plugins/ifcfg-fedora/parser.h
2641                 - Remove; most code moved to reader.c
2642
2643 2008-05-11  Dan Williams  <dcbw@redhat.com>
2644
2645         * configure.in
2646           Makefile.am
2647           gfilemonitor/*
2648                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2649                         implementation, so that the same change monitoring code can be used
2650                         on systems without glib-2.14 (like Fedora 8)
2651
2652         * system-settings/plugins/keyfile/Makefile.am
2653           system-settings/plugins/keyfile/plugin.c
2654           system-settings/plugins/ifcfg-suse/Makefile.am
2655           system-settings/plugins/ifcfg-suse/plugin.c
2656                 - Use private gfilemonitor code if GIO is not present
2657
2658 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2659
2660         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2661         NMExportedConnection's 'update' and 'delete' and return error with
2662         descriptive message.
2663
2664 2008-05-08  Dan Williams  <dcbw@redhat.com>
2665
2666         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2667
2668         * src/nm-gsm-device.c
2669           src/nm-cdma-device.c
2670                 - (real_get_best_auto_connection): implement; allow autoconnection
2671                         to GSM & CDMA devices
2672
2673 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2674
2675         Use PolicyKit to authorize the system settings' AddConnection method
2676         and the system settings connections' Update and Delete methods.
2677         
2678         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2679         (impl_exported_connection_delete, nm_exported_connection_update)
2680         (nm_exported_connection_delete): Return boolean and fill GError
2681         to notify the callers of the reasons why it might have failed.
2682
2683         * libnm-glib/nm-dbus-settings-system.c
2684         (nm_dbus_settings_system_add_connection): Return the error from dbus
2685         call so that the callers can see why it failed.
2686
2687         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2688         signatures.
2689
2690         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2691
2692         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2693         abstract base class that checks PolicyKit permissions.
2694
2695         * system-settings/src/dbus-settings.c:
2696         (impl_settings_add_connection): Check the policy before carring out
2697         the request.
2698
2699         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2700         Inherit from NMSysconfigConnection, check the policies before
2701         allowing updating or removing.
2702
2703         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2704         Inherit from NMSysconfigConnection.
2705
2706         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2707         "Delete" methods with async flag so that the implementations can get
2708         access to DBusGMethodInvocation.
2709
2710         * system-settings/src/dbus-settings.c 
2711         (settings_add_connection_check_privileges): Implement.
2712         (impl_settings_add_connection): Check the privileges before adding a new
2713         connection. Improve error reporting.
2714
2715         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2716         async so that the implementation can access DBusGMethodInvocation.
2717
2718         * configure.in: Check for PolicyKit.
2719
2720         * policy/org.freedesktop.network-manager-settings.system.policy: 
2721         New file.
2722
2723         * policy/Makefile.am: Install the policy file.
2724
2725         * configure.in: Add 'policy' subdir.
2726
2727 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2728
2729         Rewrite the suse system settings plugin.
2730
2731         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2732
2733         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2734
2735         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2736
2737         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2738
2739         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2740
2741         * system-settings/src/main.c (load_plugins): Improve error reporting.
2742
2743         * system-settings/src/sha1.[ch] Add.
2744
2745         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2746
2747 2008-05-07  Dan Williams  <dcbw@redhat.com>
2748
2749         * system-settings/plugins/keyfile/reader.c
2750                 - (read_one_setting_value): handle IP address items separately
2751                 - (read_array_of_uint): read IPv4 DNS option as a string array
2752                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2753                         array
2754
2755         * system-settings/plugins/keyfile/writer.c
2756                 - (write_setting_value): handle IP address items separately
2757                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2758                         not an array of uint, so that it's user-editable
2759                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2760                         arrays, so they are user-editable
2761
2762 2008-05-07  Dan Williams  <dcbw@redhat.com>
2763
2764         * system-settings/plugins/keyfile/Makefile.am
2765                 - Change location of the keyfile plugin settings to
2766                         /etc/NetworkManager/system-connections
2767
2768 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2769
2770         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2771
2772         * system-settings/plugins/keyfile/plugin.c: Work with
2773         NMKeyfileConnections.
2774
2775         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2776         Plugins are supposed to return NMExportedConnections now and handle the
2777         updated(), removed(), and GetSecrets().
2778         Store the internal list of connections in hash table to make it easier
2779         to find duplicates.
2780
2781 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2782
2783         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2784         for multiple IP addresses.
2785
2786 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2787
2788         Patch from André Lemos.
2789
2790         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2791         corruption.
2792
2793 2008-05-06  Dan Williams  <dcbw@redhat.com>
2794
2795         * src/dhcp-manager/nm-dhcp-manager.c
2796                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2797                         NMIP4Config to support multiple IP addresses
2798
2799         * src/NetworkManagerUtils.c
2800                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2801
2802         * src/nm-ip4-config.c
2803           src/nm-ip4-config.h
2804                 - Store a list of IPv4 address/netmask/gateway tuples
2805                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2806                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2807                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2808                    nm_ip4_config_set_address): remove
2809                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2810                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2811                         new functions; handle multiple IPv4 addresses
2812
2813         * src/nm-device.c
2814           src/ppp-manager/nm-ppp-manager.c
2815           src/vpn-manager/nm-vpn-connection.c
2816           src/NetworkManagerPolicy.c
2817           test/nm-tool.c
2818           libnm-glib/libnm-glib-test.c
2819                 - update for changes to NMIP4Config for multiple IPv4 addresses
2820
2821         * src/NetworkManagerSystem.c
2822                 - (nm_system_device_set_ip4_route): don't add the route if any address
2823                         is on the same subnet as the destination
2824                 - (check_one_address): ignore the exact match, just match family and
2825                         interface index
2826                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2827                         an interface
2828                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2829                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2830
2831         * introspection/nm-ip4-config.xml
2832                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2833                 - Add 'addresses' property which is an array of (uuu) tuples of
2834                         address/netmask/gateway
2835
2836         * libnm-util/nm-setting-ip4-config.c
2837                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2838
2839         * libnm-glib/nm-ip4-config.c
2840           libnm-glib/nm-ip4-config.h
2841                 - Handle D-Bus interface changes to support multiple IP addresses
2842
2843 2008-05-06  Dan Williams  <dcbw@redhat.com>
2844
2845         * libnm-util/nm-utils.c
2846           libnm-util/nm-utils.h
2847                 - (nm_utils_ip4_addresses_from_gvalue,
2848                    nm_utils_ip4_addresses_to_gvalue): new functions
2849
2850 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2851
2852         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2853         the returned connection paths.
2854
2855 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2856
2857         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2858         "PropertiesChanged" signal signature.
2859
2860         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2861         defined in nm-dbus-glib-types.h.
2862         Don't register the connection on dbus, we're a proxy class to 
2863         communicate with an already registered connection over dbus.
2864
2865 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2866
2867         Implement new subclasses of NMSettings and NMExportedConnection to make
2868         it easier for the applet to access and modify system settings.
2869
2870         * libnm-glib/nm-dbus-connection.[ch]:
2871         * libnm-glib/nm-dbus-settings.[ch]:
2872         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2873
2874         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2875         bindings and glue.
2876
2877         * include/NetworkManager.h: Define the system settings DBus interface.
2878
2879 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2880
2881         Implement additional C API for exported connections to make them identical
2882         with the DBus API. Change the (list_connections) virtual function to be
2883         more usable from C - instead of requiring implementers to return a GPtrArray
2884         of dbus paths, return a list of connections.
2885
2886         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2887         (nm_settings_list_connections):
2888         (nm_exported_connection_new):
2889         (nm_exported_connection_update):
2890         (nm_exported_connection_delete): Implement.
2891
2892         (impl_settings_list_connections):
2893         (impl_exported_connection_update):
2894         (impl_exported_connection_delete): Use the new public functions to make 
2895         sure the C and dbus interfaces stay in sync.
2896
2897         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2898         connections.
2899
2900 2008-05-02  Dan Williams  <dcbw@redhat.com>
2901
2902         * system-settings/plugins/ifcfg-fedora/plugin.c
2903                 - (dispose): use right unref call on the DBusGConnection
2904
2905 2008-05-02  Dan Williams  <dcbw@redhat.com>
2906
2907         * src/nm-serial-device.c
2908                 - (find_terminator): don't compare the whole line, just the size of the
2909                         terminator, since some modems put stuff after the terminator, like
2910                         "CONNECT 9600"
2911
2912 2008-05-01  Dan Williams  <dcbw@redhat.com>
2913
2914         Patch from Michael Biebl <biebl@debian.org>
2915
2916         * callouts/Makefile.am
2917           callouts/org.freedesktop.nm_dispatcher.service.in
2918           system-settings/src/Makefile.am
2919           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2920                 - use the right install location for dbus-activated stuff
2921
2922 2008-04-30  Dan Williams  <dcbw@redhat.com>
2923
2924         * src/nm-gsm-device.c
2925                 - (enter_pin): fix setting name passed to applets when asking for a GSM
2926                         PIN or PUK
2927
2928 2008-04-30  Dan Williams  <dcbw@redhat.com>
2929
2930         * src/nm-manager.c
2931                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2932
2933 2008-04-30  Dan Williams  <dcbw@redhat.com>
2934
2935         * src/nm-device-802-3-ethernet.c
2936           src/nm-device-802-11-wireless.c
2937                 - (real_is_up): return true instead of chaining up to unimplemented
2938                         parent method
2939
2940 2008-04-30  Dan Williams  <dcbw@redhat.com>
2941
2942         * src/NetworkManagerSystem.c
2943           src/NetworkManagerSystem.h
2944                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2945                         functions to check device flags for IFF_UP
2946
2947         * src/nm-serial-device.c
2948                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2949                         implement is_up
2950
2951         * src/nm-device-802-3-ethernet.c
2952           src/nm-device-802-11-wireless.c
2953                 - (real_hw_is_up): call nm_system_device_is_up()
2954
2955         * src/nm-device.c
2956                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2957                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2958                         does not implement
2959
2960 2008-04-29  Dan Williams  <dcbw@redhat.com>
2961
2962         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2963
2964         * marshallers/nm-marshal.list
2965                 - Add marshaller
2966
2967         * src/NetworkManager.c
2968                 - (main): let the NMManager handle the NMHalManager
2969
2970         * src/nm-hal-manager.c
2971           src/nm-hal-manager.h
2972                 - convert to a GObject, and emit singals when stuff changes.  Let the
2973                         NMManager handle the signals, instead of the NMHalManager calling
2974                         into the NMManager.  
2975
2976         * src/nm-manager.c
2977           src/nm-manager.h
2978                 - (remove_one_device): consolidate device removals here
2979                 - (dispose): use remove_one_device()
2980                 - (nm_manager_get_device_by_udi): make static
2981                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
2982                         manager for devices at startup or wakeup time
2983                 - (nm_manager_new): create and monitor the HAL manager
2984                 - (hal_manager_udi_added_cb): new function; do what
2985                         nm_manager_add_device() used to do when signalled by the hal manager
2986                 - (hal_manager_udi_removed_cb): new function; do what
2987                         nm_manager_remove_device() used to do when signalled by the hal
2988                         manager
2989                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
2990                         hal manager
2991                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
2992                         in our device list that aren't known to HAL
2993                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
2994                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
2995                         commits ago
2996                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
2997                    nm_manager_activation_pending, nm_manager_wireless_enabled,
2998                    nm_manager_wireless_hardware_enabled,
2999                    nm_manager_set_wireless_hardware_enabled): remove, unused
3000
3001 2008-04-28  Dan Williams  <dcbw@redhat.com>
3002
3003         Fix the device up/down ambiguities.  Up/down state used to be a
3004         conglomeration of hardware state (IFF_UP) and any device-specific things
3005         (supplicant, periodic timers, etc) that the device used to indicate
3006         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3007         reason, then the device specific stuff wouldn't get run, and the device
3008         would be stuck.
3009
3010         * src/nm-device.c
3011           src/nm-device.h
3012                 - Create hw_is_up, hw_bring_up, and hw_take_down
3013                 - Rename bring_down -> take_down
3014                 - (real_hw_is_up): check interface flags for IFF_UP
3015                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3016                 - (nm_device_is_up): make static; only used locally
3017                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3018                         if the device is already up; if the device isn't up, bring it up
3019                 - (nm_device_hw_take_down): just take down hardware
3020                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3021                 - (nm_device_take_down): always deactivate device when called; always
3022                         try to take hardware down too
3023                 - (nm_device_state_changed): take device down when entering unmanaged
3024                         state from a higher state
3025
3026         * src/nm-device-802-11-wireless.c
3027                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3028                         check IFF_UP really
3029                 - (real_take_down, supplicant_iface_state_cb_handler, 
3030                    supplicant_iface_connection_state_cb_handler,
3031                    supplicant_mgr_state_cb_handler): fix some messages
3032
3033         * src/nm-device-802-3-ethernet.c
3034                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3035                         check IFF_UP really
3036
3037 2008-04-28  Dan Williams  <dcbw@redhat.com>
3038
3039         * src/nm-manager.c
3040           src/nm-manager.h
3041                 - (nm_manager_error_get_type): add new error
3042                 - (nm_manager_remove_device): don't bother taking down the device here,
3043                         the state change from unmanaging the device will do it
3044                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3045                         uses it; when going to sleep, just unmanage the device instead of
3046                         taking it down, because stuff will cleaned up correctly when the
3047                         device gets unmanaged
3048
3049 2008-04-28  Dan Williams  <dcbw@redhat.com>
3050
3051         * src/nm-hal-manager.c
3052                 - (add_initial_devices): convert to a GSourceFunc prototype
3053                 - (nm_manager_state_changed): when coming out of sleep, punt the
3054                         device re-addition to an idle handler to let D-Bus events go out
3055                         first, fixing a potential dbus-glib assert if the old device was
3056                         not yet disposed (due to references held while emitting the D-Bus
3057                         signals) but the new device was found, because the mainloop didn't
3058                         run between signal emission and add_initial_devices()
3059
3060 2008-04-27  Dan Williams  <dcbw@redhat.com>
3061
3062         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3063
3064         * initscript/paldo/NetworkManager.in
3065           initscript/SUSE/networkmanager.in
3066                 - Remove last bits of dhcdbd
3067
3068 2008-04-27  Dan Williams  <dcbw@redhat.com>
3069
3070         * src/nm-device-802-11-wireless.c
3071                 - (link_timeout_cb): don't ask for secrets when disconnected during
3072                         association/authentication phase, drivers are still just too crappy
3073
3074 2008-04-27  Dan Williams  <dcbw@redhat.com>
3075
3076         * Makefile.am
3077           configure.in
3078           dispatcher-daemon/Makefile.am
3079           dispatcher-daemon/NetworkManagerDispatcher.c
3080           initscript/Arch/Makefile.am
3081           initscript/Arch/networkmanager-dispatcher.in
3082           initscript/Gentoo/Makefile.am
3083           initscript/Gentoo/NetworkManagerDispatcher.in
3084           initscript/Mandriva/Makefile.am
3085           initscript/Mandriva/networkmanagerdispatcher.in
3086           initscript/RedHat/Makefile.am
3087           initscript/RedHat/NetworkManagerDispatcher.in
3088           initscript/SUSE/Makefile.am
3089           initscript/SUSE/networkmanager-dispatcher.in
3090           initscript/Slackware/Makefile.am
3091           initscript/Slackware/rc.networkmanager-dispatcher.in
3092           initscript/paldo/Makefile.am
3093           initscript/paldo/NetworkManagerDispatcher.in
3094           man/Makefile.am
3095           man/NetworkManagerDispatcher.8.in
3096                 - Remove the dispatcher daemon
3097
3098 2008-04-27  Dan Williams  <dcbw@redhat.com>
3099
3100         * callouts/Makefile.am
3101           callouts/nm-dispatcher-action.c
3102           callouts/nm-dispatcher-action.h
3103           callouts/nm-dispatcher.conf
3104           callouts/nm-dispatcher.xml
3105           callouts/org.freedesktop.nm_dispatcher.service
3106                 - Re-implement the dispatcher as a system-bus activated service that
3107                         NM calls on-demand, rather than an always running daemon
3108
3109         * src/Makefile.am
3110                 - Add callouts dir to includes to pick up dispatcher defines
3111
3112         * src/nm-device.c
3113                 - (nm_device_state_changed): call dispatcher on device activated/
3114                         deactivated
3115
3116         * src/vpn-manager/nm-vpn-connection.c
3117                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3118                         go up and down
3119
3120         * src/NetworkManagerUtils.c
3121           src/NetworkManagerUtils.h
3122                 - (nm_utils_call_dispatcher): helper to call dispatcher
3123
3124 2008-04-27  Dan Williams  <dcbw@redhat.com>
3125
3126         * src/NetworkManagerUtils.c
3127           src/NetworkManagerUtils.h
3128                 - remove unneeded includes
3129                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3130                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3131                    nm_timeval_cmp, nm_timeval_add): remove, unused
3132                 - clean up formatting
3133                 - (nm_spawn_process): de-uglify
3134
3135         * src/nm-device-802-11-wireless.c
3136                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3137
3138 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3139
3140         * initscript/Gentoo/NetworkManager.in:
3141                 Fix for starting the daemon.
3142
3143 2008-04-25  Dan Williams  <dcbw@redhat.com>
3144
3145         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3146
3147         * src/NetworkManagerSystem.c
3148                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3149
3150 2008-04-25  Dan Williams  <dcbw@redhat.com>
3151
3152         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3153
3154         * src/NetworkManagerSystem.c
3155                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3156                         implementation of nm_system_device_replace_default_route()
3157
3158         * src/NetworkManagerPolicy.c
3159                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3160
3161         * src/backends/NetworkManagerArch.c
3162           src/backends/NetworkManagerDebian.c
3163           src/backends/NetworkManagerFrugalware.c
3164           src/backends/NetworkManagerGeneric.c
3165           src/backends/NetworkManagerGeneric.h
3166           src/backends/NetworkManagerGentoo.c
3167           src/backends/NetworkManagerMandriva.c
3168           src/backends/NetworkManagerPaldo.c
3169           src/backends/NetworkManagerRedHat.c
3170           src/backends/NetworkManagerSlackware.c
3171           src/backends/NetworkManagerSuSE.c
3172                 - (nm_system_device_replace_default_route): remove
3173
3174 2008-04-25  Dan Williams  <dcbw@redhat.com>
3175
3176         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3177
3178         * src/NetworkManagerSystem.c
3179                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3180                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3181                         replace nm_system_device_add_route_via_device_with_iface() in the
3182                         backends
3183
3184         * src/backends/NetworkManagerArch.c
3185           src/backends/NetworkManagerDebian.c
3186           src/backends/NetworkManagerFrugalware.c
3187           src/backends/NetworkManagerGeneric.c
3188           src/backends/NetworkManagerGeneric.h
3189           src/backends/NetworkManagerGentoo.c
3190           src/backends/NetworkManagerMandriva.c
3191           src/backends/NetworkManagerPaldo.c
3192           src/backends/NetworkManagerRedHat.c
3193           src/backends/NetworkManagerSlackware.c
3194           src/backends/NetworkManagerSuSE.c
3195                 - Remove nm_system_device_add_route_via_device_with_iface()
3196
3197 2008-04-25  Dan Williams  <dcbw@redhat.com>
3198
3199         * system-settings/plugins/ifcfg-fedora/parser.c
3200                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3201
3202 2008-04-24  Dan Williams  <dcbw@redhat.com>
3203
3204         * dispatcher-daemon/NetworkManagerDispatcher.c
3205                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3206
3207 2008-04-24  Dan Williams  <dcbw@redhat.com>
3208
3209         * initscript/RedHat/NetworkManager.in
3210           initscript/RedHat/NetworkManagerDispatcher.in
3211                 - Be active at runlevel 2
3212                 - Adjust priorities earlier
3213
3214 2008-04-22  Dan Williams  <dcbw@redhat.com>
3215
3216         * src/NetworkManagerPolicy.c
3217                 - (update_routing_and_dns): when checking for a gateway, look at the
3218                         composite IP4 config, not the connection's ip4-config setting, which
3219                         doesn't include DHCP-returned information
3220
3221 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3222
3223         Implement GKeyFile system settings plugin.
3224         Implement writing system settings (currently supported only by GKeyFile plugin).
3225
3226         * system-settings/src/main.c: 
3227         * system-settings/src/dbus-settings.c: Move the communication with plugins
3228         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3229         plugins for adding/updating/removing connections.
3230
3231         * system-settings/src/nm-system-config-interface.c
3232         (nm_system_config_interface_add_connection): Implement
3233         (nm_system_config_interface_update_connection): Implement.
3234         (nm_system_config_interface_remove_connection): Implement.
3235
3236         * system-settings/plugins/keyfile/Makefile.am:
3237         * system-settings/plugins/keyfile/plugin.[ch]:
3238         * system-settings/plugins/keyfile/writer.[ch]:
3239         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3240
3241         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3242
3243         * configure.in: Generate GKeyFile Makefile.
3244
3245         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3246         corruption, need to duplicate the returned string.
3247         (impl_exported_connection_update): Implement.
3248         (impl_exported_connection_delete): Implement.
3249
3250         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3251
3252         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3253
3254 2008-04-22  Dan Williams  <dcbw@redhat.com>
3255
3256         Patch from Charles R. Anderson (cra@wpi.edu)
3257
3258         * src/NetworkManagerPolicy.c
3259                 - (update_routing_and_dns): don't select devices without a gateway
3260                         as having the default route (rh #437338)
3261
3262 2008-04-21  Dan Williams  <dcbw@redhat.com>
3263
3264         * src/nm-activation-request.c
3265           src/nm-activation-request.h
3266                 - (dispose): ensure to disconnect from the device's state-changed signal
3267                         when appropriate so the signal doesn't get handled by an already
3268                         disposed NMActRequest
3269                 - (device_state_changed): update is_default here too just to make sure
3270                         default is only True when the child device is activated
3271                 - (nm_act_request_set_default): new function
3272
3273         * src/NetworkManagerPolicy.c
3274                 - (update_routing_and_dns): set 'default' on the active connection which
3275                         has the default route and DNS
3276
3277 2008-04-21  Dan Williams  <dcbw@redhat.com>
3278
3279         * src/NetworkManagerPolicy.c
3280                 - (device_state_changed): update routing and DNS when a device goes
3281                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3282
3283 2008-04-21  Dan Williams  <dcbw@redhat.com>
3284
3285         * include/NetworkManager.h
3286                 - Add NMActiveConnectionState enum
3287
3288         * introspection/nm-active-connection.xml
3289           introspection/nm-vpn-connection.xml
3290                 - Add 'State' property for overall active connection state
3291                 - Add 'Default' property, when True means this active connection
3292                         has the default route
3293                 - Add PropertyChanged signals so changes actually go out over the bus
3294
3295         * src/nm-active-connection.h
3296                 - Add defines for State & Default properties
3297
3298         * src/nm-activation-request.c
3299                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3300                         signal to determine active connection state
3301
3302         * src/vpn-manager/nm-vpn-connection.c
3303           src/vpn-manager/nm-vpn-connection.h
3304           src/vpn-manager/nm-vpn-manager.c
3305           src/vpn-manager/nm-vpn-service.c
3306                 - Rename old 'state' to 'vpn-state'
3307                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3308                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3309                         'vpn-state-changed' signal
3310
3311         * libnm-glib/nm-active-connection.c
3312           libnm-glib/nm-active-connection.h
3313                 - Add new 'state' and 'default' properties and accessors
3314
3315         * libnm-glib/nm-vpn-connection.c
3316           libnm-glib/nm-vpn-connection.h
3317                 - Rename old 'state' property to 'vpn-state'
3318                 - Add new 'state' and 'default' properties and accessors
3319
3320 2008-04-21  Dan Williams  <dcbw@redhat.com>
3321
3322         * src/nm-ip4-config.c
3323                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3324                         not specified (rh #443474)
3325
3326 2008-04-20  Dan Williams  <dcbw@redhat.com>
3327
3328         * src/NetworkManagerUtils.c
3329           src/NetworkManagerUtils.h
3330                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3331                         NMSettingIP4Config to an NMIP4Config object
3332
3333         * src/nm-device.c
3334                 - (merge_ip4_config): move to NetworkManagerUtils.c
3335
3336         * src/vpn-manager/nm-vpn-connection.c
3337                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3338                         too
3339
3340 2008-04-18  Dan Williams  <dcbw@redhat.com>
3341
3342         * libnm-util/nm-setting-ppp.c
3343           libnm-util/nm-setting-ppp.h
3344                 - Add 'no-vj-comp' option for TCP header compression
3345                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3346                         uint32
3347
3348 2008-04-18  Dan Williams  <dcbw@redhat.com>
3349
3350         * libnm-util/nm-setting-ppp.c
3351           libnm-util/nm-setting-ppp.h
3352           src/ppp-manager/nm-ppp-manager.c
3353                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3354
3355 2008-04-18  Dan Williams  <dcbw@redhat.com>
3356
3357         * libnm-util/nm-setting-ppp.c
3358           libnm-util/nm-setting-ppp.h
3359           src/ppp-manager/nm-ppp-manager.c
3360                 - Remove the 'usepeerdns' option and always request DNS servers from
3361                         the PPP server; the connection chooses to use/override/ignore the
3362                         DNS servers returned from the PPP server
3363
3364 2008-04-18  Dan Williams  <dcbw@redhat.com>
3365
3366         * libnm-util/nm-setting-ppp.c
3367           libnm-util/nm-setting-ppp.h
3368           src/ppp-manager/nm-ppp-manager.c
3369                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3370                         it seems to have been an erroneous addition to the PPTP plugin in
3371                         the first place (from which the ppp-manager is derived)
3372
3373 2008-04-17  Dan Williams  <dcbw@redhat.com>
3374
3375         * libnm-util/nm-setting-pppoe.c
3376                 - (verify): require a PPP setting too
3377
3378         * src/ppp-manager/nm-ppp-manager.c
3379                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3380                         segfaulting
3381
3382 2008-04-17  Dan Williams  <dcbw@redhat.com>
3383
3384         * src/nm-device.c
3385                 - (nm_device_state_changed): do deactivation and and promotion to
3386                         unavailable here, so that the device gets cleaned up before the
3387                         manager runs and starts emitting signals; do the
3388                         FAILED->DISCONNECTED transition from an idle handler rather than
3389                         immediately to guard against recursion
3390                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3391                         FAILED->DISCONNECTED handler if it's scheduled
3392
3393 2008-04-17  Dan Williams  <dcbw@redhat.com>
3394
3395         * src/nm-device-802-11-wireless.c
3396                 - (state_changed_cb): clear AP list when device transitions to
3397                         unavailable or unmanaged
3398                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3399                         since this is already done in device_cleanup()
3400                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3401                         isn't available or managed
3402                 - (device_cleanup): use remove_all_aps()
3403                 - (remove_all_aps): consolidate code removing all APs
3404
3405 2008-04-17  Dan Williams  <dcbw@redhat.com>
3406
3407         * src/nm-serial-device.c
3408           src/nm-serial-device.h
3409                 - (wait_for_reply_got_data): break input into lines, and search each
3410                         line for responses _and_ terminator strings; also make sure that
3411                         the read loop doesn't continue after the timeout is supposed to fire
3412                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3413
3414         * src/nm-gsm-device.c
3415           src/nm-cdma-device.c
3416                 - Send terminators to nm_serial_device_wait_for_reply()
3417
3418 2008-04-16  Dan Williams  <dcbw@redhat.com>
3419
3420         Patch from 陈鑫 <znscnchen@gmail.com>
3421
3422         * src/ppp-manager/nm-pppd-plugin.c
3423                 - (get_credentials): return correct value for success; handle case where
3424                         pppd just does some checking but doesn't want a password
3425                 - (plugin_init): make CHAP work too
3426
3427 2008-04-16  Dan Williams  <dcbw@redhat.com>
3428
3429         Patch from 陈鑫 <znscnchen@gmail.com>
3430
3431         * src/ppp-manager/nm-ppp-manager.c
3432                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3433
3434 2008-04-16  Dan Williams  <dcbw@redhat.com>
3435
3436         Patch from 陈鑫 <znscnchen@gmail.com>
3437
3438         * src/nm-device-802-3-ethernet.c
3439                 - (real_deactivate_quickly): clear the IP interface name on
3440                         deactivation, otherwise the wrong interface might get used later
3441                         for routing and IP management
3442
3443 2008-04-15  Dan Williams  <dcbw@redhat.com>
3444
3445         * libnm-glib/nm-device.c
3446                 - (get_product_and_vendor): handle serial devices correctly
3447                 - (nm_device_update_description): pass device to get_product_and_vendor()
3448
3449 2008-04-15  Dan Williams  <dcbw@redhat.com>
3450
3451         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3452
3453         * src/NetworkManagerSystem.h
3454           src/backends/NetworkManagerArch.c
3455           src/backends/NetworkManagerDebian.c
3456           src/backends/NetworkManagerFrugalware.c
3457           src/backends/NetworkManagerGeneric.c
3458           src/backends/NetworkManagerGeneric.h
3459           src/backends/NetworkManagerGentoo.c
3460           src/backends/NetworkManagerMandriva.c
3461           src/backends/NetworkManagerPaldo.c
3462           src/backends/NetworkManagerRedHat.c
3463           src/backends/NetworkManagerSlackware.c
3464           src/backends/NetworkManagerSuSE.c
3465           src/nm-device.c
3466                 - (nm_generic_device_add_ip6_link_address,
3467                    nm_system_device_add_ip6_link_address): remove
3468
3469 2008-04-15  Dan Williams  <dcbw@redhat.com>
3470
3471         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3472
3473         * src/backends/NetworkManagerArch.c
3474           src/backends/NetworkManagerDebian.c
3475           src/backends/NetworkManagerFrugalware.c
3476           src/backends/NetworkManagerGeneric.c
3477           src/backends/NetworkManagerGeneric.h
3478           src/backends/NetworkManagerGentoo.c
3479           src/backends/NetworkManagerMandriva.c
3480           src/backends/NetworkManagerPaldo.c
3481           src/backends/NetworkManagerRedHat.c
3482           src/backends/NetworkManagerSlackware.c
3483           src/backends/NetworkManagerSuSE.c
3484           src/NetworkManagerSystem.h
3485                 - flush_routes -> flush_ip4_routes
3486                 - flush_addresses -> flush_ip4_addresses
3487
3488         * src/NetworkManagerSystem.c
3489           src/nm-device.c
3490           src/vpn-manager/nm-vpn-connection.c
3491                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3492
3493 2008-04-15  Dan Williams  <dcbw@redhat.com>
3494
3495         Remove exposure of wireless-tools mode types in the API.
3496
3497         * include/NetworkManager.h
3498                 - Define NM80211Mode enum
3499
3500         * introspection/generic-types.xml
3501                 - Describe NM_802_11_MODE enum
3502                 - Remove IW_MODE_* enum
3503
3504         * introspection/nm-access-point.xml
3505           libnm-glib/nm-access-point.c
3506           libnm-glib/nm-access-point.h
3507                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3508
3509         * introspection/nm-device-802-11-wireless.xml
3510           libnm-glib/nm-device-802-11-wireless.c
3511           libnm-glib/nm-device-802-11-wireless.h
3512                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3513
3514         * libnm-util/nm-setting-wireless.c
3515           src/NetworkManagerAP.c
3516           src/NetworkManagerAP.h
3517           src/nm-device-802-11-wireless.c
3518           src/nm-device-802-11-wireless.h
3519           test/nm-tool.c
3520                 - Use NM80211Mode not IW_MODE_*
3521
3522 2008-04-15  Dan Williams  <dcbw@redhat.com>
3523
3524         Enhance nm-online based on a patch from Bill Nottingham.
3525
3526         * test/nm-online.c
3527                 - Add a '-q' option
3528                 - Add help messages and option summary
3529                 - Add long-format options
3530                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3531
3532 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3533
3534         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3535
3536         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3537
3538 2008-04-15  Dan Williams  <dcbw@redhat.com>
3539
3540         * nm-setting-ip4-config.c
3541                 - (ip4_addresses_from_gvalue): handle NULL address array
3542
3543         * nm-setting-8021x.c
3544                 - (verify_tls, verify_ttls): warn on failed verification
3545
3546 2008-04-10  Dan Williams  <dcbw@redhat.com>
3547
3548         * src/nm-gsm-device.c
3549                 - (automatic_registration): accept "+CREG: 0,0"
3550                 - (automatic_registration_response): fail on "+CREG: 0,0"
3551
3552 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3553
3554         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3555
3556 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3557
3558         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3559         Make it compile again by commenting out broken code that at first didn't work and
3560         now didn't compile either.
3561
3562 2008-04-08  Dan Williams  <dcbw@redhat.com>
3563
3564         * libnm-glib/nm-object-cache.c
3565           libnm-glib/nm-settings.c
3566           src/dhcp-manager/nm-dhcp-manager.c
3567           system-settings/plugins/ifcfg-fedora/plugin.c
3568           system-settings/plugins/ifcfg-suse/plugin.c
3569           system-settings/src/nm-system-config-hal-manager.c
3570           libnm-util/nm-utils.c
3571                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3572                         not threadsafe anyway
3573
3574 2008-04-08  Dan Williams  <dcbw@redhat.com>
3575
3576         * system-settings/src/main.c
3577                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3578                         callbacks take a device type too
3579
3580 2008-04-08  Dan Williams  <dcbw@redhat.com>
3581
3582         The system settings service will now create a new default DHCP connection
3583         for wired devices that have no existing applicable connection.
3584
3585         * system-settings/src/nm-system-config-hal-manager.c
3586           system-settings/src/nm-system-config-hal-manager.h
3587                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3588
3589         * system-settings/src/dbus-settings.c
3590           system-settings/src/dbus-settings.h
3591                 - (nm_sysconfig_settings_get_connections): new function
3592                 - (nm_sysconfig_settings_is_device_managed): new function
3593
3594         * system-settings/src/main.c
3595                 - (load_stuff): check for wired devices that need a default connection
3596                 - (get_details_for_udi): get interface and MAC address from HAL
3597                 - (add_default_dhcp_connection): add a default connection for a wired
3598                         device if needed
3599                 - (device_added_cb, device_removed_cb): do the right thing with
3600                         wired devices and their default connections on HAL device events
3601
3602 2008-04-07  Dan Williams  <dcbw@redhat.com>
3603
3604         * libnm-glib/nm-device.c
3605           libnm-glib/nm-device.h
3606                 - Proxy the 'managed' property
3607
3608 2008-04-07  Dan Williams  <dcbw@redhat.com>
3609
3610         * src/nm-gsm-device.c
3611           src/nm-cdma-device.c
3612                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3613                         handler to transition to DISCONNECTED
3614
3615 2008-04-07  Dan Williams  <dcbw@redhat.com>
3616
3617         Patch from Bill Nottingham
3618
3619         * dispatcher-daemon/NetworkManagerDispatcher.c
3620                 - ignore backup/packaging crufy (rh #440143)
3621
3622 2008-04-07  Dan Williams  <dcbw@redhat.com>
3623
3624         * include/NetworkManager.h
3625                 - Remove the DOWN and CANCELLED device states
3626                 - Add UNMANAGED and UNAVAILABLE device states
3627                 - Document the device states
3628
3629         * introspection/nm-device.xml
3630           src/nm-device-interface.c
3631           src/nm-device-interface.h
3632                 - Add the 'managed' property
3633
3634         * test/nm-tool.c
3635                 - (detail_device): print out device state
3636
3637         * src/NetworkManagerSystem.h
3638           src/backends/NetworkManagerArch.c
3639           src/backends/NetworkManagerDebian.c
3640           src/backends/NetworkManagerFrugalware.c
3641           src/backends/NetworkManagerGentoo.c
3642           src/backends/NetworkManagerMandriva.c
3643           src/backends/NetworkManagerPaldo.c
3644           src/backends/NetworkManagerRedHat.c
3645           src/backends/NetworkManagerSlackware.c
3646           src/backends/NetworkManagerSuSE.c
3647                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3648                    nm_system_device_free_system_config): remove; they were unused and
3649                         their functionality should be re-implemented in each distro's
3650                         system settings service plugin 
3651
3652         * src/nm-gsm-device.c
3653           src/nm-gsm-device.h
3654           src/nm-cdma-device.c
3655           src/nm-cdma-device.h
3656                 - (*_new): take the 'managed' argument
3657
3658         * src/nm-device.c
3659                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3660                 - (nm_device_init): start in unmanaged state, not disconnected
3661                 - (constructor): don't start device until the system settings service
3662                         has had a chance to figure out if the device is managed or not
3663                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3664                         don't set device state here, let callers handle that as appropriate
3665                 - (nm_device_dispose): don't touch the device if it's not managed
3666                 - (set_property, get_property, nm_device_class_init): implement the
3667                         'managed' property
3668                 - (nm_device_state_changed): bring the device up if its now managed,
3669                         and deactivate it if it used to be active
3670                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3671                         with the managed state
3672
3673         * src/nm-hal-manager.c
3674                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3675                         take initial managed state and pass it along to device constructors
3676                 - (create_device_and_add_to_list): get managed state and pass to
3677                         type creators
3678
3679         * src/nm-device-802-11-wireless.c
3680                 - (real_can_activate): fold in most of
3681                         nm_device_802_11_wireless_can_activate()
3682                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3683                 - (link_timeout_cb): instead of deactivating, change device state and
3684                         let the device state handler to it
3685                 - (real_update_hw_address): clean up
3686                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3687                         handler to transition to DISCONNECTED if the device isn't rfkilled
3688
3689         * src/nm-device-802-3-ethernet.c
3690                 - (set_carrier): move above callers and get rid of prototype
3691                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3692                         idle handler to transition to DISCONNECTED if the device has a
3693                         carrier
3694                 - (real_update_hw_address): clean up
3695                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3696                         deactivation directly as deactivation doesn't change state anymore
3697
3698         * src/NetworkManagerPolicy.c
3699                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3700                         the NMManager and wireless devices work that out themselves now
3701                 - (device_state_changed): change to a switch and update for new device
3702                         states
3703                 - (device_carrier_changed): remove; device handles this now through
3704                         state changes
3705                 - (device_added): don't care about carrier any more; the initial
3706                         activation check will happen when the device transitions to
3707                         DISCONNECTED
3708
3709         * src/nm-manager.c
3710                 - (dispose): clear unmanaged devices
3711                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3712                         the managed property on each device when needed
3713                 - (system_settings_properties_changed_cb): handle signals from the
3714                         system settings service
3715                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3716                         getting the unmanaged device list method call
3717                 - (query_unmanaged_devices): ask the system settings service for its
3718                         list of unmanaged devices
3719                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3720                         devices
3721                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3722                         devices directly and let them handle the necessary state transitions
3723                 - (manager_device_state_changed): update for new device states
3724                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3725                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3726                 - (nm_manager_activate_connection): return error if the device is
3727                         unmanaged
3728                 - (nm_manager_sleep): handle new device states correctly; don't change
3729                         the state of unavailable/unmanaged devices
3730
3731         * libnm-glib/nm-device-802-11-wireless.c
3732                 - (state_changed_cb): update for new device states
3733
3734 2008-04-07  Dan Williams  <dcbw@redhat.com>
3735
3736         * marshallers/nm-marshal.list
3737                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3738
3739 2008-04-07  Dan Williams  <dcbw@redhat.com>
3740
3741         * system-settings/src/main.c
3742                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3743                         plugins to the dbus settings object
3744                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3745                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3746                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3747                 - (main): switch default logging to syslog with a 'debug' option to
3748                         output to console; start up the HAL manager
3749
3750 2008-04-07  Dan Williams  <dcbw@redhat.com>
3751
3752         * introspection/nm-settings-system.xml
3753           introspection/Makefile.am
3754                 - Define the unmanaged devices interface for the system settings service
3755
3756         * system-settings/src/nm-system-config-hal-manager.c
3757           system-settings/src/nm-system-config-hal-manager.h
3758           system-settings/src/nm-system-config-hal-manager-private.h
3759           system-settings/src/Makefile.am
3760                 - Add a lightweight HAL manager object for tracking network devices for
3761                         the purpose of determining unmanaged devices and which devices need
3762                         the default DHCP connections
3763
3764         * system-settings/src/nm-system-config-interface.c
3765           system-settings/src/nm-system-config-interface.h
3766                 - (nm_system_config_interface_init): add the HAL manager as an argument
3767                 - (nm_system_config_interface_get_unmanaged_devices): implement
3768                 - Define 'unmanaged-devices-changed' signal
3769
3770         * system-settings/src/dbus-settings.c
3771           system-settings/src/dbus-settings.h
3772                 - Implement the unmanaged devices interface; some cleanups
3773
3774         * system-settings/plugins/ifcfg-suse/plugin.c
3775                 - Fixup for plugin interface changes
3776
3777         * system-settings/plugins/ifcfg-fedora/plugin.c
3778                 - (get_ether_device_udi): new function; find the device that has
3779                         a specified MAC address and return its UDI
3780                 - (get_udi_for_connection): new function; try to find the specific
3781                         device a connection is locked to, if any
3782                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3783                         response to HAL events
3784                 - (get_unmanaged_devices): new function; return unmanaged device list
3785                 - (build_one_connection): set the connection's locked device, if any
3786                 - (write_auto_wired_connection): remove
3787                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3788                 - (handle_connection_changed): alert listeners that the unmanaged device
3789                         list has changed
3790                 - (init): fixup for plugin interface changes, implement unmanaged devices
3791
3792         * system-settings/plugins/ifcfg-fedora/parser.c
3793           system-settings/plugins/ifcfg-fedora/parser.h
3794                 - (connection_data_free): clean up connection UDI
3795
3796 2008-04-07  Dan Williams  <dcbw@redhat.com>
3797
3798         * system-settings/plugins/ifcfg-fedora/parser.c
3799                 - (make_ip4_setting): fix parsing of DNS servers
3800
3801 2008-04-05  Dan Williams  <dcbw@redhat.com>
3802
3803         * Makefile.am
3804           configure.in
3805           marshallers/Makefile.am
3806           marshallers/nm-marshal-main.c
3807           marshallers/nm-marshal.list
3808                 - Consolidate marshallers
3809
3810         * libnm-glib/nm-marshal-main.c
3811           libnm-glib/nm-marshal.list
3812           src/marshallers/Makefile.am
3813           src/marshallers/nm-marshal-main.c
3814           src/marshallers/nm-marshal.list
3815                 - Remove
3816
3817         * libnm-glib/Makefile.am
3818           src/Makefile.am
3819           src/dhcp-manager/Makefile.am
3820           src/ppp-manager/Makefile.am
3821           src/supplicant-manager/Makefile.am
3822           src/vpn-manager/Makefile.am
3823                 - Use consolidated marshallers
3824
3825 2008-04-04  Dan Williams  <dcbw@redhat.com>
3826
3827         * src/nm-hal-manager.c
3828           src/nm-hal-manager.h
3829                 - (hal_init): don't look for hardware here
3830                 - (nm_hal_manager_start): new function; look for hardware here instead,
3831                         which can be done at a later time than hal_init()
3832
3833         * src/NetworkManager.c
3834                 - (main): start HAL manager after entering the main loop
3835
3836 2008-04-03  Dan Williams  <dcbw@redhat.com>
3837
3838         * libnm-glib/nm-settings.c
3839           libnm-glib/nm-settings.h
3840             - (nm_exported_connection_get_id): new function
3841                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3842
3843 2008-04-02  Dan Williams  <dcbw@redhat.com>
3844
3845         * src/nm-device-interface.c
3846           src/nm-device-interface.h
3847           src/nm-device.c
3848           src/nm-device.h
3849                 - Rename check_connection_conflicts() to check_connection_compatible()
3850
3851         * src/nm-device-802-11-wireless.c
3852                 - (real_check_connection_conflicts): remove
3853                 - (real_check_connection_compatible): implement; match MAC address
3854
3855         * src/nm-device-802-3-ethernet.c
3856                 - (real_check_connection_conflicts): remove
3857                 - (real_check_connection_compatible): implement; match MAC address
3858                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3859
3860         * src/nm-manager.c
3861                 - (check_connection_allowed): remove; unused until PolicyKit integration
3862                 - (internal_activate_device): check whether the connection is compatible
3863                         with the device before trying to activate it
3864
3865 2008-04-02  Dan Williams  <dcbw@redhat.com>
3866
3867         * system-settings/plugins/ifcfg-fedora/parser.c
3868                 - (read_mac_address): new function; read in MAC address and stuff it
3869                         into the connection
3870                 - (add_one_wep_key): remove debug spew
3871                 - (make_wireless_security_setting): validate the default TX key; don't
3872                         add the wireless-security setting if the connection doesn't need
3873                         security; don't leak the keys shvarFile on error cases
3874                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3875                         address
3876
3877 2008-04-02  Dan Williams  <dcbw@redhat.com>
3878
3879         * libnm-util/nm-setting-connection.c
3880           libnm-util/nm-setting-connection.h
3881                 - (set_property, get_property, nm_setting_connection_class_init): remove
3882                         the 'lockdown' property; it's functionality will be replaced by
3883                         PolicyKit instead
3884
3885 2008-04-01  Dan Williams  <dcbw@redhat.com>
3886
3887         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3888
3889         * configure.in
3890           initscript/Makefile.am
3891           initscript/Mandriva/Makefile.am
3892           initscript/Mandriva/networkmanager.in
3893           initscript/Mandriva/networkmanagerdispatcher.in
3894           src/backends/Makefile.am
3895           src/backends/NetworkManagerMandriva.c
3896           system-settings/plugins/Makefile.am
3897                 - Add Mandriva support
3898
3899 2008-03-31  Dan Williams  <dcbw@redhat.com>
3900
3901         * src/vpn-manager/nm-vpn-service.c
3902                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3903                         errors can be passed back to the caller; also no longer scheduled
3904                         as an idle handler, but called directly; and bump up VPN service
3905                         spawn timeout, 2s is really short
3906                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3907                         but call it directly so that errors are reported on return from
3908                         ActivateConnection() and don't get lost.  If scheduled as an idle
3909                         handler, clients don't have the time to query NM for the new VPN
3910                         connection's properties before the VPN connection is torn down again
3911                         if the service couldn't be launched, and therefore launch errors
3912                         get lost.
3913
3914 2008-03-31  Dan Williams  <dcbw@redhat.com>
3915
3916         * src/vpn-manager/nm-vpn-connection.c
3917                 - (device_state_changed): send correct state on device failure too
3918                 - (plugin_state_changed): failed state means unexpected disconnection,
3919                         thus if the service goes away while the VPN connection is activated
3920                         that's a failure too
3921
3922 2008-03-31  Dan Williams  <dcbw@redhat.com>
3923
3924         * src/vpn-manager/nm-vpn-manager.c
3925           src/vpn-manager/nm-vpn-manager.h
3926                 - Make VPNManager errors more available; add a service-start-failed error
3927
3928 2008-03-31  Dan Williams  <dcbw@redhat.com>
3929
3930         * libnm-glib/nm-client.c
3931           libnm-glib/nm-client.h
3932                 - (activate_cb): pass the new active connection to callback; fix
3933                         message when no callback is specified
3934
3935 2008-03-30  Dan Williams  <dcbw@redhat.com>
3936
3937         * libnm-util/nm-setting-wireless-security.c
3938                 - (need_secrets): only require key0 if the transmit key index is also
3939                         0
3940                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3941
3942 2008-03-29  Dan Williams  <dcbw@redhat.com>
3943
3944         * libnm-util/nm-setting-8021x.c
3945           libnm-util/nm-setting-ip4-config.c
3946           libnm-util/nm-setting-vpn-properties.c
3947           libnm-util/nm-setting-vpn.c
3948           libnm-util/nm-setting-wireless-security.c
3949           libnm-util/nm-setting-wireless.c
3950           libnm-util/nm-utils.c
3951           src/dhcp-manager/nm-dhcp-manager.c
3952           src/nm-activation-request.c
3953           src/nm-ip4-config.c
3954           src/nm-manager.c
3955           src/nm-properties-changed-signal.c
3956           src/ppp-manager/nm-pppd-plugin.c
3957           src/supplicant-manager/nm-supplicant-interface.c
3958           src/vpn-manager/nm-vpn-connection.c
3959                 - consistently use nm-dbus-glib-types.h
3960
3961 2008-03-29  Dan Williams  <dcbw@redhat.com>
3962
3963         * src/vpn-manager/nm-vpn-connection.c
3964                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3965                         not string
3966
3967         * src/nm-activation-request.c
3968                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3969                         not string
3970
3971 2008-03-29  Dan Williams  <dcbw@redhat.com>
3972
3973         * libnm-glib/nm-device-802-11-wireless.c
3974                 - (access_point_added_proxy): create new APs if not found
3975
3976 2008-03-29  Dan Williams  <dcbw@redhat.com>
3977
3978         * libnm-glib/nm-client.c
3979                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
3980                         before freeing them
3981
3982 2008-03-29  Dan Williams  <dcbw@redhat.com>
3983
3984         * system-settings/plugins/ifcfg-fedora/parser.c
3985                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
3986                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
3987
3988 2008-03-29  Dan Williams  <dcbw@redhat.com>
3989
3990         * system-settings/plugins/ifcfg-fedora/parser.c
3991                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
3992
3993 2008-03-27  Dan Williams  <dcbw@redhat.com>
3994
3995         * nm-object.c
3996                 - (nm_object_queue_notify): don't notify multiple times for the same
3997                         property
3998
3999         * nm-object-private.h
4000                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4001                         if it has zero elements
4002
4003         * nm-ip4-config.c
4004                 - (finalize): use g_ptr_array_foreach() when freeing domains
4005                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4006
4007         * nm-active-connection.c
4008                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4009
4010         * nm-device-802-11-wireless.c
4011           nm-device-802-11-wireless.h
4012                 - (nm_device_802_11_wireless_get_access_points): return const; use
4013                         handle_ptr_array_return()
4014
4015         * nm-types.c
4016                 - (nm_object_array_demarshal): always create an array, even of length
4017                         zero, to distinguish between "NM returned no items" and "haven't
4018                         asked NM yet"
4019
4020         * nm-client.c
4021                 - (dispose): free active connections too
4022                 - (proxy_name_owner_changed): free active connections too when NM goes
4023                         away
4024                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4025                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4026
4027 2008-03-26  Dan Williams  <dcbw@redhat.com>
4028
4029         Rework VPN connection handling for a more consistent D-Bus API.  The
4030         VPNManager object has been removed, and active VPN connections are now the
4031         same as any other active connection.  The Manager object's ActivateConnection
4032         and DeactivateConnection methods are used to start and stop a VPN connection,
4033         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4034         When activating a VPN connection, pass the path of the active connection
4035         to which the VPN connection is tied in the 'specific_object' argument.
4036
4037         Consequently, the libnm-glib API has been reworked to match this arrangement,
4038         with the VPNManager object removed, and the NMVPNConnection objects now
4039         being subclasses of NMActiveConnection.
4040
4041 2008-03-25  Dan Williams  <dcbw@redhat.com>
4042
4043         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4044
4045         * initscript/Arch/networkmanager.in
4046           initscript/Arch/networkmanager-dispatcher.in
4047                 - Updates for Arch Linux (gnome.org #523701)
4048
4049 2008-03-25  Dan Williams  <dcbw@redhat.com>
4050
4051         * libnm-glib/nm-ip4-config.c
4052           libnm-glib/nm-active-connection.c
4053           libnm-glib/nm-access-point.c
4054                 - Use nm_object_queue_notify() instead of g_object_notify()
4055
4056         * libnm-glib/nm-device.c
4057                 - (demarshal_ip4_config): distinguish between successful but missing
4058                         ip4-config request, and unsuccessful and missing ip4-config request
4059                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4060                         path
4061                 - Use nm_object_queue_notify() instead of g_object_notify()
4062
4063         * libnm-glib/nm-device-802-11-wireless.c
4064                 - (demarshal_active_ap): distinguish between successfull but missing
4065                         active-ap request, and unsuccessful and missing active-ap request
4066                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4067                         code
4068                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4069                         for the NMClient to notify the device that wireless is disabled,
4070                         and therefore to clear the AP list and active AP
4071                 - Use nm_object_queue_notify() instead of g_object_notify()
4072
4073         * libnm-glib/nm-client.c
4074                 - (poke_wireless_devices_with_rf_status): new function
4075                 - (update_wireless_status): notify wireless devices of the rfkill status
4076                         so they can clean up if needed
4077                 - Use nm_object_queue_notify() instead of g_object_notify()
4078
4079 2008-03-25  Dan Williams  <dcbw@redhat.com>
4080
4081         * libnm-glib/nm-object.c
4082           libnm-glib/nm-object-private.h
4083                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4084                         signals to an idle handler
4085                 - (nm_object_get_property): add a timeout to the D-Bus method call
4086
4087 2008-03-25  Dan Williams  <dcbw@redhat.com>
4088
4089         * introspection/nm-device-cdma.xml
4090           introspection/nm-device-gsm.xml
4091           introspection/Makefile.am
4092           introspection/all.xml
4093                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4094
4095         * src/nm-gsm-device.h
4096           src/nm-gsm-device.c
4097           src/nm-cdma-device.h
4098           src/nm-cdma-device.c
4099           src/Makefile.am
4100                 - Implement PropertiesChanged signals
4101
4102         * libnm-glib/nm-cdma-device.c
4103           libnm-glib/nm-cdma-device.c
4104                 - Attach to PropertiesChanged signals
4105
4106 2008-03-24  Dan Williams  <dcbw@redhat.com>
4107
4108         * libnm-glib/nm-client.c
4109                 - (client_device_added_proxy): add new devices to the internal device
4110                         list so they appear to clients
4111
4112 2008-03-24  Dan Williams  <dcbw@redhat.com>
4113
4114         Massive fixup of libnm-glib to:
4115         a) have all objects (with the exception of VPN) cache their properties and
4116                 update them asynchronously on PropertiesChanged signals from NM
4117         b) return internal const data for most attributes/properties instead of
4118                 allocated values that the caller must free
4119         c) cache wrapped objects such that a given D-Bus path will always map to the
4120                 same GObject returned by libnm-glib
4121         d) remove a few signals and move them to GObject property notifications
4122         e) match recent NM D-Bus API changes for activation/deactivation
4123         f) remove some private functions from libnm-glib headers
4124
4125 2008-03-20  Dan Williams  <dcbw@redhat.com>
4126
4127         * src/nm-manager.c
4128                 - (nm_manager_update_state, manager_device_state_changed,
4129                    nm_manager_activate_device, connection_added_default_handler,
4130                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4131                         queue PropertyChanged singals when the active connections change
4132
4133 2008-03-20  Dan Williams  <dcbw@redhat.com>
4134
4135         * introspection/nm-manager.xml
4136           introspection/nm-manager-client.xml
4137                 - (ActivateConnection): return the object path of the active connection
4138                         on success
4139                 - (GetActiveConnections): remove
4140                 - (DeactivateConnection): new function; deactivate a currently active
4141                         connection
4142                 - Add an ActiveConnections property which returns an array of
4143                         active connection object paths
4144
4145         * introspection/nm-device.xml
4146                 - (Deactivate): remove
4147
4148         * introspection/all.xml
4149                 - Add ActiveConnection introspection
4150
4151         * introspection/nm-active-connection.xml
4152                 - Add the ActiveConnection object
4153
4154         * include/NetworkManager.h
4155                 - Add the Connection.Active D-Bus interface
4156
4157         * src/nm-device-interface.c
4158                 - (impl_device_deactivate): remove
4159
4160         * src/nm-activation-request.c
4161           src/nm-activation-request.c
4162           src/Makefile.am
4163                 - Implement the Connection.Active D-Bus interface
4164
4165         * src/nm-manager.c
4166                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4167                 - (nm_manager_activate_device): return the active connection path
4168                 - (connection_added_default_handler, impl_manager_activate_connection):
4169                         return the active connection to the caller
4170                 - (add_one_connection_element, impl_manager_get_active_connections):
4171                         remove
4172                 - (impl_manager_deactivate_connection): new function; deactivate an
4173                         active connection
4174
4175         * libnm-glib/nm-device.c
4176           libnm-glib/nm-device.h
4177                 - Remove Deactivate() function
4178
4179 2008-03-19  Dan Williams  <dcbw@redhat.com>
4180
4181         * introspection/nm-manager.xml
4182           introspection/nm-manager-client.xml
4183                 - Rename the ActivateDevice method to ActivateConnection to better
4184                         reflect it's usage; it's arguments get reordered a bit too
4185                 - Convert GetActiveConnections method return from a struct to a dict
4186
4187         * include/NetworkManager.h
4188                 - Define the dict keys for return value of GetActiveConnections
4189
4190         * src/nm-manager.c
4191                 - impl_manager_activate_device -> impl_manager_activate_connection
4192                 - (add_one_connection_element): return a populated hash table, not
4193                         a structure
4194
4195         * libnm-glib/nm-client.c
4196           libnm-glib/nm-client.h
4197                 - nm_client_activate_device -> nm_client_activate_connection
4198                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4199                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4200                         instead of the custom structures.  Each element of the returned list
4201                         must be freed with nm_client_free_active_connections_element()
4202
4203 2008-03-18  Dan Williams  <dcbw@redhat.com>
4204
4205         * system-settings/plugins/ifcfg-fedora/parser.c
4206           system-settings/plugins/ifcfg-fedora/parser.h
4207           system-settings/plugins/ifcfg-fedora/plugin.c
4208                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4209                         profiles.  DNS servers and searches must now be stored in the ifcfg
4210                         files themselves
4211
4212 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4213
4214         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4215         print out username and password, it's supposed to be a secret.
4216
4217         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4218         request and set the device state accordingly.
4219
4220 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4221
4222         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4223
4224         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4225
4226 2008-03-18  Dan Williams  <dcbw@redhat.com>
4227
4228         * src/vpn-manager/nm-vpn-connection.c
4229                 - (get_secrets_cb): handle new GetSecrets return format
4230
4231 2008-03-18  Dan Williams  <dcbw@redhat.com>
4232
4233         Adapt system settings service for split 802.1x.
4234
4235         * system-settings/src/nm-system-config-interface.h
4236                 - clarify return value of get_secrets()
4237
4238         * system-settings/src/dbus-settings.c
4239                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4240                 - (check_for_secrets): check if there actually secrets returned by a
4241                         plugin
4242                 - (exported_connection_get_secrets): just return the plugin-returned
4243                         hash of settings' secrets if it looks valid
4244
4245         * system-settings/plugins/ifcfg-fedora/plugin.c
4246                 - (get_secrets): add split secrets with correct format to reply hash
4247
4248         * system-settings/plugins/ifcfg-fedora/parser.c
4249           system-settings/plugins/ifcfg-fedora/parser.h
4250                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4251                    connection_data_free, connection_data_add): keep secrets for
4252                         different settings in different hashes
4253
4254 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4255
4256         Clean up activating device deactivation.
4257
4258         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4259         should be done whether the device activation gets cancelled or the device
4260         is just getting deactivated.
4261         (nm_device_activation_cancel): Remove.
4262         (nm_device_deactivate_quickly): Handle the case where device is activating.
4263
4264         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4265         It does the exact same thing as real_deactivate_quickly().
4266
4267 2008-03-17  Dan Williams  <dcbw@redhat.com>
4268
4269         Split the 802.1x bits out of the wireless-security setting so they are
4270         generalized enough for wired 802.1x to use too.
4271
4272         * introspection/nm-exported-connection.xml
4273                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4274                         of just a hash of the secrets for one setting
4275
4276         * libnm-util/nm-setting-wireless-security.c
4277           libnm-util/nm-setting-wireless-security.h
4278                 - Remove 802.1x-specific stuff
4279                 - Added leap-username and leap-password properties for old-school LEAP
4280
4281         * src/nm-device.c
4282           src/nm-device.h
4283                 - (connection_secrets_updated_cb): take a list of updated settings names,
4284                         not just one
4285
4286         * src/supplicant-manager/nm-supplicant-config.c
4287           src/supplicant-manager/nm-supplicant-config.h
4288                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4289                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4290                         to nm_supplicant_config_add_setting_8021x()
4291                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4292                         the supplicant config
4293
4294         * src/nm-device-802-11-wireless.c
4295                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4296                 - (real_connection_secrets_updated): take a list of updated settings
4297                         names, not just one
4298
4299         * src/nm-device-802-3-ethernet.c
4300           src/nm-cdma-device.c
4301           src/nm-gsm-device.c
4302                 - (real_connection_secrets_updated_cb): take a list of updated settings
4303                         names, not just one
4304
4305         * src/nm-activation-request.c
4306           src/nm-activation-request.h
4307                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4308                         now passes a list of updated settings names, not just one
4309                 - (update_one_setting): new function; handle one updated setting
4310                 - (get_secrets_cb): handle multiple settings returned from the
4311                         settings service; have to be careful of ordering here as there are
4312                         some dependencies between settings (ex. wireless-security and 802.1x
4313                         in some cases)
4314
4315         * src/marshallers/nm-marshal.list
4316                 - new marshaller for connection-secrets-updated signal
4317
4318         * libnm-util/nm-setting-8021x.c
4319                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4320                         methods
4321                 - (verify): a valid 'eap' property is now required
4322
4323         * libnm-util/nm-connection.c
4324                 - (register_default_settings): add priorities to settings; there are
4325                         some dependencies between settings, and during the need_secrets
4326                         calls this priority needs to be respected.  For example, only the
4327                         wireless-security setting knows whether or not the connection is
4328                         going to use 802.1x or now, so it must be asked for secrets before
4329                         any existing 802.1x setting is
4330                 - (nm_connection_lookup_setting_type): expose
4331
4332         * libnm-util/nm-setting-wireless.c
4333                 - (verify): should verify even if all_settings is NULL; otherwise won't
4334                         catch the case where there is missing security
4335
4336         * libnm-util/nm-setting-wireless-security.c
4337                 - Remove everything to do with 802.1x
4338                 - Add old-school LEAP specific properties for username and password
4339                 - (need_secrets): rework LEAP secrets checking
4340                 - (verify): rework for LEAP and 802.1x verification
4341
4342 2008-03-17  Dan Williams  <dcbw@redhat.com>
4343
4344         * src/NetworkManagerPolicy.c
4345                 - (auto_activate_device): always remove the current activation check
4346                         from the pending activation list, otherwise when the policy gets
4347                         destroyed on NM exit it will attempt to free the already freed
4348                         activation check
4349
4350 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4351
4352         * src/backends/NetworkManagerSlackware.c 
4353         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4354
4355         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4356
4357 2008-03-14  Dan Williams  <dcbw@redhat.com>
4358
4359         * src/nm-manager.c
4360                 - (nm_device_interface_get_iface): g_object_get() will return an
4361                         allocated value, so this function must not return const
4362                 - (nm_device_interface_activate): free returned iface
4363
4364 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4365
4366         * libnm-util/Makefile.am: Add new files to build.
4367
4368         * libnm-util/nm-connection.c: Register NMSetting8021x.
4369
4370         * libnm-util/nm-setting-8021x.c
4371         * libnm-util/nm-setting-8021x.h: Implement.
4372
4373 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4374
4375         * libnm-util/Makefile.am: Add new files to build.
4376
4377         * libnm-util/nm-connection.c: Register NMSetting8021x.
4378
4379         * libnm-util/nm-setting-8021x.c
4380         * libnm-util/nm-setting-8021x.h: Implement.
4381
4382 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4383
4384         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4385         data.
4386
4387 2008-03-14  Dan Williams  <dcbw@redhat.com>
4388
4389         * include/wireless-helper.h
4390           include/Makefile.am
4391                 - One place for all the junk needed for #including wireless.h
4392
4393         * test/nm-tool.c
4394           src/NetworkManagerAP.c
4395           src/wpa.c
4396           src/Makefile.am
4397           libnm-util/nm-utils.c
4398           libnm-util/nm-setting-wireless.c
4399           libnm-glib/nm-device-802-11-wireless.c
4400           libnm-glib/nm-access-point.c
4401           libnm-glib/libnm-glib-test.c
4402                 - include wireless-helper.h, not iwlib.h
4403
4404         * configure.in
4405                 - Don't need libiw really, just need to check for wireless.h
4406
4407         * src/kernel-types.h
4408                 - Remove; used types moved into wpa.c
4409
4410         * src/nm-device-802-11-wireless.c
4411                 - (nm_device_802_11_wireless_update_signal_strength,
4412                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4413                    nm_device_802_11_wireless_set_mode,
4414                    nm_device_802_11_wireless_get_frequency,
4415                    nm_device_802_11_wireless_get_ssid,
4416                    nm_device_802_11_wireless_set_ssid,
4417                    nm_device_802_11_wireless_get_bitrate,
4418                    nm_device_802_11_wireless_get_bssid,
4419                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4420                         instead of iwlib functions
4421
4422 2008-03-14  Dan Williams  <dcbw@redhat.com>
4423
4424         * src/ppp-manager/nm-ppp-manager.c
4425                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4426                         should only take the DBusGMethodInvocation argument, not user/pass
4427                         too.  With dbus-glib, async functions only take 2 C arguments since
4428                         the real dbus method arguments get passed back with
4429                         dbus_g_method_return()
4430
4431 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4432
4433         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4434         Adapt the changes of NMSettingIP4Config.
4435
4436 2008-03-13  Dan Williams  <dcbw@redhat.com>
4437
4438         * src/NetworkManagerUtils.c
4439           src/NetworkManagerUtils.h
4440                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4441
4442         * src/NetworkManagerAP.c
4443           src/nm-device-802-11-wireless.c
4444           src/nm-device-802-3-ethernet.c
4445                 - s/iw_ether_ntop/nm_ether_ntop/g
4446
4447 2008-03-13  Dan Williams  <dcbw@redhat.com>
4448
4449         * src/NetworkManagerPolicy.c
4450                 - (update_routing_and_dns): never set the default route through an
4451                         IPv4LL addressed device
4452
4453 2008-03-13  Dan Williams  <dcbw@redhat.com>
4454
4455         * NetworkManagerUtils.c
4456           NetworkManagerUtils.h
4457                 - Remove NMSock stuff
4458                 - Remove the completion stuff
4459
4460         * nm-device.c
4461           nm-device.h
4462           NetworkManager.c
4463           NetworkManagerSystem.c
4464           autoip.c
4465           nm-device-802-11-wireless.c
4466           nm-device-802-3-ethernet.c
4467                 - Remove NMSock and completion stuff
4468                 - Remove nm_ioctl_info()
4469
4470 2008-03-12  Dan Williams  <dcbw@redhat.com>
4471
4472         * src/nm-device.c
4473                 - (merge_ip4_config): avoid duplicates
4474
4475 2008-03-12  Dan Williams  <dcbw@redhat.com>
4476
4477         * libnm-util/nm-setting-ip4-config.c
4478           libnm-util/nm-setting-ip4-config.h
4479                 - Remove 'manual' and 'autoip' properties
4480                 - Add 'method' property
4481                 - (verify): fix verification with 'method'
4482                 - (finalize): free 'method'
4483                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4484                         up for 'method'
4485
4486         * src/nm-device.c
4487                 - (real_act_stage3_ip_config_start): check IP4Config method
4488                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4489                         the future
4490                 - (merge_ip4_config): IP settings are valid with DHCP too
4491                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4492                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4493
4494         * src/nm-device-802-11-wireless.c
4495                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4496                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4497                         only on demand
4498
4499         * system-settings/plugins/ifcfg-fedora/parser.c
4500           system-settings/plugins/ifcfg-suse/parser.c
4501                 - (make_ip4_setting): fix up for 'method'
4502
4503 2008-03-12  Dan Williams  <dcbw@redhat.com>
4504
4505         * system-settings/plugins/ifcfg-fedora/parser.c
4506           system-settings/plugins/ifcfg-fedora/parser.h
4507                 - (get_ifcfg_name): ignore more file suffixes
4508                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4509
4510 2008-03-12  Dan Williams  <dcbw@redhat.com>
4511
4512         * configure.in
4513                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4514
4515 2008-03-12  Dan Williams  <dcbw@redhat.com>
4516
4517         * system-settings/plugins/ifcfg-fedora/plugin.c
4518                 - (write_auto_wired_connection): new function; write out an auto
4519                         wired connection file since the applet isn't doing it any more
4520                 - (reload_all_connections): write out the auto wired connection file
4521                         if there aren't any wired connections already
4522                 - (init): don't leak a GError
4523
4524 2008-03-12  Dan Williams  <dcbw@redhat.com>
4525
4526         * src/nm-device-interface.c
4527                 - (nm_device_interface_activate): print the ID of the connection
4528                         that's about to be activated
4529
4530 2008-03-12  Dan Williams  <dcbw@redhat.com>
4531
4532         Harmonize the 802.11 bitrate API
4533
4534         * introspection/nm-access-point.xml
4535                 - 'Rate' -> 'MaxBitrate'; clarify units
4536
4537         * introspection/nm-device-802-11-wireless.xml
4538                 - Clarify units of 'Bitrate'
4539
4540         * src/NetworkManagerAP.c
4541           src/NetworkManagerAP.h
4542                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4543                         property to 'max-bitrate'
4544                 - (foreach_property_cb): convert rate to Kb/s
4545
4546         * src/nm-device-802-11-wireless.c
4547                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4548
4549         * libnm-glib/nm-access-point.c
4550           libnm-glib/nm-access-point.h
4551                 - 'rate' -> 'max-bitrate'
4552
4553         * test/nm-tool.c
4554           libnm-glib/libnm-glib-test.c
4555                 - Fix up for these changes
4556
4557 2008-03-12  Dan Williams  <dcbw@redhat.com>
4558
4559         * src/nm-device.c
4560                 - (nm_device_set_ip4_config): don't send property notifications when
4561                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4562                         which dbus-glib can't parse because the value is NULL, which isn't
4563                         a legal object path.  Setting the IP4 config to NULL is only
4564                         valid when deactivating a device anyway, so the device state change
4565                         will alert listeners that the ip4 config is invalid.
4566
4567 2008-03-12  Dan Williams  <dcbw@redhat.com>
4568
4569         * src/nm-properties-changed-signal.c
4570                 - (add_to_string): better handling of NULL objects
4571
4572 2008-03-12  Dan Williams  <dcbw@redhat.com>
4573
4574         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4575         convert the libnm-glib NMDevice8023Ethernet to cached properties
4576
4577         * introspection/nm-device-802-3-ethernet.xml
4578                 - New 'Carrier' property
4579                 - New 'PropertiesChanged' signal
4580
4581         * introspection/nm-device.xml
4582                 - Remove 'Carrier' property
4583                 - Remove 'CarrierChanged' signal
4584
4585         * src/nm-device-interface.c
4586           src/nm-device-interface.h
4587                 - (nm_device_interface_init): remove 'carrier' property and
4588                         'carrier-changed' signal
4589
4590         * src/nm-device.c
4591           src/nm-device.h
4592                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4593                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4594                         the link here; wired device will handle that
4595                 - (handle_dhcp_lease_change): don't bother updating link here
4596                 - (get_property, nm_device_class_init): remove carrier property
4597
4598         * src/nm-device-802-11-wireless.c
4599                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4600                         real_update_link(); wireless devices don't use carrier at all
4601                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4602                    supplicant_iface_connection_state_cb_handler,
4603                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4604
4605         * src/nm-device-802-3-ethernet.c
4606           src/nm-device-802-3-ethernet.h
4607                 - (nm_device_802_3_ethernet_carrier_on,
4608                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4609                         instead of nm_device_set_carrier()
4610                 - (device_state_changed): update link from sysfs on activation;
4611                         replaces real_update_link()
4612                 - (real_update_link): remove, replaced by device_state_changed()
4613                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4614                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4615                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4616                         new get_carrier function
4617                 - (get_property): add 'carrier' property
4618                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4619                         hook into property-changed signal helper
4620
4621         * src/NetworkManagerPolicy.c
4622                 - (device_carrier_changed): will only ever be called with a wired device
4623                 - (device_added): only hook up to carrier-changed for wired devices
4624
4625         * libnm-glib/nm-device.c
4626           libnm-glib/nm-device.h
4627                 - (constructor, nm_device_class_init): remove carrier-changed signal
4628                 - (device_carrier_changed_proxy): remove; unused
4629                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4630
4631         * libnm-glib/nm-device-802-3-ethernet.c
4632           libnm-glib/nm-device-802-3-ethernet.h
4633                 - Convert to cached properties like AP and Wireless objects
4634                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4635                         instead of a 'char *', return value should not be freed
4636                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4637                 - (constructor): hook into properties-changed helper
4638                 - (set_property, get_property): new functions
4639                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4640
4641         * test/nm-tool.c
4642                 - (detail_device): strdup the wired hardware address too since it's
4643                         cached now
4644
4645         * libnm-glib/libnm-glib-test.c
4646                 - (dump_wired): strdup the wired hardware address too since it's
4647                         cached now
4648
4649 2008-03-12  Dan Williams  <dcbw@redhat.com>
4650
4651         * libnm-util/nm-setting-ip4-config.c
4652           libnm-util/nm-setting-ip4-config.h
4653                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4654                         the 'autoip' property from the spec
4655
4656 2008-03-11  Dan Williams  <dcbw@redhat.com>
4657
4658         * src/backends/NetworkManagerGeneric.c
4659           src/backends/NetworkManagerGeneric.h
4660                 - (nm_generic_device_get_use_dhcp): remove
4661
4662 2008-03-11  Dan Williams  <dcbw@redhat.com>
4663
4664         * src/nm-device.c
4665                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4666                         already in nm_device_set_ip4_config()
4667                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4668                         due to a DHCP rebind fails
4669                 - (nm_device_set_ip4_config): send property notifications when the
4670                         ip4 config changes
4671                 - (get_property): only report IP4Config property during valid states
4672
4673         * src/NetworkManagerPolicy.c
4674                 - (update_routing_and_dns): ignore devices that don't have an ip4
4675                         config; add parameter 'force_update' to allow callers to specify
4676                         that changes should be made even if the default device doesn't change
4677                 - (device_ip4_config_changed): update DNS and routing when the device's
4678                         IP4Config changes, like for DHCP updates
4679                 - (device_added): listen for ip4-config property changes
4680
4681 2008-03-11  Dan Williams  <dcbw@redhat.com>
4682
4683         Fix address handling as a result of DHCP rebind/renew/reboot.
4684
4685         * src/NetworkManagerSystem.c
4686                 - (check_one_address): delete an address if it doesn't match a given
4687                         one for the same interface
4688                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4689                         be smarter about flushing addresses (only flush ones that don't
4690                         match the one we're about to apply)
4691
4692         * src/backends/NetworkManagerDebian.c
4693           src/backends/NetworkManagerSuSE.c
4694           src/backends/NetworkManagerArch.c
4695           src/backends/NetworkManagerSlackware.c
4696           src/backends/NetworkManagerRedHat.c
4697           src/backends/NetworkManagerPaldo.c
4698           src/backends/NetworkManagerFrugalware.c
4699           src/backends/NetworkManagerGentoo.c
4700                 - (nm_system_delete_default_route): remove
4701
4702         * src/backends/NetworkManagerGeneric.c
4703           src/backends/NetworkManagerGeneric.h
4704                 - (nm_generic_enable_loopback): fix the loopback device label
4705                 - (nm_generic_delete_default_route): remove; no longer used
4706
4707 2008-03-11  Dan Williams  <dcbw@redhat.com>
4708
4709         * src/nm-device-interface.h
4710                 - Delimit property name words with '-', otherwise g_object_notify()
4711                         doesn't work the way we expect
4712
4713 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4714
4715         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4716
4717 2008-03-11  Dan Williams  <dcbw@redhat.com>
4718
4719         * src/NetworkManagerPolicy.c
4720                 - (update_routing_and_dns): don't change anything if the default device
4721                         hasn't changed; print something out when switching the default route
4722                         and DNS
4723
4724 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4725
4726         Implement PPPoE.
4727
4728         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4729         setting. Use "nic-$eth".
4730
4731         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4732         the device is activating here to fix a race condition.
4733
4734         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4735
4736         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4737         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4738         (nm_ppp_manager_start): Take activation request instead of connection, we might
4739         need it for asking secrets.
4740         (nm_ppp_manager_update_secrets): Implement.
4741
4742         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4743         ppp manager start. It might be needed for asking secrets.
4744
4745         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4746         (ppp_state_changed): Handle pppd daemon disappearing.
4747         (pppoe_stage2_config): Send activation request to ppp manager start.
4748
4749         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4750
4751         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4752         username and password.
4753         
4754 2008-03-10  Dan Williams  <dcbw@redhat.com>
4755
4756         * src/nm-device.c
4757                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4758                         response to a DHCP lease change
4759                 - (dhcp_state_changed): handle DHCP lease changes while activated
4760                 - (nm_device_set_ip4_config): remove a previously set named config
4761                         when setting an ip4 config
4762
4763 2008-03-10  Dan Williams  <dcbw@redhat.com>
4764
4765         * src/nm-serial-device.c
4766                 - (nm_serial_device_send_command): report errno on error
4767                 - (get_reply_got_data): limit the size of the overall buffer
4768                 - (wait_for_reply_info_destroy): destroy result string
4769                 - (wait_for_reply_got_data): append received data to an overall buffer
4770                         until timeout, filled buffer, or error instead of keeping a per-call
4771                         buffer.  Some devices send data slowly enough that this function
4772                         gets called multiple times for the same command stream.
4773                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4774                         wait_for_reply_got_data() here
4775
4776 2008-03-10  Dan Williams  <dcbw@redhat.com>
4777
4778         * src/nm-cdma-device.c
4779                 - (do_dial, init_modem): handle errors from
4780                         nm_serial_device_send_command_string()
4781
4782         * src/nm-gsm-device.c
4783                 - (do_dial, manual_registration, automatic_registration_get_network,
4784                    automatic_registration, enter_pin, check_pin, init_modem): handle
4785                         errors from nm_serial_device_send_command_string()
4786
4787 2008-03-10  Dan Williams  <dcbw@redhat.com>
4788
4789         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4790
4791         * src/named-manager/nm-named-manager.c
4792                 - (compute_searches): prefer searches before domains
4793                 - (compute_domain): new function
4794                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4795                 - (merge_one_ip4_config): if there are no searches in the source config,
4796                         merge domains of the source config into the target config
4797                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4798
4799 2008-03-10  Dan Williams  <dcbw@redhat.com>
4800
4801         * src/nm-serial-device.c
4802                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4803                 - (wait_for_reply_got_data): try to handle slower serial devices where
4804                         the reply is broken up into multiple reads by concatenating replies
4805                         together until either an error is received or the search string is
4806                         found
4807
4808 2008-03-10  Dan Williams  <dcbw@redhat.com>
4809
4810         * src/nm-device.c
4811                 - (nm_device_bring_down): deactivate the device if it's activating too,
4812                         not just if it's already activated.  This makes sure that everything
4813                         from an association attempt is cleaned up (like DHCP for example)
4814
4815 2008-03-10  Dan Williams  <dcbw@redhat.com>
4816
4817         * src/nm-serial-device.c
4818                 - (config_fd): report error from TCSETA
4819                 - (nm_serial_device_open): fail when config_fd() fails
4820
4821 2008-03-10  Dan Williams  <dcbw@redhat.com>
4822
4823         * src/nm-ip4-config.c
4824                 - (nm_ip4_config_init): allocate searches list
4825                 - (finalize): free searches list
4826
4827 2008-03-09  Dan Williams  <dcbw@redhat.com>
4828
4829         Patch from Bas Zoetekouw <bas@debian.org>
4830
4831         * src/dhcp-manager/nm-dhcp-manager.c
4832                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4833
4834 2008-03-09  Dan Williams  <dcbw@redhat.com>
4835
4836         Patch from Bas Zoetekouw <bas@debian.org>
4837
4838         * src/nm-ip4-config.c
4839           src/nm-ip4-config.h
4840                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4841                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4842                         domains.  'searches' is the correct way to store multiple search
4843                         domains, whereas 'domains' is really just supposed to store one
4844                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4845                         search domains to the client.
4846                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4847
4848 2008-03-09  Dan Williams  <dcbw@redhat.com>
4849
4850         * src/dhcp-manager/nm-dhcp-manager.c
4851                 - (dhclient_run): send interface-specific config files to dhclient
4852
4853 2008-03-07  Dan Williams  <dcbw@redhat.com>
4854
4855         * system-settings/plugins/ifcfg-fedora/parser.c
4856                 - (is_wireless_device): new function; test a device for wireless
4857                         extensions
4858                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4859                         test the device for wireless extensions to determine the type
4860
4861 2008-03-07  Dan Williams  <dcbw@redhat.com>
4862
4863         Change manager's StateChange signal to StateChanged for consistency.
4864
4865         * introspection/nm-manager.xml
4866                 - Add 'StateChanged' signal
4867                 - Move 'StateChange' down to the deprecated section
4868
4869         * src/nm-hal-manager.c
4870                 - (nm_hal_manager_new): connect to 'state-changed' instead
4871
4872         * src/NetworkManagerPolicy.c
4873                 - (nm_policy_new): connect to 'state-changed' instead
4874
4875         * src/nm-manager.c
4876           src/nm-manager.h
4877                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4878                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4879                         of 'state-change'
4880
4881         * libnm-glib/nm-client.c
4882           libnm-glib/nm-client.h
4883                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4884                         track and proxy 'state-changed' instead of 'state-change'
4885
4886 2008-03-07  Dan Williams  <dcbw@redhat.com>
4887
4888         First pass of multiple active device support.  Expect bugs.
4889
4890         * src/nm-ip4-config.c
4891           src/nm-ip4-config.h
4892                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4893                         there are better ways to do this in the named manager
4894
4895         * src/nm-device.c
4896           src/nm-device.h
4897                 - (nm_device_can_activate): return whether the device can activate a
4898                         connection right now; taking into account things like carrier state
4899                         and rfkill state
4900                 - (nm_device_get_best_auto_connection): renamed from
4901                         nm_device_get_best_connection
4902                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4903                         device subclasses themselves, so that each device can override the
4904                         MTU from it's NMSetting subclass if needed
4905                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4906                         in NetworkManagerSystem.c, not here
4907
4908         * src/named-manager/nm-named-manager.c
4909           src/named-manager/nm-named-manager.h
4910                 - (nm_named_manager_name_owner_changed,
4911                    nm_named_manager_dbus_connection_changed): fix for changes to
4912                         rewrite_resolv_conf()
4913                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4914                         from parameter list
4915                 - (merge_one_ip4_config): new function; merge ip4 configs together
4916                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4917                         ip4 configs; the VPN config takes precedence, then the best
4918                         device config, then the rest of the configs
4919                 - (get_domain_for_config): take the NMNamedManager as an argument
4920                         to check whether the config is the VPN config
4921                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4922                         attribute from ip4 configs
4923                 - (add_all_ip4_configs_to_named): add all the configs in priority order
4924                 - (remove_ip4_config_from_named): fix for changes to
4925                         get_domain_for_config()
4926                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4927                         based on its type; callers must pass in the type now
4928                 - (get_last_default_domain): remove, unused
4929                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4930
4931         * src/nm-device-802-11-wireless.c
4932                 - (real_can_activate): new function
4933                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4934                 - (real_act_stage4_get_ip4_config): handle MTU override
4935
4936         * src/nm-device-802-3-ethernet.c
4937                 - (real_can_activate): new function
4938                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4939                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4940
4941         * src/vpn-manager/nm-vpn-connection.c
4942                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4943                         attribute on the ip4 config
4944
4945         * src/NetworkManagerPolicy.c
4946                 - (nm_policy_auto_get_best_device): remove
4947                 - (nm_policy_device_change_check): remove
4948                 - (update_default_route): new function; set the default route via
4949                         the specified device
4950                 - (get_device_priority): new function; return the priority number of
4951                         a device type WRT which one should have the default route.  Order is
4952                         (highest to lowest)  wired, wireless, GSM, CDMA.
4953                 - (update_routing_and_dns): new function; determine which device should
4954                         have the default route, then update the routing table and DNS
4955                 - (maybe_auto_activate_device): new function; if a device is now
4956                         available for activation, find out what connection it would like to
4957                         activate and do it
4958                 - (schedule_activate_check): new function; if a device can be activated
4959                         now, schedule the activation.  Each device may have only one
4960                         pending activation at a given time.
4961                 - (device_state_changed): if activation was canceled, try again,
4962                         possibly with another connection; if the device was activated,
4963                         update routing and DNS; if the device was deactivated, try again
4964                         with another connection
4965                 - (device_carrier_changed): if there is no carrier, deactivate the
4966                         device; otherwise schedule an activation check for the device
4967                 - (wireless_networks_changed): schedule an activation check for the
4968                         device
4969                 - (device_added): keep track of the signal handler IDs so they can
4970                         be removed when the device goes away
4971                 - (device_removed): remove any signal handlers that might be attached
4972                         to the device; update routing and DNS
4973                 - (schedule_activate_all): new function
4974                 - (connections_added, connection_added, connection_updated): when
4975                         connections change, schedule all devices for an activation check
4976                 - (connection_removed): when a device is deactivated because its
4977                         connection was removed, schedule another activation check for it
4978                 - (nm_policy_destroy): destroy pending activations and disconnect
4979                         all device signal handlers
4980
4981         * src/nm-manager.c
4982                 - (nm_manager_activate_device): if the device was already actived,
4983                         deactivate it
4984                 - (deactivate_old_device): remove
4985                 - (connection_added_default_handler, impl_manager_activate_device):
4986                         don't deactivate other devices when activating this one
4987
4988         * src/backends/NetworkManagerGentoo.c
4989           src/backends/NetworkManagerFrugalware.c
4990           src/backends/NetworkManagerPaldo.c
4991           src/backends/NetworkManagerRedHat.c
4992           src/backends/NetworkManagerSlackware.c
4993           src/backends/NetworkManagerArch.c
4994           src/backends/NetworkManagerSuSE.c
4995           src/backends/NetworkManagerDebian.c
4996                 - (nm_system_get_mtu): remove; MTU should be provided through the
4997                         distro's system settings service plugin instead
4998                 - (nm_system_device_add_default_route_via_device): remove
4999                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5000                 - (nm_system_device_replace_default_route): new function; call
5001                         generic implementation
5002
5003         * src/backends/NetworkManagerGeneric.c
5004           src/backends/NetworkManagerGeneric.h
5005                 - (nm_generic_device_add_default_route_via_device,
5006                    nm_generic_device_add_default_route_via_device_with_iface): remove
5007                 - (nm_generic_device_replace_default_route): replace the default route
5008                         with the given route via some gateway
5009
5010         * src/NetworkManagerSystem.c
5011           src/NetworkManagerSystem.h
5012                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5013                         to routing and DNS; but set the MTU here
5014                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5015                         ip_iface of the active device; use the standard MTU setting function
5016                 - (nm_system_set_mtu): remove
5017                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5018
5019 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5020
5021         Rework the interaction between ppp manager and pppd plugin. Register a well
5022         known DBUS service in manager and let the plugin call it's methods instead
5023         of listening plugin's signals.
5024
5025         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5026         of emitting signals.
5027
5028         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5029
5030         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5031
5032         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5033         nm_ppp_manager_start().
5034
5035         * introspection/nm-ppp-manager.xml: New file.
5036
5037         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5038         the case correctly where driver is trying to send -1 for the speed, which gets
5039         casted to u16 and thus is always > 0.
5040
5041 2008-03-07  Dan Williams  <dcbw@redhat.com>
5042
5043         * src/nm-hal-manager.c
5044                 - (nm_get_device_driver_name): use net.originating_device first, fall
5045                         back to physical device.  HAL has deprecated physical_device.
5046
5047         * libnm-glib/nm-device.c
5048                 - (get_product_and_vendor): use net.originating_device first, fall
5049                         back to physical device.  HAL has deprecated physical_device.
5050                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5051
5052 2008-03-07  Dan Williams  <dcbw@redhat.com>
5053
5054         * src/nm-netlink.c
5055                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5056                         last commit; fix that
5057                 - (get_link_cache): print error string
5058
5059 2008-03-07  Dan Williams  <dcbw@redhat.com>
5060
5061         * src/nm-netlink.c
5062                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5063                         don't need this hack any more (Benoit Boissinot)
5064
5065 2008-03-06  Dan Williams  <dcbw@redhat.com>
5066
5067         * autogen.sh
5068                 - Die gnome-common, die
5069
5070 2008-03-04  Dan Williams  <dcbw@redhat.com>
5071
5072         Patch from Michael Biebl <biebl@debian.org>
5073
5074         * NetworkManager.pc.in
5075                 - doesn't actually depend on dbus-1
5076
5077         * libnm-util/nm-utils.h
5078                 - remove unused #include <dbus/dbus.h>
5079
5080         * libnm-glib/libnm_glib.pc.in
5081                 - depends on glib and dbus-glib
5082
5083 2008-03-02  Dan Williams  <dcbw@redhat.com>
5084
5085         * src/NetworkManagerPolicy.c
5086                 - s/device_state_changed_idle_id/update_state_id/
5087
5088 2008-03-02  Dan Williams  <dcbw@redhat.com>
5089
5090         * src/nm-device.c
5091           src/nm-device.h
5092           src/nm-device-802-11-wireless.c
5093           src/nm-device-802-3-ethernet.c
5094           src/NetworkManagerPolicy.c
5095                 - s/link_active/carrier
5096                 - nm_device_set_active_link() -> nm_device_set_carrier()
5097                 - nm_device_has_active_link() -> nm_device_get_carrier()
5098
5099 2008-03-02  Dan Williams  <dcbw@redhat.com>
5100
5101         * system-settings/plugins/ifcfg-fedora/parser.c
5102                 - (make_wireless_setting): fail connection creation on missing SSID
5103
5104 2008-02-29  Dan Williams  <dcbw@redhat.com>
5105
5106         * src/NetworkManagerPolicy.c
5107                 - (nm_policy_device_change_check): ensure that a previously active
5108                         device with a system connection has a link before denying a switch
5109                         to a user connection
5110
5111 2008-02-29  Dan Williams  <dcbw@redhat.com>
5112
5113         * src/nm-device-802-11-wireless.c
5114                 - (link_timeout_cb): try again if scanning; deactivate the device when
5115                         activated if the link dies
5116                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5117                         15 seconds
5118
5119 2008-02-29  Dan Williams  <dcbw@redhat.com>
5120
5121         * src/nm-device-802-11-wireless.c
5122           src/nm-device-802-11-wireless.h
5123                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5124                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5125                 - (device_cleanup): reset the scan interval lower when the device
5126                         deactivates
5127                 - (can_scan): base decision mostly off device state, not supplicant
5128                         interface state since the supplicant interface state isn't a
5129                         great indicator of whether the device is active or not
5130                 - (request_wireless_scan): clean up; schedule the next scan here
5131                 - (schedule_scan): only back the scan interval off if a new scan
5132                         actually gets scheduled; and make scan intervals tighter when the
5133                         device is disconnected
5134                 - (supplicant_iface_state_cb_handler): fold in the bits of
5135                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5136                         interval to minimum
5137                 - (activation_success_handler): reset scan interval to something
5138                         reasonable 
5139
5140 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5141
5142         reviewed by: Steev <steev@steev.net>
5143
5144         * configure.in:
5145         * src/backends/NetworkManagerGentoo.c:
5146         (nm_system_restart_mdns_responder):
5147                 Howl is no longer a supported mDNS provider
5148
5149 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5150
5151         Get rid of a bunch of unused distro specific functions.
5152
5153 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5154
5155         Implement suse plugin for system settings daemon.
5156
5157         * system-settings/plugins/ifcfg-suse/*: Implement.
5158
5159         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5160         suse.
5161
5162         * configure.in: Check (without failing) for gio.
5163         Create ifcfg-suse plugin's Makefile.
5164
5165 2008-02-20  Dan Williams  <dcbw@redhat.com>
5166
5167         * libnm-util/nm-connection.c
5168           libnm-util/nm-connection.h
5169                 - (nm_connection_compare): accept compare flags and pass them to the
5170                         setting compare function
5171
5172         * libnm-util/nm-setting.c
5173           libnm-util/nm-setting.h
5174                 - (nm_setting_compare): accept compare flags; ignore properties that are
5175                         marked fuzzy
5176
5177         * libnm-util/nm-setting-connection.c
5178           libnm-util/nm-setting-wireless.c
5179           libnm-util/nm-setting-ppp.c
5180           libnm-util/nm-setting-wired.c
5181                 - Mark some setting properties as ignorable when doing a fuzzy compare
5182
5183         * src/nm-device.c
5184                 - (device_activation_precheck): use exact compare
5185
5186 2008-02-20  Dan Williams  <dcbw@redhat.com>
5187
5188         * src/NetworkManagerPolicy.c
5189                 - (nm_policy_device_change_check): get scope off the connection, not
5190                         using the manager helper
5191
5192         * src/nm-manager.c
5193           src/nm-manager.h
5194                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5195                 - (connection_get_settings_cb): set scope and path on connection, not
5196                         using GObject data items
5197                 - (get_connection_for_proxy): don't need to return path, since that
5198                         can be gotten from the connection
5199                 - (get_connection_for_proxy): get path off the connection, not from
5200                         parameters
5201                 - (connection_removed_cb, connection_updated_cb): don't need to get
5202                         path from get_connection_for_proxy(); get scope off the connection
5203                         instead of using GObject data items
5204                 - (connection_added_default_handler, add_one_connection_element): use
5205                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5206                 - (nm_manager_get_connection_dbus_path): remove
5207                 - (nm_manager_get_connection_scope): remove
5208
5209 2008-02-20  Dan Williams  <dcbw@redhat.com>
5210
5211         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5212                 on confusing names
5213
5214         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5215                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5216                 NMExportedConnection
5217
5218         * Internally rename NMConnectionType -> NMConnectionScope
5219
5220         * Provide default implementations of the 'get_id' and 'get_settings' methods
5221                 of NMExportedConnection
5222
5223 2008-02-15  Dan Williams  <dcbw@redhat.com>
5224
5225         * src/nm-device-802-11-wireless.c
5226                 - (device_cleanup): release the AP list here too so that the AP list
5227                         doesn't survive across suspend/resume and up/down.  There is some
5228                         room for optimization, for example blow the list away when the card
5229                         brought back up, but only if the device has only been down for a
5230                         minute or more.
5231
5232 2008-02-15  Dan Williams  <dcbw@redhat.com>
5233
5234         * src/nm-hal-manager.c
5235                 - (modem_device_creator): recognize new HAL modem capabilities
5236
5237 2008-02-12  Dan Williams  <dcbw@redhat.com>
5238
5239         * system-settings/plugins/ifcfg-fedora/plugin.c
5240                 - (watch_path): handle IN_DELETE_SELF too
5241                 - (handle_connection_changed): notify when removing a connection
5242                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5243                         case of a file moving out of the profile directory
5244
5245 2008-02-12  Dan Williams  <dcbw@redhat.com>
5246
5247         * system-settings/plugins/ifcfg-fedora/parser.c
5248                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5249
5250 2008-02-12  Dan Williams  <dcbw@redhat.com>
5251
5252         * libnm-util/nm-utils.c
5253                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5254                         just any empty array
5255
5256 2008-02-12  Dan Williams  <dcbw@redhat.com>
5257
5258         * system-settings/src/nm-system-config-interface.c
5259           system-settings/src/nm-system-config-interface.h
5260                 - (load_connections): get_connections() should now return an allocated
5261                         GSList that the system settings service will free
5262
5263         * system-settings/plugins/ifcfg-fedora/plugin.c
5264           system-settings/plugins/ifcfg-fedora/parser.h
5265           system-settings/plugins/ifcfg-fedora/parser.c
5266                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5267                         in the profile directory, handle resolv.conf file changes
5268
5269 2008-02-10  Dan Williams  <dcbw@redhat.com>
5270
5271         * src/nm-device-802-3-ethernet.c
5272                 - (real_bring_up): save the supplicant interface state signal id
5273                 - (real_bring_down): disconnect from the supplicant interface state
5274                         signal
5275
5276 2008-02-07  Dan Williams  <dcbw@redhat.com>
5277
5278         * initscript/RedHat/NetworkManager.in
5279           initscript/RedHat/NetworkManagerDispatcher.in
5280                 - Add new-style LSB init headers
5281
5282 2008-02-07  Dan Williams  <dcbw@redhat.com>
5283
5284         * system-settings/src/dbus-settings.c
5285           system-settings/src/dbus-settings.h
5286                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5287                         table of secrets
5288                 - (connection_settings_get_secrets): consolidate error returns into
5289                         one place; use the new get_secrets() plugin interface function to
5290                         get secrets from the plugin itself rather than using GObject data
5291                         magic
5292
5293         * system-settings/src/main.c
5294                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5295                    load_connections): keep a private list of the plugin-returned
5296                         connections, don't use the plugin's GSList
5297
5298         * system-settings/plugins/ifcfg-fedora/plugin.c
5299                 - (watch_path): watch the path, not the filename (duh)
5300                 - (reload_all_connections): use the direct hash/equal functions; the
5301                         ones for int aren't appropriate here
5302                 - (get_secrets, system_config_interface_init): implement the
5303                         get_secrets() function
5304                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5305                         now in the connection's ConnectionData instead of being a GObject
5306                         data property
5307                 - (handle_profile_item_changed): ifcfg file path is now in the
5308                         connection's ConnectionData instead of being a GObject data property;
5309                         be sure to copy secrets over from the new connection to the existing
5310                         connection when updating the connection's settings
5311                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5312                         file descriptor
5313
5314         * system-settings/plugins/ifcfg-fedora/parser.c
5315           system-settings/plugins/ifcfg-fedora/parser.h
5316                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5317                    connection_data_copy_secrets, connection_data_free,
5318                    connection_data_add): new functions; connection data manipulation
5319                 - (make_wireless_security_setting): stuff secrets into the
5320                         connection data, not as GObject data items; make sure to close
5321                         the keys ifcfg file
5322                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5323                         connection data to the connection
5324
5325 2008-02-07  Dan Williams  <dcbw@redhat.com>
5326
5327         * system-settings/src/nm-system-config-interface.c
5328           system-settings/src/nm-system-config-interface.h
5329                 - Add a get_secrets() interface function to retrieve secrets for a
5330                         specific setting of a specific connection.  Document the interface
5331                         a bit more too.
5332
5333 2008-02-07  Dan Williams  <dcbw@redhat.com>
5334
5335         * src/nm-device-802-11-wireless.c
5336                 - (handle_auth_or_fail): new function; consolidate device activation
5337                         failure check after a certain number of failures getting secrets
5338                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5339                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5340                         the connection if secrets were requested more than a few times
5341                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5342                         tries here; otherwise they are cleared before the IP configure
5343                         timeout, which happens with open system WEP when key is wrong
5344                 - (activation_success_handler): clear wireless secrets tries here too
5345
5346 2008-02-07  Dan Williams  <dcbw@redhat.com>
5347
5348         * src/NetworkManagerPolicy.c
5349                 - (connection_updated): clear invalid tag when connection gets updated
5350                         to allow that connection to be tried again
5351                 - (nm_policy_new): save signal ids so they can be disconnected when
5352                         the policy is destroyed
5353                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5354                         and disconnect all signals from the manager object so that none
5355                         of the policy functions gets called after the policy is destroyed
5356
5357 2008-02-06  Dan Williams  <dcbw@redhat.com>
5358
5359         * src/nm-manager.c
5360                 - (finalize): remove devices a bit earlier; clean up system settings
5361                         poke
5362                 - (nm_manager_name_owner_changed): clean up system settings poke when
5363                         the service appears, and try to restart it if it fails
5364                 - (poke_system_settings_daemon_cb): try to get the system settings
5365                         service started through D-Bus service activation
5366                 - (initial_get_connections): start the system settings daemon if it's
5367                         not already running
5368
5369 2008-02-05  Dan Williams  <dcbw@redhat.com>
5370
5371         * src/supplicant-manager/nm-supplicant-config.c
5372                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5373                         broadcast networks too
5374
5375 2008-02-04  Dan Williams  <dcbw@redhat.com>
5376
5377         * system-settings/plugins/ifcfg-fedora/parser.c
5378                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5379                         need key_mgmt set too
5380                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5381                         .bak files; ensure that an error is set whenever NULL gets returned
5382
5383 2008-02-04  Dan Williams  <dcbw@redhat.com>
5384
5385         * system-settings/src/Makefile.am
5386                 - Install D-Bus service activation file for the system settings
5387                         service
5388
5389         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5390                 - D-Bus service activation file for system settings service
5391
5392 2008-02-04  Dan Williams  <dcbw@redhat.com>
5393
5394         * system-settings/src/main.c
5395                 - (parse_config_file): parse a config file
5396                 - (main): accept --config option and read plugins from config file
5397
5398 2008-02-04  Dan Williams  <dcbw@redhat.com>
5399
5400         * system-settings/plugins/ifcfg-fedora/plugin.c
5401                 - Change reported name to 'ifcfg-fedora'
5402                 - Use IFCFG_PLUGIN_NAME
5403
5404         * system-settings/plugins/ifcfg-fedora/plugin.c
5405                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5406
5407 2008-02-04  Dan Williams  <dcbw@redhat.com>
5408
5409         * system-settings/plugins/ifcfg-fedora/parser.c
5410                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5411                 - (make_connection_setting): use get_ifcfg_name()
5412                 - (make_wireless_security_setting): handle shadow key files
5413                 - (get_one_wep_key): treat empty string as NULL
5414
5415 2008-02-04  Dan Williams  <dcbw@redhat.com>
5416
5417         * src/supplicant-manager/nm-supplicant-manager.c
5418                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5419                         glib automatically reschedule
5420                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5421                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5422                         the supplicant
5423
5424 2008-02-01  Dan Williams  <dcbw@redhat.com>
5425
5426         * src/NetworkManagerPolicy.c
5427                 - (device_state_changed): schedule a change check when a device gets
5428                         deactivated so something happens if you disconnect GSM/CDMA
5429
5430 2008-01-31  Dan Williams  <dcbw@redhat.com>
5431
5432         * src/nm-device-802-11-wireless.h
5433           src/nm-device-802-11-wireless.c
5434                 - (ap_list_get_ap_by_ssid, is_associated,
5435                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5436                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5437                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5438                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5439                         function
5440
5441 2008-01-30  Dan Williams  <dcbw@redhat.com>
5442
5443         * system-settings/plugins/ifcfg
5444         * system-settings/plugins/ifcfg-fedora
5445                 - Move the ifcfg plugin to ifcfg-fedora
5446
5447 2008-01-24  Dan Williams  <dcbw@redhat.com>
5448
5449         * libnm-glib/nm-device-802-11-wireless.c
5450                 - (get_access_point): move the "/" check here; check for invalid path
5451                         too
5452                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5453                         to get_access_point()
5454                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5455                         to send signals for non-existent access points
5456
5457 2008-01-24  Dan Williams  <dcbw@redhat.com>
5458
5459         * libnm-glib/nm-device-802-11-wireless.c
5460                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5461
5462 2008-01-23  Dan Williams  <dcbw@redhat.com>
5463
5464         * libnm-glib/libnm_glib.c
5465                 - (libnm_glib_init): make thread joinable
5466                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5467
5468 2008-01-23  Dan Williams  <dcbw@redhat.com>
5469
5470         * test/libnm_glib_test.c
5471                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5472                 - (main): set up signal handlers; call libnm_glib_shutdown
5473
5474 2008-01-21  Dan Williams  <dcbw@redhat.com>
5475
5476         * include/NetworkManager.h
5477                 - Add CDMA mobile broadband card device type
5478
5479         * src/nm-hal-manager.c
5480                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5481                         must now be tagged with 'cdma' or 'gsm' capability
5482
5483         * src/nm-cdma-device.c
5484           src/nm-cdma-device.h
5485           src/Makefile.am
5486                 - Add the CDMA mobile broadband card device class
5487
5488         * libnm-util/nm-connection.c
5489                 - (register_default_settings): add NMSettingCdma
5490
5491         * libnm-util/nm-setting-cdma.c
5492           libnm-util/nm-setting-cdma.h
5493           libnm-util/Makefile.am
5494                 - Add the CDMA mobile broadband card setting class
5495
5496         * libnm-glib/nm-cdma-device.c
5497           libnm-glib/nm-cdma-device.h
5498           libnm-glib/Makefile.am
5499                 - Add the CDMA mobile broadband card GLib proxy class
5500
5501         * libnm-glib/nm-client.c
5502                 - (get_device): handle CDMA devices too
5503
5504 2008-01-21  Dan Williams  <dcbw@redhat.com>
5505
5506         * src/ppp-manager/nm-ppp-manager.c
5507                 - (ip4_config_get): set peer address too
5508
5509         * src/ppp-manager/nm-pppd-plugin.c
5510                 - (nm_ip_up): try harder to get the peer's address
5511
5512         * src/NetworkManagerSystem.c
5513                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5514                         address, use that too.  Otherwise, some PPP connections won't work.
5515
5516 2008-01-19  Dan Williams  <dcbw@redhat.com>
5517
5518         * src/NetworkManagerPolicy.c
5519                 - (nm_policy_device_change_check): system connections override user
5520                         connections; don't activate a user connection if there's a currently
5521                         active system connection, and new, better system connections always
5522                         interrupt user connections
5523
5524 2008-01-19  Dan Williams  <dcbw@redhat.com>
5525
5526         * src/nm-manager.h
5527                 - (nm_manager_get_connection_type): new function
5528
5529 2008-01-19  Dan Williams  <dcbw@redhat.com>
5530
5531         * src/nm-device-802-11-wireless.c
5532                 - (real_get_best_connection): collapse find_best_connection() into this
5533                         function
5534
5535 2008-01-19  Dan Williams  <dcbw@redhat.com>
5536
5537         * src/nm-device-802-3-ethernet.c
5538                 - (real_get_best_connection): collapse find_best_connection() into this
5539                         function
5540
5541 2008-01-18  Dan Williams  <dcbw@redhat.com>
5542
5543         * src/nm-device-802-3-ethernet.c
5544                 - (find_best_connection): check MAC address too
5545                 - (real_get_best_connection): let autoconnect=True connections activate
5546                         for devices that don't have carrier detection
5547
5548         * src/nm-device-802-11-wireless.c
5549                 - (find_best_connection): check MAC address too
5550
5551 2008-01-18  Dan Williams  <dcbw@redhat.com>
5552
5553         * system-settings/plugins/ifcfg/parser.c
5554                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5555
5556 2008-01-17  Dan Williams  <dcbw@redhat.com>
5557
5558         * src/nm-device-802-3-ethernet.c
5559                 - (nm_device_802_3_ethernet_carrier_on,
5560                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5561                         carrier events that might come in for devices that don't support
5562                         carrier detect
5563
5564 2008-01-17  Dan Williams  <dcbw@redhat.com>
5565
5566         * src/nm-device-interface.c
5567                 - (nm_device_interface_check_connection_conflicts): need to actually
5568                         get the interface, not cast to the object
5569
5570         * src/nm-device.c
5571                 - (nm_device_check_connection_conflicts): need to get the device class,
5572                         not cast the device to the device class
5573
5574 2008-01-17  Dan Williams  <dcbw@redhat.com>
5575
5576         * src/nm-device-802-11-wireless.c
5577                 - (real_check_connection_conflicts): ignore connections that aren't
5578                         wireless connections
5579
5580 2008-01-17  Dan Williams  <dcbw@redhat.com>
5581
5582         * src/NetworkManagerPolicy.c
5583                 - (nm_policy_device_change_check): clear change check idle here
5584                 - (device_change_check_done): remove
5585                 - (schedule_change_check): simplify
5586
5587 2008-01-17  Dan Williams  <dcbw@redhat.com>
5588
5589         * src/nm-manager.c
5590                 - (check_connection_allowed): take an NMDeviceInterface instead of
5591                         an NMDevice object as an argument
5592                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5593                         check_connection_allowed()
5594
5595 2008-01-13  Dan Williams  <dcbw@redhat.com>
5596
5597         * libnm-glib/nm-device-802-11-wireless.c
5598                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5599
5600 2008-01-12  Dan Williams  <dcbw@redhat.com>
5601
5602         * src/nm-device-802-11-wireless.c
5603                 - (activation_success_handler): if a match was found in the scan list
5604                         and that match is a hidden AP, update that AP's SSID
5605
5606 2008-01-11  Dan Williams  <dcbw@redhat.com>
5607
5608         * src/NetworkManagerAP.c
5609                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5610
5611         * src/nm-device-802-11-wireless.c
5612                 - (get_active_ap): do two passes over the scan list if the caller
5613                         requests that hidden APs get matched too; during the second pass
5614                         when matching hidden APs, ignore the SSID since hidden APs in the
5615                         scan list don't have an SSID yet
5616                 - (periodic_update): move some checks to
5617                         nm_device_802_11_periodic_update() because not all callers need them
5618                 - (nm_device_802_11_periodic_update): move some checks here from
5619                         perodic_update()
5620                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5621                         matching on incoming scan results, because the fake AP's flags
5622                         might be slightly different (yet still compatible) with the incoming
5623                         scan result's flags and they might actually be the same AP; update
5624                         the rate on merged APs too
5625                 - (activation_success_handler): update the frequency of the fake AP
5626                         on successful connection; match hidden APs too since if the
5627                         current AP is fake, there might already be a scan result in the
5628                         scan list for the desired AP, just without it's SSID filled in yet
5629
5630 2008-01-10  Dan Williams  <dcbw@redhat.com>
5631
5632         * src/NetworkManagerAP.c
5633                 - (foreach_property_cb): catch more hidden SSID formats
5634
5635 2008-01-10  Dan Williams  <dcbw@redhat.com>
5636
5637         Fix gnome.org #464215.  Requires the kernel patch titled
5638         "Introduce WEXT scan capabilities" but will handle the patch not being
5639         present, you'll just continue to have problems with hidden SSIDs when
5640         using mac80211-based drivers.
5641
5642         * src/supplicant-manager/nm-supplicant-config.h
5643           src/supplicant-manager/nm-supplicant-config.c
5644                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5645                         whether the driver supports SSID scans or not.  If it does, and if
5646                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5647
5648         * src/nm-device-802-11-wireless.c
5649                 - (constructor): check whether or not the driver supports SSID scans
5650                 - (build_supplicant_config): pass driver SSID scan capability when
5651                         building the wireless bits of the supplicant config
5652
5653 2008-01-09  Dan Williams  <dcbw@redhat.com>
5654
5655         * src/nm-device.c
5656           src/nm-device.h
5657                 - (device_activation_precheck, check_connection_complete): remove this
5658                         virtual function; incomplete connections should be invalid by
5659                         definition, complete-ness should be checked in the setting's
5660                         verify function
5661
5662         * src/nm-serial-device.c
5663           src/nm-gsm-device.c
5664                 - (real_check_connection_complete): remove
5665
5666         * libnm-util/nm-setting-serial.c
5667                 - (verify): new function; ensure there is a PPP setting too
5668
5669         * libnm-util/nm-setting-gsm.c
5670                 - (verify): ensure there is a serial setting too
5671
5672 2008-01-06  Dan Williams  <dcbw@redhat.com>
5673
5674         * src/dhcp-manager/nm-dhcp-manager.c
5675                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5676                         (gnome.org #332953)
5677
5678 2008-01-04  Dan Williams  <dcbw@redhat.com>
5679
5680         * src/named-manager/nm-named-manager.c
5681                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5682                         nameservers if the secondary config doesn't have any
5683                         (gnome.org #346833)
5684
5685 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5686
5687         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5688         with G_PARAM_CONSTRUCT so that they get the default values.
5689
5690         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5691         the monitoring device and prints out the output for now. Or more precicely, doesn't
5692         do absolutely anything right now since the montoring device argument is never set.
5693
5694         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5695         requires it's own knob to turn it on.
5696         (config_fd): Add NMSettingSerial to the arguments list.
5697         (nm_serial_device_open): Ditto.
5698         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5699         (nm_serial_device_get_io_channel): Implement.
5700
5701         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5702         a new reference every time (and forgetting to release it sometimes) is a pain and
5703         it's not like NMManager could work without dbus.
5704         (nm_manager_add_device): Register the added device on dbus here.
5705
5706         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5707         device.
5708
5709         * src/nm-device.c (constructor): Don't export the device here, instead export
5710         it when it's added to the NMManager's device list.
5711
5712 2007-12-31  Dan Williams  <dcbw@redhat.com>
5713
5714         * src/nm-device-interface.c
5715           src/nm-device-interface.h
5716                 - (nm_device_interface_check_connection_conflicts): new function
5717
5718         * src/nm-device.c
5719           src/nm-device.h
5720                 - (nm_device_check_connection_conflicts): new function
5721                 - (device_activation_precheck): don't require subclasses to implement
5722                         check_connection_complete()
5723                 - check_connection() -> check_connection_complete()
5724
5725         * src/nm-device-802-11-wireless.c
5726                 - (real_check_connection): remove; unused
5727                 - (real_check_connection_conflicts): implement, handle lockdown for
5728                         system connections
5729
5730         * src/nm-device-802-3-ethernet.c
5731                 - (real_check_connection): remove; unused
5732
5733         * src/nm-manager.c
5734                 - (check_connection_allowed): new function
5735                 - (nm_manager_activate_device): ensure the connection being requested
5736                         is allowed to be activated
5737
5738         * src/nm-serial-device.c
5739           src/nm-gsm-device.c
5740                 - real_check_connection() -> real_check_connection_complete()
5741
5742 2007-12-27  Dan Williams  <dcbw@redhat.com>
5743
5744         * src/nm-device-interface.c
5745           src/nm-device-interface.h
5746                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5747                         normalize and expand errors
5748                 - (nm_device_interface_init): register errors so they can be marshalled
5749                         through dbus-glib
5750                 - (nm_device_interface_activate): ensure that failure of activation
5751                         returns an error
5752
5753         * src/nm-device.c
5754           src/nm-device.h
5755                 - (device_activation_precheck): implementations of check_connection()
5756                         now take a GError and must fill it in if the check fails.  Return
5757                         more descriptive error if the requested connection is already
5758                         activating
5759                 - (nm_device_activate): actually try to return descriptive errors on
5760                         failures
5761
5762         * src/nm-device-802-11-wireless.c
5763           src/nm-device-802-3-ethernet.c
5764           src/nm-serial-device.c
5765           src/nm-gsm-device.c
5766                 - (real_check_connection): return more descriptive errors on failure
5767
5768         * src/NetworkManagerPolicy.c
5769                 - (nm_policy_device_change_check): print activation errors in the logs
5770
5771         * src/nm-manager.c
5772                 - (nm_manager_error_quark, nm_manager_error_get_type,
5773                    nm_manager_class_init): new errors
5774                 - (nm_manager_activate_device): handle errors
5775                 - (nm_manager_error_new): removed
5776                 - (wait_for_connection_expired, connection_added_default_handler,
5777                    impl_manager_activate_device): better error handling
5778
5779 2007-12-27  Dan Williams  <dcbw@redhat.com>
5780
5781         Fixes gnome.org #466954
5782
5783         * src/supplicant-manager/nm-supplicant-settings-verify.c
5784                 - Allow 'frequency' network property
5785
5786         * src/supplicant-manager/nm-supplicant-config.c
5787           src/supplicant-manager/nm-supplicant-config.h
5788                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5789                         for callers to specify the frequency an Ad-Hoc network should operate
5790                         on.  Some drivers require this to successfully create an Ad-Hoc
5791                         network.
5792
5793         * src/nm-device-802-11-wireless.c
5794                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5795                         guint32 value in MHz
5796                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5797                         iw_freq_to_uint32()
5798                 - (find_supported_frequency): new function; find a free supported
5799                         frequency for a user-created Ad-Hoc network
5800                 - (build_supplicant_config): if no frequency was specified for a user-
5801                         created Ad-Hoc network, find a free one to use
5802                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5803                         a specific object as user-created
5804
5805 2007-12-27  Dan Williams  <dcbw@redhat.com>
5806
5807         * libnm-util/nm-utils.c
5808           libnm-util/nm-utils.h
5809                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5810                         for adhoc networks
5811
5812 2007-12-24  Dan Williams  <dcbw@redhat.com>
5813
5814         * libnm-util/nm-setting-wireless.c
5815                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5816                         185, 187, 188, 192, and 196
5817
5818 2007-12-24  Dan Williams  <dcbw@redhat.com>
5819
5820         * src/nm-device-802-11-wireless.c
5821                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5822                         a channel # instead of a frequency
5823
5824 2007-12-24  Dan Williams  <dcbw@redhat.com>
5825
5826         * src/NetworkManagerAP.c
5827           src/NetworkManagerAP.h
5828                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5829                 - (freq_to_channel): handle split band tables
5830                 - (channel_to_freq): handle split band tables, take a band argument
5831
5832 2007-12-24  Dan Williams  <dcbw@redhat.com>
5833
5834         * libnm-util/nm-setting-connection.h
5835           libnm-util/nm-setting-connection.c
5836                 - Add 'lockdown' member
5837
5838 2007-12-22  Dan Williams  <dcbw@redhat.com>
5839
5840         * libnm-util/nm-setting-wireless.c
5841                 - (nm_setting_wireless_class_init): add missing 'rate' property
5842                         specification
5843
5844 2007-12-18  Dan Williams  <dcbw@redhat.com>
5845
5846         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5847
5848         * src/nm-netlink-monitor.c
5849           src/nm-netlink-monitor.h
5850                 - Remove handrolled netlink, use libnl instead
5851
5852         * src/nm-device-802-3-ethernet.c
5853                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5854                    nm_device_802_3_ethernet_carrier_on): use new names
5855
5856 2007-12-17  Dan Williams  <dcbw@redhat.com>
5857
5858         * configure.in
5859                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5860                         and fixes memory leaks)
5861
5862         * src/nm-netlink.c
5863                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5864                         automatically handle the netlink PID
5865
5866 2007-12-17  Dan Williams  <dcbw@redhat.com>
5867
5868         Patch from Michael Biebl <biebl@debian.org>
5869
5870         * configure.in
5871           src/ppp-manager/Makefile.am
5872                 - fix up install dir of pppd plugin
5873                 - clean up configure.in a bit
5874
5875 2007-12-12  Dan Williams  <dcbw@redhat.com>
5876
5877         * system-settings/src/nm-system-settings.conf
5878                 - Allow non-root clients (like the applet) to read settings
5879
5880 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5881
5882         * Replace all occurences of 'UMTS' with 'GSM'.
5883
5884 2007-12-07  Dan Williams  <dcbw@redhat.com>
5885
5886         * src/nm-serial-device.c
5887                 - (real_is_up): serial devices are always "up"
5888
5889 2007-12-07  Dan Williams  <dcbw@redhat.com>
5890
5891         * src/nm-netlink.c
5892           src/NetworkManagerSystem.c
5893                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5894                         twice (gnome.org #491047)
5895                 - Make more robust against allocation-related failures should they occur
5896
5897 2007-12-07  Dan Williams  <dcbw@redhat.com>
5898
5899         Noticed by Christian Persch <chpe@gnome.org>
5900
5901         Always chain up to parent object in dispose and finalize handlers.
5902                 (gnome.org #433112)
5903
5904 2007-12-07  Dan Williams  <dcbw@redhat.com>
5905
5906         * src/nm-device-802-11-wireless.c
5907                 - Wrap #include of linux/mii.h to fix redefined structures due to
5908                         incorrect kernel headers (gnome.org #350061)
5909
5910 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5911
5912         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5913         before doing anything else.
5914         (init_modem): Move modem initialization here.
5915
5916         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5917         (nm_serial_device_flash): Implement.
5918
5919         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5920         changes signal is "StateChanged" and not "Status".
5921         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5922
5923 2007-12-06  Dan Williams  <dcbw@redhat.com>
5924
5925         * src/supplicant-manager/nm-supplicant-config.c
5926                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5927                         to only send some options when they make sense; also send phase2
5928                         option to the supplicant (possible fix for rh #399631)
5929
5930 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5931
5932         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5933         arguments: This whole file shouldn't really know anything about NMDevices, it
5934         should deal only with device interfaces. Devices might have different ifaces for
5935         different stuff and this place shouldn't know anything about it.
5936
5937         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5938         (global_state_changed): Implement. In the current NM it's not really important,
5939         but will be required in the case of multiple active devices. (Or even better,
5940         if stuff like that gets moved out from NM).
5941
5942         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5943         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
5944         instead.
5945
5946         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5947         devices like serial devices (ttyS0 and ppp0 for example).
5948         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5949         set.
5950         (nm_device_set_ip_iface): Implement.
5951         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5952         after setting ip4_config from here ...
5953         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5954         than this function should call nm_system_device_set_from_ip4_config() because no
5955         other code has enough information on which arguments to use. So instead, other code
5956         could just set the new ip4 config using this function and everyone is happy.
5957
5958         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5959         if we happen to get deactivated while something is pending.
5960         (automatic_registration): Handle the response that indicates pending network
5961         registration and wait until the pending registration is done.
5962         (real_deactivate_quickly): If there's a pending operation, cancel it.
5963
5964         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
5965         (real_deactivate_quickly): ... and remove it when it's down.
5966         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
5967         it if needed.
5968         (nm_serial_device_wait_for_reply): Ditto.
5969
5970 2007-12-05  Tambet Ingo  <tambet@gmail.com>
5971
5972         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
5973         (get_network_done): Remove newline, nm_info() does it already.
5974         (real_act_stage1_prepare): Turn the modem echo off.
5975
5976         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
5977         device, set the route to the device interface. This is a hack.
5978
5979         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
5980         return, no need for a new-line.
5981         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
5982         Change the device iface here (ugh).
5983         (real_act_stage4_get_ip4_config): Implement.
5984         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
5985         Restore the device iface.
5986
5987         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
5988         device is not wired or wireless (eg, automatically upped) device.
5989
5990         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
5991         it isn't.
5992         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
5993
5994         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
5995         before calling it's is_device_fn().
5996
5997 2007-12-05  Dan Williams  <dcbw@redhat.com>
5998
5999         * libnm-util/nm-utils.c
6000                 - (nm_utils_register_value_transformations,
6001                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6002                         GHashTables of GValues too
6003
6004 2007-12-04  Dan Williams  <dcbw@redhat.com>
6005
6006         * initscript/RedHat/NetworkManager.in
6007                 - No longer start named; it's D-Bus interface is going away
6008
6009 2007-12-04  Dan Williams  <dcbw@redhat.com>
6010
6011         Patch from Michael Biebl <biebl@debian.org>
6012
6013         * system-settings/plugins/ifcfg/Makefile.am
6014           system-settings/src/main.c
6015           system-settings/src/Makefile.am
6016                 - Put system settings plugins in NM plugins dir
6017
6018         * src/ppp-manager/Makefile.am
6019           src/ppp-manager/nm-ppp-manager.c
6020                 - Move pppd plugin to NM plugins dir
6021
6022 2007-12-04  Dan Williams  <dcbw@redhat.com>
6023
6024         * libnm-util/nm-setting-vpn-properties.h
6025                 - Clarify usage of the 'data' member of the setting
6026
6027         * libnm-util/nm-setting-vpn-properties.c
6028                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6029                 - (set_property): just remove all the settings; don't recreate the has
6030                 - (update_one_secret): don't need to create the hash table here since
6031                         it should always be present
6032
6033 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6034
6035         Implement PIN and PUK requesting.
6036
6037         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6038         (enter_pin): Handle PIN and PUK requests.
6039         (real_act_stage1_prepare): Clear the secret type.
6040         (real_connection_secrets_updated): Implement this class method to get
6041         notified when new secrets arrive.
6042         (nm_umts_device_class_init): Add private data back to the umts device class
6043         to store the required secret type.
6044
6045 2007-12-01  Dan Williams  <dcbw@redhat.com>
6046
6047         * system-settings/plugins/ifcfg/parser.c
6048                 - (parser_parse_file): don't try to verify NULL connections
6049
6050 2007-12-01  Dan Williams  <dcbw@redhat.com>
6051
6052         * system-settings/src/main.c
6053                 - (load_connections, add_connection_to_settings): actually export
6054                         plugin-provided connections over D-Bus so NM can get them
6055
6056 2007-12-01  Dan Williams  <dcbw@redhat.com>
6057
6058         * system-settings/plugins/ifcfg/parser.c
6059           system-settings/plugins/ifcfg/parser.h
6060           system-settings/plugins/ifcfg/plugin.c
6061                 - Hook up more inotify bits (untested)
6062
6063 2007-11-29  Dan Williams  <dcbw@redhat.com>
6064
6065         * system-settings/src/nm-system-config-interface.h
6066           system-settings/src/nm-system-config-interface.c
6067                 - (nm_system_config_interface_init,
6068                    nm_system_config_interface_get_connections): add
6069
6070         * system-settings/src/main.c
6071                 - (load_plugins, load_connections, main): use a GSList for plugins
6072                         to ensure priority ordering
6073
6074         * system-settings/plugins/ifcfg/parser.c
6075                 - (ifcfg_error_quark): move to plugin.c, and rename
6076
6077         * system-settings/plugins/ifcfg/plugin.h
6078           system-settings/plugins/ifcfg/plugin.c
6079                 - (ifcfg_plugin_error_quark): move here from parser.c
6080                 - rework connection loading and initialization
6081                 - Add preliminary inotify support for network profile config file
6082
6083 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6084
6085         Merge the beginnings of the new GSM card support.
6086
6087         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6088         ppp watch source before killing pppd - If this happens from g_object_unref()
6089         then the ppp manager is already destroyed by the time the watch callback runs.
6090
6091         * src/nm-hal-manager.c: Add a device_type_name string to the device
6092         creators, so that we can print a nice human readable string when a
6093         device is added.
6094
6095         * src/nm-umts-device.c (automatic_registration_get_network): Query
6096         for the activated network, not much is done with the result thought.
6097
6098         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6099         (ppp_ip4_config): Change the device state to activated here for now.
6100         (real_check_connection): Make sure the connection includes ppp setting.
6101
6102         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6103
6104         * libnm-glib/Makefile.am: Add the new files to build.
6105
6106         * libnm-glib/nm-umts-device.c: 
6107         * libnm-glib/nm-umts-device.h: Implement.
6108
6109 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6110
6111         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6112         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6113
6114         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6115         the timeout source - this function is only called when the timeout source has
6116         been removed.
6117         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6118         to be big enough to contain the terminating zero element as well.
6119         The timeout argument is meant to be in seconds now.
6120         (real_deactivate_quickly): Implement.
6121
6122         * src/NetworkManager.conf: Allow root to own 
6123         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6124
6125         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6126         (not unsigned ints).
6127
6128         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6129         small issue with parity bounds - capital letters have lower ascii codes
6130         than lower case letters.
6131
6132         * libnm-util/nm-connection.c (register_default_settings): Register serial
6133         and umts settings.
6134
6135 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6136
6137         Remove the "index" property from devices as not all device types have this.
6138
6139         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6140
6141         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6142         (wired_device_creator): Get the device interface from hal to create the device.
6143         (wireless_device_creator): Ditto.
6144
6145         * src/nm-device.c (nm_device_init): Remove the index member.
6146         (constructor): Remove the checks for index property, make interface property
6147         a require constructor property.
6148         Use the HAL udi for DBus path for devices.
6149         (nm_device_get_index): Remove.
6150         (set_property): Remove index handling.
6151         (get_property): Ditto.
6152         (nm_device_get_dbus_path): Remove.
6153
6154         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6155         property.
6156
6157         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6158         Access the device index through it's interface.
6159         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6160         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6161         index argument. Add interface argument.
6162
6163         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6164         the useless test_dev argument. Remove index argument. Add interface arugment.
6165
6166         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6167         device index through interface.
6168         (nm_system_set_mtu): Ditto.
6169
6170         * introspection/nm-device.xml: Remove the "Index" property.
6171
6172 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6173
6174         * src/nm-serial-device.c: 
6175         * src/nm-serial-device.c: 
6176         * src/nm-umts-device.c:
6177         * src/nm-umts-device.h: Implement.
6178
6179         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6180         allocated by libhal.
6181         (modem_device_creator): Implement.
6182         (register_built_in_creators): Register the modem creator.
6183
6184         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6185         Remove the unused test_dev argument.
6186
6187         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6188
6189         * src/Makefile.am: Add new files to build.
6190         Link in ppp-manager.
6191
6192         * libnm-util/nm-setting-umts.c: 
6193         * libnm-util/nm-setting-umts.h: 
6194         * libnm-util/nm-setting-serial.c: 
6195         * libnm-util/nm-setting-serial.h: Implement.
6196
6197         * libnm-util/Makefile.am: Add new files to build.
6198
6199 2007-11-28  Dan Williams  <dcbw@redhat.com>
6200
6201         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6202
6203         Support DHCP-provided static routes.
6204
6205         * src/nm-ip4-config.h
6206           src/nm-ip4-config.c
6207                 - Add get/set functions for static routes
6208
6209         * src/dhcp-manager/nm-dhcp-manager.c
6210                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6211                         DHCP response
6212
6213         * src/NetworkManagerSystem.c
6214                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6215                         interface when applying the IP4Config
6216
6217 2007-11-28  Dan Williams  <dcbw@redhat.com>
6218
6219         * src/nm-device-802-11-wireless.c
6220                 - (real_act_stage1_prepare): mark APs created for hidden networks
6221                         as non-broadcasting
6222
6223 2007-11-27  Dan Williams  <dcbw@redhat.com>
6224
6225         * system-settings/src/nm-system-config-interface.h
6226                 - Note how to store secrets on NMSetting objects
6227
6228         * system-settings/src/dbus-settings.c
6229                 - (connection_settings_get_secrets): implement
6230
6231 2007-11-27  Dan Williams  <dcbw@redhat.com>
6232
6233         * system-settings/plugins/ifcfg/Makefile.am
6234           system-settings/plugins/ifcfg/parser.c
6235           system-settings/plugins/ifcfg/parser.h
6236           system-settings/plugins/ifcfg/plugin.c
6237                 - Parse wireless connections too
6238
6239         * system-settings/src/dbus-settings.c
6240           system-settings/src/dbus-settings.h
6241           system-settings/src/main.c
6242                 - Handle connection update/removal if the plugin supports it
6243
6244 2007-11-27  Dan Williams  <dcbw@redhat.com>
6245
6246         * src/nm-dbus-manager.h
6247           src/nm-hal-manager.c
6248                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6249                         do it for them
6250
6251         * src/Makefile.am
6252           src/NetworkManagerDbusUtils.c
6253           src/NetworkManagerDbusUtils.h
6254                 - Remove these two source files; they are unused
6255
6256 2007-11-27  Dan Williams  <dcbw@redhat.com>
6257
6258         * src/vpn-manager/nm-vpn-manager.c
6259                 - (impl_vpn_manager_connect): fix system settings check (found by
6260                         James M. Leddy)
6261
6262 2007-11-26  Dan Williams  <dcbw@redhat.com>
6263
6264         * Fix warnings so everything compiles with --enable-more-warnings
6265
6266 2007-11-25  Dan Williams  <dcbw@redhat.com>
6267
6268         * system-settings/*
6269                 - Rework structure and code to use GModule-loaded plugins and a plugin
6270                         interface that plugins export to the system settings service
6271
6272 2007-11-21  Dan Williams  <dcbw@redhat.com>
6273
6274         * system-settings/*
6275                 - Add Soren's system settings service.  Needs work for distros other
6276                         than Fedora; the backends from NM should mostly migrate to here
6277                         and be converted to GObjects
6278
6279 2007-11-21  Dan Williams  <dcbw@redhat.com>
6280
6281         * libnm-util/nm-setting-vpn-properties.c
6282                 - (set_property): must deep-copy the given settings hash, otherwise
6283                         double-free errors occur when the setting is disposed of
6284
6285 2007-11-21  Dan Williams  <dcbw@redhat.com>
6286
6287         * src/vpn-manager/nm-vpn-act-request.h
6288           src/vpn-manager/nm-vpn-act-request.c
6289                 - Remove; unused
6290
6291 2007-11-20  Dan Williams  <dcbw@redhat.com>
6292
6293         * libnm-util/nm-utils.c
6294                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6295                    nm_utils_convert_ip4_addr_struct_array_to_string,
6296                    nm_utils_register_value_transformations): print out the readable
6297                         values of more types of properties of NMSettings subclasses
6298
6299 2007-11-20  Dan Williams  <dcbw@redhat.com>
6300
6301         * libnm-util/nm-setting-ip4-config.c
6302                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6303                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6304                         marshal GValueArrays inside collections, so switch to types that it
6305                         can actually marshal/demarshal
6306
6307 2007-11-16  Dan Williams  <dcbw@redhat.com>
6308
6309         * libnm-util/nm-setting-wireless-security.c
6310                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6311                         minimal verification of EAP methods too
6312                 - (verify): verify phase1 eap methods too
6313
6314 2007-11-15  Dan Williams  <dcbw@redhat.com>
6315
6316         * libnm-glib/nm-device.h
6317           libnm-glib/nm-device.c
6318                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6319                         const char *
6320
6321 2007-11-15  Dan Williams  <dcbw@redhat.com>
6322
6323         * libnm-glib/nm-device.c
6324                 - (get_product_and_vendor): don't try to free things that should be
6325                         freed
6326
6327 2007-11-15  Dan Williams  <dcbw@redhat.com>
6328
6329         * src/NetworkManagerUtils.c
6330                 - (nm_ethernet_address_is_valid): unbreak previous fix
6331
6332 2007-11-15  Dan Williams  <dcbw@redhat.com>
6333
6334         * src/supplicant-manager/nm-supplicant-config.c
6335                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6336                         options
6337
6338 2007-11-15  Dan Williams  <dcbw@redhat.com>
6339
6340         * src/NetworkManagerUtils.c
6341                 - (nm_ethernet_address_is_valid): fix style, clarify
6342                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6343
6344         * src/nm-device-802-11-wireless.c
6345                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6346                 - (nm_device_802_11_wireless_get_ssid,
6347                    nm_device_802_11_wireless_get_bssid,
6348                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6349                         before calling the ioctl; fixes valgrind-reported jump depends on
6350                         uninitialized value errors
6351
6352 2007-11-15  Dan Williams  <dcbw@redhat.com>
6353
6354         * libnm-util/nm-setting.c
6355                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6356                         unecessary to serialize 'name'
6357
6358         * src/nm-activation-request.c
6359                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6360                         the GetSecrets call
6361
6362 2007-11-15  Dan Williams  <dcbw@redhat.com>
6363
6364         * libnm-util/nm-setting-connection.h
6365           libnm-util/nm-setting-connection.c
6366                 - Rename the 'name' property to 'id', because it conflicted with the
6367                         NMSetting superclass' 'name' property.
6368
6369         * libnm-util/nm-setting.c
6370                 - (nm_setting_to_hash): serialize the 'name' property
6371                 - (one_property_cb): ignore 'name' on deserialization of a connection
6372
6373         * src/nm-device-802-11-wireless.c
6374           src/vpn-manager/nm-vpn-connection.c
6375           src/NetworkManagerPolicy.c
6376                 - Fix up for NMSettingConnection 'name'->'id' changes
6377
6378 2007-11-13  Dan Williams  <dcbw@redhat.com>
6379
6380         * libnm-glib/nm-device-802-11-wireless.h
6381           libnm-glib/nm-device-802-11-wireless.c
6382                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6383
6384         * test/nm-tool.c
6385           libnm-glib/libnm-glib-test.c
6386                 - Fixes for above change
6387
6388 2007-11-12  Dan Williams  <dcbw@redhat.com>
6389
6390         * src/supplicant-manager/nm-supplicant-settings-verify.c
6391                 - Allow fragment_size option
6392
6393         * src/supplicant-manager/nm-supplicant-settings-verify.c
6394                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6395                         EAP fragment size than the default to help some TLS connections
6396
6397 2007-11-12  Dan Williams  <dcbw@redhat.com>
6398
6399         Make certs actually work.  The private key is now a secret, and should be
6400         decrypted when requested by NM.  The private key and phase2 private key
6401         passwords are no longer interesting to NM because they should be used by
6402         the settings service to decrypt the private key itself before passing it
6403         to NM, and hence have been removed as fields.
6404
6405         * libnm-util/nm-setting-wireless-security.h
6406           libnm-util/nm-setting-wireless-security.c
6407                 - Remove private-key-passwd and phase2-private-key-passwd from
6408                         properties
6409                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6410                    need_secrets): use property #defines instead strings to keep things
6411                         consistent
6412                 - (need_secrets_tls): if a client certificate is present but no
6413                         private key, request the private key
6414                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6415                         remove private key password stuff, mark private keys as secret
6416
6417         * src/supplicant-manager/nm-supplicant-settings-verify.c
6418                 - Remove private_key_passwd and private_key2_passwd from opt_table
6419
6420 2007-11-09  Dan Williams  <dcbw@redhat.com>
6421
6422         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6423         Since the vpn-properties are managed and known by the VPN daemons themselves,
6424         libnm-util doesn't know what's secret and what's in the setting's 'data'
6425         member.
6426
6427         * libnm-util/nm-setting.h
6428           libnm-util/nm-setting.c
6429                 - Add the ability for subclasses to override update_one_secret
6430
6431         * libnm-util/nm-setting-vpn-properties.c
6432                 - Override update_one_secret and just copy the values into the
6433                         internal table
6434
6435 2007-11-09  Dan Williams  <dcbw@redhat.com>
6436
6437         * libnm-glib/nm-settings.h
6438           libnm-glib/nm-settings.c
6439                 - (nm_settings_new_error): remove
6440                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6441                         clients should use g_set_error() with NM_SETTINGS_ERROR
6442
6443 2007-11-09  Dan Williams  <dcbw@redhat.com>
6444
6445         * src/supplicant-manager/nm-supplicant-config.c
6446                 - (nm_supplicant_config_add_setting_wireless_security): private key
6447                         passwords are never sent to wpa_supplicant, because the supplicant
6448                         should never be reading random files from the disk.  Clients like
6449                         the applet are required to decrypt the private keys and send NM
6450                         the decrypted blobs.
6451
6452 2007-11-08  Dan Williams  <dcbw@redhat.com>
6453
6454         * libnm-util/nm-setting-wireless-security.h
6455           libnm-util/nm-setting-wireless-security.c
6456                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6457                         members to 802-11-wireless-security structure.  This should be used
6458                         to indicate that the values in private-key and phase2-private-key
6459                         are already decrypted by the user agent, and that no
6460                         private-key-passwd or phase2-private-key-passwd should be expected.
6461                         It is not meant to be a stored configuration value, but meant to
6462                         be set when the conneciton is sent to NM over dbus.
6463
6464 2007-11-08  Dan Williams  <dcbw@redhat.com>
6465
6466         * libnm-util/nm-connection.h
6467           libnm-util/nm-connection.c
6468                 - (nm_connection_need_secrets): add argument to return hints
6469
6470         * src/nm-device-802-11-wireless.c
6471                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6472                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6473                         nm_connection_need_secrets() change
6474
6475 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6476
6477         Rework NMSetting structures: Move each setting to it's own file.
6478         Convert to GObject. Remove home grown setting types and use GTypes.
6479         Use GObject property introspection for hash conversion, enumerating
6480         properties, etc.
6481
6482         * libnm-util/nm-setting-connection.[ch]
6483         * libnm-util/nm-setting-ip4-config.[ch]
6484         * libnm-util/nm-setting-ppp.[ch]
6485         * libnm-util/nm-setting-vpn.[ch]
6486         * libnm-util/nm-setting-vpn-properties.[ch]
6487         * libnm-util/nm-setting-wired.[ch]
6488         * libnm-util/nm-setting-wireless.[ch]
6489         * libnm-util/nm-setting-wireless-security.[ch]
6490
6491         New files, each containing a setting.
6492
6493         * libnm-util/nm-setting-template.[ch]: A template for creating new
6494         settings. To use it, just replace 'template' with the new setting
6495         name, and you're half-way done.
6496
6497         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6498         introspection instead of internal types and tables.
6499
6500         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6501
6502         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6503         GValue types defined by dbus-glib for composed types like collections,
6504         structures and maps.
6505
6506         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6507         a setting from connection takes the setting type now. Also, since
6508         the settings are in multiple files, include relevant settings.
6509
6510 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6511
6512         * configure.in:
6513         * src/backends/NetworkManagerGentoo.c:
6514         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6515         providers in Gentoo.
6516
6517 2007-10-31  Dan Williams  <dcbw@redhat.com>
6518
6519         * libnm-util/nm-connection.c
6520                 - (gvalue_to_string): handle UINT32 arrays
6521
6522 2007-10-31  Dan Williams  <dcbw@redhat.com>
6523
6524         * libnm-glib/nm-device.h
6525           libnm-glib/nm-device.c
6526                 - (nm_device_get_description): remove
6527                 - (nm_device_get_product, nm_device_get_vendor): add
6528                 - (nm_device_update_description): new function (private); walk HAL
6529                         devices to get product and vendor IDs for a specific device
6530
6531 2007-10-31  Dan Williams  <dcbw@redhat.com>
6532
6533         * src/nm-device-802-11-wireless.c
6534                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6535
6536 2007-10-29  Dan Williams  <dcbw@redhat.com>
6537
6538         * src/nm-hal-manager.c
6539                 - (device_added, device_new_capability): ignore device additions while
6540                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6541                         kernel module is unloaded and reloaded and recognized by NM again.
6542
6543 2007-10-26  Dan Williams  <dcbw@redhat.com>
6544
6545         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6546
6547         * src/NetworkManagerAP.c
6548           src/NetworkManagerAP.h
6549           libnm-glib/nm-access-point.c
6550           libnm-glib/nm-access-point.h
6551                 - Make 'rate' property a guint32 to better match with WEXT and
6552                         wpa_supplicant and to allow representation of higher bitrates
6553
6554         * src/nm-device-802-11-wireless.c
6555           introspection/nm-device-802-11-wireless.xml
6556           libnm-glib/nm-device-802-11-wireless.c
6557           libnm-glib/nm-device-802-11-wireless.h
6558                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6559
6560         * src/nm-device-802-3-ethernet.c
6561           src/nm-device-802-3-ethernet.h
6562           introspection/nm-device-802-3-ethernet.xml
6563           libnm-glib/nm-device-802-3-ethernet.c
6564           libnm-glib/nm-device-802-3-ethernet.h
6565                 - Make 'speed' property a guint32 to match other speed/rate types
6566                 - Make nm_device_802_3_ethernet_get_speed() static
6567
6568         * test/nm-tool.c
6569                 - Update for the changes above
6570
6571 2007-10-26  Dan Williams  <dcbw@redhat.com>
6572
6573         * src/named-manager/nm-named-manager.c
6574                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6575                     not calling fclose() twice on some error conditions
6576
6577 2007-10-26  Dan Williams  <dcbw@redhat.com>
6578
6579         * src/nm-activation-request.c
6580                 - (dispose): clean up indentation; get the right DBusGProxy object to
6581                         cancel the GetSecrets pending call on.  Need to use the Secrets
6582                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6583                         pending call doesn't get canceled, and pressing Cancel in the
6584                         applet's password dialog could cause get_secrets_cb() to be called
6585                         after the activation request has already been destroyed
6586
6587 2007-10-24  Dan Williams  <dcbw@redhat.com>
6588
6589         * src/supplicant-manager/nm-supplicant-config.c
6590                 - (nm_supplicant_config_add_blob): pass blob data and length for
6591                         verification
6592                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6593
6594 2007-10-24  Dan Williams  <dcbw@redhat.com>
6595
6596         * src/supplicant-manager/nm-supplicant-settings-verify.c
6597                 - (opt_table): max length for certificates should be 65536
6598
6599 2007-10-24  Dan Williams  <dcbw@redhat.com>
6600
6601         * src/supplicant-manager/nm-supplicant-interface.c
6602                 - (blob_free): correctly free blob data after use
6603                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6604
6605 2007-10-24  Dan Williams  <dcbw@redhat.com>
6606
6607         * libnm-util/nm-setting.c
6608                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6609                         EAP method need secrets
6610
6611 2007-10-24  Dan Williams  <dcbw@redhat.com>
6612
6613         * src/backends/NetworkManagerRedHat.c
6614                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6615
6616 2007-10-23  Dan Williams  <dcbw@redhat.com>
6617
6618         * libnm-util/nm-setting.c
6619           libnm-util/nm-setting.c
6620                 - (nm_setting_compare): implement
6621                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6622                    compare_one_hash_gvalue): compare the contents of a setting
6623
6624         * libnm-util/nm-connection.c
6625                 - (nm_connection_compare): implement
6626
6627 2007-10-23  Dan Williams  <dcbw@redhat.com>
6628
6629         * src/nm-activation-request.c
6630                 - (get_secrets_cb): handle getting a setting back that is more than
6631                         just secrets (ie, user changed auth or EAP method or something)
6632
6633 2007-10-23  Dan Williams  <dcbw@redhat.com>
6634
6635         * libnm-util/nm-setting.c
6636           libnm-util/nm-setting.h
6637                 - (nm_setting_verify): new function; verify one setting
6638                 - (nm_settings_verify_all): rename from nm_settings_verify()
6639                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6640                         all_settings
6641
6642         * libnm-util/nm-connection.c
6643                 - (nm_connection_replace_settings, nm_connection_verify,
6644                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6645
6646 2007-10-23  Dan Williams  <dcbw@redhat.com>
6647
6648         * src/nm-device-802-11-wireless.c
6649                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6650                         desired behavior
6651
6652 2007-10-23  Dan Williams  <dcbw@redhat.com>
6653
6654         * src/supplicant-manager/nm-supplicant-settings-verify.c
6655                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6656                         nm-settings.c
6657
6658 2007-10-23  Dan Williams  <dcbw@redhat.com>
6659
6660         * src/nm-device-802-11-wireless.c
6661                 - (real_act_stage2_config): after the first association failure,
6662                         if the connection still needs secrets ask the user for them
6663                         explicitly.  After the fourth association failure due to bad
6664                         secrets, fail the connection entirely.  Handles the GetSecrets
6665                         loop that NM gets into when the provided secrets don't match up
6666                         with the connection details.
6667
6668 2007-10-23  Dan Williams  <dcbw@redhat.com>
6669
6670         * src/supplicant-manager/nm-supplicant-config.c
6671                 - (nm_supplicant_config_add_setting_wireless_security): only add
6672                         WPA-specific options when WPA is in use
6673
6674 2007-10-23  Dan Williams  <dcbw@redhat.com>
6675
6676         * src/supplicant-manager/nm-supplicant-config.c
6677                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6678                         secret doesn't need to be unhexified
6679
6680 2007-10-23  Dan Williams  <dcbw@redhat.com>
6681
6682         * libnm-util/nm-setting.c
6683                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6684                         before trying to do something with it
6685
6686 2007-10-23  Dan Williams  <dcbw@redhat.com>
6687
6688         * src/nm-device-802-11-wireless.c
6689                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6690
6691 2007-10-23  Dan Williams  <dcbw@redhat.com>
6692
6693         * src/nm-device-802-11-wireless.c
6694                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6695                         non-SSID-broadcasting APs
6696
6697 2007-10-23  Dan Williams  <dcbw@redhat.com>
6698
6699         * src/NetworkManagerAP.c
6700                 - (match_cipher, security_compatible): remove
6701                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6702                         libnm-util instead
6703
6704 2007-10-23  Dan Williams  <dcbw@redhat.com>
6705
6706         * libnm-util/nm-utils.c
6707           libnm-util/nm-utils.h
6708                 - (nm_utils_ap_security_compatible): common function for checking
6709                         whether a specific AP is compatible with an NMConnection
6710
6711 2007-10-23  Dan Williams  <dcbw@redhat.com>
6712
6713         * libnm-util/nm-setting.c
6714                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6715                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6716                    need_secrets_password, setting_wireless_security_verify): fix
6717                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6718                         secrets logic for each supported EAP method
6719
6720 2007-10-23  Dan Williams  <dcbw@redhat.com>
6721
6722         * src/supplicant-manager/nm-supplicant-config.c
6723                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6724                         config option name, should be "private_key2_passwd"
6725
6726 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6727
6728         Implement support for static IP addresses, additional/overridden DNS and
6729         DNS domain search lists.
6730
6731         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6732         (ip4_addresses_to_gvalue): Implement.
6733         (convert_array_to_byte_array): Implement.
6734         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6735         NM_S_TYPE_IP4_ADDRESSES.
6736         (nm_setting_hash): Ditto.
6737         (default_setting_clear_secrets): Add a default case for the switch: IP address
6738         shouldn't be secret, ever.
6739         (setting_ip4_config_verify): Update, requires addresses in case of manual
6740         configurations.
6741         (setting_ip4_config_destroy): Free stuff.
6742
6743         * src/nm-device.c (merge_ip4_config): Implement.
6744         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6745
6746 2007-10-22  Dan Williams  <dcbw@redhat.com>
6747
6748         * libnm-util/nm-setting.c
6749                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6750                         pairwise cipher options for Dynamic WEP
6751
6752 2007-10-21  Dan Williams  <dcbw@redhat.com>
6753
6754         * src/NetworkManagerAP.c
6755           src/NetworkManagerAP.h
6756                 - Rename 'articifical' -> 'fake' since that's what they are until
6757                         noticed in scans
6758                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6759                         from the attributes in an NMConnection object
6760                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6761                         WPA Enterprise
6762                 - (nm_ap_match_in_list): find a matching AP in a scan list
6763
6764         * src/nm-device-802-11-wireless.c
6765                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6766                         AP when searching the scan list; match on frequency and mode too
6767                 - (nm_device_802_11_wireless_get_frequency): implement
6768                 - (merge_scanned_ap): replace duplicate matching logic with
6769                         nm_ap_match_in_list()
6770                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6771                         the user is trying to connect to a hidden network that is not yet
6772                         known from the scan list
6773                 - (activation_success_handler): now that the card knows the AP's BSSID,
6774                         there may already be a scanned AP in the scan list that is what
6775                         we really wanted to connect to, but didn't know at the time.  Use
6776                         that instead of the 'fake' AP created at activation start and get
6777                         rid of the 'fake' AP 
6778                 - (cull_scan_list): don't remove fake APs
6779
6780 2007-10-21  Dan Williams  <dcbw@redhat.com>
6781
6782         * src/nm-activation-request.h
6783           src/nm-activation-request.c
6784                 - (nm_act_request_set_specific_object): new function; allow setting the
6785                         specific object if one isn't set yet
6786
6787 2007-10-20  Dan Williams  <dcbw@redhat.com>
6788
6789         * src/supplicant-manager/nm-supplicant-config.h
6790           src/supplicant-manager/nm-supplicant-config.c
6791                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6792                         table to store blobs
6793                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6794                         blob hash table
6795                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6796                 - (nm_supplicant_config_add_setting_wireless_security): handle
6797                         options that use certificates (ie, blobs)
6798
6799         * src/nm-device-802-11-wireless.c
6800                 - (build_supplicant_config): pass a UID (just use the connection path)
6801                         to the supplicant config as now required
6802
6803         * src/supplicant-manager/nm-supplicant-interface.c
6804                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6805                         there are any blobs to send to wpa_supplicant, send those first
6806                         before sending the network configuration
6807
6808 2007-10-19  Dan Williams  <dcbw@redhat.com>
6809
6810         Split the GetSecrets() call off to a separate D-Bus interface so that it
6811         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6812         should be able to call GetSecrets().
6813
6814         * include/NetworkManager.h
6815                 - Define the connection secrets D-Bus interface
6816
6817         * src/vpn-manager/nm-vpn-connection.c
6818                 - (clear_need_auth): get the right proxy object for the connection
6819                         secrets interface
6820                 - (get_connection_secrets): use the connection secrets proxy; send
6821                         empty hints in get secrets request
6822
6823         * src/nm-activation-request.c
6824                 - (nm_act_request_request_connection_secrets): use the connection
6825                         secrets proxy; send empty hints in get secrets request
6826
6827         * src/nm-manager.c
6828           src/nm-manager.h
6829                 - (connection_get_settings_cb): set the connection secrets proxy on
6830                         the connection object too
6831                 - (internal_new_connection_cb): create the connection secrets proxy
6832
6833         * introspection/nm-settings-connection.xml
6834                 - Define Connection.Secrets interface and move GetSecrets there
6835                 - Add a 'hints' argument to GetSecrets
6836
6837         * libnm-glib/nm-settings.c
6838           libnm-glib/nm-settings.h
6839                 - (impl_connection_settings_get_secrets): add 'hints' argument
6840
6841 2007-10-19  Dan Williams  <dcbw@redhat.com>
6842
6843         * src/nm-device.c
6844                 - (constructor): add message about what path a device is exported as
6845                         to help in debugging rh #339011
6846
6847 2007-10-17  Dan Williams  <dcbw@redhat.com>
6848
6849         * libnm-util/nm-utils.h
6850           libnm-util/nm-utils.c
6851                 - (nm_utils_security_valid): common function to help find the intersection
6852                         of capabilities of devices and (optionally) access points
6853
6854 2007-10-17  Dan Williams  <dcbw@redhat.com>
6855
6856         * src/nm-device-802-11-wireless.c
6857                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6858                         don't get erroneously cleared
6859
6860 2007-10-17  Dan Williams  <dcbw@redhat.com>
6861
6862         * src/nm-manager.h
6863           src/nm-manager.c
6864           src/nm-hal-manager.c
6865                 - (device_removed, finalize, nm_manager_remove_device,
6866                    nm_manager_sleep): add a 'deactivate' argument to 
6867                    nm_manager_remove_device() to fully deactivate devices when necessary
6868                    (ie, always except when waking up)
6869
6870 2007-10-16  Dan Williams  <dcbw@redhat.com>
6871
6872         * libnm-util/nm-setting.c
6873                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6874                         also isn't valid phase2 autheap method
6875
6876 2007-10-16  Dan Williams  <dcbw@redhat.com>
6877
6878         * libnm-glib/nm-client.c
6879                 - (update_wireless_status): consolidate updates of wireless status
6880                 - (constructor): use update_wireless_status()
6881                 - (manager_running): set wireless status off when NM goes away; requery
6882                         the wireless status when NM comes back
6883
6884 2007-10-16  Dan Williams  <dcbw@redhat.com>
6885
6886         * libnm-glib/nm-client.c
6887                 - (nm_client_activate_device): actually use the fixed-up specific
6888                         object path
6889
6890 2007-10-16  Dan Williams  <dcbw@redhat.com>
6891
6892         * src/nm-hal-manager.c
6893                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6894                         killswitch error messages once
6895
6896 2007-10-16  Dan Williams  <dcbw@redhat.com>
6897
6898         * src/nm-manager.c
6899                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6900                         if it's disabled in hardware; don't touch network devices while
6901                         NM is asleep
6902
6903 2007-10-16  Dan Williams  <dcbw@redhat.com>
6904
6905         * libnm-util/nm-client.c
6906                 - (nm_client_activate_device): convert NULL specific_object to "/",
6907                         which is used in place of NULL
6908
6909         * src/nm-manager.c
6910                 - (impl_manager_activate_device): convert "/" specific_object back into
6911                         NULL
6912
6913 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6914
6915         Implement a generic NMSetting creator from setting name.
6916         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6917         add a virtual function 'populate_fn'.
6918
6919         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6920         (register_default_creators): Register setting creators instead of functions
6921         that create and then populate.
6922         (parse_one_setting): Use the common setting creator and then setting specific
6923         poplulation function.
6924
6925         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6926         they all looked exactly the same.
6927         Add a 'populate_fn' virtual function to NMSetting.
6928         Use default virtual functions in case they are not overriden.
6929         (nm_setting_populate_from_hash): Implement.
6930
6931         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6932         name, use a defined string.
6933         (real_act_stage4_get_ip4_config): Ditto.
6934
6935 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6936
6937         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6938         HAL is int, not uint.
6939
6940 2007-10-15  Tambet Ingo  <tambet@gmail.com>
6941
6942         Implement killswitch polling through HAL.
6943
6944         * src/nm-manager.c: Add wireless hardware status property. Add 
6945         'properties-changed' signal for changes in wireless and wireless hardware
6946         state changes.
6947
6948         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6949         and update NMManager's wireless hardware state when it has changed.
6950         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6951         already does that.
6952
6953         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6954         values of wireless state and wireless hardware state. Listen for the
6955         'properties-changed' signals, update the cached values and emit notify.
6956
6957         * include/NetworkManager.h: Fix a typo in a comment.
6958
6959 2007-10-14  Dan Williams  <dcbw@redhat.com>
6960
6961         * libnm-util/nm-setting.c
6962                 - (setting_wireless_security_need_secrets): handle LEAP secrets
6963
6964 2007-10-13  Dan Williams  <dcbw@redhat.com>
6965
6966         * libnm-util/nm-setting.h
6967           libnm-util/nm-setting.c
6968           src/supplicant-manager/nm-supplicant-config.c
6969                 - Make the 'proto' field of the 802-11-wireless-security field a
6970                         string list
6971
6972 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6973
6974         Rework the "properties-changed" signal listening implementation.
6975         Add a generic implementation to NMObject class that listens for
6976         the signal and calls property setters of the target NMObject.
6977
6978         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
6979
6980         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
6981         code to the end of file so that all the static functions are available
6982         without extra declarations.
6983         Remove the "properties-changed" signal handling and use the framework from
6984         NMObject.
6985         Implement property setters for properties that change with 
6986         "properties-changed" signal.
6987
6988         * libnm-glib/nm-access-point.c: Ditto.
6989
6990 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6991
6992         Rework the "properties-changed" signal implementation.
6993         In classes that need to use it, just emit "GObject::notify" and the new
6994         framework takes care of the rest to make the signal available on dbus.
6995         The framework queues the notifications and tries to send as many together
6996         in one signal as possible.
6997
6998         * src/nm-properties-changed-signal.c:
6999         * src/nm-properties-changed-signal.h: Implement.
7000
7001         * src/Makefile.am: Add new files to build.
7002
7003         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7004         signal.
7005
7006         * src/nm-device-802-11-wireless.c: Ditto.
7007
7008 2007-10-10  Dan Williams  <dcbw@redhat.com>
7009
7010         * src/nm-manager.c
7011                 - (wait_for_connection_expired): ensure info is valid
7012                 - (connection_added_default_handler): Should only remove pending
7013                         connection info when the manager has the connection that it's
7014                         waiting for.  Fixes segfault in wait_for_connection_info().  
7015
7016 2007-10-10  Dan Williams  <dcbw@redhat.com>
7017
7018         * libnm-util/nm-setting.c
7019           libnm-util/nm-setting.h
7020                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7021                         can use if they choose.  Should be filled in by the settings service
7022                         on-the-fly with the currently logged in user's username
7023
7024 2007-10-10  Dan Williams  <dcbw@redhat.com>
7025
7026         * src/nm-device-802-11-wireless.c
7027                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7028                         as such, because even if the manager fills in the SSID, NM still
7029                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7030                         its SSID
7031
7032 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7033
7034         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7035         code that used NM's own version of dbus signal handling and custom dictionary
7036         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7037         and we get to maintain over 2000 lines less code.
7038
7039         * libnm-util/dbus-dict-helpers.c:
7040         * libnm-util/dbus-dict-helpers.h: Remove.
7041
7042         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7043
7044         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7045
7046         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7047         handlers.
7048
7049         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7050
7051         * configure.in: Remove test/libnm-util/Makefile creation.
7052
7053         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7054
7055         * test/libnm-util/: Remove the whole directory.
7056
7057 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7058
7059         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7060         device_state_changed_idle_id variable or it would contain some random value and the
7061         schedule_change_check calls would not do anything.
7062
7063 2007-10-09  Dan Williams  <dcbw@redhat.com>
7064
7065         * src/nm-device-802-11-wireless.c
7066                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7067                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7068                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7069                         merging of non-SSID-broadcasting APs
7070
7071 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7072
7073         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7074         "guint8 *" since it's usually used with GByteArray->data.
7075         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7076
7077 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7078
7079         * src/NetworkManagerUtils.c
7080         (nm_utils_is_empty_ssid):
7081         (nm_utils_escape_ssid):
7082         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7083         lot of places, so they belong to libnm-utils instead.
7084
7085         Now with 100% less compiler warnings:
7086
7087         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7088         (nm_dbus_unescape_object_path): Ditto.
7089         (nm_utils_ssid_to_utf8): Ditto.
7090         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7091         (nm_utils_escape_ssid): Ditto.
7092         (nm_utils_same_ssid): Ditto.
7093
7094         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7095         (add_one_connection_element): Remove an unused variable.
7096         (impl_manager_get_active_connections): Ditto.
7097
7098         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7099         variable.
7100
7101         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7102         from the previous commit.
7103
7104         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7105         (real_act_stage1_prepare): Ditto.
7106         (activation_success_handler): Ditto.
7107         (get_property): Ditto.
7108
7109         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7110         variable.
7111
7112         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7113         it's always set.
7114
7115         * src/supplicant-manager/nm-supplicant-config.c 
7116         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7117         to expected "char *".
7118         (nm_supplicant_config_add_setting_wireless): Ditto.
7119         (nm_supplicant_config_remove_option): Remove, not used.
7120
7121         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7122         not double.
7123         (test_wireless_enabled): Ifdef out unused function.
7124         (device_deactivate): Ditto.
7125         (device_state_changed): Ditto.
7126         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7127         (nm_utils_escape_ssid): Ditto.
7128
7129         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7130         (nm_utils_is_empty_ssid): Ditto.
7131
7132         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7133         unused variable.
7134
7135         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7136         (setting_vpn_properties_update_secrets): Ditto.
7137         (int_to_gvalue): Ifdef out for now, not used.
7138         (byte_to_gvalue): Ditto.
7139
7140         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7141         Unused, remove.
7142
7143 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7144
7145         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7146         about dbus manager, not named manager.
7147         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7148
7149         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7150         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7151         However, the same signal is emitted when we destroy it and there's 
7152         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7153
7154         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7155         releasing the DBusGConnection, since proxy needs a conneciton.
7156         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7157
7158 2007-10-08  Dan Williams  <dcbw@redhat.com>
7159
7160         * src/NetworkManager.c
7161                 - (main): error on unknown command-line options
7162
7163 2007-10-08  Dan Williams  <dcbw@redhat.com>
7164
7165         Reimplement the invalid connection list.  Don't try to re-activate a
7166         connection that just failed or was canceled.
7167
7168         * src/nm-device.c
7169                 - (connection_secrets_failed_cb): fail device activation, don't just
7170                         deactivate the device.  Listeners have to know about the failure.
7171
7172         * src/NetworkManagerPolicy.c
7173                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7174                         the connection list given to a device's get_best_connection()
7175                         method
7176                 - (device_state_changed): tag failed connections as invalid; clear the
7177                         tag from successful connections
7178
7179 2007-10-08  Dan Williams  <dcbw@redhat.com>
7180
7181         Fix problems with interrupted activation.  Previously, choosing an AP
7182         from the menu, then choosing another one before the first connection was
7183         successful wouldn't deactivate the device before starting the new connection
7184         on that same device.
7185
7186         * src/NetworkManagerPolicy.c
7187                 - (deactivate_old_device, device_state_changed, state_changed,
7188                    nm_policy_new): wrong place to deactivate old devices
7189
7190         * src/nm-manager.c
7191                 - (pending_connection_info_destroy, finalize,
7192                    wait_for_connection_expired): decouple destruction of the pending
7193                         connection info from the manager device
7194                 - (connection_added_default_handler): deactivate any active or
7195                         activating device before starting a new activation
7196                 - (impl_manager_activate_device): deactivate any active or activating
7197                         device before starting a new activation; be sure not to leak
7198                         pending connection info if a new activation request arrives but
7199                         there's already a pending one in-process
7200
7201 2007-10-08  Dan Williams  <dcbw@redhat.com>
7202
7203         * src/NetworkManagerAP.h
7204           src/NetworkManagerAP.c
7205                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7206                         should handle default SSIDs and whether or not to autoconnect
7207                         to them
7208
7209 2007-10-08  Dan Williams  <dcbw@redhat.com>
7210
7211         * src/NetworkManagerPolicy.c
7212                 - (nm_policy_device_change_check): print out connection name where
7213                         possible
7214
7215 2007-10-08  Dan Williams  <dcbw@redhat.com>
7216
7217         * src/nm-device-802-11-wireless.c
7218           src/nm-device-802-11-wireless.h
7219                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7220                         'hidden-ap-found' signal (for internal use only) that allows the
7221                         NMManager to fill in the AP's SSID if a connection has that AP's
7222                         BSSID in its seen-bssids list
7223
7224         * src/nm-manager.c
7225                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7226                         wireless device's hidden-ap-found signal and fill in the APs SSID
7227                         if possible
7228
7229 2007-10-07  Dan Williams  <dcbw@redhat.com>
7230
7231         * src/nm-manager.c
7232           src/nm-manager.h
7233                 - Add a 'connections-added' signal to batch together updates of large
7234                         numbers of connections, like when reading from a settings service
7235                         the first time.  Otherwise, the policy would just activate the first
7236                         suitable connection it saw rather than waiting for the full list
7237                         to arrive.
7238                 - (nm_manager_class_init): register new signal
7239                 - (get_type_for_proxy, connection_get_settings_cb,
7240                    get_connection_for_proxy): centralize places where a proxy's setting
7241                         service is determined
7242                 - (free_get_settings_info): if the call being freed is the last call
7243                         in a pending call group, fire off the connections-added signal
7244                 - (internal_new_connection_cb): add call to a pending call group if
7245                         requested
7246                 - (list_connections_cb): always create a call group here, because this
7247                         call results in a batch of new connections
7248                 - (initial_get_connections): start getting system connections first
7249                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7250                         removed signal when destroying connections
7251
7252         * src/NetworkManagerPolicy.c
7253                 - (nm_policy_new, connections_added): handle connections-added signal
7254                         from the manager
7255
7256 2007-10-06  Dan Williams  <dcbw@redhat.com>
7257
7258         * src/nm-device-802-11-wireless.c
7259                 - (constructor): fix leaked socket
7260
7261 2007-10-06  Dan Williams  <dcbw@redhat.com>
7262
7263         * src/NetworkManagerPolicy.c
7264                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7265                         connection in the list returned by nm_manager_get_connections() is
7266                         reffed, but they weren't getting unreffed before returning
7267
7268 2007-10-06  Dan Williams  <dcbw@redhat.com>
7269
7270         * src/nm-manager.c
7271                 - (connections_to_slist): sort connections first on autoconnect, then
7272                         on timestamp
7273
7274 2007-10-06  Dan Williams  <dcbw@redhat.com>
7275
7276         * libnm-util/nm-connection.c
7277                 - (gvalue_to_string): handle UINT64
7278
7279 2007-10-06  Dan Williams  <dcbw@redhat.com>
7280
7281         * src/NetworkManagerPolicy.c
7282                 - (connection_updated, nm_policy_new): recheck state when a connection
7283                         gets updated
7284
7285 2007-10-06  Dan Williams  <dcbw@redhat.com>
7286
7287         * src/nm-manager.c
7288           src/nm-manager.h
7289                 - (nm_manager_get_connection_dbus_path): make static
7290                 - (nm_manager_update_connections): remove; unused
7291                 - Add a connection-updated signal
7292                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7293                         handle connection object updates
7294
7295 2007-10-06  Dan Williams  <dcbw@redhat.com>
7296
7297         * src/NetworkManagerPolicy.c
7298                 - (connection_removed): deactivate removed connections
7299
7300 2007-10-06  Dan Williams  <dcbw@redhat.com>
7301
7302         * libnm-util/nm-connection.c
7303           libnm-util/nm-connection.h
7304                 - (nm_connection_replace_settings): new function
7305
7306 2007-10-06  Dan Williams  <dcbw@redhat.com>
7307
7308         * libnm-glib/nm-device-802-11-wireless.c
7309                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7310                         on error when getting the active access point over D-Bus from NM
7311
7312 2007-10-05  Dan Williams  <dcbw@redhat.com>
7313
7314         * libnm-util/nm-setting.c
7315                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7316                         to the NMSettingWireless table; it's now a string array not an array
7317                         of byte arrays
7318
7319 2007-10-05  Dan Williams  <dcbw@redhat.com>
7320
7321         * libnm-glib/nm-device-802-11-wireless.c
7322                 - Cache properties and update cached properties on D-Bus signals from NM
7323
7324 2007-10-05  Dan Williams  <dcbw@redhat.com>
7325
7326         * src/nm-device-802-11-wireless.c
7327                 - (set_current_ap): consolidate current_ap handling code into one place
7328                         to ensure that PropertiesChanged signals are emitted in all cases
7329                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7330                    nm_device_802_11_wireless_dispose): use set_current_ap()
7331
7332 2007-10-05  Dan Williams  <dcbw@redhat.com>
7333
7334         * libnm-glib/nm-access-point.c
7335           libnm-glib/nm-access-point.h
7336                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7337                         because the value is cached internally now.  Callers should not
7338                         free the internal value.
7339                 - Make signal name defines private
7340
7341         * test/nm-tool.c
7342           libnm-glib/libnm-glib-test.c
7343                 - Don't free value returned from nm_access_point_get_hw_address()
7344
7345 2007-10-04  Dan Williams  <dcbw@redhat.com>
7346
7347         * introspection/nm-device-802-11-wireless.xml
7348           src/nm-device-802-11-wireless.h
7349           src/nm-device-802-11-wireless.c
7350                 - Add a PropertiesChanged signal for wireless device
7351                 - Store currently associated access point
7352                 - (periodic_update): generalize; update rate here too and emit the
7353                         correct PropertiesChanged signal when stuff changes
7354                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7355                    real_activation_cancel_handler): clear current_ap when device is
7356                         deactivated
7357                 - (link_to_specific_ap, get_ap_blacklisted,
7358                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7359                         code
7360                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7361                         outside this file
7362                 - (real_set_hw_address): emit property changed signal if the card's
7363                         MAC address changes
7364                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7365                         the card is supposed to be connecting to
7366                 - (activation_success_handler): send out property updates on successful
7367                         activation
7368                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7369                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7370                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7371                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7372                         is now boxed; add PropertiesChanged signal
7373
7374 2007-10-04  Dan Williams  <dcbw@redhat.com>
7375
7376         * libnm-util/nm-connection.c
7377           libnm-util/nm-connection.h
7378                 - (nm_connection_verify): new function
7379
7380 2007-10-04  Dan Williams  <dcbw@redhat.com>
7381
7382         * libnm-util/nm-setting.c
7383                 - (nm_settings_verify): use #defines when possible rather than strings
7384                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7385                 - (setting_vpn_verify): tighter validity check on 'service_type'
7386
7387 2007-10-04  Dan Williams  <dcbw@redhat.com>
7388
7389         * libnm-glib/nm-settings.c
7390                 - (nm_connection_settings_class_init): provide correct type for argument
7391                         to the Updated signal so that dbus-glib knows how to marshal it
7392
7393 2007-10-03  Dan Williams  <dcbw@redhat.com>
7394
7395         * src/nm-device-802-3-ethernet.c
7396                 - (real_get_best_connection): don't create automatic connections
7397                         internally; clients should provide a setting that applies to
7398                         the device with 'autoconnect: True'.  Problem was that these
7399                         internally auto-created connections don't have a proxy or service
7400                         name becuase they weren't created by a settings daemon, and therefore
7401                         clients have no idea what to do with them.
7402
7403 2007-10-03  Dan Williams  <dcbw@redhat.com>
7404
7405         * src/nm-device-802-11-wireless.c
7406           src/nm-device-802-11-wireless.h
7407           introspection/nm-device-802-11-wireless.xml
7408                 - GetActiveNetworks -> GetAccessPoints
7409                 - ActiveNetwork -> ActiveAccessPoint
7410                 - NetworkAdded -> AccessPointAdded
7411                 - NetowrkRemoved -> AccessPointRemoved
7412
7413         * libnm-glib/nm-device-802-11-wireless.c
7414           libnm-glib/nm-device-802-11-wireless.h
7415                 - network-added signal -> access-point-added
7416                 - network-removed signal -> access-point-removed
7417                 - nm_device_802_11_wireless_get_active_network() ->
7418                         nm_device_802_11_wireless_get_active_access_point()
7419                 - nm_device_802_11_wireless_get_network_by_path() ->
7420                         nm_device_802_11_wireless_get_access_point_by_path()
7421                 - nm_device_802_11_wireless_get_networks() ->
7422                         nm_device_802_11_wireless_get_access_points()
7423
7424         * libnm-glib/libnm-glib-test.c
7425           test/nm-tool.c
7426           src/NetworkManagerPolicy.c
7427                 - Fixups for Network -> AccessPoint
7428
7429 2007-10-03  Dan Williams  <dcbw@redhat.com>
7430
7431         Add a GetActiveConnections() method on the Manager object.
7432
7433         * src/nm-manager.c
7434           src/nm-manager.h
7435           introspection/nm-manager.xml
7436                 - (connection_get_settings_cb): keep connection type around too
7437                 - (impl_manager_get_active_connections, add_one_connection_element):
7438                         implement; returns all active connections and what devices they
7439                         apply to
7440
7441         * libnm-glib/nm-client.c
7442           libnm-glib/nm-client.h
7443           introspection/nm-manager-client.xml
7444                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7445                         by the caller; free here to avoid memory leak
7446                 - (nm_client_get_active_connections): implement; return the list of
7447                         active connections
7448                 - (nm_client_free_active_connection_element): implement; free an element
7449                         of the GSList returned by nm_client_get_active_connections()
7450
7451 2007-10-03  Dan Williams  <dcbw@redhat.com>
7452
7453         * src/nm-device-802-11-wireless.c
7454                 - (nm_device_802_11_wireless_update_bssid): remove
7455                 - (get_active_ap): new function; find the AP in the scan list which
7456                         matches the current BSSID and SSID of the wireless device
7457                 - (nm_device_802_11_periodic_update): get current AP using
7458                         get_active_ap() and print AP roam messages
7459
7460 2007-10-01  Dan Williams  <dcbw@redhat.com>
7461
7462         * libnm-util/nm-setting.h
7463                 - Add a 'timestamp' option to NMSettingConnection
7464                 - Add a UINT64 type
7465
7466         * libnm-util/nm-setting.c
7467                 - (uint64_to_gvalue): new function
7468                 - (nm_setting_populate_from_hash, nm_setting_hash,
7469                    default_setting_clear_secrets): handle UINT64 type
7470                 - con_table: add 'timestamp' member
7471
7472 2007-10-01  Dan Williams  <dcbw@redhat.com>
7473
7474         * src/nm-manager.c
7475                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7476                         value when the connection can be activated immediately
7477
7478 2007-10-01  Dan Williams  <dcbw@redhat.com>
7479
7480         * libnm-glib/nm-device.c
7481                 - (nm_device_class_init): actually tell glib about the carrier-changed
7482                         signal
7483
7484 2007-10-01  Dan Williams  <dcbw@redhat.com>
7485
7486         * configure.in
7487           src/marshallers/Makefile.am
7488           src/marshallers/nm-marshal.list
7489           src/marshallers/nm-marshal-main.c
7490                 - Consolidate glib marshallers into one place
7491
7492         * src/dhcp-manager/Makefile.am
7493           src/dhcp-manager/nm-dhcp-manager.c
7494           src/supplicant-manager/Makefile.am
7495           src/supplicant-manager/nm-supplicant-manager.c
7496           src/supplicant-manager/nm-supplicant-interface.c
7497           src/ppp-manager/Makefile.am
7498           src/ppp-manager/nm-ppp-manager.c
7499           src/vpn-manager/Makefile.am
7500           src/vpn-manager/nm-vpn-connection.c
7501           src/Makefile.am
7502                 - Use consolidated marshallers
7503
7504         * src/dhcp-manager/nm-dhcp-marshal.list
7505           src/dhcp-manager/nm-dhcp-marshal-main.c
7506           src/supplicant-manager/nm-supplicant-marshal-main.c
7507           src/supplicant-manager/nm-supplicant-marshal.list
7508           src/nm-marshal-main.c
7509           src/nm-marshal.list
7510           src/ppp-manager/nm-ppp-marshal-main.c
7511           src/ppp-manager/nm-ppp-marshal.list
7512           src/vpn-manager/nm-vpn-marshal-main.c
7513           src/vpn-manager/nm-vpn-marshal.list
7514                 - Remove
7515
7516 2007-10-01  Dan Williams  <dcbw@redhat.com>
7517
7518         * include/NetworkManagerVPN.h
7519                 - define VPN connection state change reason codes
7520
7521         * src/vpn-manager/Makefile.am
7522           src/vpn-manager/nm-vpn-marshal.list
7523           src/vpn-manager/nm-vpn-marshal-main.c
7524                 - Add marshallers for StateChanged signal
7525
7526         * introspection/nm-vpn-connection.xml
7527                 - New Banner property
7528                 - StateChanged signal now includes a 'reason' argument
7529
7530         * src/vpn-manager/nm-vpn-connection.c
7531           src/vpn-manager/nm-vpn-connection.h
7532                 - Add a "Banner" property that contains the returned VPN server login
7533                         banner (if any); valid only in the ACTIVATED state
7534                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7535                         a 'reason' argument and emits that reason along with the
7536                         state-changed signal
7537                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7538                 - (nm_vpn_connection_ip4_config_get): save banner for later
7539                 - (nm_vpn_connection_get_banner, get_property,
7540                    nm_vpn_connection_class_init): implement Banner property
7541
7542         * src/vpn-manager/nm-vpn-service.c
7543                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7544                         connection list because elements may get added/removed from it
7545                         while iterating over the list
7546                 - (connection_state_changed): signal now includes the 'reason' argument
7547
7548         * libnm-glib/nm-vpn-connection.c
7549           libnm-glib/nm-vpn-connection.h
7550                 - (nm_vpn_connection_get_banner): new function
7551                 - (state_changed_proxy): handle reason argument
7552
7553 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7554
7555         * src/nm-manager.c:
7556         * src/nm-manager.h:
7557         Implement device activation through NMManager.
7558         Implement "pending device activation" here - If the connection isn't found,
7559         we try to wait for up to 5 seconds for the connection to be provided.
7560         Add NMConnectionType argument to "connection-added" and "connection-removed"
7561         signals.
7562         (nm_manager_get): Remove. Finally.
7563
7564         * src/nm-activation-request.c: 
7565         * src/nm-activation-request.h: 
7566         Remove all the deferred activation code.
7567
7568         * src/nm-device.c: Remove all the deferred activation code. Once the device
7569         activation is started, it's started. Update the activation virtual function
7570         signature.
7571
7572         * src/nm-device-interface.c:
7573         * src/nm-device-interface.h:
7574         Device activation now takes only NMActRequest argument.
7575         Don't expose device activation directly on dbus, it's supposed to go through
7576         NMManager now.
7577
7578         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7579         a bit more compact.
7580         Use the new device activation methods through NMManager.
7581
7582         * introspection/nm-manager-client.xml: 
7583         * introspection/nm-manager.xml: 
7584         * libnm-glib/nm-client.c:
7585         * libnm-glib/nm-client.h:
7586         Add device activation method.
7587         
7588         * libnm-glib/nm-device.c: 
7589         * libnm-glib/nm-device.h: 
7590         * introspection/nm-device.xml: 
7591         Remove device activation method. It's done through NMManager now.
7592
7593         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7594         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7595
7596 2007-09-28  Dan Williams  <dcbw@redhat.com>
7597
7598         * libnm-glib/nm-vpn-connection.c
7599                 - (nm_vpn_connection_get_state): try to update state if the current
7600                         state is UNKNOWN
7601
7602 2007-09-27  Dan Williams  <dcbw@redhat.com>
7603
7604         Patch from Bill Nottingham
7605
7606         * src/supplicant-manager/nm-supplicant-config.c
7607                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7608                         data to the supplicant
7609
7610 2007-09-27  Dan Williams  <dcbw@redhat.com>
7611
7612         * src/NetworkManagerSystem.c
7613                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7614                         and all address manipulation here should be happening on the
7615                         _VPN_ device, not the active device
7616
7617 2007-09-26  Dan Williams  <dcbw@redhat.com>
7618
7619         * src/nm-manager.c
7620           src/nm-manager.h
7621           src/nm-activation-request.c
7622           src/nm-activation-request.h
7623                 - Move the GetSecrets stuff out of the NMManager instance because it
7624                         doesn't really need to be there and complicates things
7625
7626         * src/nm-device.c
7627                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7628                         connection-secrets-failed signal and deactivate the device if
7629                         the GetSecrets call fails
7630
7631         * src/nm-device-802-11-wireless.c
7632                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7633                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7634                         secrets and give correct hints about whether new secrets should be
7635                         asked for by the client or not
7636
7637 2007-09-26  Dan Williams  <dcbw@redhat.com>
7638
7639         * src/vpn-manager/nm-vpn-connection.c
7640                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7641                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7642                         to the secrets-updated signal of the NMConnection since updating
7643                         the secrets is done within the scope of the NMVPNConnection object
7644                         already
7645                 - (get_connection_secrets): fix an uninialized variable usage error
7646
7647 2007-09-26  Dan Williams  <dcbw@redhat.com>
7648
7649         * libnm-util/nm-setting.c
7650                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7651                         actually get updated when the user enters them
7652
7653 2007-09-26  Dan Williams  <dcbw@redhat.com>
7654
7655         * libnm-glib/nm-vpn-plugin.c
7656                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7657
7658 2007-09-26  Dan Williams  <dcbw@redhat.com>
7659
7660         * include/NetworkManagerVPN.h
7661                 - Add a NEED_AUTH state
7662
7663         * src/vpn-manager/nm-vpn-connection.c
7664                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7665                         the connection needs secrets, and if so, then ask the settings
7666                         service to fill in the secrets.  Then start the connection.
7667
7668 2007-09-26  Dan Williams  <dcbw@redhat.com>
7669
7670         * src/vpn-manager/nm-vpn-manager.c
7671                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7672
7673 2007-09-26  Dan Williams  <dcbw@redhat.com>
7674
7675         * introspection/nm-vpn-plugin.xml
7676           libnm-glib/nm-vpn-plugin.c
7677           libnm-glib/nm-vpn-plugin.h
7678                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7679                         the name of the NMSetting in an NMConnection that may require
7680                         secrets specific to that VPN plugin
7681
7682 2007-09-26  Dan Williams  <dcbw@redhat.com>
7683
7684         * src/nm-manager.c
7685           src/nm-manager.h
7686                 - (nm_manager_get_connection_secrets): make static, unused outside
7687                         the file
7688                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7689
7690 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7691
7692         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7693         method.
7694         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7695         unreference the connection.
7696
7697         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7698         passing properties hash and routes string list, pass NMConnection (in hashed form).
7699
7700         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7701         as GSList, no need to copy stuff around anymore.
7702         (nm_vpn_connection_activate): Update the plugin activation method.
7703
7704         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7705         routes argument to GSList.
7706
7707 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7708
7709         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7710         state and try to get the secrets.
7711
7712         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7713         connections from NMManager and let the device to choose the best from the list.
7714         Since the connection list is sorted by system ones first and user ones later,
7715         the devices still prefer system connections like they did before.
7716         (deactivate_old_device): Implement. When a device starts activation, we have a
7717         policy (for now at least) to deactivate any other device that might be either
7718         active or still activating.
7719
7720         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7721         It's set on construction, there will be no other way to access it.
7722
7723         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7724         device events and drive the device, not the other way around.
7725
7726         * src/nm-device-802-3-ethernet.c: Ditto.
7727
7728         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7729         sent along, pass it on to virtual functions.
7730
7731         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7732         for now, but should really be public instead of nm_device_get_iface() since iface
7733         is a property of the DeviceInterface, not Device.
7734         (impl_device_activate): Don't touch NMManager!
7735
7736 2007-09-26  Jürg Billeter  <j@bitron.ch>
7737
7738         * initscript/paldo/NetworkManager.in:
7739         * initscript/paldo/NetworkManagerDispatcher.in:
7740         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7741         (nm_system_flush_loopback_routes): update paldo backend
7742
7743 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7744
7745         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7746         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7747         which means none of the devices get brought down properly, which in turn leaves
7748         DHCP client running.
7749
7750         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7751         (supplicant_connection_timeout_cb): Ditto.
7752
7753 2007-09-25  Dan Williams  <dcbw@redhat.com>
7754
7755         * src/nm-device.c
7756                 - (device_activation_go): small hack to work around race when
7757                         activating deferred connections; should solve this in a better way
7758
7759 2007-09-25  Dan Williams  <dcbw@redhat.com>
7760
7761         * introspection/nm-device.xml
7762           libnm-glib/nm-device.c
7763           libnm-glib/nm-device.h
7764                 - Add 'Carrier' property to exported NMDevice objects
7765
7766         * src/nm-device-interface.h
7767           src/nm-device-interface.c
7768           src/nm-device.c
7769                 - Add a 'carrier' property to internal NMDevice objects
7770
7771 2007-09-25  Dan Williams  <dcbw@redhat.com>
7772
7773         * src/nm-device-802-11-wireless.c
7774                 - (ap_auth_enforced): also return the encryption status of the AP so
7775                         that callers can differentiate easily between unencrypted APs
7776                         and encrypted ones, in addition to whether the AP has an
7777                         authenticator
7778                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7779                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7780                         previously would request secrets from unencrypted APs at times
7781
7782 2007-09-25  Dan Williams  <dcbw@redhat.com>
7783
7784         * src/nm-manager.c
7785                 - (nm_manager_update_state): new function; updates state and emits
7786                         appropriate signals ensuring a state-change signal for the same state
7787                         never gets emitted twice in a row.
7788                 - (manager_device_state_changed): handle more device state to get a
7789                         better picture of the overall NM state
7790
7791 2007-09-25  Dan Williams  <dcbw@redhat.com>
7792
7793         * libnm-glib/nm-settings.c
7794           libnm-glib/nm-settings.h
7795                 - (new_error -> nm_settings_new_error): make public so that subclasses
7796                         can use the same error domain.  Also pass a valid error code to
7797                         g_error_new_literal() so that libdbus doesn't assert when converting
7798                         the GError into a DBusError
7799                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7800                    impl_connection_settings_get_settings,
7801                    impl_connection_settings_get_secrets): use new error creator
7802                         function
7803
7804 2007-09-25  Dan Williams  <dcbw@redhat.com>
7805
7806         * src/NetworkManager.c
7807                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7808
7809 2007-09-25  Dan Williams  <dcbw@redhat.com>
7810
7811         * src/supplicant-manager/nm-supplicant-manager.c
7812                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7813                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7814                    nm_supplicant_manager_startup): when the supplicant isn't running,
7815                         try to start it periodically via system bus activation.  Fixes
7816                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7817                         for the supplicant to come back
7818
7819 2007-09-25  Dan Williams  <dcbw@redhat.com>
7820
7821         Ensure that old activation requests are forgotten about; previously
7822         hitting Cancel in the password dialog would deactivate whatever device
7823         that password was requested for, even if that wasn't the currently
7824         activating connection.
7825
7826         * src/nm-manager.c
7827           src/nm-manager.h
7828                 - (nm_manager_get_connection_secrets): track the pending call
7829                         object so it can be canceled later if needed
7830                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7831                         GetSecrets call for a particular connection
7832
7833         * src/nm-activation-request.c
7834                 - (dispose): cancel any outstanding GetSecrets calls on the
7835                         connection
7836
7837 2007-09-25  Dan Williams  <dcbw@redhat.com>
7838
7839         * src/NetworkManagerPolicy.c
7840                 - (nm_policy_device_change_check): handle devices that have a
7841                         deferred activation.  These devices are not really active _yet_,
7842                         but need to be treated as such here.  Don't interrupt them
7843                         automatically.
7844
7845         * src/nm-device-interface.c
7846                 - (impl_device_activate): handle devices that have a deferred activation
7847                         like activating or active devices.  When multiple active devices
7848                         get committed, the device shouldn't be deactivated until the
7849                         connection details are available to avoid DoS and such.  Currently,
7850                         any active, activating, or deferred activation device is deactivated
7851                         here before starting the new activation request.
7852
7853 2007-09-25  Dan Williams  <dcbw@redhat.com>
7854
7855         Properly re-query secrets from the settings daemon when stuff fails.
7856
7857         * src/nm-device-802-11-wireless.c
7858                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7859                         between Shared Key and Open System auth modes
7860                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7861                    real_act_stage4_ip_config_timeout): clear existing secrets and
7862                         request new ones when something fails due to a suspected wrong key
7863                 - (real_act_stage2_config): fix for new request_new argument to
7864                         nm_manager_get_connection_secrets()
7865
7866         * src/nm-manager.c
7867           src/nm-manager.h
7868                 - (nm_manager_get_connection_secrets): return error status; pass
7869                         new request_new argument on to the settings daemon
7870
7871         * introspection/nm-settings-connection.xml
7872                 - New 'request_new' argument to the GetSecrets call that hints to the
7873                         settings daemon to ask the user for completely new secrets
7874
7875         * libnm-glib/nm-settings.c
7876           libnm-glib/nm-settings.h
7877                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7878                         argument
7879
7880 2007-09-25  Dan Williams  <dcbw@redhat.com>
7881
7882         * libnm-util/nm-connection.c
7883           libnm-util/nm-connection.h
7884                 - (nm_connection_clear_secrets): new function; clear secrets out of
7885                         each NMSetting in an NMConnection
7886
7887         * libnm-util/nm-setting.h
7888           libnm-util/nm-setting.c
7889                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7890                         secrets out of an NMSetting
7891                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7892                    nm_setting_wired_new, nm_setting_wireless_new,
7893                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7894                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7895                         to default handler default_setting_clear_secrets()
7896
7897 2007-09-25  Dan Williams  <dcbw@redhat.com>
7898
7899         * src/nm-activation-request.c
7900           src/nm-activation-request.h
7901                 - (nm_act_request_is_deferred): new function
7902
7903 2007-09-24  Dan Williams  <dcbw@redhat.com>
7904
7905         * src/nm-device-802-11-wireless.c
7906                 - (activation_success_handler): update signal strength immediately
7907                         after activation
7908
7909 2007-09-24  Dan Williams  <dcbw@redhat.com>
7910
7911         * libnm-util/nm-setting.c
7912                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7913
7914 2007-09-24  Dan Williams  <dcbw@redhat.com>
7915
7916         * src/NetworkManagerPolicy.c
7917                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7918                         device by deactivating it because it doesn't have a "best connection".
7919                         Since autoconnect=False connections aren't automatically chosen,
7920                         NM would interrupt activation of such a connection because it
7921                         would never be "best" due to autoconnect=False.
7922
7923 2007-09-24  Dan Williams  <dcbw@redhat.com>
7924
7925         * src/nm-manager.c
7926                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7927                         actually has some time to enter a key before the GetSecrets call
7928                         times out
7929
7930 2007-09-24  Dan Williams  <dcbw@redhat.com>
7931
7932         * introspection/nm-manager.xml
7933           src/nm-manager.c
7934                 - (impl_manager_legacy_state): fix 'state' method call return value
7935
7936 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
7937
7938         * test/Makefile.am: Install nm-tool
7939
7940 2007-09-24  Dan Williams  <dcbw@redhat.com>
7941
7942         Patch from Ross Burton <ross@burtonini.com>
7943
7944         * test/nm-tool.c
7945           callouts/nm-dhcp-client-action.c
7946           src/nm-netlink.c
7947           src/vpn-manager/nm-vpn-connection.c
7948           libnm-glib/libnm-glib-test.c
7949                 - warning fixes
7950
7951 2007-09-24  Dan Williams  <dcbw@redhat.com>
7952
7953         * libnm-util/nm-utils.h
7954           libnm-util/nm-utils.c
7955                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7956                         remove, unused
7957
7958 2007-09-23  Dan Williams  <dcbw@redhat.com>
7959
7960         * vpn-daemons/vpnc/properties/nm-vpnc.c
7961                 - Update for new VPN properties API bits; instead of passing around
7962                         a lot of random things, everything goes into the NMConnection
7963                         object.
7964
7965 2007-09-23  Dan Williams  <dcbw@redhat.com>
7966
7967         * libnm-util/nm-setting.c
7968                 - Correctly dispose of settings objects if creating them from a hash
7969                         table fails
7970
7971 2007-09-23  Dan Williams  <dcbw@redhat.com>
7972
7973         * libnm-util/nm-setting.c
7974                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
7975                         the hash table in a standard manner.  Clients of libnm-util should
7976                         only call g_hash_table_remove_all(), never destroy the hash table
7977                         and recreate it.
7978
7979 2007-09-22  Dan Williams  <dcbw@redhat.com>
7980
7981         * src/nm-device-802-11-wireless.c
7982                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
7983                         real reason to do it so often, and reduces wakeups for clients.
7984
7985 2007-09-21  Dan Williams  <dcbw@redhat.com>
7986
7987         * src/nm-device-802-11-wireless.c
7988                 - (build_supplicant_config): wpa_supplicant requires the option
7989                         key_mgmt=NONE for unencrypted networks
7990                 - (real_act_stage2_config): clarify log message on activation
7991
7992 2007-09-21  Dan Williams  <dcbw@redhat.com>
7993
7994         * test/nm-supplicant-test.c
7995           test/Makefile.am
7996                 - Remove supplicant test binary; no longer applicable
7997
7998 2007-09-21  Dan Williams  <dcbw@redhat.com>
7999
8000         * src/supplicant-manager/nm-supplicant-manager.c
8001                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8002                         activate it on the system bus
8003
8004 2007-09-20  Dan Williams  <dcbw@redhat.com>
8005
8006         * initscript/RedHat/NetworkManager.in
8007                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8008
8009 2007-09-20  Dan Williams  <dcbw@redhat.com>
8010
8011         * src/nm-device.c
8012                 - (nm_device_is_activating): work around a race between auto-activation
8013                         and the user activating the same device that is being auto-activated
8014
8015 2007-09-20  Dan Williams  <dcbw@redhat.com>
8016
8017         * src/nm-device-interface.c
8018                 - (impl_device_activate): until multiple active device support lands,
8019                         ensure only one device can be active at a time
8020
8021 2007-09-20  Dan Williams  <dcbw@redhat.com>
8022
8023         * src/supplicant-manager/nm-supplicant-config.c
8024           src/supplicant-manager/nm-supplicant-config.h
8025                 - (nm_supplicant_config_add_option): hide secrets from system logs
8026
8027 2007-09-20  Dan Williams  <dcbw@redhat.com>
8028
8029         * src/NetworkManagerPolicy.c
8030                 - (nm_policy_device_change_check): re-enable the wireless device change
8031                         checking code; insted of checking for SSIDs, check for the same
8032                         connection instead
8033
8034 2007-09-20  Dan Williams  <dcbw@redhat.com>
8035
8036         * src/nm-device-802-11-wireless.c
8037                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8038                         composite link state when determining when to start the disconnection
8039                         timer; that link state is already based on the supplicant interface's
8040                         status which is exactly what's already being examined, plus the link
8041                         state is a conglomeration of various things that we don't want here
8042
8043 2007-09-20  Dan Williams  <dcbw@redhat.com>
8044
8045         * libnm-glib/nm-access-point.c
8046                 - (handle_property_changed): strength is a UCHAR
8047
8048 2007-09-20  Dan Williams  <dcbw@redhat.com>
8049
8050         * src/supplicant-manager/nm-supplicant-config.c
8051                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8052                         string list keywords too since that's what wpa_supplicant wants
8053
8054 2007-09-20  Dan Williams  <dcbw@redhat.com>
8055
8056         * libnm-util/nm-setting.c
8057                 - (convert_strv_to_slist): dupe the values in the list because since
8058                         the list is a boxed value, it'll get destroyed when it's container
8059                         (like a hash table or whatever) gets destroyed
8060
8061 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8062
8063         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8064         GSList.
8065
8066         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8067
8068         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8069         just use (g_object_set_data_full).
8070
8071         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8072         that NMSettingVPN->routes is a GSList, convert it to char **.
8073         (nm_vpn_connection_ip4_config_get): Free routes when done.
8074         (nm_vpn_connection_activate): Ditto.
8075
8076         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8077         (real_act_stage2_config): Use defined setting names.
8078
8079 2007-09-20  Dan Williams  <dcbw@redhat.com>
8080
8081         * src/nm-device-802-11-wireless.c
8082           src/nm-manager.c
8083           src/nm-manager.h
8084                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8085                         so that the device can be deactivated if secrets are wrong
8086
8087 2007-09-20  Dan Williams  <dcbw@redhat.com>
8088
8089         * introspection/nm-settings-connection.xml
8090           libnm-glib/nm-settings.c
8091           libnm-glib/nm-settings.h
8092                 - Make GetSecrets asynchronous on the server side
8093
8094 2007-09-20  Dan Williams  <dcbw@redhat.com>
8095
8096         * src/nm-manager.h
8097           src/nm-device.c
8098                 - (nm_device_activate): actually check if a given connection
8099                         exists before assuming it doesn't
8100
8101 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8102
8103         * libnm-util/nm-connection.c (register_default_creators): Use defined
8104         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8105
8106         * libnm-util/nm-setting.c: Define property name strings, use them.
8107         Implement NMSettingVPN and NMSettingVPNProperties settings.
8108         Implement NM_S_TYPE_GVALUE_HASH.
8109         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8110         (setting_connection_verify): Rename 'devtype' property to 'type'.
8111
8112         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8113         properties.
8114
8115         * src/vpn-manager/nm-vpn-service.c: Ditto.
8116
8117         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8118
8119         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8120         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8121
8122         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8123         names. NMSettingConnection->devtype got renamed to 'type'.
8124
8125         * src/nm-device-802-3-ethernet.c (find_best_connection):
8126         (real_get_best_connection): Ditto.
8127
8128         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8129
8130         * libnm-glib/nm-vpn-manager.[ch]: Update.
8131
8132 2007-09-19  Dan Williams  <dcbw@redhat.com>
8133
8134         * src/NetworkManagerAP.c
8135           src/NetworkManagerAP.h
8136           introspection/nm-access-point.xml
8137                 - Change strength-changed signal into a properties-changed signal
8138                         for all properties, not just strength.  Export that signal over dbus
8139                         so listeners don't have to poll NM for changes.
8140                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8141                         get exported over D-Bus, so break up the logic and let other bits
8142                         decided when to export the AP
8143                 - (nm_ap_new_from_ap): remove, unused
8144
8145         * src/nm-device-802-11-wireless.c
8146                 - (merge_scanned_ap): only export APs that are actually on the device
8147                         list, not every AP created internally
8148
8149         * libnm-glib/nm-access-point.c
8150           libnm-glib/nm-access-point.h
8151                 - Cache properties internally and only hit DBus when needed.  Get
8152                         property updates from NM signals
8153
8154 2007-09-16  Dan Williams  <dcbw@redhat.com>
8155
8156         * libnm-util/nm-connection.c
8157           libnm-util/nm-connection.h
8158                 - (nm_connection_for_each_setting_value): new function; iterate over
8159                         each setting's value and call a user-provided function with details
8160                         about that value
8161
8162         * libnm-util/nm-setting.c
8163           libnm-util/nm-setting.h
8164                 - (nm_setting_enumerate_values): new function; enumerate the values
8165                         of a specific NMSetting subclass for a user-provided function with
8166                         details about that value
8167                 - Change wep_tx_keyidx to a uint32
8168                 - Create settings value tables for each setting defining their type,
8169                         key name, offset into the NMSetting subclass' structure, and whether
8170                         they are required and/or a secret
8171                 - (nm_setting_populate_from_hash): generic function to populate an
8172                         NMSetting from a GHash table, make all settings use it
8173                 - (nm_setting_hash): generic function to derive a GHashTable from
8174                         an NMSetting object, make all settings use it
8175
8176 2007-09-14  Dan Williams  <dcbw@redhat.com>
8177
8178         Remove unused stuff in libnm-util
8179
8180         * configure.in
8181           libnm-util/Makefile.am
8182           libnm-util/cipher-private.h
8183           libnm-util/cipher-wep-ascii.c
8184           libnm-util/cipher-wep-ascii.h
8185           libnm-util/cipher-wep-hex.c
8186           libnm-util/cipher-wep-hex.h
8187           libnm-util/cipher-wep-passphrase.c
8188           libnm-util/cipher-wep-passphrase.h
8189           libnm-util/cipher-wpa-psk-hex.c
8190           libnm-util/cipher-wpa-psk-hex.h
8191           libnm-util/cipher-wpa-psk-passphrase.c
8192           libnm-util/cipher-wpa-psk-passphrase.h
8193           libnm-util/cipher.c
8194           libnm-util/cipher.h
8195           libnm-util/dbus-helpers.c
8196           libnm-util/dbus-helpers.h
8197           libnm-util/gnome-keyring-md5.c
8198           libnm-util/gnome-keyring-md5.h
8199           libnm-util/sha1.c
8200           libnm-util/sha1.h
8201           src/nm-device-802-11-wireless.c
8202           test/libnm-util/Makefile.am
8203           test/libnm-util/test-ciphers.c
8204           test/libnm-util/test-dbus-helpers.c
8205           test/libnm-util/test-inputs.h
8206                 - Removed
8207
8208 2007-09-14  Dan Williams  <dcbw@redhat.com>
8209
8210         * libnm-util/dbus-method-dispatcher.c
8211           libnm-util/dbus-method-dispatcher.h
8212                 - Remove, unused
8213
8214 2007-09-14  Dan Williams  <dcbw@redhat.com>
8215
8216         Implement deferred activation support in the device class.
8217
8218         * src/nm-device-interface.c
8219           src/nm-device-interface.h
8220                 - (nm_device_interface_activate): take more arguments to support
8221                         deferred activation; callers must pass one of (connection) OR
8222                         (service_name, connection_path)
8223                 - (impl_device_activate): connection validation is punted to the device
8224                         to be able to handle deferred activation.  Yes, this means errors
8225                         don't get returned from the Activate() dbus call, and yes, that
8226                         should be fixed somehow later.
8227
8228         * src/nm-device.c
8229           src/nm-device.h
8230                 - (clear_act_request): clear additional deferred activation stuff too
8231                 - (deferred_activation_timeout_cb): new function; clean up when
8232                         deferred activation times out.
8233                 - (deferred_activation_start_cb): new function; when the connection
8234                         finally becomes available, start device activation
8235                 - (nm_device_activate): attach to the right signals of the activation
8236                         request if we need to defer activation until the connection is valid
8237
8238         * src/NetworkManagerPolicy.c
8239                 - (nm_policy_device_change_check): update for additional arguments
8240                         required for nm_device_interface_activate().  Pass NULL for these
8241                         though because this function already knows exactly which
8242                         NMConnection to use
8243
8244 2007-09-14  Dan Williams  <dcbw@redhat.com>
8245
8246         Implement deferred activation handling in the NMActRequest class.  When a
8247         client wants to activate a device but must create the NMConnection details
8248         on the fly, there likely hasn't been enough time yet for NM to receive the
8249         new connection signal and grab all the connection details.  So the
8250         activation is deferred (and bounded by a timer) for a while, and if the
8251         connection appears within the window, it is activated.
8252
8253         * src/nm-activation-request.c
8254           src/nm-activation-request.h
8255                 - (nm_act_request_class_init): two new signals to support deferred
8256                         activation, to allow the listener to handle both timeout and success
8257                 - (nm_act_request_new_deferred): new function, starts the deferred
8258                         activation timeout handler and listens to the NMManager for
8259                         new-connection signals to notice when the connection comes in
8260
8261 2007-09-14  Dan Williams  <dcbw@redhat.com>
8262
8263         * src/nm-manager.h
8264           src/nm-manager.c
8265                 - (nm_manager_get_connection_service_name,
8266                    nm_manager_get_connection_dbus_path): get details about a connection
8267                         known internally by the NMManager
8268                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8269                         because NMConnection is now a GObject subclass
8270                 - Use constant for the gobject data tag used on NMConnection objects for
8271                         storing the associated DBusGProxy
8272
8273 2007-09-14  Dan Williams  <dcbw@redhat.com>
8274
8275         * utils/Makefile.am
8276           utils/nm-utils.c
8277           utils/nm-utils.h
8278           src/supplicant-manager/Makefile.am
8279           src/dhcp-manager/Makefile.am
8280           src/backends/Makefile.am
8281           src/named-manager/Makefile.am
8282           src/ppp-manager/Makefile.am
8283           src/vpn-manager/Makefile.am
8284           test/libnm-util/Makefile.am
8285           test/test-common/Makefile.am
8286                 - Remove utils/; it was unused
8287
8288 2007-09-13  Dan Williams  <dcbw@redhat.com>
8289
8290         * libnm-glib/nm-vpn-manager.h
8291           libnm-glib/nm-vpn-manager.c
8292                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8293
8294 2007-09-13  Dan Williams  <dcbw@redhat.com>
8295
8296         * src/nm-device-802-3-ethernet.c
8297                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8298                         netlink monitor carrier signals on dispose, not bring down.  The
8299                         carrier signals should be handled over the entire lifetime of the
8300                         device anyway, not created/destroyed on up or down.
8301
8302 2007-09-13  Dan Williams  <dcbw@redhat.com>
8303
8304         * libnm-glib/nm-device.c
8305           libnm-glib/nm-device.h
8306                 - (nm_device_activate): take a connection object path rather than an
8307                         NMConnection because NMConnection isn't exported over D-Bus and
8308                         therefore it dbus-glib can't automatically get an object path from it
8309
8310 2007-09-13  Dan Williams  <dcbw@redhat.com>
8311
8312         * libnm-util/nm-setting.c
8313                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8314
8315 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8316
8317         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8318
8319 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8320
8321         * src/vpn-manager/nm-vpn-connection.[ch]: 
8322         * src/vpn-manager/nm-vpn-manager.[ch]:
8323         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8324         dbus-glib, GObjects, signals etc.
8325
8326         * libnm-glib/nm-vpn-manager.[ch]: 
8327         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8328         so much, rewrite these too.
8329
8330         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8331         the new introspection files.
8332
8333         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8334
8335         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8336         the header with the same name from libnm-utils.
8337
8338         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8339
8340         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8341
8342         * introspection/nm-vpn-plugin.xml: Implement.
8343
8344         * introspection/nm-vpn-connection.xml: Implement.
8345
8346         * introspection/nm-vpn-manager.xml: Implement.
8347
8348         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8349         the named manager argument, it can just as easily get it as the caller.
8350         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8351
8352         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8353
8354         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8355
8356         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8357         libnm-utils.
8358
8359         * libnm-util/nm-connection.c: Ditto.
8360
8361         * src/NetworkManagerMain.h: Remove, it's finally empty.
8362
8363         * configure.in: Remove utils/ from build.
8364
8365         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8366         of hard-coded strings.
8367
8368         * utils/: Move it over to libnm-util.
8369
8370         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8371
8372         * dispatcher-daemon/Makefile.am: Ditto.
8373
8374         * src/Makefile.am: Ditto.
8375
8376 2007-09-12  Dan Williams  <dcbw@redhat.com>
8377
8378         Wireless connections can be made with config data from the applet now.
8379         
8380         Yay.
8381
8382         * src/supplicant-manager/nm-supplicant-config.h
8383           src/supplicant-manager/nm-supplicant-config.c
8384                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8385                 - (nm_supplicant_config_add_setting_wireless,
8386                    nm_supplicant_config_add_setting_wireless_security): new functions;
8387                         add key/value pairs from the settings objects to the supplicant
8388                         config
8389
8390         * src/nm-device-802-11-wireless.c
8391                 - (cull_scan_list): fix check to not prune currently associated AP
8392                 - (build_supplicant_config, real_act_stage2_config): call the functions
8393                         of the NMSupplicantConfig that parse settings objects rather than
8394                         doing it manually here
8395
8396 2007-09-12  Dan Williams  <dcbw@redhat.com>
8397
8398         * src/supplicant-manager/nm-supplicant-interface.c
8399           src/supplicant-manager/nm-supplicant-marshal.list
8400                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8401                         "connection-error" signal arguments should be STRING not CHAR
8402
8403 2007-09-12  Dan Williams  <dcbw@redhat.com>
8404
8405         * src/NetworkManagerUtils.c
8406           src/NetworkManagerUtils.h
8407                 - (nm_utils_hexstr2bin): new function
8408
8409 2007-09-11  Dan Williams  <dcbw@redhat.com>
8410
8411         * src/nm-manager.c
8412                 - (connection_get_settings_cb): emit connection-added signal
8413                 - (connection_removed_cb): uncomment bits for system settings service,
8414                         send connection-removed when appropriate
8415                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8416                         the stack by trying to g_object_set_data() on something that's
8417                         not a GObject; handle case where settings service returns
8418                         empty settings hash table
8419
8420 2007-09-11  Dan Williams  <dcbw@redhat.com>
8421
8422         * src/NetworkManagerPolicy.c
8423                 - (connection_added, connection_removed): trigger device change checks
8424                         on connection changes
8425
8426 2007-09-11  Dan Williams  <dcbw@redhat.com>
8427
8428         * src/nm-activation-request.c
8429                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8430
8431 2007-09-11  Dan Williams  <dcbw@redhat.com>
8432
8433         * src/nm-device-802-11-wireless.c
8434                 - (real_connection_secrets_updated): fix erroneous check
8435
8436 2007-09-11  Dan Williams  <dcbw@redhat.com>
8437
8438         * introspection/nm-device.xml
8439           libnm-glib/nm-device.c
8440           libnm-glib/nm-device.c
8441                 - Fix Activate call argument borkage; Activate takes 3 arguments
8442
8443 2007-09-11  Dan Williams  <dcbw@redhat.com>
8444
8445         * libnm-glib/nm-access-point.c
8446           libnm-glib/nm-access-point.c
8447                 - (nm_access_point_get_frequency): now returns guint32 to match
8448                         property change on 2007-09-10
8449
8450 2007-09-11  Dan Williams  <dcbw@redhat.com>
8451
8452         * src/nm-device-802-11-wireless.c
8453                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8454                         somewhere defines 'index' and I missed this one when I fixed the
8455                         shadow declaration errors earlier
8456
8457 2007-09-11  Dan Williams  <dcbw@redhat.com>
8458
8459         * libnm-util/nm-connection.c
8460                 - (nm_connection_update_secrets, need_secrets_check): move
8461                         802-11-wireless-security need_secrets checks to the setting object
8462                         itself, where it belongs
8463
8464         * libnm-util/nm-setting.c
8465           libnm-util/nm-setting.h
8466                 - (nm_setting_need_secrets): new function
8467                 - (setting_wireless_security_verify,
8468                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8469                 - (setting_wireless_security_need_secrets): mostly copy code over
8470                         from nm-connection.c
8471
8472 2007-09-11  Dan Williams  <dcbw@redhat.com>
8473
8474         * libnm-util/nm-setting.c
8475           libnm-util/nm-setting.h
8476                 - (nm_setting_update_secrets): new function; add a virtual function that
8477                         subclasses can implement to update their secrets
8478                 - (setting_wireless_security_update_secrets): implement that function
8479                         for the 802-11-wireless-security subclass
8480
8481         * libnm-util/nm-connection.c
8482           libnm-util/nm-connection.h
8483                 - (nm_connection_update_secrets): update secrets for a Setting and
8484                         emit a signal on success
8485
8486         * src/nm-manager.c
8487           src/nm-manager.h
8488           src/nm-marshal.list
8489                 - (connection_get_settings_cb): enable system settings bits
8490                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8491                         to request secrets from the settings dbus service and to
8492                         push those secrets to the NMConnection itself
8493
8494         * src/nm-activation-request.c
8495           src/nm-activation-request.h
8496                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8497                         currently being activated, and proxy that signal to other listeners.
8498                         Goes through the activation request because the activation request
8499                         is the thing that manages the lifetime of the NMConnection that's
8500                         being activated.
8501
8502         * src/nm-device-802-11-wireless.c
8503                 - (real_connection_secrets_updated): implement the connection secrets
8504                         updated notification and restart activation when secrets are
8505                         received
8506                 - (real_act_stage2_config): request secrets from the settings dbus
8507                         service if secrets are needed
8508
8509         * src/nm-device.c
8510           src/nm-device.h
8511                 - (clear_act_request, nm_device_activation_cancel,
8512                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8513                         where the activation request is cleared
8514                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8515                         updated secrets signal of activation request and add a function
8516                         that subclasses can override to handle it easily
8517
8518 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8519
8520         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8521         removal of NetworkManagerAPList.
8522
8523 2007-09-10  Dan Williams  <dcbw@redhat.com>
8524
8525         * src/NetworkManagerAP.c
8526           src/NetworkManagerAP.h
8527           introspection/nm-access-point.xml
8528                 - Change 'freq' property to a guint32 instead of a double since we
8529                         weren't using the floating point bits anyway
8530
8531 2007-09-10  Dan Williams  <dcbw@redhat.com>
8532
8533         * NetworkManagerAP.c
8534           NetworkManagerAP.h
8535           NetworkManagerPolicy.c
8536           NetworkManagerSystem.c
8537           NetworkManagerUtils.c
8538           NetworkManagerUtils.h
8539           nm-device-802-11-wireless.c
8540           nm-device-802-3-ethernet.c
8541           nm-hal-manager.c
8542           nm-manager.c
8543           vpn-manager/nm-dbus-vpn.c
8544                 - Warning fixes; casts and removal of unused variables
8545
8546 2007-09-10  Dan Williams  <dcbw@redhat.com>
8547
8548         * include/NetworkManager.h
8549                 - Kill NMNetworkType; AP types don't matter any more
8550
8551         * src/NetworkManagerAPList.c
8552           src/NetworkManagerAPList.h
8553           src/Makefile.am
8554                 - Kill; NMAccessPointList has outlived it's usefulness
8555
8556         * src/NetworkManagerAP.c
8557           src/NetworkManagerAP.h
8558                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8559                         functions; check if an NMConnection object is compatible with the
8560                         settings of this AP
8561                 - (freq_to_channel, channel_to_freq): utility functions for
8562                         channel <-> frequency conversion
8563
8564         * src/nm-device.c
8565           src/nm-device.h
8566                 - (nm_device_get_best_connection): pass the specific object around
8567                          (which might be the object path of a specific AP to connect to).
8568                          The get_best_connection() call should populate this on return
8569                          if needed (wireless does).
8570
8571         * src/nm-device-802-3-ethernet.c
8572                 - (real_get_best_connection): handle specific_object argument
8573
8574         * src/NetworkManager.c
8575           src/NetworkManagerMain.h
8576                 - Remove unused includes
8577
8578         * src/nm-device-802-11-wireless.c
8579           src/nm-device-802-11-wireless.h
8580                 - Convert the ap_list into a GSList from an NMAccessPointList
8581                 - No need for caching the 'activation_ap' since this is now determined
8582                         from the specific_object of the activation request, which is
8583                         populated from the get_best_connection() call or from a user request
8584                 - (nm_device_802_11_wireless_update_bssid): fix warning
8585                 - (get_wireless_capabilities): fix error message format arguments
8586                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8587                 - (find_best_connection, real_get_best_connection): implement
8588                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8589                         move here from NetworkManagerAPList
8590                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8591                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8592                         already verified earlier
8593                 - (real_act_stage2_config): use nm_connection_need_secrets()
8594
8595         * src/NetworkManagerPolicy.c
8596                 - (nm_policy_auto_get_best_device): handle specific objects
8597                 - (create_connection): remove; automatic connection creation functionality
8598                         is handled by the Connection objects
8599                 - (nm_policy_device_change_check): handle specific_object
8600
8601         * libnm-util/nm-connection.c
8602                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8603
8604 2007-09-10  Dan Williams  <dcbw@redhat.com>
8605
8606         * src/nm-manager.c
8607                 - (query_connections): fix uninitialized variable problem that caused
8608                         segfault
8609                 - (nm_manager_add_device): take devices down on startup so that we can
8610                         be assured that nm_device_is_up() won't short-circuit the init
8611                         process.  Hack until the is_up check gets split into two pieces
8612                         that aren't behaviorally confusing.
8613
8614 2007-09-09  Dan Williams  <dcbw@redhat.com>
8615
8616         * introspection/nm-device.xml
8617                 - The 'Activate' method now takes 3 arguments, a service name for the
8618                 settings service (user or system), the object path of the connection
8619                 to activate, and the specific object to activate, if any
8620
8621         * src/nm-device-interface.c
8622                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8623                 Add error bits
8624                 - (impl_device_activate): adapt to new Activate arguments; validate
8625                 the service name and get the Connection object from the NMManager
8626                 before starting to activate the device with the specified connection
8627
8628         * src/nm-device-802-3-ethernet.c
8629                 - (real_get_best_connection): find the best connection, or create a
8630                 default one if no existing connections can be used
8631
8632         * src/NetworkManagerPolicy.c
8633                 - (nm_policy_auto_get_best_device): Get the device's best connection
8634                 and only pick the device if it has one
8635                 - (nm_policy_device_change_check): disable wireless bits for now until
8636                 wireless get_best_connection() can be implemented (replacing "best_ap");
8637                 don't create a default connection here as the device subclass will do
8638                 that if needed
8639
8640         * src/nm-manager.h
8641           src/nm-manager.c
8642                 - (nm_manager_get): make NMManager a singleton and expose the getter
8643                 internally
8644                 - Rework internal NMManager connection handling to use the same
8645                 routines for both the system and user settings services.  Most calls
8646                 take a new NMConnectionType argument specifying either system or user
8647                 connections
8648                 - (nm_manager_get_connection_by_object_path): new function; get a
8649                 connection keyed on its object path
8650
8651         * src/NetworkManager.c
8652                 - (main): use nm_manager_get()
8653
8654 2007-09-09  Dan Williams  <dcbw@redhat.com>
8655
8656         * src/nm-device.h
8657           src/nm-device.c
8658                 - (nm_device_get_best_connection): new function; get best connection
8659                         for the device at that time
8660
8661 2007-09-09  Dan Williams  <dcbw@redhat.com>
8662
8663         * src/nm-device-interface.h
8664                 - Add NMDeviceInterfaceError with an UnknownConnection error
8665
8666 2007-09-09  Dan Williams  <dcbw@redhat.com>
8667
8668         Stupid mistake on my part; object path and interface for settings service
8669         and connection objects can be the same, only the service name must be
8670         different for the system and user settings services.
8671
8672         * include/NetworkManager.h
8673           src/nm-manager.c
8674           introspection/nm-settings-connection.xml
8675           introspection/nm-settings.xml
8676           libnm-glib/nm-settings.c
8677                 - (nm_connection_settings_init, query_user_connections,
8678                    new_connection_cb): Unify NetworkManagerSettings and Connection
8679                    interface name and object path
8680
8681 2007-09-06  Dan Williams  <dcbw@redhat.com>
8682
8683         * libnm-glib/nm-object.c
8684                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8685                    nm_object_get_int_property, nm_object_get_uint_property,
8686                    nm_object_get_boolean_property, nm_object_get_byte_property,
8687                    nm_object_get_double_property, nm_object_get_byte_array_property):
8688                         clear GValues after copying their contents, fixes memory leaks
8689                         after every property access because dbus-glib copies the values
8690                         from the DBusMessage into the GValue already.
8691
8692 2007-09-06  Dan Williams  <dcbw@redhat.com>
8693
8694         * introspection/nm-access-point.xml
8695                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8696                         them to be.  There's some magic property name parsing going on in
8697                         dbus-glib that breaks up property names based on studly-caps and
8698                         puts - between words.
8699
8700         * libnm-glib/nm-access-point.c
8701                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8702                         Fix property names
8703
8704 2007-09-06  Dan Williams  <dcbw@redhat.com>
8705
8706         * src/nm-manager.c
8707                 - (nm_manager_user_connections_destroy): clear the user connections hash
8708                         table, don't destroy it
8709                 - (finalize): only destroy the hash table on NMManager finalization
8710
8711 2007-09-02  Dan Williams  <dcbw@redhat.com>
8712
8713         * include/NetworkManager.h
8714           libnm-glib/nm-settings.c
8715                 - defines for the user settings daemon D-Bus bits
8716
8717         * src/NetworkManager.c
8718                 - Remove stuff that referred to the old NetworkManagerInfo service
8719
8720         * src/vpn-manager/nm-dbus-vpn.h
8721                 - Move old NMI defines to the only place they are used still
8722
8723         * libnm-util/nm-connection.c
8724           libnm-util/nm-connection.h
8725           src/nm-activation-request.c
8726                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8727
8728         * src/nm-manager.c
8729           src/nm-manager.h
8730                 - Get connections and their settings from the user settings daemon
8731                         at the appropriate times
8732
8733 2007-09-02  Dan Williams  <dcbw@redhat.com>
8734
8735         * libnm-util/nm-setting.c
8736                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8737                 - (setting_wireless_hash): set the right value on the item
8738
8739 2007-09-02  Dan Williams  <dcbw@redhat.com>
8740
8741         * test/Makefile.am
8742           test/nminfotest.c
8743                 - Remove, no longer useful
8744
8745 2007-08-30  Dan Williams  <dcbw@redhat.com>
8746
8747         * src/Makefile.am
8748           src/NetworkManagerDbus.c
8749           src/NetworkManagerDbus.h
8750           src/vpn-manager/nm-dbus-vpn.c
8751                 - Remove, no longer necessary.  Move last bits to the only place its
8752                 used, in nm-dbus-vpn.c
8753
8754         * src/NetworkManagerAPList.c
8755           src/nm-device.c
8756           src/NetworkManager.c
8757           src/nm-device-802-11-wireless.c
8758           src/vpn-manager/nm-vpn-manager.c
8759           src/vpn-manager/nm-vpn-service.c
8760           src/NetworkManagerPolicy.c
8761           src/nm-manager.c
8762                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8763                 that was message_is_error()
8764
8765 2007-08-30  Dan Williams  <dcbw@redhat.com>
8766
8767         * libnm-util/sha1.c
8768                 - Include config.h to get defines for endiannes (gnome.org #420216)
8769
8770 2007-08-30  Dan Williams  <dcbw@redhat.com>
8771
8772         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8773
8774         * src/ppp-manager/Makefile.am
8775                 - use -fPIC (gnome.org #471825)
8776
8777 2007-08-29  Dan Williams  <dcbw@redhat.com>
8778
8779         * include/NetworkManager.h
8780                 - Keep NMConnection object path in sync
8781
8782         * libnm-glib/nm-settings.c
8783           libnm-glib/nm-settings.h
8784                 - Break D-Bus object registration out of the init function, because
8785                 every object that's exported over D-Bus needs to use the _same_
8786                 DBusConnection.  Otherwise, each object would get a different object
8787                 path tree and wouldn't be callable.
8788
8789 2007-08-29  Dan Williams  <dcbw@redhat.com>
8790
8791         * libnm-util/nm-setting.h
8792           libnm-util/nm-setting.c
8793           libnm-util/nm-connection.c
8794           src/NetworkManagerPolicy.c
8795                 - 'info' settings object should be 'connection' says the spec
8796                 at NetworkManagerConfigurationSpecification
8797
8798 2007-08-29  Dan Williams  <dcbw@redhat.com>
8799
8800         * libnm-glib/nm-settings.c
8801           libnm-glib/nm-settings.h
8802                 - make the dbus path a property of the object, and autogenerate it.
8803                 It can't be composed of the 'id' field becuase that's not available
8804                 yet during the GObject creation in nm_connection_settings_init()
8805
8806 2007-08-29  Dan Williams  <dcbw@redhat.com>
8807
8808         * introspection/nm-settings-connection.xml
8809           introspection/nm-settings.xml
8810                 - Service name -> NetworkManagerUserSettings because two services
8811                 can't share part of the same path.  I'm not really sure how we'll use
8812                 the same code with the system-settings daemon...
8813
8814 2007-08-28  Dan Williams  <dcbw@redhat.com>
8815
8816         * src/nm-device-interface.c
8817           src/nm-device-interface.h
8818                 - Kill one more bit of NMData
8819
8820 2007-08-28  Dan Williams  <dcbw@redhat.com>
8821
8822         * src/NetworkManagerSystem.h
8823           src/nm-device.c
8824           src/nm-device.h
8825           src/nm-hal-manager.c
8826           src/NetworkManager.c
8827           src/nm-device-802-11-wireless.c
8828           src/nm-hal-manager.h
8829           src/nm-device-802-3-ethernet.c
8830           src/vpn-manager/nm-vpn-service.h
8831           src/vpn-manager/nm-vpn-manager.c
8832           src/vpn-manager/nm-vpn-manager.h
8833           src/vpn-manager/nm-vpn-service.c
8834           src/nm-device-802-11-wireless.h
8835           src/NetworkManagerMain.h
8836           src/nm-device-802-3-ethernet.h
8837           src/backends/NetworkManagerGentoo.c
8838           src/backends/NetworkManagerPaldo.c
8839           src/backends/NetworkManagerFrugalware.c
8840           src/backends/NetworkManagerRedHat.c
8841           src/backends/NetworkManagerSlackware.c
8842           src/backends/NetworkManagerGeneric.c
8843           src/backends/NetworkManagerArch.c
8844           src/backends/NetworkManagerSuSE.c
8845           src/backends/NetworkManagerGeneric.h
8846           src/backends/NetworkManagerDebian.c
8847                 - Kill NMData
8848
8849 2007-08-28  Dan Williams  <dcbw@redhat.com>
8850
8851         * src/NetworkManagerMain.h
8852           src/nm-device-802-11-wireless.c
8853           src/NetworkManager.c
8854                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8855                 for now we should set the 'invalid' property on individual APs, and when
8856                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8857                 that ESS
8858
8859 2007-08-28  Dan Williams  <dcbw@redhat.com>
8860
8861         * src/NetworkManagerAP.c
8862           src/NetworkManagerAP.h
8863                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8864                         'autoconnect' property instead
8865
8866         * src/NetworkManager.c
8867           src/NetworkManagerMain.h
8868           src/NetworkManagerPolicy.c
8869           src/NetworkManagerPolicy.h
8870                 - Remove the 'allowed_ap_list', which should be replaced by 
8871                         NMConnection/NMSettings instead, since _those_ are the allowed
8872                         things that NM can connect to
8873
8874         * src/nm-device-802-11-wireless.c
8875                 - Remove both allowed_ap_list usage and 'fallback' checking
8876
8877 2007-08-28  Dan Williams  <dcbw@redhat.com>
8878
8879         * src/nm-device.c
8880           src/named-manager/nm-named-manager.c
8881           src/named-manager/nm-named-manager.h
8882           src/NetworkManager.c
8883           src/vpn-manager/nm-vpn-manager.c
8884           src/NetworkManagerMain.h
8885           src/NetworkManagerSystem.c
8886                 - Remove the named-manager object from NMData structure in preparation
8887                 for NMData's timely death.  Make the NMNamedManager the singleton that
8888                 it really is
8889
8890 2007-08-28  Dan Williams  <dcbw@redhat.com>
8891
8892         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8893         each AP's capabilities, and by NMConnection/NMSettings objects for user
8894         defined connections.
8895
8896         * include/NetworkManager.h
8897                 - Redefine 802.11 security properties.  There are now device capabilities
8898                         and AP flags and AP security flags.  It was way to unclear before.
8899
8900         * src/Makefile.am
8901           src/nm-ap-security-leap.h
8902           src/nm-ap-security-leap.c
8903           src/nm-ap-security-wpa-eap.c
8904           src/nm-ap-security-wpa-eap.h
8905           src/nm-ap-security-private.h
8906           src/nm-ap-security-wpa-psk.c
8907           src/nm-ap-security-wpa-psk.h
8908           src/nm-ap-security-wep.c
8909           src/nm-ap-security-wep.h
8910           src/nm-ap-security.c
8911           src/nm-ap-security.h
8912                 - Removed, to be replaced with NMConnection/NMSettings objects
8913
8914         * src/nm-dbus-nmi.c
8915           src/nm-dbus-nmi.h
8916                 - Removed, to be replaced by code that talks to the new info daemon
8917                         interface and gets NMConnection/NMSettings objects
8918
8919         * src/backends/NetworkManagerSuSE.c
8920                 - Remove usage of NMAPSecurity; should be replaced by a system-level
8921                         info-daemon that does the same thing but talks the new info-daemon
8922                         D-Bus interface
8923
8924         * src/NetworkManagerAP.h
8925           src/NetworkManagerAP.c
8926           src/NetworkManagerAPList.c
8927           libnm-glib/libnm-glib-test.c
8928                 - Remove usage of NMAPSecurity objects and adjust to new flags for
8929                         WPA/RSN
8930
8931         * libnm-glib/nm-access-point.c
8932           libnm-glib/nm-access-point.h
8933           introspection/nm-access-point.xml
8934           test/nm-tool.c
8935                 - Adjust to new flags for AP security
8936
8937         * utils/nm-utils.c
8938           utils/nm-utils.h
8939           src/vpn-manager/nm-dbus-vpn.c
8940                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8941                         stuff which is the only place it's used
8942
8943         * src/nm-device-interface.c
8944           src/nm-device-interface.h
8945           introspection/nm-device.xml
8946           src/nm-activation-request.c
8947           src/nm-activation-request.h
8948           src/nm-device.c
8949                 - Add a new 'specific_object' argument that hints to NM what actual
8950                         AP or other device-specific thing the connection should apply to.
8951                         NMConnection objects can apply to more than one actual device/AP.
8952
8953         * libnm-util/nm-connection.c
8954         * libnm-util/nm-connection.h
8955                 - Add 'have_secrets" call stubs
8956
8957         * libnm-util/cipher.h
8958                 - Move NM_AUTH_TYPE_* defines here for now
8959
8960         * src/nm-device-802-11-wireless.c
8961                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8962                         NMSettings objects
8963
8964         * src/NetworkManagerDbus.c
8965         * src/NetworkManagerPolicy.c
8966                 - Remove usage of update_allowed_networks, should be pushing data in
8967                         a different manner
8968
8969 2007-08-27  Tambet Ingo  <tambet@gmail.com>
8970
8971         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
8972         dbus-glib frees it when the call is done.
8973
8974 2007-08-26  Dan Williams  <dcbw@redhat.com>
8975
8976         * introspection/nm-device.xml
8977                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
8978
8979 2007-08-26  Dan Williams  <dcbw@redhat.com>
8980
8981         * src/nm-device-802-3-ethernet.c
8982                 - (constructor): move connection of interface-connected/disconnected
8983                         signals here from real_bring_up().  Should be listening to netlink
8984                         for carrier events no matter what the initial state of the device
8985                         is.
8986
8987 2007-08-26  Dan Williams  <dcbw@redhat.com>
8988
8989         * src/nm-netlink-monitor.c
8990                 - (nm_netlink_monitor_class_init): fix marshalling types for
8991                         interface-connected/interface-disconnected
8992                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
8993                         check
8994
8995 2007-08-26  Dan Williams  <dcbw@redhat.com>
8996
8997         Convert to using interface indexes as the primary method of identifying
8998         devices inside NetworkManager.  Indexes are (?) stable, but devices can
8999         be renamed at any time.  Device object paths now refer to the device
9000         index rather than the name, and you can map those two manually if you like
9001         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9002         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9003         to use interface indexes rather than names.
9004
9005 2007-08-26  Dan Williams  <dcbw@redhat.com>
9006
9007         * src/nm-netlink-monitor.h
9008                 - Remove one last bit of wireless-event signal
9009
9010 2007-08-26  Dan Williams  <dcbw@redhat.com>
9011
9012         * src/nm-netlink-monitor.c
9013                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9014                         don't need the 'wireless-event' signal anymore since that's all
9015                         handled by wpa_supplicant
9016
9017 2007-08-25  Dan Williams  <dcbw@redhat.com>
9018
9019         It's 2007. Remove support for drivers that don't support wireless scanning.
9020
9021         * test/nm-tool.c
9022           include/NetworkManager.h
9023           src/NetworkManagerUtils.c
9024           src/NetworkManagerPolicy.c
9025           src/nm-device-802-11-wireless.c
9026                 - Remove special handling for non-scanning devices and mark them
9027                         as unsupported/unhandled
9028
9029 2007-08-20  Dan Williams  <dcbw@redhat.com>
9030
9031         * src/nm-device-802-11-wireless.c
9032           src/nm-device-802-3-ethernet.c
9033                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9034                         because when the card is pulled or the module removed, the device
9035                         is already !IFF_UP and then device-specific cleanup (removing
9036                         the supplicant interface, periodic checks, etc) never gets done
9037
9038 2007-08-20  Dan Williams  <dcbw@redhat.com>
9039
9040         * src/nm-manager.c
9041                 - (nm_manager_remove_device): bring device down before disconnecting
9042                         signal handlers, so that the 'state' signal will get broadcast when
9043                         the device enters the DOWN state
9044                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9045                         of states that cause the NMManager to recheck its state
9046
9047 2007-08-20  Dan Williams  <dcbw@redhat.com>
9048
9049         * src/supplicant-manager/nm-supplicant-interface.c
9050                 - (interface_disconnect_done): don't try to dispose of the net proxy
9051                         when it may already have been disposed of
9052
9053 2007-08-20  Dan Williams  <dcbw@redhat.com>
9054
9055         * src/nm-device-802-11-wireless.c
9056                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9057                         the SSID isn't available; this can happen when the card is pulled
9058                         or the module unloaded, during the post-removal deactivation
9059                         paths, when the ioctl returns ENODEV
9060
9061 2007-08-20  Dan Williams  <dcbw@redhat.com>
9062
9063         * src/nm-device-802-11-wireless.c
9064                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9065                         frequency, and mode match.  Applets are now responsible for grouping
9066                         access points
9067
9068 2007-08-20  Dan Williams  <dcbw@redhat.com>
9069
9070         * src/NetworkManagerAP.c
9071         * src/NetworkManagerAP.h
9072                 - (nm_ap_print_self): new function
9073
9074         * src/NetworkManagerAPList.c
9075                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9076                         to do it all here
9077         
9078 2007-08-17  Dan Williams  <dcbw@redhat.com>
9079
9080         * src/nm-device-802-3-ethernet.c
9081                 - (real_bring_down): don't try to dispose of stuff that might not
9082                         exist
9083
9084 2007-08-17  Dan Williams  <dcbw@redhat.com>
9085
9086         * src/NetworkManagerAP.c
9087                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9088                         applet.  This ensures that the case between the seen-bssids and
9089                         the bssids reported by the driver match.
9090
9091 2007-08-17  Dan Williams  <dcbw@redhat.com>
9092
9093         * src/nm-device-802-11-wireless.c
9094                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9095                         we dispose of the interface proxy in NM
9096
9097 2007-08-16  Dan Williams  <dcbw@redhat.com>
9098
9099         * libnm-glib/nm-client.c
9100                 - (nm_client_init): create VPN connections hash table with key free
9101                         function
9102                 - (proxy_vpn_connection_added): VPN connections hash table key should
9103                         be a duplicated value, not the same memory address as the VPN
9104                         connection name.  This is because the VPN connection name could
9105                         potentially be freed and set to something else during the lifetime
9106                         of the NMVPNConnection object.
9107
9108 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9109
9110         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9111         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9112         with the file descriptors. Send a child setup function to change the pppd
9113         progress group.
9114
9115 2007-08-15  Dan Williams  <dcbw@redhat.com>
9116
9117         * src/supplicant-manager/nm-supplicant-interface.c
9118                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9119                         an interface
9120                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9121                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9122                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9123                         the interface internally
9124
9125 2007-08-15  Dan Williams  <dcbw@redhat.com>
9126
9127         * src/nm-device-802-11-wireless.c
9128                 - (real_bring_down): move most of this function into device_cleanup()
9129                         so that it can be called from elsewhere
9130                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9131                         and stuff on dispose.  These would normally get cleaned up when
9132                         the device is marked down and deactivated, but when the device is
9133                         hot-unplugged, it's already down and real_down() never gets run
9134
9135 2007-08-15  Dan Williams  <dcbw@redhat.com>
9136
9137         * src/nm-dbus-nmi.c
9138                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9139                         caused a reference leak on device for which NM requested a key
9140
9141 2007-08-15  Dan Williams  <dcbw@redhat.com>
9142
9143         * libnm-glib/nm-client.c
9144                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9145
9146 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9147
9148         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9149         nothing is using it at the moment, but it'll be all useful and stuff later on.
9150
9151         * libnm-util/nm-setting.h: Define NMSettingPPP.
9152
9153         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9154
9155         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9156
9157         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9158
9159         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9160
9161         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9162
9163 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9164
9165         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9166
9167         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9168         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9169         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9170         name and different arguments and it won't compile anymore. To fix this, we now have
9171         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9172         that is new API + compatibility API and used by the daemon. The other, 
9173         nm-manager-client.xml is only the new API without compatibility bits and is used
9174         by libnm-glib to make it compile.
9175
9176         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9177
9178         * src/nm-manager.c (impl_manager_legacy_sleep)
9179         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9180         interface functions for 0.6 branch.
9181
9182 2007-08-14  Dan Williams  <dcbw@redhat.com>
9183
9184         * src/NetworkManagerAP.c
9185                 - (nm_ap_new_from_properties): fix mistaken check of return value
9186                         from memcmp (should expect 0)
9187
9188 2007-08-14  Dan Williams  <dcbw@redhat.com>
9189
9190         (force-commit to fix wrong comment and partial commit of r2685; this
9191          commit actually applies to r2685)
9192
9193         * src/NetworkManagerUtils.c
9194                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9195                         ignores trailing nulls in the SSID to work around mismatches in
9196                         expectations between WEXT and what the info-daemon passes back.  The
9197                         info-daemon would pass back the correct length, but due to the
9198                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9199                         the device would always have an SSID + 1 depending on what versions
9200                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9201                         visible by just quitting the applet and relaunching, which caused
9202                         NM to reassociated to the same network over again when reloading
9203                         the save networks.
9204
9205         * src/NetworkManagerPolicy.c
9206           src/NetworkManagerUtils.h
9207           src/nm-device-802-11-wireless.c
9208                 - Update for new parameter to nm_utils_same_ssid()
9209
9210 2007-08-14  Dan Williams  <dcbw@redhat.com>
9211
9212         * src/NetworkManagerAP.c
9213                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9214                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9215                         setting the BSSID to all 0s.  That confused the heck out of NM,
9216                         plus it's useless and probably out-of-spec.
9217
9218 2007-08-14  Dan Williams  <dcbw@redhat.com>
9219
9220         * callouts/Makefile.am
9221           src/dhcp-manager/nm-dhcp-manager.c
9222           src/dhcp-manager/nm-dhcp-manager.h
9223           src/dhcp-manager/Makefile.am
9224                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9225
9226 2007-08-14  Dan Williams  <dcbw@redhat.com>
9227
9228         * src/dhcp-manager/nm-dhcp-manager.c
9229                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9230                         it's really needed, get rid of unused xtra_args parameter
9231
9232 2007-08-14  Dan Williams  <dcbw@redhat.com>
9233
9234         * include/NetworkManagerVPN.h
9235           src/vpn-manager/nm-dbus-vpn.c
9236           src/vpn-manager/nm-dbus-vpn.h
9237           src/vpn-manager/nm-vpn-act-request.c
9238           src/vpn-manager/nm-vpn-act-request.h
9239           src/vpn-manager/nm-vpn-service.c
9240           src/vpn-manager/nm-vpn-service.h
9241           libnm-glib/nm-vpn-connection.c
9242           libnm-glib/nm-vpn-connection.h
9243           libnm-glib/nm-client.h
9244                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9245                         NMVPNServiceState to clarify what they apply to
9246                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9247                         NMVPNActStage -> NMVPNConnectionState for the same reason
9248
9249         * libnm-glib/nm-client.c
9250                 - Constant + type renames from above
9251                 - Properly handle NameOwnerChanged/manager_running signals
9252                         for NM service; only emit when state really changes
9253                 - Use hash tables correctly so that the key (which was previously owned
9254                         by the D-Bus message) now has the same lifetime as the value, since
9255                         the key is now taken from the the NMVPNConnection itself.  This
9256                         really fixes the double-VPN names in the applet
9257
9258 2007-08-13  Dan Williams  <dcbw@redhat.com>
9259
9260         Patch from Michael Biebl <biebl@debian.org>
9261
9262         * po/POTFILES.in
9263           po/POTFILES.skip
9264                 - Update for vpn-properties move
9265
9266 2007-08-13  Dan Williams  <dcbw@redhat.com>
9267
9268         * libnm-glib/nm-client.c
9269                 - Convert internal VPN connection tracking from a list to a hash table
9270                         to easily avoid duplicates
9271                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9272                         must be freed by the caller, like nm_client_get_devices()
9273                 - (nm_client_remove_vpn_connection): don't let the removal signal
9274                         leak through for NMVPNConnection objects that aren't actually
9275                         tracked.
9276                 - (manager_running): throw away VPN connection list when NM goes away,
9277                         like with the device list
9278
9279 2007-08-13  Dan Williams  <dcbw@redhat.com>
9280
9281         * src/dhcp-manager/nm-dhcp-manager.c
9282                 - Stop any dhclient instance that might be already running for a
9283                         particular interface before starting an NM spawned dhclient.  Fixes
9284                         dhclient processes left over if NM crashes, stuff like that.
9285
9286 2007-08-13  Dan Williams  <dcbw@redhat.com>
9287
9288         * src/NetworkManagerAP.c
9289                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9290                         when the AP wasn't broadcasting it's SSID
9291
9292 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9293
9294         * include/NetworkManager.h: added DBus path for connection settings.
9295
9296         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9297         nm_connection_settings_signal_updated,
9298         nm_connection_settings_signal_removed): new functions to wrap the
9299         objects' signals.
9300         (nm_connection_settings_init): register GObject with DBus.
9301         (nm_connection_settings_get_dbus_object_path): new function.
9302
9303         * libnm-glib/Makefile.am: added libnmutil to link flags.
9304
9305 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9306
9307         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9308
9309         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9310         libnm_glib directory got merged with libnm-glib/.
9311
9312         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9313
9314         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9315         Rename the library from libnm-glib to libnm_glib to maintain the library API
9316         compatibility with 0.6 branch.
9317
9318         * Makefile.am: Remove gnome/ SUBDIR.
9319
9320         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9321
9322         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9323
9324         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9325
9326         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9327         anymore.
9328         Remove checks for wpa_supplicant binary, it's used over dbus.
9329         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9330
9331         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9332         Link the binaries with libnm_glib.la.
9333
9334 2007-08-12  Dan Williams  <dcbw@redhat.com>
9335
9336         * src/NetworkManagerPolicy.c
9337                 - (nm_policy_device_change_check): fix policy to deactivate old device
9338                         before activating new one, at least until the multiple active
9339                         device support lands
9340
9341 2007-08-12  Dan Williams  <dcbw@redhat.com>
9342
9343         * src/NetworkManagerPolicy.c
9344                 - (nm_policy_new): hook up to connection-added / connection-removed
9345                         signals instead of connections-changed
9346
9347 2007-08-12  Dan Williams  <dcbw@redhat.com>
9348
9349         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9350         Robert Frank <rfrank@redhat.com>
9351
9352         * src/dhcp-manager/nm-dhcp-manager.c
9353           src/dhcp-manager/nm-dhcp-manager.c
9354           src/nm-device.c
9355                 - Spawn and communicate with dhclient directly, through means of a
9356                 custom dhclient callout script.  Process callout D-Bus signals
9357                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9358                 sent via gobject signals rather than being driven by the dhcp manager
9359                 directly.
9360
9361 2007-08-12  Dan Williams  <dcbw@redhat.com>
9362
9363         * callouts/nm-dhcp-client-action.c
9364                 - (build_message): ignore non-DHCP-related environment variables
9365
9366 2007-08-12  Dan Williams  <dcbw@redhat.com>
9367
9368         * Makefile.am
9369           configure.in
9370           callouts/Makefile.am
9371           callouts/nm-dhcp-client-action.c
9372           callouts/nm-dhcp-client.conf
9373                 - Add dhclient-executed callout that takes the place of dhclient-script
9374                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9375                 NM then listens for
9376
9377 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9378
9379         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9380
9381         * libnm-glib/nm-client.h:
9382         * libnm-glib/nm-object.h:
9383         * libnm-glib/nm-vpn-connection.h:
9384         * libnm-glib/nm-settings.h:
9385         * libnm-glib/nm-device.h:
9386         * libnm-glib/nm-ip4-config.h:
9387         * libnm-glib/nm-access-point.h:
9388         * libnm-glib/nm-device-802-3-ethernet.h:
9389         * libnm-util/nm-setting.h: 
9390         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9391
9392         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9393
9394         * libnm-glib/nm-access-point.c: Strength has type char.
9395
9396         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9397         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9398
9399         * introspection/nm-access-point.xml: Strength property is char, not int.
9400
9401         * src/NetworkManagerAP.c (set_property): Set strength from char.
9402         (get_property): Handle hidden APs (with empty SSID).
9403         Get strength value from char.
9404         (nm_ap_class_init): Strength property has char type.
9405
9406 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9407
9408         * introspection/Makefile.am:
9409         * introspection/nm-settings.xml:
9410         * introspection/nm-settings-connection.xml: added Settings interfaces.
9411
9412         * libnm-glib/nm-settings.[ch]:
9413         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9414         containing the DBus implementation.
9415
9416 2007-07-26  Dan Williams  <dcbw@redhat.com>
9417
9418         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9419
9420         * src/NetworkManagerSystem.c
9421                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9422                         same subnet (#437396)
9423
9424 2007-07-26  Dan Williams  <dcbw@redhat.com>
9425
9426         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9427
9428         * gnome/vpn-properties/nm-vpn-properties.c
9429                 - Fix translatable strings (#445865)
9430
9431 2007-07-26  Dan Williams  <dcbw@redhat.com>
9432
9433         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9434
9435         * configure.in
9436                 - Remove useless junk (#412530)
9437
9438 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9439
9440         Patch from Robert Buchholz <rbu@gentoo.org>:
9441
9442         * configure.in:
9443         * Makefile.am:
9444         * introspection/Makefile.am:
9445         Make make distcheck work again.
9446
9447 2007-06-27  Dan Williams  <dcbw@redhat.com>
9448
9449         * Make SSIDs GByteArrays everywhere
9450         * Rename "essid" -> "ssid" everywhere that's appropriate
9451         * Refcount activation_ap member of the 802.11 wireless device class
9452
9453 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9454
9455         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9456
9457 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9458
9459         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9460         that we got a new AP when we just update existing AP properties.
9461
9462 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9463
9464         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9465
9466         * nm-utils.[ch]: Remove.
9467
9468         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9469         objects for easy property access and dbus connection handling.
9470
9471         * libnm-glib/nm-client.c: Derive from NMObject.
9472
9473         * libnm-glib/nm-device.c: Ditto.
9474
9475         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9476
9477         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9478
9479         * libnm-glib/nm-ip4-config.c: Ditto.
9480
9481         * libnm-glib/nm-access-point.c: Ditto.
9482
9483         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9484         comparision. Currently used by the device activation code to determine if the new
9485         activation is the same as the old one.
9486
9487         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9488         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9489         able to ask password for the AP.
9490
9491         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9492         up if the device is already connected, tear down it's connection (if it isn't the
9493         same as new one) and start the activation.
9494
9495         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9496
9497         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9498         the issue where all APs are always listed as encrypted.
9499
9500         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9501         their own registered paths.
9502
9503         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9504         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9505
9506 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9507
9508         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9509         (0 & 0 == 0, doh)
9510
9511         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9512         because the handling code will cause the next state change and signal listeners
9513         get the signals in wrong order.
9514
9515         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9516         correctly in case of pending activation.
9517
9518         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9519         Convert the essid byte array to string correctly, including the terminating NULL.
9520
9521         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9522         mode with correct types.
9523
9524         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9525         constructed info to dbus call instead of the activation request.
9526
9527 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9528
9529         Patch from Christian Persch <chpe@gnome.org>
9530
9531         * libnm-glib/Makefile.am:
9532         * dispatcher-daemon/Makefile.am:
9533         Use the correct variables, the correct paths, and correct ordering. (446315)
9534
9535 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9536
9537         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9538         argument. The activation request is easy to retrieve.
9539
9540         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9541         just to be a convenient location for devices to store random stuff.
9542
9543 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9544
9545         Patch from Alex Smith <alex@alex-smith.me.uk>
9546
9547         * src/backends/NetworkManagerFrugalware.c:
9548         Update the FrugalWare backend to fix a few segfaults. (#392642)
9549
9550 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9551
9552         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9553
9554         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9555         setting.
9556         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9557
9558 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9559
9560         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9561         automagically.
9562         Implement NMSettingIP4Config.
9563         Finish NMSettingWired by adding all known members.
9564         (setting_wired_verify): Implement.
9565         Finish NMSettingWireless by adding all known members.
9566         (setting_wireless_verify): Implement.
9567
9568         * libnm-util/nm-connection.c: Register "ipv4" setting.
9569         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9570         dump function, we can introspect the GHashTable which is used for sending connections
9571         over dbus.
9572
9573         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9574         Take GByteArray for essid, it's really not a string.
9575
9576         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9577         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9578         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9579         means overriding the values we got from DHCP.
9580         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9581         (nm_device_deactivate_quickly): Ditto.
9582
9583         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9584         for debugging.
9585
9586 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9587
9588         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9589         NMConnection.
9590
9591         * libnm-glib/nm-device-802-11-wireless.c:
9592         (nm_device_802_3_ethernet_activate): Remove.
9593
9594         * libnm-glib/nm-device-802-3-ethernet.c
9595         (nm_device_802_3_ethernet_activate): Remove.
9596
9597         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9598
9599         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9600         NMConnection.
9601
9602         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9603         activation has started.
9604         Implement the new activation using NMConnection.
9605
9606         * src/nm-activation-request.c: Store a generic connection object instead
9607         of a wireless-specific AP.
9608
9609         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9610         on device type, create a device specific connection object suitable for
9611         device activation.
9612
9613         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9614         specific check to validate the connection and on success start the
9615         activation.
9616
9617         * src/nm-device-interface.h: Add a activate virtual function to the
9618         interface definition.
9619
9620         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9621         (impl_device_activate): Implement.
9622
9623         * introspection/nm-device.xml: Add a generic device activation interface
9624         that accepts an abstract NMConnection structure that has device-specific
9625         information in it.
9626
9627         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9628         activation interface.
9629
9630         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9631         activation interface.
9632
9633         * libnm-util/nm-connection.c: 
9634         * libnm-util/nm-connection.h: 
9635         * libnm-util/nm-setting.c:
9636         * libnm-util/nm-setting.h: Add.
9637
9638         * libnm-util/Makefile.am: Build the added files.
9639
9640         * src/nm-dbus-manager.c
9641         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9642         DbusConnection argument from 'name-owner-changed' signal. The manager
9643         is already passed as a first argument to the signal and the connection
9644         is easy enough to get from it.
9645
9646         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9647         Update the signature of the function.
9648
9649         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9650         Ditto.
9651
9652         * src/NetworkManager.c: Ditto.
9653
9654         * src/named-manager/nm-named-manager.c
9655         (nm_named_manager_name_owner_changed): Ditto.
9656
9657         * src/supplicant-manager/nm-supplicant-manager.c
9658         (nm_supplicant_manager_name_owner_changed): Ditto.
9659
9660         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9661
9662         * src/dhcp-manager/nm-dhcp-manager.c
9663         (nm_dhcp_manager_name_owner_changed): Ditto.
9664
9665         * src/nm-hal-manager.c: Add a list of device detectors and creators
9666         to make it easier to add new devices. Each device type has it's own
9667         entry in the table so adding new device types is only a matter of
9668         implementing a couple of functions, one for device detection and the
9669         other for device creation.
9670
9671 2007-04-25  Dan Williams  <dcbw@redhat.com>
9672
9673         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9674                 (gnome.org #432401)
9675
9676 2007-03-30  Dan Williams  <dcbw@redhat.com>
9677
9678         * src/NetworkManagerSystem.c
9679                 - (nm_system_device_set_ip4_route): clean up and fix argument
9680                         to nm_dev_sock_open()
9681
9682 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9683
9684         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9685         data to correct types instead of always using string.
9686
9687         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9688         _not_ have NM_802_11_CAP_PROTO_NONE.
9689         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9690         is not set.
9691
9692 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9693
9694         * libnm-glib/Makefile.am: Fix the build issue.
9695
9696 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9697
9698         * libnm-glib/nm-vpn-connection.h: 
9699         * libnm-glib/nm-vpn-connection.c: Implement.
9700
9701         * libnm-glib/nm-client.c: Add VPN support.
9702
9703         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9704         handler for VPN.
9705
9706         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9707         on DBUS again.
9708
9709 2007-03-26  Dan Williams  <dcbw@redhat.com>
9710
9711         * src/NetworkManagerAPList.c
9712         * src/nm-device-802-11-wireless.c
9713         * src/NetworkManagerAP.c:
9714                 - Store last seen as glong instead of GTimeVal.
9715                 - Fix the upper bound of capabilities, it's a bitfield.
9716
9717 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9718
9719         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9720
9721         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9722         "manager-running" signal that notifies the appearance/disappearance of NM.
9723         (nm_client_sleep): Implement.
9724
9725         * libnm-glib/nm-device.c:
9726         * libnm-glib/nm-device-802-11-wireless.c: 
9727         * libnm-glib/nm-device-802-3-ethernet.c: 
9728
9729         Don't inherit from DBusGProxy, add a proxy to private
9730         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9731         for anything but their own dbus interface. DBusGProxy objects support only one
9732         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9733         interface. The nice side effect of this change is that we do not create a new
9734         DBusGProxy object for each property access.
9735
9736 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9737
9738         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9739         with zeroes before passing them to functions - the functions never do that and
9740         reading the values back may produce wrong values.
9741         (real_bring_up): Store the signal handler id ...
9742         (real_bring_down): ... So that it can be removed here.
9743         Disconnect the supplicant interface here as well.
9744         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9745         from the access point instead of old $device/Networks/$essid.
9746
9747         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9748         device state is connected (instead of just having link/carrier).
9749
9750         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9751         already easily accessible through the device.
9752
9753         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9754         store it within the object.
9755         (nm_ap_get_dbus_path): Export it to public as well.
9756
9757         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9758         of the singleton.
9759
9760 2007-03-12  Dan Williams  <dcbw@redhat.com>
9761
9762         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9763         for non-carrier-detect capable devices, and useless for carrier-detect
9764         devices since we get notifications from netlink about carrier status anyway.
9765
9766         * src/nm-device-802-3-ethernet.c
9767                 - remove 'link_source_id' member from private data
9768                 - (probe_link): remove and collapse into real_update_link()
9769                 - (nm_device_802_3_periodic_update): remove
9770                 - (real_is_up): check for sup_iface rather than link_source_id
9771                 - (real_bring_up): return gboolean for success/fail; require that
9772                         sup_iface be valid for device bringup to succeed
9773                 - (real_bring_down): zero out link signal ids
9774
9775         * src/nm-device.c
9776                 - (nm_device_activate_stage2_device_config): fail activation if device
9777                         bringup fails
9778                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9779                         fails
9780                 - (nm_device_bring_up): return success/fail
9781
9782         * src/nm-device.h
9783                 - bring_up now returns success/fail
9784
9785         * src/nm-device-802-11-wireless.c
9786                 - (real_bring_up): return success from bringup
9787
9788 2007-03-07  Dan Williams  <dcbw@redhat.com>
9789
9790         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9791         * src/nm-ap-security-wpa-psk.c
9792                 - (real_write_supplicant_config): work with PSKs that may contain
9793                         zeros in the binary format rather than treating it as a string
9794
9795 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9796
9797         * libnm-glib/nm-device-802-11-wireless.c
9798         (nm_device_802_11_wireless_get_capabilities): Implement.
9799
9800         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9801
9802         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9803
9804         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9805         reply only if it's not NULL. Not sure why this started happening right now.
9806
9807         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9808         code paths for when devices get removed on shutdown or when a device is just
9809         removed.
9810         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9811         gets freed so any signal from a device (disconnected for instance) would invoke
9812         NMState update which would crash.
9813         (nm_manager_remove_device): Bring the device down when it gets removed.
9814
9815         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9816         the unused dev_type.
9817
9818         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9819         reference to the added device, NMManager will own it (if it wants).
9820
9821         * test/nm-tool.c: Rewrite using libnm-glib.
9822
9823         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9824         We get signalled when it changes.
9825
9826         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9827         when it changes.
9828
9829         * libnm-glib/nm-device.c: Cache the device state property.
9830
9831         * libnm-glib/nm-access-point.c: Cache the strength property.
9832
9833         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9834         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9835         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9836         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9837         the device is down, activating, or activated (in case of A/B/G cards).
9838         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9839         it's all done through supplicant now.
9840
9841         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9842         counting issues with pending calls which caused leaks and crashes when
9843         interface was removed (now that the interface actually gets removed).
9844
9845         * src/nm-call-store.c: Make a copy of data before running a foreach
9846         with user callback on it - The most common usage pattern is to cancel
9847         (and thus remove) all pending calls with foreach which would modify
9848         the hash table we're iterating over.
9849
9850         * src/nm-manager.c: When a device is added, make sure it is "up". When
9851         it's removed or disabled due to disabling wireless or networking, bring
9852         it down.
9853
9854         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9855
9856         * src/nm-device-802-11-wireless.c: 
9857         * src/nm-device-802-3-ethernet.c: 
9858         * src/nm-device.c:
9859                 - Remove "init" virtual function, all gobjects have a place for that
9860                   already (constructor).
9861                 - Replace "start" virtual function with "bring_up", devices can be
9862                   brought up and down more than just on startup now.
9863                 - Add "is_up" virtual function.
9864                 - Implement one way to bring a device down instead of previous 4 different
9865                   ways, each of witch did something different.
9866
9867         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9868         all it needs is the device interface.
9869
9870         Get rid of NMData.dev_list (3 members to go).
9871         Get rif of NMData in a lot of places.
9872
9873         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9874
9875 2007-02-23  Dan Williams  <dcbw@redhat.com>
9876
9877         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9878
9879         * src/NetworkManagerAP.c
9880                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9881                         OR-ing rather than AND-ing
9882
9883 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9884
9885         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9886         "network-removed" signals.
9887
9888         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9889
9890         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9891         when receiving the signal from dbus.
9892
9893         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9894         property.
9895
9896         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9897         deactivation of the previously activated device working again.
9898
9899         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9900         and setter.
9901
9902         * src/nm-device.c (nm_device_is_activated): Remove.
9903         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9904
9905         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9906         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9907         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9908         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9909         Remove NMNetworkStatus and NMActStage enums.
9910
9911 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9912
9913         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9914         Handle device state changes and disconnect VPN if it's device deactivates.
9915
9916         * src/nm-dbus-nm.c: 
9917         * src/nm-dbus-nm.h: 
9918         * src/nm-dbus-device.c: 
9919         * src/nm-dbus-device.c: 
9920         * src/nm-dbus-net.c: 
9921         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9922
9923         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9924
9925         * src/nm-device.c (nm_device_get_by_udi):
9926         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9927         implemented in the correct location (NMManager).
9928         Rip out all the test_device stuff.
9929
9930         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9931         failure handlers, it's all done by NMDevice already.
9932
9933         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9934         Remove the iochannel hack to route the unix signals to the main thread since
9935         we're not threaded anymore.
9936
9937         * src/NetworkManagerAP.c: Implement HWAddress property.
9938
9939         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9940         automatically with dbus-glib.
9941
9942         * src/nm-netlink-monitor.c: 
9943         * src/nm-netlink-monitor.h:
9944                 - Move it low in the class hierarchy, don't reference any NM types.
9945                 - Remove private data from the header.
9946                 - Use type safe checks in public API methods.
9947                 - Make it a singleton so we don't have to pass the single reference around.
9948
9949 2007-02-16  Tambet Ingo  <tambet@ximian.com>
9950
9951         * introspection/nm-ip4-config.xml: Implement.
9952
9953         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9954
9955         * libnm-glib/nm-ip4-config.c:
9956         * libnm-glib/nm-ip4-config.c: Implement.
9957
9958         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9959         securities. APs reference security.
9960
9961         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9962         be exported over DBUS.
9963
9964         * src/nm-device-802-3-ethernet.c: Ditto.
9965
9966         * src/NetworkManagerAP.c:
9967         * src/NetworkManagerAP.h:
9968                 - Convert to GObject, export over DBUS.
9969
9970         * src/nm-ip4-config.h:
9971         * src/nm-ip4-config.h:
9972                 - Convert to GObject, export over DBUS.
9973
9974 2007-02-12  Dan Williams  <dcbw@redhat.com>
9975
9976         Patch from Helmut Schaa <hschaa@suse.de>
9977
9978         * vpn-daemons/pptp/configure.in
9979           vpn-daemons/pptp/Makefile.am
9980           vpn-daemons/openvpn/configure.in
9981           vpn-daemons/openvpn/Makefile.am
9982           vpn-daemons/vpnc/configure.in
9983           vpn-daemons/vpnc/Makefile.am
9984                 - Add --without-gnome switch which disables building gnome bits
9985
9986 2007-02-12  Tambet Ingo  <tambet@ximian.com>
9987
9988         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
9989
9990         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
9991
9992         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
9993         'HwAddress'.
9994
9995         * introspection/nm-device.xml: Remove 'UseDhcp' property.
9996
9997         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
9998
9999         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10000
10001         * src/:
10002                 - Remove old low-level dbus interface implementations and replace them
10003                   with dbus-glib one.
10004
10005         * configure.in:
10006                 - Require dbus-glib >= 0.72.
10007                 - Plug in new sources to build.
10008
10009         * libnm-glib/:
10010                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10011                   to make it more convenient to use from GObject based programs.
10012
10013         * introspection/:
10014                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10015
10016 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10017
10018         * src/nm-device-802-11-wireless.c:
10019                 - Add "network-added" and "network-removed" signals.
10020                 - Use gobject boilerplate macros to define the GObject.
10021                 - Implement wireless device activation.
10022                 - Remove activation_failure_handler and activation_success_handler
10023                   and instead listen on state-changed signals and run the same code
10024                   from there.
10025
10026         * src/nm-device.c:
10027                 - Implment NMDeviceInterface::deactivate.
10028                 - Remove activation_failure_handler and activation_success_handler
10029                   virtual methods. Each device which is interested in these events
10030                   can just listen on it's state changed signals.
10031
10032         * src/NetworkManagerPolicy.c:
10033                 - Move a bit more NMData usage to NMManager.
10034                 - Remove activation scheduling bits.
10035                 - Add listeners for wireless device's "network-added" and
10036                   "network-removed" signals.
10037                 - Listen device changed signals and deactivate currently activated
10038                   device when another device start activating (for now).
10039                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10040                   for calling this, the policy code knows exactly when this should happen,
10041                   by listening on events from NMManager and NMDevices.
10042
10043         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10044         Implement.
10045
10046         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10047         method on the specific device instead of going to through policy code
10048         and determining the device type by passed in AP's existance.
10049
10050         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10051         abstract NMDevice deactivation.
10052
10053 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10054
10055         * src/NetworkManager.c:
10056                 - Set up all the shiny new managers.
10057
10058         * src/NetworkManagerPolicy.c:
10059                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10060                   classes to call into policy code, make the policy code kind of like
10061                   a supervisor that monitors what's going on and drives the whole NM.
10062
10063         * src/nm-hal-manager.c: 
10064         * src/nm-hal-manager.h:
10065                 - Collect all libhal code scattered around NM to this one class.
10066                 - Listen libhal and NMManager events and add/remove devices to
10067                   NMManager.
10068
10069         * src/nm-manager.c:
10070         * src/nm-manager.h:
10071                 - Implment a replacement for NMData. NMData is now officially
10072                 deprecated.
10073
10074 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10075
10076         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10077         * src/supplicant-manager/nm-supplicant-interface.h
10078         * src/supplicant-manager/nm-supplicant-interface.c
10079         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10080         argument to boolean from enum.
10081
10082         Make NMDevice abstract class, remove almost all references to it's
10083         subclasses (the last place gets removed with new policy manager). Add
10084         NMDeviceInterface (which NMDevice implements) so that when we have
10085         NMDevice exported over DBUS, there's a common NMDevice interface which
10086         all instances have, plus there's a device specific interface for each
10087         specific type.
10088         Remove functions (nm_device_is_802_3_ethernet) and
10089         (nm_device_is_802_11_wireless). There are already standard GObject macros
10090         for type safe checks.
10091         Use the updated supplican manager API.
10092
10093         * src/nm-device-interface.h: 
10094         * src/nm-device-interface.c: 
10095         * src/nm-call-store.h: 
10096         * src/nm-call-store.c: Implement.
10097
10098         * src/supplicant-manager/nm-supplicant-interface.c:
10099         * src/supplicant-manager/nm-supplicant-interface.h:
10100         * src/supplicant-manager/nm-supplicant-manager.c:
10101         * src/supplicant-manager/nm-supplicant-manager.h:
10102                 - Remove all private data type references from public header files.
10103                 - Remove all references to other NM classes, this class is just a
10104                   proxy between wpa_supplicant and NM so it doesn't have to know
10105                   any internals.
10106                 - Convert to dbus-glib bindings.
10107                 - Type safe checks for public methods' arguments.
10108                 - Store pending DBUS call ids to NMCallStore.
10109
10110         * src/supplicant-manager/nm-supplicant-config.c:
10111                 - Store config values in a GHashTable instead of GSList.
10112
10113         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10114
10115         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10116         singleton now.
10117
10118         * src/nm-device.c: Use the new DHCP manager API.
10119
10120         * src/nm-activation-request.c:
10121         * src/nm-activation-request.h:
10122                 - Remove all dhcp related properties and methods.
10123
10124         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10125
10126         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10127
10128         * src/dhcp-manager/nm-dhcp-manager.c:
10129         * src/dhcp-manager/nm-dhcp-manager.h:
10130                 - Convert it to GObject since we need to signal state changes.
10131                 - Remove all references to other NM classes, this class is one
10132                   of the lowest classes in our hierarchy.
10133                 - One less class to use NMActRequest.
10134                 - Make it singleton, one less user of NMData.
10135                 - Remove a couple of sleep() calls.
10136                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10137                   One less class to use the NM's custom tailored signal handlig.
10138
10139         * Makefile.am: Generate marshallers, add them to build.
10140
10141 2007-02-02  Dan Williams  <dcbw@redhat.com>
10142
10143         * configure.in
10144           gnome/Makefile.am
10145           nm-applet.desktop
10146           Makefile.am
10147                 - Remove last bits referencing gnome applet
10148
10149 2007-02-02  Dan Williams  <dcbw@redhat.com>
10150
10151         * src/vpn-manager/nm-vpn-service.c
10152                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10153                         and NBNS server addresses
10154
10155 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10156
10157         * src/nm-dbus-manager.c:
10158         * src/nm-dbus-manager.h:
10159                 - Convert all internal DBUS code to use dbus-glib bindings.
10160                 - Remove GObject properties, we don't need them here.
10161                 - Don't explicitly set things to NULL after freeing, glib is
10162                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10163                 - Make public API argument checks type safe.
10164                 - Remove unnecessary (and wrong) cast to GObject for the first
10165                   argument to g_signal_* calls - The first argument is a gpointer.
10166                 - Export DBusGConnection to other cool classes that (are going to)
10167                   use dbus-glib.
10168
10169 2007-01-26  Dan Williams  <dcbw@redhat.com>
10170
10171         * libnm-util/dbus-dict-helpers.c
10172           libnm-util/dbus-dict-helpers.h
10173                 - Coordinate style with wpa_supplicant version to minimize diff
10174                 - Add uint32 array support
10175                 - (nmu_dbus_dict_append_uint32_array): new function
10176                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10177                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10178                         version; allow adding string array elements individually
10179
10180         * test/libnm-util/test-dbus-dict-helpers.c
10181                 - Test uint32 arrays
10182
10183 2007-01-27  Jürg Billeter  <j@bitron.ch>
10184
10185         * src/backends/NetworkManagerPaldo.c
10186                 - (nm_system_update_dns): clear nscd hosts cache
10187
10188 2007-01-04  Dan Williams  <dcbw@redhat.com>
10189
10190         Threading removal related cleanups:
10191
10192         - Use the glib default main context.  Remove the device main context
10193                 member from NMDevice, and the main_context member from NMData.  Change
10194                 all the idle and timeout scheduler functions to use plain
10195                 g_idle_add() and g_timeout_add().
10196
10197         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10198                 takes an argument; fix that up too.
10199
10200         - Remove all locking, which is useless since we no longer use threads.  For
10201                 example, nm_get_device_by_iface_locked() has been removed.  The global
10202                 device list lock, the AP List lock, and all static locks in
10203                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10204                 in NetworkManagerUtils.c have also been removed.
10205
10206         - Other cleanups in spacing and code style
10207
10208 2007-01-01  Dan Williams  <dcbw@redhat.com>
10209
10210         Found by Bill Moss:
10211
10212         * src/supplicant-manager/nm-supplicant-interface.c
10213                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10214                         the supplicant interface wasn't already disconnected.  Always
10215                         call removeNetwork and disconnect unless the supplicant interface
10216                         is in the DISCONNECTED or INACTIVE state.
10217
10218 2006-12-28  Dan Williams  <dcbw@redhat.com>
10219
10220         Use a single thread for everything.  With the move to wpa_supplicant
10221         and communication over D-Bus, there's no reason for multiple threads.
10222         Almost all of the blocking code has been removed, with one exception in
10223         the DHCP manager and a few in the VPN manager.  This commit removes the
10224         per-device worker thread and fixes activation cancellation in the absence
10225         of threads.  Further removal of thread-related code would be removing
10226         any locking code (like the device list lock) and simplification of logic
10227         around areas of code or data structures that are currently locked.
10228
10229         * autoip.c
10230           dhcp-manager/nm-dhcp-manager.c 
10231           nm-device-802-11-wireless.c
10232           nm-device-802-3-ethernet.c
10233           nm-device.c
10234           nm-device.h
10235                 - Remove usage of multiple threads
10236
10237 2006-12-19  Dan Williams  <dcbw@redhat.com>
10238
10239         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10240         plus a few other patches from wpa_supplicant bugzilla.
10241
10242         * src/Makefile.am
10243           src/NetworkManagerPolicy.c
10244           src/NetworkManagerUtils.c
10245           src/NetworkManagerUtils.h
10246           src/nm-ap-security-leap.c
10247           src/nm-ap-security-wep.c
10248           src/nm-ap-security-wpa-eap.c
10249           src/nm-ap-security-wpa-psk.c
10250           src/nm-ap-security.c
10251           src/nm-ap-security.h
10252           src/nm-device-802-11-wireless.c
10253           src/nm-device-802-11-wireless.h
10254           src/supplicant-manager/nm-supplicant-config.c
10255           src/supplicant-manager/nm-supplicant-config.h
10256           src/supplicant-manager/nm-supplicant-interface.c
10257           src/supplicant-manager/nm-supplicant-interface.h
10258           src/supplicant-manager/nm-supplicant-marshal.list
10259           src/supplicant-manager/nm-supplicant-settings-verify.c
10260           src/supplicant-manager/nm-supplicant-settings-verify.h
10261                 - Move all connection management and association handling to
10262                         wpa_supplicant over dbus, rather than spawning a private copy
10263
10264 2006-12-19  Dan Williams  <dcbw@redhat.com>
10265
10266         * src/NetworkManagerPolicy.c
10267                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10268                         better locking of the device change check handler ID.  Incorrect
10269                         locking was causing lost device change requests
10270
10271 2006-12-18  Dan Williams  <dcbw@redhat.com>
10272
10273         * libnm-util/dbus-dict-helpers.c
10274                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10275                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10276                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10277
10278 2006-12-18  Dan Williams  <dcbw@redhat.com>
10279
10280         * gnome/libnm_glib/libnm_glib.c
10281                 - Change dbus_connection_close() -> dbus_connection_unref()
10282
10283 2006-12-11  Dan Williams  <dcbw@redhat.com>
10284
10285         * src/supplicant-manager/nm-supplicant-interface.c
10286                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10287                         wpa_supplicant interface state
10288                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10289                         state before transitioning to READY state
10290
10291 2006-12-04  Dan Williams  <dcbw@redhat.com>
10292
10293         * src/nm-device-802-11-wireless.c
10294                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10295                         odd length of ESSID returned from ieee80211 stack-based drivers
10296
10297 2006-12-04  Dan Williams  <dcbw@redhat.com>
10298
10299         * src/nm-device-802-11-wireless.c
10300                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10301                         IE handling blocks that cause mis-parsing of the IE
10302
10303 2006-12-04  Dan Williams  <dcbw@redhat.com>
10304
10305         * src/nm-device-802-11-wireless.c
10306                 - (init_supplicant_interface): new function; pull supplicant interface
10307                         setup code out into standalone function since it must be called from
10308                         two different places
10309                 - (real_init): sup_mgr is now in private object data; get and track
10310                         the supplicant manager object over the NMDevice subclass' lifetime
10311                         and register a signal handler for its state signals; only try to
10312                         initialize the supplicant interface if the supplicant manager is in
10313                         the IDLE state (and therefore is ready for requests)
10314                 - (request_wireless_scan): reschedule the scan request if (a) there is
10315                         no supplicant interface yet (meaning wpa_supplicant isn't running
10316                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10317                         for requests yet
10318                 - (supplicant_iface_connection_state_cb): new function; stub for
10319                         handling supplicant interface connection state signals
10320                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10321                         comes and goes
10322                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10323                         supplicant manager object that's being tracked starting with this
10324                         commit
10325
10326 2006-12-04  Dan Williams  <dcbw@redhat.com>
10327
10328         * src/supplicant-manager/nm-supplicant-interface.c
10329                 - (nm_supplicant_interface_set_property): track signal handler ID
10330                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10331
10332 2006-12-04  Dan Williams  <dcbw@redhat.com>
10333
10334         * src/supplicant-manager/nm-supplicant-interface.[ch]
10335                 - (nm_supplicant_interface_get_state): new function
10336
10337 2006-12-04  Dan Williams  <dcbw@redhat.com>
10338
10339         * src/supplicant-manager/nm-supplicant-interface.c
10340                 - (bssid_properties_cb): don't treat DBus errors as valid
10341                         scanned AP messages
10342
10343 2006-12-04  Dan Williams  <dcbw@redhat.com>
10344
10345         * src/supplicant-manager/nm-supplicant-interface.[ch]
10346                 - (nm_supplicant_interface_get_connection_state): new function
10347                 - define new supplicant connection states
10348                 - send a signal when the supplicant connection state changes
10349
10350 2006-12-03  Dan Williams  <dcbw@redhat.com>
10351
10352         * src/supplicant-manager/Makefile.am
10353           src/supplicant-manager/nm-supplicant-connection.h
10354           src/supplicant-manager/nm-supplicant-connection.c
10355           src/supplicant-manager/nm-supplicant-config.h
10356           src/supplicant-manager/nm-supplicant-config.c
10357           src/supplicant-manager/nm-supplicant-types.h
10358           src/supplicant-manager/nm-supplicant-interface.h
10359           src/supplicant-manager/nm-supplicant-interface.c
10360                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10361
10362 2006-12-03  Dan Williams  <dcbw@redhat.com>
10363
10364         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10365
10366         * po/POTFILES.in
10367           po/POTFILES.skip
10368                 - Move VPN-related translatables to .skip
10369
10370         * vpn-daemons/pptp/po/POTFILES.in
10371                 - Update with new translatables
10372
10373 2006-12-02  Dan Williams  <dcbw@redhat.com>
10374
10375         Patch from Christian Persch <chpe@gnome.org>
10376
10377         * gnome/applet/Makefile.am
10378           gnome/applet/applet-dbus-devices.c
10379           gnome/applet/applet-notifications.c
10380           gnome/applet/applet.c
10381           gnome/applet/applet.h
10382           gnome/applet/main.c
10383                 - Be a GtkStatusIcon on GTK+ >= 2.10
10384
10385 2006-12-02  Dan Williams  <dcbw@redhat.com>
10386
10387         * gnome/applet/applet.c
10388                 - (nma_update_info): fix two unecessary allocations
10389
10390 2006-12-02  Dan Williams  <dcbw@redhat.com>
10391
10392         Patch from Michael Biebl <biebl@teco.edu>
10393         * configure.in
10394           man/NetworkManager.1.in
10395           man/NetworkManagerDispatcher.1.in
10396           man/NetworkManager.8.in
10397           man/NetworkManagerDispatcher.8.in
10398                 - Add .SH NAME stanzas
10399                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10400
10401 2006-12-02  Dan Williams  <dcbw@redhat.com>
10402
10403         Patch from Christian Persch <chpe@gnome.org>
10404
10405         * configure.in
10406                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10407
10408 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10409
10410         Patch by Timo Hoenig <thoenig@suse.de>:
10411         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10412         DBUS-1.0.
10413
10414         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10415         we can't use the one from the main source directory.
10416
10417 2006-11-27  Dan Williams  <dcbw@redhat.com>
10418
10419         Patch from Christian Persch <chpe@gnome.org>
10420
10421         * gnome/applet/applet-dbus-devices.c
10422                 - (hal_info_product_cb): fix memleak; free duped string.
10423                         Gnome.org #379908
10424
10425 2006-11-27  Dan Williams  <dcbw@redhat.com>
10426
10427         Patch from Christian Persch <chpe@gnome.org>
10428
10429         * gnome/applet/menu-items.c
10430                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10431                         as gtk_progress_set_percentage is deprecated.  Should
10432                         work as far back as GTK+ 2.4.  Gnome.org #379780
10433
10434 2006-11-26  Dan Williams  <dcbw@redhat.com>
10435
10436         Scan using wpa_supplicant over DBus.
10437
10438         * src/nm-device-802-11-wireless.c
10439                 - remove wireless extensions netlink event handler bits
10440                         (wireless_event_helper, nm_device_802_11_wireless_event)
10441                 - remove wireless extensions scan event handler bits
10442                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10443                         hex2byte, hex2num, request_and_convert_scan_results,
10444                         free_process_scan_cb_data, scan_results_timeout,
10445                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10446                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10447                         and request scans from the supplicant interface rather than directly
10448                 - Move functionality of convert_scan_results() to cull_scan_list() and
10449                         supplicant_iface_scanned_ap_cb()
10450                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10451                         at the scan interval when the current scan has finished
10452                 - (supplicant_iface_state_cb): start scanning when the supplicant
10453                         interface enters the READY state, and stop scanning when it
10454                         enters the DOWN state
10455                 - (cull_scan_list): weed out old access points from the scan list
10456                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10457                         point into an NMAccessPoint and merge it into the device's scan list
10458
10459         * src/supplicant-manager/nm-supplicant-interface.c
10460           src/supplicant-manager/nm-supplicant-interface.h
10461                 - Add a new signal "scan-result" which is issued when the supplicant
10462                         notifies NM that a scan has completed
10463                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10464                         point found in the scan.  Called once for each access point that
10465                         the supplicant interface object receives from the supplicant as a
10466                         result of the "scanResults" method call
10467                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10468                         for the initial scan results
10469                 - (scan_request_cb): new function; send listeners the result
10470                         (success, error) of a wireless scan request
10471                 - (nm_supplicant_interface_request_scan): new function; ask the
10472                         supplicant to perform an immediate wireless scan
10473
10474 2006-11-25  Dan Williams  <dcbw@redhat.com>
10475
10476         * src/supplicant-manager/Makefile.am
10477                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10478                         add HAL cflags/includes and named-manager includes directory
10479
10480         * src/supplicant-manager/nm-supplicant-interface.h
10481                 - New state STARTING to handle transition from INIT to READY where
10482                         the addInterface pending call is still outstanding
10483
10484         * src/supplicant-manager/nm-supplicant-interface.c
10485                 - track pending calls differently since we may have more than one
10486                         going on at any given time
10487                 - request scan results from wpa_supplicant; but don't do it more often
10488                         than every 4 seconds.  Drivers that do background scanning
10489                         (like the 'ipw' drivers) send a continuous stream of scan completion
10490                         notifications, so we don't want to hammer the supplicant or dbus
10491                         with requests for all scan results every time we get a completion
10492                         notification.
10493
10494 2006-11-25  Dan Williams  <dcbw@redhat.com>
10495
10496         * src/supplicant-manager/nm-supplicant-types.h
10497                 - new file; move all supplicant manager object typedefs here for
10498                         #include sanity
10499
10500         * src/supplicant-manager/nm-supplicant-interface.c
10501           src/supplicant-manager/nm-supplicant-interface.h
10502                 - new file; an object that interfaces an NMDevice object to the
10503                         supplicant and handles signals from the supplicant.  This object
10504                         does all necessary DBus communication with wpa_supplicant.
10505
10506         * src/supplicant-manager/nm-supplicant-manager.c
10507           src/supplicant-manager/nm-supplicant-manager.h
10508                 - Actually do something.  Track the state of the wpa_supplicant service
10509                         and deal with its comings & goings.  Handle life events of
10510                         supplicant interfaces too.
10511                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10512
10513         * src/supplicant-manager/nm-supplicant-connection.h
10514                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10515
10516         * src/supplicant-manager/Makefile.am
10517                 - Add new files to build, and add libnm-util to includes
10518
10519         * src/nm-marshal.list
10520                 - New marshaler type: VOID:UINT,UINT
10521
10522         * src/nm-device-802-3-ethernet.c
10523                 - (real_init): grab a supplicant interface
10524                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10525                 - (supplicant_iface_state_cb): new function, stub for handling
10526                         supplicant interface state changes
10527
10528         * src/nm-device-802-11-wireless.c
10529                 - (real_init): grab a supplicant interface
10530                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10531                 - (supplicant_iface_state_cb): new function, stub for handling
10532                         supplicant interface state changes
10533
10534         * src/NetworkManager.c
10535                 - (main): create and keep the supplicant manager around for the lifetime
10536                         of NetworkManager
10537
10538         * src/Makefile.am
10539                 - Link to the supplicant manager sub-library and use the supplicant
10540                         manager includes
10541
10542 2006-11-25  Dan Williams  <dcbw@redhat.com>
10543
10544         Rework DBus manager signal handling to be more flexible.  Previously,
10545         only one signal handler could be registered for a particular interface.
10546         The DBus manager now reference counts DBus bus matches and allows multiple
10547         clients to register signal handlers for the same interface and sender.
10548
10549         * src/NetworkManager.c
10550                 - (main): track NMI signal handler ID and remove it when we quit
10551
10552         * src/NetworkManagerMain.h
10553                 - Keep track of NMI signal handler ID
10554
10555         * src/nm-dbus-manager.c
10556           src/nm-dbus-manager.h
10557                 - rework signal handling; each signal handler references one signal
10558                         match, but a signal match may be referenced by one or more
10559                         signal handlers.  Matches are refcounted and are destroyed when the
10560                         last signal handler that references the match is removed.  This is
10561                         necessary because two signal handlers may end up requiring the same
10562                         dbus bus match, so the match must live until the last signal handler
10563                         is destroyed (for example, with the wpa_supplicant network interface
10564                         dbus interface).
10565
10566         * src/dhcp-manager/nm-dhcp-manager.c
10567                 - (nm_dhcp_manager_new): track DHCP signal handler id
10568                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10569
10570         * src/vpn-manager/nm-vpn-service.c
10571                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10572                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10573
10574 2006-11-25  Dan Williams  <dcbw@redhat.com>
10575
10576         Suggested by Helmut Schaa <hschaa@suse.de>
10577
10578         * src/vpn-daemons/nm-vpn-service.c
10579                 - (supplicant_child_setup): new function
10580                 - (supplicant_exec): make child process use a new process group id
10581
10582         * src/nm-device-802-11-wireless.c
10583                 - (nm_vpn_service_child_setup): new function
10584                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10585                         process group id
10586
10587 2006-11-19  Dan Williams  <dcbw@redhat.com>
10588
10589         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10590         * gnome/vpn-properties/nm-vpn-properties.c
10591                 - clean up after renamed VPN connection
10592
10593 2006-11-19  Dan Williams  <dcbw@redhat.com>
10594
10595         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10596         * gnome/applet/applet-dbus-vpn.c
10597                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10598
10599         * gnome/vpn-properties/nm-vpn-properties.c
10600                 - (init_app): sort VPN connections
10601
10602 2006-11-09  Dan Williams  <dcbw@redhat.com>
10603
10604         * src/NetworkManagerAPList.c
10605                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10606                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10607                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10608                 broke hidden SSID matching.  Found by Bill Moss.
10609
10610 2006-10-25  Dan Williams  <dcbw@redhat.com>
10611
10612         * src/nm-dbus-nm.c
10613                 - (nm_dbus_nm_set_active_device): return an empty success message on
10614                         success, rather than falling through to the error case.
10615
10616 2006-10-25  Dan Williams  <dcbw@redhat.com>
10617
10618         * src/NetworkManagerUtils.c
10619                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10620                         "SCAN" command
10621
10622 2006-10-24  Dan Williams  <dcbw@redhat.com>
10623
10624         Reduce the number of times the Gnome applet wakes up, especially when
10625         it's doing absolutely nothing and is hidden.  Initial patch by
10626         Chris Aillon.
10627
10628         * gnome/applet/applet-dbus.c
10629                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10630                         kill the redraw timeout.  When NM starts up, start the redraw
10631                         timeout.  Also, if we get kicked off the bus for some reason,
10632                         start the reconnection timeout if one's not already running.
10633                 - (nma_dbus_init): better handling of error conditions, don't leak
10634                         a half-initialized dbus connection
10635                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10636                         the applet's data, just call nm_dbus_init_helper()
10637                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10638                         timeout that calls nma_dbus_connection_watcher()
10639                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10640                         reconnection timeout, and don't start the reconnection timeout
10641                         unconditionally anymore
10642
10643         * gnome/applet/applet-dbus.h
10644                 - Expose nma_start_dbus_connection_watch()
10645
10646         * gnome/applet/applet.c
10647                 - (nma_update_state): no longer static, called from applet-dbus.c for
10648                         immediate UI updates on certain events
10649                 - (nma_set_running): new function; take over setting applet->running,
10650                         when not running (ie, NM is not active), don't activate the redraw
10651                         timeout because we're not showing the applet anyway.  When we are
10652                         running (ie, NM is active), and only when we're running, start the
10653                         redraw timeout.
10654                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10655                         kill any reconnection timeout
10656                 - (nma_get_instance): move one-off dbus initialization code here since
10657                         nm_dbus_init_helper() gets called more than once, possibly by the
10658                         reconnection timeout function too.  And, when we start up, if we
10659                         can't get a connection to the bus, start the reconnection timeout.
10660                         But don't start the redraw timeout yet, only do that when we get
10661                         NM's state and find out if it's running or not.
10662
10663         * gnome/applet/applet.h
10664                 - Add the reconnection GSource ID
10665                 - Add prototypes for nma_set_running() and the no-longer-static
10666                         nma_update_state()
10667
10668 2006-10-24  Dan Williams  <dcbw@redhat.com>
10669
10670         * src/vpn-daemons/nm-dbus-vpnc.c
10671                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10672                         pending call tracker
10673                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10674                         pending call tracker; register one-vpn-connection update pending
10675                         call in pending call tracker
10676                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10677                         update pending call in pending call tracker
10678                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10679                         update pending call in pending call tracker; don't block waiting
10680                         for call to return
10681
10682 2006-10-19  Robert Love  <rml@novell.com>
10683
10684         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10685           refresh the cache.
10686
10687 2006-10-14  Dan Williams  <dcbw@redhat.com>
10688
10689         * src/dhcp-manager/nm-dhcp-manager.c
10690                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10691                 the dbus connection and the device object path rather than
10692                 constructing it inside both functions.  Saves a bit of memory
10693                 and clarifies a failure path.
10694                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10695                 and allocate device path here rather than each of the two
10696                 functions above.
10697
10698 2006-10-13  Dan Williams  <dcbw@redhat.com>
10699
10700         * src/NetworkManager.c
10701                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10702                 this somehow droppout in the refactor
10703
10704 2006-10-13  Dan Williams  <dcbw@redhat.com>
10705
10706         * Huge DBus refactor:
10707                 - Create a "DBus Manager" object which manages the connection and
10708                 sends signals on NameOwnerChanged and connection/disconnection events,
10709                 handles reconnection to the bus if NM gets kicked off, and abstracts
10710                 signal handling
10711                 - Remove DBusConnection members from places where they are no
10712                 longer needed due to the refactor, like the dbus-connection
10713                 property of the named manager, and from NMData
10714                 - Reformats a bunch of the code to gnome style
10715                 (8-space tabs, braces on same line as statement, 80-col width).
10716                 Consider it open season to reformat any bits to gnome style.
10717                 style that aren't already.
10718
10719 2006-10-13  Dan Williams  <dcbw@redhat.com>
10720
10721         * src/supplicant-manager/Makefile.am
10722                 - Add new files
10723
10724         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10725                 - Make it a minimal GObject
10726
10727         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10728                 - Verify settings destined for wpa_supplicant
10729
10730         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10731                 - Minimal GObject to track wpa_supplicant controlled device
10732                 connections
10733
10734 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10735
10736         * gnome/applet/applet.c: (nma_update_info),
10737         (nma_act_stage_to_pixbuf), (nma_update_state):
10738         Mark missing strings for translation. Fixes bug #343306.
10739
10740 2006-10-01  Dan Williams  <dcbw@redhat.com>
10741
10742         * src/vpn-manager/nm-vpn-manager.c
10743                 - (nm_vpn_manager_load_services): split and clean up
10744                 for readability and correctness.  Restrict VPN service
10745                 files to ending in ".name", as was meant from the
10746                 beginning (but not coded in).  Better error reporting.
10747
10748 2006-10-01  Dan Williams  <dcbw@redhat.com>
10749
10750         * utils/nm-utils.h
10751                 - Clean up formatting of debug/info/warning log messages
10752
10753 2006-09-27  Robert Love  <rml@novell.com>
10754
10755         Patch by Tambet Ingo <tambet@ximian.com>:
10756         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10757           actually work.
10758
10759 2006-09-07  Dan Williams <dcbw@redhat.com>
10760
10761         * test/Makefile.am
10762           test/libnm-util/Makefile.am
10763           test/nm-supplicant-test.c
10764                 - Add test program emulating the way NM drives wpa_supplicant
10765                 to help debug supplicant issues
10766
10767 2006-08-24  Dan Williams <dcbw@redhat.com>
10768
10769         * configure.in
10770           src/Makefile.am
10771           src/supplicant-manager/Makefile.am
10772           src/supplicant-manager/nm-supplicant-manager.c
10773           src/supplicant-manager/nm-supplicant-manager.h
10774                 - Add skeleton bits of the wpa_supplicant manager
10775
10776 2006-08-24  Dan Williams <dcbw@redhat.com>
10777
10778         Patch from Ed Catmur:
10779         * src/NetworkManagerUtils.c
10780                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10781                 if netmask is 0 (Gnome #352634)
10782
10783 2006-08-17  Robert Love  <rml@novell.com>
10784
10785         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10786           package is now DBUS-enabled and listens for the NM signals.
10787
10788 2006-08-14  Dan Williams  <dcbw@redhat.com>
10789
10790         * Patch from Christian Persch <chpe gnome org>
10791         * configure.in
10792           po/LINGUAS
10793           vpn-daemons/openvpn/po/LINGUAS
10794           vpn-daemons/openvpn/configure.in
10795           vpn-daemons/pptp/po/LINGUAS
10796           vpn-daemons/pptp/configure.in
10797           vpn-daemons/vpnc/po/LINGUAS
10798           vpn-daemons/vpnc/configure.in
10799                 - Convert to LINGUAS method so translators don't have to modify
10800                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10801                 0.35 or higher
10802
10803 2006-08-14  Dan Williams  <dcbw@redhat.com>
10804
10805         Patch from Alex Smith <alex.extreme2@gmail.com>
10806         * configure.in
10807           src/backends/Makefile.am
10808           src/backends/NetworkManagerFrugalware.c
10809                 - Add support for Frugalware
10810
10811 2006-08-13  Dan Williams  <dcbw@redhat.com>
10812
10813         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10814         * src/nm-device-802-11-wireless.c
10815                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10816                 Gnome #346875
10817
10818 2006-08-13  Dan Williams  <dcbw@redhat.com>
10819
10820         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10821         * src/nm-ap-security.c
10822           src/nm-ap-security.h
10823                 - Add authentication_required bits for subclasses to specify whether
10824                 or not real authentication is required for connections, i.e. whether
10825                 the AP rejects us when an encryption key is wrong or not.
10826
10827         * src/nm-ap-security-wep.c
10828           src/nm-ap-security-wpa-eap.c
10829           src/nm-ap-security-wpa-psk.c
10830           src/nm-ap-security-leap.c
10831                 - Implement authentication_required appropriately for each method
10832
10833         * src/nm-device-802-11-wireless.c
10834                 - Be smarter about when to request a key; for example, using a wrong key
10835                 in WEP shared key mode previously just timed out and did not request
10836                 a new key
10837
10838 2006-08-13  Dan Williams  <dcbw@redhat.com>
10839
10840         * gnome/libnm_glib/libnm_glib.c
10841                 - dbus_connection_disconnect() -> dbus_connection_close() for
10842                 dbus >= 0.90
10843
10844 2006-08-07  Dan Williams  <dcbw@redhat.com>
10845
10846         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10847         * src/NetworkManagerSystem.c
10848                 - Respect specified MTU.  Gnome #344967
10849
10850 2006-08-07  Dan Williams  <dcbw@redhat.com>
10851
10852         * src/vpn-manager/nm-vpn-service.c
10853                 - Simplify print_vpn_config() arguments
10854
10855         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10856         * src/vpn-manager/Makefile.am
10857           src/vpn-manager/nm-vpn-service.c
10858                 - Add new API for passing VPN config options as a dict. Gnome #344967
10859
10860 2006-08-06  Dan Williams  <dcbw@redhat.com>
10861
10862         * gnome/applet/applet-dbus-devices.c
10863           gnome/applet/applet-dbus-vpn.c
10864           gnome/applet/applet-dbus.c
10865           gnome/applet/applet-dbus.h
10866           src/nm-dbus-nmi.c
10867           utils/nm-utils.c
10868           utils/nm-utils.h
10869                 - Make pending call tracking code generic,
10870                 so we can use it in NM as well as the applet
10871
10872 2006-08-06  Dan Williams  <dcbw@redhat.com>
10873
10874         * src/nm-activation-request.c
10875                 - Refcount pending call objects
10876
10877 2006-08-06  Dan Williams  <dcbw@redhat.com>
10878
10879         Patch from Christan Chiesa <christanc@gmail.com>
10880         * configure.in
10881                 - Tell sha1.c to use bigendian mode on PPC
10882
10883 2006-08-04  Robert Love  <rml@novell.com>
10884
10885         Glib Memory Slices!
10886         * configure.in: Require glib 2.10 or later.
10887         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10888           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10889           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10890           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10891           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10892           Memory Slices are the greatest thing since bread slices.
10893         * src/NetworkManagerAP.c: Also, fix memory leak.
10894
10895 2006-08-01  Robert Love  <rml@novell.com>
10896
10897         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10898
10899 2006-07-31  Robert Love  <rml@novell.com>
10900
10901         * src/backends/interface_parser.c: Declarations must begin the block.
10902
10903 2006-07-24  Dan Williams  <dcbw@redhat.com>
10904
10905         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10906         * src/backends/Makefile.am
10907           src/backends/NetworkManagerArch.c
10908           src/backends/NetworkManagerDebian.c
10909           src/backends/NetworkManagerGeneric.c
10910           src/backends/NetworkManagerGeneric.h
10911           src/backends/NetworkManagerGentoo.c
10912           src/backends/NetworkManagerPaldo.c
10913           src/backends/NetworkManagerRedHat.c
10914           src/backends/NetworkManagerSlackware.c
10915           src/backends/NetworkManagerSuSE.c
10916                 - Genericize common backend functions
10917
10918 2006-07-18  Robert Love  <rml@novell.com>
10919
10920         * configure.in: Add "--with-notify" option to allow disabling of
10921           libnotify support.
10922
10923 2006-07-13  Dan Williams  <dcbw@redhat.com>
10924
10925         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10926         * gnome/applet/applet.glade
10927           gnome/applet/Makefile.am
10928           gnome/applet/nm-gconf-wso.c
10929           gnome/applet/nm-gconf-wso-leap.c
10930           gnome/applet/nm-gconf-wso-leap.h
10931           gnome/applet/wireless-security-manager.c
10932           gnome/applet/wso-leap.c
10933           gnome/applet/wso-leap.h
10934           include/NetworkManager.h
10935           libnm-util/dbus-helpers.c
10936           libnm-util/dbus-helpers.h
10937           src/Makefile.am
10938           src/NetworkManagerAP.c
10939           src/nm-ap-security.c
10940           src/nm-ap-security-leap.c
10941           src/nm-ap-security-leap.h
10942                 - Add LEAP authentication support
10943
10944 2006-07-13  Dan Williams  <dcbw@redhat.com>
10945
10946         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10947         * configure.in
10948           src/backends/NetworkManagerArch.c
10949           src/backends/NetworkManagerDebian.c
10950           src/backends/NetworkManagerGentoo.c
10951           src/backends/NetworkManagerPaldo.c
10952           src/backends/NetworkManagerRedHat.c
10953           src/backends/NetworkManagerSlackware.c
10954           src/backends/NetworkManagerSuSE.c
10955                 - Convert hardcoding of 'ip' path to configure-time
10956                         detected one
10957
10958 2006-07-12  Leonid Kanter <leon@asplinux.ru>
10959
10960         * configure.in: added ru to ALL_LINGUAS
10961
10962 2006-07-10  Dan Williams  <dcbw@redhat.com>
10963
10964         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10965         * src/nm-device.c
10966                 - (real_act_stage3_ip_config_start): don't infinite loop when
10967                         dhcdbd isn't running (Gnome #346845)
10968
10969 2006-07-09  Dan Williams  <dcbw@redhat.com>
10970
10971         * gnome/applet/applet.c
10972                 - (nma_destroy): don't pass NULL to notify_notification_close
10973                         (RH #197917)
10974
10975 2006-07-09  Dan Williams  <dcbw@redhat.com>
10976
10977         * gnome/applet/applet.c
10978                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
10979
10980 2006-07-04  Tor Krill  <tor@krill.nu>
10981
10982         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10983         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
10984         (nm_system_restart_mdns_responder), (ArchReadConfig),
10985         (nm_system_device_get_system_config):
10986                 - Explicitly check for DHCP configuration
10987                 - Check if daemons are running before starting them
10988
10989 2006-06-25  Dan Williams  <dcbw@redhat.com>
10990
10991         * libnm-util/dbus-dict-helpers.[ch]
10992           test/libnm-util/test-dbus-dict-helpers.c
10993                 - Add string array support
10994
10995 2006-06-24  Dan Williams  <dcbw@redhat.com>
10996
10997         * src/dhcp-manager/nm-dhcp-manager.c
10998                 - (nm_dhcp_manager_process_signal): clean up spacing
10999
11000 2006-06-21  Dan Williams  <dcbw@redhat.com>
11001
11002         * src/nm-dbus-device.c
11003                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11004                         through dbus
11005
11006 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11007
11008         * configure.in: Added 'lv' to ALL_LINGUAS
11009
11010 2006-06-19  Dan Williams  <dcbw@redhat.com>
11011
11012         * src/NetworkManagerAP.c
11013                 - Clarify usage of user_created
11014
11015         * src/nm-ap-security-wep.c
11016           src/nm-ap-security-wpa-eap.c
11017           src/nm-ap-security-wpa-psk.c
11018           src/nm-ap-security.c
11019           src/nm-ap-security.h
11020                 - s/user_created/adhoc, because we really do mean adhoc
11021
11022         Patch from Bernard Blackham <bernard@blackham.com.au>
11023         * src/nm-device-802-11-wireless.c         
11024                 - (supplicant_send_network_config): instead of user_created,
11025                         use adhoc, and do AP_SCAN 2 for adhoc networks
11026
11027 2006-06-18  Robert Love  <rml@novell.com>
11028
11029         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11030           we have a value to set.  Gconf generates a warning if `val' is NULL.
11031         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11032           unless we actually received a valid private key file passphrase or
11033           password.  Otherwise, we don't know to later ask the applet to pull
11034           the key from the keyring.
11035
11036 2006-06-17  Dan Williams  <dcbw@redhat.com>
11037
11038         * libnm-util/dbus-dict-helpers.[ch]
11039           test/libnm-util/test-dbus-dict-helpers.c
11040                 - Fixes for zero-length byte arrays
11041                 - Replace return values of 0 with FALSE for clarity
11042                 - Test zero-length byte arrays
11043
11044 2006-06-17  Dan Williams  <dcbw@redhat.com>
11045
11046         * libnm-util/dbus-dict-helpers.[ch]
11047           test/libnm-util/test-dbus-dict-helpers.c
11048                 - Add helpers for byte arrays
11049                 - Rework bits of the testcase
11050
11051 2006-06-16  Dan Williams  <dcbw@redhat.com>
11052
11053         * libnm-util/Makefile.am
11054         * libnm-util/dbus-dict-helpers.[ch]
11055                 - Add some helpers to take the pain out of using dict types in
11056                         dbus.
11057
11058         * test/libnm-util/Makefile.am
11059         * test/libnm-util/test-dbus-dict-helpers.c
11060                 - Test cases for the dict helper functions
11061
11062 2006-06-15  Robert Love  <rml@novell.com>
11063
11064         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11065           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11066           if there is no key to pass.
11067         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11068           receiving a non-NULL key.
11069
11070 2006-06-14  Robert Love  <rml@novell.com>
11071
11072         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11073           copy the strings.
11074
11075
11076 2006-06-14  Dan Williams  <dcbw@redhat.com>
11077
11078         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11079         * src/nm-device-802-11-wireless.c
11080                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11081                         or ones where the driver is unknown
11082                 - (supplicant_exec): don't wait for supplicant startup here
11083                 - (supplicant_interface_init): finer grained polling for supplicant
11084                         startup
11085
11086 2006-06-13  Robert Love  <rml@novell.com>
11087
11088         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11089           if it is currently set to TRUE.  Otherwise, we will reset the value
11090           when we connect normally.
11091         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11092           the old BSSID is valid, too.  The recently added ESSID check may not be
11093           sufficient (we can remove it?).  What we really want to catch is the
11094           case of going from all-zeros to the BSSID of some other network, which
11095           happens on failure.
11096
11097 2006-06-09  Dan Williams  <dcbw@redhat.com>
11098
11099         * src/NetworkManagerSystem.[ch]
11100                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11101                         it was unused and pointless
11102                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11103                         fix for set_up_down_with_iface change
11104
11105         * src/vpn-manager/nm-vpn-connection.c
11106                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11107
11108         * src/backends/NetworkManagerPaldo.c
11109           src/backends/NetworkManagerRedHat.c
11110           src/backends/NetworkManagerSuSE.c
11111           src/backends/NetworkManagerArch.c
11112           src/backends/NetworkManagerDebian.c
11113           src/backends/NetworkManagerGentoo.c
11114                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11115                         appropriate
11116                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11117                         where appropriate
11118
11119 2006-06-09  Dan Williams  <dcbw@redhat.com>
11120
11121         Patch from Peter Jones:
11122         * src/nm-device-802-11-wireless.c
11123                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11124                         SSID hasn't changed from what we expect before automatically
11125                         updating the saved BSSID from a new AP
11126
11127 2006-06-08  Robert Love  <rml@novell.com>
11128
11129         Add 'fallback' support.  NetworkManager will attempt to brute-force
11130         connect to networks marked as fallback if there are no better wireless
11131         connections available.  This is useful as a method of last resort, to
11132         work around driver problems, and for use with hidden networks.
11133         * gnome/applet/applet-dbus-devices.c,
11134           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11135         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11136           pass it on via DBUS.
11137         * gnome/applet/applet.c: No fallback by default.
11138         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11139           Update other-network-dialog to add UI checkbox toggling fallback.
11140         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11141           propery from AP object.  Add "fallback" property to AP object.
11142         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11143         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11144         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11145           separate function.  Add get_best_fallback_ap() for returning an AP
11146           on which to attempt fallback.
11147         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11148         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11149
11150 2006-06-07  Robert Love  <rml@novell.com>
11151
11152         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11153           checked that the return type was GCONF_VALUE_STRING, not the correct
11154           GCONF_VALUE_BOOL, and thus it never worked.
11155         * src/NetworkManagerAPList.c: Before concluding that two networks are
11156           identical based on their BSSID, make sure that the BSSID in question
11157           is actually valid.  Specifically, an empty or all zero BSSID does not
11158           cut it.
11159         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11160           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11161           similar invariant clean up.
11162
11163 2006-06-02  Robert Love  <rml@novell.com>
11164
11165         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11166
11167 2006-05-28  Dan Williams  <dcbw@redhat.com>
11168
11169         * gnome/applet/applet.glade
11170           gnome/vpn-properties/nm-vpn-properties.glade
11171                 - Set window icons on dialogs  (Gnome.org #333420)
11172
11173 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11174
11175         * gnome/vpn-properties/nm-vpn-properties.glade:
11176         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11177         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11178         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11179                 - Make the VPN properties pages prettier and more HIG
11180                   compliant. Gnome Bug #336913.
11181
11182 2006-05-28  Dan Williams  <dcbw@redhat.com>
11183
11184         Patch from Christian Persch <chpe@gnome.org>
11185         * gnome/vpn-properties/nm-vpn-properties.c
11186         * gnome/vpn-properties/nm-vpn-properties.glade
11187                 - HIG-ification love  (Gnome.org #336846)
11188
11189 2006-05-28  Dan Williams  <dcbw@redhat.com>
11190
11191         Patch from Christian Persch <chpe@gnome.org>
11192         * configure.in
11193           gnome/vpn-properties/nm-vpn-properties.c
11194                 - (main): Fix option parsing.  Gnome.org #336847
11195
11196 2006-05-28  Dan Williams  <dcbw@redhat.com>
11197
11198         * gnome/vpn-properties/nm-vpn-properties.c
11199                 - (find_vpn_ui_by_service_name): protect against NULL service names
11200                 - (update_edit_del_sensitivity): protect against NULL service names
11201                         Gnome.org #341306
11202
11203 2006-05-28  Dan Williams  <dcbw@redhat.com>
11204
11205         Patch from Chris Fuller <crf@grandecom.net>:
11206         * src/nm-device-802-11-wireless.c
11207                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11208                         don't dispose of wireless-specific stuff unless it is actually
11209                         initialized.  Gnome.org #341263
11210
11211 2006-05-28  Dan Williams  <dcbw@redhat.com>
11212
11213         * src/NetworkManagerPolicy.c
11214                 - (nm_policy_device_change_check): don't switch devices if the "best"
11215                         AP is essentially the same as the current activation request, but
11216                         the current activation request isn't done activating yet.  Fixes
11217                         multiple requests for keyring password on startup for Gnome applet.
11218                         Gnome.org #341297
11219
11220 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11221
11222         * src/NetworkManager.c: use GOptions instead of getopt
11223         * configure.in: bump glib required version to >= 2.6 for GOption
11224           support
11225
11226 2006-05-25  Robert Love  <rml@novell.com>
11227
11228         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11229           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11230           instead of dumping ifdef's throughout the code.
11231         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11232           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11233           use nm_ioctl_info() in lieu.
11234
11235 2006-05-25  Robert Love  <rml@novell.com>
11236
11237         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11238         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11239           not using gcrypt.  Otherwise, we get a linker error.
11240
11241 2006-05-25  Robert Love  <rml@novell.com>
11242
11243         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11244         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11245           configure flag to disable building of the GNOME-based applet.
11246
11247 2006-05-25  Robert Love  <rml@novell.com>
11248
11249         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11250           parameter from link, because it shadows a global variable with some
11251           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11252           should never have exported to the entire system a common four letter
11253           word.  But we here at NetworkManager are team players.  Fixes
11254           GNOME bug #336532.
11255
11256 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11257
11258         * configure.in: Added mk.po, Macedonian translation.
11259
11260 2006-05-24  Robert Love  <rml@novell.com>
11261
11262         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11263           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11264           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11265
11266 2006-05-24  Robert Love  <rml@novell.com>
11267
11268         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11269           libnm-util/Makefile.am, src/Makefile.am,
11270           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11271           vpn-daemons/openvpn/properties/Makefile.am,
11272           vpn-daemons/pptp/auth-dialog/Makefile.am,
11273           vpn-daemons/pptp/properties/Makefile.am,
11274           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11275           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11276           user passed for --datadir, if anything, when setting the GNOME locale
11277           directory.  It should be a function of the specified datadir and not
11278           the prefix.
11279
11280 2006-05-24  Robert Love  <rml@novell.com>
11281
11282         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11283           src/NetworkManager.c: Take care to call bindtextdomain with the
11284           location of msgid files.
11285         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11286           files.
11287
11288 2006-05-22  Robert Love  <rml@novell.com>
11289
11290         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11291           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11292           99% of the time there is a real problem with wireless, and a
11293           seemingly successful connection via Zeroconf just confuses the user.
11294           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11295
11296 2006-05-22  Robert Love  <rml@novell.com>
11297
11298         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11299           autofs on interface up if NIS is configured.  On interface down, do
11300           nothing.
11301
11302 2006-05-22  Robert Love  <rml@novell.com>
11303
11304         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11305           to avoid calling g_object_unref() on stale pointers on error in
11306           nma_icons_free().  This happens because we short-circuit loaded the
11307           icons on the first failure but then free all icons.  Normally we have
11308           no issue because the icons were zero'ed out malloc, but we have stale
11309           pointer data after nma_icon_theme_changed().
11310         * gnome/applet/main.c: Return error code if nma_new() failed.
11311
11312 2060-05-21  Dan Williams  <dcbw@redhat.com>
11313
11314         * initscript/NetworkManager.in
11315                 - Ensure both dhcdbd and named are started before NM
11316
11317 2006-05-21  Dan Williams  <dcbw@redhat.com>
11318
11319         * configure.in
11320                 - Bump version to 0.7 to signify we are in 0.7 development
11321
11322 2006-05-21  Dan Williams  <dcbw@redhat.com>
11323
11324         Patch from Adam Schreiber <sadam@clemson.edu>
11325         * gnome/vpn-properties/nm-vpn-properties.c
11326                 - (main): correct Gnome program name  (gnome.org #342498)
11327
11328 2006-05-21  Dan Williams  <dcbw@redhat.com>
11329
11330         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11331
11332         * src/NetworkManagerDbus.[ch]
11333                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11334                         clarify that function's argument should be an escaped dbus object
11335                         path, and look for path segment end before returning a match
11336         * src/nm-dbus-nm.c:
11337                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11338
11339 2006-05-17  Robert Love  <rml@novell.com>
11340
11341         Functionality to differentiate Ad-Hoc networks from infrastructure
11342         networks in the applet, by displaying a special icon:
11343         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11344         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11345         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11346           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11347           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11348           networks, encrypted or not.
11349         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11350           accessor functions to get and set the mode of a given network,
11351           wireless_network_get_mode() and wireless_network_set_mode().
11352
11353 2006-05-17  Robert Love  <rml@novell.com>
11354
11355         Functionality to automatically add BSSIDs to the allowed-MAC list as
11356         one roams from access point to access point on a given network:
11357         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11358           helper function to compare two ether_addr structures and return TRUE
11359           if they contain the same MAC address.
11360         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11361           prototype.
11362         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11363           stored with the current AP.  If the BSSID has indeed changed, we
11364           send it out to the applet, allowing the allowed-MAC list to grow
11365           automatically in response to roaming.
11366
11367 2006-05-16  Robert Love  <rml@novell.com>
11368
11369         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11370           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11371
11372 2006-05-13  Dan Williams  <dcbw@redhat.com>
11373
11374         * src/nm-device-802-3-ethernet.c
11375                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11376                         carrier detect (Debian bug #366373)
11377
11378 2006-05-11  Dan Williams  <dcbw@redhat.com>
11379
11380         Patch from Michael Biebl <biebl@teco.edu>
11381         * src/backends/NetworkManagerDebian.c
11382                 - Debian backend fixups
11383
11384 2006-05-10  Robert Love  <rml@novell.com>
11385
11386         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11387
11388 2006-05-09  Robert Love  <rml@novell.com>
11389
11390         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11391           private certificate passphrase, if any, in the GNOME Keyring.
11392         * libnm-utils/dbus-helpers.c: Update.
11393
11394 2006-05-05  Dan Williams  <dcbw@redhat.com>
11395
11396         * src/nm-device-802-11-wireless.c
11397                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11398                         nm_device_802_11_wireless_disable_encryption() since that's all
11399                         we use it for anymore; we don't ever set WEP keys ourselves.
11400                 - (real_deactivate_quickly): reset SSID and encryption keys
11401                 - (real_deactivate): move SSID and encryption key reset to
11402                         real_deactivate_quickly(), which gets run before us anyway
11403
11404 2006-05-05  Robert Love  <rml@novell.com>
11405
11406         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11407           root has a wacky default of its own (or, more common, a user has a
11408           bad umask and uses su/sudo to restart NetworkManager).  Anything
11409           other than 0022 does not do what we want with, for example,
11410           resolv.conf.  This problem is amplified by our judicious use of
11411           fopen(), which uses mode 0666 -- implying that the only way to get
11412           the permissions we want is with a umask of 0022.
11413
11414 2006-05-05  Dan Williams  <dcbw@redhat.com>
11415
11416         * gnome/libnm_glib/libnm_glib.c
11417                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11418                         to reconnect; instead wait a bit more with each reconnect attempt
11419                         up to a max of one minute.
11420
11421 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11422
11423         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11424           the WirelessNetwork structure using the proper function instead of
11425           just casting it directly to (const char *) (gnome.org #336991)
11426
11427 2006-05-03  Robert Love  <rml@novell.com>
11428
11429         * src/backends/NetworkManagerSuSE.c: Respect the variable
11430           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11431           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11432           to dynamically update /etc/resolv.conf.
11433
11434 2006-05-02  Peter Jones  <pjones@redhat.com>
11435
11436         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11437
11438 2006-05-02  Robert Love  <rml@novell.com>
11439
11440         Patch by Timo Hoenig;
11441         * tests/nm-online.c: Print pretty status indicator as timeout winds
11442           down.  Also fix possible race between DBUS startup and failure
11443           return.
11444
11445 2006-05-01  Robert Love  <rml@novell.com>
11446
11447         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11448           empty, too.
11449
11450 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11451
11452         * src/nm-device.c (discover_device_type): Actually use the hal
11453         device type instead of ioctl poking
11454
11455 2006-04-26  Robert Love  <rml@novell.com>
11456
11457         * tests/nm-online.c: New file.  Simple utility that returns exit status
11458           noting whether the connection is offline or online.  If offline on
11459           start, it waits 30 seconds (or a command-line given value) for an
11460           online signal.  If it times out, it again returns offline.  This is
11461           useful for scripts that want to wait for network connections.
11462
11463 2006-04-25  Robert Love  <rml@novell.com>
11464
11465         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11466           key mode (the authentication algorithm), e.g. open or shared, when we
11467           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11468           only shared was broken.  If the user specified a shared key, set it
11469           explicitly, otherwise let wpa_supplicant go with the default.
11470
11471 2006-04-24  Dan Williams  <dcbw@redhat.com>
11472
11473         * src/nm-device-802-11-wireless.c
11474                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11475
11476 2006-04-24  Dan Williams  <dcbw@redhat.com>
11477
11478         Commit the async scanning patch
11479
11480         * src/nm-device-802-11-wireless.c
11481                 - get rid of scan_mutex
11482                 - (wireless_event_helper): act on wireless scan events
11483                 - (real_start): schedule a pending scan
11484                 - (link_to_specific_ap): fake the link to the AP during a scan
11485                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11486                         strength during scans
11487                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11488                         nm_device_set_bitrate): unused with new scanning code, disable
11489                 - (nm_device_wireless_schedule_scan): removed
11490                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11491                 - (request_and_convert_scan_results): new function; retrieve scan
11492                         results from the driver and schedule the processing function
11493                 - (scan_results_timeout): timeout triggered when card doesn't send
11494                         a scan results wireless event during a certain interval
11495                 - (schedule_scan_results_timeout): new function; schedule the scan
11496                         results timeout
11497                 - (cancel_scan_results_timeout): new function; cancel the scan
11498                         results timeout
11499                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11500                         to do the scanning.  Otherwise, just request a scan but don't
11501                         grab results here; instead schedule a timeout for scan results and
11502                         let netlink notify us of scan completion events
11503                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11504                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11505                 - (supplicant_status_cb): ignore disconnect events while scanning
11506                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11507                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11508                         timeouts
11509                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11510
11511 2006-04-24  Dan Williams  <dcbw@redhat.com>
11512
11513         * gnome/applet/applet-dbus.c
11514                 - Disable the pending call debug stuff, seems under control now
11515
11516 2006-04-20  Robert Love  <rml@novell.com>
11517
11518         Fix bug where hidden ESSID's would not show up in the applet, even
11519         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11520         because nm_policy_device_list_update_from_allowed_list() would merge
11521         the data, putting a name to the hidden networks, but never notify NMI
11522         of the changes.  Simple fix is to invoke the function
11523         nm_dbus_signal_wireless_network_change() if we make a mapping.
11524         * src/NetworkManagerAPList.c: Call the function
11525           nm_dbus_signal_wireless_network_change() if we made a successful
11526           BSSID to ESSID mapping, notifying the applet of the "new" network.
11527         * src/NetworkManagerAPList.h: Update the prototypes for both
11528           nm_ap_list_copy_essids_by_address() and
11529           nm_ap_list_copy_one_essid_by_address().
11530
11531 2006-04-20  Robert Love  <rml@novell.com>
11532
11533         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11534           not set.  Just return zero.
11535
11536 2006-04-20  Robert Love  <rml@novell.com>
11537
11538         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11539           only one copy of nm-vpn-properties is running at a time via the 'ol
11540           X selection trick.  This prevents the user from opening two "VPN
11541           Connections" windows from within the applet, which leads to mass
11542           hysteria.
11543         * clipboard.c: New file, implementing simple X selection logic.
11544         * clipboard.h: New file.
11545         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11546
11547 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11548
11549         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11550         * configure.in
11551           initscript/Gentoo/Makefile.am
11552           initscript/Gentoo/NetworkManagerDispatcher.in
11553                 - New script
11554         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11555           Gentopia
11556
11557 2006-04-16  Dan Williams  <dcbw@redhat.com>
11558
11559         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11560         * configure.in
11561           initscript/Slackware/Makefile.am
11562           initscript/Slackware/rc.networkmanager-dispatcher.in
11563           initscript/Slackware/rc.networkmanager.in
11564                 - Update slackware initscripts
11565
11566 2006-04-10  Robert Love  <rml@novell.com>
11567
11568         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11569           the "delete_event" signal on the druid's parent window and handle it
11570           our way, lest using the WM to close the druid results in a series of
11571           bloody and ultimately lethal errors.
11572
11573 2006-04-10  Robert Love  <rml@novell.com>
11574
11575         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11576           'Back' too or else the 'Forward' option is initially disabled despite
11577           valid input.
11578
11579 2006-04-06  Robert Love  <rml@novell.com>
11580
11581         Fix bad but simple bug where an active modem connection did not update
11582         NM's connection state, breaking any app that did online/offline:
11583         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11584           represented whether a dial up connection is active, or not.
11585         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11586           to modem activation and deactivation.
11587         * src/NetworkManagerDbus.c: When asked our state, do not return
11588           disconnected if the modem is active.
11589
11590 2006-04-04  Robert Love  <rml@novell.com>
11591
11592         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11593           applet.  It just confuses the crap out of people and does not make a
11594           lot of sense, as the daemon still runs.
11595
11596 2006-04-02  Tor Krill  <tor@krill.nu>
11597
11598         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11599           in start of service.
11600         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11601           get Archlinux backend up to date.
11602
11603 2006-03-29  Robert Love  <rml@novell.com>
11604
11605         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11606         to add support for per-route MSS and improve support for per-interface
11607         MTU:
11608         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11609           optionally take an MSS parameter and set it for the given route.
11610           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11611           NMIP4Config's stored MSS, if any.
11612         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11613           the interface's MTU and the route's MSS, respectively.  Add functions
11614           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11615           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11616           MSS.
11617         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11618           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11619           nm_ip4_config_set_mss.
11620         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11621           VPN daemon.
11622         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11623           Change the retval of nm_system_get_mtu to guint32.
11624         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11625           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11626           servers can specify MTU's, we should set it here if the MTU was not
11627           provided.
11628
11629 2006-03-27  Jürg Billeter  <j@bitron.ch>
11630
11631         * configure.in:
11632         * initscript/Makefile.am:
11633         * initscript/paldo/Makefile.am:
11634         * initscript/paldo/NetworkManager.in:
11635         * initscript/paldo/NetworkManagerDispatcher.in:
11636         * src/backends/Makefile.am:
11637         * src/backends/NetworkManagerPaldo.c:
11638                 - Add paldo support
11639
11640 2006-03-27  Dan Williams  <dcbw@redhat.com>
11641
11642         Patch from Christian Persch <chpe@gnome.org>
11643         * gnome/applet/applet.glade
11644                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11645
11646 2006-03-27  Dan Williams  <dcbw@redhat.com>
11647
11648         Patch from Diffe <diffie@blazebox.homeip.net>
11649         * src/backends/NetworkManagerSlackware.c
11650                 - Don't restart howl, since it's been replaced by Avahi
11651                         in most distributions
11652
11653 2006-03-27  Dan Williams  <dcbw@redhat.com>
11654
11655         Patch from Tor Krill <bugzilla@krill.nu>
11656         * configure.in
11657           initscript/Makefile.am
11658           src/backends/Makefile.am
11659           src/backends/NetworkManagerArch.c
11660           initscript/Arch/Makefile.am
11661           initscript/Arch/networkmanager-dispatcher.in
11662           initscript/Arch/networkmanager.in
11663                 - Add Arch Linux support, fixes gnome.org #335147
11664
11665 2006-03-27  Dan Williams  <dcbw@redhat.com>
11666
11667         Patch from Diffe <diffie@blazebox.homeip.net>
11668      * initscript/Slackware/rc.networkmanager
11669         - update, fixed gnome.org #333368
11670
11671 2006-03-27  Robert Love  <rml@novell.com>
11672
11673         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11674           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11675
11676 2006-03-27  Robert Love  <rml@novell.com>
11677
11678         Patch by Jürg Billeter <j@bitron.ch>:
11679         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11680           systems.
11681         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11682           as we prefer glibc over kernel headers, if possible.
11683
11684 2006-03-27  Robert Love  <rml@novell.com>
11685
11686         Patch by Jon Escombe <list@dresco.co.uk>:
11687         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11688         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11689           fail, don't bail out.  We don't expect all of the various WPA-EAP
11690           values to be present.
11691         * src/nm-ap-security.c: We need to match all capabilities for each
11692           encryption type, not any one of them.
11693
11694 2006-03-27  Robert Love  <rml@novell.com>
11695
11696         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11697           restart, not reload, ypbind.  Unfortunately there is no superior
11698           solution.
11699
11700 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11701
11702         * gnome/applet/applet-notifications.c:
11703         When displaying a notification, make sure to get rid of the
11704         previous notification so as to not have competing bubbles,
11705         and stop leaking the old one.
11706
11707         * gnome/applet/applet.c:
11708         * gnome/applet/applet.h:
11709         Add a new 'notification' member to the applet, and zero it out
11710         and free it appropriately.
11711
11712 2006-03-23  Robert Love  <rml@novell.com>
11713
11714         Patch by j <j@bootlab.org>:
11715         * gnome/applet/applet.glade: Don't set the invisible_char property,
11716           which simply overrides the GTK default.  By and by, this behavior
11717           ought to be fixed in Glade.
11718
11719 2006-03-22  Robert Love  <rml@novell.com>
11720
11721         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11722
11723 2006-03-22  Robert Love  <rml@novell.com>
11724
11725         Bug fix by Timo Hoenig <thoenig@suse.de>:
11726         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11727           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11728           and the applet going AWOL.
11729
11730 2006-03-22  Robert Love  <rml@novell.com>
11731
11732         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11733           preprocessor define and use it instead of open-coded the DHCP
11734           timeout, which is currently 25 seconds, everywhere.
11735
11736 2006-03-22  Robert Love  <rml@novell.com>
11737
11738         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11739         key exchange via WPA, ostensibly providing good security without
11740         requiring hardware that supports full WPA.  Also, add UI elements to
11741         allow the user to select the pairwise & group cipher for WPA Enterprise
11742         networks, too:
11743         * gnome/applet/applet.glade: Update glade file.
11744         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11745           key type, too, to and from gconf.
11746         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11747           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11748           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11749           the capabilities match.
11750         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11751           prototype.
11752         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11753           serialize from UI to DBUS.
11754         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11755           one element.
11756         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11757           nmu_security_serialize_wpa_eap_with_cipher(), and
11758           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11759           serialize/deserialize the key type via DBUS as the new third DBUS
11760           parameter.
11761         * libnm-util/dbus-helpers.h: Update prototypes.
11762         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11763           too.  If the key type is WEP104, do Dynamic WEP, which means
11764           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11765           pairwise and group ciphers (fixes a FIXME).
11766
11767 2006-03-21  Robert Love  <rml@novell.com>
11768
11769         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11770           nm_system_get_mtu(), which returns a user-provided or system-mandated
11771           MTU value for a given device, if any, or zero if no such value
11772           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11773           if we have a provided value.
11774         * src/nm-device.c: Set the MTU of devices.
11775         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11776         * src/backends/NetworkManagerDebian.c,
11777           src/backends/NetworkManagerGentoo.c,
11778           src/backends/NetworkManagerRedHat.c,
11779           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11780
11781 2006-03-21  Robert Love  <rml@novell.com>
11782
11783         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11784           configuration file.
11785
11786 2006-03-17  Robert Love  <rml@novell.com>
11787
11788         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11789           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11790           it, in case it is not running in the first place.  We just want its
11791           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11792
11793 2006-03-15  Robert Love  <rml@novell.com>
11794
11795         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11796           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11797           label "WEP 40/128-bit" is inconsistent because the physical key size
11798           is 40 or 104-bits, to which a 24-bit initialisation vector is
11799           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11800           to read "40/104" or "64/128".  I do not care much which, but most
11801           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11802           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11803           WEP passphrase support only handles 128-bit keys, and any future
11804           64-bit passphrase support will require a new option (no way to auto-
11805           detect the target key size), explicitly label our passphrase support
11806           "WEP 128-bit Passphrase".
11807
11808 2006-03-15  Robert Love  <rml@novell.com>
11809
11810         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11811           the system init scripts (or some other mechanism) starting it (or a
11812           compatible DBUS service) before NetworkManager runs.  This means that
11813           distributions might need to update their init scripts.  This fixes
11814           possible races and is quite a bit cleaner.
11815         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11816           starting the NetworkManager daemon.
11817
11818
11819 2006-03-14  Robert Love  <rml@novell.com>
11820
11821         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11822           before adding anything.
11823
11824 2006-03-13  Robert Love  <rml@novell.com>
11825
11826         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11827           widgets, too, if they exist, in case the user hit the back button.
11828           Fixes a bug where the details page contains the widgets of multiple
11829           VPN modules (Novell bug #157048).
11830
11831 2006-03-13  Robert Love  <rml@novell.com>
11832
11833         Patch by Timo Hoenig <thoenig@suse.de>:
11834         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11835           daemon survive DBUS restarts, too.
11836
11837 2006-03-10  Robert Love  <rml@novell.com>
11838
11839         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11840           passphrase or key.
11841         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11842           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11843           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11844           in response to "toggled" signal on new toggle.
11845
11846 2006-03-10  Robert Love  <rml@novell.com>
11847
11848         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11849           serialization if strings are NULL, lest DBUS get angry.
11850
11851 2006-03-10  Robert Love  <rml@novell.com>
11852
11853         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11854
11855 2006-03-09  Robert Love  <rml@novell.com>
11856
11857         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11858           configurations.
11859
11860 2006-03-09  Dan Williams  <dcbw@redhat.com>
11861
11862         Track pending call requests in the applet, and report how many are
11863         outstanding, and how long each completed one takes.
11864         
11865         * gnome/applet/applet-dbus-devices.c
11866           gnome/applet/applet-dbus-vpn.c
11867                 - Track pending calls
11868
11869         * gnome/applet/applet-dbus.[ch]
11870                 - Remove some unused enums
11871                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11872                         new functions to track dbus pending calls and spit out some
11873                         statistics about them
11874
11875 2006-03-09  Robert Love  <rml@novell.com>
11876
11877         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11878           nm_ap_set_timestamp() take the second and micro-second parameters as
11879           direct arguments, which avoids both a dynamic memory allocation and a
11880           structure-to-structure copy!  Add a new interface, the aptly named
11881           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11882           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11883           the return from nm_ap_get_timestamp().  New users should use the new
11884           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11885           the extreme benefit to performance.
11886         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11887           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11888
11889 2006-03-08  Robert Love  <rml@novell.com>
11890
11891         * gnome/applet/applet.glade: Hide the password entry text with
11892           asterisks.
11893
11894 2006-03-08  Robert Love  <rml@novell.com>
11895
11896         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11897           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11898           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11899           a second argument, NMData.
11900         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11901         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11902           config files as trusted.
11903
11904 2006-03-06  Robert Love  <rml@novell.com>
11905
11906         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11907         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11908           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11909           Rivera, detect if the applet was auto-started.  If so, ask the user
11910           if he or she would like to stop automatically running the applet on
11911           login.  If so, disable autostart.
11912
11913 2006-03-06  Robert Love  <rml@novell.com>
11914
11915         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
11916           directory in CFLAGS so developers can actually use NetworkManager.h.
11917
11918 2006-03-06  Robert Love  <rml@novell.com>
11919
11920         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11921           open-coded integer constants.  Add state_to_string() to map a given
11922           state to a textual description, and provide that when notifying of
11923           state change.
11924         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11925           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
11926           this header directly, but it is currently not installed on most
11927           systems.
11928
11929 2006-03-05  Dan Williams  <dcbw@redhat.com>
11930
11931         Process netlink messages in device subclasses rather than in
11932         NetworkManager.c.  Also add support for recognizing Wireless Events.
11933         
11934         * configure.in
11935                 - Find GLIB_GENMARSHAL
11936
11937         * src/Makefile.am
11938                 - Since we're marshalling custom types for wireless event signals,
11939                         we get to create our own marshallers using GLIB_GENMARSHAL
11940
11941         * src/NetworkManager.c
11942                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11943                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11944                         cut down somewhat.  We no longer process signals here.
11945                 - (nm_data_new): create the netlink monitor here, and remove a
11946                         useless call to nm_policy_schedule_device_change_check()
11947                 - (nm_data_free): get rid of the netlink monitor here
11948                 - (nm_device_link_activated, nm_device_link_deactivated): removed
11949                 - (main): don't create the netlink monitor here, let nm_data_new
11950                         do that.  Call nm_policy_schedule_device_change_check() right
11951                         before we jump to the mainloop to figure out which device
11952                         to use first
11953
11954         * src/NetworkManagerSystem.[ch]
11955                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11956                         convert back and forth from interface names to interface
11957                         indexes
11958
11959         * src/nm-device-802-11-wireless.c
11960                 - (real_init): connect to wireless-event signals from the netlink
11961                         monitor object
11962                 - (nm_device_802_11_wireless_event): new function, schedule handler
11963                         for wireless event signals from the netlink monitor object.  We
11964                         want the handler to run in the device's context
11965                 - (wireless_event_helper): handle wireless-event signals from netlink
11966                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
11967                         signal handler
11968
11969         * src/nm-device-802-11-wireless.h
11970                 - remove unused prototype for nm_device_802_11_wireless_new
11971
11972         * src/nm-device-802-3-ethernet.c
11973                 - (real_init): new function; set up signal handlers for link events
11974                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
11975                         handler for netlink link activated events on device's main loop
11976                 - (link_activated_helper): when we get a link activated event, set
11977                         the device's link to be active
11978                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
11979                         handler for netlink link deactivated events on device's main loop
11980                 - (link_deactivated_helper): when we get a link deactivated event, set
11981                         the device's link to be inactive
11982                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
11983                         dispose
11984
11985         * src/nm-device-802-3-ethernet.h
11986                 - remove unused prototype for nm_device_802_3_ethernet_new
11987
11988         * src/nm-device.[ch]
11989                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
11990                         but locks the device list
11991                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
11992
11993         * src/nm-netlink-monitor.[ch]
11994                 - (nm_netlink_monitor_class_install_signals): New signal
11995                         "wireless-event"
11996                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
11997                         at the device list
11998                 - (nm_netlink_monitor_event_handler): expand for wireless events too
11999
12000         * src/nm-marshal-main.c
12001                 - Include generated nm-marshal.c and nm-marshal.h
12002
12003         * src/nm-marshal.list
12004                 - List of custom marshal functions
12005
12006 2006-03-05  Dan Williams  <dcbw@redhat.com>
12007
12008         * gnome/applet/applet-notifications.h
12009                 - Protect prototype of nma_send_event_notification() because it
12010                         includes libnotify-specific types
12011                 - Include libnotify/libnotify.h too, since we technically need it
12012
12013         * gnome/applet/applet.c
12014                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12015                 - (nma_show_vpn_login_banner_dialog): add some error checking
12016
12017 2006-03-04  Dan Williams  <dcbw@redhat.com>
12018
12019         Clean up activation cancellation.  Should be a lot faster now.  Observed
12020         an issue with wireless devices between stage 2 and 3 of activation, where
12021         activation would be cancelled, but the device thread wouldn't notice until
12022         the supplicant association timed out.  Reorganize activation such that
12023         a cancellation handler gets immediately scheduled in the device's thread,
12024         and devices have a chance to perform any custom cleanup too.
12025
12026         * src/nm-device.[ch]
12027                 - (activation_cancel_handler): new device-type-specific function
12028                         for cleaning up device-type-specific stuff on cancellation
12029                 - (cancel_activation): removed
12030                 - (nm_device_activation_cancel): subsume functionality of
12031                         real_cancel_activation, but instead of doing anything, punt
12032                         operation to a handler that's run in device-thread context
12033                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12034                         a warning message
12035                 - (activation_handle_cancel_helper): cancellation handler run in
12036                         device-thread context, calls device-type-specific cancelation,
12037                         then tears down the activation request
12038                 - (real_activation_cancel_handler): generic cancellation handler,
12039                         deals with cancelling any in-process DHCP request
12040                 - (nm_device_activate_stage1_device_prepare,
12041                    nm_device_activate_stage2_device_config,
12042                    nm_device_activate_stage3_ip_config_start,
12043                    nm_device_activate_stage4_ip_config_get,
12044                    nm_device_activate_stage4_ip_config_timeout,
12045                    nm_device_activate_stage5_ip_commit): don't call
12046                         nm_device_schedule_activation_handle_cancel() any more, since
12047                         cancellation will have been already scheduled for us by
12048                         nm_device_activation_cancel().  Just exit the function and
12049                         assume that the cancel handler will be called next.
12050
12051         * src/nm-device-802-3-ethernet.c
12052                 - (real_act_stage2_config): remove; didn't do anything anyway
12053
12054         * src/nm-device-802-11-wireless.c
12055                 - (supplicant_status_cb): ensure we don't do anything if the activation
12056                         got cancelled
12057                 - (real_activation_cancel_handler): implement; cancel user key request
12058                         on activation cancellation
12059
12060 2006-03-04  Dan Williams  <dcbw@redhat.com>
12061
12062         * src/nm-device-802-11-wireless.c
12063                 - (supplicant_send_network_config): assume that drivers that don't
12064                         support WPA pretty much suck, and can't handle NM scanning
12065                         along with wpa_supplicant.
12066
12067 2006-03-03  Robert Love  <rml@novell.com>
12068
12069         * configure.in: Bump version to 0.6.0.
12070         * NEWS: Update.
12071
12072 2006-03-03  Robert Love  <rml@novell.com>
12073
12074         * configure.in: Require DBUS 0.60 or later.
12075
12076 2006-03-03  Dan Williams  <dcbw@redhat.com>
12077
12078         Fix a crash if an "Other wireless network" was chosen, failed, then
12079         chosen again from the applet's menu.  If the other network wasn't
12080         noticed in a scan, it wouldn't have any capabilities, but would still
12081         be listed because the user forced the network.  To fix this, we set
12082         sensible capabilities on the forced network, which will get overwritten
12083         with the correct ones if the network shows up later in a scan.
12084         
12085         * src/nm-ap-security.h
12086                 - Add a new "get_default_capabilities_func" member to the
12087                         NMAPSecurity class
12088
12089         * src/nm-ap-security.c
12090                 - (nm_ap_security_get_default_capabilities): new function
12091
12092         * src/nm-ap-security.c
12093           src/nm-ap-security-wep.c
12094           src/nm-ap-security-wpa-psk.c
12095           src/nm-ap-security-wpa-eap.c
12096                 - Implement get_default_capabilities_func() for all, which
12097                         uses the information contained in a specific NMAPSecurity
12098                         object to determine default AP capabilites necessary
12099                         to support that object
12100
12101         As a secondary measure, we now prune artificial access points that fail
12102         to be activated right away.  The thing failed, and we have no scan data for
12103         it, so it's pretty much useless since security information is only saved
12104         in the applets when a connection is successful.
12105
12106         * src/NetworkManagerAPList.c
12107                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12108                         not artificial.  If we see it, it's no longer a figment of the
12109                         user's imagination :)
12110
12111         * src/NetworkManagerPolicy.c
12112                 - (nm_policy_activation_failed): send along the failed AP if we
12113                         have it
12114
12115         * src/nm-device-802-11-wireless.c
12116                 - (real_activation_failure_handler): remove artificial APs from
12117                         the device list, because activation failed
12118
12119 2006-03-02  Robert Love  <rml@novell.com>
12120
12121         Add support for retrieving both the per-device speed and the
12122         per-network maximum supported rate.  Then change the getProperties
12123         DBUS API for both networks and devices to report this informaiton.
12124         Finally, display the information via both nm-applet and nm-tool:
12125         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12126           and set it.
12127         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12128           Information' dialog.
12129         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12130         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12131           network_device_get_speed() and network_device_set_speed() for
12132           retrieving and setting, respectively, a network device's current
12133           speed.
12134         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12135         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12136           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12137           not matter (yet) what the units are, because we only feed it its own
12138           output.  Implement SIOCGIRATE and set the per-network maximum
12139           supported rate during scanning.
12140         * src/nm-device-802-11-wireless.h: Export the function
12141           nm_device_802_11_wireless_get_bitrate().
12142         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12143           function nm_device_802_3_ethernet_get_speed() for returning an
12144           802.3's current speed, in Mb/s.
12145         * test/nm-tool.c: Display the per-device current speed, if available,
12146           and the per-network maximum rate.
12147
12148 2006-03-02  Dan Williams  <dcbw@redhat.com>
12149
12150         * src/nm-device-802-11-wireless.c
12151                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12152                         card when it gets initialized.  Since devices don't get added to
12153                         the scan list until they are initialized, this function wasn't
12154                         setting the intitial scan interval correctly, and was leaving
12155                         it at 0.  This caused cards to get many scan requests in a short
12156                         amount of time when they were initialized
12157
12158 2006-03-02  Robert Love  <rml@novell.com>
12159
12160         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12161           active device.  But do not do what we used to do and override the
12162           state, which caused the dreaded icon race of '05.
12163
12164 2006-03-02  Robert Love  <rml@novell.com>
12165
12166         Commit Dan's update of my previous commit:
12167         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12168           set_mode() function itself does the check.  But do only set the
12169           frequency if in Ad-Hoc mode.
12170
12171 2006-03-02  Robert Love  <rml@novell.com>
12172
12173         Patch by Brian Magnuson <magnuson@rcn.com>:
12174         * src/nm-device-802-11-wireless.c: During scanning, only set the
12175           wireless mode to infrastructure if it is not currently in
12176           infrastructure mode.  For some driver, setting the mode is a costly
12177           operation, apparently.
12178
12179 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12180
12181         * Makefile.am: use the correct dir for autostart mechanism.
12182
12183 2006-02-28  Dan Williams  <dcbw@redhat.com>
12184
12185         Patch from Brian Magnuson <magnuson@rcn.com>
12186         * gnome/applet/applet.c
12187                 - (nma_show_vpn_failure_dialog): fix errors left over from
12188                         libnotify support changes
12189
12190 2006-02-28  Dan Williams  <dcbw@redhat.com>
12191
12192         * src/vpn-manager/nm-vpn-act-request.[ch]
12193                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12194                         just one value
12195                 - (nm_vpn_act_request_is_failed): new function; return whether or
12196                         not the vpn activation request has failed
12197
12198         * src/vpn-manager/nm-vpn-manager.c 
12199                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12200                         daemon to kill the connection when the activation request fails.
12201                         Fixes issue where NM would get confused if the VPN activation
12202                         request timed out, and would not allow further VPN connections
12203                         on that service.
12204
12205 2006-02-28  Dan Williams  <dcbw@redhat.com>
12206
12207         * gnome/applet/applet.c
12208                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12209                         overlapping connection requests, disable all VPN menu items
12210                         but the active VPN connection
12211
12212 2006-02-28  Dan Williams  <dcbw@redhat.com>
12213
12214         * src/vpn-manager/nm-vpn-connection.c
12215                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12216                         called g_object_unref() on the connection's parent device
12217                         when it should have been ref-ed instead.  Fixes crash with
12218                         repeated vpn connect requests
12219
12220 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12221
12222         * gnome/applet/applet.glade:
12223         Mark a few strings non-translatable, since they shouldn't be.
12224
12225 2006-02-28  Dan Williams  <dcbw@redhat.com>
12226
12227         * src/vpn-manager/nm-vpn-service.c
12228                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12229                         already running, don't blindly ask it to connect, but wait until
12230                         it's in the STOPPED state first.  Fixes an assertion when user
12231                         starts a second vpn connection without stopping the first.
12232                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12233                         dbus service exists before continuing with the connection
12234                         process, and reduce latency while waiting for it to become
12235                         available
12236                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12237                         waiting for the vpn service daemon to become available
12238                 - General log message cleanups; show progress via "Stage x of 4"
12239                         rather than not telling anyone how many stages there are
12240
12241 2006-02-28  Robert Love  <rml@novell.com>
12242
12243         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12244         * src/backends/NetworkManagerSuSE.c: Implement the interface
12245           nm_system_should_modify_resolv_conf() for SUSE.
12246         * src/backends/NetworkManagerDebian.c,
12247           src/backends/NetworkManagerGentoo.c,
12248           src/backends/NetworkManagerRedHat.c,
12249           src/backends/NetworkManagerSlackware.c: Add stub.
12250         * src/named-manager/Makefile.am: Grab includes from src.
12251         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12252           automatic updating of resolv.conf.  This is useful for testing,
12253           broken static configurations, and administrator lock-down.
12254
12255 2006-02-28  Dan Williams  <dcbw@redhat.com>
12256
12257         * src/nm-device-802-11-wireless.c
12258                 - Move all the wpa_supplicant-related management stuff into its
12259                         own struct, just for oranization's sake
12260                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12261                         to a GIOChannel/GSource
12262                 - (supplicant_log_stdout): new function; grab output from the
12263                         wpa_supplicant stdout pipe and write it to our logs.
12264
12265 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12266
12267         * src/nm-device-802-11-wireless.c:
12268         Err, fix thinko in my previous commit.
12269
12270 2006-02-28  Robert Love  <rml@novell.com>
12271
12272         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12273
12274 2006-02-28  Robert Love  <rml@novell.com>
12275
12276         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12277           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12278           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12279           deserializers are responsible for freeing the returned DBUS strings.
12280
12281 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12282
12283         * src/nm-device-802-11-wireless.c:
12284         The scan list is being pruned prematurely.  We should prune after
12285         the device has gone MIA for three scans, not one.  Split out the
12286         interval to realtime seconds function to better serve this.
12287
12288 2006-02-27  Robert Love  <rml@novell.com>
12289
12290         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12291           Open the pid file O_TRUNC, so if it already exists we truncate it to
12292           zero length.  Also, be more verbose about warnings generated during
12293           writing out the pid file.  Finally, always write out the pid file if
12294           in daemon mode.  Use "--pid-file" to override the default.
12295
12296 2006-02-27  Robert Love  <rml@novell.com>
12297
12298         Patch by R. Vinay <rvinay@novell.com>:
12299         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12300           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12301           Novell bug #153628).
12302           
12303 2006-02-27  Robert Love  <rml@novell.com>
12304
12305         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12306           entry so user can hit <ENTER> after entering passphrase (Novell bug
12307           #153738).
12308
12309 2006-02-27  Dan Williams  <dcbw@redhat.com>
12310
12311         * gnome/applet/*
12312                 - Mass search/replace of:
12313                         nmwa -> nma
12314                         NMWirelessApplet -> NMApplet
12315                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12316                    (it ain't just for wireless anymore, ma!)
12317                 - Fix duplicate function name printing when using nm_warning
12318                 - wireless-applet.glade -> applet.glade
12319
12320 2006-02-27  Dan Williams  <dcbw@redhat.com>
12321
12322         * dispatcher-daemon/NetworkManagerDispatcher.c
12323                 - Accept --pid-file with a path to a pidfile, write it out on
12324                         startup, and delete it on shutdown
12325
12326         * src/NetworkManager.c
12327                 - Accept --pid-file with a path to a pidfile, write it out on
12328                         startup, and delete it on shutdown
12329                 - Move nm_print_usage() lower
12330
12331         * initscripts/RedHat/NetworkManager.in
12332                 - Use new --pid-file option
12333                 - Fix service stopping to wait a bit for NM to quit
12334
12335         * initscripts/RedHat/NetworkManagerDispatcher.in
12336                 - Use new --pid-file option
12337
12338 2006-02-26  Dan Williams  <dcbw@redhat.com>
12339
12340         * src/Makefile.am
12341                 - make and install nm-crash-logger
12342
12343         * src/nm-logging.[ch]
12344                 - New files; consolidate logging and crash handling
12345
12346         * src/nm-crash-logger.c
12347           src/gdb-cmd
12348                 - Standalong crashlogger for NM, grab a backtrace
12349                         using GDB
12350
12351         * src/NetworkManager.[ch]
12352                 - Remove signal handling and put it into nm-logging.c
12353
12354 2006-02-26  Dan Williams  <dcbw@redhat.com>
12355
12356         * configure.in
12357           gnome/applet/Makefile.am
12358                 - Conditionalize all the notify stuff
12359
12360         Merge most of Chris Aillon's notification patch:
12361         
12362         * gnome/applet/applet-notifications.[ch]
12363                 - New files; show a notification
12364         
12365         * gnome/applet/applet-dbus-devices.[ch]
12366                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12367                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12368                         new functions, do the right thing when a device change occurs
12369
12370         * gnome/applet/applet-dbus.c
12371                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12372                         signals, so we can handle them specially
12373
12374         * gnome/applet/applet.[ch]
12375                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12376                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12377                 - (nmwa_notify_state): remove
12378                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12379                         notification work is now done when the appropriate dbus signals
12380                         are received.
12381                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12382                         defer execution of the notification/dialog stuff.  That was an
12383                         artifact of the previous multi-threaded nature of the applet
12384                         and is now pointless.
12385                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12386                         no longer needed.  Function folded into applet-notifications.c
12387
12388         * src/NetworkManagerPolicy.c
12389                 - (nm_policy_activation_finish): send the AP along with the device
12390                         status change signal, if the connection is wireless.  Should
12391                         fix the race where applet would show a connection to "unknown"
12392
12393 2006-02-25  Robert Love  <rml@novell.com>
12394
12395         Add WPA Enterprise support:
12396         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12397           nm-gconf-wso-wpa-eap.h.
12398         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12399           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12400           serialization and deserialization.
12401         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12402           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12403           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12404         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12405           settings related to WPA Enterprise.
12406         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12407           instantiate WPA Enterprise wireless-security-option.
12408         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12409           Implement WPA Enterprise wireless-security-option object.
12410         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12411           defines.  Cleanup.
12412         * libnm-util/cipher-wpa-psk-hex.c,
12413           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12414         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12415           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12416           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12417           including the cipher to DBUS method, and
12418           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12419           to output.
12420         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12421           nm-ap-security-wpa-eap.h
12422         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12423           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12424         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12425           files.  Implement NMAPSecurityWPA_EAP object.
12426         * src/nm-ap-security-wpa-psk.c: Cleanup.
12427         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12428           an NMAPSecurityWPA_EAP object via the method
12429           nm_ap_security_wpa_eap_new_deserialize().
12430         * src/nm-dbus-nm.c: Cleanup.
12431         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12432           WPA Enterprise support.
12433
12434 2006-02-24  Robert Love  <rml@novell.com>
12435
12436         Patch from Timo Hoenig <thoenig@suse.de>:
12437         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12438
12439 2006-02-24  Robert Love  <rml@novell.com>
12440
12441         Patch from Dan Winship <danw@novell.com>:
12442         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12443           area to transparent.
12444
12445 2006-02-21  Dan Williams  <dcbw@redhat.com>
12446
12447         * gnome/applet/applet.[ch]
12448           gnome/applet/applet-dbus.c
12449                 - Implement notification support for VPN messages too
12450
12451 2006-02-21  Dan Williams  <dcbw@redhat.com>
12452
12453         * gnome/applet/applet-dbus-info.c
12454                 - Clean up warning messages to not double-print the function
12455
12456 2006-02-21  Dan Williams  <dcbw@redhat.com>
12457
12458         * gnome/applet/applet-compat.c
12459                 - (convert_one_entry): accept entries without a key_type and
12460                         convert them to unencrypted networks
12461
12462 2006-02-21  Dan Williams  <dcbw@redhat.com>
12463
12464         * gnome/libnm_glib/libnm_glib.c
12465                 - Use __func__ everywhere we can
12466                 - Code cleanups
12467                 - Use dbus pending calls rather than blocking
12468                 - Reduce busywaits for our thread to start and stop
12469                         (gnome.org #330562)
12470                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12471                         stomp on others using the default shared dbus connection.
12472                         Fixes #rh177546# and gnome.org #326572
12473
12474 2006-02-21  Dan Williams  <dcbw@redhat.com>
12475
12476         Patch from Rodney Dawes <dobey@novell.com>
12477         * configure.in
12478           gnome/applet/Makefile.am
12479           gnome/applet/applet.c
12480                 - Add libnotify support if '--enable-notify=yes' is passed
12481                   at configure time
12482
12483 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12484
12485         * configure.in (ALL_LINGUAS): ko added. (Korean)
12486
12487 2006-02-15  Robert Love  <rml@novell.com>
12488
12489         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12490           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12491           and WPA_SUPPLICANT_CONTROL_SOCKET.
12492         
12493 2006-02-15  Robert Love  <rml@novell.com>
12494
12495         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12496           information about what connection stage we are at, provide the total
12497           number of stages, e.g. "Stage 2 of 5", so users know how far along
12498           they are if they experience problems.
12499
12500 2006-02-15  Robert Love  <rml@novell.com>
12501
12502         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12503           define to $sysconfdir.
12504         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12505           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12506           type of VPN and then editing another results in a mangled dialog
12507           box containing the widgets from both VPNs (fixes Novell #150854).
12508           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12509
12510 2006-02-14  Robert Love  <rml@novell.com>
12511
12512         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12513           syslog's file descriptor.
12514
12515 2006-02-14  Robert Love  <rml@novell.com>
12516
12517         Fix bug around since the change to "deal with APs changing settings on
12518         us," checked in on the fifth of February in the year of the dog, 
12519         wherein connecting to non-broadcast encrypted networks always fails
12520         because nm_ap_get_encrypted() always returns FALSE, even when the user
12521         provided a key, because the newly-created fake AP does not have any
12522         capabilities set, which is a sypmtom of security settings not matching
12523         capabilities (Novell bug #150784):
12524         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12525           nm_ap_add_capabilities_from_security(), which sets the given AP's
12526           capabilities off the given security settings.  Also improve our
12527           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12528           NM_AUTH_CIPHER_AUTO.
12529         * src/nm-device-802-11-wireless.c: Call the function
12530           nm_ap_add_capabilities_from_security() to ensure that capabilities
12531           match newly updated security settings.
12532
12533 2006-02-14  Robert Love  <rml@novell.com>
12534
12535         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12536           error as a string, not an integer, if possible; do not print the
12537           function name twice; always give the interface, if possible; misc.
12538           cleanup.
12539
12540 2006-02-12  Dan Williams  <dcbw@redhat.com>
12541
12542         Patch from Tom Parker <palfrey@tevp.net>
12543         * src/NetworkManagerSystem.h
12544                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12545                         no longer used
12546
12547         * src/backends/NetworkManagerDebian.c
12548                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12549                         unused variables
12550
12551 2006-02-12  Dan Williams  <dcbw@redhat.com>
12552
12553         * vpn-daemons/openvpn/intltool-extract.in
12554           vpn-daemons/openvpn/intltool-merge.in
12555           vpn-daemons/openvpn/intltool-update.in
12556           vpn-daemons/pptp/intltool-extract.in
12557           vpn-daemons/pptp/intltool-merge.in
12558           vpn-daemons/pptp/intltool-update.in
12559                 - Remove from CVS, they should get created by intltoolize,
12560                         shouldn't they?
12561
12562 2006-02-12  Dan Williams  <dcbw@redhat.com>
12563
12564         * vpn-daemons/pptp/src/pppd/patchlevel.h
12565         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12566                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12567                         Makefile-defined VERSION
12568
12569 2006-02-09  Dan Williams  <dcbw@redhat.com>
12570
12571         Patch from: Vinay A R <rvinay@novell.com>
12572         * src/vpn-manager/nm-vpn-act-request.[ch]
12573                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12574                         IPSec VPNs require them for std gateway.
12575                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12576                         and 'user_routes_count'
12577                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12578                         defined routes  from NMVPNActRequest object, returns the string
12579                         array of routes.
12580
12581         * src/vpn-manager/nm-vpn-manager.[ch]
12582                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12583                         for 'user_routes' and 'user_routes_count'
12584         
12585         * src/vpn-manager/nm-dbus-vpn.c
12586                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12587                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12588         
12589         * src/vpn-manager/nm-vpn-service.c
12590                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12591                         the vpn daemon
12592
12593         Modifications by Dan:
12594         * src/vpn-manager/nm-vpn-service.c
12595                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12596                         arrays into dbus
12597
12598         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12599         * vpn-daemons/pptp/src/nm-pptp-service.c
12600         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12601                 - Grab user routes from dbus message
12602                 - Free all string arrays we got from dbus
12603
12604 2006-02-07  Robert Love  <rml@novell.com>
12605
12606         Patch by Stefan Seyfried <seife@suse.de>:
12607         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12608
12609 2006-02-06  Robert Love  <rml@novell.com>
12610
12611         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12612
12613 2006-02-06  Robert Love  <rml@novell.com>
12614
12615         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12616           test ">=" is never false.  If no newline is found, we loop forever.
12617           We can just check for ">" because the following if() will see the
12618           zero-th argument if the while() gets that far.
12619
12620 2006-02-05  Dan Williams  <dcbw@redhat.com>
12621
12622         Refine handling of non-broadcast networks.
12623
12624         * src/NetworkManagerAPList.c
12625                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12626                         property from scanned AP to the AP from the device list
12627
12628         * src/nm-device-802-11-wireless.c
12629                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12630                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12631                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12632                         networks since those don't have APs.
12633                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12634                         AP as non-SSID-broadcasting
12635                 - (process_scan_results): don't handle non-SSID-broadcasting here
12636
12637 2006-02-05  Dan Williams  <dcbw@redhat.com>
12638
12639         * src/nm-device-802-11-wireless.c
12640                 - (get_supplicant_timeout): new function; return
12641                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12642                         14 channels.  These are likely a/b/g cards, like Atheros, and
12643                         slow as hell to scan.
12644                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12645                         get_supplicant_timeout()
12646
12647 2006-02-05  Dan Williams  <dcbw@redhat.com>
12648
12649         * src/dhcp-manager/nm-dhcp-manager.c
12650                 - Loose a commit race with Robert; make sure size check
12651                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12652
12653 2006-02-05  Robert Love  <rml@novell.com>
12654
12655         Patch by Christoph Brill <chrisbrill@gmx.net>:
12656         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12657           with DHCP_SERVICE_NAME.
12658
12659 2006-02-05  Dan Williams  <dcbw@redhat.com>
12660
12661         Remove anything having to do with device_setup_func from the
12662         AP security objects, since it's no longer used.
12663
12664         * src/nm-ap-security.h
12665                 - Kill device_setup_func and nm_ap_security_device_setup()
12666
12667         * src/nm-ap-security-wep.c
12668           src/nm-ap-security-wpa-psk.c
12669                 - (real_device_setup): remove
12670
12671         * src/nm-ap-security.c
12672                 - (real_device_setup): remove
12673                 - (nm_ap_security_device_setup): remove
12674
12675         * src/nm-device-802-11-wireless.[ch]
12676                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12677                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12678                         and done by wpa_supplicant now anyway
12679
12680 2006-02-05  Dan Williams  <dcbw@redhat.com>
12681
12682         * src/nm-device-802-11-wireless.c
12683                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12684                         settings on us.  Previously NM would loop asking for the
12685                         key but getting the same one back.  Now, if the NMI-supplied
12686                         cipher doesn't overlap with the scanned AP capabilities,
12687                         we request a completely new key from the user.
12688
12689 2006-02-05  Dan Williams  <dcbw@redhat.com>
12690
12691         * src/NetworkManagerUtils.c
12692                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12693                         Handle newline killing better
12694
12695 2006-02-05  Dan Williams  <dcbw@redhat.com>
12696
12697         * gnome/applet/nm-gconf-wso.c
12698                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12699                         of unencrypted access point security info.
12700
12701 2006-02-03  Robert Love  <rml@novell.com>
12702
12703         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12704           user's encryption key, so we print the err_msg_cmd not the command,
12705           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12706           sense.
12707
12708 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12709
12710         * initscript/RedHat/NetworkManagerDispatcher.in:
12711         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12712         Patch from Dan Walsh <dwalsh@redhat.com>
12713
12714 2006-02-03  Robert Love  <rml@novell.com>
12715
12716         * dispatcher-daemon/NetworkManagerDispatcher.c,
12717           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12718           but use the sysconfdir.
12719
12720 2006-02-03  Robert Love  <rml@novell.com>
12721
12722         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12723           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12724           'char *'.
12725         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12726           nm_ip4_config_get_hostname() and
12727           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12728         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12729           leak g_strdup() result.
12730
12731 2006-02-03  Robert Love  <rml@novell.com>
12732
12733         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12734           broadcast == TRUE.  Also, copy broadcast and artificial properties
12735           from source network to destination in nm_ap_copy().
12736         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12737           since we now default new networks to non-hidden.
12738
12739 2006-02-03  Dan Williams  <dcbw@redhat.com>
12740
12741         * gnome/applet/main.c
12742                 - (main): change the NEVER->ALWAYS so we start at the
12743                         beginning of the session, if being session-managed
12744
12745 2006-02-03  Dan Williams  <dcbw@redhat.com>
12746
12747         * gnome/applet/main.c
12748                 - (main): in a variation on Robert's patch, change
12749                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12750                         he wants.
12751
12752 2006-02-02  Robert Love  <rml@novell.com>
12753
12754         * src/Makefile.am: If we aren't going to create the run directory at,
12755           uh, run-time, create it during install.  Then users just doing
12756           'make install' are cool, too.  While we are here, create the
12757           dispatcher.d directory, too.
12758         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12759           the exact run directory.
12760         * Makefile.am: Install nm-applet.desktop.
12761
12762 2006-02-02  Robert Love  <rml@novell.com>
12763
12764         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12765           structure, which denotes whether or not the AP is hidden.  This is a
12766           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12767           can show up in the scan list.  Add nm_ap_get_broadcast() and
12768           nm_ap_set_broadcast() accessor interfaces.
12769         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12770           nm_ap_set_broadcast().
12771         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12772           "getProperties" method, which denotes whether or not the given
12773           network is hidden.
12774         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12775           an artificial network.  Set broadcast to TRUE when scanning returns
12776           an ESSID and FALSE when not.
12777         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12778           from "getProperties" method on a network.  Possible TODO is to
12779           somehow display this.
12780         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12781
12782 2006-02-02  Dan Williams  <dcbw@redhat.com>
12783
12784         * src/nm-device-802-11-wireless.c
12785                 - (supplicant_interface_init): don't try to create
12786                         /var/run/NetworkManager, since that should be done by
12787                         the distro package.  Causes problems for stuff like SELinux
12788
12789 2006-02-02  Robert Love  <rml@novell.com>
12790
12791         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12792         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12793           Check for and handle empty string for iface.
12794
12795 2006-02-01  Robert Love  <rml@novell.com>
12796
12797         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12798           manpage.
12799
12800 2006-01-31  Dan Williams  <dcbw@redhat.com>
12801
12802         * nm-applet.desktop
12803                 - Add --sm-disable to Exec arguments, presuming that when
12804                         using autostart, we don't want session management
12805
12806 2006-01-31  Robert Love  <rml@novell.com>
12807
12808         * src/NetworkManagerAP.c: Add two new manufacturer default network
12809           names: linksys-a and linksys-g.  These are found (at least) on the
12810           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12811           own ESSID.
12812
12813 2006-01-31  Robert Love  <rml@novell.com>
12814
12815         * src/NetworkManagerAP.c: Optimize the function
12816           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12817           machine code.  This is the first in a series of code tweaks aiming to
12818           generate better machine code and make NetworkManager all the better.
12819           Just kidding.  Who has time to go through the assembly generated for
12820           every function?  I certainly don't.  I have a wife, a kid, a job,
12821           a mortgage, a mistress.  But this function was so bad, I was called
12822           to arms.  Like the book.
12823
12824 2006-01-31  Robert Love  <rml@novell.com>
12825
12826         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12827           AP is not broadcasting, to scan with probe request frames.  Required
12828           for non-broadcast networks.
12829
12830 2006-01-31  Robert Love  <rml@novell.com>
12831
12832         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12833           preprocessor define (still 20s).  Fix message text in nm_info()
12834           s/too too/took too/.
12835
12836 2006-01-30  Dan Williams  <dcbw@redhat.com>
12837
12838         * src/nm-device-802-11-wireless.c
12839                 - (supplicant_monitor_start): increase connect/auth timeout to
12840                         20 seconds from 10 seconds
12841
12842 2006-01-30  Dan Williams  <dcbw@redhat.com>
12843
12844         * src/Makefile.am
12845                 - Define LOCALSTATEDIR
12846
12847         * src/nm-device-802-11-wireless.c
12848                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12849                         socket where we want it to
12850
12851         * src/wpa_ctrl.[ch]
12852                 - (wpa_ctrl_open): accept location to put local control socket
12853
12854 2006-01-30  Robert Love  <rml@novell.com>
12855
12856         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12857           get_ip4_string() for "domain_name".
12858
12859 2006-01-30  Robert Love  <rml@novell.com>
12860
12861         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12862           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12863           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12864           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12865           support for "Automatic" pairwise and group cipher configuration by
12866           letting wpa_supplicant handle the details.  Add UI elements, new
12867           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12868           charm.  Note this does more than add a nice feature, it fixes a bug.
12869           Apparently, some people have AP's where the pairwise cipher does not
12870           match the group cipher.  Insane, but true.
12871
12872 2006-01-30  Dan Williams  <dcbw@redhat.com>
12873
12874         * gnome/applet/applet-dbus-devices.c
12875                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12876                         functions, grab device driver name from NetworkManager
12877                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12878
12879         * gnome/applet/applet.c
12880                 - (nmwa_update_info): show driver name in Connection Information
12881                         dialog
12882
12883         * gnome/applet/nm-device.[ch]
12884                 - (network_device_get_driver, network_device_set_driver): add
12885                         accessors for driver name
12886
12887         * gnome/applet/wireless-applet.glade
12888                 - Add line for driver name to Connection Information dialog
12889
12890         * src/nm-dbus-device.c
12891                 - (nm_dbus_device_get_driver): new function to return driver name
12892                 - (nm_dbus_device_methods): hook up driver name function to dbus
12893
12894         * test/nm-tool.c
12895                 - (get_driver_name): new function
12896                 - (detail_device): grab and show driver name
12897
12898 2006-01-30  Robert Love  <rml@novell.com>
12899
12900         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12901           does not parse the markup if it is not part of the format.
12902
12903 2006-01-30  Robert Love  <rml@novell.com>
12904
12905         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12906           FALSE, we have no security options for this dialog, so we throw up
12907           an error dialog instead of a broken passphrase dialog.  Fixes
12908           Novell #138404.
12909         * gnome/applet/wireless-security-manager.c,
12910           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12911           does not add any security options, not even NONE, print a warning
12912           and return FALSE.  This let's functions constructing a dialog bail
12913           out if the device's capabilities and the network's requirements have
12914           zero overlap.
12915
12916 2006-01-27  Robert Love  <rml@novell.com>
12917
12918         * configure.in: Require wpa_supplicant.  Detect location of binary and
12919           use it.  Override with "--with-wpa_supplicant=foo".
12920         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12921           path to wpa_supplicant but use the auto-detected or user-provided
12922           value from configure.
12923
12924 2006-01-27  Robert Love  <rml@novell.com>
12925
12926         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12927           but the DHCP server did not return a hostname, try to look up our
12928           name via DNS and set the system hostname to that.
12929
12930 2006-01-27  Dan Williams  <dcbw@redhat.com>
12931
12932         * src/backends/NetworkManagerRedHat.c
12933                 - Add NM_CONTROLLED system network script support for RH/Fedora
12934
12935 2006-01-27  Dan Williams  <dcbw@redhat.com>
12936
12937         * src/backends/NetworkManagerGentoo.c
12938                 - (nm_system_device_get_disabled): add missing function.
12939                         Gnome BZ #328780
12940
12941 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
12942
12943         * configure.in: Added vi in ALL_LINGUAS line.
12944         
12945 2006-01-26  Robert Love  <rml@novell.com>
12946
12947         * src/Makefile.am, src/kernel-types.h: Now that two different source
12948           files are feeling the crack-addled leakage of kernel types such as
12949           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12950           types in user-space -- define a header and include it as needed.
12951         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12952         * src/nm-device-802-3-ethernet.h: Remove defines.
12953         * src/wpa.c: Remove defines and include kernel-types.h.
12954
12955 2006-01-26  Robert Love  <rml@novell.com>
12956
12957         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
12958           work.
12959
12960 2006-01-26  Robert Love  <rml@novell.com>
12961
12962         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12963         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
12964           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
12965           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
12966           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12967           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
12968           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
12969           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
12970           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
12971           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
12972           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12973           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
12974           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
12975           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
12976           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
12977           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
12978           Kill unused variables, labels, and static functions.  Don't pass
12979           string literals as the format string for printf-like functions.
12980
12981 2006-01-25  Dan Williams  <dcbw@redhat.com>
12982
12983         * gnome/applet/wireless-applet.glade
12984                 - Remove WPA2 Checkbox
12985
12986         * gnome/applet/wireless-security-manager.c
12987                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
12988                         This means the Wireless Security menu now has two WPA options,
12989                         one for "WPA Personal" and one for "WPA2 Personal"
12990
12991         * gnome/applet/wso-wpa-psk.[ch]
12992                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
12993                         'wpa2' argument to determine WPA version to use
12994                 - (append_dbus_params_func): pass stored WPA version to cipher
12995                         rather than using the (removed) checkbox
12996
12997 2006-01-24  Robert Love  <rml@novell.com>
12998
12999         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13000           before we g_strdup(), not the ultimate string.
13001
13002 2006-01-23  Dan Williams  <dcbw@redhat.com>
13003
13004         * src/NetworkManagerAP.[ch]
13005                 - (nm_ap_new_from_ap): copy original essid too
13006                 - (nm_ap_unref): free original essid
13007                 - (nm_ap_get_orig_essid): new function
13008                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13009                         but keep original essid around too
13010
13011         * src/nm-device-802-11-wireless.c
13012                 - (supplicant_send_network_config): send wpa_supplicant the
13013                         _original_ essid, and not as a string, but in hex.  Should
13014                         allow us to connect to more APs that use wierd character
13015                         encodings for their essids
13016
13017         * utils/nm-utils.[ch]
13018                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13019                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13020                         use the current locale as a hint for what encoding the essid
13021                         might be in.  Obviously not 100% accurate, but the idea here is
13022                         that if a user's locale is ex. ja_JP, they are more likely than
13023                         not to be in Japan, where access points will likely be in some
13024                         Japanese encoding.
13025
13026 2006-01-23  Dan Williams  <dcbw@redhat.com>
13027
13028         * libnm-util/cipher-private.h
13029           libnm-util/cipher.c
13030           libnm-util/cipher.h
13031                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13032
13033 2006-01-23  Robert Love  <rml@novell.com>
13034
13035         Patch by Timo Hoenig <thoenig@suse.de>:
13036         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13037           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13038           by DHCP and pass it to the backends, allowing distribution-specific
13039           behavior with respect to the DHCP-supplied hostname (if nothing else,
13040           some distributions might not want to set the hostname).
13041         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13042           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13043           Also update our NIS behavior.
13044         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13045           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13046           Add stub functions.
13047
13048 2006-01-23  Robert Love  <rml@novell.com>
13049
13050         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13051           gnome-session does autostart.  TODO: We need to install this to
13052           $prefix/share/autostart/.
13053
13054 2006-01-22  Dan Williams  <dcbw@redhat.com>
13055
13056         * src/NetworkManagerAP.[ch]
13057           src/nm-dbus-nmi.c
13058           src/nm-device-802-11-wireless.c         
13059                 - Make nm_ap_get_essid return "const char *"
13060
13061 2006-01-22  Dan Williams  <dcbw@redhat.com>
13062
13063         * src/NetworkManagerAP.[ch]
13064                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13065
13066         * src/NetworkManagerAPList.[ch]
13067                 - (nm_ap_list_diff): removed
13068                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13069                         deal with access points changing essids on us
13070
13071         * src/nm-device-802-11-wireless.c
13072                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13073                         src/NetworkManagerAPList.c
13074                 - (real_can_interrupt_activation): new function; allow interruption
13075                         of device activation if we are waiting for a network key
13076
13077         * src/NetworkManagerPolicy.c
13078                 - (nm_policy_device_change_check): allow interruption of currently
13079                         activating devices if the device allows it.  Previous behavior
13080                         would refuse to activate a just-plugged wired device if a
13081                         wireless device was waiting for a key.
13082
13083         * src/nm-device.[ch]
13084                 - (nm_device_can_interrupt_activation): new function; ask devices
13085                         whether their activation can be interrupted
13086
13087 2006-01-20  Robert Love  <rml@novell.com>
13088
13089         * Makefile.am, configure.in: Add new man subdirectory.
13090         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13091           man/Makefile.am: Add man pages for NetworkManager and its
13092           crime-solving bumbling buddy, NetworkManagerDispatcher.
13093         * man/.cvsignore: Add.
13094         * initscript/Debian/NetworkManager,
13095           initscript/Gentoo/NetworkManager.in,
13096           initscript/RedHat/NetworkManager.in,
13097           initscript/RedHat/NetworkManagerDispatcher.in,
13098           initscript/SUSE/networkmanager-dispatcher.in,
13099           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13100
13101 2006-01-20  Robert Love  <rml@novell.com>
13102
13103         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13104           instead of queuing.  This prevents the running of multiple NM
13105           daemons concurrently, which does not work whatsoever and results in
13106           neither daemon working correctly.  Also, we don't handle queuing and
13107           name-owner-changes, anyhow.
13108
13109 2006-01-20  Robert Love  <rml@novell.com>
13110
13111         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13112         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13113           to sbin, not bin.
13114
13115 2006-01-19  Robert Love  <rml@novell.com>
13116
13117         * configure.in: Require hal 0.5.0 or later.
13118
13119 2006-01-18  Robert Love  <rml@novell.com>
13120
13121         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13122           Allow backends to flag a device (in whatever distro-dependent way
13123           they so desire) as disabled.  NM will ignore any such device.
13124         * src/backends/NetworkManagerDebian.c,
13125           src/backends/NetworkManagerRedHat.c,
13126           src/backends/NetworkManagerSlackware.c: Add stub function
13127           nm_system_device_get_disabled() that always returns FALSE (enabled).
13128         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13129           SUSE-specific configuration structure.  Fill it in from the
13130           NM_CONTROLLED variable in the system networking scripts.  If this var
13131           exists and is "no", we ignore the device.
13132
13133 2006-01-17  Robert Love  <rml@novell.com>
13134
13135         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13136           identical for NM.  For a full discussion, see the thread at
13137           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13138
13139 2006-01-17  Dan Williams  <dcbw@redhat.com>
13140
13141         * src/nm-device.c
13142                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13143                         function.  Fixes crash when wired DHCP fails.
13144
13145 2006-01-16  Robert Love  <rml@novell.com>
13146
13147         * src/Makefile.am: Don't install NMLoadModules
13148         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13149           from src/ to test/ as no one uses it anymore.  Note that I would be
13150           fine with removing it altogether.
13151
13152 2006-01-16  Robert Love  <rml@novell.com>
13153
13154         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13155           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13156           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13157           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13158           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13159           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13160           declarations, ever.
13161         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13162           NM_STATE_DISCONNECTED is zero).
13163
13164 2006-01-16  Robert Love  <rml@novell.com>
13165
13166         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13167           uninitialized parameter and buffer overflow.  Novell #143496.
13168
13169 2006-01-16  Dan Williams  <dcbw@redhat.com>
13170
13171         Apply the PtP Address bits of a patch from Tim Niemueller
13172
13173         * src/nm-ip4-config.[ch]
13174                 - Add ip4_ptp_address member to object
13175                 - (nm_ip4_config_copy): copy ptp address too
13176                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13177                         new functions
13178                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13179                         rather than local tunnel ip address
13180
13181         * src/vpn-manager/nm-vpn-service.c
13182                 - (print_vpn_config): update for PtP address
13183                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13184                         DBusMessageIters in preparation for getting routes from the VPN
13185                         service daemons too
13186
13187         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13188                 - (send_config_info): update for PtP address, clean up code
13189                 - (main): update for PtP address, clean up code, fix typo
13190
13191         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13192                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13193
13194         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13195                 - (pptp_ip_up): update for PtP address
13196
13197         * vpn-daemons/pptp/src/nm-pptp-service.c
13198                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13199
13200         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13201                 - (print_vpn_config): update for PtP address
13202                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13203
13204 2006-01-16  Dan Williams  <dcbw@redhat.com>
13205
13206         * gnome/applet/applet.c
13207                 - (nmwa_add_networks_helper): don't indicate an active network
13208                         if NM is disconnected or asleep
13209
13210 2006-01-16  Dan Williams  <dcbw@redhat.com>
13211
13212         * src/NetworkManagerPolicy.c
13213                 - (nm_policy_device_change_check): switch devices if we lose the link
13214                         on an ethernet device. 
13215
13216 2006-01-16  Dan Williams  <dcbw@redhat.com>
13217
13218         * gnome/applet/wso-wpa-psk-hex.[ch]
13219                 - Renamed -> wso-wpa-psk.[ch]
13220
13221         * gnome/applet/wso-wpa-psk.[ch]
13222                 - New files
13223
13224         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13225                 - Removed, rolled into wso-wpa-psk.[ch]
13226
13227         * gnome/applet/Makefile.am
13228                 - Updated for above changes
13229
13230         * gnome/applet/wireless-applet.glade
13231                 - Consolidate WPA-PSK options into one notebook
13232                         widget, and make dialogs invisible by default
13233                         to fix screen oddities
13234
13235         * gnome/applet/wireless-security-manager.c
13236                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13237                         than both the old hex & passphrase ones
13238
13239 2006-01-16  Dan Williams  <dcbw@redhat.com>
13240
13241         * gnome/applet/other-network-dialog.c
13242                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13243
13244 2006-01-16  Dan Williams  <dcbw@redhat.com>
13245
13246         * gnome/applet/applet.c
13247                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13248                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13249                         prevention to realize window before trying to get server
13250                         time
13251
13252         * gnome/applet/other-network-dialog.c
13253                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13254                         prevention to realize window before trying to get server
13255                         time
13256
13257         * gnome/applet/passphrase-dialog.c
13258                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13259                         prevention to realize window before trying to get server
13260                         time
13261
13262 2006-01-16  Robert Love  <rml@novell.com>
13263
13264         Patch from Timo Hoenig  <thoenig@suse.de:
13265         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13266           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13267           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13268           libnm-util/dbus-helpers.h: add checks whether headers are used
13269           within a C++ build.
13270
13271 2006-01-16  Dan Williams  <dcbw@redhat.com>
13272
13273         * gnome/applet/wireless-security-option.c
13274                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13275
13276 2006-01-16  Dan Williams  <dcbw@redhat.com>
13277
13278         * libnm-util/cipher-wpa-psk-passphrase.c
13279                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13280                         be 8 - 63 characters inclusive
13281
13282 2006-01-16  Dan Williams  <dcbw@redhat.com>
13283
13284         * src/nm-dbus-nm.c
13285                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13286
13287 2006-01-13  Robert Love  <rml@novell.com>
13288
13289         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13290         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13291           modules that do not use an interface.
13292
13293 2006-01-13  Dan Williams  <dcbw@redhat.com>
13294
13295         * src/nm-device.c
13296           src/nm-device.h
13297                 - Allow subclasses to implement deactivate_quickly()
13298                 - (nm_device_deactivate_quickly): call subclass
13299                         deactivate_quickly() methods
13300                 - (nm_device_set_active_link): small cleanups, and don't
13301                         deactivate the device right away because we risk a deadlock
13302                         when called from device thread, waiting for the device
13303                         thread to cancel activation
13304
13305         * src/nm-device-802-11-wireless.c
13306                 - (real_deactivate_quickly): new function
13307                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13308                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13309                         so that we kill the supplicant when we sleep too
13310                 - (supplicant_interface_init): work around naive naming attempts of
13311                         wpa_ctrl when naming sockets
13312
13313 2006-01-13  Dan Williams  <dcbw@redhat.com>
13314
13315         * src/nm-device-802-11-wireless.c
13316                 - (supplicant_cleanup): delete old device control sockets too
13317                 - (supplicant_get_device_socket_path): new function to consolidate
13318                         locations that need a path to a device's control socket
13319
13320 2006-01-12  Robert Love  <rml@novell.com>
13321
13322         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13323           description so that the description is unique for each
13324           pair (device,provider).  Fixes Novell #142773.
13325
13326 2006-01-12  Dan Williams  <dcbw@redhat.com>
13327
13328         * src/nm-device-802-11-wireless.c
13329                 - (supplicant_exec): ensure GError is correctly initialized
13330                         Reported by Diego González (gnome.org #326708)
13331
13332 2006-01-11  Robert Love  <rml@novell.com>
13333
13334         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13335           define if_mii(), open code the same results, and do so without any
13336           type punning.
13337
13338 2006-01-11  Robert Love  <rml@novell.com>
13339
13340         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13341           that wso_foo_new() returned non-NULL.  Instead, only append the new
13342           wso to wsm->options if the wso is non-NULL.  The crux is that we
13343           assume that the relevant key types are implied by WEP and WPA as
13344           appropriate.  To be sure, they should be, but we should not expect
13345           drivers to not be oozing piles of wolf fecal matter.
13346
13347 2006-01-11  Robert Love  <rml@novell.com>
13348
13349         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13350         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13351           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13352           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13353           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13354           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13355           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13356         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13357           comparing values within DBL_EPSILON.  Also fix shadowed variable
13358           usage.
13359
13360 2006-01-11  Dan Williams  <dcbw@redhat.com>
13361
13362         Add options for WPA2 and WPA1+CCMP (AES).
13363
13364         * gnome/applet/wireless-applet.glade
13365                 - Add UI bits for WPA+CCMP
13366
13367         * gnome/applet/other-network-dialog.c
13368                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13369                         and don't allow creation of WPA2 Ad-Hoc networks since
13370                         wpa_supplicant doesn't support them
13371
13372         * gnome/applet/wireless-security-manager.c
13373                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13374                         on to the specific wireless security option being created
13375
13376         * gnome/applet/wireless-security-option.[ch]
13377                 - (wso_wpa_create_key_type_model): new utility function to create
13378                         the model required for WPA Key Type combo box
13379
13380         * gnome/applet/wso-private.h
13381           gnome/applet/wireless-security-option.h
13382                 - Move private function prototypes into wso-private.h
13383
13384         * gnome/applet/wso-wpa-psk-hex.[ch]
13385           gnome/applet/wso-wpa-psk-passphrase.[ch]
13386                 - (append_dbus_params_func): get WPA version from checkbox and pass
13387                         it to the dbus serialization helper
13388                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13389                         key type combo changes
13390                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13391                         model and options
13392
13393         * libnm-util/cipher-wpa-psk-hex.c
13394           libnm-util/cipher-wpa-psk-passphrase.c
13395                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13396                         new function; allow the cipher to be changed after object creation
13397
13398         * src/nm-ap-security-wpa-psk.c
13399                 - (set_description): Do WPA2 descriptions too
13400
13401         * src/nm-ap-security.c
13402                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13403
13404 2006-01-11  Robert Love  <rml@novell.com>
13405
13406         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13407           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13408           from the ifreq structure in lieu of an open coded solution.  Removes
13409           a life-threatening type-punning.
13410         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13411           types, ever, whatsoever, baby.
13412
13413 2006-01-11  Robert Love  <rml@novell.com>
13414
13415         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13416           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13417           assignments to applet->nm_state into a new nmwa_set_state() function
13418           for both cleanliness and to help debugging.
13419
13420 2006-01-10  Robert Love  <rml@novell.com>
13421
13422         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13423           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13424           seconds, exclusive.  That is, we want to sleep x seconds such that
13425           1 < x < 2.
13426
13427 2006-01-10  Robert Love  <rml@novell.com>
13428
13429         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13430           the attr fields according to the example in the email available at
13431           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13432           Conversely, we do have to free 'name', so we do so, fixing a leak.
13433
13434 2006-01-10  Robert Love  <rml@novell.com>
13435
13436         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13437           sure that we close the socket!
13438
13439 2006-01-10  Robert Love  <rml@novell.com>
13440
13441         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13442           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13443           src/nm-device.c: Fix a FIXME!  Reimplement the function
13444           nm_device_update_hw_address() in device subclass variants,
13445           nm_device_802_3_ethernet_set_address() and
13446           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13447           This fixes the existing bug where MAC addresses are all zeros.
13448
13449 2006-01-10  Robert Love  <rml@novell.com>
13450
13451         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13452           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13453           option to give users ability to globally disconnect and put NM to
13454           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13455           clean disconnect.
13456
13457 2006-01-09  Robert Love  <rml@novell.com>
13458
13459         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13460           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13461           User-space does not supply these types, so we have to define them
13462           ourselves.  The relevant kernel maintainer refused to accept a patch
13463           switching these headers to the proper C99 types.
13464
13465 2006-01-09  Dan Williams  <dcbw@redhat.com>
13466
13467         Apply Robert's 'tray icon redo' patch with fixes
13468         * gnome/applet/applet.c
13469           gnome/applet/applet.h
13470                 - Instead of using a menu bar + menu item, simulate menu
13471                         behavior using a popup menu.  Highlight the area around
13472                         the icon more like a menu too, by playing with the
13473                         applet's size requisition
13474
13475 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13476         * libnm-util/dbus-helpers.c
13477           libnm-util/dbus-helpers.h
13478                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13479                         to 'exception_namespace' (:namespace is a keyword in
13480                         C++)
13481
13482 2006-01-09  Dan Williams  <dcbw@redhat.com>
13483
13484         * src/NetworkManagerPolicy.c
13485                 - (nm_policy_device_change_check): don't autoswitch away from
13486                         Ad-Hoc networks, since there's really no concept of
13487                         "link"
13488
13489         * src/nm-dbus-nm.c
13490                 - (nm_dbus_nm_create_wireless_network): mark created networks
13491                         as Ad-Hoc networks
13492
13493         * src/nm-device-802-11-wireless.c
13494                 - (real_activation_success_handler): add user-created Ad-Hoc
13495                         networks to the device's scan list
13496
13497 2006-01-08  Dan Williams  <dcbw@redhat.com>
13498
13499         We now require a patch for wpa_supplicant to support Ad-Hoc
13500         networks:
13501           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13502
13503         * src/nm-device-802-11-wireless.c
13504                 - (supplicant_send_network_config): turn off wpa_supplicant's
13505                         scanning.  Fixes Ad-Hoc networks.
13506
13507 2006-01-08  Dan Williams  <dcbw@redhat.com>
13508
13509         * src/nm-ap-security.c
13510           src/nm-ap-security.h
13511                 - Add a user_created argument to the write_supplicant_config
13512                         functions
13513
13514         * src/nm-ap-security-wep.c
13515           src/nm-ap-security-wpa-psk.c
13516           src/nm-device-802-11-wireless.c
13517                 - Make Ad-Hoc mode somewhat work, at least write the
13518                         correct options to wpa_supplicant
13519
13520 2006-01-08  Dan Williams  <dcbw@redhat.com>
13521
13522         * src/nm-device-802-11-wireless.c
13523                 - Remove unused code from the old device activation path
13524
13525 2006-01-08  Dan Williams  <dcbw@redhat.com>
13526
13527         * libnm-util/dbus-helpers.c
13528                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13529                         dbus when key == NULL
13530
13531 2006-01-08  Dan Williams  <dcbw@redhat.com>
13532
13533         * gnome/applet/nm-gconf-wso-wpa-psk.c
13534                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13535                         correct arguments to nmu_security_deserialize_wpa_psk()
13536
13537         * src/nm-ap-security-wpa-psk.c
13538                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13539                         arguments to nmu_security_deserialize_wpa_psk()
13540
13541 2006-01-08  Dan Williams  <dcbw@redhat.com>
13542
13543         * gnome/applet/wso-wpa-psk-hex.c
13544           gnome/applet/wso-wpa-psk-passphrase.c
13545                 - Hook up the append_dbus_params_func() function
13546
13547 2006-01-08  Dan Williams  <dcbw@redhat.com>
13548
13549         * src/nm-device-802-11-wireless.c
13550                 - (get_wireless_capabilities): correctly detect driver WPA
13551                         capabilities
13552
13553 2006-01-08  Dan Williams  <dcbw@redhat.com>
13554
13555         * gnome/applet/Makefile.am
13556           gnome/applet/wso-wpa-psk-hex.c
13557           gnome/applet/wso-wpa-psk-hex.h
13558                 - New files, implement WPA-PSK Hex key input
13559
13560         * gnome/applet/wireless-applet.glade
13561                 - Change existing wpa-psk stuff to wpa-psk-hex
13562                 - Add new widgets for wpa-psk-passphrase
13563
13564         * gnome/applet/wireless-security-manager.c
13565                 - (wsm_set_capabilities): enable WPA options
13566
13567         * gnome/applet/wso-wpa-psk-passphrase.c
13568                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13569                         for WPA-PSK passphrase
13570
13571 2006-01-08  Dan Williams  <dcbw@redhat.com>
13572
13573         * include/NetworkManager.h
13574                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13575                         applet/info-daemons
13576
13577         * gnome/applet/passphrase-dialog.c
13578                 - Use the constant.  Fixes a bug where the arguments to
13579                         dbus_message_new_error() were incorrect
13580
13581         * src/nm-dbus-nmi.c
13582                 - Use the constant
13583
13584 2006-01-07  Dan Williams  <dcbw@redhat.com>
13585
13586         * src/nm-device-802-11-wireless.c
13587                 - Add a link timeout so we allow the supplicant time to
13588                         reassociate if it can, before we deactivate the card
13589                 - Fix up link status and link updating so things work better
13590
13591 2006-01-07  Dan Williams  <dcbw@redhat.com>
13592
13593         * src/nm-device-802-11-wireless.c
13594                 - Switch over to using wpa_supplicant
13595                 - Add a timeout of 10s for association of the supplicant
13596                 - Start the monitor callback of the supplicant
13597
13598 2006-01-07  Dan Williams  <dcbw@redhat.com>
13599
13600         * src/NetworkManagerUtils.c
13601                 - (nm_utils_supplicant_request,
13602                   nm_utils_supplicant_request_with_check):
13603                         pass correct buffer length to wpa_ctrl_request()
13604
13605 2006-01-07  Dan Williams  <dcbw@redhat.com>
13606
13607         * src/nm-device-private.h
13608           src/nm-device.c
13609                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13610                         this function available to subclasses
13611
13612 2006-01-06  Robert Love  <rml@novell.com>
13613
13614         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13615           user plugging in a network cable signals their preference for to
13616           switch, unless the user explicitly selected a wireless network and
13617           therefore signaled their preference for said wireless network over
13618           wired.  In other words, do exactly what makes sense.
13619
13620 2006-01-06  Robert Love  <rml@novell.com>
13621
13622         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13623           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13624           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13625           showing up in my greps.
13626
13627 2006-01-06  Robert Love  <rml@novell.com>
13628
13629         * gnome/applet/applet-dbus-devices.c,
13630           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13631           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13632           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13633           New Network' both failed in the non-encrypted case because we were
13634           not appending the security options to the DBUS message.  And
13635           'Connect to Other' was also failing in the encrypted case because
13636           we were not incrementing to the next DBUS parameter.  All fixed.
13637           Thanks to dcdw for some debugging help.
13638
13639 2006-01-06  Robert Love  <rml@novell.com>
13640
13641         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13642           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13643           hangup code and add per-device hangup.  Tie last commit into the
13644           GNOME applet.  TODO:  Save, understand, and respond to the state of
13645           each dialup device.
13646
13647 2006-01-06  Robert Love  <rml@novell.com>
13648
13649         Patch by Timo Hoenig <thoenig@suse.de>:
13650         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13651           hangup specific dialup devices.
13652         * src/backends/NetworkManagerDebian.c,
13653           src/backends/NetworkManagerGentoo.c,
13654           src/backends/NetworkManagerRedHat.c,
13655           src/backends/NetworkManagerSlackware.c: Add stub backend.
13656         * src/backends/NetworkManagerRedHat.c,
13657           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13658           hangup specific dialup devices.
13659
13660 2006-01-04  Robert Love  <rml@novell.com>
13661
13662         * gnome/applet/applet-dbus-devices.c,
13663           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13664           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13665           connections.
13666
13667 2006-01-04  Dan Williams  <dcbw@redhat.com>
13668
13669         First dump of wpa_supplicant-related code.  It's not hooked up to
13670         anything yet though.  Thanks to Kay Sievers for
13671         wpa_supplicant_wrapper.c, which formed the basis for this work,
13672         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13673
13674         * src/Makefile.am
13675           src/wpa_ctrl.[ch]
13676                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13677
13678         * src/NetworkManagerUtils.[ch]
13679                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13680                         Add convenience functions for talking to wpa_supplicant
13681
13682         * src/nm-ap-security.[ch]
13683           src/nm-ap-security-wep.c
13684           src/nm-ap-security-wpa-psk.[ch]
13685                 - Update and implement real_write_supplicant_config functions
13686                         in all security types
13687                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13688                         nm-ap-security-wpa-psk.c
13689
13690         * src/nm-device-802-11-wireless.c
13691                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13692                    wpa_supplicant_start, wpa_supplicant_interface_init,
13693                    wpa_supplicant_send_network_config): add functions to talk to
13694                         wpa_supplicant and write network config to it
13695
13696 2006-01-04  Robert Love  <rml@novell.com>
13697
13698         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13699           values so that distribution-backends can differentiate between the
13700           various types (modem, ISDN, et cetera) of dialup device that they
13701           support.
13702         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13703           needed.
13704
13705 2006-01-03  Dan Williams  <dcbw@redhat.com>
13706
13707         * src/NetworkManagerPolicy.c
13708           src/nm-device.[ch]
13709           src/nm-device-802-11-wireless.c
13710                 - Move wireless-specific activation failure and success code
13711                         into wireless device class
13712
13713 2006-01-03  Robert Love  <rml@novell.com>
13714
13715         Patch by Preggna S:
13716         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13717           IPsec does not require that a VPN client be bound to an interface,
13718           due to the use of the in-kernel IPSec bits.  So make the tunnel
13719           device optional.
13720
13721 2006-01-03  Dan Williams  <dcbw@redhat.com>
13722
13723         * src/NetworkManagerAP.c
13724                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13725                         the WPA IE specifies that WEP is supported
13726
13727         * src/nm-device-802-11-wireless.c
13728                 - (process_scan_results): don't mark an AP as supporting WEP
13729                         if there's already other encryption capability info
13730
13731 2006-01-03  Dan Williams  <dcbw@redhat.com>
13732
13733         * src/dhcp-manager/nm-dhcp-manager.c
13734                 - Recognize activation cancellation when waiting for DHCP
13735                         configuration from dhcdbd
13736                 - Ignore non-dhcdbd messages
13737
13738         * src/nm-device.c
13739                 - (real_act_stage3_ip_config_start): return to correct behavior
13740                         of letting the dhcp-manager notify us of failure or
13741                         success rather than incorrectly doing that ourselves
13742                 - (nm_device_activate_stage4_ip_config_get): deal with
13743                         activation cancellation a bit earlier
13744
13745 2006-01-03  Dan Williams  <dcbw@redhat.com>
13746
13747         * src/nm-device-802-11-wireless.c
13748           src/nm-device.[ch]
13749                 - Add hooks to subclasses for stage3_ip_config_start and
13750                         stage4_ip_config_timeout
13751
13752         * src/nm-device-802-3-ethernet.c
13753                 - (real_get_generic_capabilities): make devices NM-supported
13754                         by default
13755
13756 2006-01-03  Robert Love  <rml@novell.com>
13757
13758         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13759           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13760           latter cannot differentiate between error and the address -1; misc.
13761           clean up.
13762
13763 2006-01-03  Dan Williams  <dcbw@redhat.com>
13764
13765         * src/NetworkManager.c
13766                 - Move link-checking/probing into the device subclasses
13767                         themselves
13768
13769         * src/nm-device.[ch]
13770           src/nm-device-802-11-wireless.c
13771           src/nm-device-802-3-ethernet.c
13772                 - Do periodic link checking in device subclasses rather
13773                         than being triggered from NetworkManager.c
13774                 - discover_wireless_capabilities -> get_wireless_capabilities
13775                 - discover_generic_capabilities -> get_generic_capabilities
13776                 - Device subclass activation routines now return a value of type
13777                         NMActStageReturn to indicate what step to perform next
13778                 - Devices now override stage4_get_ip4_config if they choose
13779
13780 2006-01-01  Dan Williams  <dcbw@redhat.com>
13781
13782         * src/nm-device-802-11-wireless.c
13783                 - (real_init): don't chain up to parent init because we don't
13784                         need to do that anymore
13785
13786         * src/nm-device.c
13787                 - (discover_device_type): fix arguments to ioctl() to correctly
13788                         pass interface name
13789                 - (nm_device_new): consolidate generic device initialization into
13790                         nm_device_new()
13791                 - (real_init): remove, consolidated to nm_device_new()
13792                 - (nm_device_deactivate, real_deactivate): consolidate
13793
13794 2006-01-01  Dan Williams  <dcbw@redhat.com>
13795
13796         * src/nm-activation-request.c
13797                 - Change dhcp_state member of the NMActRequest structure
13798                         from guint8 to guint32
13799
13800         * src/dhcp-manager/nm-dhcp-manager.[ch]
13801                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13802                         than guint8 to match the dbus argument.  Turns out we were
13803                         overwriting memory since we were passing in only a guint8
13804
13805 2005-12-31  Dan Williams  <dcbw@redhat.com>
13806
13807         * refactor NMDevice into a GObject-based framework with separate
13808                 objects for wired and wireless.  The following files are no
13809                 longer used but should stick around for a bit so we don't
13810                 loose code through the cracks:
13811                         NetworkManagerDevice.c
13812                         NetworkManagerDevice.h
13813                         NetworkManagerWireless.c
13814                         NetworkManagerWireless.h
13815
13816         The intent here is to allow each device type to manage its own
13817         connection & activation life-cycle, ie to allow wireless devices
13818         to interface with wpa_supplicant, etc.  There's a fair bit of
13819         encapsulation breakage right now that should gradually get pulled
13820         back into each device, along with things like periodic property
13821         updates and link probing.
13822
13823 2005-12-29  Dan Williams  <dcbw@redhat.com>
13824
13825         * include/NetworkManager.h
13826                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13827                         between networks that don't have any encryption at all
13828
13829 2005-12-29  Dan Williams  <dcbw@redhat.com>
13830
13831         * test/test-common.c
13832           test/test-common.h
13833           test/Makefile.am
13834                 - Move to a test-common subdirectory
13835
13836         * test/libnm-util/test-ciphers.c
13837                 - Move test data to test-inputs.h
13838                 - Test WPA ciphers too
13839
13840         * test/libnm-util/test-dbus-helpers.c
13841                 - Test serialization/deserialization of ciphers
13842
13843 2005-12-29  Dan Williams  <dcbw@redhat.com>
13844
13845         * gnome/applet/applet-dbus-devices.c
13846                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13847                         in dbus calls to NM
13848                 - Set capabilities on WirelessNetwork objects
13849                 - Receive and save type-specific device capabilities too
13850
13851         * gnome/applet/applet-dbus-info.c
13852           gnome/applet/applet-dbus.c
13853                 - Passphrase dialog no longer a singleton; new instance gets created
13854                         on each request.  Updates to deal with that.
13855
13856         * gnome/applet/applet.c
13857                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13858                         than single 'encrypted' flag
13859                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13860                         menu items
13861                 - Passphrase dialog updates per above
13862
13863         * gnome/applet/menu-items.c
13864                 - (network_menu_item_update): use AP capabilities to determine
13865                         encryption
13866
13867         * gnome/applet/nm-device.[ch]
13868                 - Add accessors for type-specific device capabilities
13869
13870         * gnome/applet/other-network-dialog.c
13871                 - Rework to respect device capabilities.  i.e., if the device doesn't
13872                         support WPA, remove that option from the security dropdown
13873
13874         * gnome/applet/passphrase-dialog.c
13875                 - Massive rework so that a new instance is created each time
13876                         it's used, to support wireless network capabilities
13877
13878         * gnome/applet/wireless-network.[ch]
13879                 - Add accessors and members for wireless network capabilities
13880
13881         * gnome/applet/wireless-security-manager.[ch]
13882                 - (wsm_set_capabilities): called after creation to set which
13883                         security options get shown to the user
13884
13885 2005-12-29  Dan Williams  <dcbw@redhat.com>
13886
13887         * libnm-util/cipher-wpa-psk-passphrase.c
13888                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13889                         like other ciphers
13890
13891 2005-12-23  Dan Williams  <dcbw@redhat.com>
13892
13893         * gnome/applet/applet-dbus-info.c
13894                 - (nmi_dbus_get_key_for_network): if there's no entry in
13895                         GConf for a network, assume we want a new key
13896                 - (nmi_save_network_info): serialize wireless security info
13897                         into GConf so its saved
13898
13899         * src/nm-dbus-nm.c
13900                 - Fix warning as we may not be passed security info when
13901                         connecting to a wireless network
13902
13903 2005-12-23  Dan Williams  <dcbw@redhat.com>
13904
13905         * gnome/applet/applet-compat.c
13906                 - Fix bugs in GConf entry conversion
13907
13908         * gnome/applet/applet-dbus-info.c
13909                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13910                         list being zero-length
13911
13912         * libnm-util/cipher-*
13913           libnm-util/dbus-helpers.c
13914                 - All ciphers must now return hashed keys as UTF-8 valid
13915                         hexadecimal strings, ie "8f3dae4023".  They are pushed
13916                         through dbus as strings too.
13917                 - Consolidate various functions that do bin->hex and hex->bin
13918                         conversion into cipher.c
13919
13920         * src/nm-ap-security-wep.c
13921           src/nm-ap-security-wpa-psk.c
13922                 - Handle NULL keys since we may not know keys right away
13923
13924         * src/nm-dbus-nmi.c
13925                 - (nm_dbus_get_network_data_cb): actually advance to the start
13926                         of the wireless security info before we try to deserialize it
13927
13928         * libnm-util/test-ciphers.c
13929                 - Update cipher tests for the change to UTF-8 hexadecimal strings
13930
13931 2005-12-22  Dan Williams  <dcbw@redhat.com>
13932
13933         * gnome/applet/applet-compat.[ch]
13934                 - Convert old-format GConf and keyring entries
13935                         when the applet starts up.
13936
13937         * gnome/applet/applet.c
13938                 - (nmwa_get_instance): Call the conversion function
13939                         on startup before dbus is initialized
13940
13941 2005-12-22  Dan Williams  <dcbw@redhat.com>
13942
13943         * gnome/applet/applet-dbus-info.c
13944                 - Remove nmi_dbus_create_error_message() in favor of
13945                         nmu_create_dbus_error_message()
13946                 - (nmi_dbus_get_network_properties): Error message cleanups
13947                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13948                         gconf key rather than 'addresses', since they really are BSSIDs
13949                 - (nmi_dbus_get_network_properties): Dispose of the security
13950                         object when we're done with it
13951
13952 2005-12-21  Dan Williams  <dcbw@redhat.com>
13953
13954         * Consolidate the info-daemon's "updateNetworkInfo" and
13955                 "addNetworkAddress" calls into just "updateNetworkInfo"
13956
13957 2005-12-21  Dan Williams  <dcbw@redhat.com>
13958
13959         * Make connection after key retrieval work again
13960
13961 2005-12-21  Dan Williams  <dcbw@redhat.com>
13962
13963         * gnome/applet/nm-gconf-wso*
13964                 - Make the serialize functions return gboolean
13965                         rather than int
13966
13967         * gnome/applet/nm-gconf-wso.c
13968                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
13969                         parent class handling so we don't segfault
13970
13971         * src/NetworkManagerAP.[ch]
13972                 - (nm_ap_get_capabilities): new function, return capabilities
13973                         now that something can use them
13974                 - (nm_ap_set_encrypted): assume that an access point supports
13975                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
13976                         we even tell whether it just supports WEP40?
13977
13978         * src/NetworkManagerDevice.c
13979                 - (ap_need_key): resurrect and update for the New World Order
13980                 - (nm_device_wireless_get_activation_ap): if we're not given
13981                         security info to use, create some based on access point
13982                         capabilities
13983
13984         * src/nm-ap-security-wep.c
13985                 - (nm_ap_security_wep_new_from_ap): create a new object
13986                         based on a certain access point's capabilities
13987
13988         * src/nm-ap-security.c
13989                 - (nm_ap_security_new_from_ap): delegate creation of a new
13990                         object based on access point capabilities to a subclass
13991                 - (nm_ap_security_copy_properties): don't segfault if we
13992                         don't have a key yet
13993
13994         * src/nm-dbus-nm.c
13995                 - (nm_dbus_nm_set_active_device): provide more informative
13996                         output when errors occur.  Also construct security info
13997                         for a given access point if we weren't given any
13998
13999 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14000
14001         * configure.in: Added Lithuanian to ALL_LINGUAS.
14002
14003 2005-12-21  Dan Williams  <dcbw@redhat.com>
14004
14005         * test/libnm-util
14006                 - Add some testcases for WEP ciphers
14007
14008 2005-12-17  Dan Williams  <dcbw@redhat.com>
14009
14010         * Fix bugs
14011
14012 2005-12-17  Dan Williams  <dcbw@redhat.com>
14013
14014         * include/NetworkManager.h
14015                 - Finally kill NMEncKeyType
14016
14017         * gnome/applet/applet-dbus-info.c
14018                 - (nmi_save_network_info): convert to NMGConfWSO
14019
14020         * gnome/applet/nm-gconf-wso-*.c
14021                 - Implement gconf serialization functions
14022
14023         * src/NetworkManagerPolicy.c
14024                 - (nm_policy_activation_finish): fix up meaning of
14025                         automatic/user_requested
14026
14027 2005-12-17  Dan Williams  <dcbw@redhat.com>
14028
14029         * gnome/applet/*
14030                 - More applet cleanups
14031                 - Use the dbus-method-dispatcher
14032
14033         * libnm-util/dbus-method-dispatcher.[ch]
14034                 - Generalize the implementation from NM in
14035                         NetworkManagerUtils.c
14036
14037 2005-12-16  Dan Williams  <dcbw@redhat.com>
14038
14039         * gnome/applet/*
14040                 - Fix up the passphrase dialog to use all the
14041                         WirelessSecurityOption stuff (untested)
14042
14043 2005-12-16  Dan Williams  <dcbw@redhat.com>
14044
14045         * Move nm_gconf_get_*_helper() functions to separate files,
14046                 gconf-helpers.c & gconf-helpers.h
14047
14048         * New NMGConfWSO objects for managing the gconf side of things.
14049                 Eventually these should be merged with the
14050                 WirelessSecurityOption objects and a common base (that can
14051                 serialize/deserialize from dbus & gconf) should be
14052                 refactored out, but for now they are separate.
14053
14054 2005-12-16  Robert Love  <rml@novell.com>
14055
14056         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14057           binaries unless they exist (nm_spawn_process() emits a warning if
14058           asked to spawn a non-existant process).
14059
14060 2005-12-16  Dan Williams  <dcbw@redhat.com>
14061
14062         * gnome/applet/applet-dbus-info.c
14063                 - Clean up lots of gconf-related code
14064
14065 2005-12-16  Robert Love  <rml@novell.com>
14066
14067         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14068
14069 2005-12-16  Dan Williams  <dcbw@redhat.com>
14070
14071         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14072
14073         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14074                 bits still to be done)
14075
14076 2005-12-16  Dan Williams  <dcbw@redhat.com>
14077
14078         * Finally move info-daemon related stuff out of
14079                 NetworkManagerDbus.c to nm-dbus-nmi.c
14080
14081 2005-12-16  Dan Williams  <dcbw@redhat.com>
14082
14083         * Kill auth_method for access points, since that's now done
14084                 by NMAPSecurity objects
14085
14086         * Add a copy-constructor of sorts to NMAPSecurity
14087                 (how do you do this properly in glib???)
14088
14089 2005-12-15  Dan Williams  <dcbw@redhat.com>
14090
14091         * Exorcise encryption key hashing on APs
14092         * Use libnm-util's serialization/deserialization in both the
14093                 applet and NM
14094         * Random other stuff
14095
14096 2005-12-15  Robert Love  <rml@novell.com>
14097
14098         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14099           is being added to the icon naming spec, so let's use that (Tango CVS
14100           has the icon).  Because it is new, however, we fall back to the
14101           current "gnome-lockscreen" if the new icon is not around, thus
14102           behavior is the same.
14103         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14104           factory junk.
14105
14106 2005-12-15  Robert Love  <rml@novell.com>
14107
14108         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14109           well, help to give.  Couple other misc. bits.
14110
14111 2005-12-15  Dan Williams  <dcbw@redhat.com>
14112
14113         * libnm-util/dbus-helpers.[ch]
14114                 - Make this the one-stop-shop for serializing/deserializing
14115                         AP & connection security settings over dbus.  Both NM
14116                         and applets should use this to ensure consistent dbus
14117                         API going forwared.
14118
14119 2005-12-15  Robert Love  <rml@novell.com>
14120
14121         Patch by Timo Hoenig  <thoenig@suse.de>:
14122         * src/NetworkManagerDbus.c
14123                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14124                         if HAL jumps off the system bus.  Otherwise libdbus
14125                         (dbus_connection_dispatch) will try to run the filter
14126                         function of our libhal context which is already freed.
14127
14128 2005-12-15  Alexander Shopov  <ash@contact.bg>
14129
14130         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14131
14132 2005-12-14  Dan Williams  <dcbw@redhat.com>
14133
14134         * include/NetworkManager.h
14135           src/NetworkManagerWireless.c
14136                 - Rearrange 802.11 wireless-specific capabilities again
14137
14138         * src/Makefile.am
14139                 - Forgot to add wpa.c/wpa.h to the makefiles
14140
14141         * src/NetworkManagerAP.[ch]
14142                 - Implement access point capabilities and parse the
14143                         WPA/RSN IEs into the capability bitfield
14144                 - Switch the "encrypted" attribute to utilize the bitfield
14145                         and capabilities rather than being independent
14146
14147         * src/NetworkManagerDevice.c
14148                 - (nm_device_wireless_get_activation_ap): break it horribly
14149                         until we can push NMAPSecurity objects into access point
14150                         objects and through the activation chain
14151                 - Stuff WPA & RSN IEs into AP capabilities
14152
14153         * src/nm-dbus-nm.c
14154                 - Take a shot at actually making setActiveDevice work
14155
14156         * src/wpa.[ch]
14157                 - Make the API a bit saner
14158
14159 2005-12-14  Dan Williams  <dcbw@redhat.com>
14160
14161         * include/NetworkManager.h
14162                 - Add 802.11-specific capability for 802.1x key
14163                         management
14164
14165         * src/wpa.[ch]
14166                 - Pull in WPA IE and RSN IE parsing code from
14167                         wpa_supplicant so we can determine access point
14168                         capabilities
14169                 - Move WPA-related constants here from NetworkManagerAP.h
14170                         and NetworkManagerDevice.c
14171
14172         * src/NetworkManagerDevice.c
14173           src/NetworkManagerAP.[ch]
14174                 - Use WPA-related constants from wpa.h
14175
14176 2005-12-14  Dan Williams  <dcbw@redhat.com>
14177
14178         * include/NetworkManager.h
14179                 - Update and split 802.11 wireless-specific capabilities from
14180                         generic device capabilities
14181
14182         * src/NetworkManagerDevice.c
14183           src/NetworkManagerDevicePrivate.h
14184                 - (nm_device_wireless_discover_capabilities): Move 802.11
14185                         wireless-specific capability checks to
14186                         NetworkManagerWireless.c
14187                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14188                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14189
14190         * src/NetworkManagerWireless.[ch]
14191                 - (nm_802_11_wireless_discover_capabilities): Check extended
14192                         802.11 wireless-specific capabilities of the driver
14193
14194 2005-12-14  Robert Love  <rml@novell.com>
14195
14196         Patch from Stefan Scheler <sscheler@suse.de>:
14197         * src/NetworkManagerDevice.c: call backend code to activate and
14198           deactivate NIS.
14199         * src/NetworkManagerSystem.h: add new NIS interfaces.
14200         * src/backends/NetworkManagerDebian.c,
14201           src/backends/NetworkManagerGentoo.c,
14202           src/backends/NetworkManagerRedHat.c,
14203           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14204           support.
14205         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14206
14207 2005-12-14  Dan Williams  <dcbw@redhat.com>
14208
14209         * src/nm-ap-security*.[ch]
14210                 - Add AP security abstractions to NetworkManager
14211
14212         * src/nm-dbus-device.c
14213                 - Begin to parse new format dbus messages from the applet
14214                         and construct an AP security object from the message
14215
14216         * libnm-util/dbus-helpers.c
14217                 - Use message iters so we can append the key as a fixed
14218                         array of bytes, which actually works rather than
14219                         using dbus_message_append_args() as we were before
14220
14221 2005-12-14  Dan Williams  <dcbw@redhat.com>
14222
14223         * src/NetworkManagerDbus.c
14224           gnome/applet/applet-dbus.c
14225                 - Fix up dbus service replacement options.  The applet
14226                         should allow replacement, NM itself should not.
14227
14228 2005-12-13  Robert Love  <rml@novell.com>
14229
14230         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14231           Instead, fail silently if config is NULL by not asserting and not
14232           returning FALSE.  Also, make sure we always fclose() the file.
14233
14234 2005-12-13  Robert Love  <rml@novell.com>
14235
14236         Patch by Stefan Scheler <sscheler@suse.de>:
14237         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14238            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14239            via DHCP.  Still need the backends to commit the NIS domain name and
14240            and servers to yp.conf as needed.
14241
14242 2005-12-13  Robert Love  <rml@novell.com>
14243
14244         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14245           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14246
14247 2005-12-13  Robert Love  <rml@novell.com>
14248
14249         * src/named-manager/nm-named-manager.c: Don't unref the config until
14250           after we call rewrite_resolv_conf(), because get_last_default_domain()
14251           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14252           `config != NULL' failed" assertion failures and "Could not commit DNS
14253           changes" warnings.
14254
14255 2005-12-12  Dan Williams  <dcbw@redhat.com>
14256
14257         * libnm-util/dbus-helpers.[ch]
14258           libnm-util/Makefile.am
14259                 - new helper calls to consolidate locations where
14260                         NM's setDevice method is called
14261
14262         * gnome/applet/applet-dbus-devices.c
14263           gnome/applet/wireless-security-option.c
14264           gnome/applet/wso-*
14265                 - Implement dbus message param append function for
14266                         all wireless security options
14267
14268 2005-12-12  Robert Love  <rml@novell.com>
14269
14270         * libnm-util/cipher-wep-passphrase.c,
14271           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14272           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14273           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14274           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14275           When handling keys, we don't care what the sign is.  The compiler
14276           guarantees us that we get our 8-bits, which is all we care about.
14277         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14278
14279 2005-12-12  Dan Williams  <dcbw@redhat.com>
14280
14281         * gnome/applet/applet-dbus-devices.[ch]
14282           gnome/applet/applet.c
14283           gnome/applet/other-network-dialog.c
14284           gnome/applet/wireless-security-manager.[ch]
14285           gnome/applet/wireless-security-option.[ch]
14286           gnome/applet/wso-*
14287                 - Push the wireless security options further into the applet
14288
14289 2005-12-12  Robert Love  <rml@novell.com>
14290
14291         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14292           return any name servers.  That is perfectly valid.  (Novell #134369).
14293
14294 2005-12-11  Dan Williams  <dcbw@redhat.com>
14295
14296         * gnome/applet/wso-*
14297           gnome/applet/wireless-security-option.*
14298           gnome/applet/Makefile.am
14299                 - split each security option out so we can eventually
14300                         have each one build up their own dbus message
14301                         arguments to send to NM
14302
14303 2005-12-11  Dan Williams  <dcbw@redhat.com>
14304
14305         * Make validation of the key work correctly
14306
14307 2005-12-11  Dan Williams  <dcbw@redhat.com>
14308
14309         * Hook more bits of the Other Network Dialog up to the
14310                 wireless security manager stuff, and restructure
14311                 bits of the dialog so there's less code.
14312
14313 2005-12-10  Dan Williams  <dcbw@redhat.com>
14314
14315         * gnome/applet/Makefile.am
14316                 - Add libnm-util to includes
14317                 - Add libnm-util to link list
14318                 - Add wireless-security-common.* to compile list
14319
14320         * gnome/applet/other-network-dialog.c
14321                 - Convert to using the WirelessSecurityManager code and
14322                         widgets
14323
14324         * gnome/applet/passphrase-dialog.c
14325                 - Comment out references to stuff in the glade file that
14326                         cause runtime errors until it can be fixed up
14327                         to use the WirelessSecurityManager code
14328
14329         * gnome/applet/wireless-applet.glade
14330                 - Rename some widgets
14331                 - Add widgets for the WirelessSecurityManager code
14332                 - Remove passphrase-related stuff since that's now
14333                         handled by the WirelessSecurityManager code
14334
14335 2005-12-10  Dan Williams  <dcbw@redhat.com>
14336
14337         * gnome/applet/applet-dbus-devices.c
14338                 - Print out error message details for dbus pending call callbacks
14339                 - Move nmwa_dbus_update_devices() up
14340
14341         * gnome/applet/applet-dbus-vpn.c
14342                 - Print out error message details for dbus pending call callbacks
14343
14344 2005-12-10  Dan Williams  <dcbw@redhat.com>
14345
14346         * libnm-util/*
14347                 - More fixups
14348                 - Remove cipher-manager.* because we don't need it
14349                 - Forgot to add gnome-keyring-md5 files to compile list
14350
14351 2005-12-09  Dan Williams  <dcbw@redhat.com>
14352
14353         * libnm-util/*
14354           configure.in
14355           Makefile.am
14356                 - Add a utility library for clients of NetworkManager.  It's
14357                         only targetted at applets for the moment, and contains
14358                         a generalized 802.11 cipher framework for different
14359                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14360
14361 2005-12-09  Robert Love  <rml@novell.com>
14362
14363         * src/NetworkManagerDevice.c: handle error better in
14364           nm_device_set_mode().
14365
14366 2005-12-08  Robert Love  <rml@novell.com>
14367
14368         * include/NetworkManager.h: add WPA capabilities constants
14369         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14370           or WPA2 and add the capabilities bits as appropriate.
14371
14372 2005-12-08  Robert Love  <rml@novell.com>
14373
14374         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14375           NetworkManagerDispatcher.
14376         * configure.in, initscript/SUSE/.cvsignore,
14377           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14378           initscript.
14379
14380 2005-12-08  Robert Love  <rml@novell.com>
14381
14382         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14383
14384 2005-12-08  Robert Love  <rml@novell.com>
14385
14386         * src/NetworkManagerDevice.c: We want to fall back on and default to
14387           IW_MODE_AUTO, not -1, which is more in line with our previous
14388           behavior.  Otherwise, we try to set the wireless mode to -1 in
14389           nm_device_set_mode().
14390
14391 2005-12-07  Robert Love  <rml@novell.com>
14392
14393         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14394           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14395           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14396           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14397           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14398           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14399           zero.
14400
14401 2005-12-07  Robert Love  <rml@novell.com>
14402
14403         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14404           supplied IP is invalid, fall back to DHCP.
14405
14406 2005-12-07  Dan Williams  <dcbw@redhat.com>
14407
14408         * Convert NETWORK_MODE_* constants to IW_MODE_*
14409         * Make all the get_mode/set_mode functions take and return 'int'
14410         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14411
14412 2005-12-07  Robert Love  <rml@novell.com>
14413
14414         * src/NetworkManagerDevice.c: strncpy() buffer check.
14415         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14416
14417 2005-12-06  Dan Williams  <dcbw@redhat.com>
14418
14419         * gnome/applet/applet-dbus.c
14420                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14421
14422         * gnome/applet/applet-dbus-vpn.c
14423                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14424                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14425                         to TRUE here if stage was ACTIVATED
14426
14427 2005-12-06  Dan Williams  <dcbw@redhat.com>
14428
14429         * Change nm_device_is_* functions to better names:
14430                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14431                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14432
14433 2005-12-06  Dan Williams  <dcbw@redhat.com>
14434
14435         * Change naming of NMDeviceType to something more sensible:
14436                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14437                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14438                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14439
14440 2005-12-06  Dan Williams  <dcbw@redhat.com>
14441
14442         * Move NetworkManager.h -> include/NetworkManager.h
14443         * Split out VPN stuff into include/NetworkManagerVPN.h
14444         * Fix up makefiles to include new location
14445         * Fix up sources to include NetworkManagerVPN.h
14446
14447 2005-12-06  Dan Williams  <dcbw@redhat.com>
14448
14449         Various changes in the applet to move VPN connection "state" -> "stage",
14450         which it actually is.  I'd like to change the signal as well when we
14451         break compat in the near future.
14452
14453 2005-12-06  Dan Williams  <dcbw@redhat.com>
14454
14455         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14456         * initscript/Slackware/rc.networkmanager
14457                 - Cosmetic fix
14458
14459         * src/backends/NetworkManagerSlackware.c
14460                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14461                         interfaces
14462
14463 2005-12-05  Robert Love  <rml@novell.com>
14464
14465         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14466           to free, particularly here as it just barfs.
14467
14468 2005-12-05  Dan Williams  <dcbw@redhat.com>
14469
14470         * gnome/applet/applet-dbus.c
14471                 - Work with dbus 0.6 too
14472
14473 2005-12-03  Dan Williams  <dcbw@redhat.com>
14474
14475         * src/NetworkManagerUtils.[ch]
14476           src/nm-ip4-config.c
14477                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14478                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14479
14480 2005-12-01  Robert Love  <rml@novell.com>
14481
14482         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14483           need a NULL for the '...' parameter, too, to fill the so-called
14484           sentinel.
14485
14486 2005-12-01  Robert Love  <rml@novell.com>
14487
14488         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14489           interface is already gone, so don't call rtnl_link_change() to down
14490           it (which will segfault, anyhow).
14491
14492 2005-11-22  Robert Love  <rml@novell.com>
14493
14494         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14495           gateway is not set, just print a little note.  Configurations without
14496           gateways are valid.
14497
14498 2005-11-22  Robert Love  <rml@novell.com>
14499
14500         * README: update
14501
14502 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14503
14504         * configure.in: Added Finnish translation to ALL_LINGUAS
14505
14506 2005-11-14  Robert Love  <rml@novell.com>
14507
14508         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14509           Niemueller <tim@niemueller.de>.
14510
14511 2005-11-08  Dan Williams  <dcbw@redhat.com>
14512
14513         Patch from Bill Moss <bmoss@clemson.edu>
14514         * src/NetworkManagerDevice.c
14515                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14516                         of nm_policy_schedule_activation_finish() to prevent a
14517                         race condition that causes the link to be dropped
14518
14519 2005-11-08  Dan Williams  <dcbw@redhat.com>
14520
14521         Patch from Bill Moss <bmoss@clemson.edu>
14522         * src/NetworkManagerAPList.c
14523           src/NetworkManagerDevice.c
14524           src/NetworkManagerDbus.c
14525                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14526                         we get more readable ether/mac addresses
14527
14528 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14529
14530         * gnome/applet/main.c: Don't set the restart command.  This fixes
14531         the issue where the restart command was getting copies of all its
14532         arguments for each time the applet was restarted.
14533
14534 2005-11-02  Robert Love  <rml@novell.com>
14535
14536         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14537           if the widget state differs from our saved state.  This ensures we
14538           do not enter an endless loop of death and destruction.  Also, this
14539           guarantees us that we enforce the widget state.
14540
14541 2005-11-02  Robert Love  <rml@novell.com>
14542
14543         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14544         * gnome/applet/applet-dbus-devices.c: invoke the new function
14545           nmwa_enable_wireless_set_active() to ensure that the state of the
14546           'Enable Wireless' checkbox matches the daemon's state.  This is a
14547           concern because the daemon remembers the state.
14548
14549 2005-11-02  Robert Love  <rml@novell.com>
14550
14551         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14552           Enabled", as checkboxes should be actions/commands not positive
14553           statements, otherwise they are confusing in the unselected case.  See
14554           examples in GNOME HIG, Chapter 6.
14555
14556 2005-11-02  Robert Love  <rml@novell.com>
14557
14558         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14559           show a list of wireless networks or the wireless devices or the
14560           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14561           a bad bug: If wireless is disabled and the user picks a wireless
14562           network, NM will switch to the network, only to immediately switch
14563           back, as wireless is disabled.  This also reassures people that NM
14564           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14565
14566 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14567
14568         * gnome/applet/applet.c:
14569         * gnome/applet/applet.h:
14570         Partial backout of Dan's timeout animation patch.
14571         Timeout IDs cannot legally be 0, so revert the code in place to handle
14572         a timeout ID of 0 to denote the timeout isn't running.
14573
14574 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14575
14576         * src/NetworkManagerPolicy.c:
14577         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14578
14579 2005-10-28  Robert Love  <rml@novell.com>
14580
14581         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14582           "Import Saved Configuration..." to make it clear that importing is
14583           not the next step, but an option.  As an aside, a nice TODO would be
14584           to move Importing out of the vpn-specific dialog and into the main
14585           property editor, as Importing goes with Adding, but that will require
14586           some rearchitecting of the VPN stuff I suspect.
14587
14588 2005-10-27  Dan Williams  <dcbw@redhat.com>
14589
14590         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14591         we should replace most of the distro-specific backend code
14592         with libnl stuff.
14593
14594         Get it here:  http://people.suug.ch/~tgr/libnl/
14595
14596         * configure.in
14597           src/Makefile.am
14598                 - Add checks for libnl pkgconfig file
14599                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14600
14601         * src/NetworkManagerSystem.c
14602           src/nm-ip4-config.[ch]
14603                 - Use libnl rather than ioctl() for most things
14604                 - Remove unused functions
14605
14606 2005-10-27  Robert Love  <rml@novell.com>
14607
14608         * src/backends/NetworkManagerSuSE.c: fix warning message text
14609
14610 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14611
14612         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14613
14614 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14615
14616         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14617         project page <http://www.gnome.org/projects/NetworkManager/>
14618
14619 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14620
14621         * gnome/applet.c: Also use translator credits if we don't have
14622         the new GtkAboutDialog (older versions of GTK+)
14623
14624 2005-10-26  Robert Love  <rml@novell.com>
14625
14626         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14627           failure; correct usage text for "--no-daemon"
14628
14629 2005-10-25  Dan Williams  <dcbw@redhat.com>
14630
14631         * src/NetworkManagerDevice.c
14632                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14633                         no scan results
14634                 - (free_process_scan_cb_data): unref the device when freeing results
14635                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14636                         so we don't unref the device underneath ourselves
14637
14638 2005-10-25  Dan Williams  <dcbw@redhat.com>
14639
14640         * Back out 2005-10-24 commit from Tor Krill.  Patch
14641                 causes nameservers never to be removed from named.
14642
14643 2005-10-24  Dan Williams  <dcbw@redhat.com>
14644
14645         Clean up wireless scanning and wireless link probing.
14646
14647         * src/NetworkManagerDevice.c
14648                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14649                         just see if there's an activation request on the device, and check the
14650                         current link against the activation request access point's ESSID.
14651                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14652                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14653                         don't call process_scan_results() on zero-length data
14654                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14655                         15 seconds (from 10)
14656
14657 2005-10-24  Dan Williams  <dcbw@redhat.com>
14658
14659         Cleanup some applet stuff:
14660
14661         - Animation timeouts.  If NM died while the applet was animating,
14662                 the applet would not hide itself.  This is now fixed.
14663
14664         - Remove some dead code
14665
14666         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14667                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14668
14669         - Track animation timeout using a gboolean rather than the timeout's
14670                 ID, since timeout IDs can legally be 0.
14671
14672 2005-10-24  Dan Williams  <dcbw@redhat.com>
14673
14674         * src/backends/interface_parser.c
14675                 - Add void to function declarations that need it
14676                         to match patch from Engin AYDOGAN
14677
14678         * src/backends/interface_parser.h
14679                 - Remove unused prototype for ifparser_interfaces()
14680
14681         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14682         * src/backends/interface_parser.h:
14683                 - Compile fixes for gcc 4.0.2 (add void)
14684
14685 2005-10-24  Dan Williams  <dcbw@redhat.com>
14686
14687         Patch from Tor Krill <tor@krill.nu>
14688         * src/named-manager/nm-named-manager.c
14689                 - Write more than just the first nameserver to /etc/resolv.conf
14690                 - Write out valid /etc/resolv.conf on exit
14691
14692 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14693
14694         * gnome/applet/applet-dbus-vpn.c:
14695         Get rid of spurious newlines in debug console output
14696
14697 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14698
14699         * src/backends/NetworkManagerGentoo.c:
14700         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14701
14702 2005-10-20  Robert Love  <rml@novell.com>
14703
14704         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14705           direct comparison of floating point values, which is never correct.
14706           Also some misc. cleanup.
14707
14708 2005-10-19  Robert Love  <rml@novell.com>
14709
14710         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14711
14712 2005-10-19  Robert Love  <rml@novell.com>
14713
14714         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14715           sensitivity of the buttons.  Specificaly, do the right thing if
14716           there are no entries.
14717
14718 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14719
14720         * configure.in: Update check for adequate wireless-tools
14721         with an AC_TRY_COMPILE for the new symbols we use.
14722
14723 2005-10-19  Dan Williams  <dcbw@redhat.com>
14724
14725         * src/NetworkManagerDevice.c
14726                 - (process_scan_results): don't drop the last (or only)
14727                         access point we see
14728
14729 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14730
14731         * src/backends/NetworkManagerSlackware.c:
14732         Patch from Nico <lordllucifer@gmail.com>
14733                 - Update the Slackware backend.
14734
14735 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14736
14737         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14738         if we've got GLib 2.8.0
14739
14740 2005-10-18  Robert Love  <rml@novell.com>
14741
14742         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14743           function nm_schedule_state_change_signal_broadcast() when we
14744           deactivate a device, too.
14745
14746 2005-10-18  Robert Love  <rml@novell.com>
14747
14748         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14749           be used uninitialized.
14750
14751 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14752
14753         * test/libnm_glib_test.c: Test unregistering, too.
14754
14755 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14756
14757         * configure.in: Bump to 0.5.0
14758
14759 2005-10-17  Dan Williams  <dcbw@redhat.com>
14760
14761         * NetworkManager.h
14762                 - Remove WPA-related constants so they aren't part of the
14763                         upcoming release.
14764
14765 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14766
14767         * gnome/applet/applet.c:
14768         * gnome/applet/applet.h:
14769         Desensitize the 'Connection Information' menu item when there is
14770         no active connection.
14771
14772 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14773
14774         * gnome/libnm_glib/libnm_glib.c:
14775         Make libnm_glib_unregister_callback () actually unregister the callback
14776
14777 2005-10-17  Robert Love  <rml@novell.com>
14778
14779         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14780           two seconds -- tries is updated every 1/10 of a second, not every
14781           second..
14782
14783 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14784
14785         * gnome/applet/applet-dbus-info.c:
14786         Let D-BUS know that we haven't handled a message when we haven't.
14787
14788 2005-10-17  Robert Love  <rml@novell.com>
14789
14790         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14791           in order to remain 64-bit clean.
14792
14793 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14794
14795         * gnome/applet/applet-dbus-info.c:
14796         Find network encryption keys asynchronously
14797
14798 2005-10-17  Robert Love  <rml@novell.com>
14799
14800         * src/backends/NetworkManagerDebian.c,
14801           src/backends/NetworkManagerRedHat,
14802           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14803           comment delimiter.
14804
14805 2005-10-17  Robert Love  <rml@novell.com>
14806
14807         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14808           "/etc"
14809
14810 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14811
14812         * src/NetworkManagerDevice.c: (process_scan_results)
14813         Fix logic that checks to see whether we have an ESSID.
14814
14815 2005-10-15  Dan Williams  <dcbw@redhat.com>
14816
14817         Move scanning code into NetworkManager rather than use iwlib's
14818         iw_scan() function, so that we can figure out AP capabilities.
14819
14820         * NetworkManager.h
14821                 - Add AP capability bits
14822
14823         * src/NetworkManagerAP.[ch]
14824                 - Add capability field to NMAccessPoint structure
14825                 - Add WPA & RSN Information Element fields and accessor
14826                         functions to NMAccessPoint
14827
14828         * src/NetworkManagerDevice.c
14829                 - Remove usage of iw_scan
14830                 - Add scanning code to NetworkManager rather than use
14831                         iw_scan() from iwlib
14832
14833         * src/NetworkManagerUtils.[ch]
14834                 - (nm_dispose_scan_results): remove, unused
14835
14836 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14837
14838         * gnome/libnm_glib/libnm_glib.c:
14839         * gnome/libnm_glib/libnm_glib.h:
14840         Use guint instead of gint for callback IDs.
14841
14842 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14843
14844         * gnome/applet/applet.c:
14845         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14846         every 1000ms.  It will unconditionally call nmwa_update_state which
14847         kills the existing animation timeout and registers a new one with a
14848         callback to draw a new frame every 100ms.  There are 11 connecting
14849         icon frames, so the last 2 frames kept getting dropped.  Only reset
14850         the animation timeout if we aren't animating.
14851
14852 2005-10-11  Dan Williams  <dcbw@redhat.com>
14853
14854         * gnome/applet/applet-dbus-devices.c
14855                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14856                         We want to grab the product & vendor from net.physical_dev
14857                         rather than info.parent.
14858
14859 2005-10-11  Dan Williams  <dcbw@redhat.com>
14860
14861         * src/NetworkManagerDevice.c
14862                 - Use the driver's WE version for scanning rather than
14863                         the WE version NM was compiled with.  Fixes random
14864                         crashes in iw_scan () in iwlib.
14865
14866 2005-10-10  Dan Williams  <dcbw@redhat.com>
14867
14868         * Remove nm_system_load_device_modules() from backend files
14869                 and from NetworkManager.c
14870
14871 2005-10-10  Dan Williams  <dcbw@redhat.com>
14872
14873         * src/NetworkManagerPolicy.c
14874                 - Fix some bugs introduced by the capabilities patch
14875
14876 2005-10-10  Dan Williams  <dcbw@redhat.com>
14877
14878         * gnome/applet/applet-dbus-info.c
14879                 - (nmi_dbus_get_network_key): hide the menu when putting up
14880                         the keyring dialog.  (not sure if the code is right...)
14881
14882 2005-10-09  Dan Williams  <dcbw@redhat.com>
14883
14884         Patch from Bill Moss <bmoss@clemson.edu>
14885         * src/NetworkManagerDevice.c
14886                 - (nm_device_set_user_key_for_network): don't try to set auth
14887                         mode on the AP from the allowed list if it's NULL
14888
14889 2005-10-09  Dan Williams  <dcbw@redhat.com>
14890
14891         * Replace the "driver support level" stuff with capabilities.  The
14892                 capability field is a bitfield that is more flexible than the
14893                 old driver support level thing.  It's mostly so we can easily
14894                 figure out what supports WPA and what doesn't, but should be
14895                 quite useful later.
14896
14897 2005-10-09  Dan Williams  <dcbw@redhat.com>
14898
14899         * test/nmtest.c
14900                 - Removed
14901
14902         * test/nm-tool.c
14903           test/Makefile.am
14904                 - Added new "nm-tool" tool that gives quite a bit more
14905                         information
14906
14907 2005-10-07  Robert Love  <rml@novell.com>
14908
14909         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14910           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14911           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14912           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14913           appropriate
14914
14915 2005-10-07  Robert Love  <rml@novell.com>
14916
14917         * configure.in: Change our compile flags for the betterment of mankind.
14918           Add "-Wstrict-prototypes" because we comply anyhow and missing a
14919           prototype is very bad on 64-bit platforms as types default to int but
14920           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14921           "-Wmissing-declarations" to warn if we define an exported function
14922           but fail to put it in a header.
14923
14924 2005-10-07  Robert Love  <rml@novell.com>
14925
14926         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14927           by the name nm_update_device_wireless_timeouts() and once tried,
14928           without success, to steal my pet turtle.
14929
14930 2005-10-07  Robert Love  <rml@novell.com>
14931
14932         * Cleanup prototypes: put some functions in header files and mark
14933           others as 'static' -- feel free to invert
14934         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14935           nm_vpn_manager_vpn_connection_list_copy()
14936         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14937           nm_vpn_service_get_dbus_connection()
14938         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14939           nm_vpn_manager_vpn_connection_list_copy()
14940         * src/vpn-manager/nm-vpn-service.c: make
14941           nm_vpn_service_act_request_failed() and
14942           nm_vpn_service_stage2_daemon_wait() static
14943         * src/vpn-manager/nm-vpn-service.h: add prototype for
14944           nm_vpn_service_get_dbus_connection()
14945
14946 2005-10-06  Christopher Aillon  <caillon@redhat.com>
14947
14948         * gnome/applet/applet.c:
14949         * gnome/applet/applet.h:
14950         * gnome/applet/icons/Makefile.am:
14951         Convey information about the current connection stage in the
14952         icons themselves instead of creating a separate progress bar.
14953
14954 2005-10-04  Robert Love  <rml@novell.com>
14955
14956         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14957           convert an ether_addr structure's MAC into a string, because the
14958           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14959           versus 07:3B:04, while the former will not.
14960
14961 2005-10-04  Robert Love  <rml@novell.com>
14962
14963         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14964           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14965           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14966           default route in the 'Connection Information' dialog, send primary
14967           and secondary name servers in in "getProperties" DBUS method, add
14968           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
14969           secondary domain name servers are crucial pieces of information
14970           that a user might need in debugging a network problem.
14971
14972 2005-10-04  Robert Love  <rml@novell.com>
14973
14974         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14975           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14976           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14977           default route in the 'Connection Information' dialog, send default
14978           route in "getProperties" DBUS method, add network_device_set_route(),
14979           and network_device_get_route().  The Gateway is a crucial piece of
14980           connection-related information that a user might need in debugging a
14981           network problem.
14982
14983 2005-10-03  Robert Love  <rml@novell.com>
14984
14985         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
14986           NULL.
14987
14988 2005-10-02  Dan Williams  <dcbw@redhat.com>
14989
14990         * Shorten time taken to sleep by fastpathing bits of device deactivation
14991                 necessary for sleep.
14992
14993         * Fix issue where deactivating a device might deactivate the active
14994                 VPN connection, even if the VPN was not using the device.
14995
14996 2005-10-02  Dan Williams  <dcbw@redhat.com>
14997
14998         * gnome/applet/applet.c
14999                 - Adjust signal strength -> icon mapping values slightly
15000                         (so that 51% signal doesn't show a 75% icon) by adding
15001                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15002                         shows 50% icon, etc.
15003
15004 2005-09-29  Robert Love  <rml@novell.com>
15005
15006         * src/NetworkManager.c: removed unused variable.
15007
15008 2005-09-28  Dan Williams  <dcbw@redhat.com>
15009
15010         Support for named + DBus, using Red Hat DBus patches for named.  You
15011         can find those patches here, with "dbus" in the patch's filename:
15012
15013                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15014
15015         Don't forget the named dbus service file either.
15016
15017         Instead of writing a config file and spawing a named process, NM will
15018         use an already-running dbus-enabled named if it finds one.  NM will
15019         update named's forwarder configuration on the fly using dbus.
15020
15021         If there is no dbus-enabled named running, NM will automatically fall
15022         back to writing the most-recent DNS server information to /etc/resolv.conf
15023         and calling nm_system_update_dns() to kick the system's resolver.
15024
15025         Accordingly, all named-related configure-time options have been removed.
15026
15027 2005-09-26  Robert Love  <rml@novell.com>
15028
15029         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15030           ISDN support!
15031         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15032           bug in error path if "ASKPASSWORD" is "no".
15033
15034 2005-09-26  Robert Love  <rml@novell.com>
15035
15036         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15037           comment in /etc/resolv.conf -- ';' is not.
15038
15039 2005-09-19  Dan Williams  <dcbw@redhat.com>
15040
15041         * src/backends/NetworkManagerRedHat.c:
15042         * src/backends/NetworkManagerDebian.c:
15043         * src/backends/NetworkManagerSlackware.c:
15044         * src/backends/NetworkManagerGentoo.c:
15045         * src/backends/NetworkManagerSUSE.c:
15046         Fix invocations of "/sbin/ip address" to use short form instead
15047
15048 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15049
15050         * src/nm-dbus-device.c: Don't assert when getting
15051         addresses of a not yet connected interface.
15052
15053         * gnome/applet/applet.c: Free icons if loading fails.
15054         Use translator-credits so translators can make themselves known.
15055
15056 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15057
15058         * src/NetworkManagerAP.c:
15059         * src/NetworkManagerAP.h:
15060         * src/NetworkManagerDevice.c:
15061         Set a blacklist for certain common manufacturer default ESSIDs:
15062         APs with these ESSIDs are extremely likely to be completely
15063         different networks: connecting to one should not make NM
15064         auto-connect to every other AP with the same default ESSID.
15065
15066 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15067
15068         * gnome/applet/wireless-applet.glade:
15069         The passphrase entry should also activate the default
15070
15071         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15072
15073         * gnome/applet/applet-dbus-devices.c:
15074         * gnome/applet/applet.c:
15075         * gnome/applet/nm-device.c:
15076         * gnome/applet/nm-device.h:
15077         * src/NetworkManagerUtils.c:
15078         * src/NetworkManagerUtils.h:
15079         * src/nm-dbus-device.c:
15080         I've got a fever, and the only cure for it is less ioctl.
15081         Make NM push IP data rather than make the applet open a socket
15082         to the device.
15083
15084 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15085
15086         * gnome/applet/applet.c:
15087         * gnome/applet/applet-dbus-devices.c:
15088         * gnome/applet/applet-dbus-info.c:
15089         * gnome/applet/passphrase-dialog.c:
15090         * gnome/libnm_glib/libnm_glib.c:
15091         * gnome/vpn-properties/nm-vpn-properties.c:
15092         * src/autoip.c:
15093         * src/backends/NetworkManagerRedHat.c:
15094         * src/named-manager/nm-named-manager.c:
15095         * src/NetworkManagerAPList.c:
15096         * src/NetworkManager.c:
15097         * src/NetworkManagerDbus.c:
15098         * src/NetworkManagerDevice.c:
15099         * src/NetworkManagerPolicy.c:
15100         * src/NetworkManagerSystem.c:
15101         * src/nm-dbus-device.c:
15102         * src/nm-dbus-nm.c:
15103         * src/vpn-manager/nm-vpn-manager.c:
15104         * src/vpn-manager/nm-vpn-service.c:
15105         * test/libnm_glib_test.c:
15106         * test/nminfotest.c:
15107         * test/nmtestdevices.c:
15108         Fix a bunch of 'unused variable' compiler warnings
15109
15110         * NetworkManager.h:
15111         * gnome/applet/applet-dbus-info.c:
15112         * gnome/applet/applet-dbus-info.h:
15113         * gnome/applet/applet.c:
15114         * gnome/applet/applet.h:
15115         * src/NetworkManager.c:
15116         * src/NetworkManagerDbus.c:
15117         * src/NetworkManagerDbus.h:
15118         * src/NetworkManagerDevice.c:
15119         * src/NetworkManagerDevice.h:
15120         * src/NetworkManagerMain.h:
15121         * src/NetworkManagerWireless.c:
15122         * src/NetworkManagerWireless.h:
15123         * src/nm-dbus-nm.c:
15124         Make NetworkManager be smart about how frequently to scan
15125         based on its current state.  Remove the UI for choosing when
15126         to scan.  Scanning still may disabled completely by the user
15127         via the "Wireless Enabled" menu item.
15128
15129 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15130
15131         * gnome/applet/applet.c:
15132         Also overlay the vpn connecting icons onto the wired icon,
15133         when appropriate.
15134
15135         * gnome/vpn-properties/nm-vpn-properties.glade:
15136         Clean up a few strings to use better grammar and proper casing.
15137
15138 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15139
15140         * gnome/applet/vpn-connection.c:
15141         * gnome/applet/vpn-connection.h:
15142         Add nmwa_vpn_connection_is_activating ()
15143
15144         * gnome/applet/applet.c:
15145         * gnome/applet/applet.h:
15146         * gnome/applet/icons/nm-vpn-connecting*.png:
15147         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15148         the user know something's happening between clicking the VPN item and it
15149         actually being connected.
15150
15151 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15152
15153         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15154         failure case as well.
15155
15156 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15157
15158         * gnome/panel/eggtrayicon.[ch]:
15159         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15160
15161 2005-09-07  Dan Williams  <dcbw@redhat.com>
15162
15163         Patch from Bill Moss <bmoss@clemson.edu>
15164         * src/applet-dbus.c
15165                 - (nmwa_dbus_filter): strip whitespace from beginning
15166                         and end of VPN login banner
15167
15168 2005-09-07  Dan Williams  <dcbw@redhat.com>
15169
15170         * The great VPN Manager rewrite of 2005
15171
15172 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15173
15174         * gnome/applet/menu-items.c:
15175         * gnome/applet/nm-device.c:
15176         * gnome/applet/wireless-network.c:
15177         * gnome/libnm_glib/libnm_glib.c:
15178         * src/NetworkManagerDbusUtils.c:
15179         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15180         g_malloc0 doesn't return NULL
15181
15182 2005-09-06  Dan Williams  <dcbw@redhat.com>
15183
15184         Patch from Tomislav Vujec <tvujec@redhat.com>
15185         * src/NetworkManagerDevice.c
15186                 - (nm_get_device_by_udi): don't return a device when we
15187                         actually didn't find what we were looking for
15188
15189 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15190
15191         * gnome/applet/applet-dbus-devices.c:
15192         * gnome/applet/applet-dbus-devices.h:
15193         * gnome/applet/applet-dbus.c:
15194         * src/NetworkManagerDbus.c:
15195         * src/NetworkManagerDbus.h:
15196         * src/NetworkManagerDevice.c:
15197         * src/nm-dbus-device.c:
15198         Make NM push updates about active device strength when it changes,
15199         rather than having the applet poll every 2s.
15200
15201 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15202
15203         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15204         network_device_set_strength
15205
15206 2005-09-04  Dan Williams  <dcbw@redhat.com>
15207
15208         Patch from Bill Nottingham <notting@redhat.com>
15209         * src/NetworkManagerDevice.c
15210                 - (nm_device_activation_cancel): reset the quit_activation flag
15211
15212 2005-09-04  Dan Williams  <dcbw@redhat.com>
15213
15214         * src/nm-activation-request.c
15215                 - (nm_act_request_unref): actually free the structure,
15216                         which we didn't seem to be doing before
15217
15218 2005-09-04  Dan Williams  <dcbw@redhat.com>
15219
15220         Patch from John Palmieri <johnp@redhat.com>
15221         * gnome/applet/applet-dbus-devices.c
15222                 - Fix up unreffing of DBusMessage objects
15223
15224 2005-09-04  Dan Williams  <dcbw@redhat.com>
15225
15226         Patch from John Palmieri <johnp@redhat.com>
15227         * gnome/applet/nm-device.c
15228                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15229
15230 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15231
15232         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15233
15234 2005-09-02  Bill Nottingham  <notting@redhat.com>
15235
15236         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15237
15238 2005-09-01  Dan Williams  <dcbw@redhat.com>
15239
15240         * src/NetworkManager.c
15241                 - (nm_remove_device_from_list): rename to nm_remove_device
15242                 - (nm_hal_device_removed): call nm_remove_device()
15243
15244         * src/NetworkManagerDevice.c
15245                 - Change the NMWirelessScanCB member 'reschedule' which
15246                         wasn't used to 'force' to indicate that we need to
15247                         force a scan when adding a device
15248
15249         * src/nm-dbus-nm.c
15250                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15251                         from the device list
15252                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15253
15254 2005-09-01  Robert Love  <rml@novell.com>
15255
15256         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15257           and the check "!iface" in the error case is probably never true.
15258
15259 2005-09-01  Dan Williams  <dcbw@redhat.com>
15260
15261         Patch from Bill Nottingham <notting@redhat.com>
15262         * src/backends/NetworkManagerRedHat.c
15263                 - Add initial dialup support to Red Hat/Fedora backend
15264
15265 2005-09-01  Dan Williams  <dcbw@redhat.com>
15266
15267         * gnome/applet/applet-dbus-devices.c
15268                 - Sort both wireless networks and devices again, which got
15269                         broken when removing threading
15270
15271 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15272
15273         * gnome/applet/applet.c:
15274         Only show the "Stop/Start All Wireless Devices" menuitem
15275         if we actually have wireless devices.
15276
15277         * gnome/applet/applet-dbus-info.c:
15278         * gnome/applet/applet.c:
15279         * gnome/applet/other-network-dialog.c:
15280         * gnome/applet/vpn-password-dialog.c:
15281         Drop the gtk_dialog_run () calls in favor of connecting to
15282         "response" signals, needed now that the applet is not threaded.
15283
15284 2005-08-31  Dan Williams  <dcbw@redhat.com>
15285
15286         Patch from Bill Moss <bmoss@clemson.edu>
15287         * src/NetworkManagerDevice.c
15288                 - (nm_device_wireless_scan): fix scan timeout values
15289
15290 2005-08-30  Dan Williams  <dcbw@redhat.com>
15291
15292         * gnome/applet/wireless-applet.glade
15293                 - HIG-ify the Other Wireless Networks dialog a bit more
15294                 - Fix some potential segfaults in the info dialog
15295
15296 2005-08-30  Dan Williams  <dcbw@redhat.com>
15297
15298         * gnome/applet/applet-dbus-devices.c
15299                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15300
15301 2005-08-30  Dan Williams  <dcbw@redhat.com>
15302
15303         * gnome/applet/applet-dbus.[ch]
15304                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15305                         they weren't being used anyway
15306
15307 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15308
15309         * test/nmtestdevices.c: (print_usage), (main):
15310         Check the number of arguments, and fix a typo
15311
15312 2005-08-29  Dan Williams  <dcbw@redhat.com>
15313
15314         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15315         * gnome/applet/applet.c
15316                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15317
15318 2005-08-29  Dan Williams  <dcbw@redhat.com>
15319
15320         * gnome/applet/*
15321                 - Don't use threads any more.  Anything that blocks
15322                         (like gtk_dialog_run()) will  have to get fixed up which
15323                         should happen quickly.  We really only had threads to make
15324                         the animation smooth, and when everything got converted over
15325                         to DBus Pending Calls, the need for threads kind of went away
15326
15327 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15328
15329         * gnome/applet/applet.c: Draw VPN connections as radio items
15330         since we don't yet support multiple VPNs.
15331         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15332         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15333
15334 2005-08-29  Dan Williams  <dcbw@redhat.com>
15335
15336         Patch from j@bootlab.org
15337         - Make --without-named work
15338         - Make --with-dhcdbd work correctly
15339
15340 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15341
15342         * configure.in: Added "ca" to ALL_LINGUAS.
15343
15344 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15345
15346         * Fix up VPN state handling between the applet and NetworkManager,
15347                 so that the applet doesn't show a VPN as connected when one
15348                 really is not
15349                         - The applet no longer has a pointer to the active VPN's
15350                                 name, but tracks each VPNs state individually
15351                         - NM no longer has a "getActiveVPNConnection" method
15352                         - NM no longer broadcasts the "VPNConnectionChange" signal
15353                         - NM now broadcasts a "VPNConnectionStateChange" signal
15354                                 whenever the state of a VPN changes
15355
15356 2005-08-26  Dan Williams <dcbw@redhat.com>
15357
15358         * gnome/applet/applet-dbus-devices.c
15359           gnome/applet/applet-dbus-vpn.c
15360                 - Remove calls to dbus_pending_call_ref() because we already
15361                         "own" the pending call
15362                 - Remove calls to dbus_pending_call_get_completed() because
15363                         when we are in the callback, the pending call is completed
15364                         by definition
15365
15366 2005-08-22  Dan Williams <dcbw@redhat.com>
15367
15368         Patch by Bill Moss <bmoss@clemson.edu>
15369         * src/dhcp-manager/nm-dhcp-manager.c
15370                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15371                         some time to send out a RELEASE if they like
15372
15373 2005-08-22  Dan Williams <dcbw@redhat.com>
15374
15375         Noticed by Bill Moss <bmoss@clemson.edu>
15376         * src/NetworkManagerDbus.c
15377                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15378                         instead of just cancelling its activation
15379
15380         * src/NetworkManagerDevice.c
15381                 - (nm_device_deactivate): some small cleanups
15382                 - (nm_device_set_user_key_for_network): deactivate the device
15383                         instead of just cancelling its activation
15384
15385 2005-08-22  Dan Williams <dcbw@redhat.com>
15386
15387         Noticed by Bill Moss <bmoss@clemson.edu>
15388         * src/NetworkManagerDevice.c
15389                 - (nm_device_wireless_scan): fix scan timeout, we were
15390                         waiting way too long for scans to complete
15391
15392 2005-08-22  Dan Williams <dcbw@redhat.com>
15393
15394         Patch from j@bootlab.org:
15395         * src/backends/NetworkManagerDebian.c
15396                 - Make the Debian backend work for static IP again
15397
15398 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15399
15400         * gnome/applet/other-network-dialog.c:
15401         The "Create New Network" and "Connect to Other Network"
15402         dialogs share alot of code, but shouldn't share a window
15403         title.  Give them different ones.
15404
15405         * gnome/applet/wireless-applet.glade:
15406         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15407         Some more minor UI tweaks.
15408
15409 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15410
15411         * gnome/applet/other-network-dialog.c:
15412         * gnome/applet/wireless-applet.glade:
15413         Also need mnemonic widgets, and underline enabled.
15414
15415 2005-08-19  Dan Williams <dcbw@redhat.com>
15416
15417         * vpn-daemons/vpnc/nm-vpnc-service.c
15418                 - (vpnc_watch_cb): remove no-longer-relevant comment
15419                 - (write_config_option): new function, helper to write
15420                         config options to vpnc's stdin
15421                 - (nm_vpnc_config_write): use the new helper, make the
15422                         code shorter
15423
15424 2005-08-19  Christopher Aillon <caillon@redhat.com>
15425
15426         * gnome/applet/passphrase-dialog.c:
15427         * gnome/applet/wireless-applet.glade:
15428         Make the passphrase dialog response based, and treat
15429         responses other than OK (such as Esc, [X]) as a cancel.
15430
15431 2005-08-18  Christopher Aillon <caillon@redhat.com>
15432
15433         * initscript/Gentoo/NetworkManager:
15434         * initscript/RedHat/NetworkManager:
15435         * initscript/RedHat/NetworkManagerDispatcher:
15436         * initscript/SUSE/networkmanager:
15437         CVS remove these in place of .in replacements
15438
15439         * configure.in:
15440         * initscript/Gentoo/NetworkManager.in:
15441         * initscript/RedHat/NetworkManager.in:
15442         * initscript/RedHat/NetworkManagerDispatcher.in:
15443         * initscript/SUSE/networkmanager.in:
15444         These scripts now are generated so they work still when
15445         NM is built using a bindir other than /usr/bin
15446
15447 2005-08-18  Dan Williams <dcbw@redhat.com>
15448
15449         * gnome/applet/main.c
15450                 - Revert previous change for --no-session since
15451                         --sm-disable does the same thing
15452
15453 2005-08-18  Dan Williams <dcbw@redhat.com>
15454
15455         * gnome/applet/applet-dbus-info.c
15456                 - (nmi_dbus_create_error_message): new function
15457                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15458                         functions.  Also don't check for both device _and_ network before
15459                         asking for a user's key, because we may not have gotten all our
15460                         networks back from NM quite yet (due to the dbus pending calls
15461                         coming in later).  Fixes a hang in NM/nm-applet.
15462
15463         * src/NetworkManagerDbus.c
15464                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15465                         slightly more sane manner, even though we are still broken for
15466                         certain other error conditions.
15467                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15468                         to the info-daemon too
15469
15470         * src/NetworkManagerDevice.c
15471                 - Fix some debug messages to be info messages instead
15472
15473 2005-08-18  Dan Williams <dcbw@redhat.com>
15474
15475         * gnome/applet/main.c
15476                 - Add new "--no-session" parameter that disables applet
15477                         session management, ie for testing
15478
15479 2005-08-18  Christopher Aillon <caillon@redhat.com>
15480
15481         * gnome/applet/other-network-dialog.c:
15482         * gnome/applet/wireless-applet.glade: More mnemonics
15483
15484 2005-08-17  Robert Love  <rml@novell.com>
15485
15486         * initscript/SUSE/networkmanager: update
15487
15488 2005-08-17  Dan Williams  <dcbw@redhat.com>
15489
15490         * Tag NM_0_4_1_RELEASE
15491
15492 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15493
15494         * gnome/applet/applet.c: More translatable string cleanup
15495
15496
15497 2005-08-17  Dan Williams  <dcbw@redhat.com>
15498
15499         * gnome/applet/applet-dbus-info.c
15500                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15501                         from the dbus message, which tells us to unconditionally
15502                         ask the user for a new key.  Otherwise, we pull the key from
15503                         the keyring and return it.  If we fail to get the key from the
15504                         keyring, we ask the user for a new key.
15505                 - (nmi_dbus_get_network_key): new function to grab the key for
15506                         an essid from the keyring.
15507                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15508                         Also, don't return any key in the dbus message.
15509
15510         * src/NetworkManagerDbus.[ch]
15511                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15512                         indicate that we unconditionally want a new key.  This function
15513                         is now also used to get keys from the info-daemon which are
15514                         pre-stored, not just for asking the user for a new key.  The
15515                         "new_key" parameter indicates whether or not we wish to ask the
15516                         user for a new key.
15517                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15518                         info-daemon in the return message, so use NULL instead.  The
15519                         key will be filled in at connect time by calling
15520                         nm_dbus_get_user_key_for_network()
15521
15522         * src/NetworkManagerDevice.c
15523                 - (nm_device_wireless_configure): update for "new_key" param to
15524                         nm_dbus_get_user_key_for_network().  We initially set new_key
15525                         to FALSE to see if we have a stored key in the info-daemon, but
15526                         if the connection is unsuccessful at this stage we request a
15527                         new one
15528
15529 2005-08-17  Dan Williams  <dcbw@redhat.com>
15530
15531         * gnome/applet/icons/nm-no-connection.png
15532           gnome/applet/icons/nm-device-wired.png
15533                 - Use Diana's new RJ45 connector icons
15534
15535 2005-08-17  Dan Williams  <dcbw@redhat.com>
15536
15537         * src/NetworkManagerPolicy.c
15538                 - (nm_policy_device_change_check): clarify switching rules if
15539                         both new and old devices are valid; mainly, don't switch
15540                         away from user-requested wireless connection back to a wired
15541                         one
15542
15543 2005-08-17  Dan Williams  <dcbw@redhat.com>
15544
15545         * gnome/applet/Makefile.am
15546                 - Relocate the applet to /usr/bin since it is no longer
15547                         executed by anything, but directly by the user
15548
15549 2005-08-17  Dan Williams  <dcbw@redhat.com>
15550
15551         Patch from Bill Moss <bmoss@clemson.edu>
15552
15553         * gnome/applet/applet-dbus-info.[ch]
15554                 - (nmi_save_network_info): save timestamp for network if it
15555                         was a change requested by the user
15556                 - (nmi_dbus_update_network_info): get user_requested from dbus
15557                         message and pass to nmi_save_network_info()
15558
15559         * gnome/applet/applet.c
15560                 - (nmwa_update_network_timestamp): remove
15561                 - (nmwa_menu_item_activate): don't set timestamp on networks
15562                         here, only after a successful connect in nmi_save_network_info()
15563
15564         * src/NetworkManagerDbus.[ch]
15565                 - (nm_dbus_update_network_info): pass user_requested into the 
15566                         dbus message
15567
15568         * src/NetworkManagerPolicy.c
15569                 - (nm_policy_activation_finish): pass user_requested to
15570                         nm_dbus_update_network_info()
15571
15572 2005-08-16  Robert Love  <rml@novell.com>
15573
15574         * gnome/applet/applet.c: Better "Dial Up" menu item.
15575
15576 2005-08-16  Robert Love  <rml@novell.com>
15577
15578         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15579           "Connection Information" menu item.
15580
15581 2005-08-16  Dan Williams  <dcbw@redhat.com>
15582
15583         Patch from j@bootlab.org
15584         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15585
15586         * configure.in: allow specifying the path to dhcdbd
15587
15588 2005-08-16  Robert Love  <rml@novell.com>
15589
15590         Patch from j@bootlab.org
15591         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15592           src/backends/interface_parser.h: Debian dialup support.
15593
15594 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15595
15596         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15597         * gnome/applet/applet.c: Add some mnemonics for VPNC
15598
15599         * vpn-daemons/.cvsignore: fix this up a little bit
15600
15601 2005-08-16  Robert Love  <rml@novell.com>
15602
15603         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15604           support.
15605
15606 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15607
15608         * gnome/applet/applet.c: Split markup out of translatable strings
15609         and clean up logic a little bit.  (fixes #309012)
15610
15611 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15612
15613         * gnome/vpn-properties/nm-vpn-properties.c:
15614         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15615         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15616         Makeshift fix to remove newlines from translatable strings.
15617         Note that we now return an allocated string, so callers of
15618         get_confirmation_details () must now call g_free () on the
15619         result. (fixes #309033).
15620
15621 2005-08-12  Robert Love  <rml@novell.com>
15622
15623         * gnome/applet/applet-dbus.c: remove newlines from translatable
15624           strings--not needed here anyway. (fix b.g.o #309011)
15625         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15626
15627 2005-08-11  Robert Love  <rml@novell.com>
15628
15629         * gnome/applet/applet.c: mark string as translatable.
15630
15631 2005-08-11  Robert Love  <rml@novell.com>
15632
15633         * initscript/SUSE/networkmanager: update.
15634
15635 2005-08-11  Dan Williams  <dcbw@redhat.com>
15636
15637         * src/nm-dhcp-manager.c
15638                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15639                         an gateway returned from DHCP, try to use the address of the DHCP
15640                         server as the gateway instead.  Found by Ralf Ertzinger.
15641
15642 2005-08-10  Robert Love  <rml@novell.com>
15643
15644         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15645           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15646
15647 2005-08-10  Dan Williams  <dcbw@redhat.com>
15648
15649         Patch from Bill Moss <bmoss@clemson.edu>
15650         * Consolidate writes of access point information updates to the info daemon
15651                 so that we only do it when the connection to the access point was
15652                 successful.  Also consolidates updates to GConf in the Gnome applet.
15653
15654         * src/nm-netlink-monitor.c
15655                 - Silence compile warning when calling g_object_new()
15656
15657 2005-08-08  Dan Williams  <dcbw@redhat.com>
15658
15659         Patch from Steev <steev@steev.net>:
15660         * src/backends/NetworkManagerGentoo.c
15661                 - Stub new dialup backend functions
15662
15663 2005-08-08  Dan Williams  <dcbw@redhat.com>
15664
15665         Patch from Colin Slater:
15666         * src/backends/NetworkManagerGentoo.c
15667                 - (nm_system_update_dns): Fix exit status check for restarting
15668                         nscd
15669
15670 2005-08-05  Robert Love  <rml@novell.com>
15671
15672         * NetworkManager.h,
15673           gnome/applet/applet-dbus-devices.c,
15674           gnome/applet/applet-dbus-devices.h,
15675           gnome/applet/applet-dbus.c,
15676           gnome/applet/applet.c,
15677           gnome/applet/applet.h,
15678           src/NetworkManager.c,
15679           src/NetworkManagerMain.h,
15680           src/NetworkManagerSystem.h,
15681           src/backends/NetworkManagerRedHat.c,
15682           src/backends/NetworkManagerSuSE.c,
15683           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15684
15685 2005-08-05  Robert Love  <rml@novell.com>
15686
15687         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15688           machine's hostname to make adhoc creation idiot-proof.
15689
15690 2005-08-04  Robert Love  <rml@novell.com>
15691
15692         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15693           freed.
15694
15695 2005-08-04  Dan Williams  <dcbw@redhat.com>
15696
15697         * gnome/applet/applet-dbus-info.c
15698           gnome/applet/applet-dbus-info.h
15699                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15700                         to store key, key type, and auth method rather than just auth method
15701                 - (nmi_dbus_update_network_info): new function
15702                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15703
15704         * gnome/applet/passphrase-dialog.c
15705                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15706                         of saving the info ourselves
15707
15708         * gnome/libnm_glib/libnm_glib.c
15709                 - Remove the stupid version check for dbus
15710
15711         * src/NetworkManagerAP.c
15712           src/NetworkManagerAP.h
15713                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15714
15715         * src/NetworkManagerDbus.c
15716           src/NetworkManagerDbus.h
15717                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15718                         more than just the auth method
15719
15720         * src/NetworkManagerDevice.c
15721                 - Update network info at the appropriate times
15722
15723 2005-07-29  Ray Strode  <rstrode@redhat.com>
15724
15725         * src/NetworkManager.c (nm_info_handler): don't use input as format
15726         string (Spotted by Ian Jackson).
15727
15728 2005-07-27  Dan Williams  <dcbw@redhat.com>
15729
15730         * src/nm-dbus-nm.c
15731           src/nm-dbus-net.c
15732                 - Random cleanups of spacing
15733
15734         * gnome/applet/applet.h
15735           gnome/applet/other-network-dialog.c
15736           gnome/applet/passphrase-dialog.c
15737                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15738
15739         Patch from Bill Moss:
15740                 - Make Other Wireless Networks work again with encryption keys
15741
15742 2005-07-26  Dan Williams  <dcbw@redhat.com>
15743
15744         Patch from Steev <steev@steev.net>:
15745         * src/backends/NetworkManagerGentoo.c
15746           src/backends/Makefile.am
15747                 - Fix up Gentoo backend
15748
15749 2005-07-26  Robert Love  <rml@novell.com>
15750
15751         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15752
15753 2005-07-25  Robert Love  <rml@novell.com>
15754
15755         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15756           in the same group as the wireless networks, since they are all
15757           mutually exclusive.
15758
15759 2005-07-24  Ray Strode  <rstrode@redhat.com>
15760
15761         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15762         remove unneeded NULL arg from g_object_new().  Any
15763         warnings caused by not having the extra NULL are just a
15764         result of a bug in glib 2.7.0 - 2.7.2.
15765
15766 2005-07-22  Robert Love  <rml@novell.com>
15767
15768         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15769
15770 2005-07-22  Robert Love  <rml@novell.com>
15771
15772         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15773           parameters (gcc 4.0.2 warning fix).
15774
15775 2005-07-18  Robert Love  <rml@novell.com>
15776
15777         Suggested by Aaron Bockover (abockover@novell.com)
15778         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15779           s/Ascii/ASCII
15780         * gnome/applet/passphrase-dialog.c: ditto
15781         * gnome/applet/wireless-applet.glade: ditto
15782
15783 2005-07-13  Dan Williams  <dcbw@redhat.com>
15784
15785         Patch from Ray Strode <halfline@gmail.com>
15786         * vpn-daemons/vpnc/nm-vpnc-service.c
15787                 - Don't let vpnc daemonize, fixes some races with PID file reading
15788
15789 2005-07-13  Dan Williams  <dcbw@redhat.com>
15790
15791         Patch from Ray Strode <halfline@gmail.com>
15792         * Random cleanups for strict CFLAGS
15793
15794 2005-07-07  Dan Williams  <dcbw@redhat.com>
15795
15796         Patch from Derek Atkins <warlord@MIT.EDU>
15797         * src/nm-dbus-net.c:
15798                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15799
15800 2005-07-07  Dan Williams  <dcbw@redhat.com>
15801
15802         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15803         * src/backends/NetworkManagerGentoo.c
15804                 - Gentoo backend Static IP nameserver fixes
15805                 - General Gentoo backend goodness
15806
15807 2005-07-07  Dan Williams  <dcbw@redhat.com>
15808
15809         Patch from Bastien Nocera:
15810         * gnome/applet/applet.c
15811                 - Fix up error reporting when icons or glade files are missing
15812
15813 2005-07-07  Robert Love  <rml@novell.com>
15814
15815         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15816           are not any VPN connections above it.
15817
15818 2005-07-07  Robert Love  <rml@novell.com>
15819
15820         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15821
15822 2005-07-05  Robert Love  <rml@novell.com>
15823
15824         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15825           zero.
15826
15827 2005-07-05  Robert Love  <rml@novell.com>
15828
15829         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15830           on wired or unencrypted wireless.
15831
15832 2005-07-01  Robert Love  <rml@novell.com>
15833
15834         * src/NetworkManagerSystem.c: Print the error via strerror().
15835
15836 2005-06-30  Robert Love  <rml@novell.com>
15837
15838         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15839           then exit if the glade file is not found.  currently the application
15840           just hangs.
15841
15842 2005-06-30  Robert Love  <rml@novell.com>
15843
15844         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15845           explicitly up all interfaces on wake from sleep.
15846
15847 2005-06-30  Robert Love  <rml@novell.com>
15848
15849         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15850           with information about the currently active connection.
15851         * gnome/applet/applet.h: (ditto)
15852         * gnome/applet/wireless-applet.glade: (ditto), new file
15853
15854 2005-06-30  Robert Love  <rml@novell.com>
15855
15856         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15857         * src/nm-dbus-nm.c: print when we sleep and wake up.
15858         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15859         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15860           in /sbin unless D-BUS is, folks).
15861         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15862
15863 2005-06-27  Robert Love  <rml@novell.com>
15864
15865         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15866           case.
15867
15868 2005-06-27  Robert Love  <rml@novell.com>
15869
15870         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15871           items radios.
15872
15873 2005-06-26  Robert Love  <rml@novell.com>
15874
15875         * src/NetworkManagerDevice.c: be specific about which device in
15876           nm_info() message.
15877
15878 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15879
15880         * src/nm-netlink-monitor.c: correct spelling error.
15881
15882 2005-06-23  Robert Love  <rml@novell.com>
15883
15884         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15885         * gnome/applet/passphrase-dialog.c: more of that keyring!
15886
15887 2005-06-23  Robert Love  <rml@novell.com>
15888
15889         * configure.in: remove extraneous GNOMEKEYRING directives.
15890         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15891         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15892         * gnome/applet/passphrase-dialog.c: whitespace.
15893
15894 2005-06-23  Robert Love  <rml@novell.com>
15895
15896         * src/NetworkManagerDevice.c: division in assignment was flipped.
15897
15898 2005-06-23  David Zeuthen  <david@fubar.dk>
15899
15900         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15901         signal to the child to indicate that we got what we wanted when we
15902         see two new-lines right after each other.
15903         (nmwa_vpn_request_password): Pass a structure with several members
15904         instead of just the passwords
15905
15906 2005-06-23  Dan Williams <dcbw@redhat.com>
15907
15908         * src/NetworkManager.c
15909           src/NetworkManagerMain.h
15910                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15911                 - (nm_hal_init): new function, init libhal context then add devices
15912                 - (nm_hal_deinit): new function, clean up libhal context
15913                 - (nm_data_free): Move Hal cleanup here
15914                 - (main): check whether Hal is running, and if so, get a list of
15915                         network devices from it
15916
15917         * src/NetworkManagerDbus.c
15918                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15919                         and when it appears, get a list of network devices from it.  If
15920                         Hal goes away, clean up the libhal context
15921
15922 2005-06-22  Robert Love  <rml@novell.com>
15923
15924         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15925           permissions of scripts before executing.
15926
15927 2005-06-21  Robert Love  <rml@novell.com>
15928
15929         * initscript/SUSE/networkmanager: update.
15930         * src/backends/NetworkManagerSuSE.c: cleanup.
15931
15932 2005-06-21  Robert Love <rml@novell.com>
15933
15934         * gnome/applet/applet.c: use menu mnemonics.
15935         * gnome/applet/menu-items.c: (ditto)
15936
15937 2005-06-21  Robert Love  <rml@novell.com>
15938
15939         * applet/applet-dbus-devices.c: mark non-static functions static.
15940         * applet/applet-dbus-vpn.c: (ditto)
15941         * applet/applet.c: (ditto)
15942         * applet/nm-device.h: (ditto)
15943         * applet/other-network-dialog.c: (ditto)
15944         * applet/passphrase-dialog.c: (ditto)
15945         * NetworkManager.c: (ditto)
15946         * NetworkManagerDbus.c: (ditto)
15947         * NetworkManagerDevice.c: (ditto)
15948         * NetworkManagerPolicy.c: (ditto)
15949         * NetworkManagerUtils.c: (ditto)
15950         * NetworkManagerWireless.c: (ditto)
15951         * NetworkManagerWireless.h: (ditto)
15952         * nm-netlink-monitor.c: (ditto)
15953         * applet/applet-dbus-info.c: (ditto), add FIXME's.
15954         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15955         * autoip.c: include autoip.h.
15956         * autoip.h: new file.  define get_autoip().
15957         * nm-netlink-monitor.h: define nm_netlink_close_connection().
15958         * NetworkManagerDbus.h: remove duplicate definitions.
15959
15960 2005-06-20  Robert Love  <rml@novell.com>
15961
15962         * Makefile.am: Add missing intltool-foo.in generated files to
15963           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
15964           with the start of stuff to cleanup on 'distclea'.
15965         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
15966           stuff right and 'distcheck' works.
15967         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
15968           we keep it, we need to add all of examples/* to EXTRA_DIST and do
15969           Makefile.am for each.  And systray/Makefile needs to be redone.
15970
15971 2005-06-19  Dan Williams <dcbw@redhat.com>
15972
15973         * src/NetworkManagerDevice.c
15974         - (nm_device_wireless_process_scan_results): scan every 20s when
15975           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
15976
15977 2005-06-19  Dan Williams <dcbw@redhat.com>
15978
15979         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
15980
15981 2005-06-18  Ray Strode <rstrode@redhat.com>
15982
15983         * src/nm-netlink-monitor.c 
15984         (nm_netlink_monitor_event_handler): check for the presence
15985         of either error condition not both. 
15986         
15987         (nm_netlink_monitor_error_handler): emit error signal if
15988         error occurs.
15989
15990         (nm_netlink_monitor_event_handler),
15991         (nm_netlink_monitor_error_handler),
15992         (nm_netlink_monitor_disconnect_handler): if an 
15993         assertion fails disconnect the event handler to prevent 
15994         infinite loops.
15995
15996         * src/nm-netlink-monitor.h: add new error condition
15997         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
15998
15999 2005-06-18  Ray Strode <rstrode@redhat.com>
16000
16001         * src/nm-netlink-monitor.c 
16002         (nm_netlink_monitor_event_handler): remove bogus < 0
16003         check on unsigned value and return early if the kernel
16004         didn't send any bytes.
16005
16006 2005-06-17  Robert Love  <rml@novell.com>
16007
16008         * initscript/SUSE/networkmanager: Change the Provides and default
16009         run levels
16010
16011 2005-06-16  Dan Williams <dcbw@redhat.com>
16012
16013         Patch from Robert Love:
16014         * gnome/applet/applet.c
16015                 - Beautify some applet menu item names
16016
16017 2005-06-17  David Zeuthen  <davidz@redhat.com>
16018
16019         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16020         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16021         Also add new methods can_export, import_file and export.
16022
16023         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16024         to the main UI
16025
16026         * gnome/vpn-properties/nm-vpn-properties.c:
16027         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16028         nm-vpn-ui-interface.h.
16029         (update_edit_del_sensitivity): Also update "Export" sensitivity
16030         (add_vpn_connection): Also add new SVC_NAME column
16031         (import_settings): New function
16032         (retrieve_data_from_selected_connection): New function
16033         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16034         this function
16035         (export_cb): New function
16036         (init_app): Also setup the "export" widget
16037         (main): Support the --import-service and --import-file commandline
16038         arguments
16039
16040         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16041         D-BUS 0.34
16042
16043 2005-06-16  Dan Williams <dcbw@redhat.com>
16044
16045         Patch from Robert Love:
16046         * gnome/applet/menu-items.c
16047                 - (network_menu_item_new): pass -1 as wireless network
16048                         menu items height size request rather than ascent / 2
16049
16050 2005-06-16  Dan Williams <dcbw@redhat.com>
16051
16052         * Clean up wording in Wireless Scan Methods menu items and constants
16053
16054 2005-06-16  Robert Love  <rml@novell.com>
16055
16056         * po/POTFILES.in
16057                 - remove gtkcell* files
16058
16059 2005-06-15  Dan Williams <dcbw@redhat.com>
16060
16061         Patch from Robert Love: make the applet stetic
16062
16063         * gnome/applet/Makefile.am
16064                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16065
16066         * gnome/applet/gtkcellview.h
16067           gnome/applet/gtkcellview.c
16068           gnome/applet/gtkcellrendererprogress.h
16069           gnome/applet/gtkcellrendererprogress.c
16070                 - Removed
16071
16072         * gnome/applet/menu-items.c
16073                 - Progress bars are 5:1 size ratio
16074                 - Use GTK progress bars rather than internal ones
16075
16076 2005-06-15  Dan Williams <dcbw@redhat.com>
16077
16078         Patch from Robert Love:
16079         * initscript/SUSE/networkmanager
16080                 - Fix typo
16081
16082 2005-06-15  Dan Williams <dcbw@redhat.com>
16083
16084         * src/backends/NetworkManagerSuSE.c
16085           src/backends/NetworkManagerRedHat.c
16086           src/backends/NetworkManagerDebian.c
16087                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16088
16089 2005-06-15  Dan Williams <dcbw@redhat.com>
16090
16091         * src/backends/NetworkManagerDebian.c
16092                 - Add nm_system_device_get_use_dhcp() to debian backend
16093
16094         Patch from Kay Sievers:
16095         * src/backends/NetworkManagerSuSE.c
16096                 - Update debian backend for static IP nameservers
16097
16098         * src/NetworkManagerDevice.c
16099                 - Actually set the device to use static IP or DHCP rather
16100                         than always DHCP
16101
16102 2005-06-15  Dan Williams <dcbw@redhat.com>
16103
16104         Patch from Thom May:
16105         * src/backends/NetworkManagerDebian.c
16106                 - Update debian backend for static IP nameservers
16107
16108 2005-06-15  Dan Williams <dcbw@redhat.com>
16109
16110         Patches from Robert Love:
16111         * gnome/applet/wireless-applet.glade
16112                 - Tighten up wording
16113
16114         * src/NetworkManagerDevice.c
16115                 - Remove misplaced ';'
16116
16117         * configure.in
16118           initscript/Makefile.am
16119           initscript/SUSE/Makefile.am
16120           initscript/SUSE/networkmanager
16121                 - Add SUSE initscript
16122
16123 2005-06-12  David Zeuthen  <davidz@redhat.com>
16124
16125         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16126
16127         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16128
16129         * gnome/vpn-properties/nm-vpn-properties.c: New file
16130
16131         * gnome/vpn-properties/Makefile.am: New file
16132
16133         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16134         array of passwords
16135
16136         * src/vpn-manager/nm-vpn-manager.c
16137         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16138         instead of just a single one
16139
16140         * src/vpn-manager/nm-dbus-vpn.c:
16141         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16142         here
16143         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16144
16145         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16146         Change the interface here to give a list of passwords. Also, don't
16147         require username, but do require service
16148
16149         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16150         the binary for the auth-dialog and use that instead of putting up a
16151         dialog asking for a single password
16152
16153         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16154         however do remember the service
16155
16156         * gnome/applet/main.c (main): Setup i18n
16157
16158         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16159         connection to '%s'" to the tooltip if we are connected using VPN
16160         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16161         key to determine whether we the auth-dialog needs to
16162         reprompt. Also cope with the fact that the auth-dialog now returns
16163         an array of passwords.
16164         (nmwa_menu_configure_vpn_item_activate): New handler for
16165         "Configure VPN..." menu item
16166         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16167         (is_vpn_available): New function to determine if we got any
16168         NM-compatible VPN software installed
16169         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16170         items only if we have NM-compatible VPN software installed
16171         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16172         logic for detecting when VPN connections are removed
16173
16174         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16175         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16176         since these are defined elsewhere
16177
16178         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16179         function used to keep track of whether the last attempt succeded
16180         (nmwa_dbus_filter): Update last_attempt according to whether the
16181         VPN connection could be established or not
16182
16183         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16184         Change prototype to take an array of passwords, not just a single
16185         password
16186
16187         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16188         update service, not user
16189         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16190         dbus_active_vpn_name is not NULL before using it
16191         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16192         string array instead of assuming a single password
16193
16194         * gnome/applet/applet-dbus-info.c:
16195         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16196         user name; don't read from gconf
16197
16198         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16199         VPN_NAME_FILES_DIR
16200
16201         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16202
16203         * configure.in: Add checks for gmodule-2.0.
16204         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16205         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16206         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16207         for details
16208
16209         * vpn-daemons/Makefile.am: Removed
16210
16211         * vpn-daemons/README: New file to describe extensions points for VPN
16212         software
16213
16214 2005-06-10  Dan Williams <dcbw@redhat.com>
16215
16216         * src/backends/NetworkManagerRedHat.c
16217                 - (get_current_profile_name): new function, grab current network profile name from
16218                         /etc/sysconfig/network
16219                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16220                         update an IP4 Config structure's settings from it
16221                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16222                         get DNS info from current network profile
16223
16224 2005-06-09  Dan Williams <dcbw@redhat.com>
16225
16226         Patch from Robert Love:
16227         * src/NetworkManagerDevice.c
16228           src/NetworkManagerUtils.c
16229                 - 64-bit build fixes
16230
16231 2005-06-09  Dan Williams <dcbw@redhat.com>
16232
16233         Patch from Kay Sievers and Robert Love:
16234         * configure.in
16235           src/backends/Makefile.am
16236           src/backends/NetworkManagerSuSE.c
16237                 - Add SuSE support
16238
16239 2005-06-09  Dan Williams <dcbw@redhat.com>
16240
16241         * NetworkManager.h
16242                 - Add NMWirelessScanMethod enum for scan methods
16243
16244         * gnome/applet/applet-dbus-devices.c
16245                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16246                 - (nmwa_dbus_update_scanning_enabled): remove
16247                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16248                         since it got removed
16249                 - (nmwa_dbus_enable_scanning): remove
16250
16251         * gnome/applet/applet-dbus-info.c
16252                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16253                         update the wireless scanning method from NMI
16254                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16255                         method value to NetworkManager
16256                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16257
16258         * gnome/applet/applet-dbus-info.h
16259                 - Add prototype for nmi_dbus_signal_update_scan_method
16260
16261         * gnome/applet/applet.c
16262                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16263                         Wireless Scanning menu based on current wireless scan method
16264                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16265                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16266                         and update our menu items to make sure the right one is checked
16267                 - (nmwa_set_scanning_enabled_cb): remove
16268                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16269                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16270                         Scanning menu item
16271                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16272                         from GConf
16273                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16274                         so we get notified of preference values too
16275                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16276
16277         * gnome/applet/applet.h
16278                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16279                 - Add wireless scan method member to applet data
16280                 - Remove pause_scanning_item, add Wireless Scanning submenu
16281
16282         * src/NetworkManager.c
16283                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16284                 - (main): grab scanning method from NMI if we can
16285
16286         * src/NetworkManagerDbus.c
16287                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16288                         nm_dbus_update_wireless_scan_method()
16289                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16290                         from NMI
16291                 - (nm_dbus_nmi_is_running): redundant function, removed
16292                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16293                         when NMI comes back
16294
16295         * src/NetworkManagerDevice.c
16296                 - (nm_device_is_activated): return TRUE if the device is activated
16297                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16298                         and we are activated
16299
16300         * src/nm-dbus-nm.c
16301                 - (nm_dbus_nm_set_scanning_enabled): removed
16302                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16303                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16304
16305 2005-06-09  Dan Williams <dcbw@redhat.com>
16306
16307         * NetworkManager.h
16308           src/vpn-manager/nm-vpn-service.c
16309                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16310
16311 2005-05-27  Dan Williams <dcbw@redhat.com>
16312
16313         * vpn-daemons/vpnc/nm-vpnc-service.c
16314                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16315                         Should fix the bug where the VPN connection terminates the first time.
16316
16317 2005-05-20  Dan Williams <dcbw@redhat.com>
16318
16319         * NetworkManager.h
16320                 - Differentiate VPN config signals between bad VPN config options
16321                         and bad IP config
16322
16323         * gnome/applet/applet-dbus-info.h
16324                 - Add prototypes for wireless network and vpn connection update functions
16325
16326         * gnome/applet/applet-dbus.c
16327                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16328
16329         * gnome/applet/applet.c
16330                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16331                         error signals
16332                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16333                         propogation to NetworkManager
16334                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16335                         notify propogation to NetworkManager
16336
16337         * src/NetworkManagerDbus.c
16338                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16339                         are updating so a network can be removed from it if necessary
16340
16341         * src/vpn-manager/nm-vpn-manager.c
16342                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16343
16344         * vpn-daemons/vpnc/nm-vpnc-service.c
16345                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16346                 - (nm_vpnc_dbus_signal_launch_failed): remove
16347                 - (nm_vpnc_dbus_signal_connect_failed): remove
16348                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16349                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16350                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16351                         for new generalized error signal function, remove config file stuff
16352                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16353                         we can write configuration options to it
16354                 - (nm_vpnc_config_file_generate): removed
16355                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16356                 - (nm_vpnc_config_options_validate): validate the config options we receive
16357                         from NetworkManager to block potential exploits
16358                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16359                         starting vpnc
16360                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16361                         to NetworkManager
16362
16363 2005-05-16  Dan Williams  <dcbw@redhat.com>
16364
16365         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16366                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16367                         is not "connect"
16368
16369 2005-05-16  Dan Williams  <dcbw@redhat.com>
16370
16371         Patch from Tomislav Vujec <tvujec@redhat.com>
16372         * gnome/applet/applet-dbus-info.c
16373                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16374                         GConf and pass them to NetworkManager.  New key is 'routes' under
16375                         the VPN connection, and should be a string list
16376
16377         * src/NetworkManagerSystem.c
16378                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16379                         set them on the device when we set the rest of the VPN config.  Ensure
16380                         they are in the correct format since they are passed directly to the
16381                         command line.
16382
16383         * src/backends/NetworkManagerRedHat.c
16384           src/backends/NetworkManagerDebian.c
16385                 - (nm_system_device_add_route_via_device_with_iface): new function
16386
16387         * src/vpn-manager/nm-dbus-vpn.c
16388                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16389
16390         * src/vpn-manager/nm-vpn-manager.c
16391                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16392                         them into the IP4 config functions
16393
16394 2005-05-15  Dan Williams  <dcbw@redhat.com>
16395
16396         From Filip Miletic:
16397         * po/sr.po
16398           po/sr@Latn.po
16399           configure.in
16400                 - Serbian translation added
16401
16402 2005-05-15  Dan Williams  <dcbw@redhat.com>
16403
16404         * dispatcher-daemon/NetworkManagerDispatcher.c
16405                 - (main): sync arguments with NetworkManager and the applet, now use
16406                         "--no-daemon" rather than "daemon=no"
16407                 - (nmd_print_usage): Fix script path in usage message
16408
16409 2005-05-15  Dan Williams  <dcbw@redhat.com>
16410
16411         * src/NetworkManagerDevice.[ch]
16412           src/NetworkManagerPolicy.c
16413           src/NetworkManager.c
16414           src/nm-dbus-nm.c
16415                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16416                         longer send the DeviceNoLongerActive signal unconditionally, but only
16417                         when the device is actually active.
16418
16419         * dispatcher-daemon/NetworkManagerDispatcher.c
16420                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16421                         and simplify the logic
16422                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16423                         we free it later on
16424
16425         * initscript/RedHat/Makefile.am
16426           initscript/RedHat/NetworkManagerDispatcher
16427                 - Add initscript for NetworkManagerDispatcher
16428
16429
16430         Patch from Bill Moss:
16431         * dispatcher-daemon/NetworkManagerDispatcher.c
16432                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16433
16434         * src/NetworkManagerDbus.c
16435                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16436                         and DeviceNowActive gets signaled, then the device has a new IP address
16437                         anyway.  There's no need for a separate signal.
16438
16439         * src/NetworkManagerDevice.c
16440                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16441
16442         * src/NetworkManagerPolicy.c
16443                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16444                         activates successfully.  This kind of went missing when I reworked the
16445                         activation code.
16446
16447 2005-05-15  Dan Williams  <dcbw@redhat.com>
16448
16449         * configure.in
16450                 - Check for dhcdbd and error if its not found
16451
16452         * src/dhcp-manager/Makefile.am
16453           src/dhcp-manager/nm-dhcp-manager.c
16454                 - Use path to dhcdbd that configure found
16455
16456 2005-05-14  Dan Williams  <dcbw@redhat.com>
16457
16458         * gnome/applet/nm-device.c
16459                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16460                         sort wireless networks alphabetically
16461
16462         * gnome/applet/applet-dbus-devices.c
16463                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16464                         before copying them over to the GUI
16465
16466 2005-05-14  Dan Williams  <dcbw@redhat.com>
16467
16468         * src/NetworkManager.c
16469                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16470                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16471                         the device list, as does nm_get_active_device() which is called from
16472                         nm_vpn_manager_deactivate_vpn_connection().
16473
16474 2005-05-14  Dan Williams  <dcbw@redhat.com>
16475
16476         * NetworkManager.h
16477                 - Add signals for VPN Launch and Connect failures
16478
16479         * gnome/applet/applet-dbus.c
16480                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16481
16482         * gnome/applet/applet.c
16483                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16484                         function to handle all VPN failure messages
16485                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16486                         function to hanlde all VPN failure  messages
16487                 - (show_warning_dialog): work around focus-stealing prevention
16488
16489         * gnome/applet/other-network-dialog.c
16490           gnome/applet/passphrase-dialog.c
16491                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16492                         problem where it never enabled for ASCII Key and Hex Key types
16493
16494         * gnome/applet/wireless-applet.glade
16495                 - Add window title to Other Wireless Network Dialog
16496
16497         * src/vpn-manager/nm-dbus-vpn.c
16498                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16499                         function to handle all VPN failure messages
16500
16501         * src/vpn-manager/nm-vpn-manager.c
16502                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16503
16504         * vpn-daemons/vpnc/nm-vpnc-service.c
16505                 - (nm_vpnc_dbus_signal_launch_failed): new function
16506                 - (nm_vpnc_dbus_signal_connect_failed): new function
16507                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16508                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16509                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16510                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16511
16512 2005-05-11  Dan Williams  <dcbw@redhat.com>
16513
16514         * vpn-daemons/vpnc/nm-vpnc-service.c
16515                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16516                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16517                         file exists before trying to write it out.
16518
16519 2005-05-10  Dan Williams  <dcbw@redhat.com>
16520
16521     * gnome/applet/applet-dbus-device.c
16522         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16523             prevented just entering ESSID and leaving key and key type up to
16524             NetworkManager (which should have them already cached)
16525
16526 2005-05-08  Dan Williams  <dcbw@redhat.com>
16527
16528         * src/NetworkManagerPolicy.c
16529                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16530                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16531                         fix a situation where NM is told to terminate and the device stops activation,
16532                         but the main thread isn't aware of that because it would never have run
16533                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16534                         had already quit.
16535
16536         * src/NetworkManagerDevice.c
16537                 - (nm_device_probe_wired_link_state): cosmetic fixes
16538                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16539                         we've failed to activate or been canceled.
16540                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16541
16542 2005-05-08  Dan Williams  <dcbw@redhat.com>
16543
16544         * src/NetworkManagerWireless.c
16545                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16546                         value of WEXT quality structures, and add a debug message when we cannot
16547                         determine any quality % at all
16548
16549 2005-05-08  Dan Williams  <dcbw@redhat.com>
16550
16551         * src/dhcp-manager/nm-dhcp-manager.c
16552                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16553                         it goes down.
16554
16555 2005-05-06  Dan Williams  <dcbw@redhat.com>
16556
16557         * gnome/applet/applet-dbus-device.c
16558           gnome/applet/applet-dbus-info.c
16559           gnome/applet/applet-dbus.c
16560           gnome/applet/applet.c
16561           gnome/applet/applet.h
16562                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16563
16564         * gnome/applet/applet-dbus.c
16565                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16566                         so we notice when wired device's carriers come back on.  Should
16567                         fix issue with wired devices being grayed out even if the cable
16568                         is in, for devices that support carrier detection.
16569
16570         * gnome/applet/applet.c
16571                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16572                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16573                         tooltip message
16574                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16575                         Fix situation where applet wouldn't respond to menu selections
16576
16577         * src/NetworkManager.c
16578           src/NetworkManagerDevice.c
16579           src/NetworkManagerDbus.c
16580           src/NetworkManagerDbus.h
16581                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16582
16583         * src/NetworkManagerDbus.c
16584                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16585                         Remove, no longer used or relevant
16586                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16587                 - (nm_dbus_schedule_device_status_change_signal): add
16588
16589         * src/NetworkManagerDevice.c
16590                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16591                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16592                         ie don't deactivate them unless explicitly told to by the user.  Also send
16593                         CARRIER_OFF / CARRIER_ON signals when link changes
16594                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16595                         Don't print error message when device is no longer around
16596                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16597                         not just during activation
16598
16599         * src/NetworkManagerPolicy.c
16600                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16601                         auto-device-selection.
16602                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16603
16604         * src/NetworkManagerSystem.c
16605                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16606                         is no longer present (Bill Moss)
16607
16608         * src/backends/shvar.c
16609                 - (svOpenFile): Open read-only to make SELinux happy
16610
16611         * src/backends/NetworkManagerRedHat.c
16612                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16613                         the path to the ifcfg-* files
16614
16615 2005-05-05  Dan Williams  <dcbw@redhat.com>
16616
16617         * Expose activation stages to NetworkManager clients, like the applet
16618         * Add Diana's progress icons to the applet, cued off NM activation stage
16619         * Use more descriptive tooltips, cued off NM activation stage
16620
16621 2005-05-05  Ray Strode  <rstrode@redhat.com>
16622
16623         * src/nm-netlink-monitor.c:
16624                 - Use clear_event_source instead of g_nullify_pointer() again.
16625
16626 2005-05-05  Dan Williams  <dcbw@redhat.com>
16627
16628         * gnome/applet/main.c
16629                 - Fix session management so the applet is actually managed now
16630
16631         * gnome/applet/passphrase-dialog.c
16632                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16633
16634 2005-05-05  Dan Williams  <dcbw@redhat.com>
16635
16636         Patch from Bill Moss:
16637         * gnome/libnm_glib/libnm_glib.c
16638                 - Fix for dbus-0.33
16639
16640 2005-05-05  Dan Williams  <dcbw@redhat.com>
16641
16642         Suggestion from Bill Moss:
16643         * src/NetworkManagerSystem.c
16644                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16645
16646
16647         * src/NetworkManager.c
16648                 - (nm_data_free): move destruction of the various managers after
16649                         release of device list, because deactivating and freeing a device
16650                         requires at least the named manager
16651                 - (nm_poll_and_update_wireless_link_state):
16652                   (nm_device_link_activated):
16653                   (nm_device_link_deactivated):
16654                         don't grab the device list lock when actually updating device
16655                         link status or strength, since nm_device_set_link_active()
16656                         needs to call nm_get_active_device(), which also locks the device list.
16657
16658         * src/NetworkManagerDevice.c
16659                 - (nm_device_set_link_active): if a device's link switches from off->on,
16660                         and it's wired, and the active device is wireless (or there is no
16661                         active device), activate the new device whose link just came on
16662                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16663                         my only calling the link to the current ap "failed" when more than 2
16664                         consecutive link checks have failed
16665
16666 2005-05-04  Dan Williams  <dcbw@redhat.com>
16667
16668         * src/NetworkManagerDevice.c
16669                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16670                         but let link_to_specific_ap() do the locking where it needs
16671
16672         Patch from Bill Moss:
16673         * src/NetworkManagerSystem.c
16674                 - Set MTU of VPN devices to 1412
16675
16676 2005-05-04  Dan Williams  <dcbw@redhat.com>
16677
16678         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16679
16680         * Fix some holes in device activation and retaining the currently connected
16681                 access point
16682
16683 2005-05-03  Dan Williams  <dcbw@redhat.com>
16684
16685         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16686           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16687           means you need dhcdbd, which you can get here (get the latest one):
16688
16689                 http://people.redhat.com/jvdias/dhcdbd/
16690
16691           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16692           interface as dhcdbd.
16693
16694         * Rewrite device activation to facilitate the new DHCP infrastructure and
16695           future improvements.  Its now "activation request" based, ie there is a single
16696           activation request composed of the device, access point, and other info which
16697           follows the entire activation process.  There are 5 stages of the activation
16698           process which correspond to:
16699
16700                 1) Device preparation
16701                 2) Device configuration (bring it up, set ESSID/Key/etc)
16702                 3) IP Config Start (fire off DHCP if we're using it)
16703                 4) IP Config Get (grab config from DHCP or static config files)
16704                 5) IP Config Commit (set device's IP address, DNS, etc)
16705
16706           Note that there is no longer a "scanning" step, since the access point must
16707           be known _before_ activation starts.  If the access point drops out or does
16708           not exist for some reason, the entire activation process fails and must be
16709           restarted for a different access point or device.
16710
16711         Patch from Bill Moss:
16712         * gnome/applet/applet.c
16713                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16714
16715 2005-04-27  Dan Williams  <dcbw@redhat.com>
16716
16717         * gnome/applet/applet-dbus-vpn.c
16718           gnome/applet/applet.c
16719           gnome/applet/applet.h
16720                 - Fix up active VPN handling so that we reliably know when a VPN
16721                         connection has been deactivated
16722
16723         * src/vpn-manager/nm-vpn-manager.c
16724                 - Remove duplicate VPNConnectionChange signal
16725
16726 2005-04-27  Dan Williams  <dcbw@redhat.com>
16727
16728         Patch from Peter Jones:
16729         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16730
16731         Patch from Bill Moss:
16732         * src/NetworkManagerSystem.c
16733                 - Fix checking of return value from ioctl()
16734
16735 2005-04-27  Dan Williams  <dcbw@redhat.com>
16736
16737         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16738         * Warn and exit if icons cannot be found
16739
16740 2005-04-27  Dan Williams  <dcbw@redhat.com>
16741
16742         Patch from Tom Parker:
16743         * Update debian backend
16744
16745 2005-04-27  Dan Williams  <dcbw@redhat.com>
16746
16747         * Merge the applet and the info-daemon, and move the converged
16748                 applet under gnome/applet
16749         * Move libnm_glib to gnome/libnm_glib
16750         * Convert most dbus calls between the applet, info-daemon, and NM
16751                 into async calls
16752         * Fix a few things valgrind noticed
16753         * Make NM broadcast state more reliably
16754
16755 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16756
16757         * configure.in: Added ne in ALL_LINGUAS
16758
16759 2005-04-15  Dan Williams  <dcbw@redhat.com>
16760
16761         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16762                 code for dbus 0.2x versions
16763
16764 2005-04-15  Dan Williams  <dcbw@redhat.com>
16765
16766         Patches from Tom Parker:
16767         - Fix memleaks
16768         - Join with worker thread rather than polling for its exit
16769
16770         Patch from Bill Moss:
16771         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16772
16773 2005-04-15  Dan Williams  <dcbw@redhat.com>
16774
16775         - Fixes to pass 'make distcheck'
16776
16777 2005-04-15  Dan Williams  <dcbw@redhat.com>
16778
16779         Initial VPN Support
16780                 - supports 'vpnc'
16781                 - reworks device IP configuration, backend files have changed and will need
16782                         to be updated for all distributions.  I will try to do what I can for
16783                         them, but I cannot test them.
16784
16785         - Move named directory to src/named-manager
16786         - Make backends directory self-contained
16787
16788 2005-04-06  Dan Williams  <dcbw@redhat.com>
16789
16790         Add debug code for socket/file descriptor leaks.  We register every socket
16791         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16792         list of sockets that we forgot to close on shutdown.  This also consolidates
16793         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16794
16795 2005-04-06  Dan Williams  <dcbw@redhat.com>
16796
16797         * dhcpcd/dhcpcd.c
16798                 - (dhcp_interface_free): fix a file descriptor leak that may have
16799                         caused network drivers to not unload due to refcounts > 0
16800
16801 2005-04-04  Dan Williams  <dcbw@redhat.com>
16802
16803         * panel-applet/NMWirelessAppletDbus.c
16804                 - (nmwa_dbus_call_nm_method): remove some commented code
16805
16806         * src/NetworkManagerAPList.[ch]
16807                 - (nm_ap_list_remove_ap_by_essid): new function
16808
16809         * src/NetworkManagerDevice.c
16810                 - (nm_device_wireless_force_use): remove access points from the ignore list
16811                         when the user forces them
16812
16813         * src/nm-dbus-device.c
16814                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16815
16816 2005-04-04  Dan Williams  <dcbw@redhat.com>
16817
16818         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16819
16820 2005-04-04  Dan Williams  <dcbw@redhat.com>
16821
16822         * src/NetworkManagerDevice.c:
16823                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16824                         of only erroring after the second consecutive scan times out.  Also
16825                         don't exit when the card requires more time than we can give it, just
16826                         log the event and continue.
16827
16828 2005-04-01  Steve Murphy  <murf@e-tools.com>
16829
16830         * configure.in: Added "rw" to ALL_LINGUAS.
16831
16832 2005-04-01  Dan Williams <dcbw@redhat.com>
16833
16834         Perform scans during device activation, if needed.  Both activation 
16835         and scans run in the same GMainContext.  Therefore, if an access point
16836         is not found by the time the device starts activation, it will not
16837         be available until after activation.  We now try to scan during
16838         activation (in nm_wa_test) every 15s so that all available access
16839         points are more likely to be found and available for the activation
16840         procedure.
16841
16842         Also change nm_wireless_link_state_handle() to only update the "best"
16843         AP if we are not forcing a device and if we are not about to change
16844         state.  This attempts to work around a race when forcing a device,
16845         where the forced AP would get cleared out too soon by the link state
16846         checking timeout in the main thread, and the activation attempt with
16847         that AP would fail.
16848
16849 2005-04-01  Dan Williams <dcbw@redhat.com>
16850
16851         * po/POTFILES.in
16852                 - Update with new translatables
16853
16854 2005-03-31  Dan Williams <dcbw@redhat.com>
16855
16856         * panel-applet/NMWirelessAppletDbus.c
16857                 - Fix device names now that hal has changed device parenting for
16858                         network devices.
16859
16860 2005-03-31  Dan Williams <dcbw@redhat.com>
16861
16862         Tighten up handling of wireless devices that don't support wireless
16863         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16864         hadn't been doing pseudo-scanning for a while either and would just
16865         spin waiting for an access point.  They are now manual devices where
16866         the user must choose the access point from the menu every time.  All
16867         "allowed" access points are listed in the applet's menu regardless
16868         of whether or not they can be seen by the card, since it can't scan
16869         anyway.
16870
16871         * src/NetworkManager.c
16872                 - (nm_wireless_link_state_handle): new function, but only update
16873                         the "best" ap for non-scanning devices when its not activating,
16874                         and when no device is being forced on the card
16875                 - (nm_link_state_monitor): split wireless link state handling out
16876                         into separate function
16877
16878         * src/NetworkManagerDevice.c
16879                 - (nm_device_copy_allowed_to_dev_list): new function
16880                 - (nm_device_new): populate non-scanning cards' AP lists with
16881                         access points from the "allowed" list
16882                 - (nm_device_new): don't start a scanning timeout for devices that
16883                         can't scan
16884                 - (nm_device_activation_schedule_finish): new parameter, should be
16885                         the AP that failed to be connected to, pass it on to the
16886                         activation finish function in NetworkManagerPolicy.c
16887                 - (nm_device_activate_wireless): don't ever try to get a new AP
16888                         for non-scanning devices, just fail.  The user must choose
16889                         a new access point manually.
16890                 - (nm_device_activate): grab the AP that failed connection and
16891                         pass it on
16892                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16893                         a link to it, user must manually choose a new one
16894                 - (nm_device_do_pseudo_scan): remove function
16895                 - (nm_device_wireless_process_scan_results): remove bits for non-
16896                         scanning cards since they never get here
16897                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16898                         and fake the scan list for test devices a bit earlier
16899
16900         * src/NetworkManagerPolicy.c
16901                 - (nm_policy_activation_finish): use the failed_ap that we get
16902                         passed rather than getting the best_ap from the card, which
16903                         may have changed since we were scheduled
16904                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16905                         update their scan list directly from the allowed list when
16906                         we get updates to the allowed list from NetworkManagerInfo
16907
16908         * src/NetworkManagerPolicy.h
16909                 - New member for failed access point in NMActivationResult
16910
16911   -------------------------------------
16912
16913         Driver Notification patch: notifies the user when their driver
16914                 sucks.  Gives them the option to ignore further insertions
16915                 of the card that has the sucky driver.
16916
16917         * NetworkManager.h
16918                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16919                         enum and replace it with NO_CARRIER_DETECT and
16920                         NO_WIRELESS_SCAN
16921
16922         * panel-applet/NMWirelessApplet.[ch]
16923                 - Merge essid.glade -> wireless-applet.glade
16924                 - Implement the "Your driver sucks" notification dialog
16925
16926         * panel-applet/NMWirelessAppletDbus.c
16927                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16928                 - Grab hardware address for each device from NM too
16929                 - Check whether the driver for each device sucks or not whenever
16930                         a new device is noticed
16931
16932         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16933                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16934
16935         * src/NetworkManager.c
16936                 - Fix a double-unref on device removal
16937
16938         * src/NetworkManagerUtils.c
16939                 - Set appropriate driver support level on a device that doesn't
16940                         support scanning or carrier detection
16941
16942         * src/nm-dbus-device.c
16943                 - New "getHWAddress" dbus method on devices
16944                 - getSupportsCarrierDetect -> getDriverSupportLevel
16945
16946 2005-03-31  Dan Williams <dcbw@redhat.com>
16947
16948         * src/NetworkManagerDevice.c
16949                 - (nm_device_wireless_scan): Fix leak of scan results in some
16950                         instances
16951
16952 2005-03-29  Dan Williams <dcbw@redhat.com>
16953
16954         * src/NetworkManager.c
16955                 - (nm_poll_and_update_wireless_link_state): make code less indented
16956
16957         Patch from Bill Moss:
16958         * src/NetworkManager.c
16959                 - (nm_device_update_link_state): Update signal strength on wireless
16960                         devices every time we update link state too.
16961
16962 2005-03-29  Dan Williams <dcbw@redhat.com>
16963
16964         * src/NetworkManagerDevice.c
16965                 - (nm_device_set_essid): Work around Orinoco cards which need
16966                         extra time after setting the ESSID
16967
16968 2005-03-29  Dan Williams <dcbw@redhat.com>
16969
16970         * src/NetworkManagerDevice.c
16971                 - Merge one more bit of Peter Jones' completion patch
16972
16973 2005-03-29  Dan Williams <dcbw@redhat.com>
16974
16975         * src/NetworkManagerDevice.c
16976                 - (nm_device_force_use): Fix possible segfault
16977
16978 2005-03-29  Dan Williams <dcbw@redhat.com>
16979
16980         * src/NetworkManagerDevice.c
16981                 - Use iw_get_ext() where we should rather than iw_set_ext()
16982
16983 2005-03-29  Dan Williams <dcbw@redhat.com>
16984
16985         * src/NetworkManagerDevice.c
16986                 - (nm_device_set_up_down): remove check for unsupported devices
16987                         that caused NM to not bring devices up when they were
16988                         added to the device list.
16989
16990 2005-03-28  Dan Williams <dcbw@redhat.com>
16991
16992         * src/NetworkManagerDevice.c
16993                 - (mdio_read): Fix two bugs that caused all devices to fail
16994                         the MII carrier detection support checks
16995
16996 2005-03-26  Dan Williams <dcbw@redhat.com>
16997
16998         * src/NetworkManagerDevice.c
16999                 - (nm_device_wireless_scan): Remove duplicated scanning code
17000
17001 2005-03-25  Dan Williams <dcbw@redhat.com>
17002
17003         * panel-applet/NMWirelessApplet.c
17004                 - (nmwa_about_cb): Add some more contributors
17005                 - (nmwa_update_state): show the applet when there's no connection
17006                 - Enable the "Stop/Resume all wireless devices" option in the
17007                         context menu
17008                 - New "no connection" icon
17009
17010         * src/NetworkManager.c
17011                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17012                         wireless is disabled or we're asleep
17013
17014         * src/NetworkManagerDHCP.c
17015                 - Remove trailing "\n" on debug messages
17016
17017         * src/NetworkManagerDbus.c
17018                 - (nm_dbus_network_status_from_data): new state "asleep"
17019
17020         * src/NetworkManagerDevice.c
17021                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17022                         latency and wait times for most operations
17023                 - (nm_device_wireless_scan): Don't scan when asleep
17024
17025         * src/NetworkManagerPolicy.c
17026                 - (nm_policy_get_best_device): return no device when asleep
17027                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17028                         for all wireless devices on update, not just active device
17029
17030         * src/NetworkManagerUtils.c
17031                 - Merge Peter Jones' "completion" patch
17032
17033         * src/nm-dbus-nm.c
17034                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17035                         we're told to disable them
17036                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17037
17038         * utils/nm-utils.h
17039                 - New variants of the warn/info/error/debug print functions that can take
17040                         variables rather than static strings
17041
17042 2005-03-24  Dan Williams <dcbw@redhat.com>
17043
17044         * src/NetworkManagerUtils.c
17045                 - (nm_get_device_driver_name): driver names are now on the parents of
17046                         "Network Interface" objects, so look for them there
17047
17048 2005-03-24  Dan Williams <dcbw@redhat.com>
17049
17050         * test/nmtest.c
17051                 - Escape some forgotten object paths before we shove them through dbus
17052
17053 2005-03-24  Dan Williams <dcbw@redhat.com>
17054
17055         * dhcpcd/dhcpcd.[ch]
17056           src/NetworkManagerDHCP.c
17057                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17058                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17059
17060         * src/NetworkManagerDbus.c
17061                 - spacing cleanups
17062
17063         * src/nm-dbus-dhcp.c
17064                 - Make the API suck less.  There is now only 1 type of each function,
17065                         ie only "getInteger" and no longer also "getIntegerv".  All types
17066                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17067                         that will never have more than 1 element.  This should simplify
17068                         things greatly.
17069
17070         * test/nm-dhcp-opt-test.c
17071                 - Make the tool not segfault
17072                 - adapt to new DHCP Options API
17073
17074 2005-03-22  Dan Williams <dcbw@redhat.com>
17075
17076         * src/NetworkManager.c
17077                 - (nm_wired_link_deactivated): actually ignore netlink events from
17078                         wireless devices.
17079
17080 2005-03-22  Dan Williams <dcbw@redhat.com>
17081
17082         * src/NetworkManager.c
17083                 - (nm_wired_link_activated): actually ignore netlink events from
17084                         wireless devices.
17085
17086 2005-03-17  Dan Williams <dcbw@redhat.com>
17087
17088         Patch from Tom Parker:
17089         * src/nm-netlink-monitor.c
17090                 - Include unistd.h
17091         * info-daemon/NetworkManagerInfoDbus.c
17092                 - (nmi_dbus_update_network_auth_method): free GConf values
17093
17094         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17095         * src/NetworkManagerDevice.c
17096                 - (nm_device_set_wireless_config): wait for successful
17097                         association longer for some cards (Atheros a/b/g)
17098
17099 2005-03-15  Ray Strode  <rstrode@redhat.com>
17100
17101         * src/NetworkManager.c:
17102         (sigterm_pipe_handler):
17103         remove bogus FIXME
17104
17105 2005-03-15  Ray Strode  <rstrode@redhat.com>
17106
17107         * src/NetworkManagerDbus.c:
17108         Fix some sign weirdness that gcc4 doesn't like,
17109         and add a header file so PPC can hopefully find
17110         SIGTRAP
17111
17112 2005-03-14  Ray Strode  <rstrode@redhat.com>
17113         
17114         Fourth (probably working) cut at porting to
17115         dbus 0.30 api and new hal. This cut adds
17116         some new logging macros to make debugging
17117         easier.
17118
17119         * dispatcher-daemon/NetworkManagerDispatcher.c:
17120         * info-daemon/NetworkmanagerInfo.c:
17121         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17122         * info-daemon/NetworkManagerInfoVPN.c:
17123         * src/NetworkManager.c:
17124         * src/NetworkManagerAP.c:
17125         * src/NetworkManagerAPList.c:
17126         * src/NetworkManagerDHCP.c:
17127         * src/NetworkManagerDbus.c:
17128         * src/NetworkManagerDevice.c:
17129         * src/NetworkManagerPolicy.c:
17130         * src/NetworkManagerSystem.c:
17131         * src/NetworkManagerUtils.c:
17132         * src/NetworkManagerWireless.c:
17133         * src/autoip.c:
17134         * src/nm-dbus-nm.c:
17135         * src/backends/NetworkManagerDebian.c:
17136         * src/backends/NetworkManagerGentoo.c:
17137         * src/backends/NetworkManagerRedHat.c:
17138         * src/backends/NetworkManagerSlackware.c:
17139         use new logging macros.
17140
17141         * dispatcher-daemon/NetworkManagerDispatcher.c:
17142         (nmd_dbus_filter): s/dbus_free/g_free/
17143
17144         * info-daemon/Makefile.am: link in utils library.
17145         * info-daemon/NetworkmanagerInfo.c: use new logging 
17146         macros.
17147         (nmi_dbus_get_network): don't assume enumerations
17148         are 32-bit.
17149         (nmi_dbus_nmi_message_handler): don't free what 
17150         doesn't belong to us.
17151
17152         * libnm_glib/libnm_glib.c:
17153         (libnm_glib_get_nm_status): 
17154         (libnm_glib_init): don't free what doesn't
17155         belong to us.
17156         (libnm_glib_dbus): strdup result, so it doesn't get
17157         lost when message is unref'd.
17158
17159         * panel-applet/NMWirelessAppletDbus.c:
17160         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17161
17162         * src/NetworkManager.c:
17163         (nm_monitor_wired_link_state): request initial status 
17164         dump of all cards when we start up, instead of relying
17165         on /sys/.../carrier.
17166         (nm_info_handler), (nm_set_up_log_handlers): 
17167         log handlers to specify what syslog priorites 
17168         the logging macros default to.
17169
17170         * src/NetworkManagerAPList.c: 
17171         (nm_ap_list_populate_from_nmi):
17172         s/dbus_free_string_array/g_strfreev/
17173
17174         * src/NetworkManagerDbus.c:
17175         (nm_dbus_get_network_object):
17176         validate d-bus message argument types.
17177         Advance message iterator after reading argument,
17178         prepend instead of append to GSList.
17179
17180         * src/NetworkManagerDevice.c:
17181         (nm_device_probe_wired_link_status):
17182         remove redundant /sys in /sys path. remove wrong
17183         contents == NULL means has carrier assumption.
17184
17185         * src/nm-netlink-monitor.c 
17186         (nm_netlink_monitor_request_status): implement
17187         function to ask kernel to dump interface link
17188         status over netlink socket.
17189
17190         * test/*.c: s/dbus_free/g_free/
17191
17192         * utils/nm-utils.h:
17193         (nm_print_backtrace): new macro to print backtrace.
17194         (nm_get_timestamp): new macro to get sub-second precise
17195         unix timestamp.
17196         (nm_info), (nm_debug), (nm_warning), (nm_error):
17197         new logging functions. nm_info just prints,
17198         nm_debug includes timestamp and function,
17199         nm_warning includes function, nm_error includes
17200         backtrace and sigtrap.
17201
17202 2005-03-11  Ray Strode  <rstrode@redhat.com>
17203
17204         Third (unfinished, partially working) cut at porting to 
17205         dbus 0.30 api and new hal.
17206
17207         * info-daemon/NetworkManagerInfoDbus.c:
17208                 don't free null arrays.
17209
17210         * panel-applet/NMWirelessAppletDbus.c: 
17211         * src/nm-dbus-device.c:
17212         * src/nm-dbus-net.c: 
17213         * src/NetworkManagerDbus.c: more 
17214         STRING -> OBJECT_PATH fun
17215         * src/NetworkManagerDevice.c:
17216         * src/NetworkManagerDevice.h:
17217         (rename nm_device_get_link_active): rename to 
17218         nm_device_has_active_link
17219         (nm_device_wireless_link_active): rename to
17220         nm_device_probe_wireless_link_state
17221         (nm_device_wired_link_active): rename to
17222         nm_device_probe_wired_link_state.  Rewrite to
17223         use carrier file since hal doesn't maintain
17224         link state anymore.
17225         (nm_device_update_link_active): rename to
17226         nm_device_update_link_state
17227         * src/NetworkManagerPolicy.c 
17228           (nm_policy_activation_finish): check for NULL
17229           MAC address.
17230
17231         * src/Makefile.am:
17232         * src/NetworkManagerMain.h: 
17233         * src/NetworkManager.c:
17234         * src/nm-netlink-monitor.c:
17235         * src/nm-netlink-monitor.h: New class to support
17236         monitoring wired ethernet link status, since HAL
17237         doesn't export that information anymore.
17238
17239 2005-03-09  Ray Strode  <rstrode@redhat.com>
17240
17241         Second (unfinished, unworking) cut at porting to 
17242         dbus 0.30 api.
17243
17244         * dispatcher-daemon/NetworkManagerDispatcher.c:
17245         * info-daemon/NetworkManagerInfoDbus.c:
17246         * panel-applet/NMWirelessAppletDbus.c:
17247         * src/NetworkManagerDbusUtils.c:
17248         * src/NetworkManagerDbusUtils.h:
17249         * src/nm-dbus-device.c:
17250         * src/nm-dbus-nm.c:
17251         * test/nmtest.c: support dbus "object path" type
17252
17253         * configure.in: 
17254         * Makefile.am:
17255         * info-daemon/Makefile.am:
17256         * libnm_glib/Makefile.am:
17257         * panel-applet/Makefile.am:
17258         * dispatcher-daemon/Makefile.am
17259         * src/Makefile.am:
17260         * test/Makefile.am:
17261         * utils/Makefile.am: 
17262         * utils/nm-utils.c: 
17263         * utils/nm-utils.h: new utils static lib
17264
17265 2005-03-07  Ray Strode  <rstrode@redhat.com>
17266
17267         * info-daemon/NetworkManagerInfoDbus.c:
17268         * libnm_glib/libnm_glib.c:
17269         * panel-applet/NMWirelessAppletDbus.c:
17270         * src/NetworkManager.c:
17271         * src/NetworkManagerDbus.c:
17272         * src/NetworkManagerDevice.c:
17273         * src/NetworkManagerUtils.c:
17274         * src/nm-dbus-device.c:
17275         * src/nm-dbus-dhcp.c:
17276         * src/nm-dbus-net.c:
17277         * src/nm-dbus-nm.c:
17278         * test/nminfotest.c:
17279         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17280
17281 2005-03-04  Dan Williams  <dcbw@redhat.com>
17282
17283         * configure.in
17284                 - Mark HEAD as 0.4
17285
17286 2005-03-04  Dan Williams  <dcbw@redhat.com>
17287
17288         Patch from Peter Jones:
17289         - Make stuff work with gcc 4.0
17290
17291 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17292
17293         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17294
17295 2005-02-27  Jim Huang  <jserv@kaffe.org>
17296
17297         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17298
17299 2005-02-27  Dan Williams  <dcbw@redhat.com>
17300
17301         Patch from Bill Moss:
17302         * panel-applet/NMWirelessAppletDbus.c
17303                 - Make sure strength for current access point is up-to-date when we
17304                         update the gui data model
17305
17306 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17307
17308         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17309
17310 2005-02-27  Dan Williams  <dcbw@redhat.com>
17311
17312         * src/backends/NetworkManagerRedHat.c
17313                 - (nm_system_init): Kill any dhclient processes lying around as well
17314                         as stopping 'nifd' if its already been started.  NetworkManager
17315                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17316
17317 2005-02-27  Dan Williams  <dcbw@redhat.com>
17318
17319         * panel-applet/NMWirelessApplet.c
17320                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17321                         dbus data model, not the GUI data model twice.
17322
17323 2005-02-27  Dan Williams  <dcbw@redhat.com>
17324
17325         * panel-applet/NMWirelessApplet.[ch]
17326           panel-applet/NMWirelessAppletDbus.[ch]
17327                 - Move to incremental network updates.  Instead of blowing away our list
17328                         of devices every time we get a signal from NetworkManager, we now
17329                         incrementally add/remove networks when NetworkManager notifies us that
17330                         a new network has appeared or disappered.  Strength updates now happen
17331                         on-the-fly for each access point as well.  There are now two copies of
17332                         data from NetworkManager: one for the dbus side, and one for the gui side.
17333                         When the dbus side data is modified, it is copied over to the gui side
17334                         so we don't have to hold the data_mutex for long periods of time (and
17335                         therefore block animation of the applet's icon).
17336                 - Clean up some memleaks too
17337
17338         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17339                 - Minor code beautification
17340
17341         * src/NetworkManagerAPList.c
17342                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17343                         completely new and whether or not an existing one's strength was updated.
17344                         Try to fix multiple access points and signal strength by using the highest
17345                         signal strength in each scan for any given ESSID.
17346
17347         * src/NetworkManagerDbus.[ch]
17348                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17349                         wireless networks; now we have only WirelessNetworkUpdate which includes
17350                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17351                 - Kill usage of DbusMessageIter
17352
17353         * src/NetworkManagerDevice.c
17354                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17355                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17356                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17357                         currently associated with from the network list.
17358                 - Update for new signals during scan, send out Appeared, Disappeared, or
17359                         StrengthChanged when necessary.
17360
17361 2005-02-25  Dan Williams  <dcbw@redhat.com>
17362
17363         * README
17364                 - Line break the README
17365
17366 2005-02-25  Dan Williams  <dcbw@redhat.com>
17367
17368         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17369                 - Remove usage of gtk_window_set_default_size()
17370
17371         * panel-applet/essid.glade
17372                 - Stick default size here
17373                 - Add in random crap that current glade wants to add in now
17374
17375 2005-02-25  Dan Williams  <dcbw@redhat.com>
17376
17377         * src/backends/NetworkManagerRedHat.c
17378                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17379                         and that we actually tell nscd to reload the hosts cache when it changes
17380
17381 2005-02-25  Dan Williams  <dcbw@redhat.com>
17382
17383         * info-daemon/NetworkManagerInfoDbus.c
17384                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17385
17386         * test/nminfotest.c
17387                 - Whack usage of DbusMessageIter
17388                 - Clean up DbusError and DbusMessage handling and freeing
17389                 - Remove unused unregister handler
17390
17391         * test/nmtest.c
17392                 - Whack usage of DbusMessageIter
17393
17394         * test/nmtestdevices.c
17395                 - Whack usage of DbusMessageIter
17396
17397 2005-02-25  Dan Williams  <dcbw@redhat.com>
17398
17399         * NetworkManager.h
17400                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17401                         signal
17402
17403 2005-02-25  Dan Williams  <dcbw@redhat.com>
17404
17405         * named/nm-named-manager.c
17406                 - Ensure that pid and watch variables for child named process get cleared out
17407                         when the child goes away.
17408
17409 2005-02-22  Dan Williams  <dcbw@redhat.com>
17410
17411         * src/NetworkManagerPolicy.c
17412                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17413                         and NULL out data->active_device so that we have to choose another one.
17414                         This may make NetworkManager keep attempting to connect to a wired network
17415                         if it fails, but if it keeps failing the wired network has more problems than
17416                         just NetworkManager.
17417
17418         * src/backends/NetworkManagerRedHat.c
17419                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17420                         is already running
17421
17422         * named/nm-named-manager.c
17423                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17424                         named so that the distro can flush whatever name service caching
17425                         daemon it uses
17426
17427 2005-02-21  Dan Williams  <dcbw@redhat.com>
17428
17429         * src/NetworkManagerDHCP.[ch]
17430                 - (nm_device_dhcp_remove_timeouts): new function
17431
17432         * src/NetworkManagerDevice.c
17433                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17434                         remove the DHCP timeouts.
17435
17436 2005-02-21  Dan Williams  <dcbw@redhat.com>
17437
17438         * panel-applet/NMWirelessApplet.[ch]
17439           panel-applet/menu-info.[ch]
17440                 - Give the panel applet some major love: menu items are no longer
17441                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17442                         This allows the applet to actually reflect theme changes correctly,
17443                         since themeing of subclassed items in GTK _sucks_.
17444
17445 2005-02-18  Dan Williams  <dcbw@redhat.com>
17446
17447         * libnm_glib/libnm_glib.[ch]
17448           test/libnm_glib_test.c
17449                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17450                         and its data, and doesn't have to free the callback data anymore
17451
17452 2005-02-18  Dan Williams  <dcbw@redhat.com>
17453
17454         * panel-applet/NMWirelessApplet.c
17455                 - Revert 2005-02-18 William Jon McCann fix for standard
17456                         copyright string until it passes 'make distcheck'.
17457                         With standard copyright string, xgettext complains
17458                         about "Non-ASCII string at ...".
17459
17460 2005-02-18  Dan Williams  <dcbw@redhat.com>
17461
17462         * panel-applet/essid.glade
17463           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17464                 - Correct spelling of "adaptor"->"adapter"
17465
17466 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17467
17468         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17469         (nmwa_about_cb): Use standard copyright string.  Update comment
17470         text to reflect that it is a notification area applet.  Remove
17471         leading newline in authors list.
17472         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17473         instead of on parent menu item activation.  Fixes #167550.
17474
17475 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17476
17477         * panel-applet/essid.glade: Capitalize items as per HIG.
17478           Fixes #167632
17479
17480 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17481
17482         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17483         files for GTK 2.4 or lower, since now public in GTK 2.6.
17484
17485         * panel-applet/essid.glade: Don't specify window size.
17486         
17487 2005-02-17  Dan Williams  <dcbw@redhat.com>
17488
17489         Caught by Bill Moss:
17490         * dhcpcd/client.c
17491                 - Time remaining for DHCP transaction calculation was incorrectly
17492                         inside a #ifdef DEBUG
17493
17494 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17495
17496         * configure.in: Added fr (French) to ALL_LINGUAS.
17497
17498 2005-02-14  Dan Williams  <dcbw@redhat.com>
17499
17500         * src/NetworkManagerDHCP.c
17501                 - (set_domain_searches): Fix free of invalid pointer
17502
17503 2005-02-14  Dan Williams  <dcbw@redhat.com>
17504
17505         Patch from Peter Jones:
17506         * dhcpcd/client.c
17507                 - Ensure we return RET_DHCP_CEASED everywhere we should
17508         * dhcpcd/udpipgen.c
17509                 - Use faster TOS for IP packets
17510                 - Don't set ip_id since we're UDP
17511
17512         Patch from Tomislav Vujec:
17513         * src/nm-dbus-dhcp.c
17514           test/nm-dhcp-opt-test.c
17515                 - Clean up warnings to enable cvs tree compilation.
17516
17517 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17518
17519         * configure.in
17520           po/hr.po
17521                 - Add the Croatian locale.
17522
17523 2005-02-14  Colin Walters  <walters@verbum.org>
17524
17525         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17526         list of domains to search.
17527         
17528         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17529
17530 2005-02-13  Dan Williams  <dcbw@redhat.com>
17531
17532         * dhcpcd/client.c
17533                 - Debug output cleanups of DHCP option printing and parsing.
17534
17535 2005-02-13  Dan Williams  <dcbw@redhat.com>
17536
17537         Patch from Dan Reed:  DHCP options D-BUS API
17538                 Exposes the DHCP options that a device receives to clients over D-BUS.
17539
17540         * configure.in
17541                 - A few cleanups
17542
17543         * dhcpcd/client.h
17544                 - Correct names, option length, and types for DHCP options
17545
17546         * dhcpcd/dhcpcd.[ch]
17547                 - Clarify function names that access DHCP options & data
17548
17549         * src/NetworkManagerDHCP.c
17550                 - Use new DHCP data access functions
17551
17552         * src/NetworkManagerDbus.c
17553                 - Message handler for DHCP functions
17554
17555         * src/nm-dbus-dhcp.[ch] (new)
17556                 - DHCP dbus methods
17557
17558         * test/nm-dhcp-opt-test.c
17559                 - Test DHCP D-BUS API and return all present DHCP options
17560
17561 2005-02-12  Dan Williams  <dcbw@redhat.com>
17562
17563         * test/Makefile.am
17564           test/nmclienttest.c
17565           test/nmtest.c
17566                 - Move nmclienttest.c -> nmtest.c
17567
17568 2005-02-12  Dan Williams  <dcbw@redhat.com>
17569
17570         * dhcpcd/buildmsg.c
17571                 - Pad DHCP packets until they are at least 300 bytes in size.
17572
17573 2005-02-11  Dan Williams  <dcbw@redhat.com>
17574
17575         * dhcpcd/client.c
17576                 - (dhcp_init): only print out client ID and class ID if they are specified
17577
17578         * src/NetworkManagerDbus.[ch]
17579           src/nm-dbus-nm.[ch]
17580           src/nm-dbus-device.[ch]
17581           src/nm-dbus-net.[ch]
17582                 - Move NM, Device, and Net functions to separate files and use the
17583                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17584                         method dispatching
17585
17586         * src/NetworkManagerDbusUtils.c
17587                 - Add new validate_method called before each dispatch (if present)
17588                         that can validate the method call
17589
17590         * src/NetworkManagerWireless.c
17591                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17592                         levels never to be evaluated
17593
17594         Patch from j@bootlab.org
17595         * src/NetworkManagerDevice.c
17596                 - Add typedef for "u64"
17597
17598         * src/backends/NetworkManagerDebian.c
17599                 - Copy in Dave Woodhouse's fixes for IPv6
17600
17601 2005-02-11  Dan Williams  <dcbw@redhat.com>
17602
17603         Patch from Dave Woodhouse for IPv6:
17604         * src/NetworkManagerUtils.c
17605                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17606                         and multicast addresses
17607
17608         * src/NetworkManagerDevice.c
17609                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17610                         after bringing up a card.
17611
17612 2005-02-10  Dan Williams  <dcbw@redhat.com>
17613
17614         Patch from Dave Woodhouse:
17615         * src/NetworkManagerSystem.h
17616           src/backends/NetworkManagerDebian.c
17617           src/backends/NetworkManagerGentoo.c
17618           src/backends/NetworkManagerSlackware.c
17619                 - New nm_system_device_add_ip6_link_address() function to add link-local
17620                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17621
17622         * src/backends/NetworkManagerRedHat.c
17623                 - (nm_system_device_add_ip6_link_address): implement
17624                 - (nm_system_device_flush_addresses): revert to previous behavior of
17625                         flushing all addresses
17626
17627 2005-02-10  Dan Williams  <dcbw@redhat.com>
17628
17629         Patch from Tom Parker:
17630         * src/NetworkManagerDevice.c
17631                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17632                         mii.h headers are broken, and instead use our own typedefs
17633
17634 2005-02-10  Dan Williams  <dcbw@redhat.com>
17635
17636         * dhcpcd/buildmsg.c
17637                 - (fill_host_and_class_id): only fill in client and class IDs if
17638                         they are set by callers.
17639
17640         * dhcpcd/client.c
17641                 - (class_id_setup): don't autogenerate a class ID, only use one
17642                         we're given, if any.
17643                 - (client_id_setup): don't autogenerate a client ID, only use one
17644                         we're given, if any.
17645
17646         * dhcpcd/dhcpcd.c
17647                 - (dhcp_interface_init): ensure that client options are correctly
17648                         NULL terminated
17649
17650         * src/NetworkManagerDHCP.c
17651                 - (nm_device_dhcp_request): pass hostname to dhcp library
17652
17653 2005-02-10  Dan Williams  <dcbw@redhat.com>
17654
17655         * dhcpcd/client.c
17656                 - #rh147661# Don't send kernel version in DHCP requests
17657
17658         * src/NetworkManagerSystem.h
17659           src/backends/NetworkManagerDebian.c
17660           src/backends/NetworkManagerGentoo.c
17661           src/backends/NetworkManagerRedHat.c
17662           src/backends/NetworkManagerSlackware.c
17663                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17664                         functions, they are no longer used anyway
17665
17666         * src/backends/NetworkManagerRedHat.c
17667                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17668                         addresses in an attempt to keep IPv6 local-scope addresses around
17669
17670 2005-02-10  Dan Williams  <dcbw@redhat.com>
17671
17672         * src/NetworkManager.c
17673                 - (nm_create_device_and_add_to_list): change the add message slightly
17674
17675         * src/NetworkManagerUtils.c
17676                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17677                         Return driver name to calling function
17678                 - (nm_get_driver_support_level): print out the driver a device is using
17679                         during the support check
17680
17681         Patch from Dave Woodhouse:
17682         * dhcpcd/udpipgen.c
17683                 - (in_cksum): copy last byte of odd-sized packets into a
17684                         'u_short' rather than a 'u_char', should fix wrong checksums
17685                         on big-endian platforms
17686
17687 2005-02-09  Dan Williams  <dcbw@redhat.com>
17688
17689         * Clean up usage of GSList objects and looping through their members
17690         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17691                 now.
17692         * Fix problem where even if scanning was turned off, card would still
17693                 cycle through frequencies.
17694
17695 2005-02-08  Dan Williams  <dcbw@redhat.com>
17696
17697         * panel-applet/NMWirelessApplet.c
17698                 - Fix for gtk 2.4
17699
17700 2005-02-08  Dan Williams  <dcbw@redhat.com>
17701
17702         Patch from Bill Moss
17703         * panel-applet/NMWirelessApplet.c
17704                 - Restore correct ESSID in tooltips
17705
17706 2005-02-07  Dan Williams  <dcbw@redhat.com>
17707
17708         * panel-applet/NMWirelessApplet.[ch]
17709                 - Add a context menu that contains:
17710                         Pause/Resume Wireless Scanning
17711                         Stop/Start All Wireless Devices
17712                         About...
17713                 - Grab active device strength off active device,
17714                         not its network
17715
17716         * panel-applet/NMWirelessAppletDbus.[ch]
17717                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17718                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17719                 - Update active device strength every 2 seconds, not every 1 second
17720
17721         * panel-applet/menu-info.c
17722                 - Only disable wired devices in the menu when they support carrier detection,
17723                         and don't currently have a link.  Non-carrier-detect devices will always
17724                         remain choosable
17725
17726         * src/Makefile.am
17727           src/NetworkManagerDbusUtils.[ch]
17728                 - Add new new dbus utils sources
17729
17730         * src/NetworkManager.c
17731                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17732                         with the boolean parameter
17733                 - Set scanning_enabled & wireless_enabled to TRUE
17734
17735         * src/NetworkManagerDbus.c
17736                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17737                 - Implement scanning & wireless enable/disable calls
17738                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17739
17740         * src/NetworkManagerDevice.c
17741                 - New link detection stuff again...
17742                         o  Create device's mainloop earlier (but don't run it earlier)
17743                         o  Hook up new carrier-detect support stuff
17744                         o  Add in the ethtool & mii support detection code
17745                 - Don't scan if scanning is disabled
17746
17747         * src/NetworkManagerPolicy.c
17748                 - Never automatically choose a device that doesn't support carrier detection
17749                 - Don't automatically choose a wireless device if wireless is disabled
17750
17751 2005-02-07  Dan Williams  <dcbw@redhat.com>
17752
17753         * libnm_glib/libnm_glib.c
17754                 - Small cleanup in element list iteration
17755
17756 2005-02-07  Dan Williams  <dcbw@redhat.com>
17757
17758         * src/NetworkManagerWireless.c
17759                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17760                         to be in line with the WEXT quality specification
17761
17762 2005-02-02  Dan Williams  <dcbw@redhat.com>
17763
17764         Patch from Nathan Fredrickson <nathan@silverorange.com>
17765         * Fix up compile for deprecation of libgnomeui
17766                 - Switch to <glib/gi18n.h> from <libintl.h>
17767                 - Remove <libgnomeui/libgnomeui.h> includes
17768                 - Use gtk_window_set_default_icon_from_file() rather than
17769                         gnome_window_set_default_icon_from_file()
17770
17771         * named/nm-named-manager.c
17772                 - (generate_named_conf): Fix return-nothing in non-void
17773                         function
17774
17775 2005-02-02  Dan Williams  <dcbw@redhat.com>
17776
17777         * Clean up unused variables and the like
17778
17779 2005-02-02  Dan Williams  <dcbw@redhat.com>
17780
17781         * src/NetworkManagerAPList.c
17782                 - (nm_ap_list_merge_scanned_ap): merge strength too
17783
17784         * src/NetworkManagerUtils.c
17785                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17786                         of locking issues by printing out prettier information than g_mutex_lock
17787                 - Print out names of mutexes registered with nm_register_mutex_desc()
17788                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17789                         us to seemingly block here for too long
17790
17791         * src/NetworkManager.c
17792           src/NetworkManagerAPList.c
17793           src/NetworkManagerDevice.c
17794                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17795                         so we get better debug information printed
17796
17797         * src/NetworkManagerDbus.c
17798                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17799                         since it sometimes has locking side effects
17800                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17801                         from 10s
17802                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17803                         we don't need a switch.  This gets called often enough that we can't block
17804                         until the scan mutex is acquired, because we'll block on device activation
17805                         and a few other things, which hangs main thread for too long.
17806
17807         * src/NetworkManagerPolicy.c
17808                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17809                         nm_device_need_ap_switch() will be called               
17810
17811 2005-02-02  Dan Williams  <dcbw@redhat.com>
17812
17813         * panel-applet/NMWirelessApplet.c
17814                 - Display name of wireless network we are connecting to or connected to
17815                         in the tooltip of the applet
17816
17817 2005-02-02  Dan Williams  <dcbw@redhat.com>
17818
17819         * src/NetworkManagerDHCP.c
17820                 - Hopefully fix double-default-route problem by cleaning up the default
17821                         route added by DHCP code right before the DHCP transaction begins
17822
17823 2005-02-02  Dan Williams  <dcbw@redhat.com>
17824
17825         * named/nm-named-manager.c
17826                 - Write out valid resolv.conf when we exit
17827
17828 2005-02-01  Dan Williams  <dcbw@redhat.com>
17829
17830         Patch from Colin Walters:
17831         * named/nm-named-manager.c
17832                 - Make multi-domain search options work
17833
17834 2005-01-31  Dan Williams  <dcbw@redhat.com>
17835
17836         * info-daemon/NetworkManagerInfoDbus.c
17837                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17838
17839         * src/NetworkManagerDevice.c
17840                 - (nm_device_new): Don't store the entire range struct, use only what we need
17841                         (which is currently avg_quality, max_quality, and frequencies).  Also
17842                         zero device structure when we've free'd it to maybe expose errors down
17843                         the line.
17844                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17845                         quality data from the card since quality will be useless during a scan.
17846                         Call updated wireless qual-to-percent function with values stored in
17847                         nm_device_new() earlier.
17848                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17849                         nm_device_get_bad_crypt_packets())
17850                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17851                         nm_device_new()
17852                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17853                         list if available.  Problem was this: when the WEP key is wrong, NM will
17854                         try OS then SK modes, and then get stuck in SK mode after that.  This
17855                         should reset it.
17856                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17857                         function
17858
17859         * src/NetworkManagerWireless.c
17860                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17861                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17862                         if that's all present, otherwise fall back to signal-to-noise ratios.
17863
17864 2005-01-29  Dan Williams  <dcbw@redhat.com>
17865
17866         * initscript/RedHat/NetworkManager
17867                 - Don't spit out sysctl stuff to console
17868
17869         * libnm_glib/libnm_glib.c
17870                 - (libnm_glib_init): call dbus_g_thread_init()
17871
17872         * panel-applet/NMWirelessAppletDbus.c
17873                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17874
17875         * src/NetworkManager.c
17876                 - (main): call dbus_g_thread_init()
17877
17878         * src/NetworkManagerAPList.c
17879                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17880                         so we can actually see what's there in a normal syslog
17881
17882         * src/NetworkManagerDevice.c
17883                 - (nm_device_activate_wireless): print out the "waiting for access point"
17884                         message only once, then say what access point we actually got after
17885                         the wait.
17886                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17887                         function, wait until the scan is done.  Scans may change the ESSID of
17888                         the card, making this function think we need to switch access points
17889                 - (nm_device_wireless_process_scan_results): for artificial access points
17890                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17891                         prevents collisions with the scanning code, which may change the card's
17892                         ESSID and cause the access point to get dropped from the device's AP
17893                         list.  Also increase the keep-around time to 2m from 60s since the max
17894                         scan interval could be 60s in some cases.
17895
17896         * src/NetworkManagerPolicy.c
17897                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17898                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17899                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17900                         between NM and NMI.
17901
17902 2005-01-27  Dan Williams  <dcbw@redhat.com>
17903
17904         * info-daemon/NetworkManagerInfoDbus.c
17905                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17906                         GConf, make a minimal entry for it (essid & timestamp)
17907
17908         * src/NetworkManagerAPList.c
17909                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17910                         NetworkManagerInfo isn't running
17911
17912         * src/NetworkManagerDbus.[ch]
17913                 - (nm_dbus_nmi_is_running): new function
17914
17915         * src/NetworkManagerDevice.c
17916                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17917                         address to garbage.
17918
17919         * src/NetworkManagerPolicy.c
17920                 - (nm_policy_activation_finish): On successful activation, make sure
17921                         the "best" AP has a MAC address, and don't tell NMI to add the
17922                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17923                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17924                         access point after refreshing our allowed list if it doesn't already
17925                         have a "best" access point.
17926
17927 2005-01-25  Dan Williams  <dcbw@redhat.com>
17928
17929         * panel-applet/NMWirelessAppletDbus.c
17930                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17931                         so we check for NM_DBUS_SERVICE rather than not for it
17932
17933         * libnm_glib/libnm_glib.c
17934                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17935                         ServiceOwnerChanged signal
17936
17937 2005-01-25  Dan Williams  <dcbw@redhat.com>
17938
17939         * configure.in
17940                 - Check DBUS version in configure, and set the C macros
17941                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
17942
17943         * info-daemon/NetworkManagerInfoDbus.c
17944                 - Remove #if 0-d section of code that quit NMI if NM went away.
17945
17946         * panel-applet/NMWirelessAppletDbus.c
17947                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17948
17949         * src/NetworkManager.c
17950           src/NetworkManagerMain.h
17951           src/NetworkManagerDbus.c
17952                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17953                 - Make updating of our Allowed Wireless Network lists from NMI
17954                         an idle function in the main thread now, with a high priority.
17955
17956 2005-01-24  Dan Williams  <dcbw@redhat.com>
17957
17958         * panel-applet/gtkcellview.[ch]
17959           panel-applet/menu-info.c
17960                 - Fix GTK version checks to be <= rather than <
17961
17962         * test/Makefile.am
17963                 - Include the libtool archive of libnm_glib rather than
17964                         trying to pull in the .so
17965
17966 2005-01-24  Dan Williams  <dcbw@redhat.com>
17967
17968         * src/NetworkManagerDevice.c
17969           src/NetworkManagerDevicePrivate.h
17970                 - Block nm_device_new() until our device's worker thread has had a
17971                         chance to start up.  Fixes a race between main thread and worker
17972                         thread starting that caused activation requests to get lost.
17973
17974 2005-01-24  Dan Williams  <dcbw@redhat.com>
17975
17976         * initscript/RedHat/NetworkManager
17977                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17978                         to add the NM startup script at priority 50, which was
17979                         way too early
17980
17981 2005-01-24  Colin Walters  <walters@redhat.com>
17982
17983         * named/named.conf: Use any port for query source instead of
17984         restricting to port 53.
17985
17986 2005-01-24  Dan Williams  <dcbw@redhat.com>
17987
17988         * initscript/RedHat/NetworkManager
17989                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17990                         to add the NM startup script at priority 50, which was
17991                         way too early
17992
17993 2005-01-24  Dan Williams  <dcbw@redhat.com>
17994
17995         Patch from Tom Parker <palfrey@tevp.net>
17996         * Fix up compile warnings & errors in the wireless applet
17997
17998 2005-01-24  Dan Williams  <dcbw@redhat.com>
17999
18000         * panel-applet/NMWirelessApplet.c
18001                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18002
18003 2005-01-24  Dan Williams  <dcbw@redhat.com>
18004
18005         * panel-applet/gtkcellview.[ch]
18006                 - Only compile these files for GTK 2.4 or lower, since 
18007                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18008                         when choosing "Other Wireless Networks" from the panel
18009                         applet menu
18010
18011 2005-01-21  Dan Williams  <dcbw@redhat.com>
18012
18013         * src/NetworkManager.c
18014                 - Daemonize earlier so that glib doesn't get confused (?)
18015
18016 2005-01-21  Dan Williams  <dcbw@redhat.com>
18017
18018         * panel-applet/NMWirelessApplet.[ch]
18019           panel-applet/NMWirelessAppletDbus.c
18020           panel-applet/menu-info.c
18021           src/NetworkManagerDevice.c
18022                 - Disable wired devices in the menu when they have no link.
18023
18024 2005-01-21  Dan Williams  <dcbw@redhat.com>
18025
18026         * Cache last-known-good wireless authentication method in
18027                 NetworkManagerInfo, and use that method first during
18028                 wireless device activation.  Should speed up devices that
18029                 need Shared Key authentication method since Open System is
18030                 now the default.
18031
18032         * Remove the hack to not do full activation on wired connections
18033                 that are active when we launch, it causes too many problems
18034                 with name resolution and was a hack in the first place.
18035
18036         * Re-work wireless device activation again somewhat to have a
18037                 clearer chain of events and to use last-known-good
18038                 authentication method of the access point.  Also provide
18039                 better status throughout activation to ensure the applet
18040                 can tell the user exactly what's going on.
18041
18042         * Remove the "find wireless network" code and now simply attempt
18043                 to activate with that access point.  This reduces the delay
18044                 between selecting "Other wireless Network" and actually
18045                 connecting to that network.
18046
18047         * Correctly stop the device's worker thread when its removed.
18048
18049 2005-01-21  Dan Williams  <dcbw@redhat.com>
18050
18051         * dhcpcd/client.c
18052                 - Clean up some of the debug messages
18053
18054 2005-01-21  Dan Williams  <dcbw@redhat.com>
18055
18056         * Add new icons, more frames of animation
18057         * Remove some hacks to get the panel applet to display correct
18058                 status, an NM update will soon follow that will fix the
18059                 real issue.
18060
18061 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18062
18063         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18064         the first include for working i18n. Also, don't include it in .h files
18065         * panel-applet/NMWirelessApplet.h: Same
18066         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18067         * panel-applet/menu-info.c: Same
18068
18069 2005-01-18  Dan Williams <dcbw@redhat.com>
18070
18071         * dhcpcd/client.c
18072                 - Remove some debug messages
18073                 - Wrap others in #ifdef DEBUG/#endif
18074
18075         * src/NetworkManager.c
18076                 - Remove some debug messages
18077                 - Clarify some debug messages
18078                 - Remove code related to old single-thread wireless scanning
18079
18080         * src/NetworkManagerAP.[ch]
18081                 - New AP property "last_seen" to track how recently an AP was
18082                         found in a scan
18083                 - Start using 'const' more in function arguments
18084
18085         * src/NetworkManagerAPList.[ch]
18086                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18087                         of an AP found in an AP list from a source AP, or if not found
18088                         in the list add the source AP
18089                 - (nm_ap_list_combine): remove, no longer needed
18090
18091         * src/NetworkManagerDevice.c
18092                 - Each device now has a "worker" thread from start to end of its life.
18093                         Scanning for wireless devices now happens in that thread,
18094                         not in a single "wireless scanning thread" for all devices as
18095                         previously.  Activation consists of adding an idle handler to the
18096                         thread's main loop/context, which gets run at the next available
18097                         opportunity.
18098                 - Wireless scanning is also simplified, there is now only one list of
18099                         access points per wireless device, and APs older than 60s are
18100                         removed from the list.  Previously, we kept results for the last
18101                         3 scans and merged whole lists, which was complicated.
18102                 - Cleaned up activation debug messages.
18103                 - Wireless activation and access-point search routines now use Open System
18104                         authentication before trying Shared Key.
18105                 - Removed some code in nm_device_update_best_ap() that could cause cards
18106                         to loose their link to the access point.
18107                 - Scanning now uses a backoff algorithm, where the inverval becomes
18108                         progressively longer between scans when the list of scanned access
18109                         points doesn't change.  A change will revert to the shortest scan
18110                         interval (20s).
18111
18112         * src/NetworkManagerWireless.[ch]
18113                 - Remove code related to old single-thread wireless scanning
18114
18115 2005-01-18  Colin Walters  <walters@redhat.com>
18116
18117         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18118         of older nameservers.
18119
18120 2005-01-18  Colin Walters  <walters@redhat.com>
18121
18122         * named/nm-named-manager.c (generate_named_conf): Many fixes
18123         to config file generation.
18124         (safer_kill): Remove, was too much trouble for little gain.
18125         (nm_named_manager_start): Run named as NM_NAMED_USER.
18126
18127         * configure.in: Add option --with-named-user.
18128
18129 2005-01-14  Colin Walters  <walters@redhat.com>
18130
18131         Patch from ed@catmur.co.uk (Ed Catmur)
18132
18133         * named/nm-named-manager.c: Add "context" property.
18134         Use it to add child watch source in specific GMainContext.
18135
18136         * src/NetworkManager.c (nm_data_new): Initialize
18137         named with correct main context.  Start named only
18138         after forking.
18139
18140 2005-01-14  Colin Walters  <walters@redhat.com>
18141
18142         * named/nm-named-manager.c (generate_named_conf): Write config
18143         and pid files into NM_NAMED_DATA_DIR; this allows things to
18144         work better with FC3 named SELinux policy.  Also fix up silly
18145         format error.
18146
18147         * configure.in: Add --with-named-dir option.
18148
18149 2005-01-14  Colin Walters  <walters@redhat.com>
18150
18151         * configure.in: Make named support require passing --with-named.
18152
18153         * named/nm-named-manager.c: Support writing resolv.conf directly
18154         without running named.
18155
18156 2005-01-13  Dan Williams <dcbw@redhat.com>
18157
18158         * named/nm-named-manager.c
18159                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18160
18161         * src/NetworkManagerDevice.c
18162                 - Rework wireless link detection code to be more reliable
18163
18164 2005-01-12  Dan Williams <dcbw@redhat.com>
18165
18166         * initscripts/RedHat/NetworkManager
18167                 - Change initial level to "-" rather than "345" so that
18168                         we don't activate ourselves by default on install
18169
18170 2005-01-12  Dan Williams <dcbw@redhat.com>
18171
18172         * libnm_glib/
18173                 - Client library for applications using glib
18174
18175         * configure.in
18176           various Makefiles
18177                 - Split NM_CFLAGS and NM_LIBS into separate variables
18178                         like DBUS_*, HAL_* and GLIB_*
18179
18180         * src/NetworkManager.c
18181           src/NetworkManagerMain.h
18182                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18183                         broadcast a status changed signal over DBUS from the main thread.
18184                         Still unused anywhere for the moment.
18185
18186         Patch from j@bootlab.org
18187         * panel_applet/NMWirelessAppletDbus.c
18188           src/NetworkManagerDbus.c
18189                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18190                         for the "getMode" method call
18191
18192 2005-01-10  Dan Williams <dcbw@redhat.com>
18193
18194         * src/NetworkManagerDevice.c
18195                 - Minor fixups & corrections to "auto" frequency mode, make it
18196                         less chatty with syslog
18197
18198 2005-01-10  Dan Williams <dcbw@redhat.com>
18199
18200         * src/NetworkManagerDevice.c
18201                 - Implement "auto" frequency/channel support, since cards like Atheros
18202                         can't use other frequencies at all when you've told it to use a
18203                         specific one, even for scanning.
18204                 - Grab the scan mutex around places where we can't tolerate wireless
18205                         settings changing underneath us, like nm_device_wireless_network_exists()
18206                         and nm_device_activate_wireless()
18207
18208         * src/NetworkManagerWireless.c
18209                 - Back scan interval off to 20s instead of 14s
18210
18211 2005-01-09  Dan Williams <dcbw@redhat.com>
18212
18213         * src/NetworkManagerDevice.c
18214                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18215                         already set.  Stops some drivers like Atmel from continually
18216                         reloading the firmware, which they do upon every configuration
18217                         change.
18218
18219 2005-01-09  Dan Williams <dcbw@redhat.com>
18220
18221         * dhcpcd/client.c
18222                 - Use correct timeout value
18223
18224         * info-daemon/NetworkManagerInfoDbus.c
18225           src/NetworkManagerDbus.c
18226                 - Consolidate communication between NM and NMI by doing only 1 dbus
18227                         method call to get Wireless Network info from NMI instead of 6
18228
18229         * src/NetworkManager.c
18230                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18231                         when we didn't have an AP to use, we'd wait for one forever without
18232                         quitting
18233
18234         * src/NetworkManagerDevice.c
18235                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18236                         activation, dhcp might not have started yet but we don't quit activation
18237                         before starting it, so the quit signal gets lost
18238
18239 2005-01-07  Dan Williams <dcbw@redhat.com>
18240
18241         * dhcpcd/client.c
18242                 - Rework the DHCP client code to be much less chatty when
18243                         it receives non-DHCP UDP packets during the DHCP run
18244                         (reported by and preliminary patches from Bill Moss)
18245
18246         * Move wireless scanning to a separate thread.  This thread forwards the
18247                 results to the main thread when done where they are integrated into
18248                 the device's access point lists.  This keeps the main thread (which
18249                 does all the DBUS communication) from being blocked for long periods
18250                 of time by wireless scanning.
18251
18252         * Make state modification an idle routine in the main loop, and trigger
18253                 state changes rather than polling for them.
18254
18255         * src/backends/NetworkManagerGentoo.c
18256                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18257
18258         * src/NetworkManagerDevice.c
18259                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18260                         router advertisements, causing problems and infinite loop
18261                         during "best" device determination due to link going up/down
18262                         (reported by Bill Moss)
18263
18264         Apply patch from Peter Jones
18265         * src/NetworkManagerDevice.c
18266                 - Shortcut for link-checking for ipw2x00 cards
18267                 - Split out association check into separate routine
18268
18269 2004-01-05  Colin Walters  <walters@redhat.com>
18270
18271         * named/named.conf: Add PID_FILE.
18272
18273         * named/nm-named-manager.c: Always generate a pid
18274         file, since older BIND versions don't support
18275         "pid-file none".
18276
18277 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18278
18279         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18280
18281 2004-12-22  Dan Williams <dcbw@redhat.com>
18282
18283         * src/NetworkManagerDevice.c
18284                 - Silently fail when setting bitrate doesn't work
18285
18286
18287         Patches from j@bootlab.org:
18288         * src/backends/NetworkManagerDebian
18289                 - Update backend to match functionality in RedHat backend
18290         * src/NetworkManagerDevice.c
18291                 - Take down then bring up wired devices after connection so
18292                 they send out ipv6 router advertisements
18293
18294 2004-12-21  Colin Walters  <walters@verbum.org>
18295
18296         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18297         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18298
18299 2004-12-21  Colin Walters  <walters@redhat.com>
18300
18301         * configure.in: Correct named detection.
18302
18303 2004-12-21  Colin Walters  <walters@redhat.com>
18304
18305         * src/NetworkManager.c (nm_data_new): Initialize named.
18306         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18307         the mainloop when these signals are received.
18308         (nm_data_free): Unref named.
18309         (sigterm_handler, sigterm_pipe_handler): New functions for
18310         exiting mainloop.
18311         
18312         * src/NetworkManagerMain.h (NMData): Add signal handling and
18313         nameserver bits.
18314
18315         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18316         unref.
18317
18318         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18319         set nameservers from DHCP response data.
18320         (set_domain_search): Set domain search from DHCP response.
18321         (nm_device_dhcp_configure): Invoke them.
18322
18323         * src/NetworkManagerSystem.c
18324         (nm_system_device_update_resolv_conf): Delete.  Deleting
18325         code is totally sweet.
18326
18327         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18328
18329         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18330         implements an object which controls a nameserver.  Currently
18331         uses bind 9.
18332
18333         * configure.in: Check for named.
18334
18335         * Makefile.am (SUBDIRS): Add named dir.
18336
18337         * named/named.conf: New template config file.
18338
18339 2004-12-20  Colin Walters  <walters@redhat.com>
18340
18341         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18342         instead of '='.
18343
18344 2004-12-17  Dan Williams  <dcbw@redhat.com>
18345
18346         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18347                 link-local addresses instead of doing DHCP.
18348
18349         * In the panel applet, there's a new "Create new Wireless Network..." item
18350
18351         * The panel applet also sticks around now even if NetworkManager dies, but
18352                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18353                 a bug, I'll fix that later.
18354
18355         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18356                 lookups after a switch rather than actually doing them.
18357
18358         * Clean up some of those warnings in nm_ap_list_* functions
18359
18360         * Delay between scans changed to 15s instead of 10s
18361
18362 2004-12-15  Dan Williams  <dcbw@redhat.com>
18363
18364         Patch from Tom Parker
18365         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18366                 address
18367
18368         * Longer pause after setting ESSID on cards that support a larger number
18369                 of channels to give the card time to find the right channel
18370
18371         * Add system hook to restart mDNSResponder (or whatever the local implementation
18372                 of Multicast DNS is) when we activate interfaces
18373
18374 2004-12-15  Dan Williams  <dcbw@redhat.com>
18375
18376         * Rework the DHCP code again to revert to sending full ethernet frames
18377                 rather then relying on the kernel to do the right thing with our
18378                 packets.
18379
18380 2004-12-06  Dan Williams  <dcbw@redhat.com>
18381
18382         * dhcpcd/client.c
18383                 - Fix some minor errors in dhcp_handle_transaction() that caused
18384                         unexpected early timeouts of DHCP transactions
18385
18386         * dhcpcd/client.h
18387                 - DHCP retransmit time from 4s -> 5s
18388
18389 2004-12-05  Dan Williams  <dcbw@redhat.com>
18390
18391         * Major rework of the DHCP code, taking some cues from pump.  We don't
18392                 write raw Ethernet packets anymore, which simplifies the code quite
18393                 a bit.  The new code should be more robust, not hang in recvfrom()
18394                 as much, and generally work better.  This also means that we need
18395                 to force HAL/dbus to use a created GMainContext rather than the
18396                 default context, since having the DHCP renew/rebind thread using
18397                 its own GMainContext seemed to give dbus a fit.  There is also more
18398                 debugging information printed from the DHCP loop to help with future
18399                 problems.
18400
18401         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18402                 assume that the default gateway should be the DHCP server.
18403
18404         Patch from Matthew Schick <matt oss-institute org>
18405         * src/backends/NetworkManagerGentoo.c
18406                 - Fix compilation error due to missing "ip4_broadcast"
18407
18408 2004-12-03  Dan Williams  <dcbw@redhat.com>
18409
18410         * initscript/Makefile.am
18411         * initscript/Debian/NetworkManager
18412         * initscript/Gentoo/NetworkManager
18413         * initscript/RedHat/NetworkManager
18414         * initscript/NMLaunchHelper.c
18415                 - Remove NMLaunchHelper, if you need to wait until the network
18416                         comes up, use the dead code from CVS.
18417
18418 2004-12-01  Colin Walters  <walters@redhat.com>
18419         
18420         * configure.in: Suck in gcc warnings code from Rhythmbox,
18421         but use fewer default flags, and in particular add -Wno-unused,
18422         since the codebase has a lot of unused variables.
18423
18424         * test/nmtestdevices.c (create_device): 
18425         * test/nminfotest.c (get_network_string_property) 
18426         (get_networks_of_type): 
18427         * test/nmclienttest.c (main): 
18428         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18429         * initscript/NMLaunchHelper.c (get_nm_status): 
18430         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18431         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18432         Fix declarations after statements.
18433
18434 2004-12-01  Colin Walters  <walters@redhat.com>
18435
18436         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18437         (nmi_dbus_get_vpn_userpass): New method.
18438         (nmi_dbus_nmi_message_handler): Invoke it.
18439
18440         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18441
18442         * info-daemon/NetworkManagerInfoVPN.h,
18443         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18444         to requests for VPN passwords.
18445
18446         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18447
18448 2004-12-01  Colin Walters  <walters@redhat.com>
18449
18450         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18451         includes.
18452
18453 2004-12-01  Colin Walters  <walters@redhat.com>
18454
18455         * panel-applet/NMWirelessAppletDbus.c
18456         (nmwa_dbus_update_active_device_strength): Fix missing
18457         return value.
18458
18459 2004-12-01  Colin Walters  <walters@redhat.com>
18460
18461         * panel-applet/NMWirelessApplet.c: Add missing include.
18462
18463 2004-12-01  Colin Walters  <walters@redhat.com>
18464
18465         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18466         Remove useless CLAMP (); the value is unsigned, and the case tests
18467         qual->qual < 100, so the value must always be between 0 and 100.
18468
18469 2004-12-01  Colin Walters  <walters@redhat.com>
18470
18471         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18472
18473 2004-11-22  Colin Walters  <walters@verbum.org>
18474
18475         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18476         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18477         which is essentially a noop since nscd caches hosts on disk too.
18478         
18479 2004-11-22  Colin Walters  <walters@redhat.com>
18480
18481         * src/Makefile.am (NetworkManager_SOURCES): Add
18482         NetworkManagerDevicePrivate.h.
18483
18484 2004-11-22  Dan Williams <dcbw@redhat.com>
18485
18486         * src/NetworkManagerDevicePrivate.h
18487                 - Split out the NMDevice struct to a different file so that stuff like
18488                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18489
18490         * dhcpcd/client.c
18491                 - fprintf->syslog
18492                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18493                         need to cancel the dhcp request during the send and recv
18494
18495         * dhcpcd/client.h
18496                 - Move the DHCP option enum to dhcpcd.h
18497
18498         * src/NetworkManagerDHCP.c
18499                 - Split out the actual IP/netmask/etc setting code
18500                 - New Renew/Rebind functions
18501                 - New timer setup function for renew/rebind operations
18502
18503         * src/NetworkManagerDevice.c
18504                 - For device activation, if we are using DHCP then keep the activation thread
18505                         alive until device deactivation.  We need to renew/rebind the DHCP address
18506                         after the T1 (renew) and T2 (rebind) times have expired.
18507                 - Increase some timeouts after bringing wireless cards up/down
18508
18509 2004-11-17  Dan Williams <dcbw@redhat.com>
18510
18511         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18512                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18513                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18514                 show known access points that don't broadcast their ESSID in the menus without
18515                 any user intervention whatsoever.
18516
18517         * info-daemon/NetworkManagerInfoDbus.c
18518                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18519                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18520
18521         * src/NetworkManagerAP.[ch]
18522                 - Add a "user_addresses" data member to the NMAccessPoint structure
18523                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18524                         the user_addresses data member
18525
18526         * src/NetworkManagerAPList.c
18527                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18528                         the AP's reported address
18529                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18530
18531         * src/NetworkManagerDHCP.c
18532                 - Increase DHCP timeout from 25s -> 30s
18533
18534         * src/NetworkManagerDbus.[ch]
18535                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18536                         user addresses
18537
18538         * src/NetworkManagerDevice.c
18539                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18540                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18541                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18542                         So, we take the card down to clear it out.
18543                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18544                         too, since that's where the user_addresses are
18545
18546         * src/NetworkManagerPolicy.c
18547                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18548                         that wireless networks' user_addresses list upon successful activation
18549
18550 2004-11-16  Dan Williams <dcbw@redhat.com>
18551
18552         * src/NetworkManagerDevice.[ch]
18553                 - (nm_device_clear_activation_fail): new function
18554
18555         * src/NetworkManagerPolicy.c
18556                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18557                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18558
18559 2004-11-16  Dan Williams <dcbw@redhat.com>
18560
18561         * src/NetworkManagerDevice.c
18562                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18563                         leak the structure, better updating of now_scanning status
18564                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18565
18566 2004-11-15  Dan Williams <dcbw@redhat.com>
18567
18568         Major rework of link detection code.  We now use DHCP
18569         as part of the link detection which proves to be much more robust,
18570         and also supports Open System authentication for wireless networks.
18571
18572         We no longer use external DHCP client programs.  Instead, we use 
18573         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18574         which was written by:
18575                 Yoichi Hariguchi <yoichi@fore.com>
18576                 Sergei Viznyuk <sv@phystech.com>
18577                 http://www.phystech.com/download/
18578         It resides in the "dhcpcd" directory and was refactored into a general
18579         purpose DHCP client library by me.
18580
18581         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18582         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18583
18584 2004-11-15  Dan Williams <dcbw@redhat.com>
18585
18586         Patch from Tom Parker <palfrey@tevp.net>:
18587
18588         * src/NetworkManagerDevice.c
18589                 - Less output to console when no access
18590                         points are found during a scan
18591
18592 2004-11-15  Dan Williams <dcbw@redhat.com>
18593
18594         Patch from Tom Parker <palfrey@tevp.net>:
18595
18596         * src/backends/interface_parser.c
18597                 - Use g_strdup ()
18598                 - Check for inp == NULL
18599                 - use syslog ()
18600
18601 2004-11-13  Colin Walters  <walters@redhat.com>
18602
18603         Patch from Tom Parker <palfrey@tevp.net>:
18604
18605         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18606         
18607         * src/backends/NetworkManagerRedHat.c: Switch to
18608         including shvar.h instead of shvar.c.
18609
18610         * src/backends/NetworkManagerDebian.c: Don't include
18611         interface_parser.c in source file.
18612
18613         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18614         and interface_parser.[ch].
18615         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18616         Include shvar.c and shvar.h here.
18617         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18618         interface_parser.c and interface_parser.h here.
18619
18620 2004-11-12  Colin Walters  <walters@redhat.com>
18621
18622         * configure.in: Strip out TARGET_DISTRO and
18623         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18624         conditionals.
18625
18626         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18627         (libnmbackend_la_SOURCES): Use Automake conditionals
18628         to add distro-specific files.
18629
18630         * initscript/Makefile.am (SUBDIRS): Update to
18631         use conditionals.
18632
18633 2004-11-12  Colin Walters  <walters@redhat.com>
18634
18635         Patches from j bootlab org
18636
18637         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18638         Add interface_parser.[ch].
18639
18640         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18641         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18642
18643 2004-11-12  Colin Walters  <walters@redhat.com>
18644
18645         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18646         call to nmi_dbus_is_running too, not necessary anymore.
18647         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18648         pick up exit().
18649
18650 2004-11-11  Colin Walters  <walters@verbum.org>
18651
18652         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18653         Delete.
18654         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18655         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18656         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18657         This avoids a race condition that made it pretty easily
18658         possible to get two NetworkManagerInfo daemons running.
18659
18660 2004-11-11  Colin Walters  <walters@verbum.org>
18661         
18662         * src/NetworkManager.c (main): Use daemon(3).
18663
18664         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18665
18666         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18667
18668 2004-11-10 Dan Williams <dcbw@redhat.com>
18669
18670         Patches from j bootlab org
18671         * src/NetworkManagerDevice.c
18672                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18673                         whether the card has a link or not, some cards are slow
18674                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18675
18676         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18677                 - Disable the "Login" button on the passphrase dialog until the user
18678                         enters a valid passphrase or key
18679
18680         Patches from Tom Parker <palfrey tevp net>
18681         * src/backends/NetworkManagerDebian.c
18682                 - Add static IP support to the debian backend
18683
18684         * src/backends/interface_parser.[ch]
18685                 - Parse debian interface config files
18686
18687 2004-11-08 Dan Williams <dcbw@redhat.com>
18688
18689         * src/NetworkManagerDevice.c
18690                 - Some random fprintf->syslog conversions
18691                 - (nm_device_wireless_network_exists): double-check for network
18692                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18693
18694         * src/NetworkManagerWireless.[ch]
18695                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18696                         so that the binary->ascii conversion works (if unsigned, the bitshift
18697                         will fill with zeros, which is what's required).  Also mask bitshift
18698                         result with 0xF for futher assurance.
18699
18700 2004-11-06 Dan Williams <dcbw@redhat.com>
18701
18702         * src/NetworkManagerUtils.c
18703                 - (nm_get_wireless_driver_support_level): default to
18704                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18705                         flip this when changing from whitelist->blacklist of
18706                         wireless drivers
18707
18708 2004-11-05 Dan Williams <dcbw@redhat.com>
18709
18710         Patch from Robert Paskowitz:
18711         * src/backends/NetworkManagerGentoo.c
18712                 - Update static IP config code
18713
18714 2004-11-05 Dan Williams <dcbw@redhat.com>
18715
18716         * info-daemon/NetworkManagerInfoDbus.c
18717           src/NetworkManagerDbus.[ch]
18718           src/NetworkManagerDevice.c
18719                 - Keep track of the # of attempts to get the WEP key
18720                         from the user and pass that along to the info daemon
18721
18722 2004-11-05 Dan Williams <dcbw@redhat.com>
18723
18724         * src/NetworkManagerUtils.c
18725                 - Blacklist wireless cards rather than whitelisting them.
18726                 - Grab driver name from HAL rather than trying to find it
18727                         ourselves.
18728
18729 2004-11-03 Dan Williams <dcbw@redhat.com>
18730
18731         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18732                 - Disable OK button until valid data is entered
18733                         for encryption stuff too
18734
18735         * panel-applet/NMWirelessApplet.c
18736                 - Report card strength for current AP if the card
18737                         doesn't report strength data for scanned access
18738                         points
18739
18740         * src/NetworkManagerDevice.c
18741                 - Smooth out cards reported quality, Atmel card was
18742                         intermittently reporting no quality data but soon
18743                         recovers
18744
18745         * src/NetworkManagerWireless.c
18746                 - Better quality data percentage calculation.  Atmel
18747                         cards (mine at least) seem to report the quality
18748                         in percentage format already, so honor that
18749
18750         Patch from <j@bootlab.org>
18751         * NetworkManager.h
18752           info-daemon/NetworkManagerInfoPassphraseDialog.c
18753           info-daemon/passphrase.glade
18754           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18755           panel-applet/essid.glade
18756           src/NetworkManagerAP.c
18757           src/NetworkManagerDevice.c
18758           src/NetworkManagerWireless.[ch]
18759                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18760
18761 2004-11-03 Dan Williams <dcbw@redhat.com>
18762
18763         * src/NetworkManagerDevice.[ch]
18764                 - (nm_device_set_enc_key): Add parameter to set Authentication
18765                         Mode (Open System, Shared Key, or None).  We're still using
18766                         Shared Key for now though.
18767
18768 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18769
18770         * panel-applet/menu-info.c: change from bold text to light
18771         colored, may cause problems with some themes, i've tested a lot
18772         and they seem fine. 
18773
18774         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18775
18776 2004-11-01  Colin Walters  <walters@verbum.org>
18777
18778         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18779         (nm_wireless_128bit_key_from_passphrase): Add const.
18780
18781         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18782         (nm_ap_set_enc_key_source): Add const.
18783         
18784 2004-11-01  Colin Walters  <walters@verbum.org>
18785
18786         * .cvsignore: Update.
18787
18788 2004-10-29 Dan Williams <dcbw@redhat.com>
18789
18790         * src/NetworkManagerDevice.c
18791                 - (nm_device_wireless_network_exists): Actually use the encryption
18792                         key we got from the applet when attempting to find a wireless network
18793                 - Don't bring devices down so much since on some cards it triggers
18794                         firmware hotplugs each time
18795
18796         * src/NetworkManagerDbus.c
18797                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18798                         from the caller
18799
18800 2004-10-29 Dan Williams <dcbw@redhat.com>
18801
18802         * src/NetworkManager.c
18803                 - (nm_hal_device_property_modified): unlock a locked active
18804                         wireless device when a wired connection gets a link.
18805                         (Means you'll switch to wired whenever you plug in no
18806                         matter what).
18807
18808 2004-10-29 Dan Williams <dcbw@redhat.com>
18809
18810         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18811                 - New files, implement the "Other wireless network" dialog
18812
18813         * panel-applet/NMWirelessApplet.c
18814                 - Move "other wireless network" dialog to separate file
18815
18816         * panel-applet/NMWirelessAppletDbus.[ch]
18817                 - Take key and key_type paramaters for the set_device function
18818
18819         * panel-applet/essid.glade
18820                 - Add UI bits for encryption settings
18821
18822         * src/NetworkManagerDbus.c
18823                 - Retrieve key and key_type params for "setActiveDevice" method call
18824                         and pass them on
18825                 - unref AP returned from nm_device_get_best_ap() when needed
18826
18827         * src/NetworkManagerDevice.c
18828                 - (nm_device_get_best_ap): ref the ap before returning it
18829                 - unref AP returned from nm_device_get_best_ap() when needed
18830                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18831                         need to call nm_device_get_best_ap() here, it was pretty much
18832                         redundant anyway
18833                 - (AP_NEED_KEY): break second link check condition out into separate
18834                         function, and fix segfault when ap->enc_key_source was NULL
18835                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18836                         pass them along to nm_device_wireless_network_exists().  If the
18837                         network does exist, set the passed-in key+key_type on the AP
18838
18839         * src/NetworkManagerPolicy.c
18840                 - unref AP returned from nm_device_get_best_ap() when needed
18841
18842 2004-10-28 Dan Williams <dcbw@redhat.com>
18843
18844         * src/NetworkManagerUtils.c
18845                 - (nm_spawn_process): Fix a potential dereference of NULL
18846
18847         Patches from Peter Jones:
18848
18849         * src/NetworkManagerDevice.c
18850                 - (nm_device_test_wireless_extensions): Better check for
18851                         wireless devices
18852
18853         * src/NetworkManagerUtils.c
18854                 - (nm_spawn_process): Pass in valid stdout and stderr so
18855                         executed programs don't randomly SIGPIPE and fail
18856                 - (nm_get_wired_driver_support_level): quash hal warning
18857                         when checking for USB ethernet device
18858
18859 2004-10-27 Dan Williams <dcbw@redhat.com>
18860
18861         * info-daemon/NetworkManagerInfo.c
18862           info-daemon/NetworkManagerInfoDbus.c
18863           info-daemon/NetworkManagerInfoPassphraseDialog.c
18864           panel-applet/NMWirelessApplet.c
18865                 - Properly escape gconf keys
18866
18867         * src/NetworkManager.c
18868                 - remove unused variables
18869
18870         * src/NetworkManagerAP.c
18871                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18872                         refcount since it got set in nm_ap_new()
18873
18874         * src/NetworkManagerAPList.c
18875                 - (nm_ap_list_combine): Give up ownership of newly created
18876                         access points to the ap list, fixes memleak
18877
18878         * src/NetworkManagerDevice.c
18879                 - Remove cached_ap_list4 member since its not really needed
18880                 - (nm_device_wireless_network_exists): Try to get correct
18881                         encryption status of a found AP if its already in our
18882                         device list
18883                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18884                         memory allocs/deallocs a bit clearer and shorter-lived
18885
18886 2004-10-26 Ray Strode <rstrode@redhat.com>
18887
18888         * panel-applet/NMWirelessApplet.c:
18889           (custom_essid_item_selected):  kill some compiler
18890         warnings 
18891
18892 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18893
18894         * info-daemon/NetworkManagerInfoDbus.c
18895                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18896                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18897
18898 2004-10-23 Dan Williams <dcbw@redhat.com>
18899
18900         * info-daemon/NetworkManagerInfoDbus.c
18901                 - Trap the "DeviceActivationFailed" signal
18902
18903         * docs/NetworkManager DBUS API.txt
18904                 - Add "DeviceActivationFailed" signal
18905
18906         * panel-applet/NMWirelessAppletDbus.c
18907                 - Quash the "NetworkManager service not available" message
18908
18909         * src/NetworkManagerDbus.[ch]
18910                 - Add the "DeviceActivationFailed" signal
18911
18912         * src/NetworkManagerDevice.c
18913                 - Add support for activation_failed flag
18914                 - Fix deadlock where activation thread didn't clean itself up, making
18915                         main thread still believe it was alive forever (didn't reset activation
18916                         flags like activating, just_activated, etc when IP configuration
18917                         failed)
18918
18919         * src/NetworkManagerPolicy.c
18920                 - Implement logic for DeviceActivationFailed signal, and when activation fails
18921                         for wireless networks, try to fall back to some other access point
18922
18923 2004-10-23 Dan Williams <dcbw@redhat.com>
18924
18925         * panel-applet/NMWirelessApplet.[ch]
18926                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18927                         to the applet object, so we can get tooltips
18928                 - Add tooltips (RH #136866)
18929
18930         * src/NetworkManagerDevice.c
18931                 - When trying to find a wireless network, try to connect with encryption
18932                         turned on first, so that we can more accurately detect whether or not
18933                         we need to use encryption for the actual association later on
18934
18935 2004-10-21 Dan Williams <dcbw@redhat.com>
18936
18937         * Add some support for telling NetworkManagerInfo to tell the user
18938                 that they are using a device that's not fully supported
18939
18940         * Fix some assertions in debug messages due to null access point args
18941
18942 2004-10-21 Dan Williams <dcbw@redhat.com>
18943
18944         * src/NetworkManagerDevice.c
18945                 - Don't try to activate/bring up/down unsupported
18946                         devices
18947
18948         * src/NetworkManagerUtils.c
18949                 - Fix case of PCI ID checks for driver support levels
18950
18951 2004-10-21 Dan Williams <dcbw@redhat.com>
18952
18953         * NetworkManager.h
18954                 - New file, now contains commonly used structures and bits
18955                         for the dbus API of NetworkManager
18956
18957         * Makefile.am
18958                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18959
18960         * src/NetworkManager.h
18961                 - Rename -> src/NetworkManagerMain.c
18962
18963         * Various fixups all around to use NetworkManager.h and new
18964                 src/NetworkManagerMain.h, remove redundant bits that got
18965                 moved into NetworkManager.h
18966
18967         * src/NetworkManagerDevice.[ch]
18968           src/NetworkManagerUtils.[ch]
18969           src/NetworkManagerPolicy.c
18970           src/NetworkManagerDbus.c
18971                 - Whitelist wireless drivers, and blacklist some wired
18972                         drivers.  Also blacklist cipsec and ethernet-over-usb
18973                         devices at this time (RH #135722, RH #135648)
18974                 - Don't leak unsupported devices out over dbus, or allow
18975                         them to be set as the active device.  Skip over them
18976                         during automatic device picking
18977
18978         * test/nmclienttest.c
18979                 - Clean up the dbus code a lot
18980
18981 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
18982
18983         * configure.in: post release bump.
18984
18985 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
18986
18987         * configure.in:
18988         * NEWS: Released NetworkManager-0.3.1
18989
18990 2004-10-18 Dan Williams <dcbw@redhat.com>
18991
18992         Patches from Thom May:
18993         * test/nmtestdevices.c
18994                 - Include <string.h>
18995         * src/backends/NetworkManagerDebian.c:
18996                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
18997                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
18998                         Move to using g_strdup_printf rather than arbitrary buffers
18999                 - (nm_system_device_setup_static_ip4_config) Implement function.
19000                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19001
19002 2004-10-17 Dan Williams <dcbw@redhat.com>
19003
19004         * info-daemon/NetworkManagerInfoDbus.c
19005                 - Display name of network in the "network not found" dialog
19006
19007         * panel-applet/NMWirelessAppletDbus.c
19008                 - (nmwa_dbus_call_nm_method): new function replaces all other
19009                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19010                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19011                         consolidated into nmwa_dbus_get_object_name()
19012
19013 2004-10-15 Dan Williams <dcbw@redhat.com>
19014
19015         * src/NetworkManagerDbus.c
19016           info-daemon/NetworkManagerInfoDbus.c
19017                 - Display an error dialog when the user tries to use an
19018                         "Other wireless network" that's not found.
19019
19020 2004-10-15 Dan Williams <dcbw@redhat.com>
19021
19022         * panel-applet/NMWirelessApplet.[ch]
19023                 - Fix up corner cases in applet state, making it
19024                         look more responsive.  Change state to "connecting" when
19025                         the user is forcing a device too.
19026
19027 2004-10-15 Dan Williams <dcbw@redhat.com>
19028
19029         * src/NetworkManagerAPList.c
19030                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19031
19032         * src/NetworkManagerDbus.c
19033                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19034
19035         * src/NetworkManagerDevice.c
19036                 - Disown APs after the device's AP list takes ownership
19037
19038 2004-10-15 Dan Williams <dcbw@redhat.com>
19039
19040         * panel-applet/NMWirelessApplet.c
19041                 - Update our applet state from the GUI thread
19042
19043         * panel-applet/NMWirelessAppletDbus.c
19044                 - Greatly simplify the locking to make the GUI thread
19045                         smoother.  Update a private copy of the device list
19046                         and active device and only when done talking to
19047                         NetworkManager turn it over to the GUI thread.
19048
19049 2004-10-15 Dan Williams <dcbw@redhat.com>
19050
19051         * src/NetworkManagerAP.[ch]
19052                 - Add "artificial" get/set functions, set for APs that
19053                         aren't discovered as part of a scan but instead
19054                         discovered by force-setting the ESSID
19055
19056         * src/NetworkManagerDevice.[ch]
19057                 - (nm_device_wireless_network_exists): pass back whether
19058                         or not the discovered AP was encrypted.  Also, try
19059                         falling back to encrypted mode on the card if unencrypted
19060                         association doesn't work
19061                 - (nm_device_find_and_use_essid): If the network requested
19062                         did in fact exists, but it wasn't in our scan list, add
19063                         an "artificial" entry for it.  Some Cisco cards don't
19064                         see non-ESSID-broadcasting APs in their scan but can still
19065                         associate with them if you know the ESSID, this works around
19066                         that behavior
19067                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19068                         to scan if the card is currently associated with that AP
19069
19070 2004-10-15 Dan Williams <dcbw@redhat.com>
19071
19072         ---- We have a website ----
19073         http://people.redhat.com/dcbw/NetworkManager
19074
19075         Patch from Robert Paskowitz:
19076         * src/NetworkManager.c
19077                 - (main): Make sure we are run as root
19078         * src/NetworkManagerDevice.c
19079                 - Fix type in ad-hoc setting function
19080
19081         Patch from Thom May:
19082         * src/backends/NetworkManagerDebian.c
19083                 - Make Debian backend compile again
19084
19085 2004-10-14 Dan Williams <dcbw@redhat.com>
19086
19087         * Tagged NetworkManager-0_3
19088
19089 2004-10-14 Dan Williams <dcbw@redhat.com>
19090
19091         Patch from Robert Paskowitz:
19092         * NEWS
19093           src/NetworkManagerDevice.[ch]
19094           src/backends/NetworkManagerDebian.c
19095           src/backends/NetworkManagerGentoo.c
19096           src/backends/NetworkManagerRedHat.c
19097           src/backends/NetworkManagerSlackware.c
19098                 - Add support for grabbing and using a broadcast address
19099                         from system config files
19100                 - Some Gentoo backend fixes for grabbing network config
19101                 - Fix LOG_WARN->LOG_WARNING
19102
19103 2004-10-14 Dan Williams <dcbw@redhat.com>
19104
19105         * NEWS: a few small fixes in the credits
19106
19107 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19108
19109         * NEWS: prep for release.
19110
19111 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19112
19113         * panel-applet/NMWirelessAppletDbus.c
19114         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19115
19116 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19117
19118         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19119         applet->state == APPLET_STATE_NO_NM animation.
19120
19121         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19122         set the text correctly.
19123
19124 2004-10-14 Dan Williams <dcbw@redhat.com>
19125
19126         * src/NetworkManager.c
19127                 - Only accept and manager 802.3 and 802.11 devices
19128
19129         * src/NetworkManagerDbus.[ch]
19130                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19131                         logic into NetworkManagerDevice.c
19132                 - (nm_dbus_network_status_from_data): new function
19133                 - (nm_dbus_signal_network_status_change): new function, unused for now
19134                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19135
19136         * src/NetworkManagerDevice.[ch]
19137                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19138                         a random ESSID.
19139
19140 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19141
19142         * info-daemon/NetworkManagerInfo.c 
19143                 - (main): Added session management
19144
19145 2004-10-14 Dan Williams <dcbw@redhat.com>
19146
19147         * panel-applet/NMWirelessAppletDbus.[ch]
19148                 - Expose network_device_[un]ref()
19149                 - Expose wireless_network_[un]ref()
19150                 - (wireless_network_new_with_essid): new function, create and return
19151                         a wireless network with a particular essid
19152
19153         * panel-applet/NMWirelessApplet.c
19154                 - Hook up the "other network" dialog to do something
19155
19156 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19157
19158         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19159         doesn't work yet, but it looks okay.
19160
19161         * panel-applet/icons/*png: Resize to 22x22 and install in the
19162         right place.
19163
19164 2004-10-13 Dan Williams <dcbw@redhat.com>
19165
19166         * panel-applet/NMWirelessApplet.c
19167                 - Add function to print out applet_state in a readable
19168                         manner
19169
19170         * src/NetworkManager.c
19171                 - (main): Don't segfault when nm_dbus_init() fails, we had
19172                         a left-over call to hal_shutdown() into which we passed NULL
19173
19174         * src/NetworkManagerAP.c
19175                 - (nm_ap_set_essid): Allow NULL essids
19176
19177         * src/NetworkManagerAPList.[ch]
19178                 - More use of nm_ap_list_[un]lock ()
19179                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19180                         network/essid, just return nothing.  Also skip over NULL
19181                         essid access points in the list when searching
19182                 - (nm_ap_list_get_ap_by_address): new function
19183                 - (nm_ap_list_update_network): set the access point's key source to
19184                         NULL when the key returned from NetworkManagerInfo is NULL or
19185                         of 0 length
19186                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19187                         copy timestamp over too
19188                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19189                         find the correct ESSID for a blank-essid access point by searching
19190                         through another list and matching access point MAC addresses
19191                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19192
19193         * src/NetworkManagerDbus.c
19194                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19195                         may specify.  This is mainly for access points that don't
19196                         broadcast their essid.  So if the user tells us to associate with
19197                         some random ESSID that's not in our access point list, we find
19198                         out if the access point does in fact exist (by attempting association
19199                         and then matching that access point's MAC address with the essid the
19200                         user gave us) and then we switch to it.
19201                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19202                         to the returned list of networks for the "getNetworks" method
19203
19204         * src/NetworkManagerDevice.[ch]
19205                 - Extra debugging info for link detection
19206                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19207                         based on MAC address
19208                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19209                 - (nm_device_wireless_network_exists): new function, find out whether
19210                         a random ESSID exists by attempting to associate with it
19211                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19212                         device list as long as they have an AP MAC address we can use.
19213                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19214                         devices too.  Lets the applet update more frequently.
19215
19216         * src/backends/NetworkManagerGentoo.c
19217                 - Patch from: Robert Paskowitz
19218                         - Update backend code for Gentoo
19219                         - Implement nm_system_device_update_config_info ()
19220
19221         * test/nmclienttest.c
19222                 - (set_network_device): new function, takes a command-line argument
19223                         and tells NetworkManager to use that wireless network
19224
19225 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19226
19227         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19228         if the notification icon crashes 5 times within 5 seconds of each respawn 
19229
19230 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19231
19232         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19233         g_print.
19234
19235 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19236
19237         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19238
19239         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19240         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19241         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19242         Change the name of the icons.
19243
19244         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19245         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19246         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19247         (nm_menu_wireless_expose_event): Really bad hack to get the style
19248         to draw in the right color.
19249
19250 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19251
19252         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19253         Notification if it crashes
19254
19255 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19256
19257         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19258         (nmwa_dbus_get_string): remove unused functions
19259
19260         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19261         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19262         remove unused functions
19263
19264         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19265
19266 2004-10-12 Dan Williams <dcbw@redhat.com>
19267
19268         * panel-applet/NMWirelessAppletDbus.c
19269                 - New functions:
19270                         wireless_network_new
19271                         wireless_network_copy
19272                         network_device_new
19273                         network_device_copy
19274
19275         * src/NetworkManagerDevice.[ch]
19276                 - New functions:
19277                         nm_device_set_mode_managed
19278                         nm_device_set_mode_adhoc
19279                 - Use these functions where appropriate
19280                 - When creating a new wireless device, force the card
19281                         to managed/Infrastructure mode as soon as possible
19282
19283 2004-10-12 Dan Williams <dcbw@redhat.com>
19284
19285         * src/NetworkManagerDevice.c
19286                 - Force wireless cards into Infrastructure mode before we use them
19287
19288 2004-10-12 Dan Williams <dcbw@redhat.com>
19289
19290         * TODO
19291                 - Remove bit about static IP address support
19292
19293         * src/NetworkManagerUtils.c
19294                 - (nm_spawn_process): Add some error reporting
19295
19296         * src/NetworkManagerDevice.c
19297                 - (nm_device_activation_configure_ip): hook up to the static config
19298                         routines in the backends
19299
19300         * src/backends/NetworkManagerRedHat.c
19301                 - (nm_system_device_update_config_info): use shvar.c routines to
19302                         parse the config file iformation, not our own
19303                 - (nm_system_device_setup_static_ip4_config): new function, based
19304                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19305                         with a static IP address and gateway
19306
19307         * src/backends/shvar.[ch]
19308                 - Parser (filched from initscripts package) for ifcfg-* files
19309
19310         * src/backends/NetworkManagerSystem.h
19311           src/backends/NetworkManagerGentoo.c
19312           src/backends/NetworkManagerDebian.c
19313           src/backends/NetworkManagerSlackware.c
19314                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19315
19316 2004-10-11 Dan Williams <dcbw@redhat.com>
19317
19318         * TODO
19319                 - Remove bit about more robust AP diffing since I just implemented it
19320
19321 2004-10-11 Dan Williams <dcbw@redhat.com>
19322
19323         * src/NetworkManagerAP.c
19324                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19325                         enough RAM to allocate new AP structures, but return NULL instead
19326
19327         * src/NetworkManagerAPList.[ch]
19328                 - (nm_ap_list_is_empty): new function
19329                 - (nm_ap_list_combine): new function, combine two access point lists
19330                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19331                         into another
19332
19333         * src/NetworkManagerDevice.[ch]
19334                 - Rename some functions to be clearer:
19335                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19336                         nm_device_just_activated     -> nm_device_is_just_activated
19337                         nm_device_activating         -> nm_device_is_activating
19338                         nm_device_now_scanning       -> nm_device_is_scanning
19339                 - Cache the last 4 scans so that the access point list is more stable.
19340                         We combine the lastest two scans and use that as the AP list,
19341                         and diff that combined list against the combination of the earliest
19342                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19343
19344 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19345
19346         * info-daemon/NWManagerInfo.h
19347                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19348
19349         * info-daemon/NWManagerInfoDbus.c
19350                 - (shutdown_callback): new function
19351                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19352                         if NetworkManager goes away.  Kill the timeout
19353                         if NetworkManager restarts before the 30 seconds
19354                         are up.
19355                 - (nmi_dbus_service_init): 
19356                         - call gtk_main_quit if NetworkManager is not running
19357                         - add filters to monitor dbus service creations and
19358                                 deletions
19359         
19360 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19361
19362         * panel-applet/NMWirelessApplet.c
19363                 - (nmwa_update_state): Hide notification icon if we are only
19364                         showing one wired card and no wireless interfaces 
19365                         (Red Hat Bug #134895)
19366
19367         * panel-applet/NMWirelessAppletDbus.c
19368                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19369
19370         * info-daemon/NWManagerInfo.c
19371                 - (main): Terminated the notification_icon_cmd array with a NULL
19372
19373 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19374
19375         * configure.in (ALL_LINGUAS): Added de (German).
19376
19377 2004-10-08 Dan Williams <dcbw@redaht.com>
19378
19379         * src/NetworkManagerDevice.c
19380                 - Be a bit more robust about link checking, ie make sure that
19381                         the WEP key we were given actually has some data in it
19382
19383 2004-10-08 Dan Williams <dcbw@redhat.com>
19384
19385         * info-daemon/NetworkManagerInfo.c (main):
19386                 - Initialize GError object to NULL
19387
19388 2004-10-08 Dan Williams <dcbw@redhat.com>
19389
19390         * panel-applet/NMWirelessAppletDbus.c
19391                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19392
19393 2004-10-08 Dan Williams <dcbw@redhat.com>
19394
19395         * info-daemon/NetworkManagerInfo.[ch]
19396           info-dameon/NetworkManagerInfoDbus.[ch]
19397           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19398                 - Preserve original label text in the passphrase dialog so that
19399                         it actually gets updated with the new network name the next
19400                         time around.  Previously, we were overwriting it so you'd get
19401                         the wrong network name to enter a key for
19402                 - Add a "Key Type" combo to the passphrase dialog, user selects
19403                         encryption key type now, type is stored in GConf too
19404                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19405
19406         * src/NetworkManagerAP.[ch]
19407                 - Remove all the encyption method magic.  It's now set by the user
19408                         and NetworkManager retrieves the type of encryption key from
19409                         NetworkManagerInfo
19410
19411         * src/NetworkManagerAPList.[ch]
19412           src/NetworkManagerDbus.[ch]
19413                 - Adjust to new way of setting encryption key and method
19414                 - Pull encryption method down from NMI along with key
19415
19416         * src/NetworkManagerDevice.[ch]
19417                 - Removed encryption method fallback magic as the method is now
19418                         determined by the user.  This greatly simplifies the connection
19419                         logic.
19420                 - More robust connection/link logic.  Besides removing the encryption
19421                         method fallback magic, check whether or not the card is receiving
19422                         invalidly encrypted packets, which usually indicates that we have
19423                         a bad WEP key set.
19424                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19425
19426         * test/nminfotest.c
19427                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19428
19429 2004-10-07 Dan Williams <dcbw@redhat.com>
19430
19431         * info-daemon/NetworkManagerInfo.conf
19432                 - Allow root user to run NMI too
19433
19434 2004-10-06 Dan Williams <dcbw@redhat.com>
19435
19436         * src/NetworkManagerDevice.[ch]
19437           src/NetworkManagerDbus.c
19438           doc/NetworkManager DBUS API.txt
19439                 - Add a new status tag "scanning", which is set when there
19440                         is no active network connection, but NetworkManager is
19441                         looking for an access point to associate with
19442
19443         * panel-applet/main.c
19444                 - Cast the applet appropriately for gtk_widget_show_all ()
19445
19446 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19447
19448         * panel-applet/eggtrayicon.[ch]:
19449         * panel-applet/main.c: Add missing file
19450
19451 2004-10-04 Dan Williams <dcbw@redhat.com>
19452
19453         * src/NetworkManagerDevice.[ch]
19454                 - Add a slightly more robust method of determining if the WEP key
19455                         is correct or not, by checking the WEP-discarded packet count
19456                         on the card
19457
19458         * info-daemon/NetworkManagerInfo.c
19459                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19460                         un-escape values we pull out rather than escaping them
19461
19462 2004-10-03  Marcel Telka  <marcel@telka.sk>
19463
19464         * configure.in (ALL_LINGUAS): Added sk.
19465
19466 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19467
19468         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19469         and feel.  We should be back to working, and have a good, clean
19470         look.
19471
19472 2004-09-30 Dan Williams <dcbw@redhat.com>
19473
19474         * info-daemon/NetworkManagerInfo.c
19475           info-daemon/NetworkManagerInfoDbus.c
19476           test/nminfotest.c
19477                 - Escape ESSIDs in gconf
19478
19479         * src/NetworkManagerDevice.c
19480                 - Fix pseudo-scanning to use netowrk list from info daemon
19481
19482 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19483
19484         * configure.in: Add a temporary --enable-notification-icon.  This
19485         will prolly go away.
19486
19487         * info-daemon/Makefile.am:
19488         * info-daemon/NetworkManagerInfo.c:
19489         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19490
19491         * panel-applet/Makefile.am:
19492         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19493         * panel-applet/NMWirelessApplet.h:
19494
19495 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19496
19497         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19498         before 'select custom ESSID'.
19499
19500         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19501         fully complete, but syncing in prep for merge.
19502
19503         * panel-applet/icons/*png: New images
19504
19505 2004-09-28 Dan Williams <dcbw@redhat.com>
19506
19507         * src/NetworkManager.c
19508           src/NetworkManagerDevice.c
19509           src/NetworkManagerPolicy.c
19510                 - Don't blow away an active wired connection on startup
19511
19512 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19513
19514         Changes from J5
19515         
19516         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19517
19518         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19519         syslog output
19520
19521 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19522
19523         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19524         have a wireless card.
19525
19526 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19527
19528         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19529         Also, get the right device strings.
19530
19531 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19532
19533         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19534         the logic to make this right.
19535
19536         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19537         devices so that wired networks are always first.
19538
19539 2004-09-22    <clarkbw@cvs.gnome.org>
19540
19541         * initscript/Debian/.cvsignore:
19542         * initscript/Slackware/.cvsignore:
19543         Added new cvsignores for Makefile, Makefile.in
19544         
19545         * test/.cvsignore:
19546         Added nmtestdevices
19547         
19548         * src/NetworkManagerDevice.c: 
19549         * src/NetworkManager.c: 
19550         Updated the wireless/wired HAL device strings from net.ethernet to
19551         net.80203 or net.80211 depending on wired or wireless respectively
19552         
19553         * examples/python/NetworkManager.py: 
19554         s/Quality/Strength/
19555
19556         * examples/python/systray/network_tray.py:
19557         Lots of little changes and fixes.  been rotting for a while so I
19558         figured I'd finally sync them all with CVS
19559
19560 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19561
19562         * configure.in: Add graphics
19563
19564         * panel-applet/Makefile.am: Add graphics
19565
19566         * panel-applet/icons/*: Add graphics
19567
19568         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19569         the icons fully lined up.
19570
19571         * panel-applet/menu-info.c: 
19572         * panel-applet/menu-info.h: Add another menu type.
19573
19574 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19575
19576         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19577
19578         * panel-applet/menu-item.[ch]: Wireless menu item.
19579
19580 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19581
19582         * info-daemon/NetworkManagerInfo.conf
19583                 - Created a more robust security policy for the DBus service
19584                         - everything is denied by default
19585                         - root can own and send to the service
19586                         - users logged in at the console can send to the service
19587
19588 2004-09-13  Dan Williams <dcbw@redhat.com>
19589
19590         * src/NetworkManagerDevice.c
19591                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19592                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19593                         the latter
19594
19595 2004-09-13  Dan Williams <dcbw@redhat.com>
19596
19597         * TODO: fix typo
19598
19599         * docs/NetworkManager DBUS API.txt
19600                 - Update for new signal strength changes
19601
19602         * panel-applet/NMWirelessApplet.c
19603                 - Make panel icon show strength of the current connection
19604                 - Cleanups and memleak fixes
19605
19606         * panel-applet/NMWirelessApplet.h
19607                 - Add data members for signal strength on devices and networks
19608
19609         * panel-applet/NMWirelessAppletDbus.c
19610                 - Free more DBusErrors
19611                 - Update for new signal strength changes
19612                 - Make devices and networks more like real objects, use ref/unref methods
19613                 - Actually unlock the mutex when updating the active device
19614
19615         * src/NetworkManagerAP.c
19616                 - Change AP functions and data members from "quality"->"strength"
19617
19618         * src/NetworkManagerDbus.c
19619                 - Kill "getMaxQuality" and "getQuality" methods
19620                 - Add "getStrength" methods for Networks and Devices
19621
19622         * src/NetworkManagerDevice.[ch]
19623                 - Add accessors for device strength
19624                 - Add functions to update strength for a device.  Note that not all drivers
19625                         actually support signal strength for scanned access points (Atmel drivers
19626                         being one)
19627                 - Calculate signal strength for each AP during scan
19628
19629         * src/NetworkManagerWireless.[ch]
19630                 - Add function to return signal strength % from a device and a raw quality struct
19631
19632         * test/nmclienttest.c
19633                 - Update for new signal strength changes
19634
19635 2004-09-11  Dan Williams <dcbw@redhat.com>
19636
19637         * src/NetworkManager.c
19638                 - Fix race condition between initscripts and NM on card insertion
19639                         which could cause a card to keep an IP address and routes around
19640                         even when it was not the active device
19641
19642         * src/NetworkManagerDbus.c
19643                 - Fix compile errors, free more DBusErrors
19644
19645 2004-09-11  Dan Williams <dcbw@redhat.com>
19646
19647         * docs/NetworkManager DBUS API.txt
19648                 - Add an explanation of NM's API
19649
19650         * src/NetworkManagerDbus.c
19651                 - Free some more DBusErrors if needed
19652
19653 2004-09-11  Dan Williams <dcbw@redhat.com>
19654
19655         * panel-applet/NMWirelessApplet.c
19656           panel-applet/NMWirelessAppletDbus.c
19657                 - Start using NetworkDevice/WirelessNetwork structures in more places
19658                 - Update for unified device/network forcing in NetworkManager
19659
19660         * src/NetworkManager.c
19661                 - some code consolidation
19662
19663         * src/NetworkManagerDbus.c
19664                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19665                         or two arguments:  the first is the NM ID of the device to switch to,
19666                         and the second (optional) argument is the ESSID of a wireless network
19667                         to use as well.
19668                 - Get rid of "setNetwork" method due to above change
19669
19670         * src/NetworkManagerDevice.c
19671                 - (nm_device_new): perform scan and update best AP on device creation
19672                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19673                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19674                         spin waiting for cancellation to finish before returning
19675
19676         * src/NetworkManagerPolicy.c
19677                 - Changes here clarify the situations in which a device switch occurs, and 
19678                         make sure to keep using a forced device and network if the user gives
19679                         us one
19680                 - Remove old unused code
19681
19682 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19683
19684         * configure.in: Added Danish (da) to ALL_LINGUAS.
19685
19686 2004-09-09  Dan Williams <dcbw@redhat.com>
19687
19688         * panel-applet/NMWirelessAppletDbus.c
19689                 - Pull fresh devices and networks from NM when wireless networks
19690                         change.  Provides faster feedback of a forced wireless network
19691
19692         * src/NetworkManagerDbus.c
19693                 - Return error when "getMaxQuality" is called on a wired device
19694                 - Make best_ap freezing actually work again, and signal cancellation
19695                         of activation if there's already a device activation when the user
19696                         freezes the best_ap
19697
19698         * src/NetworkManagerDevice.c
19699                 - Don't clear out the best_ap for wireless devices when the link goes
19700                         down, that's done elsewhere
19701                 - Kill any dhcp daemons when cancelling device activation since they
19702                         may be stuck waiting for a DHCP address, and since we're cancelling
19703                         activation we don't care about that anymore
19704
19705         * src/NetworkManagerPolicy.c
19706                 - Make sure to unref the device we ref earlier (we refed it to make sure
19707                         it stuck around during device activation and such)
19708                 - If we were going to change the best device, but its activating currently
19709                         (and therefore the change didn't occur due to the check earlier)
19710                         we mark the state changed to we come back to it later when device
19711                         activation has canceled and its no longer activating
19712
19713         * src/backends/NetworkManagerRedHat.c
19714                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19715
19716 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19717
19718         * info-daemon/passphrase.glade: 
19719         set passphrase input to activates_default : True
19720
19721         * examples/python/systray/network_tray.py
19722         (network_tray.sort_networks):
19723
19724         Added support for having wireless always scanning
19725
19726 2004-09-09  Dan Williams <dcbw@redhat.com>
19727
19728         NOTE: this commit changes the behavior of wireless devices in
19729         NetworkManager.  They are now up all the time, scanning all
19730         the time.  Only the active device has an IP address and routing
19731         information set up however.  Also, NetworkManager will no longer
19732         opportunistically switch wireless networks when a better one
19733         comes in range, it will remain associated with one wireless network
19734         until that one drops out.
19735
19736         * panel-applet/NMWirelessApplet.c
19737           panel-applet/NMWirelessAppletDbus.c
19738                 - List all wireless cards and their respective networks
19739
19740         * src/NMLoadModules
19741                 - Use full path to /sbin/ip
19742
19743         * src/NetworkManager.c
19744                 - Keep wireless devices up all the time so they can scan
19745
19746         * src/NetworkManagerDbus.c
19747                 - On a WirelessNetworkUpdate signal from NMI, don't update
19748                         the "best" AP
19749
19750         * src/NetworkManagerDevice.c
19751                 - (nm_device_set_link_active): clear out the best ap for
19752                         wireless devices when the link is set to FALSE
19753                 - Scan on all wireless cards, all the time
19754                 - (nm_device_activation_worker): split out the wireless card
19755                         link-waiting code to a separate function
19756                 - Keep wireless cards up even if device activation fails
19757                 - Don't update the "best" ap as much
19758
19759         * src/NetworkManagerPolicy.c
19760                 - Don't update the best ap when checking if its frozen,
19761                         let link checking clear out a frozen best ap for us
19762
19763         * src/NetworkManagerWireless.c
19764                 - Scan on all wireless cards, all the time
19765
19766 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19767
19768         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19769
19770 2004-09-09  Ankit Patel <ankit@redhat.com>
19771
19772         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19773
19774 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19775
19776         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19777
19778 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19779
19780         * examples/python/NetworkManager.py: 
19781         added CONNECTED, CONNECTING, and DISCONNECTED states
19782         added methods to return number of devices of a single type
19783
19784         * examples/python/systray/network_tray.py: 
19785         did some tweaks to get the menu looking near what it is supposed
19786         to look like.  Also did a Airo card hack to make it show the
19787         correct AP quality
19788
19789 2004-09-08  Dan Williams <dcbw@redhat.com>
19790
19791         * panel-applet/no-networkmanager.png
19792           panel-applet/Makefile.am
19793           panel-applet/NMWirelessApplet.c
19794                 - Add a "NetworkManager not running" icon and use it
19795                 - Use new consolidated GConf keys rather than Preferred/Trusted
19796
19797         * TODO: update
19798
19799         * info-daemon/NetworkManagerInfo.c
19800           info-daemon/NetworkManagerInfoDbus.[ch]
19801           info-daemon/NetworkManagerInfoPassphraseDialog.c
19802                 - There are now no longer two separate lists of wireless networks,
19803                         but one list where each network is "trusted" or not trusted
19804                 - Add a "getNetworkTrusted" dbus method
19805                 - "WirelessNetworkUpdate" signal now sent rather than
19806                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19807                 - Start freeing some dbus errors (not completed yet)
19808
19809         * info-daemon/passphrase.glade
19810                 - Remove the "don't show" hints for pager and taskbar
19811                 - Add a title since its going to be in the taskbar
19812
19813         * src/NetworkManager.[ch]
19814           src/NetworkManagerAPList.[ch]
19815                 - There are now no longer two separate lists of wireless networks,
19816                         but one list where each network is "trusted" or not trusted
19817
19818         * src/NetworkManagerAP.[ch]
19819                 - Add get/set "trusted" accessors and data bit
19820
19821         * src/NetworkManagerDbus.[ch]
19822                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19823                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19824
19825         * src/NetworkManagerDevice.[ch]
19826                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19827                 - (nm_device_new): Get device config from backend when initializing devices
19828                 - (nm_device_activation_worker): Split out device configuration on
19829                         activation to deal with static/dynamic IP differences, and try encryption
19830                         fallbacks on a device if the encryption method for the best AP is not good
19831                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19832                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19833
19834         * src/NetworkManagerWireless.c
19835                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19836
19837         * src/backends/NetworkManagerRedHat.c
19838           src/backends/NetworkManagerSystem.h
19839                 - (nm_system_device_update_config_info): Add function to get device configuration
19840                         from system data in ifcfg-* files
19841
19842         * src/backends/NetworkManagerDebian.c
19843           src/backends/NetworkManagerGentoo.c
19844           src/backends/NetworkManagerSlackware.c
19845                 - Add stub functions for getting device configuration
19846
19847 2004-09-07  Dan Williams <dcbw@redhat.com>
19848
19849         * src/backends/NetworkManagerRedhat.c
19850           src/backends/NetworkManagerSlackware.c
19851                 - Use full path to /sbin/ip everywhere
19852
19853 2004-09-07  Dan Williams <dcbw@redhat.com>
19854
19855         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19856
19857         * configure.in
19858           initscript/Makefile.am
19859           initscript/Slackware/Makfile.am
19860           initscript/Slackware/rc.networkmanager
19861           src/Makefile.am
19862           src/backends/NetworkManagerSlackware.c
19863                 - Add Slackware support
19864
19865 2004-09-07  Dan Williams <dcbw@redhat.com>
19866
19867         Patches below from:
19868                 <j@bootlab.org>
19869                 Mark Roach <mrroach@okmaybe.com>
19870                 Thom May <thom@debian.org>
19871
19872         * configure.in
19873           initscript/Debian/NetworkManager
19874           initscript/Debian/Makefile.am
19875                 - Initscript for Debian
19876
19877         * src/backends/NetworkManagerDebian.c
19878                 - Add missing system init function to allow compilation
19879                         on Debian
19880
19881 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19882
19883         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19884
19885 2004-09-03  Akagic Amila <bono@linux.org.ba>
19886
19887         * configure.in: Added 'bs' to ALL_LINGUAS.
19888
19889 2004-09-02  Colin Walters  <walters@verbum.org>
19890
19891         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19892         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19893         g_strdup_printf instead of arbitrarily sized buffers.
19894
19895 2004-09-01  Colin Walters  <walters@verbum.org>
19896
19897         * NetworkManager.pc.in: New file.
19898
19899         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19900
19901 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19902         
19903         * configure.in: Punjabi(pa) is added to po/.
19904
19905 2004-08-31  Dan Williams <dcbw@redhat.com>
19906
19907         * Remove 'debug' extern global from all files since we now
19908                 use syslog()
19909
19910         * src/NetworkManager.[ch]
19911                 - Break out routine that get the net.interface property from HAL,
19912                         removing that logic from nm_create_device_and_add_to_list()
19913                 - (nm_create_device_and_add_to_list): make this a bit more general so
19914                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19915                         the create of test devices.
19916                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19917                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19918                         which makes NetworkManager listen for dbus commands to create test
19919                         devices, which have no backing hardware.  Use when you're on a plane
19920                         for example, and/or forgot your wireless card at home.  Test devices
19921                         _cannot_ be created unless NM is started with --enable-test-devices.
19922
19923         * src/NetworkManagerDbus.[ch]
19924                 - New "getLinkActive" method for devices
19925                 - New "setLinkActive" method for devices (only works on test devices)
19926                 - New "createTestDevice" method on NetworkManager object to create a test
19927                         device of a specified type (ie wired, wireless).  UDI is created from
19928                         scratch, as is the interface name.  Only works when NM is started with
19929                         --enable-test-devices switch.
19930                 - New "removeTestDevice" method on NetworkManager object which removes a
19931                         test device.  Only works when NM is started with --enable-test-devices
19932
19933         * src/NetworkManagerDevice.[ch]
19934                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
19935                         whether a device is a test device or not, and what its link status is.
19936                 - Deal with test devices in most functions.  For those that work directly on hardware
19937                         special-case test devices.
19938                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19939                         command-line.
19940                 - (nm_device_update_link_active): split out logic for wired and wireless device link
19941                         checking to separate functions to facilitate test device link checking.
19942                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19943                         don't make a distinction between System Authentication and Encryption
19944                         (namely Cisco aironet), we use Open System auth when setting a WEP key
19945                         on the card.  We don't deal with Shared Key auth yet.
19946                 - (nm_device_activation_worker): split the activation cancel check logic out into
19947                         a separate routine nm_device_activation_cancel_if_needed()
19948                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19949                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19950                         a list of fake access points that they can "see"
19951                 - (nm_device_is_test_device): return whether or not a device is a test device
19952
19953         * src/NetworkManagerPolicy.c
19954                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19955                         previously if you "locked"/forced NM to use a wireless device but then
19956                         selected a wireless network for NM to use, it would switch to a wired device.
19957                         So, if the active device is wireless and it has a "forced" best AP, use it
19958                         if the "forced" best AP is still valid
19959                 - (nm_state_modification_monitor): deal with NULL best devices, for example
19960                         there were no usable network devices, or the last one was removed
19961
19962         * src/backends/NetworkManager*.c
19963                 - Deal with test devices, mostly just return success for operations like getting
19964                         a DHCP address
19965
19966         * test/nmtestdevices.c
19967                 - Test tool to create/remove/link-switch test devices
19968
19969 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
19970
19971         * examples/python/NetworkManager.py: 
19972         added convience functions has_wired_device and has_wireless_device
19973
19974         * examples/python/systray/network_tray.py: 
19975         cleaned up a bunch of cruft, added support for listing wireless
19976         networks just like the real applet.  This is probably all I'm
19977         going to work on this applet from now on.
19978         TODO: add support for actually changing networks and devices
19979
19980         * examples/python/NetworkManager.py (NetworkManager.get_device): 
19981         changed "nm.networks" into a dict from a list so I can store all
19982         the cool information about networks in there
19983
19984         * examples/python/systray/network_tray.py: 
19985         Added nice message when you try to run without running make first
19986
19987         * examples/python/NetworkManager.py: 
19988         Bug fixes to the code so we get all the device information
19989         that we need in get_device()
19990         
19991         * examples/python/NMTester.py: 
19992         Fixed _print_device_list to print_device_list
19993
19994 2004-08-29  Seth Nickell  <seth@gnome.org>
19995
19996         * configure.in:
19997
19998         Actually properly setup the Debian backend in configure.
19999         
20000 2004-08-29  Colin Walters  <walters@verbum.org>
20001
20002         * test/nminfotest.c: Include string.h and stdlib.h.
20003         (get_network_string_property, get_networks_of_type): Return NULL.
20004
20005         * test/nmclienttest.c (get_device_name, get_active_device): Return
20006         NULL.
20007
20008         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20009         use strlen, fgets always NULL-terminates the string.
20010
20011         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20012         dbus_message_get_member): Remove /* in comment.
20013
20014         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20015
20016         * src/NetworkManager.c (quit): Unused, delete.
20017         (nm_data_free): Cast arg to GFunc.
20018
20019         * panel-applet/NMWirelessAppletDbus.c: Need to include
20020         string.h, and dbus-glib-lowlevel.h (the latter is needed
20021         for dbus_connection_setup_with_g_main at present).
20022         (nmwa_dbus_update_wireless_network_list): Parenthesize
20023         assignment in conditional.
20024         (nmwa_dbus_worker): Return NULL.
20025
20026         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20027         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20028         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20029         (nmwa_populate_menu): Return NULL on failure, instead of just
20030         return;
20031
20032         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20033
20034         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20035         variables.
20036
20037         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20038         delete.
20039         
20040 2004-08-29  Colin Walters  <walters@verbum.org>
20041
20042         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20043         a GTimeVal instead of time_t.  This is easier to work with,
20044         since time_t may be a long or double, we don't know.
20045
20046         * src/NetworkManagerDbus.h: Update prototype.
20047         
20048         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20049         instead of time_t.
20050         (nm_ap_get_timestamp): Update to return GTimeVal.
20051         (nm_ap_set_timestamp): Update to take GTimeVal.
20052         
20053         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20054         to handle GTimeVal.
20055
20056         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20057         GTimeVal change.
20058         (nm_ap_list_print_members): Fix warnings in printf format.
20059
20060 2004-08-29  Colin Walters  <walters@verbum.org>
20061         
20062         * panel-applet/NMWirelessApplet.c: Include config.h.
20063
20064 2004-08-29  Colin Walters  <walters@verbum.org>
20065
20066         * configure.in: Generate config.h.
20067
20068         * configure.in: Dump dependency on OpenSSL; we can't
20069         use it since this package is GPL:
20070         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20071         Instead, check for libgcrypt, use it if available,
20072         otherwise use included MD5 code.
20073
20074         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20075         Suck in from gnome-keyring, munge a bit.
20076         
20077         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20078         gnome-keyring-md5.h gnome-keyring-md5.c.
20079         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20080
20081         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20082         libgcrypt or included gnome-keyring md5 bits.
20083         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20084
20085 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20086
20087         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20088
20089 2004-08-27  Bryan Clark  <bclark@redhat.com>
20090
20091         * examples/python/systray/Makefile: 
20092
20093         Updated the clean section
20094         
20095         * examples/python/systray/trayiconmodule.c: 
20096         * examples/python/systray/trayicon.override: 
20097         * examples/python/systray/network_tray.py: 
20098         * examples/python/systray/eggtrayicon.h: 
20099         * examples/python/systray/eggtrayicon.c: 
20100         * examples/python/systray/Makefile: 
20101         * examples/python/README: 
20102         * examples/python/NetworkManager.py: 
20103         * examples/python/NMTester.py: 
20104
20105         Initial commit of these python example files
20106
20107 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20108
20109         * panel-applet/NMWirelessApplet.c
20110                 - Make current device bold
20111                 - Show more user-friendly device name if we got one from hal
20112
20113         * panel-applet/NMWirelessAppletDbus.c
20114                 - Grab "info.product" key from hal for network devices
20115                 - Cache the current active device
20116
20117 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20118
20119         * configure.in: Added en_CA to ALL_LINGUAS.
20120
20121 2004-08-27  Christian Rose  <menthos@menthos.com>
20122
20123         * configure.in: Added "sv" to ALL_LINGUAS.
20124
20125 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20126
20127         * Tag NetworkManager-0.2
20128
20129 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20130
20131         * initscripts/Makefile.am
20132         * configure.in: Make pass distcheck
20133
20134         * po/ChangeLog: added
20135
20136 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20137
20138         * panel-applet/NMWirelessApplet.c
20139                 - Remove debugging code
20140                 - Enable device switching from menus
20141
20142         * panel-applet/NMWirelessAppletDbus.[ch]
20143                 - Method for asking NM to switch devices
20144
20145         * src/NetworkManagerDevice.c
20146                 - Set dev->activating earlier, avoids race between
20147                         the dbus signal of "DeviceActivating" and setting
20148                         dev->activating (which is what NM's "status" method call
20149                         looks at)
20150
20151 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20152
20153         * panel-applet/NMWirelessApplet.[ch]
20154                 - Rework menu code to add devices to menu, and to show
20155                         signal strength for each access point.  Code cleanups
20156                         too.
20157
20158         * panel-applet/NMWirelessAppletDbus.c
20159                 - Grab network devices from NetworkManager too
20160                 - Grab quality information from NM for wireless networks
20161
20162         * src/NetworkManagerDbus.[ch]
20163                 - Add dbus methods for getting the HAL UDI from a device and
20164                         for getting its base quality, if its wireless
20165                 - Consolidate some functions (wireless network notifications,
20166                         device notifications)
20167                 - Add method for requesting NM to use a particular device
20168
20169         * src/NetworkManager.c
20170                 - Change for function consolidations from NetworkManagerDbus.c
20171                 - Implement active device locking and user-requested devices
20172                         (ie, tell NM to use a particular device instead of the one
20173                         it autochose)
20174
20175         * src/NetworkManagerDevice.c
20176                 - Add method for getting the base quality of a device, if its
20177                         wireless
20178                 - Grab device base quailty info from iwlib during scans
20179
20180         * src/NetworkManagerPolicy.c
20181                 - Use a user-requested device rather than the auto-chosen device
20182                         if we are told to
20183
20184 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20185
20186         * Makefile.am: add po as a supdir
20187
20188         * autogen.sh: use gnome-autogen.sh
20189
20190         * initscript/Gentoo/.cvsignore:
20191         * initscript/RedHat/.cvsignore: Shut up cvs
20192
20193         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20194
20195         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20196         (nmwa_fill): Use gettext.
20197
20198         * configure.in: add gettext support
20199         * po/.cvsignore:
20200         * po/NetworkManager.pot:
20201         * po/POTFILES.in:
20202
20203 2004-08-26  Seth Nickell  <seth@gnome.org>
20204
20205         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20206         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20207         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20208         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20209         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20210         * panel-applet/NMWirelessApplet.h:
20211
20212         Use a menu bar instead of a button for the main clickable
20213         thingy.
20214         
20215 2004-08-25  Dan Williams <dcbw@redhat.com>
20216
20217         * src/NetworkManagerDevice.c
20218                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20219                         turning encryption off, because the Cisco driver doesn't associate
20220                         with WEP-enabled access points unless we are in "open"
20221
20222 2004-08-25  Dan Williams <dcbw@redhat.com>
20223
20224         * src/NetworkManagerWireless.c
20225                 - Don't try to defererence blank passphrases
20226
20227 2004-08-25  Dan Williams <dcbw@redhat.com>
20228
20229         * panel-applet/NMWirelessApplet.c
20230                 - Rebuild the menu whenever a user clicks
20231
20232 2004-08-25  Dan Williams <dcbw@redhat.com>
20233
20234         * panel-applet/NMWirelessApplet.c
20235                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20236                         when NM isn't around or when its not connected
20237
20238         * src/NetworkManagerDevice.c
20239                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20240                         canceled.
20241
20242 2004-08-25  Dan Williams <dcbw@redhat.com>
20243
20244         * panel-applet/NMWirelessAppletDbus.c
20245                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20246                         for getting encryption, and don't stop on "val" once we've gotten it
20247                         from NetworkManager.  Short form:  encryption should now show up.
20248
20249 2004-08-25  Dan Williams <dcbw@redhat.com>
20250
20251         * panel-applet/NMWirelessApplet.c
20252                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20253                         network to associate with
20254
20255 2004-08-25  Dan Williams <dcbw@redhat.com>
20256
20257         * panel-applet/*
20258                 - Rework the panel applet to do all DBUS communication in a separate
20259                         thread
20260
20261 2004-08-25  Dan Williams <dcbw@redhat.com>
20262
20263         * info-daemon/NetworkManagerInfo.[ch]
20264                 - Remove "get_next_priority" function
20265
20266         * info-daemon/NetworkManagerInfoDbus.[ch]
20267                 - Convert "priority" functions to "timestamp"
20268
20269 2004-08-25  Dan Williams <dcbw@redhat.com>
20270
20271         * src/NetworkManagerAP.[ch]
20272                 - Add a "enc_method_good" member and accessors to an Access Point
20273                         to signal when we've found the correct encryption method
20274                         for an access point
20275                 - Add a "timestamp" member and accessors, remove "priority" member
20276                         and accessors (use timestamps instead)
20277                 - Rename "wep_key"->"enc_key"
20278                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20279                         for a specified encryption method using the access points
20280                         source encryption key/passphrase
20281
20282         * src/NetworkManagerAPList.c
20283                 - When updating a network with dbus, grab timestamp now instead of
20284                         priority
20285
20286         * src/NetworkManagerDBus.[ch]
20287                 - Add signal for "DeviceActivating"
20288                 - Switch priority->timestamp
20289
20290         * src/NetworkManagerDevice.c
20291                 - Change references of "wep_key" -> "enc_key" or "key"
20292                 - Signal DeviceActivating when starting activation
20293                 - When activating a wireless device, if the access point we are connecting
20294                         to is encrypted, and we have a source key, try to generate a mangled
20295                         key and use that (ie, generate real WEP key from a passphrase)
20296                 - Rework device activation to fallback to other encryption methods if
20297                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20298                         first, then if that doesn't work fall back to direct hex key).
20299                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20300                         priority.  We now prefer the latest access point used, rather than using
20301                         a priority scheme
20302                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20303                         points we've just discovered, and merge in correct info from the global
20304                         access point lists
20305
20306 2004-08-25  Seth Nickell  <seth@gnome.org>
20307
20308         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20309         Debian support.
20310         
20311         * src/Makefile.am:
20312         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20313         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20314         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20315         (nm_system_delete_default_route),
20316         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20317         (nm_system_load_device_modules):
20318
20319 2004-08-24  Dan Willemsen <dan@willemsen.us>
20320
20321         * src/NetworkManager.c
20322           src/backends/NetworkManagerGentoo.c
20323           src/backends/NetworkManagerRedHat.c
20324           src/backends/NetworkManagerSystem.h
20325                 - Implement preliminary Gentoo support, adding a
20326                         nm_system_init function to the backend specification
20327
20328         * configure.in
20329                 - Distribution auto-detection, lowercase any user-fed
20330                         distribution names
20331
20332         * initscript/.cvsignore
20333           initscript/Makefile.am
20334           initscript/RedHat/Makefile.am
20335           initscript/RedHat/NetworkManager
20336           initscript/Gentoo/Makefile.am
20337           initscript/Gentoo/NetworkManager
20338                 - Refactored initscript code separately for each
20339                         distribution
20340
20341 2004-08-23  Dan Williams <dcbw@redhat.com>
20342
20343         * configure.in
20344           src/Makefile.am
20345           src/NetworkManagerDevice.c
20346           src/NetworkManager.c
20347           src/NetworkManagerUtils.[ch]
20348           src/backends/NetworkManagerSystem.h
20349           src/backends/NetworkManagerRedHat.c
20350           src/backends/NetworkManagerGentoo.c
20351                 - Refactor system-specific code into separate backends for
20352                         each distribution
20353
20354 2004-08-23  Dan Willemsen <dan@willemsen.us>
20355
20356         * dispatcher-daemon/NetworkManagerDispatcher.c
20357           info-daemon/NetworkManagerInfo.[ch]
20358           info-daemon/NetworkManagerInfoDbus.c
20359           info-daemon/NetworkManagerInfoPassphraseDialog.c
20360           src/NetworkManager.c
20361           src/NetworkManagerAP.c
20362           src/NetworkManagerAPList.c
20363           src/NetworkManagerDbus.c
20364           src/NetworkManagerDevice.c
20365           src/NetworkManagerPolicy.c
20366           src/NetworkManagerUtils.[ch]
20367           src/NetworkManagerWireless.c
20368                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20369
20370         * src/NetworkManager.c
20371                 - Fixed usage wording for --no-daemon
20372
20373 2004-08-23  Dan Williams <dcbw@redhat.com>
20374
20375         * panel-applet/NMWirelessApplet.c
20376                 - Update our state every second to get more responsive panel icon
20377                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20378                         was causing our marching ants status blips to never move when
20379                         looking for a wireless network
20380
20381         * src/NetworkManagerDevice.c
20382                 - (nm_device_activation_begin): return if activation has already begun
20383                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20384                         trusted/preferred network into the device's access point when the
20385                         scan list is processed
20386
20387 2004-08-23  Dan Williams <dcbw@redhat.com>
20388
20389         * initscript/NetworkManager
20390                 - Use NMLaunchHelper rather than sleeping
20391
20392         * initscript/NMLaunchHelper.c
20393           Makefile.am
20394                 - Add helper program that exits only when NM activates a device,
20395                         or 10 seconds have passed, whichever happens first.  This
20396                         stops the boot processes until we have a network connection,
20397                         which NM can't do because it daemonizes and brings the connection
20398                         up in the background.  Allows stuff like NFS to not die.
20399
20400 2004-08-20  Dan Williams <dcbw@redhat.com>
20401
20402         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20403                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20404                         for a network, set the essid as well since it may not exist yet
20405                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20406                         since WEP keys/passphrases are long and prone to entry-error
20407
20408         * panel-applet/Makefile.am
20409           panel-applet/wired.png
20410                 - Add (pulled from system-config-network temporarily)
20411
20412         * panel-applet/NMWirelessApplet.[ch]
20413                 - Show wired picture when a wired connection is used
20414                 - Rename wireless icon enums, adding WIRELESS
20415
20416         * src/NetworkManagerDevice.c
20417                 - (nm_device_activate_wireless): unset encryption before bringing
20418                         down the card and setting the essid
20419                 - (nm_device_activatin_worker): request a key from the user if the
20420                         AP we are connecting to is encrypted but we don't have a key
20421                         for it yet
20422                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20423                         strcmp() that prevented a user-entered key from actually getting
20424                         used
20425
20426 2004-08-16  Dan Williams <dcbw@redhat.com>
20427
20428         * initscript/NetworkManager
20429                 - Check for /sbin/ip
20430                 - Do sysctl magic that network service does
20431                 - sleep 4s after start to allow network time to come up [hack]
20432
20433         * src/Makefile.am
20434           src/NMLoadModules
20435                 - Load all network device kernel modules (hal doesn't know devices
20436                         are ethernet until the module is loaded, and therefore we don't know)
20437
20438         * src/NetworkManager.c
20439                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20440                         network devices, and bring up the loopback device explicitly
20441
20442         * src/NetworkManagerUtils.[ch]
20443                 - (nm_enable_loopback): new function
20444
20445 2004-08-13  Dan Williams <dcbw@redhat.com>
20446
20447         * configure.in
20448           panel-applet/Makefile.am
20449                 - Fix up cleanfiles and server_DATA/server_in_files
20450
20451         * README
20452                 - Update with some comments on theory of operation
20453
20454         * CONTRIBUTING
20455           Makefile.am
20456                 - Add CONTRIBUTING
20457
20458 2004-08-12  Dan Williams <dcbw@redhat.com>
20459
20460         * info-daemon/passphrase.glade
20461                 - Set window title to " "
20462
20463         * panel-applet/Makefile.am
20464           panel-applet/keyring.png
20465                 - Deliver to correct place
20466
20467         * panel-applet/NMWirelessApplet.[ch]
20468                 - Add comments
20469                 - Remove applet->have_active_device as its no longer used
20470                 - (nmwa_load_theme): load keyring.png too
20471                 - (error_dialog): remove
20472                 - (show_warning_dialog): subsume functionality of error dialog too
20473                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20474                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20475                         the networks menu
20476                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20477                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20478                         and when we get broadcasts of changed wireless access points only, not when the
20479                         user clicks on the button to display the menu (too long of a wait)
20480                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20481                         networks that are encrypted
20482                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20483                         menu item with g_object_set_data()
20484
20485         * panel-applet/NMWirelessAppletDbus.[ch]
20486                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20487                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20488                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20489                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20490                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20491                         activation/deactivation signals and rebuild the menu when they happen
20492
20493         * src/NetworkManager.c
20494                 - (main): use new nm_spawn_process() rather than system()
20495
20496         * src/NetworkManagerDbus.c
20497                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20498                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20499                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20500                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20501                         to freeze the best_ap.
20502
20503         * src/NetworkManagerDevice.[ch]
20504                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20505                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20506                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20507                         ap list
20508
20509         * src/NetworkManagerUtils.[ch]
20510                 - (nm_spawn_process): add replacement for system() usage
20511
20512 2004-08-11  Dan Williams <dcbw@redhat.com>
20513
20514         * panel-applet/NMWirelessApplet.[ch]
20515                 - Fix up copyright and credits to include Bastien and Eskil,
20516                         who created the gnome-applets wireless applet, from whose
20517                         skeleton this one was created
20518                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20519                         pixmap to draw is computed during nmwa_update_state()
20520                 - Applet now shows itself all the time due to panel packing issues
20521                         which caused the applet to previously never come back after hiding.
20522                         When a wired device is the active device, the applet shows "not connected"
20523
20524         * panel-applet/NMWirelessAppletDbus.[ch]
20525                 - Clean up error messages and show what function they are from
20526                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20527                 - Add new device type getters, and a status getter
20528
20529         * src/NetworkManagerDbus.c
20530                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20531                         network is actually in the device's ap list
20532                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20533
20534         * src/NetworkManagerDevice.c
20535                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20536                         card
20537
20538         * test/nmclienttest.c
20539                 - Report status of NetworkManager too
20540
20541 2004-08-11  Dan Williams <dcbw@redhat.com>
20542
20543         * info-daemon/NetworkManagerInfo.c:
20544                 - (main): clean up Seth's code style
20545
20546         * info-daemon/NetworkManagerInfoDbus.c:
20547                 - Use the more aptly-named path/service/interface constants from NetworkManager
20548                 - Don't return empty strings ("") as object paths ever, instead return errors
20549
20550         * panel-applet/NMWirelessApplet.c:
20551                 - Clean up Seth's code style
20552
20553         * src/NetworkManager.[ch]
20554                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20555                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20556
20557         * src/NetworkManagerAPList.[ch]
20558                 - Move Iter struct right above the iter functions to preserve opacity
20559                 - (nm_ap_list_remove_ap): implement
20560                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20561                         remove AP if NetworkManagerInfo doesn't know anything about it
20562                 - (nm_ap_list_diff): user NMAPList iterators
20563                 - (nm_ap_list_print_members): implement debugging function
20564
20565         * src/NetworkManagerDbus.[ch]
20566                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20567                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20568                         and move the actual key setting stuff into NetworkManagerDevice.c
20569                 - (nm_dbus_get_network_priority): return -1 now on errors
20570                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20571                         get lost, and force the active device to update its "best" ap when AP lists change
20572                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20573                         method call due to pending_device member removal
20574
20575         * src/NetworkManagerDevice.[ch]
20576                 - Move NMDevice structure to the top
20577                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20578                 - Remove Pending Action stuff from everywhere
20579                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20580                         activation for us.  This thread blocks until all conditions for activation have
20581                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20582                         then setup up the interface and runs dhclient.  We have to do this because there
20583                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20584                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20585                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20586                         can tell nm_device_activation_worker() that we've got a key
20587                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20588                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20589                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20590                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20591
20592         * src/NetworkManagerPolicy.c
20593                 - Remove anything to do with pending_device
20594                 - Adjust device activation to deal with activation-in-worker-thread
20595
20596         * src/NetworkManagerUtils.c
20597                 - Clean up locking debugging a bit
20598
20599         * src/NetworkManagerWireless.[ch]
20600                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20601                         was badly named and is better as a device function
20602
20603         * panel-applet/.cvsignore: add
20604
20605 2004-08-09  Seth Nickell  <seth@gnome.org>
20606
20607         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20608         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20609         (nmwa_new):
20610         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20611
20612         Don't load the menus until clicked on (also removes a call outside
20613         normal code paths at first load).
20614
20615         Hide applet when NM is not present.
20616         
20617         Improve printf debugging stuff.
20618         
20619 2004-08-09  Dan Williams <dcbw@redhat.com>
20620
20621         * dispatcher-daemon/NetworkManagerDispatcher.c:
20622                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20623                 - Use constants for NetworkManager interface, service, and path
20624
20625 2004-08-09  Dan Williams <dcbw@redhat.com>
20626
20627         * src/NetworkManagerDbus.c:
20628                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20629                         instead return an error message
20630                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20631                         on a wired device.  Also never return an empty object path, instead return an error message
20632
20633 2004-08-06  Seth Nickell  <seth@gnome.org>
20634
20635         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20636
20637         Check the error code when getting a connection.
20638         
20639         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20640
20641         Check if the NM service exists when initializing (rather than
20642         assuming it does not).
20643         
20644         * src/NetworkManagerDbus.c: (nm_dbus_init):
20645
20646         Don't acquire the well-known service name until we have
20647         registered object/path handlers and can actually receive
20648         calls.
20649         
20650 2004-08-06  Dan Williams <dcbw@redhat.com>
20651
20652         * panel-applet/*
20653                 - Add panel applet
20654
20655         * src/NetworkManagerPolicy.c
20656           src/NetworkManager.c
20657                 - Get access point lists from NetworkManagerInfo on-demand,
20658                         and look for ServiceCreate/ServiceDeleted signals to see when
20659                         we should query NMI for lists
20660         * src/NetworkManagerAPList.c
20661                 - Make sure to init the list's mutex
20662                 - Convert traversals of the list over to the list iter functions
20663
20664         * src/NetworkManagerDbus.[ch]
20665                 - Use more aptly-named path/service/interface constants
20666                 - Treat both active and pending devices the same for "getActiveDevice"
20667                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20668
20669         * src/NetworkManagerDevice.c
20670                 - Honor "ignored" network list when picking best ap to use
20671
20672 2004-08-06  Seth Nickell  <seth@gnome.org>
20673
20674         * aclocal.m4:
20675
20676         Autogenerated, remove from CVS.
20677         
20678         * autogen.sh:
20679
20680         Don't hardcode automake version.
20681         
20682         * configure.in:
20683         * info-daemon/Makefile.am:
20684         * info-daemon/NetworkManagerInfo.c: (main):
20685
20686         Use GnomeProgram et al. for doing session management.
20687         Use popt stuff for argument parsing rather than doing
20688         it manugally.
20689         
20690 2004-08-05  Dan Williams <dcbw@redhat.com>
20691
20692         * test/nminfotest.c
20693                 - Update to new NMI dbus API, check different network types
20694
20695         * info-daemon/NetworkManagerInfoDbus.c
20696                 - Update to new NM dbus API, ie network type sent in query message
20697
20698 2004-08-05  Dan Williams <dcbw@redhat.com>
20699
20700         * An assload of changes
20701
20702 2004-08-02  Dan Williams <dcbw@redhat.com>
20703
20704         * TODO
20705                 - new task: proper logging support
20706
20707         * info-daemon/NetworkManagerInfo.c
20708                 - Correct spelling of "canceled"
20709                 - Correct casting of objects for g_signal_connect()
20710
20711         * info-daemon/NetworkManagerInfoDbus.c
20712                 - Add defines for NetworkManager namespace and object path, and use them
20713                 - Add filter function to trap new signals from NetworkManager:
20714                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20715
20716         * info-daemon/passphrase.glade
20717                 - Change name of "ok" button to "Login to Network..."
20718                 - Mark invisible
20719
20720         * src/NetworkManager.c
20721                 - Code and debug message cleanups
20722                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20723                 - (nm_add_initial_devices) Check returned string array of devices
20724                         and don't try to add devices if array is NULL
20725                 - (main) Initialize libhal a bit later, make code a bit clearer
20726
20727         * src/NetworkManagerAP.[ch]
20728                 - New accessor and data member "matched": used to speed up AP list
20729                         diffing
20730                 - New accessor and data member "enc_method": will be used during key
20731                         fallback to cache which passphrase->key conversion actually works
20732                         so we don't have to do it every time
20733
20734         * src/NetworkManagerAPList.[ch]
20735                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20736                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20737                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20738                         dbus in response to those differences
20739
20740         * src/NetworkManagerDbus.[ch]
20741                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20742                         make an object path for that access point (NOTE that we don't yet check to
20743                         make sure that access point is actually in the device's AP list yet)
20744                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20745                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20746                         New: signal appearance/disappearance of wireless networks
20747                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20748                         key entry
20749
20750         * src/NetworkManagerDevice.[ch]
20751                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20752                 - (nm_device_ap_list_get) New: return the AP list (static function)
20753                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20754                         new one resulting from the scan with the old one
20755
20756         * src/NetworkManagerWireless.c
20757                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20758
20759         * test/nminfotest.c
20760                 - #define object paths and namespaces and use the #defines rather than static strings
20761                 - Test out user-key functionality of NetworkManagerInfo too
20762
20763 2004-07-29  Dan Williams <dcbw@redhat.com>
20764
20765         * info-daemon/NetworkManagerInfoDbus.c
20766           src/NetworkManagerDbus.c
20767                 - Update to current DBus (ie don't use decomposed paths when registering
20768                         object paths/fallbacks)
20769
20770 2004-07-27  Dan Williams <dcbw@redhat.com>
20771
20772         * Remove various Makefile.in files
20773
20774         * TODO
20775                 - Add some more items
20776
20777         * configure.in
20778                 - Add checks for OpenSSL/md5 headers and libs
20779
20780         * src/Makefile.am
20781                 - Use OpenSSL CFLAGS
20782
20783         * src/NetworkManagerAP.[ch]
20784                 - Remove 'stamp' functions, replace with 'invalid' functions
20785                         to support user cancelling WEP key entry
20786
20787         * src/NetworkManagerDbus.c
20788                 - Remove 'stamp' return functions
20789                 - Treat returned user key as a passphrase and convert to a WEP key,
20790                         but don't actually use the WEP key yet.  We use the returned user
20791                         key as a hexadecimal WEP key until we can figure out a UI for
20792                         passphrase-vs-hex key
20793
20794         * src/NetworkManagerWireless.[ch]
20795                 - Add passphrase-to-128bit-key function
20796
20797 2004-07-27  Dan Williams <dcbw@redhat.com>
20798
20799         * TODO
20800                 - Add a couple of items
20801
20802 2004-07-27  Dan Williams <dcbw@redhat.com>
20803
20804         * info-daemon/NetworkManagerInfo.c
20805                 - Update allowed network's GConf key when user enters a WEP key explicitly
20806
20807         * info-daemon/NetworkManagerDbus.c
20808                 - Fix some comments
20809                 - nmi_dbus_get_allowed_networks(): kill warning
20810
20811 2004-07-27  Dan Williams <dcbw@redhat.com>
20812
20813         * initscript/Makefile.in
20814                 - Remove
20815
20816         * initscript/Makefile.am
20817                 - Add correct rules to install the init.d initscript
20818
20819         * info-daemon/NetworkManagerInfoDbus.c
20820                 - Remove debug fprintf
20821
20822         * src/NetworkManagerDbus.[ch]
20823                 - Remove debug fprintfs
20824                 - Add macros for NetworkManagerInfo object path/namespace
20825                 - Use said macros instead of constant strings
20826
20827 2004-07-27  Dan Williams <dcbw@redhat.com>
20828
20829         * initscript/.cvsignore
20830                 - Add
20831
20832         * info-daemon/Makefile.am
20833                 - Install .glade files and keyring.png
20834                 - Fix stupid omission of a \ that caused half the flags not to be
20835                         passed to gcc
20836
20837         * info-daemon/NetworkManagerInfo.c
20838                 - gtk_signal_connect->g_signal_connect
20839                 - Alert NetworkManagerInfo to new glade file location
20840
20841 2004-07-27  Dan Williams <dcbw@redhat.com>
20842
20843         * test/nmclienttest.c
20844           test/nminfotest.c
20845                 - Add missing <dbus/dbus.h> headers
20846                 - Add GPL message at top
20847
20848 2004-07-27  Dan Williams <dcbw@redhat.com>
20849
20850         * src/NetworkManagerAPList.[ch]
20851           src/Makefile.am
20852                 - Add.  Deal with allowed network list additions, deletions, and updates
20853
20854         * dispatcher-daemon/NetworkManagerDispatcher.c
20855                 - Add missing <dbus/dbus.h> header
20856
20857         * info-daemon/NetworkManagerInfo.[ch]
20858                 - Add missing <dbus/dbus.h> header
20859                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20860                         network change
20861                 - Better error checking
20862
20863         * info-daemon/NetworkManagerInfoDbus.[ch]
20864                 - Add missing <dbus/dbus.h> header
20865                 - Convert to using dbus_message_append_args/dbus_message_get_args
20866                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20867                         that an allowed network changed.  We don't want to signal on individual
20868                         keys _inside_ an allowed network really, just want NM to query the info
20869                         daemon for updated info on all keys.
20870                 - Better error checking
20871
20872         * src/NetworkManager.[ch]
20873                 - Add missing <dbus/dbus.h> header
20874                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20875                 - Zero out NMData structure on free
20876                 - No longer use a thread for allowed_ap_list updating, instead its now done
20877                         through dbus queries against NetworkManagerInfo
20878                 - Populate allowed_ap_list initially before adding existing network devices
20879                         to the device list, so wireless devices can get their "best" AP
20880
20881         * src/NetworkManagerDbus.[ch]
20882                 - Convert to using dbus_message_append_args/dbus_message_get_args
20883                 - Better error checking
20884                 - Implement Allowed Network info functions to request allowed network
20885                         info from NetworkManagerInfo
20886                 - Implement the filter function to process signals from NetworkManagerInfo
20887                         about changing allowed networks
20888
20889         * src/NetworkManagerDevice.c
20890                 - Fix file descriptor leak in nm_device_update_ip4_address()
20891
20892 2004-07-27  Dan Williams <dcbw@redhat.com>
20893
20894         * .cvsignore
20895           src/.cvsignore
20896           test/.cvsignore
20897           dispatcher-daemon/.cvsignore
20898           info-daemon/.cvsignore
20899                 - Add .cvsignore files to reduce noise when diffing
20900
20901 2004-07-24  Dan Williams <dcbw@redhat.com>
20902
20903         * src/NetworkManager.[ch]
20904           src/NetworkManagerDbus.[ch]
20905           src/NetworkManagerDevice.[ch]
20906           src/NetworkManagerPolicy.c
20907           src/NetworkManagerWireless.[ch]
20908                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20909                 - Pass the NMData application data structure through all calls
20910                         that need it so we can get rid of nm_get_global_data()
20911                 - Change deallocation of the allowed_ap_list GSList in preparation
20912                         for not completely clearing it every time we get an update,
20913                         but instead getting incremental updates via GConf/dbus
20914
20915 2004-07-22  Dan Williams <dcbw@redhat.com>
20916
20917         * configure.in
20918                 - Add checks for GConf libs & headers & flags
20919
20920         * info-daemon/Makefile.am
20921                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20922
20923         * info-daemon/NetworkManagerInfo.[ch]
20924                 - Don't use gquarks for data storage, just use normal data storage
20925                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20926
20927         * info-daemon/NetworkManagerDbus.[ch]
20928                 - Add method call for getting allowed networks
20929                 - Add method calls for getting an allowed network's essid, priority, and key
20930                 - Hook the method calls up to GConf
20931                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20932                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20933                 
20934         * src/NetworkManagerDbus.[ch]
20935                 - Switch for enumeration of networks to using essid instead
20936
20937         * test/Makefile.am
20938           test/nminfotest.c
20939                 - Add test program for NetworkManagerInfo
20940
20941 2004-07-19  Dan Williams <dcbw@redhat.com>
20942
20943         * src/NetworkManagerDbus.c
20944                 - Switch from indexed device paths to names.  Less code, more efficient.
20945                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20946
20947 2004-07-19  Dan Williams <dcbw@redhat.com>
20948
20949         * dispatcher-daemon/NetworkManagerDispatcher.c
20950                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20951
20952 2004-07-19  Dan Williams <dcbw@redhat.com>
20953
20954         * Makefile.am
20955                 - Add info-daemon directory
20956
20957         * configure.in
20958                 - Check for glade libs and headers
20959                 - Add info-daemon directory
20960
20961         * src/NetworkManagerAP.c
20962                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20963                         copied over to the new AP.
20964
20965         * src/NetworkManagerDbus.c
20966           src/NetworkManagerDbus.h
20967                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
20968                 - Remove nm_dbus_signal_need_key_for_network()
20969                 - Add disabled code for asynchronous user wep key callbacks
20970                 - Add functions for getting, setting, and cancelling user key operations
20971                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
20972                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
20973
20974         * src/NetworkManagerDevice.c
20975           src/NetworkManagerDevice.h
20976                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
20977                         logic is in device activation now
20978                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
20979                         key is wrong) trigger get-user-key pending action
20980                 - Implement get-user-key pending action stuff, tie to dbus messages
20981                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
20982                 - Add nm_device_ap_list_get_ap_by_essid()
20983                 - Instead of copying "best" access points, ref them instead so that the key we set
20984                         sticks around
20985
20986         * src/NetworkManagerPolicy.c
20987                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
20988                 - Don't cancel pending actions on a device if its the same device as last iteration
20989                 - Only promote pending_device->active_device if activation was successfull
20990
20991         * src/Makefile.am
20992                 - Rename nmclienttest->nmtest
20993
20994         * info-daemon/Makefile.am
20995           info-daemon/NetworkManagerInfo.c
20996           info-daemon/NetworkManagerInfo.h
20997           info-daemon/NetworkManagerInfoDbus.c
20998           info-daemon/NetworkManagerInfoDbus.h
20999           info-daemon/passphrase.glade
21000           info-daemon/NetworkManagerInfo.conf
21001           info-daemon/keyring.png
21002                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21003                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21004                         lists to NetworkManager by proxying user's GConf
21005           
21006
21007 2004-07-15  Dan Williams <dcbw@redhat.com>
21008
21009         * src/Makefile.am
21010                 - Turn on warnings
21011
21012         * src/NetworkManager.c
21013                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21014                         that doing the deactivation ourselves
21015                 - Cancel an pending actions on a device if its being removed
21016                 - Break up link state checking a bit, make non-active wireless cards
21017                         deactivated to save power
21018                 - Remove unused variables
21019
21020         * src/NetworkManager.h
21021                 - Add support for "pending" device
21022
21023         * src/NetworkManagerAP.h
21024           src/NetworkManagerAP.c
21025                 - Add support for determining whether and AP has encryption enabled or not
21026                 - AP address is now "struct ether_addr" rather than a string
21027
21028         * src/NetworkManagerDbus.h
21029           src/NetworkManagerDbus.c
21030                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21031                 - Changes for AP address from struct ether_addr->string
21032
21033         * src/NetworkManagerDevice.h
21034           src/NetworkManagerDevice.c
21035                 - Remove unused variables, fix warnings
21036                 - Add support for Pending Actions (things that block a device from being "active"
21037                         until they are completed).
21038                 - First pending action:  Get a WEP key from the user
21039                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21040                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21041                 - Update wireless link checking to try to determine if the AP we are associated
21042                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21043                         trigger the GetUserKey pending action on the device
21044                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21045                         up in that case, otherwise we can't scan or link-check on it
21046                 - Add IP address change notifications at appropriate points (still needs some work)
21047                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21048
21049         * src/NetworkManagerPolicy.h
21050           src/NetworkManagerPolicy.c
21051                 - Split out "best" access point determiniation into separate function
21052                 - Make device activation 2-stage:  first the device is pending, then
21053                         in the next iteration through it becomes "active" unless it has
21054                         pending actions
21055
21056         * src/NetworkManagerUtils.h
21057           src/NetworkManagerUtils.c
21058                 - Clean up unused variables and warnings
21059                 - Wrap our debug macros in {} to prevent possible confusion
21060
21061         * src/NetworkManagerWireless.c
21062                 - Forgot to return current best priority, which lead to last available AP always
21063                         being chosen no matter what its priority was.  Corrected.
21064
21065 2004-07-15  Dan Williams <dcbw@redhat.com>
21066
21067         * dispatcher-daemon/Makefile.am
21068                 - Turn on warnings
21069
21070         * dispatcher-daemon/NetworkManagerDispatcher.c
21071                 - Remove unused variables due to warnings
21072                 - Fix some comments
21073                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21074
21075 2004-07-06  Dan Williams <dcbw@redhat.com>
21076
21077         * src/NetworkManager.c
21078                 - Add IPv4 address update for active device during link state check
21079                 - Don't allow wireless cards to be powered up when they are not the
21080                         active device
21081
21082         * src/NetworkManagerDbus.c
21083           src/NetworkManagerDbus.h
21084                 - Add DBUS IPv4 address change signal
21085                 - Add DBUS IPv4 address get method for devices
21086
21087         * src/NetworkManagerDevice.c
21088                 - Make setting the WEP key actually work
21089                 - Move IP address get/set/update stuff here, per-device
21090                 - Power down/bring down wireless device when deactivated
21091                 - For scanning wireless devices, if first scan returned ENODATA, try again
21092
21093         * src/NetworkManagerPolicy.c
21094                 - Only set the WEP key for an allowed access point if there is one.
21095                         We were setting it to be blank if one wasn't specified.
21096
21097         * src/NetworkManagerUtils.h
21098           src/NetworkManagerUtils.c
21099                 - Move the IP address stuff to NetworkManagerDevice.c
21100
21101         * dispatcher-daemon/NetworkManagerDispatcher.c
21102                 - Add device IPv4 address change notification stuff
21103
21104 2004-07-05  Dan Williams <dcbw@redhat.com>
21105
21106         * dispatcher-daemon/NetworkManagerDispatcher.c
21107                 - A bit more descriptive state message
21108                 - Don't segfault when reading directory
21109
21110         * src/NetworkManager.h
21111                 - Remove NMData desired_ap member, its now
21112                         per-device rather than global
21113
21114         * src/NetworkManager.c
21115                 - Remove references to desired_ap
21116                 - Move the allowed AP list refresh stuff into a thread
21117
21118         * src/NetworkManagerDevice.c
21119           src/NetworkManagerDevice.h
21120                 - Each wireless device now has a "best ap"
21121                 - Make device activate/deactivate functions per-device
21122                 - Make wireless scanning per-device
21123                 - Add IPv4 address discover functions, stub IPv6 ones
21124                 - Move ethernet address validation functions to NetworkManagerUtils.c
21125                 - Add wireless access point accessor function
21126                 - Get/Set functions for "best ap"
21127
21128         * src/NetworkManagerPolicy.c
21129                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21130                 - Deal with per-device "best ap" rather than data->desired_apa
21131                 - Implement allowed access point worker thread
21132                 - Add nm_policy_essid_is_allowed() function
21133
21134         * src/NetworkManagerUtils.c
21135           src/NetworkManagerUtils.h
21136                 - Add nm_ethernet_address_is_valid() function
21137                 - Add IPv4/IPv6 address get functions
21138
21139         * src/NetworkManagerWireless.c
21140           src/NetworkManagerWireless.h
21141                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21142
21143 2004-06-29  Dan Williams <dcbw@redhat.com>
21144
21145         * dispatcher-daemon/NetworkManagerDispatcher.c
21146                 - Implement script callout functionality
21147
21148 2004-06-24  Dan Williams <dcbw@redhat.com>
21149
21150         * NetworkManager.c
21151             - Spacing cleanups
21152             - Flush device routes and ip addresses when added to the device list
21153
21154         * NetworkManagerDbus.c
21155             - Spacing cleanups
21156             - Add missing returns in the two signal functions
21157         
21158         * NetworkManagerPolicy.c
21159             - Spacing and variable cleanups
21160
21161 2004-06-24  Dan Williams <dcbw@redhat.com>
21162
21163         * Makefile.am
21164           Makefile.in
21165           configure.in
21166           dispatcher-daemon/Makefile.am
21167           dispatcher-daemon/Makefile.in
21168           dispatcher-daemon/NetworkManagerDispatcher.c
21169             - Add a daemon that receives signals from NetworkManager
21170                         and will (eventually) call scripts in /etc/somewhere
21171                         when devices go up or down.
21172         
21173         * NetworkManager.c
21174             - Spacing cleanups
21175             - Flush device routes and ip addresses when added to the device list
21176
21177         * NetworkManagerDbus.c
21178             - Spacing cleanups
21179             - Add missing returns in the two signal functions
21180         
21181         * NetworkManagerPolicy.c
21182             - Spacing and variable cleanups
21183             - Rename nm_policy_switch_interface->nm_policy_switch_device
21184             - nm_policy_switch_device():
21185                                 Use kill (pid) instead of system ("kill <pid>")
21186             - nm_state_modification_monitor():
21187                                 Add wireless essid to output of debug statements
21188                                 Correct typo in device compare to switch or not (should be !=)
21189                                 Don't sleep after sending "no longer active" signal, was useless
21190
21191 2004-06-24  Dan Williams <dcbw@redhat.com>
21192
21193         * Initial import