2008-10-26 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-26  Dan Williams  <dcbw@redhat.com>
2
3         Patch from Tambet Ingo <tambet@gmail.com>
4
5         * libnm-util/libnm-util.ver
6           libnm-util/nm-setting-wired.c
7           libnm-util/nm-setting-wired.h
8                 - Make properties private and add accessor functions
9
10         * src/nm-device-ethernet.c
11           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
12           system-settings/plugins/ifcfg-suse/parser.c
13           system-settings/src/main.c
14                 - Use those accessors
15
16 2008-10-26  Dan Williams  <dcbw@redhat.com>
17
18         Patch from Tambet Ingo <tambet@gmail.com>
19
20         * libnm-util/libnm-util.ver
21           libnm-util/nm-setting-serial.c
22           libnm-util/nm-setting-serial.h
23           src/nm-serial-device.c
24                 - Make properties private and use accessors instead
25
26 2008-10-26  Dan Williams  <dcbw@redhat.com>
27
28         * src/supplicant-manager/nm-supplicant-interface.c
29           src/supplicant-manager/nm-supplicant-interface.h
30           src/supplicant-manager/nm-supplicant-manager.c
31           src/supplicant-manager/nm-supplicant-manager.h
32                 - Add state-to-string conversion functions
33
34         * src/nm-device-wifi.c
35           src/nm-device-ethernet.c
36                 - Normalize state info logging and use strings instead of numbers
37
38 2008-10-26  Dan Williams  <dcbw@redhat.com>
39
40         * src/NetworkManagerPolicy.c
41                 - (update_routing_and_dns): ignore host routes when determining whether
42                         a VPN connection should own the default route (bgo #552594)
43
44 2008-10-24  Dan Williams  <dcbw@redhat.com>
45
46         * src/nm-gsm-device.c
47                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
48
49 2008-10-23  Dan Williams  <dcbw@redhat.com>
50
51         * src/ppp-manager/nm-ppp-manager.c
52                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
53                         add really important stuff to the command line to ensure that NM
54                         overrides /etc/ppp/options (bgo #556781)
55
56 2008-10-22  Dan Williams  <dcbw@redhat.com>
57
58         * src/NetworkManagerSystem.c
59           src/nm-device.c
60                 - Use the device's IP interface where appropriate (Per Hallsmark)
61
62 2008-10-22  Dan Williams  <dcbw@redhat.com>
63
64         * src/nm-gsm-device.c
65                 - (schedule_automatic_registration_again): use a short timeout here
66                         instead of an idle handler to avoid using too much CPU polling for
67                         something we should be waiting a bit for anyway
68
69 2008-10-22  Dan Williams  <dcbw@redhat.com>
70
71         * include/NetworkManager.h
72           introspection/nm-device.xml
73                 - Add device state change reason for carrier changes
74
75         * src/nm-device-ethernet.c
76                 - (set_carrier): use the carrier change reason when changing device
77                         state in response to carrier changes
78
79 2008-10-21  Dan Williams  <dcbw@redhat.com>
80
81         * src/NetworkManagerPolicy.c
82                 - (update_etc_hosts): don't leak errors, and ensure that
83                         g_file_set_contents() gets a valid error placeholder (rh #461933)
84
85 2008-10-21  Dan Williams  <dcbw@redhat.com>
86
87         * src/nm-manager.c
88                 - (free_get_settings_info): don't use the DBusGProxy which could be
89                         disposed of by the time the function is called
90                 - (internal_new_connection_cb): save connection scope
91                 - (connection_get_settings_cb): don't replace a connection unless it's
92                         actually different from the existing one; fixes an issue where
93                         killing the settings service wouldn't deactivate an active connection
94                         provided by that settings service, because it was using a connection
95                         that had already been replaced in the system or user hash
96
97 2008-10-21  Dan Williams  <dcbw@redhat.com>
98
99         * src/NetworkManager.c
100                 - (main): keep the DHCP manager around since it's a singleton; fixes
101                         a use-after-free exposed by r4196 since the DHCP manager singleton
102                         variable isn't cleared when the DHCP manager object is finalized
103
104 2008-10-20  Dan Williams  <dcbw@redhat.com>
105
106         * libnm-util/nm-setting-wireless-security.c
107                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
108
109 2008-10-20  Dan Williams  <dcbw@redhat.com>
110
111         * src/supplicant-manager/nm-supplicant-config.c
112                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
113
114 2008-10-20  Dan Williams  <dcbw@redhat.com>
115
116         * src/dhcp-manager/nm-dhcp-manager.c
117                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
118                         manager object already refs it once
119                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
120                         also get cleaned up by nm_dhcp_device_destroy() to prevent
121                         double-frees
122
123 2008-10-20  Dan Williams  <dcbw@redhat.com>
124
125         * src/nm-manager.c
126                 - (initial_get_connections): use private dbus manager, don't keep
127                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
128                         manager object.
129
130 2008-10-18  Dan Williams  <dcbw@redhat.com>
131
132         * libnm-glib/nm-settings.c
133           libnm-glib/nm-settings.h
134                 - Rename the "get_secrets" virtual function "service_get_secrets" to
135                         clarify when it's used; NMExportedConnetion is a base-class for both
136                         the client and service side, which is sort of confusing, and
137                         get_secrets only makes sense on the service side.
138
139         * libnm-glib/nm-dbus-connection.c
140                 - (get_secrets): remove, unused, and clients need to do extra work to
141                         get secrets anyway since the call can block on the remote side
142
143         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
144           system-settings/plugins/keyfile/nm-keyfile-connection.c
145                 - Fix up for get_secrets -> service_get_secrets
146
147 2008-10-16  Dan Williams  <dcbw@redhat.com>
148
149         * src/nm-device-wifi.c
150                 - (constructor): correctly determine encryption capabilities
151
152 2008-10-15  Dan Williams  <dcbw@redhat.com>
153
154         * src/nm-device-wifi.c
155                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
156                         (Johannes Berg)
157
158 2008-10-15  Dan Williams  <dcbw@redhat.com>
159
160         * src/NetworkManagerSystem.c
161                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
162                         if the ip4_dest is in a smaller subnet contained within a subnet
163                         the machine is currently on, the destination is in the same subnet
164                 - (nm_system_device_set_ip4_route): move subnet checks to callers
165                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
166                         subnet as the parent device, and if so, don't add the direct
167                         host route via the parent device's gateway (bgo #481620)
168                 - (nm_system_apply_ip4_config): check whether the route to be added
169                         is contained within a subnet the device is already on
170
171 2008-10-11  Dan Williams  <dcbw@redhat.com>
172
173         * include/NetworkManager.h
174           introspection/nm-device.xml
175           include/NetworkManagerVPN.h
176                 - Add a few more state reasons for the device deactivated state
177
178         * src/nm-device-interface.c
179           src/nm-device-interface.h
180                 - (nm_device_interface_deactivate): add a 'reason' argument
181
182         * src/nm-device.c
183           src/nm-device.h
184                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
185                 - (nm_device_state_changed): pass the state change reason to
186                         nm_device_take_down()
187                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
188                         to the state change function
189
190         * src/nm-manager.c
191           src/nm-manager.h
192                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
193                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
194                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
195                         something reasonable along to VPN deactivation
196
197         * src/vpn-manager/nm-vpn-manager.c
198           src/vpn-manager/nm-vpn-manager.h
199                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
200                         pass that along to nm_vpn_connection_disconnect()
201
202 2008-10-11  Dan Williams  <dcbw@redhat.com>
203
204         * src/nm-device-wifi.c
205                 - (can_scan): remove old madwifi hack for not scanning while connected
206
207 2008-10-11  Dan Williams  <dcbw@redhat.com>
208
209         Add support for VPN subnet gateways (bgo #549196)
210
211         * include/NetworkManager.h
212                 - Add key for internal VPN subnet gateway
213
214         * src/vpn-manager/nm-vpn-connection.c
215                 - (ip_address_to_string): return a const from a static buffer so we
216                         don't leak a lot of strings
217                 - (print_vpn_config): print internal VPN gateway as well
218                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
219                         VPN service too
220                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
221
222         * src/NetworkManagerSystem.c
223           src/NetworkManagerSystem.h
224                 - (nm_system_device_replace_default_ip4_route): split into two, one for
225                         VPN connections and one for normal devices
226                 - (replace_default_ip4_route): break out route stuff into its own function
227                 - (nm_system_replace_default_ip4_route_vpn,
228                    nm_system_replace_default_ip4_route): simplify by having two cases,
229                         one for VPNs and one for normal devices
230
231         * src/NetworkManagerPolicy.c
232                 - (update_routing_and_dns): simplify, use split default route replacement
233                         functions
234
235 2008-10-10  Dan Williams  <dcbw@redhat.com>
236
237         Rework default route handling to consolidate decisions in the policy,
238         and to take active VPN connections into account when changing the default
239         route (bgo #545912)
240
241         * src/NetworkManager.c
242                 - (main): pass the vpn_manager to the policy so it knows about active
243                         VPN connections; clean up the named manager which wasn't done before
244
245         * src/NetworkManagerPolicy.c
246           src/NetworkManagerPolicy.h
247                 - (nm_policy_new): get a clue about the vpn_manager
248                 - (update_default_route): remove, fold into update_routing_and_dns()
249                 - (update_routing_and_dns): handle active VPN connections too; an
250                         active VPN connection becomes the default route if it does not have
251                         server-specified or user-specified custom routes.  Otherwise, the
252                         best active device gets the default route
253                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
254                    nm_policy_destroy): track VPN connection activation and deactivation
255                         and update the default route when appropriate
256
257         * src/NetworkManagerSystem.c
258           src/NetworkManagerSystem.h
259                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
260                         in the VPN connection itself
261                 - (nm_system_vpn_device_set_from_ip4_config,
262                    nm_system_device_set_from_ip4_config): merge together to make
263                         nm_system_apply_ip4_config()
264                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
265                         via the parent device
266                 - (nm_system_apply_ip4_config): simplify
267                 - (add_ip4_route_to_gateway): new function; add a direct route to the
268                         gateway if needed
269                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
270                         route stuff out into add_ip4_route_to_gateway() for clarity
271
272         * src/nm-device.c
273                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
274
275         * src/vpn-manager/nm-vpn-connection.c
276           src/vpn-manager/nm-vpn-connection.h
277                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
278                    nm_vpn_connection_get_parent_device): add
279                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
280                         device explicit
281                 - (connection_state_changed): update the named manager now that
282                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
283                         useful on errors
284
285         * src/vpn-manager/nm-vpn-manager.c
286           src/vpn-manager/nm-vpn-manager.h
287                 - Add a 'connection-activated' signal
288                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
289                         policy to find out about active VPN connections
290
291 2008-10-10  Tambet Ingo  <tambet@gmail.com>
292
293         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
294         a daemon to prevent NM logging spew on console on startup and shutdown (due
295         to dependency loop between NM and syslog).
296
297 2008-10-10  Alexander Sack  <asac@ubuntu.com>
298
299         Implement managed mode. We bind devices configured in /etc/network/interfaces
300         to their connections by updating wired/wireless setting with the
301         mac address of the device.
302
303         * system-settings/plugins/ifupdown/plugin.c
304                 - (get_net_address_for_udi): implement function to retrieve MAC
305                         address of udi from hal in GByteArray format
306                 - (bind_device_to_connection): bind mac address of device to
307                         wired/wireless system connection
308                 - (hal_device_added_cb): call bind_device_to_connection for
309                         system connections with a matching interface.name
310                 - (hal_device_added_cb): ensure that all code paths
311                         properly free the "iface" string.
312
313 2008-10-10  Alexander Sack  <asac@ubuntu.com>
314
315         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
316         mode of the ifupdown system config plugin.
317
318         * system-settings/plugins/ifupdown/plugin.c
319                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
320                         private unmanage_well_known state field accordingly
321
322 2008-10-10  Alexander Sack  <asac@ubuntu.com>
323
324         Implement unmanaged mode that will prevent all devices in the
325         well_known_udis set from being touched by NetworkManager
326
327         * system-settings/plugins/ifupdown/plugin.c
328                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
329                         unmanage_well_known field used to turn on/off unmanaged
330                         mode
331                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
332                         signal when well_known_udis get added/removed
333                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
334                         if we are in unmanaged mode
335
336 2008-10-10  Alexander Sack  <asac@ubuntu.com>
337
338         Add support to track network devices that have a configuration
339         with a matching interface.name in /etc/network/interfaces
340
341         * system-settings/plugins/ifupdown/plugin.c
342                 - (typedef struct SCPluginIfupdownPrivate): add hash table
343                         to track |well_known_udis|
344                 - (get_iface_for_udi): helper function to get interface.name
345                         for a udi
346                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
347                         that add and remove devices to and from the well_known_udis
348                         set depending on whether their |interface.name| matches
349                         any interface definition in /etc/network/interfaces
350                 - (SCPluginIfupdown_init): connect callbacks from above with
351                         hal_mgr and setup well_known_udis hashtable
352                 - (GObject__dispose): destroy well_known_udis hashtable
353                 - (hal_device_added_cb2): implement wrapper callback with GFunc
354                         signature. user_data is supposed to be a triple (hal_mgr,
355                         config and devtype)
356                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
357                         startup and call hal_device_added_cb2
358
359 2008-10-10  Alexander Sack  <asac@ubuntu.com>
360
361         Remove implementation for not used NMSystemConfigInterface callback functions
362         in ifupdown plugin
363
364         * system-settings/plugins/ifupdown/plugin.c
365                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
366                 - (SCPluginIfupdown_connection_added): removed
367
368 2008-10-08  Dan Williams  <dcbw@redhat.com>
369
370         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
371
372         * src/NetworkManagerUtils.c
373                 - (nm_utils_call_dispatcher): add a 'hostname' action
374
375         * src/NetworkManagerPolicy.c
376                 - (set_system_hostname): dispatch hostname changes
377
378         * callouts/nm-dispatcher-action.c
379                 - (nm_dispatcher_action): handle 'hostname' actions
380
381 2008-10-08  Dan Williams  <dcbw@redhat.com>
382
383         * src/NetworkManagerSystem.c
384                 - (find_route): ref the route so it doesn't get destroyed when the cache
385                         is cleared
386                 - (nm_system_device_set_priority): unref the route here after it's done
387                         being used
388
389 2008-10-08  Dan Williams  <dcbw@redhat.com>
390
391         * src/nm-serial-device.c
392                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
393
394 2008-10-08  Tambet Ingo  <tambet@gmail.com>
395
396         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
397         connection with new settings before saving it.
398
399 2008-10-06  Dan Williams  <dcbw@redhat.com>
400
401         * src/nm-ip4-config.c
402           src/nm-ip4-config.h
403                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
404
405         * src/nm-device-interface.c
406                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
407                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
408                         by using '/' for the object path
409
410         * src/nm-device.c
411                 - (src/nm-device.c): marshal missing/unexported ip4-config through
412                         dbus as '/' since dbus-glib can't handle NULL objects nor can
413                         dbus handle NULL object paths
414
415 2008-10-03  Alexander Sack  <asac@ubuntu.com>
416
417         Implement system hostname support for debian/ubuntu
418
419         * system-settings/plugins/ifupdown/plugin.c
420                 - (GObject__get_property): extend announced capabilities; add
421                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
422                 - (GObject__set_property,write_system_hostname): implement
423                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
424                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
425                    update_system_hostname, get_hostname):
426                         implement hostname property that watches and
427                         parses /etc/hostname
428
429 2008-10-03  Alexander Sack  <asac@ubuntu.com>
430
431         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
432           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
433           system-settings/plugins/ifcfg-fedora/Makefile.am
434           system-settings/src/nm-inotify-helper.c
435           system-settings/src/nm-inotify-helper.h
436           src/Makefile.am
437                 - Move ifcfg-fedora inotify helpers to the system settings service so
438                         they are available to all plugins
439
440 2008-10-03  Alexander Sack  <asac@ubuntu.com>
441
442         Implement support for wep-tx-keyidx in ifupdown system
443         config plugin.
444
445         * system-settings/plugins/ifupdown/parser.c
446                 - (update_wireless_security_setting_from_if_block): introduce
447                         free_type_mapping func table; rename a few local
448                         variables to improve readability; add wpa security mapping
449                         for wep-tx-keyidx property
450                 - (string_to_gpointerint): new function used for the auto_type_mapping
451                         of new wep-tx-keyidx property
452                 - (slist_free_all): free func used for mapped slist types
453
454 2008-10-03  Alexander Sack  <asac@ubuntu.com>
455
456         * system-settings/src/main.c:
457                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
458                         always used as the hash key; fixes a crash when removing wired
459                         devices
460
461 2008-10-02  Dan Williams  <dcbw@redhat.com>
462
463         * src/nm-gsm-device.c
464                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
465                         pass the required GSM secret along via user_data rather than keeping
466                         it around in the private data where it sometimes didn't get cleared
467                 - (real_get_ppp_name): implement using the GSM username
468
469 2008-10-02  Dan Williams  <dcbw@redhat.com>
470
471         * src/ppp-manager/nm-ppp-manager.c
472           src/ppp-manager/nm-ppp-manager.h
473                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
474                         the settings daemon for completely new ones
475                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
476                         local PPP peer name; allow PPP debuging by launching NM with
477                         the environment variable NM_PPP_DEBUG defined
478                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
479                         create_pppd_cmd_line()
480
481         * src/nm-serial-device.c
482           src/nm-serial-device.h
483                 - New 'get_ppp_name' function for subclasses to implement to return the
484                         local PPP peer name
485                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
486                         and pass that name to the PPP manager
487
488         * src/nm-device-ethernet.c
489                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
490                         the local peer name
491
492         * src/nm-cdma-device.c
493                 - (real_get_ppp_name): implement using the CDMA username
494
495 2008-10-02  Dan Williams  <dcbw@redhat.com>
496
497         Patch from Alexander Sack <asac ubuntu com>
498
499         * system-settings/plugins/ifupdown/parser.c
500                 - Implement more graceful ip4 config parsing for cases where
501                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
502                   by using default values
503
504 2008-10-02  Dan Williams  <dcbw@redhat.com>
505
506         * src/NetworkManagerPolicy.c
507                 - (device_state_changed): when marking a connection invalid, clear its
508                         secrets too so that fresh secrets get requested the next time
509
510 2008-10-01  Dan Williams  <dcbw@redhat.com>
511
512         * system-settings/src/dbus-settings.c
513                 - (nm_sysconfig_settings_init): cache system hostname on startup as
514                         a fallback if no plugin provides a hostname
515                 - (get_property): fall back to cached hostname if no plugin provides
516                         a hostname
517
518 2008-10-01  Dan Williams  <dcbw@redhat.com>
519
520         Fix setting value comparison issue that caused some settings to look the
521         same when they were really different (rh #464417)
522
523         * libnm-util/nm-param-spec-specialized.c
524                 - (type_is_fixed_size): return fundamental size of the fixed type too
525                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
526                         in the comparison so that the _entire_ fixed type collection gets
527                         compared rather than just the first 'len1' bytes
528
529 2008-09-30  Dan Williams  <dcbw@redhat.com>
530
531         * src/NetworkManagerPolicy.c
532                 - (lookup_thread_worker): don't store the idle handler ID becuase the
533                         idle handler could have already run and freed the LookupThread
534                         structure
535
536 2008-09-30  Tambet Ingo  <tambet@gmail.com>
537
538         * src/nm-device.c (nm_device_get_priority): Implement.
539         (nm_device_set_ip4_config): Send the device priority to system ip4 
540         config setter.
541
542         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
543         Add priority argument and if it's >= 0, set the priority of the network
544         route added automatically by netlink (or kernel?).
545         (nm_system_device_set_priority): Implement.
546
547         * src/NetworkManagerPolicy.c (get_best_device): Use 
548         nm_device_get_priority() instead of home-grown version. Revert the
549         meaning, best priority is the lowest one.
550
551 2008-09-29  Dan Williams  <dcbw@redhat.com>
552
553         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
554         when it returns EAGAIN (rh #362421)
555
556         * src/nm-device-wifi.c
557                 - (wireless_get_range): try GIWRANGE a few times until the card responds
558                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
559
560 2008-09-28  Dan Williams  <dcbw@redhat.com>
561
562         * src/nm-serial-device.c
563           src/nm-serial-device.h
564                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
565                         cleaned at the right times when subclasses close the serial port too
566                 - (nm_serial_device_send_command): use a default send delay; don't
567                         spin forever on EAGAIN
568                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
569                         remove, no longer used
570                 - (find_response): return the matched response if any
571                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
572                         while doing so
573                 - (wait_for_reply_done): pass the matched response to the callback
574                 - (wait_for_reply_got_data): save the matched response; simplify timeout
575                         handling
576                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
577                         const since they never get modified
578                 - (cleanup_device): split out common cleanup stuff to a new function
579                 - (real_deactivate_quickly, finalize): use cleanup_device()
580
581         * src/nm-gsm-device.c
582                 - (modem_get_reply): remove, unused
583                 - (set_apn): give the card a bit more time to respond
584                 - (manual_registration_again, schedule_manual_registration_again,
585                    manual_registration_response, manual_registration): handle manual
586                         registration timeouts better by retrying registration a few times
587                         because cards are a bit slow after CFUN=1
588                 - (automatic_registration_get_network, get_network_response): use
589                         modem_wait_for_reply() because it interacts better with the serial
590                         buffer and does more intelligent matching; need to wait for 'OK'
591                         rather than just matching terminators
592                 - (schedule_automatic_registration_again,
593                    automatic_registration_response, automatic_registration): retry
594                         registration a few times on timeout or "searching" because cards
595                         take a bit to find a network after being powered up with CFUN=1
596                 - (power_up_response, power_up, init_full_done, enter_pin,
597                    check_pin_done): power up the card with CFUN=1 before trying to
598                         register with the network
599                 - (init_modem_full, init_modem): use more standard 3G init strings
600
601         * src/nm-hso-gsm-device.c
602                 - (modem_get_reply): remove, unused
603                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
604                         modem_wait_for_reply() to match actual responses instead of single
605                         termination characters; it doesn't leave stuff in the serial buffer
606                         that might confuse later calls
607                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
608                         to ensure that the call is really disconnected and not leave extra
609                         stuff in the serial buffer
610
611         * src/nm-cdma-device.c
612                 - (power_up_response, power_up, init_done): try Sierra-style modem
613                         power up before attempting to connect
614
615 2008-09-27  Dan Williams  <dcbw@redhat.com>
616
617         * libnm-util/nm-setting-gsm.c
618                 - (verify): verify GSM network ID
619
620 2008-09-25  Dan Williams  <dcbw@redhat.com>
621
622         * libnm-util/nm-setting-gsm.c
623           libnm-util/nm-setting-gsm.h
624                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
625                         technology terms (bgo #551361)
626
627 2008-09-25  Dan Williams  <dcbw@redhat.com>
628
629         Fix bgo #549401 (inspired by patch from Alexander Sack)
630
631         * src/nm-device-ethernet.c
632                 - (finish_supplicant_task): clean up scheduled tasks and free memory
633                 - (remove_supplicant_interface_error_handler): remove the supplicant
634                         error idle callback too
635                 - (supplicant_interface_release): rename from supplicant_interface_clean
636                         to match nm-device-wifi.c; clean up supplicant interface-related
637                         state tasks when the supplicant interface is disposed of
638                 - (schedule_state_handler): add scheduled tasks to a list so they can
639                         be cleaned up later
640                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
641                    supplicant_iface_connection_state_cb_handler): use
642                         finish_supplicant_task() to clean up each completed task
643                 - (supplicant_iface_connection_error_cb_handler,
644                    supplicant_connection_timeout_cb): clear source id when the task is
645                         complete
646                 - (supplicant_iface_connection_error_cb): save scheduled task id for
647                         later cleanup
648                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
649                         tasks
650
651         * src/nm-device-wifi.c
652                 - (finish_supplicant_task): clean up scheduled tasks and free memory
653                 - (remove_supplicant_interface_error_handler): remove the supplicant
654                         error idle callback too
655                 - (supplicant_interface_release): clean up supplicant interface-related
656                         state tasks when the supplicant interface is disposed of
657                 - (schedule_state_handler): add scheduled tasks to a list so they can
658                         be cleaned up later
659                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
660                    supplicant_iface_connection_state_cb_handler): use
661                         finish_supplicant_task() to clean up each completed task
662                 - (supplicant_iface_connection_error_cb_handler): clear source id when
663                         the task is complete
664                 - (supplicant_iface_connection_error_cb): save scheduled task id for
665                         later cleanup
666                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
667
668 2008-09-24  Tambet Ingo  <tambet@gmail.com>
669
670         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
671         method and get/set hostname property.
672
673 2008-09-24  Tambet Ingo  <tambet@gmail.com>
674
675         * src/supplicant-manager/nm-supplicant-interface.c
676         (nm_supplicant_interface_disconnect): Don't increment the reference 
677         count when disconnecting. The problem is on shutdown, when the replies
678         to these commands do not arrive before NM exits, resulting on never
679         calling supplicant interface's dispose(), which removes the interface
680         from supplicant.
681
682 2008-09-24  Tambet Ingo  <tambet@gmail.com>
683
684         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
685         all the public function arguments.
686
687 2008-09-22  Tambet Ingo  <tambet@gmail.com>
688
689         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
690         "Failure" signal from VPN plugins, store the failure reason, and
691         use it when the state is changed to failure.
692
693         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
694         description.
695
696         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
697         reason to the end of the list to not break the API.
698         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
699         so it can be shared by plugins and daemon.
700
701 2008-09-18  Dan Williams  <dcbw@redhat.com>
702
703         Patch from Alexander Sack <asac@ubuntu.com>
704
705         * configure.in
706           system-settings/plugins/Makefile.am
707           system-settings/plugins/ifupdown/Makefile.am
708           system-settings/plugins/ifupdown/interface_parser.c
709           system-settings/plugins/ifupdown/interface_parser.h
710           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
711           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
712           system-settings/plugins/ifupdown/parser.c
713           system-settings/plugins/ifupdown/parser.h
714           system-settings/plugins/ifupdown/plugin.c
715           system-settings/plugins/ifupdown/plugin.h
716                 - Implement a Debian/Ubuntu legacy network configuration plugin
717                         (gnome.org #551941)
718
719 2008-09-18  Dan Williams  <dcbw@redhat.com>
720
721         Implement support for honoring configured and automatic hostnames, and for
722         setting the configured hostname.
723
724         * introspection/nm-ip4-config.xml
725           src/nm-ip4-config.c
726           src/nm-ip4-config.h
727           src/dhcp-manager/nm-dhcp-manager.c
728                 - Remove useless hostname property; it's not really part of the IPv4
729                         config
730
731         * introspection/nm-settings-system.xml
732           libnm-glib/nm-dbus-settings-system.c
733           libnm-glib/nm-dbus-settings-system.h
734                 - Add SetHostname() call to system settings D-Bus interface
735                 - Add Hostname property to system settings D-Bus interface
736                 - (nm_dbus_settings_system_save_hostname,
737                    nm_dbus_settings_system_get_hostname): implement
738
739         * src/nm-device.c
740           src/nm-device.h
741                 - (nm_device_get_dhcp4_config): implement
742
743         * src/nm-manager.c
744           src/nm-manager.h
745                 - Fetch and track system settings service hostname changes, and proxy
746                         the changes via a GObject property of the manager
747
748         * system-settings/src/nm-system-config-interface.c
749           system-settings/src/nm-system-config-interface.h
750                 - Replace nm_system_config_interface_supports_add() with a capabilities
751                         bitfield
752
753         * system-settings/src/nm-system-config-error.c
754           system-settings/src/nm-system-config-error.h
755                 - Add additional errors
756
757         * system-settings/src/dbus-settings.c
758           system-settings/src/dbus-settings.h
759                 - (get_property, nm_sysconfig_settings_class_init): add hostname
760                         property; first plugin returning a hostname wins
761                 - (impl_settings_add_connection): use plugin capabilities instead of
762                         nm_system_config_interface_supports_add()
763                 - (impl_settings_save_hostname): implement hostname saving
764
765         * src/NetworkManagerPolicy.c
766                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
767                    lookup_thread_die): implement an asynchronous hostname lookup thread
768                         which given an IPv4 address tries to look up the hostname for that
769                         address with reverse DNS
770                 - (get_best_device): split out best device code from
771                         update_routing_and_dns()
772                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
773                         to preserve the 127.0.0.1 reverse mapping that so many things require
774                 - (set_system_hostname): set a given hostname
775                 - (update_system_hostname): implement hostname policy; a configured
776                         hostname (from the system settings service) is used if available,
777                         otherwise an automatically determined hostname from DHCP, VPN, etc.
778                         If there was no automatically determined hostname, reverse DNS of
779                         the best device's IP address will be used, and as a last resort the
780                         hostname 'localhost.localdomain' is set.
781                 - (update_routing_and_dns): use get_best_device(); update the system
782                         hostname when the network config changes
783                 - (hostname_changed): update system hostname if the system settings
784                         service signals a hostname change
785                 - (nm_policy_new): list for system settings service hostname changes
786                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
787                         gets told to die
788
789         * system-settings/plugins/keyfile/plugin.c
790           system-settings/plugins/ifcfg-suse/plugin.c
791                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
792                         capabilities properties
793
794         * system-settings/plugins/ifcfg-fedora/shvar.c
795                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
796                         writes out /etc/sysconfig/network now
797
798         * system-settings/plugins/ifcfg-fedora/plugin.c
799                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
800                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
801                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
802                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
803                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
804                         hostname get/set and capabilities get
805
806 2008-09-18  Dan Williams  <dcbw@redhat.com>
807
808         * libnm-util/nm-setting-wireless.c
809                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
810                         group ciphers if the wireless-security setting explicitly specified
811                         them, effectively making the default be "all ciphers"  (idea from
812                         Alexander Sack)
813
814 2008-09-15  Dan Williams  <dcbw@redhat.com>
815
816         Patch from Alexander Sack <asac@ubuntu.com>
817
818         * src/named-manager/nm-named-manager.c
819                 - (dispatch_resolvconf): respect resolvconf exit code
820
821 2008-09-12  Tambet Ingo  <tambet@gmail.com>
822
823         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
824         again. Add some debugging.
825
826 2008-09-11  Dan Williams  <dcbw@redhat.com>
827
828         * system-settings/plugins/keyfile/plugin.c
829                 - (update_connection_settings): update connection manually, since
830                         nm_exported_connection_update() does authentication
831                 - (dir_changed): update_connection_settings() doesn't need to return
832                         an error
833
834 2008-09-09  Dan Williams  <dcbw@redhat.com>
835
836         * libnm-glib/nm-vpn-plugin-ui-interface.c
837           libnm-glib/nm-vpn-plugin-ui-interface.h
838           libnm-glib/libnm_glib_vpn.ver
839                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
840                         should clean up resources related to the connection (like keyring
841                         secrets)
842                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
843                         should save user-scope secrets (like to the keyring)
844
845 2008-09-08  Dan Williams  <dcbw@redhat.com>
846
847         Patch from Alexander Sack <asac@ubuntu.com>
848
849         * libnm-util/crypto_gnutls.c
850           libnm-util/crypto_nss.c
851                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
852
853         * libnm-util/nm-utils.c
854           libnm-util/nm-utils.h
855           libnm-util/libnm-util.ver
856                 - (nm_utils_init): initialize libnm-util
857                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
858
859         * libnm-util/nm-setting-8021x.c
860                 - (nm_setting_802_1x_class_init): init libnm-util when needed
861
862 2008-09-05  Dan Williams  <dcbw@redhat.com>
863
864         Patch from Roy Marples <roy@marples.name> and others
865
866         * configure.in
867           src/named-manager/nm-named-manager.c
868                 - Add support for resolvconf; use --with-resolvconf at configure time
869                         to enable it
870
871 2008-09-05  Dan Williams  <dcbw@redhat.com>
872
873         * libnm-util/crypto_nss.c
874           libnm-util/crypto_gnutls.c
875           libnm-util/crypto.h
876                 - (crypto_init): return error when init fails
877
878 2008-09-05  Dan Williams  <dcbw@redhat.com>
879
880         * libnm-glib/nm-device-wifi.c
881                 - (access_point_removed_proxy): clean up the active access point too
882                         just in case the active ap changed signal didn't come through yet
883                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
884
885 2008-09-05  Dan Williams  <dcbw@redhat.com>
886
887         * libnm-glib/nm-client.c
888                 - (constructor): get initial state after we know whether NM is running
889                         or not
890
891 2008-09-05  Dan Williams  <dcbw@redhat.com>
892
893         * libnm-glib/nm-ip4-config.c
894           libnm-glib/nm-dhcp4-config.c
895                 - (finalize): clean up the DBusGProxy
896
897 2008-09-04  Dan Williams  <dcbw@redhat.com>
898
899         * src/nm-ip4-config.c
900           src/nm-ip4-config.h
901                 - (nm_ip4_config_new): don't export over D-Bus here
902                 - (nm_ip4_config_export): new function; export the config over D-Bus
903                 - (nm_ip4_config_is_exported): new function
904
905         * src/nm-device.c
906                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
907                         objects by balancing the IP4Config constructor; the device holds
908                         a reference to the IP4Config already
909                 - (nm_device_set_ip4_config): export the IP4Config when needed
910
911 2008-09-04  Dan Williams  <dcbw@redhat.com>
912
913         * src/supplicant-manager/nm-supplicant-settings-verify.c
914                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
915
916 2008-09-04  Dan Williams  <dcbw@redhat.com>
917
918         * libnm-util/nm-setting-vpn.c
919           libnm-util/nm-setting-vpn.h
920                 - Split VPN secrets from VPN data so that settings services can actually
921                         figure out that they are secrets and store them accordingly
922
923         * system-settings/plugins/keyfile/nm-keyfile-connection.c
924           system-settings/plugins/keyfile/reader.c
925           system-settings/plugins/keyfile/reader.h
926           system-settings/plugins/keyfile/writer.c
927                 - Store VPN secrets separately from VPN data so that they can be fetched
928                         on demand
929                 - Implement the get_secrets() call so that (a) secrets don't leak out
930                         to unprivileged callers, and (b) secrets can be sent to privileged
931                         callers when needed
932
933         * vpn-daemons/vpnc/src/nm-vpnc-service.c
934                 - Handle split VPN secrets
935
936 2008-08-27  Dan Williams  <dcbw@redhat.com>
937
938         * system-settings/plugins/ifcfg-fedora/reader.c
939                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
940
941 2008-08-27  Dan Williams  <dcbw@redhat.com>
942
943         Ensure zombie children get cleaned up.  To get notifications when children
944         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
945         that requires calling waitpid() yourself if you've removed the child watch
946         handler before the process has actually died, which NM needs to do in a few
947         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
948         cleans up after the child when required.  Should fix problems trying to
949         activate mobile broadband connections after a previous failure.
950
951         * src/dhcp-manager/nm-dhcp-dhclient.c
952           src/dhcp-manager/nm-dhcp-dhcpcd.c
953                 - Use G_SPAWN_DO_NOT_REAP_CHILD
954
955         * src/dhcp-manager/nm-dhcp-manager.c
956                 - (nm_dhcp_device_destroy): ensure child is cleaned up
957                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
958                         block on child quitting, since the non-blocking functionality was
959                         never actually used
960
961         * src/dnsmasq-manager/nm-dnsmasq-manager.c
962                 - (dm_watch_cb): child is already reaped here
963                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
964
965         * src/nm-device.c
966                 - (aipd_cleanup): block until child is dead
967
968         * src/named-manager/nm-named-manager.c
969                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
970                         event bothering to watch the child
971
972         * src/ppp-manager/nm-ppp-manager.c
973                 - (ppp_watch_cb): child is already reaped here
974                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
975
976         * src/vpn-manager/nm-vpn-service.c
977                 - (vpn_service_watch_cb): child is already reaped here
978                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
979                         status of the child is actually tracked
980                 - (ensure_killed, finalize): block until child is dead
981
982 2008-08-26  Dan Williams  <dcbw@redhat.com>
983
984         * system-settings/plugins/keyfile/nm-keyfile-connection.c
985                 - (update): Update filename of the connection if the connection id
986                         was changed
987
988         * system-settings/plugins/keyfile/plugin.c
989                 - (dir_changed): first pass at handling connection renames correctly
990
991         * system-settings/plugins/keyfile/writer.c
992           system-settings/plugins/keyfile/writer.h
993                 - (write_connection): replace '/' with '*' when writing out the filename
994                         from the connection id
995
996 2008-08-26  Dan Williams  <dcbw@redhat.com>
997
998         Add connection UUIDs, since connection names can be changed, and since
999         old-style connection IDs could change over the life of the connection.  The
1000         UUID should be assigned at connection creation time, be stable for a given
1001         connection, and should be unique among all connections for a given settings
1002         service.
1003
1004         * configure.in
1005           libnm-util/Makefile.am
1006                 - Require libuuid
1007
1008         * introspection/nm-exported-connection.xml
1009                 - Remove "GetID" method
1010
1011         * libnm-glib/nm-dbus-connection.c
1012           libnm-glib/nm-settings.c
1013           libnm-glib/nm-settings.h
1014                 - Remove id-related stuff
1015
1016         * libnm-util/nm-utils.c
1017           libnm-util/nm-utils.h
1018           libnm-util/libnm-util.ver
1019                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1020                         utility functions to generate UUIDs
1021
1022         * libnm-util/nm-setting-connection.c
1023           libnm-util/nm-setting-connection.h
1024                 - Add 'uuid' member to the connection setting
1025                 - (verify): require valid 'uuid' for a valid connection
1026
1027         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1028           system-settings/plugins/ifcfg-fedora/reader.c
1029           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1030           system-settings/plugins/ifcfg-suse/parser.c
1031           system-settings/plugins/keyfile/nm-keyfile-connection.c
1032           system-settings/src/main.c
1033                 - Remove id-related stuff
1034                 - Give connections UUIDs where needed
1035
1036 2008-08-25  Dan Williams  <dcbw@redhat.com>
1037
1038         * libnm-util/crypto_gnutls.c
1039           libnm-util/crypto_nss.c
1040                 - (crypto_init, crypto_deinit): refcount init/deinit
1041                 - (crypto_md5_hash): allow NULL salt
1042
1043 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1044
1045         * libnm-glib/Makefile.am
1046           libnm-util/Makefile.am
1047           libnm-glib/libnm_glib.ver
1048           libnm-glib/libnm_glib_vpn.ver
1049           libnm-util/libnm-util.ver
1050                 - Use linker version scripts to control the list of exported 
1051                 symbols. List each exported symbol explicitely.
1052         * libnm-util/Makefile.am
1053                 - Fix compilation of the test-crypto binary. The crypto
1054                 functions are no longer part of the libnm-util API. Add 
1055                 crypto_*.c to test_crypto_SOURCES and link against the correct
1056                 crypto libraries.
1057
1058 2008-08-19  Dan Williams  <dcbw@redhat.com>
1059
1060         * configure.in
1061           test/Makefile.am
1062                 - Don't build test/test-common
1063                 - Remove unused stuff
1064
1065         * test/nm-set-fallback
1066           test/nmtestdevices.c
1067           test/test-common/.cvsignore
1068           test/test-common/Makefile.am
1069           test/test-common/test-common.c
1070           test/test-common/test-common.h
1071                 - delete
1072
1073 2008-08-18  Dan Williams  <dcbw@redhat.com>
1074
1075         * libnm-util/nm-utils.c
1076           libnm-util/nm-utils.h
1077                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1078                         export anything that needs to be converted with this function
1079
1080         * src/dhcp-manager/nm-dhcp-manager.c
1081                 - (garray_to_string): convert a byte array to a UTF-8 string with
1082                         minimal validation; the DHCP client sends it in ASCII anyway
1083                 - (get_option, copy_option): use garray_to_string()
1084
1085 2008-08-18  Dan Williams  <dcbw@redhat.com>
1086
1087         * include/NetworkManager.h
1088           introspection/nm-device.xml
1089                 - Add a "missing firmware" device state reason
1090
1091         * src/NetworkManagerSystem.c
1092           src/NetworkManagerSystem.h
1093                 - (nm_system_device_set_up_down): add a no_firmware argument
1094                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1095                         IFF_UP is ENOENT, that almost always means missing firmware
1096
1097         * src/backends/NetworkManagerGeneric.c
1098           src/nm-device-ethernet.c
1099           src/nm-device-private.h
1100           src/nm-device-wifi.c
1101           src/nm-device.c
1102           src/nm-device.h
1103           src/nm-hso-gsm-device.c
1104           src/vpn-manager/nm-vpn-connection.c
1105                 - Pass no_firmware along; check it where appropriate
1106
1107 2008-08-18  Dan Williams  <dcbw@redhat.com>
1108
1109         Patch from Robert Buchholz <rbu@gentoo.org>
1110
1111         * autogen.sh
1112           configure.in
1113                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1114                         1003.1-1988, allowing for file names longer than 99 characters
1115
1116 2008-08-17  Dan Williams  <dcbw@redhat.com>
1117
1118         * include/NetworkManager.h
1119           introspection/nm-device.xml
1120           src/nm-gsm-device.c
1121                 - Finer-grained GSM registration failure error codes
1122
1123 2008-08-17  Dan Williams  <dcbw@redhat.com>
1124
1125         * callouts/Makefile.am
1126           src/Makefile.am
1127                 - Move dispatcher directory creation to callouts/Makefile.am
1128
1129         * system-settings/plugins/keyfile/Makefile.am
1130                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1131
1132 2008-08-15  Dan Williams  <dcbw@redhat.com>
1133
1134         Do connection sharing in a cleaner manner; all required iptables rules
1135         are now stored in the activation request and pertain only to the device
1136         which is being shared to other computers. (rh #458625)
1137
1138         * src/nm-activation-request.c
1139           src/nm-activation-request.h
1140                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1141                         the activation request which will get torn down automatically when
1142                         the activation request dies
1143                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1144                         is started, and tear them down when sharing is stopped
1145
1146         * src/nm-device.c
1147                 - (start_sharing): start up sharing by doing the required iptables magic
1148                 - (share_init): poke the right bits of the kernel and load the right
1149                         modules for NAT
1150                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1151                         connection if it's a 'shared' connection
1152
1153         * src/NetworkManagerPolicy.c
1154                 - Remove all sharing stuff; done in the device code itself
1155
1156 2008-08-15  Dan Williams  <dcbw@redhat.com>
1157
1158         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1159                 - (create_dm_cmd_line): send the right router address
1160
1161 2008-08-15  Dan Williams  <dcbw@redhat.com>
1162
1163         * src/ppp-manager/nm-ppp-manager.c
1164                 - (pppd_timed_out): ensure timeouts fail the connection
1165
1166 2008-08-14  Dan Williams  <dcbw@redhat.com>
1167
1168         * src/nm-properties-changed-signal.c
1169           src/nm-properties-changed-signal.h
1170                 - Add a property spec flag for "don't export this property" in
1171                         property changed signals
1172
1173         * src/nm-hso-gsm-device.c
1174           src/nm-gsm-device.c
1175           src/nm-cdma-device.c
1176                 - Don't export monitor interface or netdev interface properties
1177
1178 2008-08-14  Dan Williams  <dcbw@redhat.com>
1179
1180         * src/NetworkManagerPolicy.c
1181                 - (update_routing_and_dns): 'hso' devices can be default even if they
1182                         don't have a gateway
1183
1184 2008-08-14  Dan Williams  <dcbw@redhat.com>
1185
1186         * src/nm-device.c
1187                 - (nm_device_deactivate_quickly): tear down activation request after
1188                         calling device-specific deactivation
1189
1190         * src/nm-hso-gsm-device.c
1191                 - (real_deactivate_quickly): terminate connection when deactivating
1192
1193 2008-08-14  Dan Williams  <dcbw@redhat.com>
1194
1195         * src/nm-activation-request.h
1196                 - Add HSO secrets caller
1197
1198         * src/nm-gsm-device.c
1199           src/nm-gsm-device.h
1200                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1201                         something to the callback function
1202                 - (set_apn, set_apn_done): call class dial function, not a static one
1203                 - (nm_gsm_device_class_init): add a class 'dial' function
1204
1205         * src/nm-hal-manager.c
1206                 - (get_hso_netdev): find the hso-driven hardware's net device
1207                 - (modem_device_creator): recognize hso-driven hardware and create the
1208                         right type of device object for it
1209
1210         * src/Makefile.am
1211           src/nm-hso-gsm-device.c
1212           src/nm-hso-gsm-device.h
1213                 - Implement support for devices driven by the 'hso' driver as a subclass
1214                         of NMGsmDevice
1215
1216 2008-08-14  Dan Williams  <dcbw@redhat.com>
1217
1218         * src/NetworkManagerSystem.c
1219                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1220                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1221                         success if the operation really was successful
1222
1223 2008-08-14  Dan Williams  <dcbw@redhat.com>
1224
1225         * src/nm-netlink-monitor.c
1226           src/nm-netlink-monitor.h
1227           src/nm-device-ethernet.c
1228                 - (nm_netlink_monitor_request_status): return an error on failure
1229                 - (constructor): don't segfault on missing error
1230
1231 2008-08-13  Dan Williams  <dcbw@redhat.com>
1232
1233         * callouts/nm-dispatcher-action.c
1234                 - Add IP4 config info to script environment
1235
1236 2008-08-12  Dan Williams  <dcbw@redhat.com>
1237
1238         * src/nm-device.c
1239                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1240                         that want to use DHCP hostnames should use dispatcher scripts
1241                         for that
1242
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                 - Remove nm_system_set_hostname(), no longer used
1256           
1257         * src/backends/Makefile.am
1258           src/backends/shvar.c
1259           src/backends/shvar.h
1260                 - Remove shvar.*; no longer used
1261
1262 2008-08-12  Dan Williams  <dcbw@redhat.com>
1263
1264         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1265         hostname is updated at runtime.  Distros or users who want hostname updates
1266         can use dispatcher scripts to update the hostname if they need it.
1267
1268 2008-08-12  Dan Williams  <dcbw@redhat.com>
1269
1270         * introspection/nm-settings-system.xml
1271           system-settings/src/dbus-settings.c
1272           system-settings/src/dbus-settings.h
1273                 - Add a 'Hostname' property (rw) which represents the configured
1274                         hostname and domain of the system, if any
1275
1276         * system-settings/src/nm-system-config-error.c
1277           system-settings/src/nm-system-config-error.h
1278           system-settings/src/nm-system-config-interface.c
1279           system-settings/src/nm-system-config-interface.h
1280                 - Add a 'hostname' property to the plugin interface
1281                 - Add a method to send updated hostname to plugins to save in their
1282                         backing configuration store
1283
1284         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1285           system-settings/plugins/keyfile/plugin.c
1286           system-settings/plugins/keyfile/writer.c
1287           system-settings/plugins/keyfile/writer.h
1288           system-settings/plugins/ifcfg-suse/plugin.c
1289                 - Add minimal hostname support
1290
1291         * system-settings/plugins/ifcfg-fedora/plugin.c
1292                 - Add support for updating system hostname in /etc/sysconfig/network
1293
1294 2008-08-12  Dan Williams  <dcbw@redhat.com>
1295
1296         * system-settings/plugins/ifcfg-fedora/shvar.c
1297           system-settings/plugins/ifcfg-fedora/shvar.c
1298                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1299
1300 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1301
1302         * Makefile.am: Fix distcheck.
1303
1304 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1305
1306         * libnm-glib/*.c. Document some more.
1307
1308 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1309
1310         Start documenting libnm-glib public API using gtk-doc.
1311
1312         * libnm-glib/nm-serial-device.c: 
1313         * libnm-glib/nm-object.c: 
1314         * libnm-glib/nm-gsm-device.c: 
1315         * libnm-glib/nm-device.c: 
1316         * libnm-glib/nm-device-wifi.c: 
1317         * libnm-glib/nm-device-ethernet.c: 
1318         * libnm-glib/nm-client.c: 
1319         * libnm-glib/nm-cdma-device.c: Document the public API.
1320
1321         * docs/libnm-glib/libnm-glib.types: Implement.
1322
1323         * docs/libnm-glib/Makefile.am: Implement.
1324
1325         * autogen.sh: 
1326         * configure.in: 
1327         * Makefile.am: Add gtk-doc support.
1328
1329 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1330
1331         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1332
1333         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1334         the composite result of all the IP4 configurations and call a distro
1335         specific update_resolv_conf().
1336         (update_resolv_conf): Implement one for directly writing to 
1337         /etc/resolv.conf and one for opensuse to call netconfig.
1338
1339 2008-08-11  Dan Williams  <dcbw@redhat.com>
1340
1341         * src/ppp-manager/nm-ppp-manager.c
1342                 - (impl_ppp_manager_need_secrets): pass interface as required
1343
1344 2008-08-11  Dan Williams  <dcbw@redhat.com>
1345
1346         Merge the vpn-properties setting with the vpn setting since it was pointless
1347         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1348         of string:string (instead of string:variant) so that system settings plugins
1349         can have an easier time dealing with the arbitrary key/value pairs.
1350
1351 2008-08-11  Dan Williams  <dcbw@redhat.com>
1352
1353         * libnm-util/nm-utils.c
1354                 - (nm_utils_register_value_transformations): add value transform for
1355                         a hash table of string:string
1356
1357 2008-08-10  Dan Williams  <dcbw@redhat.com>
1358
1359         * libnm-glib/nm-vpn-plugin.c
1360                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1361                         an idle handler so the Connect reply gets delivered before the
1362                         stop StateChanged signal
1363
1364 2008-08-10  Dan Williams  <dcbw@redhat.com>
1365
1366         * src/nm-ip4-config.c
1367                 - (get_property): use common ip4 address/route conversion functions
1368                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1369                         copy the new route here, not take ownership
1370
1371 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1372
1373         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1374         Update the IP4 setting's method name.
1375
1376 2008-08-07  Dan Williams  <dcbw@redhat.com>
1377
1378         * introspection/nm-ip4-config.xml
1379           libnm-glib/libnm-glib-test.c
1380           libnm-glib/nm-ip4-config.c
1381           libnm-glib/nm-ip4-config.h
1382           src/NetworkManagerSystem.h
1383           src/backends/NetworkManagerArch.c
1384           src/backends/NetworkManagerDebian.c
1385           src/backends/NetworkManagerFrugalware.c
1386           src/backends/NetworkManagerGeneric.c
1387           src/backends/NetworkManagerGeneric.h
1388           src/backends/NetworkManagerGentoo.c
1389           src/backends/NetworkManagerMandriva.c
1390           src/backends/NetworkManagerPaldo.c
1391           src/backends/NetworkManagerRedHat.c
1392           src/backends/NetworkManagerSlackware.c
1393           src/backends/NetworkManagerSuSE.c
1394           src/dhcp-manager/nm-dhcp-manager.c
1395           src/nm-device.c
1396           src/nm-ip4-config.c
1397           src/nm-ip4-config.h
1398                 - Remove NIS logic; should be done from dispatcher scripts instead
1399
1400 2008-08-07  Dan Williams  <dcbw@redhat.com>
1401
1402         * src/dhcp-manager/nm-dhcp-manager.c
1403                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1404                         mis-handling of DHCP responses that returned more than one router
1405                         (found by Grant Williamson)
1406
1407 2008-08-07  Dan Williams  <dcbw@redhat.com>
1408
1409         * callouts/nm-dispatcher-action.c
1410                 - (nm_dispatcher_action): grab device path and create the device; pass
1411                         the device's DHCP4 config to script caller
1412                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1413                         scripts
1414
1415         * libnm-glib/nm-dhcp4-config.c
1416           libnm-glib/nm-dhcp4-config.h
1417                 - (nm_dhcp4_config_get_options): expose
1418                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1419
1420 2008-08-07  Dan Williams  <dcbw@redhat.com>
1421
1422         * include/NetworkManager.h
1423                 - Add the DHCP4Config D-Bus interface
1424
1425         * libnm-glib/Makefile.am
1426           libnm-glib/nm-dhcp4-config.c
1427           libnm-glib/nm-dhcp4-config.h
1428                 - Handle DHCP4 config objects exported by NM over D-Bus
1429
1430         * libnm-glib/nm-device.c
1431           libnm-glib/nm-device.h
1432                 - Add a 'dhcp4-config' property
1433
1434         * libnm-glib/libnm-glib-test.c
1435                 - Print out DHCP4 config for devices
1436                 - Fix some crashes when no connections are active
1437
1438         * src/nm-device-interface.c
1439           src/nm-device.c
1440           src/nm-dhcp4-config.c
1441           src/nm-dhcp4-config.h
1442                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1443                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1444                         doesn't let us do when the property type is G_TYPE_OBJECT
1445
1446 2008-08-07  Dan Williams  <dcbw@redhat.com>
1447
1448         * src/NetworkManager.c
1449           src/NetworkManagerSystem.h
1450           src/backends/NetworkManagerArch.c
1451           src/backends/NetworkManagerDebian.c
1452           src/backends/NetworkManagerFrugalware.c
1453           src/backends/NetworkManagerGeneric.c
1454           src/backends/NetworkManagerGeneric.h
1455           src/backends/NetworkManagerGentoo.c
1456           src/backends/NetworkManagerMandriva.c
1457           src/backends/NetworkManagerPaldo.c
1458           src/backends/NetworkManagerRedHat.c
1459           src/backends/NetworkManagerSlackware.c
1460           src/backends/NetworkManagerSuSE.c
1461                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1462
1463 2008-08-06  Dan Williams  <dcbw@redhat.com>
1464
1465         * libnm-glib/nm-ip4-config.c
1466           libnm-glib/nm-ip4-config.h
1467                 - Add 'routes' property
1468
1469         * libnm-util/nm-setting-vpn.c
1470           libnm-util/nm-setting-vpn.h
1471                 - Remove 'routes' property
1472
1473         * libnm-util/nm-setting-ip4-config.c
1474           libnm-util/nm-setting-ip4-config.h
1475                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1476                 - Add 'ignore-auto-routes' property
1477                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1478                         accomodate route metrics
1479                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1480
1481         * libnm-util/nm-utils.c
1482           libnm-util/nm-utils.h
1483                 - Add helpers for marshalling IP4 routes
1484
1485         * src/NetworkManagerUtils.c
1486                 - (nm_utils_merge_ip4_config): handle property renames and new route
1487                         structure
1488
1489         * src/NetworkManagerSystem.c
1490                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1491                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1492
1493         * src/dhcp-manager/nm-dhcp-manager.c
1494                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1495
1496         * system-settings/plugins/ifcfg-fedora/reader.c
1497           system-settings/plugins/ifcfg-fedora/writer.c
1498                 - Handle routes separately from addresses now that routes have a different
1499                         format
1500
1501         * introspection/nm-ip4-config.xml
1502           src/nm-ip4-config.c
1503           src/nm-ip4-config.h
1504                 - Rename internal routing functions
1505                 - 'static-routes' renamed to 'routes'
1506
1507 2008-08-04  Dan Williams  <dcbw@redhat.com>
1508
1509         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1510
1511         * src/NetworkManager.c
1512           src/nm-manager.c
1513           src/nm-manager.h
1514                 - More explicitly make the NMManager a singleton
1515
1516 2008-08-04  Dan Williams  <dcbw@redhat.com>
1517
1518         * libnm-util/nm-connection.c
1519           libnm-util/nm-connection.h
1520                 - (nm_connection_verify): return error on missing 'connection' setting
1521                         (found by Sjoerd Simons)
1522
1523 2008-08-04  Dan Williams  <dcbw@redhat.com>
1524
1525         Handle multiple concurrent PPP connections.
1526
1527         * src/ppp-manager/nm-ppp-manager.c
1528           src/ppp-manager/nm-ppp-manager.h
1529                 - (constructor): only PPP Manager request bus name once; each
1530                         NMPPPManager object gets a unique object path
1531                 - (nm_ppp_manager_class_init, get_property, set_property,
1532                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1533                         at construct time
1534                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1535                         remove timeout until PPP manager gets an IP4 config
1536                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1537                         the plugin can call back to this specific PPP manager instance
1538
1539         * src/nm-device-ethernet.c
1540           src/nm-serial-device.c
1541                 - Pass parent device in nm_ppp_manager_new()
1542
1543         * src/nm-gsm-device.c
1544           src/nm-cdma-device.c
1545                 - (device_state_changed): don't close serial device on NEED_AUTH
1546                         state changed, that's not a failure case like the rest are
1547
1548         * src/ppp-manager/nm-pppd-plugin.c
1549                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1550                         binds one interface to any pppd process, thus the correct index
1551                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1552                         problems; try harder to get a peer address in spite of pppd
1553                 - (plugin_init): use 'ipparam' as the object path back to our specific
1554                         PPP manager instance
1555
1556 2008-08-04  Dan Williams  <dcbw@redhat.com>
1557
1558         * src/ppp-manager/nm-ppp-manager.c
1559                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1560                         since the GSM and CDMA settings now implement need_secrets, we can
1561                         rely on them to do the right thing.  Where secrets are not required,
1562                         just pass empty strings back to the pppd plugin.
1563                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1564                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1565                         on successful IP4 config receipt
1566
1567 2008-08-04  Dan Williams  <dcbw@redhat.com>
1568
1569         * libnm-util/nm-setting-cdma.c
1570           libnm-util/nm-setting-gsm.c
1571                 - (verify): validate username & password if they exist
1572                 - (need_secrets): if username given, require a password too
1573
1574 2008-08-04  Dan Williams  <dcbw@redhat.com>
1575
1576         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1577                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1578                         manpage says about --listen-address without --interface
1579                         (bgo #546033)
1580
1581 2008-08-01  Dan Williams  <dcbw@redhat.com>
1582
1583         * libnm-glib/nm-device.c
1584                 - (proxy_get_string): util function for querying a HAL property
1585                 - (get_ancestor_device): split out from get_product_and_vendor()
1586                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1587                         from PCI devices by querying subsys properties
1588                 - (nm_device_update_description): simplify
1589
1590 2008-08-01  Dan Williams  <dcbw@redhat.com>
1591
1592         * libnm-util/nm-setting-ip4-config.c
1593           libnm-util/nm-setting-ip4-config.h
1594                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1595                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1596                         settings, and they don't necessarily use DHCP.
1597
1598         * src/NetworkManagerPolicy.c
1599           src/nm-device.c
1600           system-settings/plugins/ifcfg-fedora/reader.c
1601           system-settings/plugins/ifcfg-suse/parser.c
1602                 - Fixup for method changes
1603
1604 2008-07-31  Dan Williams  <dcbw@redhat.com>
1605
1606         * src/nm-activation-request.c
1607           src/vpn-manager/nm-vpn-connection.c
1608                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1609                         itself should be attached to the activation request or the VPN
1610                         connection, not the NMConnection object, since the call is not
1611                         expected to live as long as the NMConnection itself
1612
1613 2008-07-31  Dan Williams  <dcbw@redhat.com>
1614
1615         * src/nm-device-wifi.c
1616                 - (real_act_stage2_config): fix issue where association would continue
1617                         even though secrets were needed; 'goto out' was in wrong scope and
1618                         result of handle_auth_or_fail() should have been dumped directly to
1619                         'ret' to ensure that the association was postponed until secrets
1620                         are available
1621
1622 2008-07-31  Dan Williams  <dcbw@redhat.com>
1623
1624         * system-settings/plugins/ifcfg-fedora/plugin.c
1625           system-settings/plugins/ifcfg-fedora/reader.c
1626                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1627                         valid NM connection
1628
1629 2008-07-29  Dan Williams  <dcbw@redhat.com>
1630
1631         * src/nm-gsm-device.c
1632                 - (automatic_registration_response, automatic_registration): recognize
1633                         denied registration and reorder responses
1634
1635 2008-07-29  Dan Williams  <dcbw@redhat.com>
1636
1637         * src/nm-serial-device.c
1638                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1639                         time(2) is used for current time, which returns seconds, we shouldn't
1640                         be multiplying by 1000.
1641
1642 2008-07-28  Dan Williams  <dcbw@redhat.com>
1643
1644         Patch from Fabrice Bellet <fabrice@bellet.info>
1645
1646         * src/NetworkManagerSystem.c
1647                 - (route_in_same_subnet): mask addresses and compare them so that the
1648                         function actually does what it says it's going to do (rh #456685)
1649
1650 2008-07-27  Dan Williams  <dcbw@redhat.com>
1651
1652         * libnm-util/nm-setting-ip6-config.c
1653                 - (set_property): add missing break that caused routes to be overwritten
1654                         with addresses
1655
1656         * libnm-util/nm-setting-ip6-config.c
1657                 - (verify): validate routes and return GError everywhere on invalid setting
1658                 - (finalize): don't leak routes
1659                 - (set_property): add missing break that caused routes to be overwritten
1660                         with addresses
1661
1662 2008-07-27  Dan Williams  <dcbw@redhat.com>
1663
1664         * libnm-util/*
1665                 - Relicense to LGPLv2+
1666
1667 2008-07-27  Dan Williams  <dcbw@redhat.com>
1668
1669         * system-settings/plugins/ifcfg-fedora/reader.c
1670                 - (make_ip4_setting): fix parsing automatic configs
1671
1672 2008-07-27  Dan Williams  <dcbw@redhat.com>
1673
1674         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1675           src/nm-device.c
1676           src/ppp-manager/nm-ppp-manager.c
1677                 - Ensure child process gets reaped.  The child watch function may be
1678                         removed from the mainloop before the child gets killed, so we have
1679                         to make sure the child is reaped when it's told to die intentionally
1680
1681 2008-07-27  Dan Williams  <dcbw@redhat.com>
1682
1683         Patch from Roy Marples <roy@marples.name>
1684
1685         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1686                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1687
1688 2008-07-27  Dan Williams  <dcbw@redhat.com>
1689
1690         * src/nm-gsm-device.c
1691                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1692                         Huawei devices turn echo back on after CPIN (rh #456770)
1693
1694 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1695
1696         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1697         format argument to g_set_error() call.
1698
1699         * src/backends/interface_parser.[ch]: Remove.
1700
1701         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1702
1703 2008-07-21  Dan Williams  <dcbw@redhat.com>
1704
1705         * src/ppp-manager/nm-ppp-manager.c
1706                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1707                         to prevent pppd from picking up some random local address from an
1708                         interface that doesn't have anything to do with the one we're
1709                         interested in (rh #455348)
1710
1711 2008-07-17  Dan Williams  <dcbw@redhat.com>
1712
1713         * libnm-util/nm-utils.c
1714                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1715                         by locale
1716                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1717                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1718
1719 2008-07-17  Dan Williams  <dcbw@redhat.com>
1720
1721         * introspection/Makefile.am
1722           introspection/nm-device.xml
1723           introspection/nm-dhcp4-config.xml
1724                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1725                         itself
1726         * src/nm-device-interface.c
1727           src/nm-device-interface.h
1728                 - Add the DHCP4Config property
1729
1730         * src/nm-device.c
1731                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1732                         D-Bus clients when it changes
1733
1734         * src/nm-dhcp4-config.c
1735           src/nm-dhcp4-config.h
1736                 - Simple object to store DHCP4 options, export them over D-Bus, and
1737                         notify when they change
1738
1739         * src/dhcp-manager/nm-dhcp-manager.c
1740           src/dhcp-manager/nm-dhcp-manager.h
1741                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1742                         filter server-returned DHCP options into an NMDHCP4Config object
1743
1744 2008-07-16  Dan Williams  <dcbw@redhat.com>
1745
1746         * introspection/nm-device.xml
1747                 - Add device state reasons
1748
1749 2008-07-16  Dan Williams  <dcbw@redhat.com>
1750
1751         Patch from Roy Marples <roy@marples.name>
1752
1753         * configure.in
1754                 - Add --with-dhcp-client option
1755
1756         * src/dhcp-manager/Makefile.am
1757                 - pass DHCP_CLIENT_PATH on compile line
1758
1759         * src/dhcp-manager/nm-dhcp-manager.c
1760           src/dhcp-manager/nm-dhcp-manager.h
1761                 - Genericize for both dhcpcd and dhclient
1762
1763         * src/dhcp-manager/nm-dhcp-dhclient.c
1764                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1765
1766         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1767                 - Implement support for dhcpcd too
1768
1769 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1770
1771         * system-settings/src/nm-system-config-interface.c 
1772         (nm_system_config_interface_supports_add): Implement.
1773         (nm_system_config_interface_add_connection): Return a boolean to notify
1774         of errors.
1775
1776         * system-settings/src/nm-polkit-helpers.c: 
1777         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1778         a separate file.
1779
1780         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1781         Return an error when none of the plugins support add or if addition
1782         failed for some reason.
1783
1784         * system-settings/src/nm-system-config-error.h: 
1785         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1786         here from nm-polkit-helpers.[ch].
1787
1788         * system-settings/src/Makefile.am: Build new files.
1789
1790         * system-settings/plugins/keyfile/reader.c 
1791         (read_array_of_array_of_uint): Make it more general so that it would
1792         work for routes as well.
1793
1794         * system-settings/plugins/keyfile/writer.c
1795         (write_array_of_array_of_uint): Ditto.
1796         Fix the netmask/prefix writing.
1797
1798         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1799         boolean to notify errors.
1800
1801         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1802         Return more specific error.
1803         (delete): Ditto.
1804
1805 2008-07-11  Dan Williams  <dcbw@redhat.com>
1806
1807         Modify the NMDevice::state-changed signal to include the previous state
1808         and reason. Enables the applet to provide more information why device
1809         activation failed.
1810
1811 2008-07-09  Dan Williams  <dcbw@redhat.com>
1812
1813         * callouts/Makefile.am
1814           callouts/nm-avahi-autoipd-action.c
1815           callouts/nm-avahi-autoipd.conf
1816                 - avahi-autoipd callout to send options back to NM
1817
1818         * src/autoip.c
1819           src/autoip.h
1820                 - remove
1821
1822         * src/nm-device.c
1823           src/nm-device-private.h
1824           src/nm-manager.c
1825                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1826                         old custom stuff
1827
1828 2008-07-07  Dan Williams  <dcbw@redhat.com>
1829
1830         * system-settings/plugins/ifcfg-fedora/reader.c
1831                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1832                         handle PREFIX too; clean up
1833
1834 2008-07-07  Dan Williams  <dcbw@redhat.com>
1835
1836         Convert to using IPv4 prefixes instead of netmasks.
1837
1838 2008-07-03  Dan Williams  <dcbw@redhat.com>
1839
1840         * libnm-util/nm-setting-ip4-config.c
1841           libnm-util/nm-setting-ip4-config.h
1842                 - Add properties for DHCP Client Identifier and DHCP Hostname
1843
1844         * src/dhcp-manager/nm-dhcp-manager.c
1845           src/dhcp-manager/nm-dhcp-manager.h
1846                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1847                         setting as an argument to pass on to the dhclient config file
1848                         creation function
1849                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1850                         DHCP is torn down
1851                 - (dhclient_run): punt config file handling to create_dhclient_config()
1852                 - (create_dhclient_config): create an interface-specific dhclient
1853                         config file since there may need to be interface-specific options
1854                         passed to dhclient
1855                 - (merge_dhclient_config): merge normal distro dhclient config file and
1856                         add options from the connection
1857                 - (nm_dhcp_device_new): generate the interface specific dhclient
1858                         config file path once
1859                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1860                         dhclient config file path
1861
1862         * src/nm-device.c
1863                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1864                         DHCP manager when starting DHCP
1865
1866 2008-07-02  Dan Williams  <dcbw@redhat.com>
1867
1868         * libnm-util/nm-setting-8021x.c
1869                 - (verify): allow forcing the PEAP label to 0
1870
1871 2008-07-02  Dan Williams  <dcbw@redhat.com>
1872
1873         * introspection/nm-active-connection.xml
1874           introspection/nm-vpn-connection.xml
1875           libnm-glib/nm-active-connection.c
1876           src/nm-activation-request.c
1877           src/nm-active-connection.h
1878           src/vpn-manager/nm-vpn-connection.c
1879                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1880                         and libnm-glib API since sharing didn't get implemented that way
1881
1882 2008-07-02  Dan Williams  <dcbw@redhat.com>
1883
1884         * src/nm-device-wifi.c
1885                 - (can_scan): don't scan when a shared connection is activated since
1886                         that makes drivers mad (causing disconnects); also NM doesn't need
1887                         to hedge against disconnects by keeping up-to-date network topology
1888                         because the connection originates from the local machine, and thus
1889                         there should be no disconnects
1890
1891 2008-07-01  Dan Williams  <dcbw@redhat.com>
1892
1893         Fix mobile broadband username/password issues.  NM was never requesting
1894         mobile broadband secrets, nor was it passing back the username and password
1895         if it had them.
1896
1897         * marshallers/nm-marshal.list
1898                 - Add some new types for activation request objects
1899
1900         * src/nm-activation-request.c
1901           src/nm-activation-request.h
1902                 - (get_secrets_cb): pass the caller type in the signal
1903                 - (nm_act_request_request_connection_secrets): take a caller type, so
1904                         that GetSecrets() reply handlers know who asked for the secrets in
1905                         the first place; use secret hints too so the settings service can
1906                         figure out exactly what NM wants (ie, PIN or the PPP password)
1907
1908         * src/ppp-manager/nm-ppp-manager.c
1909           src/ppp-manager/nm-ppp-manager.h
1910                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1911                         detect needed secrets when the secret could be blank, like GSM/CDMA
1912                         passwords.  So always ask for secrets, and send a hint as to what
1913                         secret we really want.
1914                 - (nm_ppp_manager_update_secrets): make function more generic by making
1915                         the device specific class figure out the username and password, and
1916                         accept an error argument to return back over D-Bus
1917
1918         * src/nm-device-wifi.c
1919                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1920                         nm_act_request_request_connection_secrets()
1921                 - (real_connection_secrets_updated): update for 'caller' changes
1922
1923         * src/nm-device.c
1924           src/nm-device.h
1925                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1926                         for 'caller' changes
1927
1928         * src/nm-device-ethernet.c
1929                 - (real_connection_secrets_updated): update for 'caller' changes and
1930                         move logic for getting PPPoE username and password here before
1931                         calling nm_ppp_manager_update_secrets()
1932                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1933                         nm_act_request_request_connection_secrets()
1934
1935         * src/nm-cdma-device.c
1936                 - (real_connection_secrets_updated): pass username and password back
1937                         to the PPP manager when required
1938
1939         * src/nm-gsm-device.c
1940                 - (enter_pin): send the required secret name to the settings service
1941                 - (real_connection_secrets_updated): pass username and password back
1942                         to the PPP manager when required
1943
1944 2008-06-30  Dan Williams  <dcbw@redhat.com>
1945
1946         * src/nm-device-wifi.c
1947                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1948
1949 2008-06-30  Dan Williams  <dcbw@redhat.com>
1950
1951         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1952         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1953         priv->supplicant.iface.  When either condition is false, the device should
1954         transition back to UNAVAILABLE because it cannot be used.
1955
1956         * src/nm-device-wifi.c
1957                 - (constructor): cleanup; connect to supplicant manager here since the
1958                         supplicant manager is always around
1959                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1960                         ensure the supplicant manager is in the IDLE state
1961                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1962                         cancel any pending scans too
1963                 - (real_bring_up): don't set up the supplicnat interface here, because
1964                         we need the supplicant interface at times when the device may not
1965                         be "up"
1966                 - (real_take_down): just remove the periodic source
1967                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1968                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1969                         do anything if there's no supplicant interface
1970                 - (cleanup_association_attempt): cleanup
1971                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1972                         the interface enters the READY state; transition to UNAVAILABLE
1973                         state when the interface goes down because the device can't be used
1974                         without a supplicant interface
1975                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1976                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1977                         acquire the supplicant interface and transition to DISCONNECTED
1978                         if the radio isn't killed
1979                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1980                 - (state_changed_cb): release any existing supplicant interface; if the
1981                         radio is enabled then try to acquire a new supplicant interface;
1982                         if the radio is enabled and a supplicant interface has been acquired,
1983                         we can transition to DISCONNECTED
1984                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1985                         don't enable the radio, because HAL probably lied to us about the
1986                         killswitch being off.  If bringing the hardware up worked, then
1987                         try to grab a supplicant interface, and if that was successful,
1988                         transition to DISCONNECTED
1989
1990 2008-06-30  Dan Williams  <dcbw@redhat.com>
1991
1992         * src/supplicant-manager/nm-supplicant-interface.c
1993                 - (request_scan_results, nm_supplicant_interface_dispose,
1994                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1995                         the id of the timeout, not a GSource
1996
1997 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1998
1999         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2000         bunch of typoes introduced by "Patch from David Cantrell 
2001         <dcantrell@redhat.com> and me".
2002
2003 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2004
2005         * src/nm-serial-device.c: 
2006         * src/nm-gsm-device.c: 
2007         * src/nm-cdma-device.c: Move the pending call handling to a common location
2008         in serial device. Handle setting device state to failed in one place as well.
2009
2010 2008-06-29  Dan Williams <dcbw@redhat.com>
2011
2012         * src/nm-hal-manager.c
2013                 - Rework killswitch handling to query killswitch status immediately
2014                         when the first killswitch is added, so that rfkill state is
2015                         known as early as possible
2016                 - Also treat failure of GetPower() as rfkill when the dbus method
2017                         call times out (but not when the HAL callout returns an error)
2018
2019 2008-06-26  Dan Williams <dcbw@redhat.com>
2020
2021         Patch from David Cantrell <dcantrell@redhat.com> and me
2022
2023         * include/nm-dbus-glib-types.h
2024                 - Add IP6 address types
2025
2026         * libnm-util/Makefile.am
2027           libnm-util/nm-setting-ip6-config.c
2028           libnm-util/nm-setting-ip6-config.h
2029                 - Add IP6 settings object
2030
2031         * libnm-util/nm-connection.c
2032                 - (register_default_settings): register ip6 settings object
2033
2034         * libnm-util/nm-utils.c
2035           libnm-util/nm-utils.h
2036                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2037                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2038                         ip6 address conversion functions
2039         
2040 2008-06-26  Dan Williams <dcbw@redhat.com>
2041
2042         Patch from David Cantrell <dcantrell@redhat.com>
2043         
2044         * Use inet_ntop() and inet_pton() everwhere and check for errors
2045
2046 2008-06-26  Dan Williams <dcbw@redhat.com>
2047
2048         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2049
2050 2008-06-26  Dan Williams <dcbw@redhat.com>
2051
2052         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2053
2054         * src/nm-device-wifi.c
2055                 - (link_timeout_cb): don't ignore disconnects due to scanning
2056                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2057                         a longer timeout when scanning; avoids case where supplicant can't
2058                         find the AP and just keeps scanning forever but isn't connected
2059
2060 2008-06-26  Dan Williams <dcbw@redhat.com>
2061
2062         Patch from Michael Biebl <biebl@debian.org>
2063
2064         * Clean up build system stuff
2065
2066 2008-06-23  Christian Persch  <chpe@gnome.org>
2067
2068         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2069         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2070         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2071         (impl_get_object):
2072         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2073         (impl_get_object):
2074         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2075         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2076         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2077         (impl_get_object):
2078         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2079         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2080         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2081         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2082         * vpn-daemons/pptp/properties/vpnui_opt.c:
2083         (vpnui_opt_connect_signals):
2084         * vpn-daemons/pptp/properties/vpnui_opt.h:
2085         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2086         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2087         deprecated gtk type macros. Bug #539325.
2088
2089 2008-06-20  Dan Williams  <dcbw@redhat.com>
2090
2091         * libnm-glib/nm-vpn-plugin-ui-interface.c
2092           libnm-glib/nm-vpn-plugin-ui-interface.h
2093                 - 'validity-changed' -> 'changed' to work better with the connection
2094                         editor.  Plugin UI widgets should emit 'changed' whenever their
2095                         UI values change in a meaningful way.
2096                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2097                         update_connection member now returns validity of the UI widget
2098
2099 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2100
2101         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2102
2103 2008-06-17  Dan Williams  <dcbw@redhat.com>
2104
2105         * libnm-glib/nm-vpn-plugin-ui-interface.c
2106           libnm-glib/nm-vpn-plugin-ui-interface.h
2107                 - Add "desc" property for longer descriptions of the VPN plugin
2108
2109 2008-06-16  Dan Williams  <dcbw@redhat.com>
2110
2111         * configure.in
2112           libnm-glib/libnm_glib_vpn.pc.in
2113                 - add a .pc file for libnm_glib_vpn
2114
2115         * libnm-glib/nm-vpn-plugin-ui-interface.c
2116           libnm-glib/nm-vpn-plugin-ui-interface.h
2117                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2118                         rework it substantially
2119
2120 2008-06-12  Dan Williams  <dcbw@redhat.com>
2121
2122         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2123         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2124         returns a descriptive GError when verification fails.
2125
2126 2008-06-11  Dan Williams  <dcbw@redhat.com>
2127
2128         Patch from Tambet Ingo <tambet@gmail.com>
2129
2130         * libnm-util/nm-setting-gsm.c
2131                 - (verify): validate APN
2132
2133         * src/nm-gsm-device.c
2134                 - (manual_registration_done): start setting APN if needed
2135                 - (set_apn, set_apn_done): set the APN
2136                 - (do_dial): use the APN when dialing
2137
2138 2008-06-11  Dan Williams  <dcbw@redhat.com>
2139
2140         * src/NetworkManagerSystem.c
2141                 - (nm_system_device_set_ip4_route,
2142                    nm_system_device_replace_default_ip4_route): check for the right
2143                         return value from rtnl_route_add() to know when to add a gateway
2144                         route (from Tambet)
2145
2146 2008-06-11  Dan Williams  <dcbw@redhat.com>
2147
2148         * src/NetworkManagerPolicy.c
2149                 - do_ipt_cmd -> do_cmd
2150                 - (sharing_init): use do_cmd() instead of system()
2151
2152 2008-06-10  Dan Williams  <dcbw@redhat.com>
2153
2154         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2155         and use "wifi" everwhere instead.
2156
2157 2008-06-10  Dan Williams  <dcbw@redhat.com>
2158
2159         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2160
2161 2008-06-10  Dan Williams  <dcbw@redhat.com>
2162
2163         Patch from Tambet Ingo <tambet@gmail.com>
2164
2165         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2166                 changes.
2167
2168         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2169                 a signal to emit these changes over dbus.
2170
2171         * src/Makefile.am: Genereate nm-serial-device-glue.
2172
2173         * libnm-glib/nm-serial-device.[ch]: Implement.
2174
2175         * libnm-glib/nm-cdma-device.[ch]
2176           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2177
2178         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2179
2180         * introspection/nm-device-serial.xml: Implement.
2181
2182         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2183
2184         * introspection/Makefile.am: Add nm-device-serial.xml.
2185
2186         * include/NetworkManager.h: Add a DBus interface for serial device.
2187
2188 2008-06-10  Dan Williams  <dcbw@redhat.com>
2189
2190         * configure.in
2191                 - Add TARGET_* define to config.h to distinguish distros
2192
2193         * src/dhcp-manager/nm-dhcp-manager.c
2194                 - (dhclient_run): use distro-specific path for dhclient config file
2195
2196 2008-06-09  Dan Williams  <dcbw@redhat.com>
2197
2198         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2199           src/dnsmasq-manager/nm-dnsmasq-manager.h
2200                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2201                         calculate the addresses passed to dnsmasq instead of hard-coding
2202                         them
2203
2204         * src/nm-device.c
2205                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2206                         IP addresses for shared connections to guard against shared
2207                         connection address collisions
2208                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2209                         error conditions
2210                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2211                         the dnsmasq manager
2212
2213 2008-06-09  Dan Williams  <dcbw@redhat.com>
2214
2215         * src/NetworkManagerPolicy.c
2216                 - (update_routing_and_dns): set the default connection _after_ unsetting
2217                         default on all non-default connections so that two connections can
2218                         never be default at the same time
2219                 - (device_state_changed): start and stop connection sharing when
2220                         needed
2221                 - (active_connection_default_changed): restart or stop sharing when
2222                         the default connection changes to keep shared connections always
2223                         NAT-ed through the default connection
2224                 - (check_sharing): handle activation/deactivation of shared connections
2225                 - (sharing_restart): atom-bomb approach to connection sharing until we
2226                         can use libnl; reinit all sharing when the default connection or
2227                         shared connections change
2228                 - (sharing_init, sharing_stop): evil functions that init and deinit
2229                         iptables
2230
2231 2008-06-09  Dan Williams  <dcbw@redhat.com>
2232
2233         * src/nm-activation-request.c
2234           src/nm-activation-request.h
2235                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2236                    nm_act_request_get_device): new functions to facilitate connection
2237                         sharing
2238
2239 2008-06-09  Dan Williams  <dcbw@redhat.com>
2240
2241         * src/nm-device.c
2242                 - (clear_act_request): unset the 'default' property of the activation
2243                         request when clearing it to ensure the property changed signal gets
2244                         delivered and handled
2245
2246 2008-06-09  Dan Williams  <dcbw@redhat.com>
2247
2248         * libnm-glib/nm-device-802-11-wireless.c
2249                 - (access_point_removed_proxy): actually unref the AP after removing
2250                         it from the device's AP list.  Fixes refcounting bug for APs that
2251                         caused them to get mixed up in the applet's menu.
2252
2253 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2254
2255         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2256         (nm_dhcp_device_destroy): Destroy the device options hash table.
2257
2258 2008-06-06  Dan Williams <dcbw@redhat.com>
2259
2260         * system-settings/src/nm-polkit-helpers.c
2261                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2262                         unref the context if the initialization fails; also avoid spew when
2263                         the error isn't set
2264
2265 2008-06-06  Dan Williams <dcbw@redhat.com>
2266
2267         Patch from Tambet Ingo  <tambet@gmail.com>
2268
2269         * src/NetworkManagerSystem.c
2270           src/NetworkManagerSystem.h
2271                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2272                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2273                 - (nm_system_device_set_ip4_route): clean up
2274                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2275
2276         * src/nm-device.c
2277                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2278
2279         * src/vpn-manager/nm-vpn-connection.c
2280                 - (ip_address_to_string): new function
2281                 - (print_vpn_config): use ip_address_to_string
2282                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2283                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2284
2285         * include/NetworkManagerVPN.h
2286                 - Add 'routes' key
2287
2288 2008-06-05  Dan Williams <dcbw@redhat.com>
2289
2290         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2291
2292         * test/nm-tool.c
2293                 - Show which device is the default device
2294
2295 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2296
2297         Fix memory leaks.
2298
2299         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2300         Free data returned from dbus method call.
2301
2302         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2303         dbus_g_method_get_sender() returns a duplicated string, free it 
2304         when done.
2305         (check_polkit_privileges): Looks like policykit sometimes returns
2306         error and non-null return value, don't leak errors in that case.
2307
2308         * system-settings/src/main.c (find_plugin): Don't leak existing 
2309         plugin names.
2310         (load_stuff): Don't leak device list and list items.
2311         (have_connection_for_device): Don't leak connection list.
2312
2313         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2314         Free the data received from g_keyfile_get_*.
2315
2316         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2317         the key when the security object is updated.
2318
2319         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2320         Free data returned from dbus method call.
2321         (iface_state_cb): Ditto.
2322         (add_network_cb): Ditto.
2323         (nm_supplicant_interface_add_cb): Don't make another copy of already
2324         duplicated object path.
2325         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2326         when done.
2327
2328         * src/supplicant-manager/nm-supplicant-config.c 
2329         (ADD_STRING_LIST_VAL): Fix a memory leak.
2330
2331         * src/nm-manager.c (free_get_settings_info): Free the allocated
2332         memory slice.
2333         (list_connections_cb): Free data returned from dbus method call.
2334         (system_settings_get_unmanaged_devices_cb): Ditto.
2335
2336         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2337
2338         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2339         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2340         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2341         of the GList.
2342
2343         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2344         arguments after the object is created.
2345
2346 2008-06-04  Dan Williams <dcbw@redhat.com>
2347
2348         * libnm-util/Makefile.am
2349                 - Don't distribute nm-param-spec-specialized.h
2350
2351 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2352
2353         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2354
2355         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2356         NMIP4Address, update the getters and setters.
2357
2358         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2359         Use the updated NMIP4Config routes api.
2360
2361         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2362         static routes as well.
2363
2364         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2365         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2366         routes api.
2367
2368 2008-05-30  Dan Williams <dcbw@redhat.com>
2369
2370         * src/named-manager/nm-named-manager.c
2371           src/named-manager/nm-named-manager.h
2372                 - Remove stale/obsolete bits for controlling bind over DBus
2373
2374 2008-05-29  Dan Williams <dcbw@redhat.com>
2375
2376         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2377           src/dnsmasq-manager/nm-dnsmasq-manager.h
2378                 - (nm_dnsmasq_manager_new): move iface argument here
2379                 - (constructor): remove, not needed
2380                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2381                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2382
2383         * src/nm-device.c
2384                 - (real_act_stage4_get_ip4_config,
2385                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2386                         changes
2387
2388 2008-05-29  Dan Williams <dcbw@redhat.com>
2389
2390         * src/nm-device.c
2391                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2392                         something happens to dnsmasq
2393                 - (nm_device_new_ip4_shared_config): new function; create a new
2394                         ip4-config for shared connections.  Shared connections always use a
2395                         fixed static IP address.
2396                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2397                         autoip connections by actually using the returned ip4-config and
2398                         not leaking it
2399                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2400                         connections
2401                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2402                         if its active
2403
2404 2008-05-29  Dan Williams <dcbw@redhat.com>
2405
2406         * src/nm-device-802-11-wireless.c
2407                 - (real_get_best_auto_connection): auto-activate 'shared' method
2408                         connections too
2409
2410 2008-05-29  Dan Williams <dcbw@redhat.com>
2411
2412         * libnm-util/nm-setting-ip4-config.c
2413           libnm-util/nm-setting-ip4-config.h
2414                 - Add a 'shared' method to indicate that this connection should be
2415                         brought up with a DHCP and proxy DNS server to facilitate
2416                         connection sharing.
2417                 - (verify): 'shared' method doesn't allow DNS or searches either
2418
2419 2008-05-29  Dan Williams <dcbw@redhat.com>
2420
2421         * configure.in
2422           src/Makefile.am
2423           src/dnsmasq-manager/Makefile.am
2424           src/dnsmasq-manager/nm-dnsmasq-manager.c
2425           src/dnsmasq-manager/nm-dnsmasq-manager.h
2426                 - Add a dnsmasq daemon manager to facilitate connection sharing
2427
2428 2008-05-29  Dan Williams <dcbw@redhat.com>
2429
2430         * src/nm-device-private.h
2431                 - Remove unused prototypes and clean up
2432
2433         * src/nm-device.c
2434                 - Remove anything related to system_config_data, which is no longer used
2435                 - (nm_device_new_ip4_autoip_config): make static
2436
2437 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2438
2439         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2440         (file_changed): Fix a bug where suse system settings plugin didn't
2441         update the connections automatically when the files changed.
2442
2443 2008-05-28  Dan Williams  <dcbw@redhat.com>
2444
2445         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2446
2447 2008-05-28  Dan Williams  <dcbw@redhat.com>
2448
2449         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2450
2451         * src/NetworkManagerSystem.c
2452                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2453                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2454                         was causing -EINVAL errors since the libnl code actually does flush
2455                         the routes on VPN interfaces now
2456
2457         * src/backends/NetworkManagerArch.c
2458           src/backends/NetworkManagerDebian.c
2459           src/backends/NetworkManagerFrugalware.c
2460           src/backends/NetworkManagerGeneric.c
2461           src/backends/NetworkManagerGentoo.c
2462           src/backends/NetworkManagerMandriva.c
2463           src/backends/NetworkManagerPaldo.c
2464           src/backends/NetworkManagerRedHat.c
2465           src/backends/NetworkManagerSlackware.c
2466           src/backends/NetworkManagerSuSE.c
2467                 - (nm_system_device_flush_ip4_routes,
2468                    nm_system_device_flush_ip4_routes_with_iface): remove
2469
2470 2008-05-28  Dan Williams  <dcbw@redhat.com>
2471
2472         * libnm-util/nm-setting-wireless.c
2473           libnm-util/nm-setting-wireless.h
2474                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2475                         'adhoc-create' property, which when TRUE indicates that NM should
2476                         create this connection as an adhoc wifi network if it's not found
2477                         as an adhoc network during scanning.  Can be used to auto-create
2478                         adhoc networks when used in combination with autoconnect.
2479
2480 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2481
2482         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2483
2484         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2485         checked, it doesn't work on some devices.
2486
2487 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2488
2489         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2490         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2491
2492         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2493         Use inet_aton() everywhere to improve error detection.
2494         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2495         provided.
2496
2497 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2498
2499         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2500         Fix a typo.
2501
2502 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2503
2504         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2505         reference counting issue.
2506
2507 2008-05-23  Dan Williams  <dcbw@redhat.com>
2508
2509         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2510
2511         * src/backends/NetworkManagerGeneric.c
2512                 - (nm_generic_enable_loopback): use libnl
2513
2514 2008-05-23  Dan Williams  <dcbw@redhat.com>
2515
2516         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2517
2518         * src/NetworkManagerSystem.h
2519           src/backends/NetworkManagerArch.c
2520           src/backends/NetworkManagerDebian.c
2521           src/backends/NetworkManagerFrugalware.c
2522           src/backends/NetworkManagerGentoo.c
2523           src/backends/NetworkManagerMandriva.c
2524           src/backends/NetworkManagerPaldo.c
2525           src/backends/NetworkManagerRedHat.c
2526           src/backends/NetworkManagerSlackware.c
2527           src/backends/NetworkManagerSuSE.c
2528                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2529                    nm_system_flush_arp_cache): remove, unused
2530
2531         * src/backends/NetworkManagerGeneric.c
2532           src/backends/NetworkManagerGeneric.h
2533                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2534                    nm_generic_flush_arp_cache): remove, unused
2535
2536 2008-05-23  Dan Williams  <dcbw@redhat.com>
2537
2538         * system-settings/plugins/ifcfg-fedora/reader.c
2539                 - (make_ip4_setting): honor PEERDNS setting
2540
2541 2008-05-23  Dan Williams  <dcbw@redhat.com>
2542
2543         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2544
2545         * src/NetworkManagerSystem.c
2546                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2547                         libnl
2548
2549         * src/backends/NetworkManagerArch.c
2550           src/backends/NetworkManagerDebian.c
2551           src/backends/NetworkManagerFrugalware.c
2552           src/backends/NetworkManagerGentoo.c
2553           src/backends/NetworkManagerMandriva.c
2554           src/backends/NetworkManagerPaldo.c
2555           src/backends/NetworkManagerRedHat.c
2556           src/backends/NetworkManagerSlackware.c
2557           src/backends/NetworkManagerSuSE.c
2558                 - (nm_system_device_flush_ip4_addresses,
2559                    nm_system_device_flush_ip4_addresses_with_iface): remove
2560
2561         * src/backends/NetworkManagerGeneric.c
2562                 - (nm_generic_device_flush_ip4_addresses,
2563                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2564
2565 2008-05-23  Dan Williams  <dcbw@redhat.com>
2566
2567         * src/supplicant-manager/nm-supplicant-settings-verify.c
2568                 - Switch 'bssid' from bytes to keyword type
2569                 - (validate_type_keyword): allow NULL keyword lists
2570
2571         * src/supplicant-manager/nm-supplicant-config.c
2572                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2573                         a byte array to string form, which is what the supplicant expects
2574
2575 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2576
2577         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2578         information received from DHCP.
2579
2580         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2581         to make it possible to ignore the DNS information (both servers and 
2582         searches) returned by DHCP server.
2583
2584         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2585         name servers and searches if "ignore_dhcp_dns" is set.
2586
2587         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2588         (nm_ip4_config_reset_searches): Implement.
2589
2590 2008-05-22  Dan Williams  <dcbw@redhat.com>
2591
2592         Remove anything mDNS related.  This is better done from a distro-specific
2593         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2594         avahi, since avahi can handle interface changes just fine using netlink.
2595
2596         * configure.in
2597                 - Remove --with-mdns-provider
2598
2599         * src/NetworkManagerPolicy.c
2600                 - (global_state_changed): don't restart the mdns provider
2601
2602         * src/NetworkManagerSystem.h
2603           src/backends/NetworkManagerArch.c
2604           src/backends/NetworkManagerDebian.c
2605           src/backends/NetworkManagerFrugalware.c
2606           src/backends/NetworkManagerGentoo.c
2607           src/backends/NetworkManagerMandriva.c
2608           src/backends/NetworkManagerPaldo.c
2609           src/backends/NetworkManagerRedHat.c
2610           src/backends/NetworkManagerSlackware.c
2611           src/backends/NetworkManagerSuSE.c
2612                 - (nm_system_restart_mdns_responder): remove
2613
2614         * src/backends/NetworkManagerGeneric.c
2615           src/backends/NetworkManagerGeneric.h
2616                 - (nm_generic_restart_mdns_responder): remove
2617
2618 2008-05-22  Dan Williams  <dcbw@redhat.com>
2619
2620         * configure.in
2621                 - clean up crypto options; just use --with-crypto=nss or
2622                         --with-crypto=gnutls
2623
2624 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2625
2626         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2627         anymore, do it right away.
2628
2629 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2630
2631         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2632         serial device open when we're not connecting or connected.
2633
2634         * src/nm-cdma-device.c (device_state_changed): Ditto.
2635
2636 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2637
2638         Don't remove all devices on waking up, sync with HAL.
2639
2640         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2641         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2642         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2643
2644 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2645
2646         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2647         If the default gateway is unreachable, add a route to gateway and try
2648         again.
2649
2650 2008-05-20  Dan Williams  <dcbw@redhat.com>
2651
2652         * system-settings/plugins/ifcfg-fedora/reader.c
2653                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2654
2655 2008-05-19  Dan Williams  <dcbw@redhat.com>
2656
2657         * system-settings/plugins/ifcfg-fedora/reader.c
2658                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2659                         if the ifcfg doesn't specify one (rh #446527)
2660
2661 2008-05-19  Dan Williams  <dcbw@redhat.com>
2662
2663         Make the system settings service exit when the bus goes away.  Since it's
2664         a bus-activated service, it's lifetime is limited to the bus that activated
2665         it (rh #444976).
2666
2667         * system-settings/src/Makefile.am
2668           system-settings/src/nm-system-config-hal-manager-private.h
2669                 - Remove nm-system-config-hal-manager-private.h
2670
2671         * system-settings/src/nm-system-config-hal-manager.c
2672                 - (nm_system_config_hal_manager_reinit_dbus,
2673                    nm_system_config_hal_manager_deinit_dbus): remove
2674
2675         * system-settings/src/main.c
2676                 - (dbus_reconnect): remove
2677                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2678                 - (destroy_cb): just quit when the bus goes away
2679                 - (start_dbus_service, dbus_init): simplify
2680                 - (main): destroy the wired devices hash table after destroying
2681                         the HAL manager so we don't have to disconnect signals from the
2682                         HAL manager
2683
2684 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2685
2686         Move crypto functions from nm-applet to libnm-util.
2687
2688         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2689         (nm_setting_802_1x_set_client_cert)
2690         (nm_setting_802_1x_set_phase2_ca_cert)
2691         (nm_setting_802_1x_set_phase2_client_cert)
2692         (nm_setting_802_1x_set_private_key)
2693         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2694         file (or private key and it's password), read the certificate data.
2695
2696         * libnm-util/crypto_nss.c: 
2697         * libnm-util/crypto_gnutls.c: 
2698         * libnm-util/crypto.[ch]: Move here from nm-applet.
2699
2700         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2701
2702         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2703         Imlement WPA-EAP configuration reading from sysconfig.
2704
2705 2008-05-16  Dan Williams  <dcbw@redhat.com>
2706
2707         * src/nm-device-802-11-wireless.c
2708                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2709                         wireless
2710
2711 2008-05-14  Dan Williams  <dcbw@redhat.com>
2712
2713         Fix Linus' bug in rh #134886
2714
2715         * src/nm-device-802-3-ethernet.c
2716                 - (constructor): request initial carrier state
2717
2718         * src/nm-netlink-monitor.c
2719                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2720                         signals after refilling the link cache.  Because the refill is a 
2721                         synchronous operation, the normal message hander won't get called
2722                         since libnl has already consumed the messages.
2723                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2724
2725 2008-05-14  Dan Williams  <dcbw@redhat.com>
2726
2727         * src/NetworkManagerSystem.c
2728                 - (nm_system_device_is_up_with_iface): clean up
2729
2730 2008-05-13  Dan Williams  <dcbw@redhat.com>
2731
2732         Fix refcounting issues over sleep/wake when a VPN connection was active that
2733         caused NM to try registering an object path for a device upon wake that was
2734         the same as an already registered object path.
2735
2736         * src/nm-device.c
2737                 - (nm_device_take_down): properly handle cases where the device is
2738                         no longer active but was just active, and therefore must be
2739                         deactivated.  When a device moves to unmanaged mode, this function
2740                         previously would not deactivate the device, because the state was
2741                         already unmanaged by the time this function was called.
2742
2743         * src/vpn-manager/nm-vpn-connection.c
2744                 - (device_state_changed): properly handle multiple devices states in
2745                         which the device is now deactivated.  Code previously didn't handle
2746                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2747                         UNMANAGED states.
2748
2749 2008-05-13  Dan Williams  <dcbw@redhat.com>
2750
2751         * src/nm-device-private.h
2752           src/nm-device.c
2753                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2754
2755         * src/nm-device-802-11-wireless.c
2756                 - (nm_device_802_11_wireless_set_enabled): take devices up
2757                         and down as appropriate for the rfkill state
2758
2759 2008-05-13  Dan Williams  <dcbw@redhat.com>
2760
2761         * marshallers/nm-marshal.list
2762                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2763
2764         * system-settings/plugins/ifcfg-fedora/Makefile.am
2765           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2766           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2767                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2768                         events.  Solely for use watching ifcfg files to pick up changes
2769                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2770
2771         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2772                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2773                         file contents change
2774                 - (finalize): clean up inotify watches
2775                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2776                         and the connection ifcfg for changes on their hardlinks
2777                 - (files_changed_cb): proxy the changed signal back out to listeners
2778
2779         * system-settings/plugins/ifcfg-fedora/plugin.c
2780                 - (dir_changed): 
2781                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2782                         changes
2783                 - (read_one_connection): connect to change signals on the new connection
2784                 - (dir_changed, connection_changed_handler,
2785                    handle_connection_remove_or_new): break out connection change
2786                         handling and connection new/remove handling so it can be used from
2787                         both the GFileMonitor callback and the NMIfcfgConnection changed
2788                         signals
2789
2790         * system-settings/plugins/ifcfg-fedora/reader.c
2791           system-settings/plugins/ifcfg-fedora/reader.h
2792                 - (connection_from_file): return the keyfile path the connection would use
2793
2794 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2795
2796         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2797         single PolKitContext which is shared by all. PolKitContext::unref leaks
2798         just about everything, including all open file descriptiors and results
2799         in 99% cpu usage when data arrives to any of the fds that don't belong
2800         to any context anymore.
2801
2802 2008-05-12  Dan Williams  <dcbw@redhat.com>
2803
2804         * gfilemonitor/glocaldirectorymonitor.c
2805           gfilemonitor/glocaldirectorymonitor.h
2806                 - (g_local_directory_monitor_constructor): actually subscribe to the
2807                         watch
2808                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2809
2810         * gfilemonitor/glocalfilemonitor.c
2811           gfilemonitor/glocalfilemonitor.h
2812                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2813                 - (_g_local_file_monitor_new): ensure that inotify is started up
2814
2815 2008-05-11  Dan Williams  <dcbw@redhat.com>
2816
2817         * configure.in
2818                 - record PolicyKit version
2819
2820         * system-settings/src/nm-polkit-helpers.c
2821                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2822                         with PolicyKit <= 0.6
2823
2824 2008-05-11  Dan Williams  <dcbw@redhat.com>
2825
2826         Update Fedora system-settings plugin to support latest API and use
2827         GFileMonitor rather than home-rolled inotify code.
2828
2829         * system-settings/plugins/ifcfg-fedora/Makefile.am
2830           system-settings/plugins/ifcfg-fedora/common.h
2831           system-settings/plugins/ifcfg-fedora/plugin.c
2832                 - Update to latest system settings plugin API; use GIO instead of
2833                         custom inotify code; use NMIfcfgConnection objects instead of
2834                         ConnectionData structures tacked onto NMConnection objects
2835
2836         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2837           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2838                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2839                         connections
2840
2841         * system-settings/plugins/ifcfg-fedora/reader.c
2842           system-settings/plugins/ifcfg-fedora/reader.h
2843                 - Move ifcfg parsing bits here from parser.c
2844
2845         * system-settings/plugins/ifcfg-fedora/parser.c
2846           system-settings/plugins/ifcfg-fedora/parser.h
2847                 - Remove; most code moved to reader.c
2848
2849 2008-05-11  Dan Williams  <dcbw@redhat.com>
2850
2851         * configure.in
2852           Makefile.am
2853           gfilemonitor/*
2854                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2855                         implementation, so that the same change monitoring code can be used
2856                         on systems without glib-2.14 (like Fedora 8)
2857
2858         * system-settings/plugins/keyfile/Makefile.am
2859           system-settings/plugins/keyfile/plugin.c
2860           system-settings/plugins/ifcfg-suse/Makefile.am
2861           system-settings/plugins/ifcfg-suse/plugin.c
2862                 - Use private gfilemonitor code if GIO is not present
2863
2864 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2865
2866         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2867         NMExportedConnection's 'update' and 'delete' and return error with
2868         descriptive message.
2869
2870 2008-05-08  Dan Williams  <dcbw@redhat.com>
2871
2872         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2873
2874         * src/nm-gsm-device.c
2875           src/nm-cdma-device.c
2876                 - (real_get_best_auto_connection): implement; allow autoconnection
2877                         to GSM & CDMA devices
2878
2879 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2880
2881         Use PolicyKit to authorize the system settings' AddConnection method
2882         and the system settings connections' Update and Delete methods.
2883         
2884         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2885         (impl_exported_connection_delete, nm_exported_connection_update)
2886         (nm_exported_connection_delete): Return boolean and fill GError
2887         to notify the callers of the reasons why it might have failed.
2888
2889         * libnm-glib/nm-dbus-settings-system.c
2890         (nm_dbus_settings_system_add_connection): Return the error from dbus
2891         call so that the callers can see why it failed.
2892
2893         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2894         signatures.
2895
2896         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2897
2898         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2899         abstract base class that checks PolicyKit permissions.
2900
2901         * system-settings/src/dbus-settings.c:
2902         (impl_settings_add_connection): Check the policy before carring out
2903         the request.
2904
2905         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2906         Inherit from NMSysconfigConnection, check the policies before
2907         allowing updating or removing.
2908
2909         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2910         Inherit from NMSysconfigConnection.
2911
2912         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2913         "Delete" methods with async flag so that the implementations can get
2914         access to DBusGMethodInvocation.
2915
2916         * system-settings/src/dbus-settings.c 
2917         (settings_add_connection_check_privileges): Implement.
2918         (impl_settings_add_connection): Check the privileges before adding a new
2919         connection. Improve error reporting.
2920
2921         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2922         async so that the implementation can access DBusGMethodInvocation.
2923
2924         * configure.in: Check for PolicyKit.
2925
2926         * policy/org.freedesktop.network-manager-settings.system.policy: 
2927         New file.
2928
2929         * policy/Makefile.am: Install the policy file.
2930
2931         * configure.in: Add 'policy' subdir.
2932
2933 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2934
2935         Rewrite the suse system settings plugin.
2936
2937         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2938
2939         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2940
2941         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2942
2943         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2944
2945         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2946
2947         * system-settings/src/main.c (load_plugins): Improve error reporting.
2948
2949         * system-settings/src/sha1.[ch] Add.
2950
2951         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2952
2953 2008-05-07  Dan Williams  <dcbw@redhat.com>
2954
2955         * system-settings/plugins/keyfile/reader.c
2956                 - (read_one_setting_value): handle IP address items separately
2957                 - (read_array_of_uint): read IPv4 DNS option as a string array
2958                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2959                         array
2960
2961         * system-settings/plugins/keyfile/writer.c
2962                 - (write_setting_value): handle IP address items separately
2963                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2964                         not an array of uint, so that it's user-editable
2965                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2966                         arrays, so they are user-editable
2967
2968 2008-05-07  Dan Williams  <dcbw@redhat.com>
2969
2970         * system-settings/plugins/keyfile/Makefile.am
2971                 - Change location of the keyfile plugin settings to
2972                         /etc/NetworkManager/system-connections
2973
2974 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2975
2976         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2977
2978         * system-settings/plugins/keyfile/plugin.c: Work with
2979         NMKeyfileConnections.
2980
2981         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2982         Plugins are supposed to return NMExportedConnections now and handle the
2983         updated(), removed(), and GetSecrets().
2984         Store the internal list of connections in hash table to make it easier
2985         to find duplicates.
2986
2987 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2988
2989         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2990         for multiple IP addresses.
2991
2992 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2993
2994         Patch from André Lemos.
2995
2996         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2997         corruption.
2998
2999 2008-05-06  Dan Williams  <dcbw@redhat.com>
3000
3001         * src/dhcp-manager/nm-dhcp-manager.c
3002                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3003                         NMIP4Config to support multiple IP addresses
3004
3005         * src/NetworkManagerUtils.c
3006                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3007
3008         * src/nm-ip4-config.c
3009           src/nm-ip4-config.h
3010                 - Store a list of IPv4 address/netmask/gateway tuples
3011                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3012                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3013                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3014                    nm_ip4_config_set_address): remove
3015                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3016                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3017                         new functions; handle multiple IPv4 addresses
3018
3019         * src/nm-device.c
3020           src/ppp-manager/nm-ppp-manager.c
3021           src/vpn-manager/nm-vpn-connection.c
3022           src/NetworkManagerPolicy.c
3023           test/nm-tool.c
3024           libnm-glib/libnm-glib-test.c
3025                 - update for changes to NMIP4Config for multiple IPv4 addresses
3026
3027         * src/NetworkManagerSystem.c
3028                 - (nm_system_device_set_ip4_route): don't add the route if any address
3029                         is on the same subnet as the destination
3030                 - (check_one_address): ignore the exact match, just match family and
3031                         interface index
3032                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3033                         an interface
3034                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3035                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3036
3037         * introspection/nm-ip4-config.xml
3038                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3039                 - Add 'addresses' property which is an array of (uuu) tuples of
3040                         address/netmask/gateway
3041
3042         * libnm-util/nm-setting-ip4-config.c
3043                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3044
3045         * libnm-glib/nm-ip4-config.c
3046           libnm-glib/nm-ip4-config.h
3047                 - Handle D-Bus interface changes to support multiple IP addresses
3048
3049 2008-05-06  Dan Williams  <dcbw@redhat.com>
3050
3051         * libnm-util/nm-utils.c
3052           libnm-util/nm-utils.h
3053                 - (nm_utils_ip4_addresses_from_gvalue,
3054                    nm_utils_ip4_addresses_to_gvalue): new functions
3055
3056 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3057
3058         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3059         the returned connection paths.
3060
3061 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3062
3063         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3064         "PropertiesChanged" signal signature.
3065
3066         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3067         defined in nm-dbus-glib-types.h.
3068         Don't register the connection on dbus, we're a proxy class to 
3069         communicate with an already registered connection over dbus.
3070
3071 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3072
3073         Implement new subclasses of NMSettings and NMExportedConnection to make
3074         it easier for the applet to access and modify system settings.
3075
3076         * libnm-glib/nm-dbus-connection.[ch]:
3077         * libnm-glib/nm-dbus-settings.[ch]:
3078         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3079
3080         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3081         bindings and glue.
3082
3083         * include/NetworkManager.h: Define the system settings DBus interface.
3084
3085 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3086
3087         Implement additional C API for exported connections to make them identical
3088         with the DBus API. Change the (list_connections) virtual function to be
3089         more usable from C - instead of requiring implementers to return a GPtrArray
3090         of dbus paths, return a list of connections.
3091
3092         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3093         (nm_settings_list_connections):
3094         (nm_exported_connection_new):
3095         (nm_exported_connection_update):
3096         (nm_exported_connection_delete): Implement.
3097
3098         (impl_settings_list_connections):
3099         (impl_exported_connection_update):
3100         (impl_exported_connection_delete): Use the new public functions to make 
3101         sure the C and dbus interfaces stay in sync.
3102
3103         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3104         connections.
3105
3106 2008-05-02  Dan Williams  <dcbw@redhat.com>
3107
3108         * system-settings/plugins/ifcfg-fedora/plugin.c
3109                 - (dispose): use right unref call on the DBusGConnection
3110
3111 2008-05-02  Dan Williams  <dcbw@redhat.com>
3112
3113         * src/nm-serial-device.c
3114                 - (find_terminator): don't compare the whole line, just the size of the
3115                         terminator, since some modems put stuff after the terminator, like
3116                         "CONNECT 9600"
3117
3118 2008-05-01  Dan Williams  <dcbw@redhat.com>
3119
3120         Patch from Michael Biebl <biebl@debian.org>
3121
3122         * callouts/Makefile.am
3123           callouts/org.freedesktop.nm_dispatcher.service.in
3124           system-settings/src/Makefile.am
3125           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3126                 - use the right install location for dbus-activated stuff
3127
3128 2008-04-30  Dan Williams  <dcbw@redhat.com>
3129
3130         * src/nm-gsm-device.c
3131                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3132                         PIN or PUK
3133
3134 2008-04-30  Dan Williams  <dcbw@redhat.com>
3135
3136         * src/nm-manager.c
3137                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3138
3139 2008-04-30  Dan Williams  <dcbw@redhat.com>
3140
3141         * src/nm-device-802-3-ethernet.c
3142           src/nm-device-802-11-wireless.c
3143                 - (real_is_up): return true instead of chaining up to unimplemented
3144                         parent method
3145
3146 2008-04-30  Dan Williams  <dcbw@redhat.com>
3147
3148         * src/NetworkManagerSystem.c
3149           src/NetworkManagerSystem.h
3150                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3151                         functions to check device flags for IFF_UP
3152
3153         * src/nm-serial-device.c
3154                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3155                         implement is_up
3156
3157         * src/nm-device-802-3-ethernet.c
3158           src/nm-device-802-11-wireless.c
3159                 - (real_hw_is_up): call nm_system_device_is_up()
3160
3161         * src/nm-device.c
3162                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3163                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3164                         does not implement
3165
3166 2008-04-29  Dan Williams  <dcbw@redhat.com>
3167
3168         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3169
3170         * marshallers/nm-marshal.list
3171                 - Add marshaller
3172
3173         * src/NetworkManager.c
3174                 - (main): let the NMManager handle the NMHalManager
3175
3176         * src/nm-hal-manager.c
3177           src/nm-hal-manager.h
3178                 - convert to a GObject, and emit singals when stuff changes.  Let the
3179                         NMManager handle the signals, instead of the NMHalManager calling
3180                         into the NMManager.  
3181
3182         * src/nm-manager.c
3183           src/nm-manager.h
3184                 - (remove_one_device): consolidate device removals here
3185                 - (dispose): use remove_one_device()
3186                 - (nm_manager_get_device_by_udi): make static
3187                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3188                         manager for devices at startup or wakeup time
3189                 - (nm_manager_new): create and monitor the HAL manager
3190                 - (hal_manager_udi_added_cb): new function; do what
3191                         nm_manager_add_device() used to do when signalled by the hal manager
3192                 - (hal_manager_udi_removed_cb): new function; do what
3193                         nm_manager_remove_device() used to do when signalled by the hal
3194                         manager
3195                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3196                         hal manager
3197                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3198                         in our device list that aren't known to HAL
3199                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3200                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3201                         commits ago
3202                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3203                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3204                    nm_manager_wireless_hardware_enabled,
3205                    nm_manager_set_wireless_hardware_enabled): remove, unused
3206
3207 2008-04-28  Dan Williams  <dcbw@redhat.com>
3208
3209         Fix the device up/down ambiguities.  Up/down state used to be a
3210         conglomeration of hardware state (IFF_UP) and any device-specific things
3211         (supplicant, periodic timers, etc) that the device used to indicate
3212         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3213         reason, then the device specific stuff wouldn't get run, and the device
3214         would be stuck.
3215
3216         * src/nm-device.c
3217           src/nm-device.h
3218                 - Create hw_is_up, hw_bring_up, and hw_take_down
3219                 - Rename bring_down -> take_down
3220                 - (real_hw_is_up): check interface flags for IFF_UP
3221                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3222                 - (nm_device_is_up): make static; only used locally
3223                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3224                         if the device is already up; if the device isn't up, bring it up
3225                 - (nm_device_hw_take_down): just take down hardware
3226                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3227                 - (nm_device_take_down): always deactivate device when called; always
3228                         try to take hardware down too
3229                 - (nm_device_state_changed): take device down when entering unmanaged
3230                         state from a higher state
3231
3232         * src/nm-device-802-11-wireless.c
3233                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3234                         check IFF_UP really
3235                 - (real_take_down, supplicant_iface_state_cb_handler, 
3236                    supplicant_iface_connection_state_cb_handler,
3237                    supplicant_mgr_state_cb_handler): fix some messages
3238
3239         * src/nm-device-802-3-ethernet.c
3240                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3241                         check IFF_UP really
3242
3243 2008-04-28  Dan Williams  <dcbw@redhat.com>
3244
3245         * src/nm-manager.c
3246           src/nm-manager.h
3247                 - (nm_manager_error_get_type): add new error
3248                 - (nm_manager_remove_device): don't bother taking down the device here,
3249                         the state change from unmanaging the device will do it
3250                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3251                         uses it; when going to sleep, just unmanage the device instead of
3252                         taking it down, because stuff will cleaned up correctly when the
3253                         device gets unmanaged
3254
3255 2008-04-28  Dan Williams  <dcbw@redhat.com>
3256
3257         * src/nm-hal-manager.c
3258                 - (add_initial_devices): convert to a GSourceFunc prototype
3259                 - (nm_manager_state_changed): when coming out of sleep, punt the
3260                         device re-addition to an idle handler to let D-Bus events go out
3261                         first, fixing a potential dbus-glib assert if the old device was
3262                         not yet disposed (due to references held while emitting the D-Bus
3263                         signals) but the new device was found, because the mainloop didn't
3264                         run between signal emission and add_initial_devices()
3265
3266 2008-04-27  Dan Williams  <dcbw@redhat.com>
3267
3268         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3269
3270         * initscript/paldo/NetworkManager.in
3271           initscript/SUSE/networkmanager.in
3272                 - Remove last bits of dhcdbd
3273
3274 2008-04-27  Dan Williams  <dcbw@redhat.com>
3275
3276         * src/nm-device-802-11-wireless.c
3277                 - (link_timeout_cb): don't ask for secrets when disconnected during
3278                         association/authentication phase, drivers are still just too crappy
3279
3280 2008-04-27  Dan Williams  <dcbw@redhat.com>
3281
3282         * Makefile.am
3283           configure.in
3284           dispatcher-daemon/Makefile.am
3285           dispatcher-daemon/NetworkManagerDispatcher.c
3286           initscript/Arch/Makefile.am
3287           initscript/Arch/networkmanager-dispatcher.in
3288           initscript/Gentoo/Makefile.am
3289           initscript/Gentoo/NetworkManagerDispatcher.in
3290           initscript/Mandriva/Makefile.am
3291           initscript/Mandriva/networkmanagerdispatcher.in
3292           initscript/RedHat/Makefile.am
3293           initscript/RedHat/NetworkManagerDispatcher.in
3294           initscript/SUSE/Makefile.am
3295           initscript/SUSE/networkmanager-dispatcher.in
3296           initscript/Slackware/Makefile.am
3297           initscript/Slackware/rc.networkmanager-dispatcher.in
3298           initscript/paldo/Makefile.am
3299           initscript/paldo/NetworkManagerDispatcher.in
3300           man/Makefile.am
3301           man/NetworkManagerDispatcher.8.in
3302                 - Remove the dispatcher daemon
3303
3304 2008-04-27  Dan Williams  <dcbw@redhat.com>
3305
3306         * callouts/Makefile.am
3307           callouts/nm-dispatcher-action.c
3308           callouts/nm-dispatcher-action.h
3309           callouts/nm-dispatcher.conf
3310           callouts/nm-dispatcher.xml
3311           callouts/org.freedesktop.nm_dispatcher.service
3312                 - Re-implement the dispatcher as a system-bus activated service that
3313                         NM calls on-demand, rather than an always running daemon
3314
3315         * src/Makefile.am
3316                 - Add callouts dir to includes to pick up dispatcher defines
3317
3318         * src/nm-device.c
3319                 - (nm_device_state_changed): call dispatcher on device activated/
3320                         deactivated
3321
3322         * src/vpn-manager/nm-vpn-connection.c
3323                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3324                         go up and down
3325
3326         * src/NetworkManagerUtils.c
3327           src/NetworkManagerUtils.h
3328                 - (nm_utils_call_dispatcher): helper to call dispatcher
3329
3330 2008-04-27  Dan Williams  <dcbw@redhat.com>
3331
3332         * src/NetworkManagerUtils.c
3333           src/NetworkManagerUtils.h
3334                 - remove unneeded includes
3335                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3336                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3337                    nm_timeval_cmp, nm_timeval_add): remove, unused
3338                 - clean up formatting
3339                 - (nm_spawn_process): de-uglify
3340
3341         * src/nm-device-802-11-wireless.c
3342                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3343
3344 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3345
3346         * initscript/Gentoo/NetworkManager.in:
3347                 Fix for starting the daemon.
3348
3349 2008-04-25  Dan Williams  <dcbw@redhat.com>
3350
3351         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3352
3353         * src/NetworkManagerSystem.c
3354                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3355
3356 2008-04-25  Dan Williams  <dcbw@redhat.com>
3357
3358         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3359
3360         * src/NetworkManagerSystem.c
3361                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3362                         implementation of nm_system_device_replace_default_route()
3363
3364         * src/NetworkManagerPolicy.c
3365                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3366
3367         * src/backends/NetworkManagerArch.c
3368           src/backends/NetworkManagerDebian.c
3369           src/backends/NetworkManagerFrugalware.c
3370           src/backends/NetworkManagerGeneric.c
3371           src/backends/NetworkManagerGeneric.h
3372           src/backends/NetworkManagerGentoo.c
3373           src/backends/NetworkManagerMandriva.c
3374           src/backends/NetworkManagerPaldo.c
3375           src/backends/NetworkManagerRedHat.c
3376           src/backends/NetworkManagerSlackware.c
3377           src/backends/NetworkManagerSuSE.c
3378                 - (nm_system_device_replace_default_route): remove
3379
3380 2008-04-25  Dan Williams  <dcbw@redhat.com>
3381
3382         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3383
3384         * src/NetworkManagerSystem.c
3385                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3386                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3387                         replace nm_system_device_add_route_via_device_with_iface() in the
3388                         backends
3389
3390         * src/backends/NetworkManagerArch.c
3391           src/backends/NetworkManagerDebian.c
3392           src/backends/NetworkManagerFrugalware.c
3393           src/backends/NetworkManagerGeneric.c
3394           src/backends/NetworkManagerGeneric.h
3395           src/backends/NetworkManagerGentoo.c
3396           src/backends/NetworkManagerMandriva.c
3397           src/backends/NetworkManagerPaldo.c
3398           src/backends/NetworkManagerRedHat.c
3399           src/backends/NetworkManagerSlackware.c
3400           src/backends/NetworkManagerSuSE.c
3401                 - Remove nm_system_device_add_route_via_device_with_iface()
3402
3403 2008-04-25  Dan Williams  <dcbw@redhat.com>
3404
3405         * system-settings/plugins/ifcfg-fedora/parser.c
3406                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3407
3408 2008-04-24  Dan Williams  <dcbw@redhat.com>
3409
3410         * dispatcher-daemon/NetworkManagerDispatcher.c
3411                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3412
3413 2008-04-24  Dan Williams  <dcbw@redhat.com>
3414
3415         * initscript/RedHat/NetworkManager.in
3416           initscript/RedHat/NetworkManagerDispatcher.in
3417                 - Be active at runlevel 2
3418                 - Adjust priorities earlier
3419
3420 2008-04-22  Dan Williams  <dcbw@redhat.com>
3421
3422         * src/NetworkManagerPolicy.c
3423                 - (update_routing_and_dns): when checking for a gateway, look at the
3424                         composite IP4 config, not the connection's ip4-config setting, which
3425                         doesn't include DHCP-returned information
3426
3427 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3428
3429         Implement GKeyFile system settings plugin.
3430         Implement writing system settings (currently supported only by GKeyFile plugin).
3431
3432         * system-settings/src/main.c: 
3433         * system-settings/src/dbus-settings.c: Move the communication with plugins
3434         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3435         plugins for adding/updating/removing connections.
3436
3437         * system-settings/src/nm-system-config-interface.c
3438         (nm_system_config_interface_add_connection): Implement
3439         (nm_system_config_interface_update_connection): Implement.
3440         (nm_system_config_interface_remove_connection): Implement.
3441
3442         * system-settings/plugins/keyfile/Makefile.am:
3443         * system-settings/plugins/keyfile/plugin.[ch]:
3444         * system-settings/plugins/keyfile/writer.[ch]:
3445         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3446
3447         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3448
3449         * configure.in: Generate GKeyFile Makefile.
3450
3451         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3452         corruption, need to duplicate the returned string.
3453         (impl_exported_connection_update): Implement.
3454         (impl_exported_connection_delete): Implement.
3455
3456         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3457
3458         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3459
3460 2008-04-22  Dan Williams  <dcbw@redhat.com>
3461
3462         Patch from Charles R. Anderson (cra@wpi.edu)
3463
3464         * src/NetworkManagerPolicy.c
3465                 - (update_routing_and_dns): don't select devices without a gateway
3466                         as having the default route (rh #437338)
3467
3468 2008-04-21  Dan Williams  <dcbw@redhat.com>
3469
3470         * src/nm-activation-request.c
3471           src/nm-activation-request.h
3472                 - (dispose): ensure to disconnect from the device's state-changed signal
3473                         when appropriate so the signal doesn't get handled by an already
3474                         disposed NMActRequest
3475                 - (device_state_changed): update is_default here too just to make sure
3476                         default is only True when the child device is activated
3477                 - (nm_act_request_set_default): new function
3478
3479         * src/NetworkManagerPolicy.c
3480                 - (update_routing_and_dns): set 'default' on the active connection which
3481                         has the default route and DNS
3482
3483 2008-04-21  Dan Williams  <dcbw@redhat.com>
3484
3485         * src/NetworkManagerPolicy.c
3486                 - (device_state_changed): update routing and DNS when a device goes
3487                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3488
3489 2008-04-21  Dan Williams  <dcbw@redhat.com>
3490
3491         * include/NetworkManager.h
3492                 - Add NMActiveConnectionState enum
3493
3494         * introspection/nm-active-connection.xml
3495           introspection/nm-vpn-connection.xml
3496                 - Add 'State' property for overall active connection state
3497                 - Add 'Default' property, when True means this active connection
3498                         has the default route
3499                 - Add PropertyChanged signals so changes actually go out over the bus
3500
3501         * src/nm-active-connection.h
3502                 - Add defines for State & Default properties
3503
3504         * src/nm-activation-request.c
3505                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3506                         signal to determine active connection state
3507
3508         * src/vpn-manager/nm-vpn-connection.c
3509           src/vpn-manager/nm-vpn-connection.h
3510           src/vpn-manager/nm-vpn-manager.c
3511           src/vpn-manager/nm-vpn-service.c
3512                 - Rename old 'state' to 'vpn-state'
3513                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3514                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3515                         'vpn-state-changed' signal
3516
3517         * libnm-glib/nm-active-connection.c
3518           libnm-glib/nm-active-connection.h
3519                 - Add new 'state' and 'default' properties and accessors
3520
3521         * libnm-glib/nm-vpn-connection.c
3522           libnm-glib/nm-vpn-connection.h
3523                 - Rename old 'state' property to 'vpn-state'
3524                 - Add new 'state' and 'default' properties and accessors
3525
3526 2008-04-21  Dan Williams  <dcbw@redhat.com>
3527
3528         * src/nm-ip4-config.c
3529                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3530                         not specified (rh #443474)
3531
3532 2008-04-20  Dan Williams  <dcbw@redhat.com>
3533
3534         * src/NetworkManagerUtils.c
3535           src/NetworkManagerUtils.h
3536                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3537                         NMSettingIP4Config to an NMIP4Config object
3538
3539         * src/nm-device.c
3540                 - (merge_ip4_config): move to NetworkManagerUtils.c
3541
3542         * src/vpn-manager/nm-vpn-connection.c
3543                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3544                         too
3545
3546 2008-04-18  Dan Williams  <dcbw@redhat.com>
3547
3548         * libnm-util/nm-setting-ppp.c
3549           libnm-util/nm-setting-ppp.h
3550                 - Add 'no-vj-comp' option for TCP header compression
3551                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3552                         uint32
3553
3554 2008-04-18  Dan Williams  <dcbw@redhat.com>
3555
3556         * libnm-util/nm-setting-ppp.c
3557           libnm-util/nm-setting-ppp.h
3558           src/ppp-manager/nm-ppp-manager.c
3559                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3560
3561 2008-04-18  Dan Williams  <dcbw@redhat.com>
3562
3563         * libnm-util/nm-setting-ppp.c
3564           libnm-util/nm-setting-ppp.h
3565           src/ppp-manager/nm-ppp-manager.c
3566                 - Remove the 'usepeerdns' option and always request DNS servers from
3567                         the PPP server; the connection chooses to use/override/ignore the
3568                         DNS servers returned from the PPP server
3569
3570 2008-04-18  Dan Williams  <dcbw@redhat.com>
3571
3572         * libnm-util/nm-setting-ppp.c
3573           libnm-util/nm-setting-ppp.h
3574           src/ppp-manager/nm-ppp-manager.c
3575                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3576                         it seems to have been an erroneous addition to the PPTP plugin in
3577                         the first place (from which the ppp-manager is derived)
3578
3579 2008-04-17  Dan Williams  <dcbw@redhat.com>
3580
3581         * libnm-util/nm-setting-pppoe.c
3582                 - (verify): require a PPP setting too
3583
3584         * src/ppp-manager/nm-ppp-manager.c
3585                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3586                         segfaulting
3587
3588 2008-04-17  Dan Williams  <dcbw@redhat.com>
3589
3590         * src/nm-device.c
3591                 - (nm_device_state_changed): do deactivation and and promotion to
3592                         unavailable here, so that the device gets cleaned up before the
3593                         manager runs and starts emitting signals; do the
3594                         FAILED->DISCONNECTED transition from an idle handler rather than
3595                         immediately to guard against recursion
3596                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3597                         FAILED->DISCONNECTED handler if it's scheduled
3598
3599 2008-04-17  Dan Williams  <dcbw@redhat.com>
3600
3601         * src/nm-device-802-11-wireless.c
3602                 - (state_changed_cb): clear AP list when device transitions to
3603                         unavailable or unmanaged
3604                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3605                         since this is already done in device_cleanup()
3606                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3607                         isn't available or managed
3608                 - (device_cleanup): use remove_all_aps()
3609                 - (remove_all_aps): consolidate code removing all APs
3610
3611 2008-04-17  Dan Williams  <dcbw@redhat.com>
3612
3613         * src/nm-serial-device.c
3614           src/nm-serial-device.h
3615                 - (wait_for_reply_got_data): break input into lines, and search each
3616                         line for responses _and_ terminator strings; also make sure that
3617                         the read loop doesn't continue after the timeout is supposed to fire
3618                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3619
3620         * src/nm-gsm-device.c
3621           src/nm-cdma-device.c
3622                 - Send terminators to nm_serial_device_wait_for_reply()
3623
3624 2008-04-16  Dan Williams  <dcbw@redhat.com>
3625
3626         Patch from 陈鑫 <znscnchen@gmail.com>
3627
3628         * src/ppp-manager/nm-pppd-plugin.c
3629                 - (get_credentials): return correct value for success; handle case where
3630                         pppd just does some checking but doesn't want a password
3631                 - (plugin_init): make CHAP work too
3632
3633 2008-04-16  Dan Williams  <dcbw@redhat.com>
3634
3635         Patch from 陈鑫 <znscnchen@gmail.com>
3636
3637         * src/ppp-manager/nm-ppp-manager.c
3638                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3639
3640 2008-04-16  Dan Williams  <dcbw@redhat.com>
3641
3642         Patch from 陈鑫 <znscnchen@gmail.com>
3643
3644         * src/nm-device-802-3-ethernet.c
3645                 - (real_deactivate_quickly): clear the IP interface name on
3646                         deactivation, otherwise the wrong interface might get used later
3647                         for routing and IP management
3648
3649 2008-04-15  Dan Williams  <dcbw@redhat.com>
3650
3651         * libnm-glib/nm-device.c
3652                 - (get_product_and_vendor): handle serial devices correctly
3653                 - (nm_device_update_description): pass device to get_product_and_vendor()
3654
3655 2008-04-15  Dan Williams  <dcbw@redhat.com>
3656
3657         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3658
3659         * src/NetworkManagerSystem.h
3660           src/backends/NetworkManagerArch.c
3661           src/backends/NetworkManagerDebian.c
3662           src/backends/NetworkManagerFrugalware.c
3663           src/backends/NetworkManagerGeneric.c
3664           src/backends/NetworkManagerGeneric.h
3665           src/backends/NetworkManagerGentoo.c
3666           src/backends/NetworkManagerMandriva.c
3667           src/backends/NetworkManagerPaldo.c
3668           src/backends/NetworkManagerRedHat.c
3669           src/backends/NetworkManagerSlackware.c
3670           src/backends/NetworkManagerSuSE.c
3671           src/nm-device.c
3672                 - (nm_generic_device_add_ip6_link_address,
3673                    nm_system_device_add_ip6_link_address): remove
3674
3675 2008-04-15  Dan Williams  <dcbw@redhat.com>
3676
3677         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3678
3679         * src/backends/NetworkManagerArch.c
3680           src/backends/NetworkManagerDebian.c
3681           src/backends/NetworkManagerFrugalware.c
3682           src/backends/NetworkManagerGeneric.c
3683           src/backends/NetworkManagerGeneric.h
3684           src/backends/NetworkManagerGentoo.c
3685           src/backends/NetworkManagerMandriva.c
3686           src/backends/NetworkManagerPaldo.c
3687           src/backends/NetworkManagerRedHat.c
3688           src/backends/NetworkManagerSlackware.c
3689           src/backends/NetworkManagerSuSE.c
3690           src/NetworkManagerSystem.h
3691                 - flush_routes -> flush_ip4_routes
3692                 - flush_addresses -> flush_ip4_addresses
3693
3694         * src/NetworkManagerSystem.c
3695           src/nm-device.c
3696           src/vpn-manager/nm-vpn-connection.c
3697                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3698
3699 2008-04-15  Dan Williams  <dcbw@redhat.com>
3700
3701         Remove exposure of wireless-tools mode types in the API.
3702
3703         * include/NetworkManager.h
3704                 - Define NM80211Mode enum
3705
3706         * introspection/generic-types.xml
3707                 - Describe NM_802_11_MODE enum
3708                 - Remove IW_MODE_* enum
3709
3710         * introspection/nm-access-point.xml
3711           libnm-glib/nm-access-point.c
3712           libnm-glib/nm-access-point.h
3713                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3714
3715         * introspection/nm-device-802-11-wireless.xml
3716           libnm-glib/nm-device-802-11-wireless.c
3717           libnm-glib/nm-device-802-11-wireless.h
3718                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3719
3720         * libnm-util/nm-setting-wireless.c
3721           src/NetworkManagerAP.c
3722           src/NetworkManagerAP.h
3723           src/nm-device-802-11-wireless.c
3724           src/nm-device-802-11-wireless.h
3725           test/nm-tool.c
3726                 - Use NM80211Mode not IW_MODE_*
3727
3728 2008-04-15  Dan Williams  <dcbw@redhat.com>
3729
3730         Enhance nm-online based on a patch from Bill Nottingham.
3731
3732         * test/nm-online.c
3733                 - Add a '-q' option
3734                 - Add help messages and option summary
3735                 - Add long-format options
3736                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3737
3738 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3739
3740         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3741
3742         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3743
3744 2008-04-15  Dan Williams  <dcbw@redhat.com>
3745
3746         * nm-setting-ip4-config.c
3747                 - (ip4_addresses_from_gvalue): handle NULL address array
3748
3749         * nm-setting-8021x.c
3750                 - (verify_tls, verify_ttls): warn on failed verification
3751
3752 2008-04-10  Dan Williams  <dcbw@redhat.com>
3753
3754         * src/nm-gsm-device.c
3755                 - (automatic_registration): accept "+CREG: 0,0"
3756                 - (automatic_registration_response): fail on "+CREG: 0,0"
3757
3758 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3759
3760         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3761
3762 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3763
3764         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3765         Make it compile again by commenting out broken code that at first didn't work and
3766         now didn't compile either.
3767
3768 2008-04-08  Dan Williams  <dcbw@redhat.com>
3769
3770         * libnm-glib/nm-object-cache.c
3771           libnm-glib/nm-settings.c
3772           src/dhcp-manager/nm-dhcp-manager.c
3773           system-settings/plugins/ifcfg-fedora/plugin.c
3774           system-settings/plugins/ifcfg-suse/plugin.c
3775           system-settings/src/nm-system-config-hal-manager.c
3776           libnm-util/nm-utils.c
3777                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3778                         not threadsafe anyway
3779
3780 2008-04-08  Dan Williams  <dcbw@redhat.com>
3781
3782         * system-settings/src/main.c
3783                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3784                         callbacks take a device type too
3785
3786 2008-04-08  Dan Williams  <dcbw@redhat.com>
3787
3788         The system settings service will now create a new default DHCP connection
3789         for wired devices that have no existing applicable connection.
3790
3791         * system-settings/src/nm-system-config-hal-manager.c
3792           system-settings/src/nm-system-config-hal-manager.h
3793                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3794
3795         * system-settings/src/dbus-settings.c
3796           system-settings/src/dbus-settings.h
3797                 - (nm_sysconfig_settings_get_connections): new function
3798                 - (nm_sysconfig_settings_is_device_managed): new function
3799
3800         * system-settings/src/main.c
3801                 - (load_stuff): check for wired devices that need a default connection
3802                 - (get_details_for_udi): get interface and MAC address from HAL
3803                 - (add_default_dhcp_connection): add a default connection for a wired
3804                         device if needed
3805                 - (device_added_cb, device_removed_cb): do the right thing with
3806                         wired devices and their default connections on HAL device events
3807
3808 2008-04-07  Dan Williams  <dcbw@redhat.com>
3809
3810         * libnm-glib/nm-device.c
3811           libnm-glib/nm-device.h
3812                 - Proxy the 'managed' property
3813
3814 2008-04-07  Dan Williams  <dcbw@redhat.com>
3815
3816         * src/nm-gsm-device.c
3817           src/nm-cdma-device.c
3818                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3819                         handler to transition to DISCONNECTED
3820
3821 2008-04-07  Dan Williams  <dcbw@redhat.com>
3822
3823         Patch from Bill Nottingham
3824
3825         * dispatcher-daemon/NetworkManagerDispatcher.c
3826                 - ignore backup/packaging crufy (rh #440143)
3827
3828 2008-04-07  Dan Williams  <dcbw@redhat.com>
3829
3830         * include/NetworkManager.h
3831                 - Remove the DOWN and CANCELLED device states
3832                 - Add UNMANAGED and UNAVAILABLE device states
3833                 - Document the device states
3834
3835         * introspection/nm-device.xml
3836           src/nm-device-interface.c
3837           src/nm-device-interface.h
3838                 - Add the 'managed' property
3839
3840         * test/nm-tool.c
3841                 - (detail_device): print out device state
3842
3843         * src/NetworkManagerSystem.h
3844           src/backends/NetworkManagerArch.c
3845           src/backends/NetworkManagerDebian.c
3846           src/backends/NetworkManagerFrugalware.c
3847           src/backends/NetworkManagerGentoo.c
3848           src/backends/NetworkManagerMandriva.c
3849           src/backends/NetworkManagerPaldo.c
3850           src/backends/NetworkManagerRedHat.c
3851           src/backends/NetworkManagerSlackware.c
3852           src/backends/NetworkManagerSuSE.c
3853                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3854                    nm_system_device_free_system_config): remove; they were unused and
3855                         their functionality should be re-implemented in each distro's
3856                         system settings service plugin 
3857
3858         * src/nm-gsm-device.c
3859           src/nm-gsm-device.h
3860           src/nm-cdma-device.c
3861           src/nm-cdma-device.h
3862                 - (*_new): take the 'managed' argument
3863
3864         * src/nm-device.c
3865                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3866                 - (nm_device_init): start in unmanaged state, not disconnected
3867                 - (constructor): don't start device until the system settings service
3868                         has had a chance to figure out if the device is managed or not
3869                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3870                         don't set device state here, let callers handle that as appropriate
3871                 - (nm_device_dispose): don't touch the device if it's not managed
3872                 - (set_property, get_property, nm_device_class_init): implement the
3873                         'managed' property
3874                 - (nm_device_state_changed): bring the device up if its now managed,
3875                         and deactivate it if it used to be active
3876                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3877                         with the managed state
3878
3879         * src/nm-hal-manager.c
3880                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3881                         take initial managed state and pass it along to device constructors
3882                 - (create_device_and_add_to_list): get managed state and pass to
3883                         type creators
3884
3885         * src/nm-device-802-11-wireless.c
3886                 - (real_can_activate): fold in most of
3887                         nm_device_802_11_wireless_can_activate()
3888                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3889                 - (link_timeout_cb): instead of deactivating, change device state and
3890                         let the device state handler to it
3891                 - (real_update_hw_address): clean up
3892                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3893                         handler to transition to DISCONNECTED if the device isn't rfkilled
3894
3895         * src/nm-device-802-3-ethernet.c
3896                 - (set_carrier): move above callers and get rid of prototype
3897                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3898                         idle handler to transition to DISCONNECTED if the device has a
3899                         carrier
3900                 - (real_update_hw_address): clean up
3901                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3902                         deactivation directly as deactivation doesn't change state anymore
3903
3904         * src/NetworkManagerPolicy.c
3905                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3906                         the NMManager and wireless devices work that out themselves now
3907                 - (device_state_changed): change to a switch and update for new device
3908                         states
3909                 - (device_carrier_changed): remove; device handles this now through
3910                         state changes
3911                 - (device_added): don't care about carrier any more; the initial
3912                         activation check will happen when the device transitions to
3913                         DISCONNECTED
3914
3915         * src/nm-manager.c
3916                 - (dispose): clear unmanaged devices
3917                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3918                         the managed property on each device when needed
3919                 - (system_settings_properties_changed_cb): handle signals from the
3920                         system settings service
3921                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3922                         getting the unmanaged device list method call
3923                 - (query_unmanaged_devices): ask the system settings service for its
3924                         list of unmanaged devices
3925                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3926                         devices
3927                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3928                         devices directly and let them handle the necessary state transitions
3929                 - (manager_device_state_changed): update for new device states
3930                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3931                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3932                 - (nm_manager_activate_connection): return error if the device is
3933                         unmanaged
3934                 - (nm_manager_sleep): handle new device states correctly; don't change
3935                         the state of unavailable/unmanaged devices
3936
3937         * libnm-glib/nm-device-802-11-wireless.c
3938                 - (state_changed_cb): update for new device states
3939
3940 2008-04-07  Dan Williams  <dcbw@redhat.com>
3941
3942         * marshallers/nm-marshal.list
3943                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3944
3945 2008-04-07  Dan Williams  <dcbw@redhat.com>
3946
3947         * system-settings/src/main.c
3948                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3949                         plugins to the dbus settings object
3950                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3951                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3952                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3953                 - (main): switch default logging to syslog with a 'debug' option to
3954                         output to console; start up the HAL manager
3955
3956 2008-04-07  Dan Williams  <dcbw@redhat.com>
3957
3958         * introspection/nm-settings-system.xml
3959           introspection/Makefile.am
3960                 - Define the unmanaged devices interface for the system settings service
3961
3962         * system-settings/src/nm-system-config-hal-manager.c
3963           system-settings/src/nm-system-config-hal-manager.h
3964           system-settings/src/nm-system-config-hal-manager-private.h
3965           system-settings/src/Makefile.am
3966                 - Add a lightweight HAL manager object for tracking network devices for
3967                         the purpose of determining unmanaged devices and which devices need
3968                         the default DHCP connections
3969
3970         * system-settings/src/nm-system-config-interface.c
3971           system-settings/src/nm-system-config-interface.h
3972                 - (nm_system_config_interface_init): add the HAL manager as an argument
3973                 - (nm_system_config_interface_get_unmanaged_devices): implement
3974                 - Define 'unmanaged-devices-changed' signal
3975
3976         * system-settings/src/dbus-settings.c
3977           system-settings/src/dbus-settings.h
3978                 - Implement the unmanaged devices interface; some cleanups
3979
3980         * system-settings/plugins/ifcfg-suse/plugin.c
3981                 - Fixup for plugin interface changes
3982
3983         * system-settings/plugins/ifcfg-fedora/plugin.c
3984                 - (get_ether_device_udi): new function; find the device that has
3985                         a specified MAC address and return its UDI
3986                 - (get_udi_for_connection): new function; try to find the specific
3987                         device a connection is locked to, if any
3988                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3989                         response to HAL events
3990                 - (get_unmanaged_devices): new function; return unmanaged device list
3991                 - (build_one_connection): set the connection's locked device, if any
3992                 - (write_auto_wired_connection): remove
3993                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3994                 - (handle_connection_changed): alert listeners that the unmanaged device
3995                         list has changed
3996                 - (init): fixup for plugin interface changes, implement unmanaged devices
3997
3998         * system-settings/plugins/ifcfg-fedora/parser.c
3999           system-settings/plugins/ifcfg-fedora/parser.h
4000                 - (connection_data_free): clean up connection UDI
4001
4002 2008-04-07  Dan Williams  <dcbw@redhat.com>
4003
4004         * system-settings/plugins/ifcfg-fedora/parser.c
4005                 - (make_ip4_setting): fix parsing of DNS servers
4006
4007 2008-04-05  Dan Williams  <dcbw@redhat.com>
4008
4009         * Makefile.am
4010           configure.in
4011           marshallers/Makefile.am
4012           marshallers/nm-marshal-main.c
4013           marshallers/nm-marshal.list
4014                 - Consolidate marshallers
4015
4016         * libnm-glib/nm-marshal-main.c
4017           libnm-glib/nm-marshal.list
4018           src/marshallers/Makefile.am
4019           src/marshallers/nm-marshal-main.c
4020           src/marshallers/nm-marshal.list
4021                 - Remove
4022
4023         * libnm-glib/Makefile.am
4024           src/Makefile.am
4025           src/dhcp-manager/Makefile.am
4026           src/ppp-manager/Makefile.am
4027           src/supplicant-manager/Makefile.am
4028           src/vpn-manager/Makefile.am
4029                 - Use consolidated marshallers
4030
4031 2008-04-04  Dan Williams  <dcbw@redhat.com>
4032
4033         * src/nm-hal-manager.c
4034           src/nm-hal-manager.h
4035                 - (hal_init): don't look for hardware here
4036                 - (nm_hal_manager_start): new function; look for hardware here instead,
4037                         which can be done at a later time than hal_init()
4038
4039         * src/NetworkManager.c
4040                 - (main): start HAL manager after entering the main loop
4041
4042 2008-04-03  Dan Williams  <dcbw@redhat.com>
4043
4044         * libnm-glib/nm-settings.c
4045           libnm-glib/nm-settings.h
4046             - (nm_exported_connection_get_id): new function
4047                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4048
4049 2008-04-02  Dan Williams  <dcbw@redhat.com>
4050
4051         * src/nm-device-interface.c
4052           src/nm-device-interface.h
4053           src/nm-device.c
4054           src/nm-device.h
4055                 - Rename check_connection_conflicts() to check_connection_compatible()
4056
4057         * src/nm-device-802-11-wireless.c
4058                 - (real_check_connection_conflicts): remove
4059                 - (real_check_connection_compatible): implement; match MAC address
4060
4061         * src/nm-device-802-3-ethernet.c
4062                 - (real_check_connection_conflicts): remove
4063                 - (real_check_connection_compatible): implement; match MAC address
4064                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4065
4066         * src/nm-manager.c
4067                 - (check_connection_allowed): remove; unused until PolicyKit integration
4068                 - (internal_activate_device): check whether the connection is compatible
4069                         with the device before trying to activate it
4070
4071 2008-04-02  Dan Williams  <dcbw@redhat.com>
4072
4073         * system-settings/plugins/ifcfg-fedora/parser.c
4074                 - (read_mac_address): new function; read in MAC address and stuff it
4075                         into the connection
4076                 - (add_one_wep_key): remove debug spew
4077                 - (make_wireless_security_setting): validate the default TX key; don't
4078                         add the wireless-security setting if the connection doesn't need
4079                         security; don't leak the keys shvarFile on error cases
4080                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4081                         address
4082
4083 2008-04-02  Dan Williams  <dcbw@redhat.com>
4084
4085         * libnm-util/nm-setting-connection.c
4086           libnm-util/nm-setting-connection.h
4087                 - (set_property, get_property, nm_setting_connection_class_init): remove
4088                         the 'lockdown' property; it's functionality will be replaced by
4089                         PolicyKit instead
4090
4091 2008-04-01  Dan Williams  <dcbw@redhat.com>
4092
4093         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4094
4095         * configure.in
4096           initscript/Makefile.am
4097           initscript/Mandriva/Makefile.am
4098           initscript/Mandriva/networkmanager.in
4099           initscript/Mandriva/networkmanagerdispatcher.in
4100           src/backends/Makefile.am
4101           src/backends/NetworkManagerMandriva.c
4102           system-settings/plugins/Makefile.am
4103                 - Add Mandriva support
4104
4105 2008-03-31  Dan Williams  <dcbw@redhat.com>
4106
4107         * src/vpn-manager/nm-vpn-service.c
4108                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4109                         errors can be passed back to the caller; also no longer scheduled
4110                         as an idle handler, but called directly; and bump up VPN service
4111                         spawn timeout, 2s is really short
4112                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4113                         but call it directly so that errors are reported on return from
4114                         ActivateConnection() and don't get lost.  If scheduled as an idle
4115                         handler, clients don't have the time to query NM for the new VPN
4116                         connection's properties before the VPN connection is torn down again
4117                         if the service couldn't be launched, and therefore launch errors
4118                         get lost.
4119
4120 2008-03-31  Dan Williams  <dcbw@redhat.com>
4121
4122         * src/vpn-manager/nm-vpn-connection.c
4123                 - (device_state_changed): send correct state on device failure too
4124                 - (plugin_state_changed): failed state means unexpected disconnection,
4125                         thus if the service goes away while the VPN connection is activated
4126                         that's a failure too
4127
4128 2008-03-31  Dan Williams  <dcbw@redhat.com>
4129
4130         * src/vpn-manager/nm-vpn-manager.c
4131           src/vpn-manager/nm-vpn-manager.h
4132                 - Make VPNManager errors more available; add a service-start-failed error
4133
4134 2008-03-31  Dan Williams  <dcbw@redhat.com>
4135
4136         * libnm-glib/nm-client.c
4137           libnm-glib/nm-client.h
4138                 - (activate_cb): pass the new active connection to callback; fix
4139                         message when no callback is specified
4140
4141 2008-03-30  Dan Williams  <dcbw@redhat.com>
4142
4143         * libnm-util/nm-setting-wireless-security.c
4144                 - (need_secrets): only require key0 if the transmit key index is also
4145                         0
4146                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4147
4148 2008-03-29  Dan Williams  <dcbw@redhat.com>
4149
4150         * libnm-util/nm-setting-8021x.c
4151           libnm-util/nm-setting-ip4-config.c
4152           libnm-util/nm-setting-vpn-properties.c
4153           libnm-util/nm-setting-vpn.c
4154           libnm-util/nm-setting-wireless-security.c
4155           libnm-util/nm-setting-wireless.c
4156           libnm-util/nm-utils.c
4157           src/dhcp-manager/nm-dhcp-manager.c
4158           src/nm-activation-request.c
4159           src/nm-ip4-config.c
4160           src/nm-manager.c
4161           src/nm-properties-changed-signal.c
4162           src/ppp-manager/nm-pppd-plugin.c
4163           src/supplicant-manager/nm-supplicant-interface.c
4164           src/vpn-manager/nm-vpn-connection.c
4165                 - consistently use nm-dbus-glib-types.h
4166
4167 2008-03-29  Dan Williams  <dcbw@redhat.com>
4168
4169         * src/vpn-manager/nm-vpn-connection.c
4170                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4171                         not string
4172
4173         * src/nm-activation-request.c
4174                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4175                         not string
4176
4177 2008-03-29  Dan Williams  <dcbw@redhat.com>
4178
4179         * libnm-glib/nm-device-802-11-wireless.c
4180                 - (access_point_added_proxy): create new APs if not found
4181
4182 2008-03-29  Dan Williams  <dcbw@redhat.com>
4183
4184         * libnm-glib/nm-client.c
4185                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4186                         before freeing them
4187
4188 2008-03-29  Dan Williams  <dcbw@redhat.com>
4189
4190         * system-settings/plugins/ifcfg-fedora/parser.c
4191                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4192                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4193
4194 2008-03-29  Dan Williams  <dcbw@redhat.com>
4195
4196         * system-settings/plugins/ifcfg-fedora/parser.c
4197                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4198
4199 2008-03-27  Dan Williams  <dcbw@redhat.com>
4200
4201         * nm-object.c
4202                 - (nm_object_queue_notify): don't notify multiple times for the same
4203                         property
4204
4205         * nm-object-private.h
4206                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4207                         if it has zero elements
4208
4209         * nm-ip4-config.c
4210                 - (finalize): use g_ptr_array_foreach() when freeing domains
4211                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4212
4213         * nm-active-connection.c
4214                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4215
4216         * nm-device-802-11-wireless.c
4217           nm-device-802-11-wireless.h
4218                 - (nm_device_802_11_wireless_get_access_points): return const; use
4219                         handle_ptr_array_return()
4220
4221         * nm-types.c
4222                 - (nm_object_array_demarshal): always create an array, even of length
4223                         zero, to distinguish between "NM returned no items" and "haven't
4224                         asked NM yet"
4225
4226         * nm-client.c
4227                 - (dispose): free active connections too
4228                 - (proxy_name_owner_changed): free active connections too when NM goes
4229                         away
4230                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4231                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4232
4233 2008-03-26  Dan Williams  <dcbw@redhat.com>
4234
4235         Rework VPN connection handling for a more consistent D-Bus API.  The
4236         VPNManager object has been removed, and active VPN connections are now the
4237         same as any other active connection.  The Manager object's ActivateConnection
4238         and DeactivateConnection methods are used to start and stop a VPN connection,
4239         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4240         When activating a VPN connection, pass the path of the active connection
4241         to which the VPN connection is tied in the 'specific_object' argument.
4242
4243         Consequently, the libnm-glib API has been reworked to match this arrangement,
4244         with the VPNManager object removed, and the NMVPNConnection objects now
4245         being subclasses of NMActiveConnection.
4246
4247 2008-03-25  Dan Williams  <dcbw@redhat.com>
4248
4249         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4250
4251         * initscript/Arch/networkmanager.in
4252           initscript/Arch/networkmanager-dispatcher.in
4253                 - Updates for Arch Linux (gnome.org #523701)
4254
4255 2008-03-25  Dan Williams  <dcbw@redhat.com>
4256
4257         * libnm-glib/nm-ip4-config.c
4258           libnm-glib/nm-active-connection.c
4259           libnm-glib/nm-access-point.c
4260                 - Use nm_object_queue_notify() instead of g_object_notify()
4261
4262         * libnm-glib/nm-device.c
4263                 - (demarshal_ip4_config): distinguish between successful but missing
4264                         ip4-config request, and unsuccessful and missing ip4-config request
4265                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4266                         path
4267                 - Use nm_object_queue_notify() instead of g_object_notify()
4268
4269         * libnm-glib/nm-device-802-11-wireless.c
4270                 - (demarshal_active_ap): distinguish between successfull but missing
4271                         active-ap request, and unsuccessful and missing active-ap request
4272                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4273                         code
4274                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4275                         for the NMClient to notify the device that wireless is disabled,
4276                         and therefore to clear the AP list and active AP
4277                 - Use nm_object_queue_notify() instead of g_object_notify()
4278
4279         * libnm-glib/nm-client.c
4280                 - (poke_wireless_devices_with_rf_status): new function
4281                 - (update_wireless_status): notify wireless devices of the rfkill status
4282                         so they can clean up if needed
4283                 - Use nm_object_queue_notify() instead of g_object_notify()
4284
4285 2008-03-25  Dan Williams  <dcbw@redhat.com>
4286
4287         * libnm-glib/nm-object.c
4288           libnm-glib/nm-object-private.h
4289                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4290                         signals to an idle handler
4291                 - (nm_object_get_property): add a timeout to the D-Bus method call
4292
4293 2008-03-25  Dan Williams  <dcbw@redhat.com>
4294
4295         * introspection/nm-device-cdma.xml
4296           introspection/nm-device-gsm.xml
4297           introspection/Makefile.am
4298           introspection/all.xml
4299                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4300
4301         * src/nm-gsm-device.h
4302           src/nm-gsm-device.c
4303           src/nm-cdma-device.h
4304           src/nm-cdma-device.c
4305           src/Makefile.am
4306                 - Implement PropertiesChanged signals
4307
4308         * libnm-glib/nm-cdma-device.c
4309           libnm-glib/nm-cdma-device.c
4310                 - Attach to PropertiesChanged signals
4311
4312 2008-03-24  Dan Williams  <dcbw@redhat.com>
4313
4314         * libnm-glib/nm-client.c
4315                 - (client_device_added_proxy): add new devices to the internal device
4316                         list so they appear to clients
4317
4318 2008-03-24  Dan Williams  <dcbw@redhat.com>
4319
4320         Massive fixup of libnm-glib to:
4321         a) have all objects (with the exception of VPN) cache their properties and
4322                 update them asynchronously on PropertiesChanged signals from NM
4323         b) return internal const data for most attributes/properties instead of
4324                 allocated values that the caller must free
4325         c) cache wrapped objects such that a given D-Bus path will always map to the
4326                 same GObject returned by libnm-glib
4327         d) remove a few signals and move them to GObject property notifications
4328         e) match recent NM D-Bus API changes for activation/deactivation
4329         f) remove some private functions from libnm-glib headers
4330
4331 2008-03-20  Dan Williams  <dcbw@redhat.com>
4332
4333         * src/nm-manager.c
4334                 - (nm_manager_update_state, manager_device_state_changed,
4335                    nm_manager_activate_device, connection_added_default_handler,
4336                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4337                         queue PropertyChanged singals when the active connections change
4338
4339 2008-03-20  Dan Williams  <dcbw@redhat.com>
4340
4341         * introspection/nm-manager.xml
4342           introspection/nm-manager-client.xml
4343                 - (ActivateConnection): return the object path of the active connection
4344                         on success
4345                 - (GetActiveConnections): remove
4346                 - (DeactivateConnection): new function; deactivate a currently active
4347                         connection
4348                 - Add an ActiveConnections property which returns an array of
4349                         active connection object paths
4350
4351         * introspection/nm-device.xml
4352                 - (Deactivate): remove
4353
4354         * introspection/all.xml
4355                 - Add ActiveConnection introspection
4356
4357         * introspection/nm-active-connection.xml
4358                 - Add the ActiveConnection object
4359
4360         * include/NetworkManager.h
4361                 - Add the Connection.Active D-Bus interface
4362
4363         * src/nm-device-interface.c
4364                 - (impl_device_deactivate): remove
4365
4366         * src/nm-activation-request.c
4367           src/nm-activation-request.c
4368           src/Makefile.am
4369                 - Implement the Connection.Active D-Bus interface
4370
4371         * src/nm-manager.c
4372                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4373                 - (nm_manager_activate_device): return the active connection path
4374                 - (connection_added_default_handler, impl_manager_activate_connection):
4375                         return the active connection to the caller
4376                 - (add_one_connection_element, impl_manager_get_active_connections):
4377                         remove
4378                 - (impl_manager_deactivate_connection): new function; deactivate an
4379                         active connection
4380
4381         * libnm-glib/nm-device.c
4382           libnm-glib/nm-device.h
4383                 - Remove Deactivate() function
4384
4385 2008-03-19  Dan Williams  <dcbw@redhat.com>
4386
4387         * introspection/nm-manager.xml
4388           introspection/nm-manager-client.xml
4389                 - Rename the ActivateDevice method to ActivateConnection to better
4390                         reflect it's usage; it's arguments get reordered a bit too
4391                 - Convert GetActiveConnections method return from a struct to a dict
4392
4393         * include/NetworkManager.h
4394                 - Define the dict keys for return value of GetActiveConnections
4395
4396         * src/nm-manager.c
4397                 - impl_manager_activate_device -> impl_manager_activate_connection
4398                 - (add_one_connection_element): return a populated hash table, not
4399                         a structure
4400
4401         * libnm-glib/nm-client.c
4402           libnm-glib/nm-client.h
4403                 - nm_client_activate_device -> nm_client_activate_connection
4404                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4405                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4406                         instead of the custom structures.  Each element of the returned list
4407                         must be freed with nm_client_free_active_connections_element()
4408
4409 2008-03-18  Dan Williams  <dcbw@redhat.com>
4410
4411         * system-settings/plugins/ifcfg-fedora/parser.c
4412           system-settings/plugins/ifcfg-fedora/parser.h
4413           system-settings/plugins/ifcfg-fedora/plugin.c
4414                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4415                         profiles.  DNS servers and searches must now be stored in the ifcfg
4416                         files themselves
4417
4418 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4419
4420         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4421         print out username and password, it's supposed to be a secret.
4422
4423         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4424         request and set the device state accordingly.
4425
4426 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4427
4428         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4429
4430         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4431
4432 2008-03-18  Dan Williams  <dcbw@redhat.com>
4433
4434         * src/vpn-manager/nm-vpn-connection.c
4435                 - (get_secrets_cb): handle new GetSecrets return format
4436
4437 2008-03-18  Dan Williams  <dcbw@redhat.com>
4438
4439         Adapt system settings service for split 802.1x.
4440
4441         * system-settings/src/nm-system-config-interface.h
4442                 - clarify return value of get_secrets()
4443
4444         * system-settings/src/dbus-settings.c
4445                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4446                 - (check_for_secrets): check if there actually secrets returned by a
4447                         plugin
4448                 - (exported_connection_get_secrets): just return the plugin-returned
4449                         hash of settings' secrets if it looks valid
4450
4451         * system-settings/plugins/ifcfg-fedora/plugin.c
4452                 - (get_secrets): add split secrets with correct format to reply hash
4453
4454         * system-settings/plugins/ifcfg-fedora/parser.c
4455           system-settings/plugins/ifcfg-fedora/parser.h
4456                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4457                    connection_data_free, connection_data_add): keep secrets for
4458                         different settings in different hashes
4459
4460 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4461
4462         Clean up activating device deactivation.
4463
4464         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4465         should be done whether the device activation gets cancelled or the device
4466         is just getting deactivated.
4467         (nm_device_activation_cancel): Remove.
4468         (nm_device_deactivate_quickly): Handle the case where device is activating.
4469
4470         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4471         It does the exact same thing as real_deactivate_quickly().
4472
4473 2008-03-17  Dan Williams  <dcbw@redhat.com>
4474
4475         Split the 802.1x bits out of the wireless-security setting so they are
4476         generalized enough for wired 802.1x to use too.
4477
4478         * introspection/nm-exported-connection.xml
4479                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4480                         of just a hash of the secrets for one setting
4481
4482         * libnm-util/nm-setting-wireless-security.c
4483           libnm-util/nm-setting-wireless-security.h
4484                 - Remove 802.1x-specific stuff
4485                 - Added leap-username and leap-password properties for old-school LEAP
4486
4487         * src/nm-device.c
4488           src/nm-device.h
4489                 - (connection_secrets_updated_cb): take a list of updated settings names,
4490                         not just one
4491
4492         * src/supplicant-manager/nm-supplicant-config.c
4493           src/supplicant-manager/nm-supplicant-config.h
4494                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4495                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4496                         to nm_supplicant_config_add_setting_8021x()
4497                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4498                         the supplicant config
4499
4500         * src/nm-device-802-11-wireless.c
4501                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4502                 - (real_connection_secrets_updated): take a list of updated settings
4503                         names, not just one
4504
4505         * src/nm-device-802-3-ethernet.c
4506           src/nm-cdma-device.c
4507           src/nm-gsm-device.c
4508                 - (real_connection_secrets_updated_cb): take a list of updated settings
4509                         names, not just one
4510
4511         * src/nm-activation-request.c
4512           src/nm-activation-request.h
4513                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4514                         now passes a list of updated settings names, not just one
4515                 - (update_one_setting): new function; handle one updated setting
4516                 - (get_secrets_cb): handle multiple settings returned from the
4517                         settings service; have to be careful of ordering here as there are
4518                         some dependencies between settings (ex. wireless-security and 802.1x
4519                         in some cases)
4520
4521         * src/marshallers/nm-marshal.list
4522                 - new marshaller for connection-secrets-updated signal
4523
4524         * libnm-util/nm-setting-8021x.c
4525                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4526                         methods
4527                 - (verify): a valid 'eap' property is now required
4528
4529         * libnm-util/nm-connection.c
4530                 - (register_default_settings): add priorities to settings; there are
4531                         some dependencies between settings, and during the need_secrets
4532                         calls this priority needs to be respected.  For example, only the
4533                         wireless-security setting knows whether or not the connection is
4534                         going to use 802.1x or now, so it must be asked for secrets before
4535                         any existing 802.1x setting is
4536                 - (nm_connection_lookup_setting_type): expose
4537
4538         * libnm-util/nm-setting-wireless.c
4539                 - (verify): should verify even if all_settings is NULL; otherwise won't
4540                         catch the case where there is missing security
4541
4542         * libnm-util/nm-setting-wireless-security.c
4543                 - Remove everything to do with 802.1x
4544                 - Add old-school LEAP specific properties for username and password
4545                 - (need_secrets): rework LEAP secrets checking
4546                 - (verify): rework for LEAP and 802.1x verification
4547
4548 2008-03-17  Dan Williams  <dcbw@redhat.com>
4549
4550         * src/NetworkManagerPolicy.c
4551                 - (auto_activate_device): always remove the current activation check
4552                         from the pending activation list, otherwise when the policy gets
4553                         destroyed on NM exit it will attempt to free the already freed
4554                         activation check
4555
4556 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4557
4558         * src/backends/NetworkManagerSlackware.c 
4559         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4560
4561         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4562
4563 2008-03-14  Dan Williams  <dcbw@redhat.com>
4564
4565         * src/nm-manager.c
4566                 - (nm_device_interface_get_iface): g_object_get() will return an
4567                         allocated value, so this function must not return const
4568                 - (nm_device_interface_activate): free returned iface
4569
4570 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4571
4572         * libnm-util/Makefile.am: Add new files to build.
4573
4574         * libnm-util/nm-connection.c: Register NMSetting8021x.
4575
4576         * libnm-util/nm-setting-8021x.c
4577         * libnm-util/nm-setting-8021x.h: Implement.
4578
4579 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4580
4581         * libnm-util/Makefile.am: Add new files to build.
4582
4583         * libnm-util/nm-connection.c: Register NMSetting8021x.
4584
4585         * libnm-util/nm-setting-8021x.c
4586         * libnm-util/nm-setting-8021x.h: Implement.
4587
4588 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4589
4590         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4591         data.
4592
4593 2008-03-14  Dan Williams  <dcbw@redhat.com>
4594
4595         * include/wireless-helper.h
4596           include/Makefile.am
4597                 - One place for all the junk needed for #including wireless.h
4598
4599         * test/nm-tool.c
4600           src/NetworkManagerAP.c
4601           src/wpa.c
4602           src/Makefile.am
4603           libnm-util/nm-utils.c
4604           libnm-util/nm-setting-wireless.c
4605           libnm-glib/nm-device-802-11-wireless.c
4606           libnm-glib/nm-access-point.c
4607           libnm-glib/libnm-glib-test.c
4608                 - include wireless-helper.h, not iwlib.h
4609
4610         * configure.in
4611                 - Don't need libiw really, just need to check for wireless.h
4612
4613         * src/kernel-types.h
4614                 - Remove; used types moved into wpa.c
4615
4616         * src/nm-device-802-11-wireless.c
4617                 - (nm_device_802_11_wireless_update_signal_strength,
4618                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4619                    nm_device_802_11_wireless_set_mode,
4620                    nm_device_802_11_wireless_get_frequency,
4621                    nm_device_802_11_wireless_get_ssid,
4622                    nm_device_802_11_wireless_set_ssid,
4623                    nm_device_802_11_wireless_get_bitrate,
4624                    nm_device_802_11_wireless_get_bssid,
4625                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4626                         instead of iwlib functions
4627
4628 2008-03-14  Dan Williams  <dcbw@redhat.com>
4629
4630         * src/ppp-manager/nm-ppp-manager.c
4631                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4632                         should only take the DBusGMethodInvocation argument, not user/pass
4633                         too.  With dbus-glib, async functions only take 2 C arguments since
4634                         the real dbus method arguments get passed back with
4635                         dbus_g_method_return()
4636
4637 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4638
4639         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4640         Adapt the changes of NMSettingIP4Config.
4641
4642 2008-03-13  Dan Williams  <dcbw@redhat.com>
4643
4644         * src/NetworkManagerUtils.c
4645           src/NetworkManagerUtils.h
4646                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4647
4648         * src/NetworkManagerAP.c
4649           src/nm-device-802-11-wireless.c
4650           src/nm-device-802-3-ethernet.c
4651                 - s/iw_ether_ntop/nm_ether_ntop/g
4652
4653 2008-03-13  Dan Williams  <dcbw@redhat.com>
4654
4655         * src/NetworkManagerPolicy.c
4656                 - (update_routing_and_dns): never set the default route through an
4657                         IPv4LL addressed device
4658
4659 2008-03-13  Dan Williams  <dcbw@redhat.com>
4660
4661         * NetworkManagerUtils.c
4662           NetworkManagerUtils.h
4663                 - Remove NMSock stuff
4664                 - Remove the completion stuff
4665
4666         * nm-device.c
4667           nm-device.h
4668           NetworkManager.c
4669           NetworkManagerSystem.c
4670           autoip.c
4671           nm-device-802-11-wireless.c
4672           nm-device-802-3-ethernet.c
4673                 - Remove NMSock and completion stuff
4674                 - Remove nm_ioctl_info()
4675
4676 2008-03-12  Dan Williams  <dcbw@redhat.com>
4677
4678         * src/nm-device.c
4679                 - (merge_ip4_config): avoid duplicates
4680
4681 2008-03-12  Dan Williams  <dcbw@redhat.com>
4682
4683         * libnm-util/nm-setting-ip4-config.c
4684           libnm-util/nm-setting-ip4-config.h
4685                 - Remove 'manual' and 'autoip' properties
4686                 - Add 'method' property
4687                 - (verify): fix verification with 'method'
4688                 - (finalize): free 'method'
4689                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4690                         up for 'method'
4691
4692         * src/nm-device.c
4693                 - (real_act_stage3_ip_config_start): check IP4Config method
4694                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4695                         the future
4696                 - (merge_ip4_config): IP settings are valid with DHCP too
4697                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4698                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4699
4700         * src/nm-device-802-11-wireless.c
4701                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4702                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4703                         only on demand
4704
4705         * system-settings/plugins/ifcfg-fedora/parser.c
4706           system-settings/plugins/ifcfg-suse/parser.c
4707                 - (make_ip4_setting): fix up for 'method'
4708
4709 2008-03-12  Dan Williams  <dcbw@redhat.com>
4710
4711         * system-settings/plugins/ifcfg-fedora/parser.c
4712           system-settings/plugins/ifcfg-fedora/parser.h
4713                 - (get_ifcfg_name): ignore more file suffixes
4714                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4715
4716 2008-03-12  Dan Williams  <dcbw@redhat.com>
4717
4718         * configure.in
4719                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4720
4721 2008-03-12  Dan Williams  <dcbw@redhat.com>
4722
4723         * system-settings/plugins/ifcfg-fedora/plugin.c
4724                 - (write_auto_wired_connection): new function; write out an auto
4725                         wired connection file since the applet isn't doing it any more
4726                 - (reload_all_connections): write out the auto wired connection file
4727                         if there aren't any wired connections already
4728                 - (init): don't leak a GError
4729
4730 2008-03-12  Dan Williams  <dcbw@redhat.com>
4731
4732         * src/nm-device-interface.c
4733                 - (nm_device_interface_activate): print the ID of the connection
4734                         that's about to be activated
4735
4736 2008-03-12  Dan Williams  <dcbw@redhat.com>
4737
4738         Harmonize the 802.11 bitrate API
4739
4740         * introspection/nm-access-point.xml
4741                 - 'Rate' -> 'MaxBitrate'; clarify units
4742
4743         * introspection/nm-device-802-11-wireless.xml
4744                 - Clarify units of 'Bitrate'
4745
4746         * src/NetworkManagerAP.c
4747           src/NetworkManagerAP.h
4748                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4749                         property to 'max-bitrate'
4750                 - (foreach_property_cb): convert rate to Kb/s
4751
4752         * src/nm-device-802-11-wireless.c
4753                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4754
4755         * libnm-glib/nm-access-point.c
4756           libnm-glib/nm-access-point.h
4757                 - 'rate' -> 'max-bitrate'
4758
4759         * test/nm-tool.c
4760           libnm-glib/libnm-glib-test.c
4761                 - Fix up for these changes
4762
4763 2008-03-12  Dan Williams  <dcbw@redhat.com>
4764
4765         * src/nm-device.c
4766                 - (nm_device_set_ip4_config): don't send property notifications when
4767                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4768                         which dbus-glib can't parse because the value is NULL, which isn't
4769                         a legal object path.  Setting the IP4 config to NULL is only
4770                         valid when deactivating a device anyway, so the device state change
4771                         will alert listeners that the ip4 config is invalid.
4772
4773 2008-03-12  Dan Williams  <dcbw@redhat.com>
4774
4775         * src/nm-properties-changed-signal.c
4776                 - (add_to_string): better handling of NULL objects
4777
4778 2008-03-12  Dan Williams  <dcbw@redhat.com>
4779
4780         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4781         convert the libnm-glib NMDevice8023Ethernet to cached properties
4782
4783         * introspection/nm-device-802-3-ethernet.xml
4784                 - New 'Carrier' property
4785                 - New 'PropertiesChanged' signal
4786
4787         * introspection/nm-device.xml
4788                 - Remove 'Carrier' property
4789                 - Remove 'CarrierChanged' signal
4790
4791         * src/nm-device-interface.c
4792           src/nm-device-interface.h
4793                 - (nm_device_interface_init): remove 'carrier' property and
4794                         'carrier-changed' signal
4795
4796         * src/nm-device.c
4797           src/nm-device.h
4798                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4799                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4800                         the link here; wired device will handle that
4801                 - (handle_dhcp_lease_change): don't bother updating link here
4802                 - (get_property, nm_device_class_init): remove carrier property
4803
4804         * src/nm-device-802-11-wireless.c
4805                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4806                         real_update_link(); wireless devices don't use carrier at all
4807                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4808                    supplicant_iface_connection_state_cb_handler,
4809                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4810
4811         * src/nm-device-802-3-ethernet.c
4812           src/nm-device-802-3-ethernet.h
4813                 - (nm_device_802_3_ethernet_carrier_on,
4814                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4815                         instead of nm_device_set_carrier()
4816                 - (device_state_changed): update link from sysfs on activation;
4817                         replaces real_update_link()
4818                 - (real_update_link): remove, replaced by device_state_changed()
4819                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4820                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4821                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4822                         new get_carrier function
4823                 - (get_property): add 'carrier' property
4824                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4825                         hook into property-changed signal helper
4826
4827         * src/NetworkManagerPolicy.c
4828                 - (device_carrier_changed): will only ever be called with a wired device
4829                 - (device_added): only hook up to carrier-changed for wired devices
4830
4831         * libnm-glib/nm-device.c
4832           libnm-glib/nm-device.h
4833                 - (constructor, nm_device_class_init): remove carrier-changed signal
4834                 - (device_carrier_changed_proxy): remove; unused
4835                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4836
4837         * libnm-glib/nm-device-802-3-ethernet.c
4838           libnm-glib/nm-device-802-3-ethernet.h
4839                 - Convert to cached properties like AP and Wireless objects
4840                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4841                         instead of a 'char *', return value should not be freed
4842                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4843                 - (constructor): hook into properties-changed helper
4844                 - (set_property, get_property): new functions
4845                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4846
4847         * test/nm-tool.c
4848                 - (detail_device): strdup the wired hardware address too since it's
4849                         cached now
4850
4851         * libnm-glib/libnm-glib-test.c
4852                 - (dump_wired): strdup the wired hardware address too since it's
4853                         cached now
4854
4855 2008-03-12  Dan Williams  <dcbw@redhat.com>
4856
4857         * libnm-util/nm-setting-ip4-config.c
4858           libnm-util/nm-setting-ip4-config.h
4859                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4860                         the 'autoip' property from the spec
4861
4862 2008-03-11  Dan Williams  <dcbw@redhat.com>
4863
4864         * src/backends/NetworkManagerGeneric.c
4865           src/backends/NetworkManagerGeneric.h
4866                 - (nm_generic_device_get_use_dhcp): remove
4867
4868 2008-03-11  Dan Williams  <dcbw@redhat.com>
4869
4870         * src/nm-device.c
4871                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4872                         already in nm_device_set_ip4_config()
4873                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4874                         due to a DHCP rebind fails
4875                 - (nm_device_set_ip4_config): send property notifications when the
4876                         ip4 config changes
4877                 - (get_property): only report IP4Config property during valid states
4878
4879         * src/NetworkManagerPolicy.c
4880                 - (update_routing_and_dns): ignore devices that don't have an ip4
4881                         config; add parameter 'force_update' to allow callers to specify
4882                         that changes should be made even if the default device doesn't change
4883                 - (device_ip4_config_changed): update DNS and routing when the device's
4884                         IP4Config changes, like for DHCP updates
4885                 - (device_added): listen for ip4-config property changes
4886
4887 2008-03-11  Dan Williams  <dcbw@redhat.com>
4888
4889         Fix address handling as a result of DHCP rebind/renew/reboot.
4890
4891         * src/NetworkManagerSystem.c
4892                 - (check_one_address): delete an address if it doesn't match a given
4893                         one for the same interface
4894                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4895                         be smarter about flushing addresses (only flush ones that don't
4896                         match the one we're about to apply)
4897
4898         * src/backends/NetworkManagerDebian.c
4899           src/backends/NetworkManagerSuSE.c
4900           src/backends/NetworkManagerArch.c
4901           src/backends/NetworkManagerSlackware.c
4902           src/backends/NetworkManagerRedHat.c
4903           src/backends/NetworkManagerPaldo.c
4904           src/backends/NetworkManagerFrugalware.c
4905           src/backends/NetworkManagerGentoo.c
4906                 - (nm_system_delete_default_route): remove
4907
4908         * src/backends/NetworkManagerGeneric.c
4909           src/backends/NetworkManagerGeneric.h
4910                 - (nm_generic_enable_loopback): fix the loopback device label
4911                 - (nm_generic_delete_default_route): remove; no longer used
4912
4913 2008-03-11  Dan Williams  <dcbw@redhat.com>
4914
4915         * src/nm-device-interface.h
4916                 - Delimit property name words with '-', otherwise g_object_notify()
4917                         doesn't work the way we expect
4918
4919 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4920
4921         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4922
4923 2008-03-11  Dan Williams  <dcbw@redhat.com>
4924
4925         * src/NetworkManagerPolicy.c
4926                 - (update_routing_and_dns): don't change anything if the default device
4927                         hasn't changed; print something out when switching the default route
4928                         and DNS
4929
4930 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4931
4932         Implement PPPoE.
4933
4934         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4935         setting. Use "nic-$eth".
4936
4937         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4938         the device is activating here to fix a race condition.
4939
4940         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4941
4942         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4943         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4944         (nm_ppp_manager_start): Take activation request instead of connection, we might
4945         need it for asking secrets.
4946         (nm_ppp_manager_update_secrets): Implement.
4947
4948         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4949         ppp manager start. It might be needed for asking secrets.
4950
4951         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4952         (ppp_state_changed): Handle pppd daemon disappearing.
4953         (pppoe_stage2_config): Send activation request to ppp manager start.
4954
4955         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4956
4957         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4958         username and password.
4959         
4960 2008-03-10  Dan Williams  <dcbw@redhat.com>
4961
4962         * src/nm-device.c
4963                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4964                         response to a DHCP lease change
4965                 - (dhcp_state_changed): handle DHCP lease changes while activated
4966                 - (nm_device_set_ip4_config): remove a previously set named config
4967                         when setting an ip4 config
4968
4969 2008-03-10  Dan Williams  <dcbw@redhat.com>
4970
4971         * src/nm-serial-device.c
4972                 - (nm_serial_device_send_command): report errno on error
4973                 - (get_reply_got_data): limit the size of the overall buffer
4974                 - (wait_for_reply_info_destroy): destroy result string
4975                 - (wait_for_reply_got_data): append received data to an overall buffer
4976                         until timeout, filled buffer, or error instead of keeping a per-call
4977                         buffer.  Some devices send data slowly enough that this function
4978                         gets called multiple times for the same command stream.
4979                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4980                         wait_for_reply_got_data() here
4981
4982 2008-03-10  Dan Williams  <dcbw@redhat.com>
4983
4984         * src/nm-cdma-device.c
4985                 - (do_dial, init_modem): handle errors from
4986                         nm_serial_device_send_command_string()
4987
4988         * src/nm-gsm-device.c
4989                 - (do_dial, manual_registration, automatic_registration_get_network,
4990                    automatic_registration, enter_pin, check_pin, init_modem): handle
4991                         errors from nm_serial_device_send_command_string()
4992
4993 2008-03-10  Dan Williams  <dcbw@redhat.com>
4994
4995         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4996
4997         * src/named-manager/nm-named-manager.c
4998                 - (compute_searches): prefer searches before domains
4999                 - (compute_domain): new function
5000                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5001                 - (merge_one_ip4_config): if there are no searches in the source config,
5002                         merge domains of the source config into the target config
5003                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5004
5005 2008-03-10  Dan Williams  <dcbw@redhat.com>
5006
5007         * src/nm-serial-device.c
5008                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5009                 - (wait_for_reply_got_data): try to handle slower serial devices where
5010                         the reply is broken up into multiple reads by concatenating replies
5011                         together until either an error is received or the search string is
5012                         found
5013
5014 2008-03-10  Dan Williams  <dcbw@redhat.com>
5015
5016         * src/nm-device.c
5017                 - (nm_device_bring_down): deactivate the device if it's activating too,
5018                         not just if it's already activated.  This makes sure that everything
5019                         from an association attempt is cleaned up (like DHCP for example)
5020
5021 2008-03-10  Dan Williams  <dcbw@redhat.com>
5022
5023         * src/nm-serial-device.c
5024                 - (config_fd): report error from TCSETA
5025                 - (nm_serial_device_open): fail when config_fd() fails
5026
5027 2008-03-10  Dan Williams  <dcbw@redhat.com>
5028
5029         * src/nm-ip4-config.c
5030                 - (nm_ip4_config_init): allocate searches list
5031                 - (finalize): free searches list
5032
5033 2008-03-09  Dan Williams  <dcbw@redhat.com>
5034
5035         Patch from Bas Zoetekouw <bas@debian.org>
5036
5037         * src/dhcp-manager/nm-dhcp-manager.c
5038                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5039
5040 2008-03-09  Dan Williams  <dcbw@redhat.com>
5041
5042         Patch from Bas Zoetekouw <bas@debian.org>
5043
5044         * src/nm-ip4-config.c
5045           src/nm-ip4-config.h
5046                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5047                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5048                         domains.  'searches' is the correct way to store multiple search
5049                         domains, whereas 'domains' is really just supposed to store one
5050                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5051                         search domains to the client.
5052                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5053
5054 2008-03-09  Dan Williams  <dcbw@redhat.com>
5055
5056         * src/dhcp-manager/nm-dhcp-manager.c
5057                 - (dhclient_run): send interface-specific config files to dhclient
5058
5059 2008-03-07  Dan Williams  <dcbw@redhat.com>
5060
5061         * system-settings/plugins/ifcfg-fedora/parser.c
5062                 - (is_wireless_device): new function; test a device for wireless
5063                         extensions
5064                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5065                         test the device for wireless extensions to determine the type
5066
5067 2008-03-07  Dan Williams  <dcbw@redhat.com>
5068
5069         Change manager's StateChange signal to StateChanged for consistency.
5070
5071         * introspection/nm-manager.xml
5072                 - Add 'StateChanged' signal
5073                 - Move 'StateChange' down to the deprecated section
5074
5075         * src/nm-hal-manager.c
5076                 - (nm_hal_manager_new): connect to 'state-changed' instead
5077
5078         * src/NetworkManagerPolicy.c
5079                 - (nm_policy_new): connect to 'state-changed' instead
5080
5081         * src/nm-manager.c
5082           src/nm-manager.h
5083                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5084                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5085                         of 'state-change'
5086
5087         * libnm-glib/nm-client.c
5088           libnm-glib/nm-client.h
5089                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5090                         track and proxy 'state-changed' instead of 'state-change'
5091
5092 2008-03-07  Dan Williams  <dcbw@redhat.com>
5093
5094         First pass of multiple active device support.  Expect bugs.
5095
5096         * src/nm-ip4-config.c
5097           src/nm-ip4-config.h
5098                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5099                         there are better ways to do this in the named manager
5100
5101         * src/nm-device.c
5102           src/nm-device.h
5103                 - (nm_device_can_activate): return whether the device can activate a
5104                         connection right now; taking into account things like carrier state
5105                         and rfkill state
5106                 - (nm_device_get_best_auto_connection): renamed from
5107                         nm_device_get_best_connection
5108                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5109                         device subclasses themselves, so that each device can override the
5110                         MTU from it's NMSetting subclass if needed
5111                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5112                         in NetworkManagerSystem.c, not here
5113
5114         * src/named-manager/nm-named-manager.c
5115           src/named-manager/nm-named-manager.h
5116                 - (nm_named_manager_name_owner_changed,
5117                    nm_named_manager_dbus_connection_changed): fix for changes to
5118                         rewrite_resolv_conf()
5119                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5120                         from parameter list
5121                 - (merge_one_ip4_config): new function; merge ip4 configs together
5122                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5123                         ip4 configs; the VPN config takes precedence, then the best
5124                         device config, then the rest of the configs
5125                 - (get_domain_for_config): take the NMNamedManager as an argument
5126                         to check whether the config is the VPN config
5127                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5128                         attribute from ip4 configs
5129                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5130                 - (remove_ip4_config_from_named): fix for changes to
5131                         get_domain_for_config()
5132                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5133                         based on its type; callers must pass in the type now
5134                 - (get_last_default_domain): remove, unused
5135                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5136
5137         * src/nm-device-802-11-wireless.c
5138                 - (real_can_activate): new function
5139                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5140                 - (real_act_stage4_get_ip4_config): handle MTU override
5141
5142         * src/nm-device-802-3-ethernet.c
5143                 - (real_can_activate): new function
5144                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5145                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5146
5147         * src/vpn-manager/nm-vpn-connection.c
5148                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5149                         attribute on the ip4 config
5150
5151         * src/NetworkManagerPolicy.c
5152                 - (nm_policy_auto_get_best_device): remove
5153                 - (nm_policy_device_change_check): remove
5154                 - (update_default_route): new function; set the default route via
5155                         the specified device
5156                 - (get_device_priority): new function; return the priority number of
5157                         a device type WRT which one should have the default route.  Order is
5158                         (highest to lowest)  wired, wireless, GSM, CDMA.
5159                 - (update_routing_and_dns): new function; determine which device should
5160                         have the default route, then update the routing table and DNS
5161                 - (maybe_auto_activate_device): new function; if a device is now
5162                         available for activation, find out what connection it would like to
5163                         activate and do it
5164                 - (schedule_activate_check): new function; if a device can be activated
5165                         now, schedule the activation.  Each device may have only one
5166                         pending activation at a given time.
5167                 - (device_state_changed): if activation was canceled, try again,
5168                         possibly with another connection; if the device was activated,
5169                         update routing and DNS; if the device was deactivated, try again
5170                         with another connection
5171                 - (device_carrier_changed): if there is no carrier, deactivate the
5172                         device; otherwise schedule an activation check for the device
5173                 - (wireless_networks_changed): schedule an activation check for the
5174                         device
5175                 - (device_added): keep track of the signal handler IDs so they can
5176                         be removed when the device goes away
5177                 - (device_removed): remove any signal handlers that might be attached
5178                         to the device; update routing and DNS
5179                 - (schedule_activate_all): new function
5180                 - (connections_added, connection_added, connection_updated): when
5181                         connections change, schedule all devices for an activation check
5182                 - (connection_removed): when a device is deactivated because its
5183                         connection was removed, schedule another activation check for it
5184                 - (nm_policy_destroy): destroy pending activations and disconnect
5185                         all device signal handlers
5186
5187         * src/nm-manager.c
5188                 - (nm_manager_activate_device): if the device was already actived,
5189                         deactivate it
5190                 - (deactivate_old_device): remove
5191                 - (connection_added_default_handler, impl_manager_activate_device):
5192                         don't deactivate other devices when activating this one
5193
5194         * src/backends/NetworkManagerGentoo.c
5195           src/backends/NetworkManagerFrugalware.c
5196           src/backends/NetworkManagerPaldo.c
5197           src/backends/NetworkManagerRedHat.c
5198           src/backends/NetworkManagerSlackware.c
5199           src/backends/NetworkManagerArch.c
5200           src/backends/NetworkManagerSuSE.c
5201           src/backends/NetworkManagerDebian.c
5202                 - (nm_system_get_mtu): remove; MTU should be provided through the
5203                         distro's system settings service plugin instead
5204                 - (nm_system_device_add_default_route_via_device): remove
5205                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5206                 - (nm_system_device_replace_default_route): new function; call
5207                         generic implementation
5208
5209         * src/backends/NetworkManagerGeneric.c
5210           src/backends/NetworkManagerGeneric.h
5211                 - (nm_generic_device_add_default_route_via_device,
5212                    nm_generic_device_add_default_route_via_device_with_iface): remove
5213                 - (nm_generic_device_replace_default_route): replace the default route
5214                         with the given route via some gateway
5215
5216         * src/NetworkManagerSystem.c
5217           src/NetworkManagerSystem.h
5218                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5219                         to routing and DNS; but set the MTU here
5220                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5221                         ip_iface of the active device; use the standard MTU setting function
5222                 - (nm_system_set_mtu): remove
5223                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5224
5225 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5226
5227         Rework the interaction between ppp manager and pppd plugin. Register a well
5228         known DBUS service in manager and let the plugin call it's methods instead
5229         of listening plugin's signals.
5230
5231         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5232         of emitting signals.
5233
5234         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5235
5236         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5237
5238         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5239         nm_ppp_manager_start().
5240
5241         * introspection/nm-ppp-manager.xml: New file.
5242
5243         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5244         the case correctly where driver is trying to send -1 for the speed, which gets
5245         casted to u16 and thus is always > 0.
5246
5247 2008-03-07  Dan Williams  <dcbw@redhat.com>
5248
5249         * src/nm-hal-manager.c
5250                 - (nm_get_device_driver_name): use net.originating_device first, fall
5251                         back to physical device.  HAL has deprecated physical_device.
5252
5253         * libnm-glib/nm-device.c
5254                 - (get_product_and_vendor): use net.originating_device first, fall
5255                         back to physical device.  HAL has deprecated physical_device.
5256                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5257
5258 2008-03-07  Dan Williams  <dcbw@redhat.com>
5259
5260         * src/nm-netlink.c
5261                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5262                         last commit; fix that
5263                 - (get_link_cache): print error string
5264
5265 2008-03-07  Dan Williams  <dcbw@redhat.com>
5266
5267         * src/nm-netlink.c
5268                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5269                         don't need this hack any more (Benoit Boissinot)
5270
5271 2008-03-06  Dan Williams  <dcbw@redhat.com>
5272
5273         * autogen.sh
5274                 - Die gnome-common, die
5275
5276 2008-03-04  Dan Williams  <dcbw@redhat.com>
5277
5278         Patch from Michael Biebl <biebl@debian.org>
5279
5280         * NetworkManager.pc.in
5281                 - doesn't actually depend on dbus-1
5282
5283         * libnm-util/nm-utils.h
5284                 - remove unused #include <dbus/dbus.h>
5285
5286         * libnm-glib/libnm_glib.pc.in
5287                 - depends on glib and dbus-glib
5288
5289 2008-03-02  Dan Williams  <dcbw@redhat.com>
5290
5291         * src/NetworkManagerPolicy.c
5292                 - s/device_state_changed_idle_id/update_state_id/
5293
5294 2008-03-02  Dan Williams  <dcbw@redhat.com>
5295
5296         * src/nm-device.c
5297           src/nm-device.h
5298           src/nm-device-802-11-wireless.c
5299           src/nm-device-802-3-ethernet.c
5300           src/NetworkManagerPolicy.c
5301                 - s/link_active/carrier
5302                 - nm_device_set_active_link() -> nm_device_set_carrier()
5303                 - nm_device_has_active_link() -> nm_device_get_carrier()
5304
5305 2008-03-02  Dan Williams  <dcbw@redhat.com>
5306
5307         * system-settings/plugins/ifcfg-fedora/parser.c
5308                 - (make_wireless_setting): fail connection creation on missing SSID
5309
5310 2008-02-29  Dan Williams  <dcbw@redhat.com>
5311
5312         * src/NetworkManagerPolicy.c
5313                 - (nm_policy_device_change_check): ensure that a previously active
5314                         device with a system connection has a link before denying a switch
5315                         to a user connection
5316
5317 2008-02-29  Dan Williams  <dcbw@redhat.com>
5318
5319         * src/nm-device-802-11-wireless.c
5320                 - (link_timeout_cb): try again if scanning; deactivate the device when
5321                         activated if the link dies
5322                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5323                         15 seconds
5324
5325 2008-02-29  Dan Williams  <dcbw@redhat.com>
5326
5327         * src/nm-device-802-11-wireless.c
5328           src/nm-device-802-11-wireless.h
5329                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5330                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5331                 - (device_cleanup): reset the scan interval lower when the device
5332                         deactivates
5333                 - (can_scan): base decision mostly off device state, not supplicant
5334                         interface state since the supplicant interface state isn't a
5335                         great indicator of whether the device is active or not
5336                 - (request_wireless_scan): clean up; schedule the next scan here
5337                 - (schedule_scan): only back the scan interval off if a new scan
5338                         actually gets scheduled; and make scan intervals tighter when the
5339                         device is disconnected
5340                 - (supplicant_iface_state_cb_handler): fold in the bits of
5341                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5342                         interval to minimum
5343                 - (activation_success_handler): reset scan interval to something
5344                         reasonable 
5345
5346 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5347
5348         reviewed by: Steev <steev@steev.net>
5349
5350         * configure.in:
5351         * src/backends/NetworkManagerGentoo.c:
5352         (nm_system_restart_mdns_responder):
5353                 Howl is no longer a supported mDNS provider
5354
5355 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5356
5357         Get rid of a bunch of unused distro specific functions.
5358
5359 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5360
5361         Implement suse plugin for system settings daemon.
5362
5363         * system-settings/plugins/ifcfg-suse/*: Implement.
5364
5365         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5366         suse.
5367
5368         * configure.in: Check (without failing) for gio.
5369         Create ifcfg-suse plugin's Makefile.
5370
5371 2008-02-20  Dan Williams  <dcbw@redhat.com>
5372
5373         * libnm-util/nm-connection.c
5374           libnm-util/nm-connection.h
5375                 - (nm_connection_compare): accept compare flags and pass them to the
5376                         setting compare function
5377
5378         * libnm-util/nm-setting.c
5379           libnm-util/nm-setting.h
5380                 - (nm_setting_compare): accept compare flags; ignore properties that are
5381                         marked fuzzy
5382
5383         * libnm-util/nm-setting-connection.c
5384           libnm-util/nm-setting-wireless.c
5385           libnm-util/nm-setting-ppp.c
5386           libnm-util/nm-setting-wired.c
5387                 - Mark some setting properties as ignorable when doing a fuzzy compare
5388
5389         * src/nm-device.c
5390                 - (device_activation_precheck): use exact compare
5391
5392 2008-02-20  Dan Williams  <dcbw@redhat.com>
5393
5394         * src/NetworkManagerPolicy.c
5395                 - (nm_policy_device_change_check): get scope off the connection, not
5396                         using the manager helper
5397
5398         * src/nm-manager.c
5399           src/nm-manager.h
5400                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5401                 - (connection_get_settings_cb): set scope and path on connection, not
5402                         using GObject data items
5403                 - (get_connection_for_proxy): don't need to return path, since that
5404                         can be gotten from the connection
5405                 - (get_connection_for_proxy): get path off the connection, not from
5406                         parameters
5407                 - (connection_removed_cb, connection_updated_cb): don't need to get
5408                         path from get_connection_for_proxy(); get scope off the connection
5409                         instead of using GObject data items
5410                 - (connection_added_default_handler, add_one_connection_element): use
5411                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5412                 - (nm_manager_get_connection_dbus_path): remove
5413                 - (nm_manager_get_connection_scope): remove
5414
5415 2008-02-20  Dan Williams  <dcbw@redhat.com>
5416
5417         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5418                 on confusing names
5419
5420         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5421                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5422                 NMExportedConnection
5423
5424         * Internally rename NMConnectionType -> NMConnectionScope
5425
5426         * Provide default implementations of the 'get_id' and 'get_settings' methods
5427                 of NMExportedConnection
5428
5429 2008-02-15  Dan Williams  <dcbw@redhat.com>
5430
5431         * src/nm-device-802-11-wireless.c
5432                 - (device_cleanup): release the AP list here too so that the AP list
5433                         doesn't survive across suspend/resume and up/down.  There is some
5434                         room for optimization, for example blow the list away when the card
5435                         brought back up, but only if the device has only been down for a
5436                         minute or more.
5437
5438 2008-02-15  Dan Williams  <dcbw@redhat.com>
5439
5440         * src/nm-hal-manager.c
5441                 - (modem_device_creator): recognize new HAL modem capabilities
5442
5443 2008-02-12  Dan Williams  <dcbw@redhat.com>
5444
5445         * system-settings/plugins/ifcfg-fedora/plugin.c
5446                 - (watch_path): handle IN_DELETE_SELF too
5447                 - (handle_connection_changed): notify when removing a connection
5448                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5449                         case of a file moving out of the profile directory
5450
5451 2008-02-12  Dan Williams  <dcbw@redhat.com>
5452
5453         * system-settings/plugins/ifcfg-fedora/parser.c
5454                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5455
5456 2008-02-12  Dan Williams  <dcbw@redhat.com>
5457
5458         * libnm-util/nm-utils.c
5459                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5460                         just any empty array
5461
5462 2008-02-12  Dan Williams  <dcbw@redhat.com>
5463
5464         * system-settings/src/nm-system-config-interface.c
5465           system-settings/src/nm-system-config-interface.h
5466                 - (load_connections): get_connections() should now return an allocated
5467                         GSList that the system settings service will free
5468
5469         * system-settings/plugins/ifcfg-fedora/plugin.c
5470           system-settings/plugins/ifcfg-fedora/parser.h
5471           system-settings/plugins/ifcfg-fedora/parser.c
5472                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5473                         in the profile directory, handle resolv.conf file changes
5474
5475 2008-02-10  Dan Williams  <dcbw@redhat.com>
5476
5477         * src/nm-device-802-3-ethernet.c
5478                 - (real_bring_up): save the supplicant interface state signal id
5479                 - (real_bring_down): disconnect from the supplicant interface state
5480                         signal
5481
5482 2008-02-07  Dan Williams  <dcbw@redhat.com>
5483
5484         * initscript/RedHat/NetworkManager.in
5485           initscript/RedHat/NetworkManagerDispatcher.in
5486                 - Add new-style LSB init headers
5487
5488 2008-02-07  Dan Williams  <dcbw@redhat.com>
5489
5490         * system-settings/src/dbus-settings.c
5491           system-settings/src/dbus-settings.h
5492                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5493                         table of secrets
5494                 - (connection_settings_get_secrets): consolidate error returns into
5495                         one place; use the new get_secrets() plugin interface function to
5496                         get secrets from the plugin itself rather than using GObject data
5497                         magic
5498
5499         * system-settings/src/main.c
5500                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5501                    load_connections): keep a private list of the plugin-returned
5502                         connections, don't use the plugin's GSList
5503
5504         * system-settings/plugins/ifcfg-fedora/plugin.c
5505                 - (watch_path): watch the path, not the filename (duh)
5506                 - (reload_all_connections): use the direct hash/equal functions; the
5507                         ones for int aren't appropriate here
5508                 - (get_secrets, system_config_interface_init): implement the
5509                         get_secrets() function
5510                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5511                         now in the connection's ConnectionData instead of being a GObject
5512                         data property
5513                 - (handle_profile_item_changed): ifcfg file path is now in the
5514                         connection's ConnectionData instead of being a GObject data property;
5515                         be sure to copy secrets over from the new connection to the existing
5516                         connection when updating the connection's settings
5517                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5518                         file descriptor
5519
5520         * system-settings/plugins/ifcfg-fedora/parser.c
5521           system-settings/plugins/ifcfg-fedora/parser.h
5522                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5523                    connection_data_copy_secrets, connection_data_free,
5524                    connection_data_add): new functions; connection data manipulation
5525                 - (make_wireless_security_setting): stuff secrets into the
5526                         connection data, not as GObject data items; make sure to close
5527                         the keys ifcfg file
5528                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5529                         connection data to the connection
5530
5531 2008-02-07  Dan Williams  <dcbw@redhat.com>
5532
5533         * system-settings/src/nm-system-config-interface.c
5534           system-settings/src/nm-system-config-interface.h
5535                 - Add a get_secrets() interface function to retrieve secrets for a
5536                         specific setting of a specific connection.  Document the interface
5537                         a bit more too.
5538
5539 2008-02-07  Dan Williams  <dcbw@redhat.com>
5540
5541         * src/nm-device-802-11-wireless.c
5542                 - (handle_auth_or_fail): new function; consolidate device activation
5543                         failure check after a certain number of failures getting secrets
5544                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5545                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5546                         the connection if secrets were requested more than a few times
5547                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5548                         tries here; otherwise they are cleared before the IP configure
5549                         timeout, which happens with open system WEP when key is wrong
5550                 - (activation_success_handler): clear wireless secrets tries here too
5551
5552 2008-02-07  Dan Williams  <dcbw@redhat.com>
5553
5554         * src/NetworkManagerPolicy.c
5555                 - (connection_updated): clear invalid tag when connection gets updated
5556                         to allow that connection to be tried again
5557                 - (nm_policy_new): save signal ids so they can be disconnected when
5558                         the policy is destroyed
5559                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5560                         and disconnect all signals from the manager object so that none
5561                         of the policy functions gets called after the policy is destroyed
5562
5563 2008-02-06  Dan Williams  <dcbw@redhat.com>
5564
5565         * src/nm-manager.c
5566                 - (finalize): remove devices a bit earlier; clean up system settings
5567                         poke
5568                 - (nm_manager_name_owner_changed): clean up system settings poke when
5569                         the service appears, and try to restart it if it fails
5570                 - (poke_system_settings_daemon_cb): try to get the system settings
5571                         service started through D-Bus service activation
5572                 - (initial_get_connections): start the system settings daemon if it's
5573                         not already running
5574
5575 2008-02-05  Dan Williams  <dcbw@redhat.com>
5576
5577         * src/supplicant-manager/nm-supplicant-config.c
5578                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5579                         broadcast networks too
5580
5581 2008-02-04  Dan Williams  <dcbw@redhat.com>
5582
5583         * system-settings/plugins/ifcfg-fedora/parser.c
5584                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5585                         need key_mgmt set too
5586                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5587                         .bak files; ensure that an error is set whenever NULL gets returned
5588
5589 2008-02-04  Dan Williams  <dcbw@redhat.com>
5590
5591         * system-settings/src/Makefile.am
5592                 - Install D-Bus service activation file for the system settings
5593                         service
5594
5595         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5596                 - D-Bus service activation file for system settings service
5597
5598 2008-02-04  Dan Williams  <dcbw@redhat.com>
5599
5600         * system-settings/src/main.c
5601                 - (parse_config_file): parse a config file
5602                 - (main): accept --config option and read plugins from config file
5603
5604 2008-02-04  Dan Williams  <dcbw@redhat.com>
5605
5606         * system-settings/plugins/ifcfg-fedora/plugin.c
5607                 - Change reported name to 'ifcfg-fedora'
5608                 - Use IFCFG_PLUGIN_NAME
5609
5610         * system-settings/plugins/ifcfg-fedora/plugin.c
5611                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5612
5613 2008-02-04  Dan Williams  <dcbw@redhat.com>
5614
5615         * system-settings/plugins/ifcfg-fedora/parser.c
5616                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5617                 - (make_connection_setting): use get_ifcfg_name()
5618                 - (make_wireless_security_setting): handle shadow key files
5619                 - (get_one_wep_key): treat empty string as NULL
5620
5621 2008-02-04  Dan Williams  <dcbw@redhat.com>
5622
5623         * src/supplicant-manager/nm-supplicant-manager.c
5624                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5625                         glib automatically reschedule
5626                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5627                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5628                         the supplicant
5629
5630 2008-02-01  Dan Williams  <dcbw@redhat.com>
5631
5632         * src/NetworkManagerPolicy.c
5633                 - (device_state_changed): schedule a change check when a device gets
5634                         deactivated so something happens if you disconnect GSM/CDMA
5635
5636 2008-01-31  Dan Williams  <dcbw@redhat.com>
5637
5638         * src/nm-device-802-11-wireless.h
5639           src/nm-device-802-11-wireless.c
5640                 - (ap_list_get_ap_by_ssid, is_associated,
5641                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5642                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5643                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5644                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5645                         function
5646
5647 2008-01-30  Dan Williams  <dcbw@redhat.com>
5648
5649         * system-settings/plugins/ifcfg
5650         * system-settings/plugins/ifcfg-fedora
5651                 - Move the ifcfg plugin to ifcfg-fedora
5652
5653 2008-01-24  Dan Williams  <dcbw@redhat.com>
5654
5655         * libnm-glib/nm-device-802-11-wireless.c
5656                 - (get_access_point): move the "/" check here; check for invalid path
5657                         too
5658                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5659                         to get_access_point()
5660                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5661                         to send signals for non-existent access points
5662
5663 2008-01-24  Dan Williams  <dcbw@redhat.com>
5664
5665         * libnm-glib/nm-device-802-11-wireless.c
5666                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5667
5668 2008-01-23  Dan Williams  <dcbw@redhat.com>
5669
5670         * libnm-glib/libnm_glib.c
5671                 - (libnm_glib_init): make thread joinable
5672                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5673
5674 2008-01-23  Dan Williams  <dcbw@redhat.com>
5675
5676         * test/libnm_glib_test.c
5677                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5678                 - (main): set up signal handlers; call libnm_glib_shutdown
5679
5680 2008-01-21  Dan Williams  <dcbw@redhat.com>
5681
5682         * include/NetworkManager.h
5683                 - Add CDMA mobile broadband card device type
5684
5685         * src/nm-hal-manager.c
5686                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5687                         must now be tagged with 'cdma' or 'gsm' capability
5688
5689         * src/nm-cdma-device.c
5690           src/nm-cdma-device.h
5691           src/Makefile.am
5692                 - Add the CDMA mobile broadband card device class
5693
5694         * libnm-util/nm-connection.c
5695                 - (register_default_settings): add NMSettingCdma
5696
5697         * libnm-util/nm-setting-cdma.c
5698           libnm-util/nm-setting-cdma.h
5699           libnm-util/Makefile.am
5700                 - Add the CDMA mobile broadband card setting class
5701
5702         * libnm-glib/nm-cdma-device.c
5703           libnm-glib/nm-cdma-device.h
5704           libnm-glib/Makefile.am
5705                 - Add the CDMA mobile broadband card GLib proxy class
5706
5707         * libnm-glib/nm-client.c
5708                 - (get_device): handle CDMA devices too
5709
5710 2008-01-21  Dan Williams  <dcbw@redhat.com>
5711
5712         * src/ppp-manager/nm-ppp-manager.c
5713                 - (ip4_config_get): set peer address too
5714
5715         * src/ppp-manager/nm-pppd-plugin.c
5716                 - (nm_ip_up): try harder to get the peer's address
5717
5718         * src/NetworkManagerSystem.c
5719                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5720                         address, use that too.  Otherwise, some PPP connections won't work.
5721
5722 2008-01-19  Dan Williams  <dcbw@redhat.com>
5723
5724         * src/NetworkManagerPolicy.c
5725                 - (nm_policy_device_change_check): system connections override user
5726                         connections; don't activate a user connection if there's a currently
5727                         active system connection, and new, better system connections always
5728                         interrupt user connections
5729
5730 2008-01-19  Dan Williams  <dcbw@redhat.com>
5731
5732         * src/nm-manager.h
5733                 - (nm_manager_get_connection_type): new function
5734
5735 2008-01-19  Dan Williams  <dcbw@redhat.com>
5736
5737         * src/nm-device-802-11-wireless.c
5738                 - (real_get_best_connection): collapse find_best_connection() into this
5739                         function
5740
5741 2008-01-19  Dan Williams  <dcbw@redhat.com>
5742
5743         * src/nm-device-802-3-ethernet.c
5744                 - (real_get_best_connection): collapse find_best_connection() into this
5745                         function
5746
5747 2008-01-18  Dan Williams  <dcbw@redhat.com>
5748
5749         * src/nm-device-802-3-ethernet.c
5750                 - (find_best_connection): check MAC address too
5751                 - (real_get_best_connection): let autoconnect=True connections activate
5752                         for devices that don't have carrier detection
5753
5754         * src/nm-device-802-11-wireless.c
5755                 - (find_best_connection): check MAC address too
5756
5757 2008-01-18  Dan Williams  <dcbw@redhat.com>
5758
5759         * system-settings/plugins/ifcfg/parser.c
5760                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5761
5762 2008-01-17  Dan Williams  <dcbw@redhat.com>
5763
5764         * src/nm-device-802-3-ethernet.c
5765                 - (nm_device_802_3_ethernet_carrier_on,
5766                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5767                         carrier events that might come in for devices that don't support
5768                         carrier detect
5769
5770 2008-01-17  Dan Williams  <dcbw@redhat.com>
5771
5772         * src/nm-device-interface.c
5773                 - (nm_device_interface_check_connection_conflicts): need to actually
5774                         get the interface, not cast to the object
5775
5776         * src/nm-device.c
5777                 - (nm_device_check_connection_conflicts): need to get the device class,
5778                         not cast the device to the device class
5779
5780 2008-01-17  Dan Williams  <dcbw@redhat.com>
5781
5782         * src/nm-device-802-11-wireless.c
5783                 - (real_check_connection_conflicts): ignore connections that aren't
5784                         wireless connections
5785
5786 2008-01-17  Dan Williams  <dcbw@redhat.com>
5787
5788         * src/NetworkManagerPolicy.c
5789                 - (nm_policy_device_change_check): clear change check idle here
5790                 - (device_change_check_done): remove
5791                 - (schedule_change_check): simplify
5792
5793 2008-01-17  Dan Williams  <dcbw@redhat.com>
5794
5795         * src/nm-manager.c
5796                 - (check_connection_allowed): take an NMDeviceInterface instead of
5797                         an NMDevice object as an argument
5798                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5799                         check_connection_allowed()
5800
5801 2008-01-13  Dan Williams  <dcbw@redhat.com>
5802
5803         * libnm-glib/nm-device-802-11-wireless.c
5804                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5805
5806 2008-01-12  Dan Williams  <dcbw@redhat.com>
5807
5808         * src/nm-device-802-11-wireless.c
5809                 - (activation_success_handler): if a match was found in the scan list
5810                         and that match is a hidden AP, update that AP's SSID
5811
5812 2008-01-11  Dan Williams  <dcbw@redhat.com>
5813
5814         * src/NetworkManagerAP.c
5815                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5816
5817         * src/nm-device-802-11-wireless.c
5818                 - (get_active_ap): do two passes over the scan list if the caller
5819                         requests that hidden APs get matched too; during the second pass
5820                         when matching hidden APs, ignore the SSID since hidden APs in the
5821                         scan list don't have an SSID yet
5822                 - (periodic_update): move some checks to
5823                         nm_device_802_11_periodic_update() because not all callers need them
5824                 - (nm_device_802_11_periodic_update): move some checks here from
5825                         perodic_update()
5826                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5827                         matching on incoming scan results, because the fake AP's flags
5828                         might be slightly different (yet still compatible) with the incoming
5829                         scan result's flags and they might actually be the same AP; update
5830                         the rate on merged APs too
5831                 - (activation_success_handler): update the frequency of the fake AP
5832                         on successful connection; match hidden APs too since if the
5833                         current AP is fake, there might already be a scan result in the
5834                         scan list for the desired AP, just without it's SSID filled in yet
5835
5836 2008-01-10  Dan Williams  <dcbw@redhat.com>
5837
5838         * src/NetworkManagerAP.c
5839                 - (foreach_property_cb): catch more hidden SSID formats
5840
5841 2008-01-10  Dan Williams  <dcbw@redhat.com>
5842
5843         Fix gnome.org #464215.  Requires the kernel patch titled
5844         "Introduce WEXT scan capabilities" but will handle the patch not being
5845         present, you'll just continue to have problems with hidden SSIDs when
5846         using mac80211-based drivers.
5847
5848         * src/supplicant-manager/nm-supplicant-config.h
5849           src/supplicant-manager/nm-supplicant-config.c
5850                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5851                         whether the driver supports SSID scans or not.  If it does, and if
5852                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5853
5854         * src/nm-device-802-11-wireless.c
5855                 - (constructor): check whether or not the driver supports SSID scans
5856                 - (build_supplicant_config): pass driver SSID scan capability when
5857                         building the wireless bits of the supplicant config
5858
5859 2008-01-09  Dan Williams  <dcbw@redhat.com>
5860
5861         * src/nm-device.c
5862           src/nm-device.h
5863                 - (device_activation_precheck, check_connection_complete): remove this
5864                         virtual function; incomplete connections should be invalid by
5865                         definition, complete-ness should be checked in the setting's
5866                         verify function
5867
5868         * src/nm-serial-device.c
5869           src/nm-gsm-device.c
5870                 - (real_check_connection_complete): remove
5871
5872         * libnm-util/nm-setting-serial.c
5873                 - (verify): new function; ensure there is a PPP setting too
5874
5875         * libnm-util/nm-setting-gsm.c
5876                 - (verify): ensure there is a serial setting too
5877
5878 2008-01-06  Dan Williams  <dcbw@redhat.com>
5879
5880         * src/dhcp-manager/nm-dhcp-manager.c
5881                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5882                         (gnome.org #332953)
5883
5884 2008-01-04  Dan Williams  <dcbw@redhat.com>
5885
5886         * src/named-manager/nm-named-manager.c
5887                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5888                         nameservers if the secondary config doesn't have any
5889                         (gnome.org #346833)
5890
5891 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5892
5893         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5894         with G_PARAM_CONSTRUCT so that they get the default values.
5895
5896         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5897         the monitoring device and prints out the output for now. Or more precicely, doesn't
5898         do absolutely anything right now since the montoring device argument is never set.
5899
5900         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5901         requires it's own knob to turn it on.
5902         (config_fd): Add NMSettingSerial to the arguments list.
5903         (nm_serial_device_open): Ditto.
5904         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5905         (nm_serial_device_get_io_channel): Implement.
5906
5907         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5908         a new reference every time (and forgetting to release it sometimes) is a pain and
5909         it's not like NMManager could work without dbus.
5910         (nm_manager_add_device): Register the added device on dbus here.
5911
5912         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5913         device.
5914
5915         * src/nm-device.c (constructor): Don't export the device here, instead export
5916         it when it's added to the NMManager's device list.
5917
5918 2007-12-31  Dan Williams  <dcbw@redhat.com>
5919
5920         * src/nm-device-interface.c
5921           src/nm-device-interface.h
5922                 - (nm_device_interface_check_connection_conflicts): new function
5923
5924         * src/nm-device.c
5925           src/nm-device.h
5926                 - (nm_device_check_connection_conflicts): new function
5927                 - (device_activation_precheck): don't require subclasses to implement
5928                         check_connection_complete()
5929                 - check_connection() -> check_connection_complete()
5930
5931         * src/nm-device-802-11-wireless.c
5932                 - (real_check_connection): remove; unused
5933                 - (real_check_connection_conflicts): implement, handle lockdown for
5934                         system connections
5935
5936         * src/nm-device-802-3-ethernet.c
5937                 - (real_check_connection): remove; unused
5938
5939         * src/nm-manager.c
5940                 - (check_connection_allowed): new function
5941                 - (nm_manager_activate_device): ensure the connection being requested
5942                         is allowed to be activated
5943
5944         * src/nm-serial-device.c
5945           src/nm-gsm-device.c
5946                 - real_check_connection() -> real_check_connection_complete()
5947
5948 2007-12-27  Dan Williams  <dcbw@redhat.com>
5949
5950         * src/nm-device-interface.c
5951           src/nm-device-interface.h
5952                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5953                         normalize and expand errors
5954                 - (nm_device_interface_init): register errors so they can be marshalled
5955                         through dbus-glib
5956                 - (nm_device_interface_activate): ensure that failure of activation
5957                         returns an error
5958
5959         * src/nm-device.c
5960           src/nm-device.h
5961                 - (device_activation_precheck): implementations of check_connection()
5962                         now take a GError and must fill it in if the check fails.  Return
5963                         more descriptive error if the requested connection is already
5964                         activating
5965                 - (nm_device_activate): actually try to return descriptive errors on
5966                         failures
5967
5968         * src/nm-device-802-11-wireless.c
5969           src/nm-device-802-3-ethernet.c
5970           src/nm-serial-device.c
5971           src/nm-gsm-device.c
5972                 - (real_check_connection): return more descriptive errors on failure
5973
5974         * src/NetworkManagerPolicy.c
5975                 - (nm_policy_device_change_check): print activation errors in the logs
5976
5977         * src/nm-manager.c
5978                 - (nm_manager_error_quark, nm_manager_error_get_type,
5979                    nm_manager_class_init): new errors
5980                 - (nm_manager_activate_device): handle errors
5981                 - (nm_manager_error_new): removed
5982                 - (wait_for_connection_expired, connection_added_default_handler,
5983                    impl_manager_activate_device): better error handling
5984
5985 2007-12-27  Dan Williams  <dcbw@redhat.com>
5986
5987         Fixes gnome.org #466954
5988
5989         * src/supplicant-manager/nm-supplicant-settings-verify.c
5990                 - Allow 'frequency' network property
5991
5992         * src/supplicant-manager/nm-supplicant-config.c
5993           src/supplicant-manager/nm-supplicant-config.h
5994                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5995                         for callers to specify the frequency an Ad-Hoc network should operate
5996                         on.  Some drivers require this to successfully create an Ad-Hoc
5997                         network.
5998
5999         * src/nm-device-802-11-wireless.c
6000                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6001                         guint32 value in MHz
6002                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6003                         iw_freq_to_uint32()
6004                 - (find_supported_frequency): new function; find a free supported
6005                         frequency for a user-created Ad-Hoc network
6006                 - (build_supplicant_config): if no frequency was specified for a user-
6007                         created Ad-Hoc network, find a free one to use
6008                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6009                         a specific object as user-created
6010
6011 2007-12-27  Dan Williams  <dcbw@redhat.com>
6012
6013         * libnm-util/nm-utils.c
6014           libnm-util/nm-utils.h
6015                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6016                         for adhoc networks
6017
6018 2007-12-24  Dan Williams  <dcbw@redhat.com>
6019
6020         * libnm-util/nm-setting-wireless.c
6021                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6022                         185, 187, 188, 192, and 196
6023
6024 2007-12-24  Dan Williams  <dcbw@redhat.com>
6025
6026         * src/nm-device-802-11-wireless.c
6027                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6028                         a channel # instead of a frequency
6029
6030 2007-12-24  Dan Williams  <dcbw@redhat.com>
6031
6032         * src/NetworkManagerAP.c
6033           src/NetworkManagerAP.h
6034                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6035                 - (freq_to_channel): handle split band tables
6036                 - (channel_to_freq): handle split band tables, take a band argument
6037
6038 2007-12-24  Dan Williams  <dcbw@redhat.com>
6039
6040         * libnm-util/nm-setting-connection.h
6041           libnm-util/nm-setting-connection.c
6042                 - Add 'lockdown' member
6043
6044 2007-12-22  Dan Williams  <dcbw@redhat.com>
6045
6046         * libnm-util/nm-setting-wireless.c
6047                 - (nm_setting_wireless_class_init): add missing 'rate' property
6048                         specification
6049
6050 2007-12-18  Dan Williams  <dcbw@redhat.com>
6051
6052         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6053
6054         * src/nm-netlink-monitor.c
6055           src/nm-netlink-monitor.h
6056                 - Remove handrolled netlink, use libnl instead
6057
6058         * src/nm-device-802-3-ethernet.c
6059                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6060                    nm_device_802_3_ethernet_carrier_on): use new names
6061
6062 2007-12-17  Dan Williams  <dcbw@redhat.com>
6063
6064         * configure.in
6065                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6066                         and fixes memory leaks)
6067
6068         * src/nm-netlink.c
6069                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6070                         automatically handle the netlink PID
6071
6072 2007-12-17  Dan Williams  <dcbw@redhat.com>
6073
6074         Patch from Michael Biebl <biebl@debian.org>
6075
6076         * configure.in
6077           src/ppp-manager/Makefile.am
6078                 - fix up install dir of pppd plugin
6079                 - clean up configure.in a bit
6080
6081 2007-12-12  Dan Williams  <dcbw@redhat.com>
6082
6083         * system-settings/src/nm-system-settings.conf
6084                 - Allow non-root clients (like the applet) to read settings
6085
6086 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6087
6088         * Replace all occurences of 'UMTS' with 'GSM'.
6089
6090 2007-12-07  Dan Williams  <dcbw@redhat.com>
6091
6092         * src/nm-serial-device.c
6093                 - (real_is_up): serial devices are always "up"
6094
6095 2007-12-07  Dan Williams  <dcbw@redhat.com>
6096
6097         * src/nm-netlink.c
6098           src/NetworkManagerSystem.c
6099                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6100                         twice (gnome.org #491047)
6101                 - Make more robust against allocation-related failures should they occur
6102
6103 2007-12-07  Dan Williams  <dcbw@redhat.com>
6104
6105         Noticed by Christian Persch <chpe@gnome.org>
6106
6107         Always chain up to parent object in dispose and finalize handlers.
6108                 (gnome.org #433112)
6109
6110 2007-12-07  Dan Williams  <dcbw@redhat.com>
6111
6112         * src/nm-device-802-11-wireless.c
6113                 - Wrap #include of linux/mii.h to fix redefined structures due to
6114                         incorrect kernel headers (gnome.org #350061)
6115
6116 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6117
6118         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6119         before doing anything else.
6120         (init_modem): Move modem initialization here.
6121
6122         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6123         (nm_serial_device_flash): Implement.
6124
6125         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6126         changes signal is "StateChanged" and not "Status".
6127         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6128
6129 2007-12-06  Dan Williams  <dcbw@redhat.com>
6130
6131         * src/supplicant-manager/nm-supplicant-config.c
6132                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6133                         to only send some options when they make sense; also send phase2
6134                         option to the supplicant (possible fix for rh #399631)
6135
6136 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6137
6138         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6139         arguments: This whole file shouldn't really know anything about NMDevices, it
6140         should deal only with device interfaces. Devices might have different ifaces for
6141         different stuff and this place shouldn't know anything about it.
6142
6143         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6144         (global_state_changed): Implement. In the current NM it's not really important,
6145         but will be required in the case of multiple active devices. (Or even better,
6146         if stuff like that gets moved out from NM).
6147
6148         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6149         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6150         instead.
6151
6152         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6153         devices like serial devices (ttyS0 and ppp0 for example).
6154         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6155         set.
6156         (nm_device_set_ip_iface): Implement.
6157         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6158         after setting ip4_config from here ...
6159         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6160         than this function should call nm_system_device_set_from_ip4_config() because no
6161         other code has enough information on which arguments to use. So instead, other code
6162         could just set the new ip4 config using this function and everyone is happy.
6163
6164         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6165         if we happen to get deactivated while something is pending.
6166         (automatic_registration): Handle the response that indicates pending network
6167         registration and wait until the pending registration is done.
6168         (real_deactivate_quickly): If there's a pending operation, cancel it.
6169
6170         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6171         (real_deactivate_quickly): ... and remove it when it's down.
6172         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6173         it if needed.
6174         (nm_serial_device_wait_for_reply): Ditto.
6175
6176 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6177
6178         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6179         (get_network_done): Remove newline, nm_info() does it already.
6180         (real_act_stage1_prepare): Turn the modem echo off.
6181
6182         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6183         device, set the route to the device interface. This is a hack.
6184
6185         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6186         return, no need for a new-line.
6187         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6188         Change the device iface here (ugh).
6189         (real_act_stage4_get_ip4_config): Implement.
6190         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6191         Restore the device iface.
6192
6193         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6194         device is not wired or wireless (eg, automatically upped) device.
6195
6196         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6197         it isn't.
6198         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6199
6200         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6201         before calling it's is_device_fn().
6202
6203 2007-12-05  Dan Williams  <dcbw@redhat.com>
6204
6205         * libnm-util/nm-utils.c
6206                 - (nm_utils_register_value_transformations,
6207                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6208                         GHashTables of GValues too
6209
6210 2007-12-04  Dan Williams  <dcbw@redhat.com>
6211
6212         * initscript/RedHat/NetworkManager.in
6213                 - No longer start named; it's D-Bus interface is going away
6214
6215 2007-12-04  Dan Williams  <dcbw@redhat.com>
6216
6217         Patch from Michael Biebl <biebl@debian.org>
6218
6219         * system-settings/plugins/ifcfg/Makefile.am
6220           system-settings/src/main.c
6221           system-settings/src/Makefile.am
6222                 - Put system settings plugins in NM plugins dir
6223
6224         * src/ppp-manager/Makefile.am
6225           src/ppp-manager/nm-ppp-manager.c
6226                 - Move pppd plugin to NM plugins dir
6227
6228 2007-12-04  Dan Williams  <dcbw@redhat.com>
6229
6230         * libnm-util/nm-setting-vpn-properties.h
6231                 - Clarify usage of the 'data' member of the setting
6232
6233         * libnm-util/nm-setting-vpn-properties.c
6234                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6235                 - (set_property): just remove all the settings; don't recreate the has
6236                 - (update_one_secret): don't need to create the hash table here since
6237                         it should always be present
6238
6239 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6240
6241         Implement PIN and PUK requesting.
6242
6243         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6244         (enter_pin): Handle PIN and PUK requests.
6245         (real_act_stage1_prepare): Clear the secret type.
6246         (real_connection_secrets_updated): Implement this class method to get
6247         notified when new secrets arrive.
6248         (nm_umts_device_class_init): Add private data back to the umts device class
6249         to store the required secret type.
6250
6251 2007-12-01  Dan Williams  <dcbw@redhat.com>
6252
6253         * system-settings/plugins/ifcfg/parser.c
6254                 - (parser_parse_file): don't try to verify NULL connections
6255
6256 2007-12-01  Dan Williams  <dcbw@redhat.com>
6257
6258         * system-settings/src/main.c
6259                 - (load_connections, add_connection_to_settings): actually export
6260                         plugin-provided connections over D-Bus so NM can get them
6261
6262 2007-12-01  Dan Williams  <dcbw@redhat.com>
6263
6264         * system-settings/plugins/ifcfg/parser.c
6265           system-settings/plugins/ifcfg/parser.h
6266           system-settings/plugins/ifcfg/plugin.c
6267                 - Hook up more inotify bits (untested)
6268
6269 2007-11-29  Dan Williams  <dcbw@redhat.com>
6270
6271         * system-settings/src/nm-system-config-interface.h
6272           system-settings/src/nm-system-config-interface.c
6273                 - (nm_system_config_interface_init,
6274                    nm_system_config_interface_get_connections): add
6275
6276         * system-settings/src/main.c
6277                 - (load_plugins, load_connections, main): use a GSList for plugins
6278                         to ensure priority ordering
6279
6280         * system-settings/plugins/ifcfg/parser.c
6281                 - (ifcfg_error_quark): move to plugin.c, and rename
6282
6283         * system-settings/plugins/ifcfg/plugin.h
6284           system-settings/plugins/ifcfg/plugin.c
6285                 - (ifcfg_plugin_error_quark): move here from parser.c
6286                 - rework connection loading and initialization
6287                 - Add preliminary inotify support for network profile config file
6288
6289 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6290
6291         Merge the beginnings of the new GSM card support.
6292
6293         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6294         ppp watch source before killing pppd - If this happens from g_object_unref()
6295         then the ppp manager is already destroyed by the time the watch callback runs.
6296
6297         * src/nm-hal-manager.c: Add a device_type_name string to the device
6298         creators, so that we can print a nice human readable string when a
6299         device is added.
6300
6301         * src/nm-umts-device.c (automatic_registration_get_network): Query
6302         for the activated network, not much is done with the result thought.
6303
6304         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6305         (ppp_ip4_config): Change the device state to activated here for now.
6306         (real_check_connection): Make sure the connection includes ppp setting.
6307
6308         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6309
6310         * libnm-glib/Makefile.am: Add the new files to build.
6311
6312         * libnm-glib/nm-umts-device.c: 
6313         * libnm-glib/nm-umts-device.h: Implement.
6314
6315 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6316
6317         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6318         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6319
6320         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6321         the timeout source - this function is only called when the timeout source has
6322         been removed.
6323         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6324         to be big enough to contain the terminating zero element as well.
6325         The timeout argument is meant to be in seconds now.
6326         (real_deactivate_quickly): Implement.
6327
6328         * src/NetworkManager.conf: Allow root to own 
6329         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6330
6331         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6332         (not unsigned ints).
6333
6334         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6335         small issue with parity bounds - capital letters have lower ascii codes
6336         than lower case letters.
6337
6338         * libnm-util/nm-connection.c (register_default_settings): Register serial
6339         and umts settings.
6340
6341 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6342
6343         Remove the "index" property from devices as not all device types have this.
6344
6345         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6346
6347         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6348         (wired_device_creator): Get the device interface from hal to create the device.
6349         (wireless_device_creator): Ditto.
6350
6351         * src/nm-device.c (nm_device_init): Remove the index member.
6352         (constructor): Remove the checks for index property, make interface property
6353         a require constructor property.
6354         Use the HAL udi for DBus path for devices.
6355         (nm_device_get_index): Remove.
6356         (set_property): Remove index handling.
6357         (get_property): Ditto.
6358         (nm_device_get_dbus_path): Remove.
6359
6360         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6361         property.
6362
6363         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6364         Access the device index through it's interface.
6365         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6366         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6367         index argument. Add interface argument.
6368
6369         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6370         the useless test_dev argument. Remove index argument. Add interface arugment.
6371
6372         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6373         device index through interface.
6374         (nm_system_set_mtu): Ditto.
6375
6376         * introspection/nm-device.xml: Remove the "Index" property.
6377
6378 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6379
6380         * src/nm-serial-device.c: 
6381         * src/nm-serial-device.c: 
6382         * src/nm-umts-device.c:
6383         * src/nm-umts-device.h: Implement.
6384
6385         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6386         allocated by libhal.
6387         (modem_device_creator): Implement.
6388         (register_built_in_creators): Register the modem creator.
6389
6390         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6391         Remove the unused test_dev argument.
6392
6393         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6394
6395         * src/Makefile.am: Add new files to build.
6396         Link in ppp-manager.
6397
6398         * libnm-util/nm-setting-umts.c: 
6399         * libnm-util/nm-setting-umts.h: 
6400         * libnm-util/nm-setting-serial.c: 
6401         * libnm-util/nm-setting-serial.h: Implement.
6402
6403         * libnm-util/Makefile.am: Add new files to build.
6404
6405 2007-11-28  Dan Williams  <dcbw@redhat.com>
6406
6407         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6408
6409         Support DHCP-provided static routes.
6410
6411         * src/nm-ip4-config.h
6412           src/nm-ip4-config.c
6413                 - Add get/set functions for static routes
6414
6415         * src/dhcp-manager/nm-dhcp-manager.c
6416                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6417                         DHCP response
6418
6419         * src/NetworkManagerSystem.c
6420                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6421                         interface when applying the IP4Config
6422
6423 2007-11-28  Dan Williams  <dcbw@redhat.com>
6424
6425         * src/nm-device-802-11-wireless.c
6426                 - (real_act_stage1_prepare): mark APs created for hidden networks
6427                         as non-broadcasting
6428
6429 2007-11-27  Dan Williams  <dcbw@redhat.com>
6430
6431         * system-settings/src/nm-system-config-interface.h
6432                 - Note how to store secrets on NMSetting objects
6433
6434         * system-settings/src/dbus-settings.c
6435                 - (connection_settings_get_secrets): implement
6436
6437 2007-11-27  Dan Williams  <dcbw@redhat.com>
6438
6439         * system-settings/plugins/ifcfg/Makefile.am
6440           system-settings/plugins/ifcfg/parser.c
6441           system-settings/plugins/ifcfg/parser.h
6442           system-settings/plugins/ifcfg/plugin.c
6443                 - Parse wireless connections too
6444
6445         * system-settings/src/dbus-settings.c
6446           system-settings/src/dbus-settings.h
6447           system-settings/src/main.c
6448                 - Handle connection update/removal if the plugin supports it
6449
6450 2007-11-27  Dan Williams  <dcbw@redhat.com>
6451
6452         * src/nm-dbus-manager.h
6453           src/nm-hal-manager.c
6454                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6455                         do it for them
6456
6457         * src/Makefile.am
6458           src/NetworkManagerDbusUtils.c
6459           src/NetworkManagerDbusUtils.h
6460                 - Remove these two source files; they are unused
6461
6462 2007-11-27  Dan Williams  <dcbw@redhat.com>
6463
6464         * src/vpn-manager/nm-vpn-manager.c
6465                 - (impl_vpn_manager_connect): fix system settings check (found by
6466                         James M. Leddy)
6467
6468 2007-11-26  Dan Williams  <dcbw@redhat.com>
6469
6470         * Fix warnings so everything compiles with --enable-more-warnings
6471
6472 2007-11-25  Dan Williams  <dcbw@redhat.com>
6473
6474         * system-settings/*
6475                 - Rework structure and code to use GModule-loaded plugins and a plugin
6476                         interface that plugins export to the system settings service
6477
6478 2007-11-21  Dan Williams  <dcbw@redhat.com>
6479
6480         * system-settings/*
6481                 - Add Soren's system settings service.  Needs work for distros other
6482                         than Fedora; the backends from NM should mostly migrate to here
6483                         and be converted to GObjects
6484
6485 2007-11-21  Dan Williams  <dcbw@redhat.com>
6486
6487         * libnm-util/nm-setting-vpn-properties.c
6488                 - (set_property): must deep-copy the given settings hash, otherwise
6489                         double-free errors occur when the setting is disposed of
6490
6491 2007-11-21  Dan Williams  <dcbw@redhat.com>
6492
6493         * src/vpn-manager/nm-vpn-act-request.h
6494           src/vpn-manager/nm-vpn-act-request.c
6495                 - Remove; unused
6496
6497 2007-11-20  Dan Williams  <dcbw@redhat.com>
6498
6499         * libnm-util/nm-utils.c
6500                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6501                    nm_utils_convert_ip4_addr_struct_array_to_string,
6502                    nm_utils_register_value_transformations): print out the readable
6503                         values of more types of properties of NMSettings subclasses
6504
6505 2007-11-20  Dan Williams  <dcbw@redhat.com>
6506
6507         * libnm-util/nm-setting-ip4-config.c
6508                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6509                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6510                         marshal GValueArrays inside collections, so switch to types that it
6511                         can actually marshal/demarshal
6512
6513 2007-11-16  Dan Williams  <dcbw@redhat.com>
6514
6515         * libnm-util/nm-setting-wireless-security.c
6516                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6517                         minimal verification of EAP methods too
6518                 - (verify): verify phase1 eap methods too
6519
6520 2007-11-15  Dan Williams  <dcbw@redhat.com>
6521
6522         * libnm-glib/nm-device.h
6523           libnm-glib/nm-device.c
6524                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6525                         const char *
6526
6527 2007-11-15  Dan Williams  <dcbw@redhat.com>
6528
6529         * libnm-glib/nm-device.c
6530                 - (get_product_and_vendor): don't try to free things that should be
6531                         freed
6532
6533 2007-11-15  Dan Williams  <dcbw@redhat.com>
6534
6535         * src/NetworkManagerUtils.c
6536                 - (nm_ethernet_address_is_valid): unbreak previous fix
6537
6538 2007-11-15  Dan Williams  <dcbw@redhat.com>
6539
6540         * src/supplicant-manager/nm-supplicant-config.c
6541                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6542                         options
6543
6544 2007-11-15  Dan Williams  <dcbw@redhat.com>
6545
6546         * src/NetworkManagerUtils.c
6547                 - (nm_ethernet_address_is_valid): fix style, clarify
6548                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6549
6550         * src/nm-device-802-11-wireless.c
6551                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6552                 - (nm_device_802_11_wireless_get_ssid,
6553                    nm_device_802_11_wireless_get_bssid,
6554                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6555                         before calling the ioctl; fixes valgrind-reported jump depends on
6556                         uninitialized value errors
6557
6558 2007-11-15  Dan Williams  <dcbw@redhat.com>
6559
6560         * libnm-util/nm-setting.c
6561                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6562                         unecessary to serialize 'name'
6563
6564         * src/nm-activation-request.c
6565                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6566                         the GetSecrets call
6567
6568 2007-11-15  Dan Williams  <dcbw@redhat.com>
6569
6570         * libnm-util/nm-setting-connection.h
6571           libnm-util/nm-setting-connection.c
6572                 - Rename the 'name' property to 'id', because it conflicted with the
6573                         NMSetting superclass' 'name' property.
6574
6575         * libnm-util/nm-setting.c
6576                 - (nm_setting_to_hash): serialize the 'name' property
6577                 - (one_property_cb): ignore 'name' on deserialization of a connection
6578
6579         * src/nm-device-802-11-wireless.c
6580           src/vpn-manager/nm-vpn-connection.c
6581           src/NetworkManagerPolicy.c
6582                 - Fix up for NMSettingConnection 'name'->'id' changes
6583
6584 2007-11-13  Dan Williams  <dcbw@redhat.com>
6585
6586         * libnm-glib/nm-device-802-11-wireless.h
6587           libnm-glib/nm-device-802-11-wireless.c
6588                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6589
6590         * test/nm-tool.c
6591           libnm-glib/libnm-glib-test.c
6592                 - Fixes for above change
6593
6594 2007-11-12  Dan Williams  <dcbw@redhat.com>
6595
6596         * src/supplicant-manager/nm-supplicant-settings-verify.c
6597                 - Allow fragment_size option
6598
6599         * src/supplicant-manager/nm-supplicant-settings-verify.c
6600                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6601                         EAP fragment size than the default to help some TLS connections
6602
6603 2007-11-12  Dan Williams  <dcbw@redhat.com>
6604
6605         Make certs actually work.  The private key is now a secret, and should be
6606         decrypted when requested by NM.  The private key and phase2 private key
6607         passwords are no longer interesting to NM because they should be used by
6608         the settings service to decrypt the private key itself before passing it
6609         to NM, and hence have been removed as fields.
6610
6611         * libnm-util/nm-setting-wireless-security.h
6612           libnm-util/nm-setting-wireless-security.c
6613                 - Remove private-key-passwd and phase2-private-key-passwd from
6614                         properties
6615                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6616                    need_secrets): use property #defines instead strings to keep things
6617                         consistent
6618                 - (need_secrets_tls): if a client certificate is present but no
6619                         private key, request the private key
6620                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6621                         remove private key password stuff, mark private keys as secret
6622
6623         * src/supplicant-manager/nm-supplicant-settings-verify.c
6624                 - Remove private_key_passwd and private_key2_passwd from opt_table
6625
6626 2007-11-09  Dan Williams  <dcbw@redhat.com>
6627
6628         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6629         Since the vpn-properties are managed and known by the VPN daemons themselves,
6630         libnm-util doesn't know what's secret and what's in the setting's 'data'
6631         member.
6632
6633         * libnm-util/nm-setting.h
6634           libnm-util/nm-setting.c
6635                 - Add the ability for subclasses to override update_one_secret
6636
6637         * libnm-util/nm-setting-vpn-properties.c
6638                 - Override update_one_secret and just copy the values into the
6639                         internal table
6640
6641 2007-11-09  Dan Williams  <dcbw@redhat.com>
6642
6643         * libnm-glib/nm-settings.h
6644           libnm-glib/nm-settings.c
6645                 - (nm_settings_new_error): remove
6646                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6647                         clients should use g_set_error() with NM_SETTINGS_ERROR
6648
6649 2007-11-09  Dan Williams  <dcbw@redhat.com>
6650
6651         * src/supplicant-manager/nm-supplicant-config.c
6652                 - (nm_supplicant_config_add_setting_wireless_security): private key
6653                         passwords are never sent to wpa_supplicant, because the supplicant
6654                         should never be reading random files from the disk.  Clients like
6655                         the applet are required to decrypt the private keys and send NM
6656                         the decrypted blobs.
6657
6658 2007-11-08  Dan Williams  <dcbw@redhat.com>
6659
6660         * libnm-util/nm-setting-wireless-security.h
6661           libnm-util/nm-setting-wireless-security.c
6662                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6663                         members to 802-11-wireless-security structure.  This should be used
6664                         to indicate that the values in private-key and phase2-private-key
6665                         are already decrypted by the user agent, and that no
6666                         private-key-passwd or phase2-private-key-passwd should be expected.
6667                         It is not meant to be a stored configuration value, but meant to
6668                         be set when the conneciton is sent to NM over dbus.
6669
6670 2007-11-08  Dan Williams  <dcbw@redhat.com>
6671
6672         * libnm-util/nm-connection.h
6673           libnm-util/nm-connection.c
6674                 - (nm_connection_need_secrets): add argument to return hints
6675
6676         * src/nm-device-802-11-wireless.c
6677                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6678                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6679                         nm_connection_need_secrets() change
6680
6681 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6682
6683         Rework NMSetting structures: Move each setting to it's own file.
6684         Convert to GObject. Remove home grown setting types and use GTypes.
6685         Use GObject property introspection for hash conversion, enumerating
6686         properties, etc.
6687
6688         * libnm-util/nm-setting-connection.[ch]
6689         * libnm-util/nm-setting-ip4-config.[ch]
6690         * libnm-util/nm-setting-ppp.[ch]
6691         * libnm-util/nm-setting-vpn.[ch]
6692         * libnm-util/nm-setting-vpn-properties.[ch]
6693         * libnm-util/nm-setting-wired.[ch]
6694         * libnm-util/nm-setting-wireless.[ch]
6695         * libnm-util/nm-setting-wireless-security.[ch]
6696
6697         New files, each containing a setting.
6698
6699         * libnm-util/nm-setting-template.[ch]: A template for creating new
6700         settings. To use it, just replace 'template' with the new setting
6701         name, and you're half-way done.
6702
6703         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6704         introspection instead of internal types and tables.
6705
6706         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6707
6708         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6709         GValue types defined by dbus-glib for composed types like collections,
6710         structures and maps.
6711
6712         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6713         a setting from connection takes the setting type now. Also, since
6714         the settings are in multiple files, include relevant settings.
6715
6716 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6717
6718         * configure.in:
6719         * src/backends/NetworkManagerGentoo.c:
6720         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6721         providers in Gentoo.
6722
6723 2007-10-31  Dan Williams  <dcbw@redhat.com>
6724
6725         * libnm-util/nm-connection.c
6726                 - (gvalue_to_string): handle UINT32 arrays
6727
6728 2007-10-31  Dan Williams  <dcbw@redhat.com>
6729
6730         * libnm-glib/nm-device.h
6731           libnm-glib/nm-device.c
6732                 - (nm_device_get_description): remove
6733                 - (nm_device_get_product, nm_device_get_vendor): add
6734                 - (nm_device_update_description): new function (private); walk HAL
6735                         devices to get product and vendor IDs for a specific device
6736
6737 2007-10-31  Dan Williams  <dcbw@redhat.com>
6738
6739         * src/nm-device-802-11-wireless.c
6740                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6741
6742 2007-10-29  Dan Williams  <dcbw@redhat.com>
6743
6744         * src/nm-hal-manager.c
6745                 - (device_added, device_new_capability): ignore device additions while
6746                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6747                         kernel module is unloaded and reloaded and recognized by NM again.
6748
6749 2007-10-26  Dan Williams  <dcbw@redhat.com>
6750
6751         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6752
6753         * src/NetworkManagerAP.c
6754           src/NetworkManagerAP.h
6755           libnm-glib/nm-access-point.c
6756           libnm-glib/nm-access-point.h
6757                 - Make 'rate' property a guint32 to better match with WEXT and
6758                         wpa_supplicant and to allow representation of higher bitrates
6759
6760         * src/nm-device-802-11-wireless.c
6761           introspection/nm-device-802-11-wireless.xml
6762           libnm-glib/nm-device-802-11-wireless.c
6763           libnm-glib/nm-device-802-11-wireless.h
6764                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6765
6766         * src/nm-device-802-3-ethernet.c
6767           src/nm-device-802-3-ethernet.h
6768           introspection/nm-device-802-3-ethernet.xml
6769           libnm-glib/nm-device-802-3-ethernet.c
6770           libnm-glib/nm-device-802-3-ethernet.h
6771                 - Make 'speed' property a guint32 to match other speed/rate types
6772                 - Make nm_device_802_3_ethernet_get_speed() static
6773
6774         * test/nm-tool.c
6775                 - Update for the changes above
6776
6777 2007-10-26  Dan Williams  <dcbw@redhat.com>
6778
6779         * src/named-manager/nm-named-manager.c
6780                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6781                     not calling fclose() twice on some error conditions
6782
6783 2007-10-26  Dan Williams  <dcbw@redhat.com>
6784
6785         * src/nm-activation-request.c
6786                 - (dispose): clean up indentation; get the right DBusGProxy object to
6787                         cancel the GetSecrets pending call on.  Need to use the Secrets
6788                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6789                         pending call doesn't get canceled, and pressing Cancel in the
6790                         applet's password dialog could cause get_secrets_cb() to be called
6791                         after the activation request has already been destroyed
6792
6793 2007-10-24  Dan Williams  <dcbw@redhat.com>
6794
6795         * src/supplicant-manager/nm-supplicant-config.c
6796                 - (nm_supplicant_config_add_blob): pass blob data and length for
6797                         verification
6798                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6799
6800 2007-10-24  Dan Williams  <dcbw@redhat.com>
6801
6802         * src/supplicant-manager/nm-supplicant-settings-verify.c
6803                 - (opt_table): max length for certificates should be 65536
6804
6805 2007-10-24  Dan Williams  <dcbw@redhat.com>
6806
6807         * src/supplicant-manager/nm-supplicant-interface.c
6808                 - (blob_free): correctly free blob data after use
6809                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6810
6811 2007-10-24  Dan Williams  <dcbw@redhat.com>
6812
6813         * libnm-util/nm-setting.c
6814                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6815                         EAP method need secrets
6816
6817 2007-10-24  Dan Williams  <dcbw@redhat.com>
6818
6819         * src/backends/NetworkManagerRedHat.c
6820                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6821
6822 2007-10-23  Dan Williams  <dcbw@redhat.com>
6823
6824         * libnm-util/nm-setting.c
6825           libnm-util/nm-setting.c
6826                 - (nm_setting_compare): implement
6827                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6828                    compare_one_hash_gvalue): compare the contents of a setting
6829
6830         * libnm-util/nm-connection.c
6831                 - (nm_connection_compare): implement
6832
6833 2007-10-23  Dan Williams  <dcbw@redhat.com>
6834
6835         * src/nm-activation-request.c
6836                 - (get_secrets_cb): handle getting a setting back that is more than
6837                         just secrets (ie, user changed auth or EAP method or something)
6838
6839 2007-10-23  Dan Williams  <dcbw@redhat.com>
6840
6841         * libnm-util/nm-setting.c
6842           libnm-util/nm-setting.h
6843                 - (nm_setting_verify): new function; verify one setting
6844                 - (nm_settings_verify_all): rename from nm_settings_verify()
6845                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6846                         all_settings
6847
6848         * libnm-util/nm-connection.c
6849                 - (nm_connection_replace_settings, nm_connection_verify,
6850                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6851
6852 2007-10-23  Dan Williams  <dcbw@redhat.com>
6853
6854         * src/nm-device-802-11-wireless.c
6855                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6856                         desired behavior
6857
6858 2007-10-23  Dan Williams  <dcbw@redhat.com>
6859
6860         * src/supplicant-manager/nm-supplicant-settings-verify.c
6861                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6862                         nm-settings.c
6863
6864 2007-10-23  Dan Williams  <dcbw@redhat.com>
6865
6866         * src/nm-device-802-11-wireless.c
6867                 - (real_act_stage2_config): after the first association failure,
6868                         if the connection still needs secrets ask the user for them
6869                         explicitly.  After the fourth association failure due to bad
6870                         secrets, fail the connection entirely.  Handles the GetSecrets
6871                         loop that NM gets into when the provided secrets don't match up
6872                         with the connection details.
6873
6874 2007-10-23  Dan Williams  <dcbw@redhat.com>
6875
6876         * src/supplicant-manager/nm-supplicant-config.c
6877                 - (nm_supplicant_config_add_setting_wireless_security): only add
6878                         WPA-specific options when WPA is in use
6879
6880 2007-10-23  Dan Williams  <dcbw@redhat.com>
6881
6882         * src/supplicant-manager/nm-supplicant-config.c
6883                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6884                         secret doesn't need to be unhexified
6885
6886 2007-10-23  Dan Williams  <dcbw@redhat.com>
6887
6888         * libnm-util/nm-setting.c
6889                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6890                         before trying to do something with it
6891
6892 2007-10-23  Dan Williams  <dcbw@redhat.com>
6893
6894         * src/nm-device-802-11-wireless.c
6895                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6896
6897 2007-10-23  Dan Williams  <dcbw@redhat.com>
6898
6899         * src/nm-device-802-11-wireless.c
6900                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6901                         non-SSID-broadcasting APs
6902
6903 2007-10-23  Dan Williams  <dcbw@redhat.com>
6904
6905         * src/NetworkManagerAP.c
6906                 - (match_cipher, security_compatible): remove
6907                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6908                         libnm-util instead
6909
6910 2007-10-23  Dan Williams  <dcbw@redhat.com>
6911
6912         * libnm-util/nm-utils.c
6913           libnm-util/nm-utils.h
6914                 - (nm_utils_ap_security_compatible): common function for checking
6915                         whether a specific AP is compatible with an NMConnection
6916
6917 2007-10-23  Dan Williams  <dcbw@redhat.com>
6918
6919         * libnm-util/nm-setting.c
6920                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6921                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6922                    need_secrets_password, setting_wireless_security_verify): fix
6923                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6924                         secrets logic for each supported EAP method
6925
6926 2007-10-23  Dan Williams  <dcbw@redhat.com>
6927
6928         * src/supplicant-manager/nm-supplicant-config.c
6929                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6930                         config option name, should be "private_key2_passwd"
6931
6932 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6933
6934         Implement support for static IP addresses, additional/overridden DNS and
6935         DNS domain search lists.
6936
6937         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6938         (ip4_addresses_to_gvalue): Implement.
6939         (convert_array_to_byte_array): Implement.
6940         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6941         NM_S_TYPE_IP4_ADDRESSES.
6942         (nm_setting_hash): Ditto.
6943         (default_setting_clear_secrets): Add a default case for the switch: IP address
6944         shouldn't be secret, ever.
6945         (setting_ip4_config_verify): Update, requires addresses in case of manual
6946         configurations.
6947         (setting_ip4_config_destroy): Free stuff.
6948
6949         * src/nm-device.c (merge_ip4_config): Implement.
6950         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6951
6952 2007-10-22  Dan Williams  <dcbw@redhat.com>
6953
6954         * libnm-util/nm-setting.c
6955                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6956                         pairwise cipher options for Dynamic WEP
6957
6958 2007-10-21  Dan Williams  <dcbw@redhat.com>
6959
6960         * src/NetworkManagerAP.c
6961           src/NetworkManagerAP.h
6962                 - Rename 'articifical' -> 'fake' since that's what they are until
6963                         noticed in scans
6964                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6965                         from the attributes in an NMConnection object
6966                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6967                         WPA Enterprise
6968                 - (nm_ap_match_in_list): find a matching AP in a scan list
6969
6970         * src/nm-device-802-11-wireless.c
6971                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6972                         AP when searching the scan list; match on frequency and mode too
6973                 - (nm_device_802_11_wireless_get_frequency): implement
6974                 - (merge_scanned_ap): replace duplicate matching logic with
6975                         nm_ap_match_in_list()
6976                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6977                         the user is trying to connect to a hidden network that is not yet
6978                         known from the scan list
6979                 - (activation_success_handler): now that the card knows the AP's BSSID,
6980                         there may already be a scanned AP in the scan list that is what
6981                         we really wanted to connect to, but didn't know at the time.  Use
6982                         that instead of the 'fake' AP created at activation start and get
6983                         rid of the 'fake' AP 
6984                 - (cull_scan_list): don't remove fake APs
6985
6986 2007-10-21  Dan Williams  <dcbw@redhat.com>
6987
6988         * src/nm-activation-request.h
6989           src/nm-activation-request.c
6990                 - (nm_act_request_set_specific_object): new function; allow setting the
6991                         specific object if one isn't set yet
6992
6993 2007-10-20  Dan Williams  <dcbw@redhat.com>
6994
6995         * src/supplicant-manager/nm-supplicant-config.h
6996           src/supplicant-manager/nm-supplicant-config.c
6997                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6998                         table to store blobs
6999                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7000                         blob hash table
7001                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7002                 - (nm_supplicant_config_add_setting_wireless_security): handle
7003                         options that use certificates (ie, blobs)
7004
7005         * src/nm-device-802-11-wireless.c
7006                 - (build_supplicant_config): pass a UID (just use the connection path)
7007                         to the supplicant config as now required
7008
7009         * src/supplicant-manager/nm-supplicant-interface.c
7010                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7011                         there are any blobs to send to wpa_supplicant, send those first
7012                         before sending the network configuration
7013
7014 2007-10-19  Dan Williams  <dcbw@redhat.com>
7015
7016         Split the GetSecrets() call off to a separate D-Bus interface so that it
7017         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7018         should be able to call GetSecrets().
7019
7020         * include/NetworkManager.h
7021                 - Define the connection secrets D-Bus interface
7022
7023         * src/vpn-manager/nm-vpn-connection.c
7024                 - (clear_need_auth): get the right proxy object for the connection
7025                         secrets interface
7026                 - (get_connection_secrets): use the connection secrets proxy; send
7027                         empty hints in get secrets request
7028
7029         * src/nm-activation-request.c
7030                 - (nm_act_request_request_connection_secrets): use the connection
7031                         secrets proxy; send empty hints in get secrets request
7032
7033         * src/nm-manager.c
7034           src/nm-manager.h
7035                 - (connection_get_settings_cb): set the connection secrets proxy on
7036                         the connection object too
7037                 - (internal_new_connection_cb): create the connection secrets proxy
7038
7039         * introspection/nm-settings-connection.xml
7040                 - Define Connection.Secrets interface and move GetSecrets there
7041                 - Add a 'hints' argument to GetSecrets
7042
7043         * libnm-glib/nm-settings.c
7044           libnm-glib/nm-settings.h
7045                 - (impl_connection_settings_get_secrets): add 'hints' argument
7046
7047 2007-10-19  Dan Williams  <dcbw@redhat.com>
7048
7049         * src/nm-device.c
7050                 - (constructor): add message about what path a device is exported as
7051                         to help in debugging rh #339011
7052
7053 2007-10-17  Dan Williams  <dcbw@redhat.com>
7054
7055         * libnm-util/nm-utils.h
7056           libnm-util/nm-utils.c
7057                 - (nm_utils_security_valid): common function to help find the intersection
7058                         of capabilities of devices and (optionally) access points
7059
7060 2007-10-17  Dan Williams  <dcbw@redhat.com>
7061
7062         * src/nm-device-802-11-wireless.c
7063                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7064                         don't get erroneously cleared
7065
7066 2007-10-17  Dan Williams  <dcbw@redhat.com>
7067
7068         * src/nm-manager.h
7069           src/nm-manager.c
7070           src/nm-hal-manager.c
7071                 - (device_removed, finalize, nm_manager_remove_device,
7072                    nm_manager_sleep): add a 'deactivate' argument to 
7073                    nm_manager_remove_device() to fully deactivate devices when necessary
7074                    (ie, always except when waking up)
7075
7076 2007-10-16  Dan Williams  <dcbw@redhat.com>
7077
7078         * libnm-util/nm-setting.c
7079                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7080                         also isn't valid phase2 autheap method
7081
7082 2007-10-16  Dan Williams  <dcbw@redhat.com>
7083
7084         * libnm-glib/nm-client.c
7085                 - (update_wireless_status): consolidate updates of wireless status
7086                 - (constructor): use update_wireless_status()
7087                 - (manager_running): set wireless status off when NM goes away; requery
7088                         the wireless status when NM comes back
7089
7090 2007-10-16  Dan Williams  <dcbw@redhat.com>
7091
7092         * libnm-glib/nm-client.c
7093                 - (nm_client_activate_device): actually use the fixed-up specific
7094                         object path
7095
7096 2007-10-16  Dan Williams  <dcbw@redhat.com>
7097
7098         * src/nm-hal-manager.c
7099                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7100                         killswitch error messages once
7101
7102 2007-10-16  Dan Williams  <dcbw@redhat.com>
7103
7104         * src/nm-manager.c
7105                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7106                         if it's disabled in hardware; don't touch network devices while
7107                         NM is asleep
7108
7109 2007-10-16  Dan Williams  <dcbw@redhat.com>
7110
7111         * libnm-util/nm-client.c
7112                 - (nm_client_activate_device): convert NULL specific_object to "/",
7113                         which is used in place of NULL
7114
7115         * src/nm-manager.c
7116                 - (impl_manager_activate_device): convert "/" specific_object back into
7117                         NULL
7118
7119 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7120
7121         Implement a generic NMSetting creator from setting name.
7122         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7123         add a virtual function 'populate_fn'.
7124
7125         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7126         (register_default_creators): Register setting creators instead of functions
7127         that create and then populate.
7128         (parse_one_setting): Use the common setting creator and then setting specific
7129         poplulation function.
7130
7131         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7132         they all looked exactly the same.
7133         Add a 'populate_fn' virtual function to NMSetting.
7134         Use default virtual functions in case they are not overriden.
7135         (nm_setting_populate_from_hash): Implement.
7136
7137         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7138         name, use a defined string.
7139         (real_act_stage4_get_ip4_config): Ditto.
7140
7141 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7142
7143         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7144         HAL is int, not uint.
7145
7146 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7147
7148         Implement killswitch polling through HAL.
7149
7150         * src/nm-manager.c: Add wireless hardware status property. Add 
7151         'properties-changed' signal for changes in wireless and wireless hardware
7152         state changes.
7153
7154         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7155         and update NMManager's wireless hardware state when it has changed.
7156         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7157         already does that.
7158
7159         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7160         values of wireless state and wireless hardware state. Listen for the
7161         'properties-changed' signals, update the cached values and emit notify.
7162
7163         * include/NetworkManager.h: Fix a typo in a comment.
7164
7165 2007-10-14  Dan Williams  <dcbw@redhat.com>
7166
7167         * libnm-util/nm-setting.c
7168                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7169
7170 2007-10-13  Dan Williams  <dcbw@redhat.com>
7171
7172         * libnm-util/nm-setting.h
7173           libnm-util/nm-setting.c
7174           src/supplicant-manager/nm-supplicant-config.c
7175                 - Make the 'proto' field of the 802-11-wireless-security field a
7176                         string list
7177
7178 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7179
7180         Rework the "properties-changed" signal listening implementation.
7181         Add a generic implementation to NMObject class that listens for
7182         the signal and calls property setters of the target NMObject.
7183
7184         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7185
7186         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7187         code to the end of file so that all the static functions are available
7188         without extra declarations.
7189         Remove the "properties-changed" signal handling and use the framework from
7190         NMObject.
7191         Implement property setters for properties that change with 
7192         "properties-changed" signal.
7193
7194         * libnm-glib/nm-access-point.c: Ditto.
7195
7196 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7197
7198         Rework the "properties-changed" signal implementation.
7199         In classes that need to use it, just emit "GObject::notify" and the new
7200         framework takes care of the rest to make the signal available on dbus.
7201         The framework queues the notifications and tries to send as many together
7202         in one signal as possible.
7203
7204         * src/nm-properties-changed-signal.c:
7205         * src/nm-properties-changed-signal.h: Implement.
7206
7207         * src/Makefile.am: Add new files to build.
7208
7209         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7210         signal.
7211
7212         * src/nm-device-802-11-wireless.c: Ditto.
7213
7214 2007-10-10  Dan Williams  <dcbw@redhat.com>
7215
7216         * src/nm-manager.c
7217                 - (wait_for_connection_expired): ensure info is valid
7218                 - (connection_added_default_handler): Should only remove pending
7219                         connection info when the manager has the connection that it's
7220                         waiting for.  Fixes segfault in wait_for_connection_info().  
7221
7222 2007-10-10  Dan Williams  <dcbw@redhat.com>
7223
7224         * libnm-util/nm-setting.c
7225           libnm-util/nm-setting.h
7226                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7227                         can use if they choose.  Should be filled in by the settings service
7228                         on-the-fly with the currently logged in user's username
7229
7230 2007-10-10  Dan Williams  <dcbw@redhat.com>
7231
7232         * src/nm-device-802-11-wireless.c
7233                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7234                         as such, because even if the manager fills in the SSID, NM still
7235                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7236                         its SSID
7237
7238 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7239
7240         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7241         code that used NM's own version of dbus signal handling and custom dictionary
7242         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7243         and we get to maintain over 2000 lines less code.
7244
7245         * libnm-util/dbus-dict-helpers.c:
7246         * libnm-util/dbus-dict-helpers.h: Remove.
7247
7248         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7249
7250         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7251
7252         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7253         handlers.
7254
7255         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7256
7257         * configure.in: Remove test/libnm-util/Makefile creation.
7258
7259         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7260
7261         * test/libnm-util/: Remove the whole directory.
7262
7263 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7264
7265         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7266         device_state_changed_idle_id variable or it would contain some random value and the
7267         schedule_change_check calls would not do anything.
7268
7269 2007-10-09  Dan Williams  <dcbw@redhat.com>
7270
7271         * src/nm-device-802-11-wireless.c
7272                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7273                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7274                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7275                         merging of non-SSID-broadcasting APs
7276
7277 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7278
7279         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7280         "guint8 *" since it's usually used with GByteArray->data.
7281         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7282
7283 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7284
7285         * src/NetworkManagerUtils.c
7286         (nm_utils_is_empty_ssid):
7287         (nm_utils_escape_ssid):
7288         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7289         lot of places, so they belong to libnm-utils instead.
7290
7291         Now with 100% less compiler warnings:
7292
7293         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7294         (nm_dbus_unescape_object_path): Ditto.
7295         (nm_utils_ssid_to_utf8): Ditto.
7296         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7297         (nm_utils_escape_ssid): Ditto.
7298         (nm_utils_same_ssid): Ditto.
7299
7300         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7301         (add_one_connection_element): Remove an unused variable.
7302         (impl_manager_get_active_connections): Ditto.
7303
7304         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7305         variable.
7306
7307         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7308         from the previous commit.
7309
7310         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7311         (real_act_stage1_prepare): Ditto.
7312         (activation_success_handler): Ditto.
7313         (get_property): Ditto.
7314
7315         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7316         variable.
7317
7318         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7319         it's always set.
7320
7321         * src/supplicant-manager/nm-supplicant-config.c 
7322         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7323         to expected "char *".
7324         (nm_supplicant_config_add_setting_wireless): Ditto.
7325         (nm_supplicant_config_remove_option): Remove, not used.
7326
7327         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7328         not double.
7329         (test_wireless_enabled): Ifdef out unused function.
7330         (device_deactivate): Ditto.
7331         (device_state_changed): Ditto.
7332         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7333         (nm_utils_escape_ssid): Ditto.
7334
7335         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7336         (nm_utils_is_empty_ssid): Ditto.
7337
7338         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7339         unused variable.
7340
7341         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7342         (setting_vpn_properties_update_secrets): Ditto.
7343         (int_to_gvalue): Ifdef out for now, not used.
7344         (byte_to_gvalue): Ditto.
7345
7346         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7347         Unused, remove.
7348
7349 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7350
7351         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7352         about dbus manager, not named manager.
7353         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7354
7355         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7356         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7357         However, the same signal is emitted when we destroy it and there's 
7358         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7359
7360         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7361         releasing the DBusGConnection, since proxy needs a conneciton.
7362         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7363
7364 2007-10-08  Dan Williams  <dcbw@redhat.com>
7365
7366         * src/NetworkManager.c
7367                 - (main): error on unknown command-line options
7368
7369 2007-10-08  Dan Williams  <dcbw@redhat.com>
7370
7371         Reimplement the invalid connection list.  Don't try to re-activate a
7372         connection that just failed or was canceled.
7373
7374         * src/nm-device.c
7375                 - (connection_secrets_failed_cb): fail device activation, don't just
7376                         deactivate the device.  Listeners have to know about the failure.
7377
7378         * src/NetworkManagerPolicy.c
7379                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7380                         the connection list given to a device's get_best_connection()
7381                         method
7382                 - (device_state_changed): tag failed connections as invalid; clear the
7383                         tag from successful connections
7384
7385 2007-10-08  Dan Williams  <dcbw@redhat.com>
7386
7387         Fix problems with interrupted activation.  Previously, choosing an AP
7388         from the menu, then choosing another one before the first connection was
7389         successful wouldn't deactivate the device before starting the new connection
7390         on that same device.
7391
7392         * src/NetworkManagerPolicy.c
7393                 - (deactivate_old_device, device_state_changed, state_changed,
7394                    nm_policy_new): wrong place to deactivate old devices
7395
7396         * src/nm-manager.c
7397                 - (pending_connection_info_destroy, finalize,
7398                    wait_for_connection_expired): decouple destruction of the pending
7399                         connection info from the manager device
7400                 - (connection_added_default_handler): deactivate any active or
7401                         activating device before starting a new activation
7402                 - (impl_manager_activate_device): deactivate any active or activating
7403                         device before starting a new activation; be sure not to leak
7404                         pending connection info if a new activation request arrives but
7405                         there's already a pending one in-process
7406
7407 2007-10-08  Dan Williams  <dcbw@redhat.com>
7408
7409         * src/NetworkManagerAP.h
7410           src/NetworkManagerAP.c
7411                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7412                         should handle default SSIDs and whether or not to autoconnect
7413                         to them
7414
7415 2007-10-08  Dan Williams  <dcbw@redhat.com>
7416
7417         * src/NetworkManagerPolicy.c
7418                 - (nm_policy_device_change_check): print out connection name where
7419                         possible
7420
7421 2007-10-08  Dan Williams  <dcbw@redhat.com>
7422
7423         * src/nm-device-802-11-wireless.c
7424           src/nm-device-802-11-wireless.h
7425                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7426                         'hidden-ap-found' signal (for internal use only) that allows the
7427                         NMManager to fill in the AP's SSID if a connection has that AP's
7428                         BSSID in its seen-bssids list
7429
7430         * src/nm-manager.c
7431                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7432                         wireless device's hidden-ap-found signal and fill in the APs SSID
7433                         if possible
7434
7435 2007-10-07  Dan Williams  <dcbw@redhat.com>
7436
7437         * src/nm-manager.c
7438           src/nm-manager.h
7439                 - Add a 'connections-added' signal to batch together updates of large
7440                         numbers of connections, like when reading from a settings service
7441                         the first time.  Otherwise, the policy would just activate the first
7442                         suitable connection it saw rather than waiting for the full list
7443                         to arrive.
7444                 - (nm_manager_class_init): register new signal
7445                 - (get_type_for_proxy, connection_get_settings_cb,
7446                    get_connection_for_proxy): centralize places where a proxy's setting
7447                         service is determined
7448                 - (free_get_settings_info): if the call being freed is the last call
7449                         in a pending call group, fire off the connections-added signal
7450                 - (internal_new_connection_cb): add call to a pending call group if
7451                         requested
7452                 - (list_connections_cb): always create a call group here, because this
7453                         call results in a batch of new connections
7454                 - (initial_get_connections): start getting system connections first
7455                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7456                         removed signal when destroying connections
7457
7458         * src/NetworkManagerPolicy.c
7459                 - (nm_policy_new, connections_added): handle connections-added signal
7460                         from the manager
7461
7462 2007-10-06  Dan Williams  <dcbw@redhat.com>
7463
7464         * src/nm-device-802-11-wireless.c
7465                 - (constructor): fix leaked socket
7466
7467 2007-10-06  Dan Williams  <dcbw@redhat.com>
7468
7469         * src/NetworkManagerPolicy.c
7470                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7471                         connection in the list returned by nm_manager_get_connections() is
7472                         reffed, but they weren't getting unreffed before returning
7473
7474 2007-10-06  Dan Williams  <dcbw@redhat.com>
7475
7476         * src/nm-manager.c
7477                 - (connections_to_slist): sort connections first on autoconnect, then
7478                         on timestamp
7479
7480 2007-10-06  Dan Williams  <dcbw@redhat.com>
7481
7482         * libnm-util/nm-connection.c
7483                 - (gvalue_to_string): handle UINT64
7484
7485 2007-10-06  Dan Williams  <dcbw@redhat.com>
7486
7487         * src/NetworkManagerPolicy.c
7488                 - (connection_updated, nm_policy_new): recheck state when a connection
7489                         gets updated
7490
7491 2007-10-06  Dan Williams  <dcbw@redhat.com>
7492
7493         * src/nm-manager.c
7494           src/nm-manager.h
7495                 - (nm_manager_get_connection_dbus_path): make static
7496                 - (nm_manager_update_connections): remove; unused
7497                 - Add a connection-updated signal
7498                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7499                         handle connection object updates
7500
7501 2007-10-06  Dan Williams  <dcbw@redhat.com>
7502
7503         * src/NetworkManagerPolicy.c
7504                 - (connection_removed): deactivate removed connections
7505
7506 2007-10-06  Dan Williams  <dcbw@redhat.com>
7507
7508         * libnm-util/nm-connection.c
7509           libnm-util/nm-connection.h
7510                 - (nm_connection_replace_settings): new function
7511
7512 2007-10-06  Dan Williams  <dcbw@redhat.com>
7513
7514         * libnm-glib/nm-device-802-11-wireless.c
7515                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7516                         on error when getting the active access point over D-Bus from NM
7517
7518 2007-10-05  Dan Williams  <dcbw@redhat.com>
7519
7520         * libnm-util/nm-setting.c
7521                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7522                         to the NMSettingWireless table; it's now a string array not an array
7523                         of byte arrays
7524
7525 2007-10-05  Dan Williams  <dcbw@redhat.com>
7526
7527         * libnm-glib/nm-device-802-11-wireless.c
7528                 - Cache properties and update cached properties on D-Bus signals from NM
7529
7530 2007-10-05  Dan Williams  <dcbw@redhat.com>
7531
7532         * src/nm-device-802-11-wireless.c
7533                 - (set_current_ap): consolidate current_ap handling code into one place
7534                         to ensure that PropertiesChanged signals are emitted in all cases
7535                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7536                    nm_device_802_11_wireless_dispose): use set_current_ap()
7537
7538 2007-10-05  Dan Williams  <dcbw@redhat.com>
7539
7540         * libnm-glib/nm-access-point.c
7541           libnm-glib/nm-access-point.h
7542                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7543                         because the value is cached internally now.  Callers should not
7544                         free the internal value.
7545                 - Make signal name defines private
7546
7547         * test/nm-tool.c
7548           libnm-glib/libnm-glib-test.c
7549                 - Don't free value returned from nm_access_point_get_hw_address()
7550
7551 2007-10-04  Dan Williams  <dcbw@redhat.com>
7552
7553         * introspection/nm-device-802-11-wireless.xml
7554           src/nm-device-802-11-wireless.h
7555           src/nm-device-802-11-wireless.c
7556                 - Add a PropertiesChanged signal for wireless device
7557                 - Store currently associated access point
7558                 - (periodic_update): generalize; update rate here too and emit the
7559                         correct PropertiesChanged signal when stuff changes
7560                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7561                    real_activation_cancel_handler): clear current_ap when device is
7562                         deactivated
7563                 - (link_to_specific_ap, get_ap_blacklisted,
7564                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7565                         code
7566                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7567                         outside this file
7568                 - (real_set_hw_address): emit property changed signal if the card's
7569                         MAC address changes
7570                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7571                         the card is supposed to be connecting to
7572                 - (activation_success_handler): send out property updates on successful
7573                         activation
7574                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7575                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7576                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7577                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7578                         is now boxed; add PropertiesChanged signal
7579
7580 2007-10-04  Dan Williams  <dcbw@redhat.com>
7581
7582         * libnm-util/nm-connection.c
7583           libnm-util/nm-connection.h
7584                 - (nm_connection_verify): new function
7585
7586 2007-10-04  Dan Williams  <dcbw@redhat.com>
7587
7588         * libnm-util/nm-setting.c
7589                 - (nm_settings_verify): use #defines when possible rather than strings
7590                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7591                 - (setting_vpn_verify): tighter validity check on 'service_type'
7592
7593 2007-10-04  Dan Williams  <dcbw@redhat.com>
7594
7595         * libnm-glib/nm-settings.c
7596                 - (nm_connection_settings_class_init): provide correct type for argument
7597                         to the Updated signal so that dbus-glib knows how to marshal it
7598
7599 2007-10-03  Dan Williams  <dcbw@redhat.com>
7600
7601         * src/nm-device-802-3-ethernet.c
7602                 - (real_get_best_connection): don't create automatic connections
7603                         internally; clients should provide a setting that applies to
7604                         the device with 'autoconnect: True'.  Problem was that these
7605                         internally auto-created connections don't have a proxy or service
7606                         name becuase they weren't created by a settings daemon, and therefore
7607                         clients have no idea what to do with them.
7608
7609 2007-10-03  Dan Williams  <dcbw@redhat.com>
7610
7611         * src/nm-device-802-11-wireless.c
7612           src/nm-device-802-11-wireless.h
7613           introspection/nm-device-802-11-wireless.xml
7614                 - GetActiveNetworks -> GetAccessPoints
7615                 - ActiveNetwork -> ActiveAccessPoint
7616                 - NetworkAdded -> AccessPointAdded
7617                 - NetowrkRemoved -> AccessPointRemoved
7618
7619         * libnm-glib/nm-device-802-11-wireless.c
7620           libnm-glib/nm-device-802-11-wireless.h
7621                 - network-added signal -> access-point-added
7622                 - network-removed signal -> access-point-removed
7623                 - nm_device_802_11_wireless_get_active_network() ->
7624                         nm_device_802_11_wireless_get_active_access_point()
7625                 - nm_device_802_11_wireless_get_network_by_path() ->
7626                         nm_device_802_11_wireless_get_access_point_by_path()
7627                 - nm_device_802_11_wireless_get_networks() ->
7628                         nm_device_802_11_wireless_get_access_points()
7629
7630         * libnm-glib/libnm-glib-test.c
7631           test/nm-tool.c
7632           src/NetworkManagerPolicy.c
7633                 - Fixups for Network -> AccessPoint
7634
7635 2007-10-03  Dan Williams  <dcbw@redhat.com>
7636
7637         Add a GetActiveConnections() method on the Manager object.
7638
7639         * src/nm-manager.c
7640           src/nm-manager.h
7641           introspection/nm-manager.xml
7642                 - (connection_get_settings_cb): keep connection type around too
7643                 - (impl_manager_get_active_connections, add_one_connection_element):
7644                         implement; returns all active connections and what devices they
7645                         apply to
7646
7647         * libnm-glib/nm-client.c
7648           libnm-glib/nm-client.h
7649           introspection/nm-manager-client.xml
7650                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7651                         by the caller; free here to avoid memory leak
7652                 - (nm_client_get_active_connections): implement; return the list of
7653                         active connections
7654                 - (nm_client_free_active_connection_element): implement; free an element
7655                         of the GSList returned by nm_client_get_active_connections()
7656
7657 2007-10-03  Dan Williams  <dcbw@redhat.com>
7658
7659         * src/nm-device-802-11-wireless.c
7660                 - (nm_device_802_11_wireless_update_bssid): remove
7661                 - (get_active_ap): new function; find the AP in the scan list which
7662                         matches the current BSSID and SSID of the wireless device
7663                 - (nm_device_802_11_periodic_update): get current AP using
7664                         get_active_ap() and print AP roam messages
7665
7666 2007-10-01  Dan Williams  <dcbw@redhat.com>
7667
7668         * libnm-util/nm-setting.h
7669                 - Add a 'timestamp' option to NMSettingConnection
7670                 - Add a UINT64 type
7671
7672         * libnm-util/nm-setting.c
7673                 - (uint64_to_gvalue): new function
7674                 - (nm_setting_populate_from_hash, nm_setting_hash,
7675                    default_setting_clear_secrets): handle UINT64 type
7676                 - con_table: add 'timestamp' member
7677
7678 2007-10-01  Dan Williams  <dcbw@redhat.com>
7679
7680         * src/nm-manager.c
7681                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7682                         value when the connection can be activated immediately
7683
7684 2007-10-01  Dan Williams  <dcbw@redhat.com>
7685
7686         * libnm-glib/nm-device.c
7687                 - (nm_device_class_init): actually tell glib about the carrier-changed
7688                         signal
7689
7690 2007-10-01  Dan Williams  <dcbw@redhat.com>
7691
7692         * configure.in
7693           src/marshallers/Makefile.am
7694           src/marshallers/nm-marshal.list
7695           src/marshallers/nm-marshal-main.c
7696                 - Consolidate glib marshallers into one place
7697
7698         * src/dhcp-manager/Makefile.am
7699           src/dhcp-manager/nm-dhcp-manager.c
7700           src/supplicant-manager/Makefile.am
7701           src/supplicant-manager/nm-supplicant-manager.c
7702           src/supplicant-manager/nm-supplicant-interface.c
7703           src/ppp-manager/Makefile.am
7704           src/ppp-manager/nm-ppp-manager.c
7705           src/vpn-manager/Makefile.am
7706           src/vpn-manager/nm-vpn-connection.c
7707           src/Makefile.am
7708                 - Use consolidated marshallers
7709
7710         * src/dhcp-manager/nm-dhcp-marshal.list
7711           src/dhcp-manager/nm-dhcp-marshal-main.c
7712           src/supplicant-manager/nm-supplicant-marshal-main.c
7713           src/supplicant-manager/nm-supplicant-marshal.list
7714           src/nm-marshal-main.c
7715           src/nm-marshal.list
7716           src/ppp-manager/nm-ppp-marshal-main.c
7717           src/ppp-manager/nm-ppp-marshal.list
7718           src/vpn-manager/nm-vpn-marshal-main.c
7719           src/vpn-manager/nm-vpn-marshal.list
7720                 - Remove
7721
7722 2007-10-01  Dan Williams  <dcbw@redhat.com>
7723
7724         * include/NetworkManagerVPN.h
7725                 - define VPN connection state change reason codes
7726
7727         * src/vpn-manager/Makefile.am
7728           src/vpn-manager/nm-vpn-marshal.list
7729           src/vpn-manager/nm-vpn-marshal-main.c
7730                 - Add marshallers for StateChanged signal
7731
7732         * introspection/nm-vpn-connection.xml
7733                 - New Banner property
7734                 - StateChanged signal now includes a 'reason' argument
7735
7736         * src/vpn-manager/nm-vpn-connection.c
7737           src/vpn-manager/nm-vpn-connection.h
7738                 - Add a "Banner" property that contains the returned VPN server login
7739                         banner (if any); valid only in the ACTIVATED state
7740                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7741                         a 'reason' argument and emits that reason along with the
7742                         state-changed signal
7743                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7744                 - (nm_vpn_connection_ip4_config_get): save banner for later
7745                 - (nm_vpn_connection_get_banner, get_property,
7746                    nm_vpn_connection_class_init): implement Banner property
7747
7748         * src/vpn-manager/nm-vpn-service.c
7749                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7750                         connection list because elements may get added/removed from it
7751                         while iterating over the list
7752                 - (connection_state_changed): signal now includes the 'reason' argument
7753
7754         * libnm-glib/nm-vpn-connection.c
7755           libnm-glib/nm-vpn-connection.h
7756                 - (nm_vpn_connection_get_banner): new function
7757                 - (state_changed_proxy): handle reason argument
7758
7759 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7760
7761         * src/nm-manager.c:
7762         * src/nm-manager.h:
7763         Implement device activation through NMManager.
7764         Implement "pending device activation" here - If the connection isn't found,
7765         we try to wait for up to 5 seconds for the connection to be provided.
7766         Add NMConnectionType argument to "connection-added" and "connection-removed"
7767         signals.
7768         (nm_manager_get): Remove. Finally.
7769
7770         * src/nm-activation-request.c: 
7771         * src/nm-activation-request.h: 
7772         Remove all the deferred activation code.
7773
7774         * src/nm-device.c: Remove all the deferred activation code. Once the device
7775         activation is started, it's started. Update the activation virtual function
7776         signature.
7777
7778         * src/nm-device-interface.c:
7779         * src/nm-device-interface.h:
7780         Device activation now takes only NMActRequest argument.
7781         Don't expose device activation directly on dbus, it's supposed to go through
7782         NMManager now.
7783
7784         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7785         a bit more compact.
7786         Use the new device activation methods through NMManager.
7787
7788         * introspection/nm-manager-client.xml: 
7789         * introspection/nm-manager.xml: 
7790         * libnm-glib/nm-client.c:
7791         * libnm-glib/nm-client.h:
7792         Add device activation method.
7793         
7794         * libnm-glib/nm-device.c: 
7795         * libnm-glib/nm-device.h: 
7796         * introspection/nm-device.xml: 
7797         Remove device activation method. It's done through NMManager now.
7798
7799         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7800         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7801
7802 2007-09-28  Dan Williams  <dcbw@redhat.com>
7803
7804         * libnm-glib/nm-vpn-connection.c
7805                 - (nm_vpn_connection_get_state): try to update state if the current
7806                         state is UNKNOWN
7807
7808 2007-09-27  Dan Williams  <dcbw@redhat.com>
7809
7810         Patch from Bill Nottingham
7811
7812         * src/supplicant-manager/nm-supplicant-config.c
7813                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7814                         data to the supplicant
7815
7816 2007-09-27  Dan Williams  <dcbw@redhat.com>
7817
7818         * src/NetworkManagerSystem.c
7819                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7820                         and all address manipulation here should be happening on the
7821                         _VPN_ device, not the active device
7822
7823 2007-09-26  Dan Williams  <dcbw@redhat.com>
7824
7825         * src/nm-manager.c
7826           src/nm-manager.h
7827           src/nm-activation-request.c
7828           src/nm-activation-request.h
7829                 - Move the GetSecrets stuff out of the NMManager instance because it
7830                         doesn't really need to be there and complicates things
7831
7832         * src/nm-device.c
7833                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7834                         connection-secrets-failed signal and deactivate the device if
7835                         the GetSecrets call fails
7836
7837         * src/nm-device-802-11-wireless.c
7838                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7839                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7840                         secrets and give correct hints about whether new secrets should be
7841                         asked for by the client or not
7842
7843 2007-09-26  Dan Williams  <dcbw@redhat.com>
7844
7845         * src/vpn-manager/nm-vpn-connection.c
7846                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7847                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7848                         to the secrets-updated signal of the NMConnection since updating
7849                         the secrets is done within the scope of the NMVPNConnection object
7850                         already
7851                 - (get_connection_secrets): fix an uninialized variable usage error
7852
7853 2007-09-26  Dan Williams  <dcbw@redhat.com>
7854
7855         * libnm-util/nm-setting.c
7856                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7857                         actually get updated when the user enters them
7858
7859 2007-09-26  Dan Williams  <dcbw@redhat.com>
7860
7861         * libnm-glib/nm-vpn-plugin.c
7862                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7863
7864 2007-09-26  Dan Williams  <dcbw@redhat.com>
7865
7866         * include/NetworkManagerVPN.h
7867                 - Add a NEED_AUTH state
7868
7869         * src/vpn-manager/nm-vpn-connection.c
7870                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7871                         the connection needs secrets, and if so, then ask the settings
7872                         service to fill in the secrets.  Then start the connection.
7873
7874 2007-09-26  Dan Williams  <dcbw@redhat.com>
7875
7876         * src/vpn-manager/nm-vpn-manager.c
7877                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7878
7879 2007-09-26  Dan Williams  <dcbw@redhat.com>
7880
7881         * introspection/nm-vpn-plugin.xml
7882           libnm-glib/nm-vpn-plugin.c
7883           libnm-glib/nm-vpn-plugin.h
7884                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7885                         the name of the NMSetting in an NMConnection that may require
7886                         secrets specific to that VPN plugin
7887
7888 2007-09-26  Dan Williams  <dcbw@redhat.com>
7889
7890         * src/nm-manager.c
7891           src/nm-manager.h
7892                 - (nm_manager_get_connection_secrets): make static, unused outside
7893                         the file
7894                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7895
7896 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7897
7898         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7899         method.
7900         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7901         unreference the connection.
7902
7903         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7904         passing properties hash and routes string list, pass NMConnection (in hashed form).
7905
7906         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7907         as GSList, no need to copy stuff around anymore.
7908         (nm_vpn_connection_activate): Update the plugin activation method.
7909
7910         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7911         routes argument to GSList.
7912
7913 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7914
7915         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7916         state and try to get the secrets.
7917
7918         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7919         connections from NMManager and let the device to choose the best from the list.
7920         Since the connection list is sorted by system ones first and user ones later,
7921         the devices still prefer system connections like they did before.
7922         (deactivate_old_device): Implement. When a device starts activation, we have a
7923         policy (for now at least) to deactivate any other device that might be either
7924         active or still activating.
7925
7926         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7927         It's set on construction, there will be no other way to access it.
7928
7929         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7930         device events and drive the device, not the other way around.
7931
7932         * src/nm-device-802-3-ethernet.c: Ditto.
7933
7934         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7935         sent along, pass it on to virtual functions.
7936
7937         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7938         for now, but should really be public instead of nm_device_get_iface() since iface
7939         is a property of the DeviceInterface, not Device.
7940         (impl_device_activate): Don't touch NMManager!
7941
7942 2007-09-26  Jürg Billeter  <j@bitron.ch>
7943
7944         * initscript/paldo/NetworkManager.in:
7945         * initscript/paldo/NetworkManagerDispatcher.in:
7946         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7947         (nm_system_flush_loopback_routes): update paldo backend
7948
7949 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7950
7951         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7952         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7953         which means none of the devices get brought down properly, which in turn leaves
7954         DHCP client running.
7955
7956         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7957         (supplicant_connection_timeout_cb): Ditto.
7958
7959 2007-09-25  Dan Williams  <dcbw@redhat.com>
7960
7961         * src/nm-device.c
7962                 - (device_activation_go): small hack to work around race when
7963                         activating deferred connections; should solve this in a better way
7964
7965 2007-09-25  Dan Williams  <dcbw@redhat.com>
7966
7967         * introspection/nm-device.xml
7968           libnm-glib/nm-device.c
7969           libnm-glib/nm-device.h
7970                 - Add 'Carrier' property to exported NMDevice objects
7971
7972         * src/nm-device-interface.h
7973           src/nm-device-interface.c
7974           src/nm-device.c
7975                 - Add a 'carrier' property to internal NMDevice objects
7976
7977 2007-09-25  Dan Williams  <dcbw@redhat.com>
7978
7979         * src/nm-device-802-11-wireless.c
7980                 - (ap_auth_enforced): also return the encryption status of the AP so
7981                         that callers can differentiate easily between unencrypted APs
7982                         and encrypted ones, in addition to whether the AP has an
7983                         authenticator
7984                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7985                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7986                         previously would request secrets from unencrypted APs at times
7987
7988 2007-09-25  Dan Williams  <dcbw@redhat.com>
7989
7990         * src/nm-manager.c
7991                 - (nm_manager_update_state): new function; updates state and emits
7992                         appropriate signals ensuring a state-change signal for the same state
7993                         never gets emitted twice in a row.
7994                 - (manager_device_state_changed): handle more device state to get a
7995                         better picture of the overall NM state
7996
7997 2007-09-25  Dan Williams  <dcbw@redhat.com>
7998
7999         * libnm-glib/nm-settings.c
8000           libnm-glib/nm-settings.h
8001                 - (new_error -> nm_settings_new_error): make public so that subclasses
8002                         can use the same error domain.  Also pass a valid error code to
8003                         g_error_new_literal() so that libdbus doesn't assert when converting
8004                         the GError into a DBusError
8005                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8006                    impl_connection_settings_get_settings,
8007                    impl_connection_settings_get_secrets): use new error creator
8008                         function
8009
8010 2007-09-25  Dan Williams  <dcbw@redhat.com>
8011
8012         * src/NetworkManager.c
8013                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8014
8015 2007-09-25  Dan Williams  <dcbw@redhat.com>
8016
8017         * src/supplicant-manager/nm-supplicant-manager.c
8018                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8019                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8020                    nm_supplicant_manager_startup): when the supplicant isn't running,
8021                         try to start it periodically via system bus activation.  Fixes
8022                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8023                         for the supplicant to come back
8024
8025 2007-09-25  Dan Williams  <dcbw@redhat.com>
8026
8027         Ensure that old activation requests are forgotten about; previously
8028         hitting Cancel in the password dialog would deactivate whatever device
8029         that password was requested for, even if that wasn't the currently
8030         activating connection.
8031
8032         * src/nm-manager.c
8033           src/nm-manager.h
8034                 - (nm_manager_get_connection_secrets): track the pending call
8035                         object so it can be canceled later if needed
8036                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8037                         GetSecrets call for a particular connection
8038
8039         * src/nm-activation-request.c
8040                 - (dispose): cancel any outstanding GetSecrets calls on the
8041                         connection
8042
8043 2007-09-25  Dan Williams  <dcbw@redhat.com>
8044
8045         * src/NetworkManagerPolicy.c
8046                 - (nm_policy_device_change_check): handle devices that have a
8047                         deferred activation.  These devices are not really active _yet_,
8048                         but need to be treated as such here.  Don't interrupt them
8049                         automatically.
8050
8051         * src/nm-device-interface.c
8052                 - (impl_device_activate): handle devices that have a deferred activation
8053                         like activating or active devices.  When multiple active devices
8054                         get committed, the device shouldn't be deactivated until the
8055                         connection details are available to avoid DoS and such.  Currently,
8056                         any active, activating, or deferred activation device is deactivated
8057                         here before starting the new activation request.
8058
8059 2007-09-25  Dan Williams  <dcbw@redhat.com>
8060
8061         Properly re-query secrets from the settings daemon when stuff fails.
8062
8063         * src/nm-device-802-11-wireless.c
8064                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8065                         between Shared Key and Open System auth modes
8066                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8067                    real_act_stage4_ip_config_timeout): clear existing secrets and
8068                         request new ones when something fails due to a suspected wrong key
8069                 - (real_act_stage2_config): fix for new request_new argument to
8070                         nm_manager_get_connection_secrets()
8071
8072         * src/nm-manager.c
8073           src/nm-manager.h
8074                 - (nm_manager_get_connection_secrets): return error status; pass
8075                         new request_new argument on to the settings daemon
8076
8077         * introspection/nm-settings-connection.xml
8078                 - New 'request_new' argument to the GetSecrets call that hints to the
8079                         settings daemon to ask the user for completely new secrets
8080
8081         * libnm-glib/nm-settings.c
8082           libnm-glib/nm-settings.h
8083                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8084                         argument
8085
8086 2007-09-25  Dan Williams  <dcbw@redhat.com>
8087
8088         * libnm-util/nm-connection.c
8089           libnm-util/nm-connection.h
8090                 - (nm_connection_clear_secrets): new function; clear secrets out of
8091                         each NMSetting in an NMConnection
8092
8093         * libnm-util/nm-setting.h
8094           libnm-util/nm-setting.c
8095                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8096                         secrets out of an NMSetting
8097                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8098                    nm_setting_wired_new, nm_setting_wireless_new,
8099                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8100                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8101                         to default handler default_setting_clear_secrets()
8102
8103 2007-09-25  Dan Williams  <dcbw@redhat.com>
8104
8105         * src/nm-activation-request.c
8106           src/nm-activation-request.h
8107                 - (nm_act_request_is_deferred): new function
8108
8109 2007-09-24  Dan Williams  <dcbw@redhat.com>
8110
8111         * src/nm-device-802-11-wireless.c
8112                 - (activation_success_handler): update signal strength immediately
8113                         after activation
8114
8115 2007-09-24  Dan Williams  <dcbw@redhat.com>
8116
8117         * libnm-util/nm-setting.c
8118                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8119
8120 2007-09-24  Dan Williams  <dcbw@redhat.com>
8121
8122         * src/NetworkManagerPolicy.c
8123                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8124                         device by deactivating it because it doesn't have a "best connection".
8125                         Since autoconnect=False connections aren't automatically chosen,
8126                         NM would interrupt activation of such a connection because it
8127                         would never be "best" due to autoconnect=False.
8128
8129 2007-09-24  Dan Williams  <dcbw@redhat.com>
8130
8131         * src/nm-manager.c
8132                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8133                         actually has some time to enter a key before the GetSecrets call
8134                         times out
8135
8136 2007-09-24  Dan Williams  <dcbw@redhat.com>
8137
8138         * introspection/nm-manager.xml
8139           src/nm-manager.c
8140                 - (impl_manager_legacy_state): fix 'state' method call return value
8141
8142 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8143
8144         * test/Makefile.am: Install nm-tool
8145
8146 2007-09-24  Dan Williams  <dcbw@redhat.com>
8147
8148         Patch from Ross Burton <ross@burtonini.com>
8149
8150         * test/nm-tool.c
8151           callouts/nm-dhcp-client-action.c
8152           src/nm-netlink.c
8153           src/vpn-manager/nm-vpn-connection.c
8154           libnm-glib/libnm-glib-test.c
8155                 - warning fixes
8156
8157 2007-09-24  Dan Williams  <dcbw@redhat.com>
8158
8159         * libnm-util/nm-utils.h
8160           libnm-util/nm-utils.c
8161                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8162                         remove, unused
8163
8164 2007-09-23  Dan Williams  <dcbw@redhat.com>
8165
8166         * vpn-daemons/vpnc/properties/nm-vpnc.c
8167                 - Update for new VPN properties API bits; instead of passing around
8168                         a lot of random things, everything goes into the NMConnection
8169                         object.
8170
8171 2007-09-23  Dan Williams  <dcbw@redhat.com>
8172
8173         * libnm-util/nm-setting.c
8174                 - Correctly dispose of settings objects if creating them from a hash
8175                         table fails
8176
8177 2007-09-23  Dan Williams  <dcbw@redhat.com>
8178
8179         * libnm-util/nm-setting.c
8180                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8181                         the hash table in a standard manner.  Clients of libnm-util should
8182                         only call g_hash_table_remove_all(), never destroy the hash table
8183                         and recreate it.
8184
8185 2007-09-22  Dan Williams  <dcbw@redhat.com>
8186
8187         * src/nm-device-802-11-wireless.c
8188                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8189                         real reason to do it so often, and reduces wakeups for clients.
8190
8191 2007-09-21  Dan Williams  <dcbw@redhat.com>
8192
8193         * src/nm-device-802-11-wireless.c
8194                 - (build_supplicant_config): wpa_supplicant requires the option
8195                         key_mgmt=NONE for unencrypted networks
8196                 - (real_act_stage2_config): clarify log message on activation
8197
8198 2007-09-21  Dan Williams  <dcbw@redhat.com>
8199
8200         * test/nm-supplicant-test.c
8201           test/Makefile.am
8202                 - Remove supplicant test binary; no longer applicable
8203
8204 2007-09-21  Dan Williams  <dcbw@redhat.com>
8205
8206         * src/supplicant-manager/nm-supplicant-manager.c
8207                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8208                         activate it on the system bus
8209
8210 2007-09-20  Dan Williams  <dcbw@redhat.com>
8211
8212         * initscript/RedHat/NetworkManager.in
8213                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8214
8215 2007-09-20  Dan Williams  <dcbw@redhat.com>
8216
8217         * src/nm-device.c
8218                 - (nm_device_is_activating): work around a race between auto-activation
8219                         and the user activating the same device that is being auto-activated
8220
8221 2007-09-20  Dan Williams  <dcbw@redhat.com>
8222
8223         * src/nm-device-interface.c
8224                 - (impl_device_activate): until multiple active device support lands,
8225                         ensure only one device can be active at a time
8226
8227 2007-09-20  Dan Williams  <dcbw@redhat.com>
8228
8229         * src/supplicant-manager/nm-supplicant-config.c
8230           src/supplicant-manager/nm-supplicant-config.h
8231                 - (nm_supplicant_config_add_option): hide secrets from system logs
8232
8233 2007-09-20  Dan Williams  <dcbw@redhat.com>
8234
8235         * src/NetworkManagerPolicy.c
8236                 - (nm_policy_device_change_check): re-enable the wireless device change
8237                         checking code; insted of checking for SSIDs, check for the same
8238                         connection instead
8239
8240 2007-09-20  Dan Williams  <dcbw@redhat.com>
8241
8242         * src/nm-device-802-11-wireless.c
8243                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8244                         composite link state when determining when to start the disconnection
8245                         timer; that link state is already based on the supplicant interface's
8246                         status which is exactly what's already being examined, plus the link
8247                         state is a conglomeration of various things that we don't want here
8248
8249 2007-09-20  Dan Williams  <dcbw@redhat.com>
8250
8251         * libnm-glib/nm-access-point.c
8252                 - (handle_property_changed): strength is a UCHAR
8253
8254 2007-09-20  Dan Williams  <dcbw@redhat.com>
8255
8256         * src/supplicant-manager/nm-supplicant-config.c
8257                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8258                         string list keywords too since that's what wpa_supplicant wants
8259
8260 2007-09-20  Dan Williams  <dcbw@redhat.com>
8261
8262         * libnm-util/nm-setting.c
8263                 - (convert_strv_to_slist): dupe the values in the list because since
8264                         the list is a boxed value, it'll get destroyed when it's container
8265                         (like a hash table or whatever) gets destroyed
8266
8267 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8268
8269         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8270         GSList.
8271
8272         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8273
8274         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8275         just use (g_object_set_data_full).
8276
8277         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8278         that NMSettingVPN->routes is a GSList, convert it to char **.
8279         (nm_vpn_connection_ip4_config_get): Free routes when done.
8280         (nm_vpn_connection_activate): Ditto.
8281
8282         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8283         (real_act_stage2_config): Use defined setting names.
8284
8285 2007-09-20  Dan Williams  <dcbw@redhat.com>
8286
8287         * src/nm-device-802-11-wireless.c
8288           src/nm-manager.c
8289           src/nm-manager.h
8290                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8291                         so that the device can be deactivated if secrets are wrong
8292
8293 2007-09-20  Dan Williams  <dcbw@redhat.com>
8294
8295         * introspection/nm-settings-connection.xml
8296           libnm-glib/nm-settings.c
8297           libnm-glib/nm-settings.h
8298                 - Make GetSecrets asynchronous on the server side
8299
8300 2007-09-20  Dan Williams  <dcbw@redhat.com>
8301
8302         * src/nm-manager.h
8303           src/nm-device.c
8304                 - (nm_device_activate): actually check if a given connection
8305                         exists before assuming it doesn't
8306
8307 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8308
8309         * libnm-util/nm-connection.c (register_default_creators): Use defined
8310         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8311
8312         * libnm-util/nm-setting.c: Define property name strings, use them.
8313         Implement NMSettingVPN and NMSettingVPNProperties settings.
8314         Implement NM_S_TYPE_GVALUE_HASH.
8315         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8316         (setting_connection_verify): Rename 'devtype' property to 'type'.
8317
8318         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8319         properties.
8320
8321         * src/vpn-manager/nm-vpn-service.c: Ditto.
8322
8323         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8324
8325         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8326         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8327
8328         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8329         names. NMSettingConnection->devtype got renamed to 'type'.
8330
8331         * src/nm-device-802-3-ethernet.c (find_best_connection):
8332         (real_get_best_connection): Ditto.
8333
8334         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8335
8336         * libnm-glib/nm-vpn-manager.[ch]: Update.
8337
8338 2007-09-19  Dan Williams  <dcbw@redhat.com>
8339
8340         * src/NetworkManagerAP.c
8341           src/NetworkManagerAP.h
8342           introspection/nm-access-point.xml
8343                 - Change strength-changed signal into a properties-changed signal
8344                         for all properties, not just strength.  Export that signal over dbus
8345                         so listeners don't have to poll NM for changes.
8346                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8347                         get exported over D-Bus, so break up the logic and let other bits
8348                         decided when to export the AP
8349                 - (nm_ap_new_from_ap): remove, unused
8350
8351         * src/nm-device-802-11-wireless.c
8352                 - (merge_scanned_ap): only export APs that are actually on the device
8353                         list, not every AP created internally
8354
8355         * libnm-glib/nm-access-point.c
8356           libnm-glib/nm-access-point.h
8357                 - Cache properties internally and only hit DBus when needed.  Get
8358                         property updates from NM signals
8359
8360 2007-09-16  Dan Williams  <dcbw@redhat.com>
8361
8362         * libnm-util/nm-connection.c
8363           libnm-util/nm-connection.h
8364                 - (nm_connection_for_each_setting_value): new function; iterate over
8365                         each setting's value and call a user-provided function with details
8366                         about that value
8367
8368         * libnm-util/nm-setting.c
8369           libnm-util/nm-setting.h
8370                 - (nm_setting_enumerate_values): new function; enumerate the values
8371                         of a specific NMSetting subclass for a user-provided function with
8372                         details about that value
8373                 - Change wep_tx_keyidx to a uint32
8374                 - Create settings value tables for each setting defining their type,
8375                         key name, offset into the NMSetting subclass' structure, and whether
8376                         they are required and/or a secret
8377                 - (nm_setting_populate_from_hash): generic function to populate an
8378                         NMSetting from a GHash table, make all settings use it
8379                 - (nm_setting_hash): generic function to derive a GHashTable from
8380                         an NMSetting object, make all settings use it
8381
8382 2007-09-14  Dan Williams  <dcbw@redhat.com>
8383
8384         Remove unused stuff in libnm-util
8385
8386         * configure.in
8387           libnm-util/Makefile.am
8388           libnm-util/cipher-private.h
8389           libnm-util/cipher-wep-ascii.c
8390           libnm-util/cipher-wep-ascii.h
8391           libnm-util/cipher-wep-hex.c
8392           libnm-util/cipher-wep-hex.h
8393           libnm-util/cipher-wep-passphrase.c
8394           libnm-util/cipher-wep-passphrase.h
8395           libnm-util/cipher-wpa-psk-hex.c
8396           libnm-util/cipher-wpa-psk-hex.h
8397           libnm-util/cipher-wpa-psk-passphrase.c
8398           libnm-util/cipher-wpa-psk-passphrase.h
8399           libnm-util/cipher.c
8400           libnm-util/cipher.h
8401           libnm-util/dbus-helpers.c
8402           libnm-util/dbus-helpers.h
8403           libnm-util/gnome-keyring-md5.c
8404           libnm-util/gnome-keyring-md5.h
8405           libnm-util/sha1.c
8406           libnm-util/sha1.h
8407           src/nm-device-802-11-wireless.c
8408           test/libnm-util/Makefile.am
8409           test/libnm-util/test-ciphers.c
8410           test/libnm-util/test-dbus-helpers.c
8411           test/libnm-util/test-inputs.h
8412                 - Removed
8413
8414 2007-09-14  Dan Williams  <dcbw@redhat.com>
8415
8416         * libnm-util/dbus-method-dispatcher.c
8417           libnm-util/dbus-method-dispatcher.h
8418                 - Remove, unused
8419
8420 2007-09-14  Dan Williams  <dcbw@redhat.com>
8421
8422         Implement deferred activation support in the device class.
8423
8424         * src/nm-device-interface.c
8425           src/nm-device-interface.h
8426                 - (nm_device_interface_activate): take more arguments to support
8427                         deferred activation; callers must pass one of (connection) OR
8428                         (service_name, connection_path)
8429                 - (impl_device_activate): connection validation is punted to the device
8430                         to be able to handle deferred activation.  Yes, this means errors
8431                         don't get returned from the Activate() dbus call, and yes, that
8432                         should be fixed somehow later.
8433
8434         * src/nm-device.c
8435           src/nm-device.h
8436                 - (clear_act_request): clear additional deferred activation stuff too
8437                 - (deferred_activation_timeout_cb): new function; clean up when
8438                         deferred activation times out.
8439                 - (deferred_activation_start_cb): new function; when the connection
8440                         finally becomes available, start device activation
8441                 - (nm_device_activate): attach to the right signals of the activation
8442                         request if we need to defer activation until the connection is valid
8443
8444         * src/NetworkManagerPolicy.c
8445                 - (nm_policy_device_change_check): update for additional arguments
8446                         required for nm_device_interface_activate().  Pass NULL for these
8447                         though because this function already knows exactly which
8448                         NMConnection to use
8449
8450 2007-09-14  Dan Williams  <dcbw@redhat.com>
8451
8452         Implement deferred activation handling in the NMActRequest class.  When a
8453         client wants to activate a device but must create the NMConnection details
8454         on the fly, there likely hasn't been enough time yet for NM to receive the
8455         new connection signal and grab all the connection details.  So the
8456         activation is deferred (and bounded by a timer) for a while, and if the
8457         connection appears within the window, it is activated.
8458
8459         * src/nm-activation-request.c
8460           src/nm-activation-request.h
8461                 - (nm_act_request_class_init): two new signals to support deferred
8462                         activation, to allow the listener to handle both timeout and success
8463                 - (nm_act_request_new_deferred): new function, starts the deferred
8464                         activation timeout handler and listens to the NMManager for
8465                         new-connection signals to notice when the connection comes in
8466
8467 2007-09-14  Dan Williams  <dcbw@redhat.com>
8468
8469         * src/nm-manager.h
8470           src/nm-manager.c
8471                 - (nm_manager_get_connection_service_name,
8472                    nm_manager_get_connection_dbus_path): get details about a connection
8473                         known internally by the NMManager
8474                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8475                         because NMConnection is now a GObject subclass
8476                 - Use constant for the gobject data tag used on NMConnection objects for
8477                         storing the associated DBusGProxy
8478
8479 2007-09-14  Dan Williams  <dcbw@redhat.com>
8480
8481         * utils/Makefile.am
8482           utils/nm-utils.c
8483           utils/nm-utils.h
8484           src/supplicant-manager/Makefile.am
8485           src/dhcp-manager/Makefile.am
8486           src/backends/Makefile.am
8487           src/named-manager/Makefile.am
8488           src/ppp-manager/Makefile.am
8489           src/vpn-manager/Makefile.am
8490           test/libnm-util/Makefile.am
8491           test/test-common/Makefile.am
8492                 - Remove utils/; it was unused
8493
8494 2007-09-13  Dan Williams  <dcbw@redhat.com>
8495
8496         * libnm-glib/nm-vpn-manager.h
8497           libnm-glib/nm-vpn-manager.c
8498                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8499
8500 2007-09-13  Dan Williams  <dcbw@redhat.com>
8501
8502         * src/nm-device-802-3-ethernet.c
8503                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8504                         netlink monitor carrier signals on dispose, not bring down.  The
8505                         carrier signals should be handled over the entire lifetime of the
8506                         device anyway, not created/destroyed on up or down.
8507
8508 2007-09-13  Dan Williams  <dcbw@redhat.com>
8509
8510         * libnm-glib/nm-device.c
8511           libnm-glib/nm-device.h
8512                 - (nm_device_activate): take a connection object path rather than an
8513                         NMConnection because NMConnection isn't exported over D-Bus and
8514                         therefore it dbus-glib can't automatically get an object path from it
8515
8516 2007-09-13  Dan Williams  <dcbw@redhat.com>
8517
8518         * libnm-util/nm-setting.c
8519                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8520
8521 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8522
8523         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8524
8525 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8526
8527         * src/vpn-manager/nm-vpn-connection.[ch]: 
8528         * src/vpn-manager/nm-vpn-manager.[ch]:
8529         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8530         dbus-glib, GObjects, signals etc.
8531
8532         * libnm-glib/nm-vpn-manager.[ch]: 
8533         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8534         so much, rewrite these too.
8535
8536         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8537         the new introspection files.
8538
8539         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8540
8541         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8542         the header with the same name from libnm-utils.
8543
8544         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8545
8546         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8547
8548         * introspection/nm-vpn-plugin.xml: Implement.
8549
8550         * introspection/nm-vpn-connection.xml: Implement.
8551
8552         * introspection/nm-vpn-manager.xml: Implement.
8553
8554         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8555         the named manager argument, it can just as easily get it as the caller.
8556         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8557
8558         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8559
8560         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8561
8562         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8563         libnm-utils.
8564
8565         * libnm-util/nm-connection.c: Ditto.
8566
8567         * src/NetworkManagerMain.h: Remove, it's finally empty.
8568
8569         * configure.in: Remove utils/ from build.
8570
8571         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8572         of hard-coded strings.
8573
8574         * utils/: Move it over to libnm-util.
8575
8576         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8577
8578         * dispatcher-daemon/Makefile.am: Ditto.
8579
8580         * src/Makefile.am: Ditto.
8581
8582 2007-09-12  Dan Williams  <dcbw@redhat.com>
8583
8584         Wireless connections can be made with config data from the applet now.
8585         
8586         Yay.
8587
8588         * src/supplicant-manager/nm-supplicant-config.h
8589           src/supplicant-manager/nm-supplicant-config.c
8590                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8591                 - (nm_supplicant_config_add_setting_wireless,
8592                    nm_supplicant_config_add_setting_wireless_security): new functions;
8593                         add key/value pairs from the settings objects to the supplicant
8594                         config
8595
8596         * src/nm-device-802-11-wireless.c
8597                 - (cull_scan_list): fix check to not prune currently associated AP
8598                 - (build_supplicant_config, real_act_stage2_config): call the functions
8599                         of the NMSupplicantConfig that parse settings objects rather than
8600                         doing it manually here
8601
8602 2007-09-12  Dan Williams  <dcbw@redhat.com>
8603
8604         * src/supplicant-manager/nm-supplicant-interface.c
8605           src/supplicant-manager/nm-supplicant-marshal.list
8606                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8607                         "connection-error" signal arguments should be STRING not CHAR
8608
8609 2007-09-12  Dan Williams  <dcbw@redhat.com>
8610
8611         * src/NetworkManagerUtils.c
8612           src/NetworkManagerUtils.h
8613                 - (nm_utils_hexstr2bin): new function
8614
8615 2007-09-11  Dan Williams  <dcbw@redhat.com>
8616
8617         * src/nm-manager.c
8618                 - (connection_get_settings_cb): emit connection-added signal
8619                 - (connection_removed_cb): uncomment bits for system settings service,
8620                         send connection-removed when appropriate
8621                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8622                         the stack by trying to g_object_set_data() on something that's
8623                         not a GObject; handle case where settings service returns
8624                         empty settings hash table
8625
8626 2007-09-11  Dan Williams  <dcbw@redhat.com>
8627
8628         * src/NetworkManagerPolicy.c
8629                 - (connection_added, connection_removed): trigger device change checks
8630                         on connection changes
8631
8632 2007-09-11  Dan Williams  <dcbw@redhat.com>
8633
8634         * src/nm-activation-request.c
8635                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8636
8637 2007-09-11  Dan Williams  <dcbw@redhat.com>
8638
8639         * src/nm-device-802-11-wireless.c
8640                 - (real_connection_secrets_updated): fix erroneous check
8641
8642 2007-09-11  Dan Williams  <dcbw@redhat.com>
8643
8644         * introspection/nm-device.xml
8645           libnm-glib/nm-device.c
8646           libnm-glib/nm-device.c
8647                 - Fix Activate call argument borkage; Activate takes 3 arguments
8648
8649 2007-09-11  Dan Williams  <dcbw@redhat.com>
8650
8651         * libnm-glib/nm-access-point.c
8652           libnm-glib/nm-access-point.c
8653                 - (nm_access_point_get_frequency): now returns guint32 to match
8654                         property change on 2007-09-10
8655
8656 2007-09-11  Dan Williams  <dcbw@redhat.com>
8657
8658         * src/nm-device-802-11-wireless.c
8659                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8660                         somewhere defines 'index' and I missed this one when I fixed the
8661                         shadow declaration errors earlier
8662
8663 2007-09-11  Dan Williams  <dcbw@redhat.com>
8664
8665         * libnm-util/nm-connection.c
8666                 - (nm_connection_update_secrets, need_secrets_check): move
8667                         802-11-wireless-security need_secrets checks to the setting object
8668                         itself, where it belongs
8669
8670         * libnm-util/nm-setting.c
8671           libnm-util/nm-setting.h
8672                 - (nm_setting_need_secrets): new function
8673                 - (setting_wireless_security_verify,
8674                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8675                 - (setting_wireless_security_need_secrets): mostly copy code over
8676                         from nm-connection.c
8677
8678 2007-09-11  Dan Williams  <dcbw@redhat.com>
8679
8680         * libnm-util/nm-setting.c
8681           libnm-util/nm-setting.h
8682                 - (nm_setting_update_secrets): new function; add a virtual function that
8683                         subclasses can implement to update their secrets
8684                 - (setting_wireless_security_update_secrets): implement that function
8685                         for the 802-11-wireless-security subclass
8686
8687         * libnm-util/nm-connection.c
8688           libnm-util/nm-connection.h
8689                 - (nm_connection_update_secrets): update secrets for a Setting and
8690                         emit a signal on success
8691
8692         * src/nm-manager.c
8693           src/nm-manager.h
8694           src/nm-marshal.list
8695                 - (connection_get_settings_cb): enable system settings bits
8696                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8697                         to request secrets from the settings dbus service and to
8698                         push those secrets to the NMConnection itself
8699
8700         * src/nm-activation-request.c
8701           src/nm-activation-request.h
8702                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8703                         currently being activated, and proxy that signal to other listeners.
8704                         Goes through the activation request because the activation request
8705                         is the thing that manages the lifetime of the NMConnection that's
8706                         being activated.
8707
8708         * src/nm-device-802-11-wireless.c
8709                 - (real_connection_secrets_updated): implement the connection secrets
8710                         updated notification and restart activation when secrets are
8711                         received
8712                 - (real_act_stage2_config): request secrets from the settings dbus
8713                         service if secrets are needed
8714
8715         * src/nm-device.c
8716           src/nm-device.h
8717                 - (clear_act_request, nm_device_activation_cancel,
8718                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8719                         where the activation request is cleared
8720                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8721                         updated secrets signal of activation request and add a function
8722                         that subclasses can override to handle it easily
8723
8724 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8725
8726         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8727         removal of NetworkManagerAPList.
8728
8729 2007-09-10  Dan Williams  <dcbw@redhat.com>
8730
8731         * src/NetworkManagerAP.c
8732           src/NetworkManagerAP.h
8733           introspection/nm-access-point.xml
8734                 - Change 'freq' property to a guint32 instead of a double since we
8735                         weren't using the floating point bits anyway
8736
8737 2007-09-10  Dan Williams  <dcbw@redhat.com>
8738
8739         * NetworkManagerAP.c
8740           NetworkManagerAP.h
8741           NetworkManagerPolicy.c
8742           NetworkManagerSystem.c
8743           NetworkManagerUtils.c
8744           NetworkManagerUtils.h
8745           nm-device-802-11-wireless.c
8746           nm-device-802-3-ethernet.c
8747           nm-hal-manager.c
8748           nm-manager.c
8749           vpn-manager/nm-dbus-vpn.c
8750                 - Warning fixes; casts and removal of unused variables
8751
8752 2007-09-10  Dan Williams  <dcbw@redhat.com>
8753
8754         * include/NetworkManager.h
8755                 - Kill NMNetworkType; AP types don't matter any more
8756
8757         * src/NetworkManagerAPList.c
8758           src/NetworkManagerAPList.h
8759           src/Makefile.am
8760                 - Kill; NMAccessPointList has outlived it's usefulness
8761
8762         * src/NetworkManagerAP.c
8763           src/NetworkManagerAP.h
8764                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8765                         functions; check if an NMConnection object is compatible with the
8766                         settings of this AP
8767                 - (freq_to_channel, channel_to_freq): utility functions for
8768                         channel <-> frequency conversion
8769
8770         * src/nm-device.c
8771           src/nm-device.h
8772                 - (nm_device_get_best_connection): pass the specific object around
8773                          (which might be the object path of a specific AP to connect to).
8774                          The get_best_connection() call should populate this on return
8775                          if needed (wireless does).
8776
8777         * src/nm-device-802-3-ethernet.c
8778                 - (real_get_best_connection): handle specific_object argument
8779
8780         * src/NetworkManager.c
8781           src/NetworkManagerMain.h
8782                 - Remove unused includes
8783
8784         * src/nm-device-802-11-wireless.c
8785           src/nm-device-802-11-wireless.h
8786                 - Convert the ap_list into a GSList from an NMAccessPointList
8787                 - No need for caching the 'activation_ap' since this is now determined
8788                         from the specific_object of the activation request, which is
8789                         populated from the get_best_connection() call or from a user request
8790                 - (nm_device_802_11_wireless_update_bssid): fix warning
8791                 - (get_wireless_capabilities): fix error message format arguments
8792                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8793                 - (find_best_connection, real_get_best_connection): implement
8794                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8795                         move here from NetworkManagerAPList
8796                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8797                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8798                         already verified earlier
8799                 - (real_act_stage2_config): use nm_connection_need_secrets()
8800
8801         * src/NetworkManagerPolicy.c
8802                 - (nm_policy_auto_get_best_device): handle specific objects
8803                 - (create_connection): remove; automatic connection creation functionality
8804                         is handled by the Connection objects
8805                 - (nm_policy_device_change_check): handle specific_object
8806
8807         * libnm-util/nm-connection.c
8808                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8809
8810 2007-09-10  Dan Williams  <dcbw@redhat.com>
8811
8812         * src/nm-manager.c
8813                 - (query_connections): fix uninitialized variable problem that caused
8814                         segfault
8815                 - (nm_manager_add_device): take devices down on startup so that we can
8816                         be assured that nm_device_is_up() won't short-circuit the init
8817                         process.  Hack until the is_up check gets split into two pieces
8818                         that aren't behaviorally confusing.
8819
8820 2007-09-09  Dan Williams  <dcbw@redhat.com>
8821
8822         * introspection/nm-device.xml
8823                 - The 'Activate' method now takes 3 arguments, a service name for the
8824                 settings service (user or system), the object path of the connection
8825                 to activate, and the specific object to activate, if any
8826
8827         * src/nm-device-interface.c
8828                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8829                 Add error bits
8830                 - (impl_device_activate): adapt to new Activate arguments; validate
8831                 the service name and get the Connection object from the NMManager
8832                 before starting to activate the device with the specified connection
8833
8834         * src/nm-device-802-3-ethernet.c
8835                 - (real_get_best_connection): find the best connection, or create a
8836                 default one if no existing connections can be used
8837
8838         * src/NetworkManagerPolicy.c
8839                 - (nm_policy_auto_get_best_device): Get the device's best connection
8840                 and only pick the device if it has one
8841                 - (nm_policy_device_change_check): disable wireless bits for now until
8842                 wireless get_best_connection() can be implemented (replacing "best_ap");
8843                 don't create a default connection here as the device subclass will do
8844                 that if needed
8845
8846         * src/nm-manager.h
8847           src/nm-manager.c
8848                 - (nm_manager_get): make NMManager a singleton and expose the getter
8849                 internally
8850                 - Rework internal NMManager connection handling to use the same
8851                 routines for both the system and user settings services.  Most calls
8852                 take a new NMConnectionType argument specifying either system or user
8853                 connections
8854                 - (nm_manager_get_connection_by_object_path): new function; get a
8855                 connection keyed on its object path
8856
8857         * src/NetworkManager.c
8858                 - (main): use nm_manager_get()
8859
8860 2007-09-09  Dan Williams  <dcbw@redhat.com>
8861
8862         * src/nm-device.h
8863           src/nm-device.c
8864                 - (nm_device_get_best_connection): new function; get best connection
8865                         for the device at that time
8866
8867 2007-09-09  Dan Williams  <dcbw@redhat.com>
8868
8869         * src/nm-device-interface.h
8870                 - Add NMDeviceInterfaceError with an UnknownConnection error
8871
8872 2007-09-09  Dan Williams  <dcbw@redhat.com>
8873
8874         Stupid mistake on my part; object path and interface for settings service
8875         and connection objects can be the same, only the service name must be
8876         different for the system and user settings services.
8877
8878         * include/NetworkManager.h
8879           src/nm-manager.c
8880           introspection/nm-settings-connection.xml
8881           introspection/nm-settings.xml
8882           libnm-glib/nm-settings.c
8883                 - (nm_connection_settings_init, query_user_connections,
8884                    new_connection_cb): Unify NetworkManagerSettings and Connection
8885                    interface name and object path
8886
8887 2007-09-06  Dan Williams  <dcbw@redhat.com>
8888
8889         * libnm-glib/nm-object.c
8890                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8891                    nm_object_get_int_property, nm_object_get_uint_property,
8892                    nm_object_get_boolean_property, nm_object_get_byte_property,
8893                    nm_object_get_double_property, nm_object_get_byte_array_property):
8894                         clear GValues after copying their contents, fixes memory leaks
8895                         after every property access because dbus-glib copies the values
8896                         from the DBusMessage into the GValue already.
8897
8898 2007-09-06  Dan Williams  <dcbw@redhat.com>
8899
8900         * introspection/nm-access-point.xml
8901                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8902                         them to be.  There's some magic property name parsing going on in
8903                         dbus-glib that breaks up property names based on studly-caps and
8904                         puts - between words.
8905
8906         * libnm-glib/nm-access-point.c
8907                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8908                         Fix property names
8909
8910 2007-09-06  Dan Williams  <dcbw@redhat.com>
8911
8912         * src/nm-manager.c
8913                 - (nm_manager_user_connections_destroy): clear the user connections hash
8914                         table, don't destroy it
8915                 - (finalize): only destroy the hash table on NMManager finalization
8916
8917 2007-09-02  Dan Williams  <dcbw@redhat.com>
8918
8919         * include/NetworkManager.h
8920           libnm-glib/nm-settings.c
8921                 - defines for the user settings daemon D-Bus bits
8922
8923         * src/NetworkManager.c
8924                 - Remove stuff that referred to the old NetworkManagerInfo service
8925
8926         * src/vpn-manager/nm-dbus-vpn.h
8927                 - Move old NMI defines to the only place they are used still
8928
8929         * libnm-util/nm-connection.c
8930           libnm-util/nm-connection.h
8931           src/nm-activation-request.c
8932                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8933
8934         * src/nm-manager.c
8935           src/nm-manager.h
8936                 - Get connections and their settings from the user settings daemon
8937                         at the appropriate times
8938
8939 2007-09-02  Dan Williams  <dcbw@redhat.com>
8940
8941         * libnm-util/nm-setting.c
8942                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8943                 - (setting_wireless_hash): set the right value on the item
8944
8945 2007-09-02  Dan Williams  <dcbw@redhat.com>
8946
8947         * test/Makefile.am
8948           test/nminfotest.c
8949                 - Remove, no longer useful
8950
8951 2007-08-30  Dan Williams  <dcbw@redhat.com>
8952
8953         * src/Makefile.am
8954           src/NetworkManagerDbus.c
8955           src/NetworkManagerDbus.h
8956           src/vpn-manager/nm-dbus-vpn.c
8957                 - Remove, no longer necessary.  Move last bits to the only place its
8958                 used, in nm-dbus-vpn.c
8959
8960         * src/NetworkManagerAPList.c
8961           src/nm-device.c
8962           src/NetworkManager.c
8963           src/nm-device-802-11-wireless.c
8964           src/vpn-manager/nm-vpn-manager.c
8965           src/vpn-manager/nm-vpn-service.c
8966           src/NetworkManagerPolicy.c
8967           src/nm-manager.c
8968                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8969                 that was message_is_error()
8970
8971 2007-08-30  Dan Williams  <dcbw@redhat.com>
8972
8973         * libnm-util/sha1.c
8974                 - Include config.h to get defines for endiannes (gnome.org #420216)
8975
8976 2007-08-30  Dan Williams  <dcbw@redhat.com>
8977
8978         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8979
8980         * src/ppp-manager/Makefile.am
8981                 - use -fPIC (gnome.org #471825)
8982
8983 2007-08-29  Dan Williams  <dcbw@redhat.com>
8984
8985         * include/NetworkManager.h
8986                 - Keep NMConnection object path in sync
8987
8988         * libnm-glib/nm-settings.c
8989           libnm-glib/nm-settings.h
8990                 - Break D-Bus object registration out of the init function, because
8991                 every object that's exported over D-Bus needs to use the _same_
8992                 DBusConnection.  Otherwise, each object would get a different object
8993                 path tree and wouldn't be callable.
8994
8995 2007-08-29  Dan Williams  <dcbw@redhat.com>
8996
8997         * libnm-util/nm-setting.h
8998           libnm-util/nm-setting.c
8999           libnm-util/nm-connection.c
9000           src/NetworkManagerPolicy.c
9001                 - 'info' settings object should be 'connection' says the spec
9002                 at NetworkManagerConfigurationSpecification
9003
9004 2007-08-29  Dan Williams  <dcbw@redhat.com>
9005
9006         * libnm-glib/nm-settings.c
9007           libnm-glib/nm-settings.h
9008                 - make the dbus path a property of the object, and autogenerate it.
9009                 It can't be composed of the 'id' field becuase that's not available
9010                 yet during the GObject creation in nm_connection_settings_init()
9011
9012 2007-08-29  Dan Williams  <dcbw@redhat.com>
9013
9014         * introspection/nm-settings-connection.xml
9015           introspection/nm-settings.xml
9016                 - Service name -> NetworkManagerUserSettings because two services
9017                 can't share part of the same path.  I'm not really sure how we'll use
9018                 the same code with the system-settings daemon...
9019
9020 2007-08-28  Dan Williams  <dcbw@redhat.com>
9021
9022         * src/nm-device-interface.c
9023           src/nm-device-interface.h
9024                 - Kill one more bit of NMData
9025
9026 2007-08-28  Dan Williams  <dcbw@redhat.com>
9027
9028         * src/NetworkManagerSystem.h
9029           src/nm-device.c
9030           src/nm-device.h
9031           src/nm-hal-manager.c
9032           src/NetworkManager.c
9033           src/nm-device-802-11-wireless.c
9034           src/nm-hal-manager.h
9035           src/nm-device-802-3-ethernet.c
9036           src/vpn-manager/nm-vpn-service.h
9037           src/vpn-manager/nm-vpn-manager.c
9038           src/vpn-manager/nm-vpn-manager.h
9039           src/vpn-manager/nm-vpn-service.c
9040           src/nm-device-802-11-wireless.h
9041           src/NetworkManagerMain.h
9042           src/nm-device-802-3-ethernet.h
9043           src/backends/NetworkManagerGentoo.c
9044           src/backends/NetworkManagerPaldo.c
9045           src/backends/NetworkManagerFrugalware.c
9046           src/backends/NetworkManagerRedHat.c
9047           src/backends/NetworkManagerSlackware.c
9048           src/backends/NetworkManagerGeneric.c
9049           src/backends/NetworkManagerArch.c
9050           src/backends/NetworkManagerSuSE.c
9051           src/backends/NetworkManagerGeneric.h
9052           src/backends/NetworkManagerDebian.c
9053                 - Kill NMData
9054
9055 2007-08-28  Dan Williams  <dcbw@redhat.com>
9056
9057         * src/NetworkManagerMain.h
9058           src/nm-device-802-11-wireless.c
9059           src/NetworkManager.c
9060                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9061                 for now we should set the 'invalid' property on individual APs, and when
9062                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9063                 that ESS
9064
9065 2007-08-28  Dan Williams  <dcbw@redhat.com>
9066
9067         * src/NetworkManagerAP.c
9068           src/NetworkManagerAP.h
9069                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9070                         'autoconnect' property instead
9071
9072         * src/NetworkManager.c
9073           src/NetworkManagerMain.h
9074           src/NetworkManagerPolicy.c
9075           src/NetworkManagerPolicy.h
9076                 - Remove the 'allowed_ap_list', which should be replaced by 
9077                         NMConnection/NMSettings instead, since _those_ are the allowed
9078                         things that NM can connect to
9079
9080         * src/nm-device-802-11-wireless.c
9081                 - Remove both allowed_ap_list usage and 'fallback' checking
9082
9083 2007-08-28  Dan Williams  <dcbw@redhat.com>
9084
9085         * src/nm-device.c
9086           src/named-manager/nm-named-manager.c
9087           src/named-manager/nm-named-manager.h
9088           src/NetworkManager.c
9089           src/vpn-manager/nm-vpn-manager.c
9090           src/NetworkManagerMain.h
9091           src/NetworkManagerSystem.c
9092                 - Remove the named-manager object from NMData structure in preparation
9093                 for NMData's timely death.  Make the NMNamedManager the singleton that
9094                 it really is
9095
9096 2007-08-28  Dan Williams  <dcbw@redhat.com>
9097
9098         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9099         each AP's capabilities, and by NMConnection/NMSettings objects for user
9100         defined connections.
9101
9102         * include/NetworkManager.h
9103                 - Redefine 802.11 security properties.  There are now device capabilities
9104                         and AP flags and AP security flags.  It was way to unclear before.
9105
9106         * src/Makefile.am
9107           src/nm-ap-security-leap.h
9108           src/nm-ap-security-leap.c
9109           src/nm-ap-security-wpa-eap.c
9110           src/nm-ap-security-wpa-eap.h
9111           src/nm-ap-security-private.h
9112           src/nm-ap-security-wpa-psk.c
9113           src/nm-ap-security-wpa-psk.h
9114           src/nm-ap-security-wep.c
9115           src/nm-ap-security-wep.h
9116           src/nm-ap-security.c
9117           src/nm-ap-security.h
9118                 - Removed, to be replaced with NMConnection/NMSettings objects
9119
9120         * src/nm-dbus-nmi.c
9121           src/nm-dbus-nmi.h
9122                 - Removed, to be replaced by code that talks to the new info daemon
9123                         interface and gets NMConnection/NMSettings objects
9124
9125         * src/backends/NetworkManagerSuSE.c
9126                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9127                         info-daemon that does the same thing but talks the new info-daemon
9128                         D-Bus interface
9129
9130         * src/NetworkManagerAP.h
9131           src/NetworkManagerAP.c
9132           src/NetworkManagerAPList.c
9133           libnm-glib/libnm-glib-test.c
9134                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9135                         WPA/RSN
9136
9137         * libnm-glib/nm-access-point.c
9138           libnm-glib/nm-access-point.h
9139           introspection/nm-access-point.xml
9140           test/nm-tool.c
9141                 - Adjust to new flags for AP security
9142
9143         * utils/nm-utils.c
9144           utils/nm-utils.h
9145           src/vpn-manager/nm-dbus-vpn.c
9146                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9147                         stuff which is the only place it's used
9148
9149         * src/nm-device-interface.c
9150           src/nm-device-interface.h
9151           introspection/nm-device.xml
9152           src/nm-activation-request.c
9153           src/nm-activation-request.h
9154           src/nm-device.c
9155                 - Add a new 'specific_object' argument that hints to NM what actual
9156                         AP or other device-specific thing the connection should apply to.
9157                         NMConnection objects can apply to more than one actual device/AP.
9158
9159         * libnm-util/nm-connection.c
9160         * libnm-util/nm-connection.h
9161                 - Add 'have_secrets" call stubs
9162
9163         * libnm-util/cipher.h
9164                 - Move NM_AUTH_TYPE_* defines here for now
9165
9166         * src/nm-device-802-11-wireless.c
9167                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9168                         NMSettings objects
9169
9170         * src/NetworkManagerDbus.c
9171         * src/NetworkManagerPolicy.c
9172                 - Remove usage of update_allowed_networks, should be pushing data in
9173                         a different manner
9174
9175 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9176
9177         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9178         dbus-glib frees it when the call is done.
9179
9180 2007-08-26  Dan Williams  <dcbw@redhat.com>
9181
9182         * introspection/nm-device.xml
9183                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9184
9185 2007-08-26  Dan Williams  <dcbw@redhat.com>
9186
9187         * src/nm-device-802-3-ethernet.c
9188                 - (constructor): move connection of interface-connected/disconnected
9189                         signals here from real_bring_up().  Should be listening to netlink
9190                         for carrier events no matter what the initial state of the device
9191                         is.
9192
9193 2007-08-26  Dan Williams  <dcbw@redhat.com>
9194
9195         * src/nm-netlink-monitor.c
9196                 - (nm_netlink_monitor_class_init): fix marshalling types for
9197                         interface-connected/interface-disconnected
9198                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9199                         check
9200
9201 2007-08-26  Dan Williams  <dcbw@redhat.com>
9202
9203         Convert to using interface indexes as the primary method of identifying
9204         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9205         be renamed at any time.  Device object paths now refer to the device
9206         index rather than the name, and you can map those two manually if you like
9207         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9208         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9209         to use interface indexes rather than names.
9210
9211 2007-08-26  Dan Williams  <dcbw@redhat.com>
9212
9213         * src/nm-netlink-monitor.h
9214                 - Remove one last bit of wireless-event signal
9215
9216 2007-08-26  Dan Williams  <dcbw@redhat.com>
9217
9218         * src/nm-netlink-monitor.c
9219                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9220                         don't need the 'wireless-event' signal anymore since that's all
9221                         handled by wpa_supplicant
9222
9223 2007-08-25  Dan Williams  <dcbw@redhat.com>
9224
9225         It's 2007. Remove support for drivers that don't support wireless scanning.
9226
9227         * test/nm-tool.c
9228           include/NetworkManager.h
9229           src/NetworkManagerUtils.c
9230           src/NetworkManagerPolicy.c
9231           src/nm-device-802-11-wireless.c
9232                 - Remove special handling for non-scanning devices and mark them
9233                         as unsupported/unhandled
9234
9235 2007-08-20  Dan Williams  <dcbw@redhat.com>
9236
9237         * src/nm-device-802-11-wireless.c
9238           src/nm-device-802-3-ethernet.c
9239                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9240                         because when the card is pulled or the module removed, the device
9241                         is already !IFF_UP and then device-specific cleanup (removing
9242                         the supplicant interface, periodic checks, etc) never gets done
9243
9244 2007-08-20  Dan Williams  <dcbw@redhat.com>
9245
9246         * src/nm-manager.c
9247                 - (nm_manager_remove_device): bring device down before disconnecting
9248                         signal handlers, so that the 'state' signal will get broadcast when
9249                         the device enters the DOWN state
9250                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9251                         of states that cause the NMManager to recheck its state
9252
9253 2007-08-20  Dan Williams  <dcbw@redhat.com>
9254
9255         * src/supplicant-manager/nm-supplicant-interface.c
9256                 - (interface_disconnect_done): don't try to dispose of the net proxy
9257                         when it may already have been disposed of
9258
9259 2007-08-20  Dan Williams  <dcbw@redhat.com>
9260
9261         * src/nm-device-802-11-wireless.c
9262                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9263                         the SSID isn't available; this can happen when the card is pulled
9264                         or the module unloaded, during the post-removal deactivation
9265                         paths, when the ioctl returns ENODEV
9266
9267 2007-08-20  Dan Williams  <dcbw@redhat.com>
9268
9269         * src/nm-device-802-11-wireless.c
9270                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9271                         frequency, and mode match.  Applets are now responsible for grouping
9272                         access points
9273
9274 2007-08-20  Dan Williams  <dcbw@redhat.com>
9275
9276         * src/NetworkManagerAP.c
9277         * src/NetworkManagerAP.h
9278                 - (nm_ap_print_self): new function
9279
9280         * src/NetworkManagerAPList.c
9281                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9282                         to do it all here
9283         
9284 2007-08-17  Dan Williams  <dcbw@redhat.com>
9285
9286         * src/nm-device-802-3-ethernet.c
9287                 - (real_bring_down): don't try to dispose of stuff that might not
9288                         exist
9289
9290 2007-08-17  Dan Williams  <dcbw@redhat.com>
9291
9292         * src/NetworkManagerAP.c
9293                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9294                         applet.  This ensures that the case between the seen-bssids and
9295                         the bssids reported by the driver match.
9296
9297 2007-08-17  Dan Williams  <dcbw@redhat.com>
9298
9299         * src/nm-device-802-11-wireless.c
9300                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9301                         we dispose of the interface proxy in NM
9302
9303 2007-08-16  Dan Williams  <dcbw@redhat.com>
9304
9305         * libnm-glib/nm-client.c
9306                 - (nm_client_init): create VPN connections hash table with key free
9307                         function
9308                 - (proxy_vpn_connection_added): VPN connections hash table key should
9309                         be a duplicated value, not the same memory address as the VPN
9310                         connection name.  This is because the VPN connection name could
9311                         potentially be freed and set to something else during the lifetime
9312                         of the NMVPNConnection object.
9313
9314 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9315
9316         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9317         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9318         with the file descriptors. Send a child setup function to change the pppd
9319         progress group.
9320
9321 2007-08-15  Dan Williams  <dcbw@redhat.com>
9322
9323         * src/supplicant-manager/nm-supplicant-interface.c
9324                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9325                         an interface
9326                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9327                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9328                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9329                         the interface internally
9330
9331 2007-08-15  Dan Williams  <dcbw@redhat.com>
9332
9333         * src/nm-device-802-11-wireless.c
9334                 - (real_bring_down): move most of this function into device_cleanup()
9335                         so that it can be called from elsewhere
9336                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9337                         and stuff on dispose.  These would normally get cleaned up when
9338                         the device is marked down and deactivated, but when the device is
9339                         hot-unplugged, it's already down and real_down() never gets run
9340
9341 2007-08-15  Dan Williams  <dcbw@redhat.com>
9342
9343         * src/nm-dbus-nmi.c
9344                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9345                         caused a reference leak on device for which NM requested a key
9346
9347 2007-08-15  Dan Williams  <dcbw@redhat.com>
9348
9349         * libnm-glib/nm-client.c
9350                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9351
9352 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9353
9354         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9355         nothing is using it at the moment, but it'll be all useful and stuff later on.
9356
9357         * libnm-util/nm-setting.h: Define NMSettingPPP.
9358
9359         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9360
9361         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9362
9363         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9364
9365         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9366
9367         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9368
9369 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9370
9371         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9372
9373         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9374         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9375         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9376         name and different arguments and it won't compile anymore. To fix this, we now have
9377         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9378         that is new API + compatibility API and used by the daemon. The other, 
9379         nm-manager-client.xml is only the new API without compatibility bits and is used
9380         by libnm-glib to make it compile.
9381
9382         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9383
9384         * src/nm-manager.c (impl_manager_legacy_sleep)
9385         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9386         interface functions for 0.6 branch.
9387
9388 2007-08-14  Dan Williams  <dcbw@redhat.com>
9389
9390         * src/NetworkManagerAP.c
9391                 - (nm_ap_new_from_properties): fix mistaken check of return value
9392                         from memcmp (should expect 0)
9393
9394 2007-08-14  Dan Williams  <dcbw@redhat.com>
9395
9396         (force-commit to fix wrong comment and partial commit of r2685; this
9397          commit actually applies to r2685)
9398
9399         * src/NetworkManagerUtils.c
9400                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9401                         ignores trailing nulls in the SSID to work around mismatches in
9402                         expectations between WEXT and what the info-daemon passes back.  The
9403                         info-daemon would pass back the correct length, but due to the
9404                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9405                         the device would always have an SSID + 1 depending on what versions
9406                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9407                         visible by just quitting the applet and relaunching, which caused
9408                         NM to reassociated to the same network over again when reloading
9409                         the save networks.
9410
9411         * src/NetworkManagerPolicy.c
9412           src/NetworkManagerUtils.h
9413           src/nm-device-802-11-wireless.c
9414                 - Update for new parameter to nm_utils_same_ssid()
9415
9416 2007-08-14  Dan Williams  <dcbw@redhat.com>
9417
9418         * src/NetworkManagerAP.c
9419                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9420                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9421                         setting the BSSID to all 0s.  That confused the heck out of NM,
9422                         plus it's useless and probably out-of-spec.
9423
9424 2007-08-14  Dan Williams  <dcbw@redhat.com>
9425
9426         * callouts/Makefile.am
9427           src/dhcp-manager/nm-dhcp-manager.c
9428           src/dhcp-manager/nm-dhcp-manager.h
9429           src/dhcp-manager/Makefile.am
9430                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9431
9432 2007-08-14  Dan Williams  <dcbw@redhat.com>
9433
9434         * src/dhcp-manager/nm-dhcp-manager.c
9435                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9436                         it's really needed, get rid of unused xtra_args parameter
9437
9438 2007-08-14  Dan Williams  <dcbw@redhat.com>
9439
9440         * include/NetworkManagerVPN.h
9441           src/vpn-manager/nm-dbus-vpn.c
9442           src/vpn-manager/nm-dbus-vpn.h
9443           src/vpn-manager/nm-vpn-act-request.c
9444           src/vpn-manager/nm-vpn-act-request.h
9445           src/vpn-manager/nm-vpn-service.c
9446           src/vpn-manager/nm-vpn-service.h
9447           libnm-glib/nm-vpn-connection.c
9448           libnm-glib/nm-vpn-connection.h
9449           libnm-glib/nm-client.h
9450                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9451                         NMVPNServiceState to clarify what they apply to
9452                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9453                         NMVPNActStage -> NMVPNConnectionState for the same reason
9454
9455         * libnm-glib/nm-client.c
9456                 - Constant + type renames from above
9457                 - Properly handle NameOwnerChanged/manager_running signals
9458                         for NM service; only emit when state really changes
9459                 - Use hash tables correctly so that the key (which was previously owned
9460                         by the D-Bus message) now has the same lifetime as the value, since
9461                         the key is now taken from the the NMVPNConnection itself.  This
9462                         really fixes the double-VPN names in the applet
9463
9464 2007-08-13  Dan Williams  <dcbw@redhat.com>
9465
9466         Patch from Michael Biebl <biebl@debian.org>
9467
9468         * po/POTFILES.in
9469           po/POTFILES.skip
9470                 - Update for vpn-properties move
9471
9472 2007-08-13  Dan Williams  <dcbw@redhat.com>
9473
9474         * libnm-glib/nm-client.c
9475                 - Convert internal VPN connection tracking from a list to a hash table
9476                         to easily avoid duplicates
9477                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9478                         must be freed by the caller, like nm_client_get_devices()
9479                 - (nm_client_remove_vpn_connection): don't let the removal signal
9480                         leak through for NMVPNConnection objects that aren't actually
9481                         tracked.
9482                 - (manager_running): throw away VPN connection list when NM goes away,
9483                         like with the device list
9484
9485 2007-08-13  Dan Williams  <dcbw@redhat.com>
9486
9487         * src/dhcp-manager/nm-dhcp-manager.c
9488                 - Stop any dhclient instance that might be already running for a
9489                         particular interface before starting an NM spawned dhclient.  Fixes
9490                         dhclient processes left over if NM crashes, stuff like that.
9491
9492 2007-08-13  Dan Williams  <dcbw@redhat.com>
9493
9494         * src/NetworkManagerAP.c
9495                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9496                         when the AP wasn't broadcasting it's SSID
9497
9498 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9499
9500         * include/NetworkManager.h: added DBus path for connection settings.
9501
9502         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9503         nm_connection_settings_signal_updated,
9504         nm_connection_settings_signal_removed): new functions to wrap the
9505         objects' signals.
9506         (nm_connection_settings_init): register GObject with DBus.
9507         (nm_connection_settings_get_dbus_object_path): new function.
9508
9509         * libnm-glib/Makefile.am: added libnmutil to link flags.
9510
9511 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9512
9513         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9514
9515         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9516         libnm_glib directory got merged with libnm-glib/.
9517
9518         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9519
9520         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9521         Rename the library from libnm-glib to libnm_glib to maintain the library API
9522         compatibility with 0.6 branch.
9523
9524         * Makefile.am: Remove gnome/ SUBDIR.
9525
9526         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9527
9528         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9529
9530         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9531
9532         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9533         anymore.
9534         Remove checks for wpa_supplicant binary, it's used over dbus.
9535         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9536
9537         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9538         Link the binaries with libnm_glib.la.
9539
9540 2007-08-12  Dan Williams  <dcbw@redhat.com>
9541
9542         * src/NetworkManagerPolicy.c
9543                 - (nm_policy_device_change_check): fix policy to deactivate old device
9544                         before activating new one, at least until the multiple active
9545                         device support lands
9546
9547 2007-08-12  Dan Williams  <dcbw@redhat.com>
9548
9549         * src/NetworkManagerPolicy.c
9550                 - (nm_policy_new): hook up to connection-added / connection-removed
9551                         signals instead of connections-changed
9552
9553 2007-08-12  Dan Williams  <dcbw@redhat.com>
9554
9555         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9556         Robert Frank <rfrank@redhat.com>
9557
9558         * src/dhcp-manager/nm-dhcp-manager.c
9559           src/dhcp-manager/nm-dhcp-manager.c
9560           src/nm-device.c
9561                 - Spawn and communicate with dhclient directly, through means of a
9562                 custom dhclient callout script.  Process callout D-Bus signals
9563                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9564                 sent via gobject signals rather than being driven by the dhcp manager
9565                 directly.
9566
9567 2007-08-12  Dan Williams  <dcbw@redhat.com>
9568
9569         * callouts/nm-dhcp-client-action.c
9570                 - (build_message): ignore non-DHCP-related environment variables
9571
9572 2007-08-12  Dan Williams  <dcbw@redhat.com>
9573
9574         * Makefile.am
9575           configure.in
9576           callouts/Makefile.am
9577           callouts/nm-dhcp-client-action.c
9578           callouts/nm-dhcp-client.conf
9579                 - Add dhclient-executed callout that takes the place of dhclient-script
9580                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9581                 NM then listens for
9582
9583 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9584
9585         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9586
9587         * libnm-glib/nm-client.h:
9588         * libnm-glib/nm-object.h:
9589         * libnm-glib/nm-vpn-connection.h:
9590         * libnm-glib/nm-settings.h:
9591         * libnm-glib/nm-device.h:
9592         * libnm-glib/nm-ip4-config.h:
9593         * libnm-glib/nm-access-point.h:
9594         * libnm-glib/nm-device-802-3-ethernet.h:
9595         * libnm-util/nm-setting.h: 
9596         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9597
9598         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9599
9600         * libnm-glib/nm-access-point.c: Strength has type char.
9601
9602         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9603         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9604
9605         * introspection/nm-access-point.xml: Strength property is char, not int.
9606
9607         * src/NetworkManagerAP.c (set_property): Set strength from char.
9608         (get_property): Handle hidden APs (with empty SSID).
9609         Get strength value from char.
9610         (nm_ap_class_init): Strength property has char type.
9611
9612 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9613
9614         * introspection/Makefile.am:
9615         * introspection/nm-settings.xml:
9616         * introspection/nm-settings-connection.xml: added Settings interfaces.
9617
9618         * libnm-glib/nm-settings.[ch]:
9619         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9620         containing the DBus implementation.
9621
9622 2007-07-26  Dan Williams  <dcbw@redhat.com>
9623
9624         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9625
9626         * src/NetworkManagerSystem.c
9627                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9628                         same subnet (#437396)
9629
9630 2007-07-26  Dan Williams  <dcbw@redhat.com>
9631
9632         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9633
9634         * gnome/vpn-properties/nm-vpn-properties.c
9635                 - Fix translatable strings (#445865)
9636
9637 2007-07-26  Dan Williams  <dcbw@redhat.com>
9638
9639         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9640
9641         * configure.in
9642                 - Remove useless junk (#412530)
9643
9644 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9645
9646         Patch from Robert Buchholz <rbu@gentoo.org>:
9647
9648         * configure.in:
9649         * Makefile.am:
9650         * introspection/Makefile.am:
9651         Make make distcheck work again.
9652
9653 2007-06-27  Dan Williams  <dcbw@redhat.com>
9654
9655         * Make SSIDs GByteArrays everywhere
9656         * Rename "essid" -> "ssid" everywhere that's appropriate
9657         * Refcount activation_ap member of the 802.11 wireless device class
9658
9659 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9660
9661         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9662
9663 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9664
9665         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9666         that we got a new AP when we just update existing AP properties.
9667
9668 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9669
9670         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9671
9672         * nm-utils.[ch]: Remove.
9673
9674         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9675         objects for easy property access and dbus connection handling.
9676
9677         * libnm-glib/nm-client.c: Derive from NMObject.
9678
9679         * libnm-glib/nm-device.c: Ditto.
9680
9681         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9682
9683         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9684
9685         * libnm-glib/nm-ip4-config.c: Ditto.
9686
9687         * libnm-glib/nm-access-point.c: Ditto.
9688
9689         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9690         comparision. Currently used by the device activation code to determine if the new
9691         activation is the same as the old one.
9692
9693         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9694         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9695         able to ask password for the AP.
9696
9697         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9698         up if the device is already connected, tear down it's connection (if it isn't the
9699         same as new one) and start the activation.
9700
9701         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9702
9703         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9704         the issue where all APs are always listed as encrypted.
9705
9706         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9707         their own registered paths.
9708
9709         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9710         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9711
9712 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9713
9714         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9715         (0 & 0 == 0, doh)
9716
9717         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9718         because the handling code will cause the next state change and signal listeners
9719         get the signals in wrong order.
9720
9721         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9722         correctly in case of pending activation.
9723
9724         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9725         Convert the essid byte array to string correctly, including the terminating NULL.
9726
9727         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9728         mode with correct types.
9729
9730         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9731         constructed info to dbus call instead of the activation request.
9732
9733 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9734
9735         Patch from Christian Persch <chpe@gnome.org>
9736
9737         * libnm-glib/Makefile.am:
9738         * dispatcher-daemon/Makefile.am:
9739         Use the correct variables, the correct paths, and correct ordering. (446315)
9740
9741 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9742
9743         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9744         argument. The activation request is easy to retrieve.
9745
9746         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9747         just to be a convenient location for devices to store random stuff.
9748
9749 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9750
9751         Patch from Alex Smith <alex@alex-smith.me.uk>
9752
9753         * src/backends/NetworkManagerFrugalware.c:
9754         Update the FrugalWare backend to fix a few segfaults. (#392642)
9755
9756 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9757
9758         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9759
9760         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9761         setting.
9762         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9763
9764 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9765
9766         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9767         automagically.
9768         Implement NMSettingIP4Config.
9769         Finish NMSettingWired by adding all known members.
9770         (setting_wired_verify): Implement.
9771         Finish NMSettingWireless by adding all known members.
9772         (setting_wireless_verify): Implement.
9773
9774         * libnm-util/nm-connection.c: Register "ipv4" setting.
9775         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9776         dump function, we can introspect the GHashTable which is used for sending connections
9777         over dbus.
9778
9779         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9780         Take GByteArray for essid, it's really not a string.
9781
9782         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9783         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9784         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9785         means overriding the values we got from DHCP.
9786         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9787         (nm_device_deactivate_quickly): Ditto.
9788
9789         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9790         for debugging.
9791
9792 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9793
9794         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9795         NMConnection.
9796
9797         * libnm-glib/nm-device-802-11-wireless.c:
9798         (nm_device_802_3_ethernet_activate): Remove.
9799
9800         * libnm-glib/nm-device-802-3-ethernet.c
9801         (nm_device_802_3_ethernet_activate): Remove.
9802
9803         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9804
9805         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9806         NMConnection.
9807
9808         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9809         activation has started.
9810         Implement the new activation using NMConnection.
9811
9812         * src/nm-activation-request.c: Store a generic connection object instead
9813         of a wireless-specific AP.
9814
9815         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9816         on device type, create a device specific connection object suitable for
9817         device activation.
9818
9819         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9820         specific check to validate the connection and on success start the
9821         activation.
9822
9823         * src/nm-device-interface.h: Add a activate virtual function to the
9824         interface definition.
9825
9826         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9827         (impl_device_activate): Implement.
9828
9829         * introspection/nm-device.xml: Add a generic device activation interface
9830         that accepts an abstract NMConnection structure that has device-specific
9831         information in it.
9832
9833         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9834         activation interface.
9835
9836         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9837         activation interface.
9838
9839         * libnm-util/nm-connection.c: 
9840         * libnm-util/nm-connection.h: 
9841         * libnm-util/nm-setting.c:
9842         * libnm-util/nm-setting.h: Add.
9843
9844         * libnm-util/Makefile.am: Build the added files.
9845
9846         * src/nm-dbus-manager.c
9847         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9848         DbusConnection argument from 'name-owner-changed' signal. The manager
9849         is already passed as a first argument to the signal and the connection
9850         is easy enough to get from it.
9851
9852         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9853         Update the signature of the function.
9854
9855         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9856         Ditto.
9857
9858         * src/NetworkManager.c: Ditto.
9859
9860         * src/named-manager/nm-named-manager.c
9861         (nm_named_manager_name_owner_changed): Ditto.
9862
9863         * src/supplicant-manager/nm-supplicant-manager.c
9864         (nm_supplicant_manager_name_owner_changed): Ditto.
9865
9866         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9867
9868         * src/dhcp-manager/nm-dhcp-manager.c
9869         (nm_dhcp_manager_name_owner_changed): Ditto.
9870
9871         * src/nm-hal-manager.c: Add a list of device detectors and creators
9872         to make it easier to add new devices. Each device type has it's own
9873         entry in the table so adding new device types is only a matter of
9874         implementing a couple of functions, one for device detection and the
9875         other for device creation.
9876
9877 2007-04-25  Dan Williams  <dcbw@redhat.com>
9878
9879         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9880                 (gnome.org #432401)
9881
9882 2007-03-30  Dan Williams  <dcbw@redhat.com>
9883
9884         * src/NetworkManagerSystem.c
9885                 - (nm_system_device_set_ip4_route): clean up and fix argument
9886                         to nm_dev_sock_open()
9887
9888 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9889
9890         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9891         data to correct types instead of always using string.
9892
9893         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9894         _not_ have NM_802_11_CAP_PROTO_NONE.
9895         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9896         is not set.
9897
9898 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9899
9900         * libnm-glib/Makefile.am: Fix the build issue.
9901
9902 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9903
9904         * libnm-glib/nm-vpn-connection.h: 
9905         * libnm-glib/nm-vpn-connection.c: Implement.
9906
9907         * libnm-glib/nm-client.c: Add VPN support.
9908
9909         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9910         handler for VPN.
9911
9912         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9913         on DBUS again.
9914
9915 2007-03-26  Dan Williams  <dcbw@redhat.com>
9916
9917         * src/NetworkManagerAPList.c
9918         * src/nm-device-802-11-wireless.c
9919         * src/NetworkManagerAP.c:
9920                 - Store last seen as glong instead of GTimeVal.
9921                 - Fix the upper bound of capabilities, it's a bitfield.
9922
9923 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9924
9925         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9926
9927         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9928         "manager-running" signal that notifies the appearance/disappearance of NM.
9929         (nm_client_sleep): Implement.
9930
9931         * libnm-glib/nm-device.c:
9932         * libnm-glib/nm-device-802-11-wireless.c: 
9933         * libnm-glib/nm-device-802-3-ethernet.c: 
9934
9935         Don't inherit from DBusGProxy, add a proxy to private
9936         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9937         for anything but their own dbus interface. DBusGProxy objects support only one
9938         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9939         interface. The nice side effect of this change is that we do not create a new
9940         DBusGProxy object for each property access.
9941
9942 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9943
9944         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9945         with zeroes before passing them to functions - the functions never do that and
9946         reading the values back may produce wrong values.
9947         (real_bring_up): Store the signal handler id ...
9948         (real_bring_down): ... So that it can be removed here.
9949         Disconnect the supplicant interface here as well.
9950         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9951         from the access point instead of old $device/Networks/$essid.
9952
9953         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9954         device state is connected (instead of just having link/carrier).
9955
9956         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9957         already easily accessible through the device.
9958
9959         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9960         store it within the object.
9961         (nm_ap_get_dbus_path): Export it to public as well.
9962
9963         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9964         of the singleton.
9965
9966 2007-03-12  Dan Williams  <dcbw@redhat.com>
9967
9968         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9969         for non-carrier-detect capable devices, and useless for carrier-detect
9970         devices since we get notifications from netlink about carrier status anyway.
9971
9972         * src/nm-device-802-3-ethernet.c
9973                 - remove 'link_source_id' member from private data
9974                 - (probe_link): remove and collapse into real_update_link()
9975                 - (nm_device_802_3_periodic_update): remove
9976                 - (real_is_up): check for sup_iface rather than link_source_id
9977                 - (real_bring_up): return gboolean for success/fail; require that
9978                         sup_iface be valid for device bringup to succeed
9979                 - (real_bring_down): zero out link signal ids
9980
9981         * src/nm-device.c
9982                 - (nm_device_activate_stage2_device_config): fail activation if device
9983                         bringup fails
9984                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9985                         fails
9986                 - (nm_device_bring_up): return success/fail
9987
9988         * src/nm-device.h
9989                 - bring_up now returns success/fail
9990
9991         * src/nm-device-802-11-wireless.c
9992                 - (real_bring_up): return success from bringup
9993
9994 2007-03-07  Dan Williams  <dcbw@redhat.com>
9995
9996         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9997         * src/nm-ap-security-wpa-psk.c
9998                 - (real_write_supplicant_config): work with PSKs that may contain
9999                         zeros in the binary format rather than treating it as a string
10000
10001 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10002
10003         * libnm-glib/nm-device-802-11-wireless.c
10004         (nm_device_802_11_wireless_get_capabilities): Implement.
10005
10006         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10007
10008         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10009
10010         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10011         reply only if it's not NULL. Not sure why this started happening right now.
10012
10013         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10014         code paths for when devices get removed on shutdown or when a device is just
10015         removed.
10016         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10017         gets freed so any signal from a device (disconnected for instance) would invoke
10018         NMState update which would crash.
10019         (nm_manager_remove_device): Bring the device down when it gets removed.
10020
10021         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10022         the unused dev_type.
10023
10024         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10025         reference to the added device, NMManager will own it (if it wants).
10026
10027         * test/nm-tool.c: Rewrite using libnm-glib.
10028
10029         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10030         We get signalled when it changes.
10031
10032         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10033         when it changes.
10034
10035         * libnm-glib/nm-device.c: Cache the device state property.
10036
10037         * libnm-glib/nm-access-point.c: Cache the strength property.
10038
10039         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10040         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10041         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10042         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10043         the device is down, activating, or activated (in case of A/B/G cards).
10044         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10045         it's all done through supplicant now.
10046
10047         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10048         counting issues with pending calls which caused leaks and crashes when
10049         interface was removed (now that the interface actually gets removed).
10050
10051         * src/nm-call-store.c: Make a copy of data before running a foreach
10052         with user callback on it - The most common usage pattern is to cancel
10053         (and thus remove) all pending calls with foreach which would modify
10054         the hash table we're iterating over.
10055
10056         * src/nm-manager.c: When a device is added, make sure it is "up". When
10057         it's removed or disabled due to disabling wireless or networking, bring
10058         it down.
10059
10060         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10061
10062         * src/nm-device-802-11-wireless.c: 
10063         * src/nm-device-802-3-ethernet.c: 
10064         * src/nm-device.c:
10065                 - Remove "init" virtual function, all gobjects have a place for that
10066                   already (constructor).
10067                 - Replace "start" virtual function with "bring_up", devices can be
10068                   brought up and down more than just on startup now.
10069                 - Add "is_up" virtual function.
10070                 - Implement one way to bring a device down instead of previous 4 different
10071                   ways, each of witch did something different.
10072
10073         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10074         all it needs is the device interface.
10075
10076         Get rid of NMData.dev_list (3 members to go).
10077         Get rif of NMData in a lot of places.
10078
10079         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10080
10081 2007-02-23  Dan Williams  <dcbw@redhat.com>
10082
10083         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10084
10085         * src/NetworkManagerAP.c
10086                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10087                         OR-ing rather than AND-ing
10088
10089 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10090
10091         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10092         "network-removed" signals.
10093
10094         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10095
10096         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10097         when receiving the signal from dbus.
10098
10099         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10100         property.
10101
10102         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10103         deactivation of the previously activated device working again.
10104
10105         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10106         and setter.
10107
10108         * src/nm-device.c (nm_device_is_activated): Remove.
10109         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10110
10111         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10112         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10113         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10114         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10115         Remove NMNetworkStatus and NMActStage enums.
10116
10117 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10118
10119         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10120         Handle device state changes and disconnect VPN if it's device deactivates.
10121
10122         * src/nm-dbus-nm.c: 
10123         * src/nm-dbus-nm.h: 
10124         * src/nm-dbus-device.c: 
10125         * src/nm-dbus-device.c: 
10126         * src/nm-dbus-net.c: 
10127         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10128
10129         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10130
10131         * src/nm-device.c (nm_device_get_by_udi):
10132         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10133         implemented in the correct location (NMManager).
10134         Rip out all the test_device stuff.
10135
10136         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10137         failure handlers, it's all done by NMDevice already.
10138
10139         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10140         Remove the iochannel hack to route the unix signals to the main thread since
10141         we're not threaded anymore.
10142
10143         * src/NetworkManagerAP.c: Implement HWAddress property.
10144
10145         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10146         automatically with dbus-glib.
10147
10148         * src/nm-netlink-monitor.c: 
10149         * src/nm-netlink-monitor.h:
10150                 - Move it low in the class hierarchy, don't reference any NM types.
10151                 - Remove private data from the header.
10152                 - Use type safe checks in public API methods.
10153                 - Make it a singleton so we don't have to pass the single reference around.
10154
10155 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10156
10157         * introspection/nm-ip4-config.xml: Implement.
10158
10159         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10160
10161         * libnm-glib/nm-ip4-config.c:
10162         * libnm-glib/nm-ip4-config.c: Implement.
10163
10164         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10165         securities. APs reference security.
10166
10167         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10168         be exported over DBUS.
10169
10170         * src/nm-device-802-3-ethernet.c: Ditto.
10171
10172         * src/NetworkManagerAP.c:
10173         * src/NetworkManagerAP.h:
10174                 - Convert to GObject, export over DBUS.
10175
10176         * src/nm-ip4-config.h:
10177         * src/nm-ip4-config.h:
10178                 - Convert to GObject, export over DBUS.
10179
10180 2007-02-12  Dan Williams  <dcbw@redhat.com>
10181
10182         Patch from Helmut Schaa <hschaa@suse.de>
10183
10184         * vpn-daemons/pptp/configure.in
10185           vpn-daemons/pptp/Makefile.am
10186           vpn-daemons/openvpn/configure.in
10187           vpn-daemons/openvpn/Makefile.am
10188           vpn-daemons/vpnc/configure.in
10189           vpn-daemons/vpnc/Makefile.am
10190                 - Add --without-gnome switch which disables building gnome bits
10191
10192 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10193
10194         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10195
10196         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10197
10198         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10199         'HwAddress'.
10200
10201         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10202
10203         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10204
10205         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10206
10207         * src/:
10208                 - Remove old low-level dbus interface implementations and replace them
10209                   with dbus-glib one.
10210
10211         * configure.in:
10212                 - Require dbus-glib >= 0.72.
10213                 - Plug in new sources to build.
10214
10215         * libnm-glib/:
10216                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10217                   to make it more convenient to use from GObject based programs.
10218
10219         * introspection/:
10220                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10221
10222 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10223
10224         * src/nm-device-802-11-wireless.c:
10225                 - Add "network-added" and "network-removed" signals.
10226                 - Use gobject boilerplate macros to define the GObject.
10227                 - Implement wireless device activation.
10228                 - Remove activation_failure_handler and activation_success_handler
10229                   and instead listen on state-changed signals and run the same code
10230                   from there.
10231
10232         * src/nm-device.c:
10233                 - Implment NMDeviceInterface::deactivate.
10234                 - Remove activation_failure_handler and activation_success_handler
10235                   virtual methods. Each device which is interested in these events
10236                   can just listen on it's state changed signals.
10237
10238         * src/NetworkManagerPolicy.c:
10239                 - Move a bit more NMData usage to NMManager.
10240                 - Remove activation scheduling bits.
10241                 - Add listeners for wireless device's "network-added" and
10242                   "network-removed" signals.
10243                 - Listen device changed signals and deactivate currently activated
10244                   device when another device start activating (for now).
10245                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10246                   for calling this, the policy code knows exactly when this should happen,
10247                   by listening on events from NMManager and NMDevices.
10248
10249         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10250         Implement.
10251
10252         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10253         method on the specific device instead of going to through policy code
10254         and determining the device type by passed in AP's existance.
10255
10256         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10257         abstract NMDevice deactivation.
10258
10259 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10260
10261         * src/NetworkManager.c:
10262                 - Set up all the shiny new managers.
10263
10264         * src/NetworkManagerPolicy.c:
10265                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10266                   classes to call into policy code, make the policy code kind of like
10267                   a supervisor that monitors what's going on and drives the whole NM.
10268
10269         * src/nm-hal-manager.c: 
10270         * src/nm-hal-manager.h:
10271                 - Collect all libhal code scattered around NM to this one class.
10272                 - Listen libhal and NMManager events and add/remove devices to
10273                   NMManager.
10274
10275         * src/nm-manager.c:
10276         * src/nm-manager.h:
10277                 - Implment a replacement for NMData. NMData is now officially
10278                 deprecated.
10279
10280 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10281
10282         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10283         * src/supplicant-manager/nm-supplicant-interface.h
10284         * src/supplicant-manager/nm-supplicant-interface.c
10285         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10286         argument to boolean from enum.
10287
10288         Make NMDevice abstract class, remove almost all references to it's
10289         subclasses (the last place gets removed with new policy manager). Add
10290         NMDeviceInterface (which NMDevice implements) so that when we have
10291         NMDevice exported over DBUS, there's a common NMDevice interface which
10292         all instances have, plus there's a device specific interface for each
10293         specific type.
10294         Remove functions (nm_device_is_802_3_ethernet) and
10295         (nm_device_is_802_11_wireless). There are already standard GObject macros
10296         for type safe checks.
10297         Use the updated supplican manager API.
10298
10299         * src/nm-device-interface.h: 
10300         * src/nm-device-interface.c: 
10301         * src/nm-call-store.h: 
10302         * src/nm-call-store.c: Implement.
10303
10304         * src/supplicant-manager/nm-supplicant-interface.c:
10305         * src/supplicant-manager/nm-supplicant-interface.h:
10306         * src/supplicant-manager/nm-supplicant-manager.c:
10307         * src/supplicant-manager/nm-supplicant-manager.h:
10308                 - Remove all private data type references from public header files.
10309                 - Remove all references to other NM classes, this class is just a
10310                   proxy between wpa_supplicant and NM so it doesn't have to know
10311                   any internals.
10312                 - Convert to dbus-glib bindings.
10313                 - Type safe checks for public methods' arguments.
10314                 - Store pending DBUS call ids to NMCallStore.
10315
10316         * src/supplicant-manager/nm-supplicant-config.c:
10317                 - Store config values in a GHashTable instead of GSList.
10318
10319         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10320
10321         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10322         singleton now.
10323
10324         * src/nm-device.c: Use the new DHCP manager API.
10325
10326         * src/nm-activation-request.c:
10327         * src/nm-activation-request.h:
10328                 - Remove all dhcp related properties and methods.
10329
10330         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10331
10332         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10333
10334         * src/dhcp-manager/nm-dhcp-manager.c:
10335         * src/dhcp-manager/nm-dhcp-manager.h:
10336                 - Convert it to GObject since we need to signal state changes.
10337                 - Remove all references to other NM classes, this class is one
10338                   of the lowest classes in our hierarchy.
10339                 - One less class to use NMActRequest.
10340                 - Make it singleton, one less user of NMData.
10341                 - Remove a couple of sleep() calls.
10342                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10343                   One less class to use the NM's custom tailored signal handlig.
10344
10345         * Makefile.am: Generate marshallers, add them to build.
10346
10347 2007-02-02  Dan Williams  <dcbw@redhat.com>
10348
10349         * configure.in
10350           gnome/Makefile.am
10351           nm-applet.desktop
10352           Makefile.am
10353                 - Remove last bits referencing gnome applet
10354
10355 2007-02-02  Dan Williams  <dcbw@redhat.com>
10356
10357         * src/vpn-manager/nm-vpn-service.c
10358                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10359                         and NBNS server addresses
10360
10361 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10362
10363         * src/nm-dbus-manager.c:
10364         * src/nm-dbus-manager.h:
10365                 - Convert all internal DBUS code to use dbus-glib bindings.
10366                 - Remove GObject properties, we don't need them here.
10367                 - Don't explicitly set things to NULL after freeing, glib is
10368                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10369                 - Make public API argument checks type safe.
10370                 - Remove unnecessary (and wrong) cast to GObject for the first
10371                   argument to g_signal_* calls - The first argument is a gpointer.
10372                 - Export DBusGConnection to other cool classes that (are going to)
10373                   use dbus-glib.
10374
10375 2007-01-26  Dan Williams  <dcbw@redhat.com>
10376
10377         * libnm-util/dbus-dict-helpers.c
10378           libnm-util/dbus-dict-helpers.h
10379                 - Coordinate style with wpa_supplicant version to minimize diff
10380                 - Add uint32 array support
10381                 - (nmu_dbus_dict_append_uint32_array): new function
10382                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10383                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10384                         version; allow adding string array elements individually
10385
10386         * test/libnm-util/test-dbus-dict-helpers.c
10387                 - Test uint32 arrays
10388
10389 2007-01-27  Jürg Billeter  <j@bitron.ch>
10390
10391         * src/backends/NetworkManagerPaldo.c
10392                 - (nm_system_update_dns): clear nscd hosts cache
10393
10394 2007-01-04  Dan Williams  <dcbw@redhat.com>
10395
10396         Threading removal related cleanups:
10397
10398         - Use the glib default main context.  Remove the device main context
10399                 member from NMDevice, and the main_context member from NMData.  Change
10400                 all the idle and timeout scheduler functions to use plain
10401                 g_idle_add() and g_timeout_add().
10402
10403         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10404                 takes an argument; fix that up too.
10405
10406         - Remove all locking, which is useless since we no longer use threads.  For
10407                 example, nm_get_device_by_iface_locked() has been removed.  The global
10408                 device list lock, the AP List lock, and all static locks in
10409                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10410                 in NetworkManagerUtils.c have also been removed.
10411
10412         - Other cleanups in spacing and code style
10413
10414 2007-01-01  Dan Williams  <dcbw@redhat.com>
10415
10416         Found by Bill Moss:
10417
10418         * src/supplicant-manager/nm-supplicant-interface.c
10419                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10420                         the supplicant interface wasn't already disconnected.  Always
10421                         call removeNetwork and disconnect unless the supplicant interface
10422                         is in the DISCONNECTED or INACTIVE state.
10423
10424 2006-12-28  Dan Williams  <dcbw@redhat.com>
10425
10426         Use a single thread for everything.  With the move to wpa_supplicant
10427         and communication over D-Bus, there's no reason for multiple threads.
10428         Almost all of the blocking code has been removed, with one exception in
10429         the DHCP manager and a few in the VPN manager.  This commit removes the
10430         per-device worker thread and fixes activation cancellation in the absence
10431         of threads.  Further removal of thread-related code would be removing
10432         any locking code (like the device list lock) and simplification of logic
10433         around areas of code or data structures that are currently locked.
10434
10435         * autoip.c
10436           dhcp-manager/nm-dhcp-manager.c 
10437           nm-device-802-11-wireless.c
10438           nm-device-802-3-ethernet.c
10439           nm-device.c
10440           nm-device.h
10441                 - Remove usage of multiple threads
10442
10443 2006-12-19  Dan Williams  <dcbw@redhat.com>
10444
10445         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10446         plus a few other patches from wpa_supplicant bugzilla.
10447
10448         * src/Makefile.am
10449           src/NetworkManagerPolicy.c
10450           src/NetworkManagerUtils.c
10451           src/NetworkManagerUtils.h
10452           src/nm-ap-security-leap.c
10453           src/nm-ap-security-wep.c
10454           src/nm-ap-security-wpa-eap.c
10455           src/nm-ap-security-wpa-psk.c
10456           src/nm-ap-security.c
10457           src/nm-ap-security.h
10458           src/nm-device-802-11-wireless.c
10459           src/nm-device-802-11-wireless.h
10460           src/supplicant-manager/nm-supplicant-config.c
10461           src/supplicant-manager/nm-supplicant-config.h
10462           src/supplicant-manager/nm-supplicant-interface.c
10463           src/supplicant-manager/nm-supplicant-interface.h
10464           src/supplicant-manager/nm-supplicant-marshal.list
10465           src/supplicant-manager/nm-supplicant-settings-verify.c
10466           src/supplicant-manager/nm-supplicant-settings-verify.h
10467                 - Move all connection management and association handling to
10468                         wpa_supplicant over dbus, rather than spawning a private copy
10469
10470 2006-12-19  Dan Williams  <dcbw@redhat.com>
10471
10472         * src/NetworkManagerPolicy.c
10473                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10474                         better locking of the device change check handler ID.  Incorrect
10475                         locking was causing lost device change requests
10476
10477 2006-12-18  Dan Williams  <dcbw@redhat.com>
10478
10479         * libnm-util/dbus-dict-helpers.c
10480                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10481                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10482                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10483
10484 2006-12-18  Dan Williams  <dcbw@redhat.com>
10485
10486         * gnome/libnm_glib/libnm_glib.c
10487                 - Change dbus_connection_close() -> dbus_connection_unref()
10488
10489 2006-12-11  Dan Williams  <dcbw@redhat.com>
10490
10491         * src/supplicant-manager/nm-supplicant-interface.c
10492                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10493                         wpa_supplicant interface state
10494                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10495                         state before transitioning to READY state
10496
10497 2006-12-04  Dan Williams  <dcbw@redhat.com>
10498
10499         * src/nm-device-802-11-wireless.c
10500                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10501                         odd length of ESSID returned from ieee80211 stack-based drivers
10502
10503 2006-12-04  Dan Williams  <dcbw@redhat.com>
10504
10505         * src/nm-device-802-11-wireless.c
10506                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10507                         IE handling blocks that cause mis-parsing of the IE
10508
10509 2006-12-04  Dan Williams  <dcbw@redhat.com>
10510
10511         * src/nm-device-802-11-wireless.c
10512                 - (init_supplicant_interface): new function; pull supplicant interface
10513                         setup code out into standalone function since it must be called from
10514                         two different places
10515                 - (real_init): sup_mgr is now in private object data; get and track
10516                         the supplicant manager object over the NMDevice subclass' lifetime
10517                         and register a signal handler for its state signals; only try to
10518                         initialize the supplicant interface if the supplicant manager is in
10519                         the IDLE state (and therefore is ready for requests)
10520                 - (request_wireless_scan): reschedule the scan request if (a) there is
10521                         no supplicant interface yet (meaning wpa_supplicant isn't running
10522                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10523                         for requests yet
10524                 - (supplicant_iface_connection_state_cb): new function; stub for
10525                         handling supplicant interface connection state signals
10526                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10527                         comes and goes
10528                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10529                         supplicant manager object that's being tracked starting with this
10530                         commit
10531
10532 2006-12-04  Dan Williams  <dcbw@redhat.com>
10533
10534         * src/supplicant-manager/nm-supplicant-interface.c
10535                 - (nm_supplicant_interface_set_property): track signal handler ID
10536                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10537
10538 2006-12-04  Dan Williams  <dcbw@redhat.com>
10539
10540         * src/supplicant-manager/nm-supplicant-interface.[ch]
10541                 - (nm_supplicant_interface_get_state): new function
10542
10543 2006-12-04  Dan Williams  <dcbw@redhat.com>
10544
10545         * src/supplicant-manager/nm-supplicant-interface.c
10546                 - (bssid_properties_cb): don't treat DBus errors as valid
10547                         scanned AP messages
10548
10549 2006-12-04  Dan Williams  <dcbw@redhat.com>
10550
10551         * src/supplicant-manager/nm-supplicant-interface.[ch]
10552                 - (nm_supplicant_interface_get_connection_state): new function
10553                 - define new supplicant connection states
10554                 - send a signal when the supplicant connection state changes
10555
10556 2006-12-03  Dan Williams  <dcbw@redhat.com>
10557
10558         * src/supplicant-manager/Makefile.am
10559           src/supplicant-manager/nm-supplicant-connection.h
10560           src/supplicant-manager/nm-supplicant-connection.c
10561           src/supplicant-manager/nm-supplicant-config.h
10562           src/supplicant-manager/nm-supplicant-config.c
10563           src/supplicant-manager/nm-supplicant-types.h
10564           src/supplicant-manager/nm-supplicant-interface.h
10565           src/supplicant-manager/nm-supplicant-interface.c
10566                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10567
10568 2006-12-03  Dan Williams  <dcbw@redhat.com>
10569
10570         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10571
10572         * po/POTFILES.in
10573           po/POTFILES.skip
10574                 - Move VPN-related translatables to .skip
10575
10576         * vpn-daemons/pptp/po/POTFILES.in
10577                 - Update with new translatables
10578
10579 2006-12-02  Dan Williams  <dcbw@redhat.com>
10580
10581         Patch from Christian Persch <chpe@gnome.org>
10582
10583         * gnome/applet/Makefile.am
10584           gnome/applet/applet-dbus-devices.c
10585           gnome/applet/applet-notifications.c
10586           gnome/applet/applet.c
10587           gnome/applet/applet.h
10588           gnome/applet/main.c
10589                 - Be a GtkStatusIcon on GTK+ >= 2.10
10590
10591 2006-12-02  Dan Williams  <dcbw@redhat.com>
10592
10593         * gnome/applet/applet.c
10594                 - (nma_update_info): fix two unecessary allocations
10595
10596 2006-12-02  Dan Williams  <dcbw@redhat.com>
10597
10598         Patch from Michael Biebl <biebl@teco.edu>
10599         * configure.in
10600           man/NetworkManager.1.in
10601           man/NetworkManagerDispatcher.1.in
10602           man/NetworkManager.8.in
10603           man/NetworkManagerDispatcher.8.in
10604                 - Add .SH NAME stanzas
10605                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10606
10607 2006-12-02  Dan Williams  <dcbw@redhat.com>
10608
10609         Patch from Christian Persch <chpe@gnome.org>
10610
10611         * configure.in
10612                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10613
10614 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10615
10616         Patch by Timo Hoenig <thoenig@suse.de>:
10617         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10618         DBUS-1.0.
10619
10620         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10621         we can't use the one from the main source directory.
10622
10623 2006-11-27  Dan Williams  <dcbw@redhat.com>
10624
10625         Patch from Christian Persch <chpe@gnome.org>
10626
10627         * gnome/applet/applet-dbus-devices.c
10628                 - (hal_info_product_cb): fix memleak; free duped string.
10629                         Gnome.org #379908
10630
10631 2006-11-27  Dan Williams  <dcbw@redhat.com>
10632
10633         Patch from Christian Persch <chpe@gnome.org>
10634
10635         * gnome/applet/menu-items.c
10636                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10637                         as gtk_progress_set_percentage is deprecated.  Should
10638                         work as far back as GTK+ 2.4.  Gnome.org #379780
10639
10640 2006-11-26  Dan Williams  <dcbw@redhat.com>
10641
10642         Scan using wpa_supplicant over DBus.
10643
10644         * src/nm-device-802-11-wireless.c
10645                 - remove wireless extensions netlink event handler bits
10646                         (wireless_event_helper, nm_device_802_11_wireless_event)
10647                 - remove wireless extensions scan event handler bits
10648                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10649                         hex2byte, hex2num, request_and_convert_scan_results,
10650                         free_process_scan_cb_data, scan_results_timeout,
10651                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10652                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10653                         and request scans from the supplicant interface rather than directly
10654                 - Move functionality of convert_scan_results() to cull_scan_list() and
10655                         supplicant_iface_scanned_ap_cb()
10656                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10657                         at the scan interval when the current scan has finished
10658                 - (supplicant_iface_state_cb): start scanning when the supplicant
10659                         interface enters the READY state, and stop scanning when it
10660                         enters the DOWN state
10661                 - (cull_scan_list): weed out old access points from the scan list
10662                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10663                         point into an NMAccessPoint and merge it into the device's scan list
10664
10665         * src/supplicant-manager/nm-supplicant-interface.c
10666           src/supplicant-manager/nm-supplicant-interface.h
10667                 - Add a new signal "scan-result" which is issued when the supplicant
10668                         notifies NM that a scan has completed
10669                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10670                         point found in the scan.  Called once for each access point that
10671                         the supplicant interface object receives from the supplicant as a
10672                         result of the "scanResults" method call
10673                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10674                         for the initial scan results
10675                 - (scan_request_cb): new function; send listeners the result
10676                         (success, error) of a wireless scan request
10677                 - (nm_supplicant_interface_request_scan): new function; ask the
10678                         supplicant to perform an immediate wireless scan
10679
10680 2006-11-25  Dan Williams  <dcbw@redhat.com>
10681
10682         * src/supplicant-manager/Makefile.am
10683                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10684                         add HAL cflags/includes and named-manager includes directory
10685
10686         * src/supplicant-manager/nm-supplicant-interface.h
10687                 - New state STARTING to handle transition from INIT to READY where
10688                         the addInterface pending call is still outstanding
10689
10690         * src/supplicant-manager/nm-supplicant-interface.c
10691                 - track pending calls differently since we may have more than one
10692                         going on at any given time
10693                 - request scan results from wpa_supplicant; but don't do it more often
10694                         than every 4 seconds.  Drivers that do background scanning
10695                         (like the 'ipw' drivers) send a continuous stream of scan completion
10696                         notifications, so we don't want to hammer the supplicant or dbus
10697                         with requests for all scan results every time we get a completion
10698                         notification.
10699
10700 2006-11-25  Dan Williams  <dcbw@redhat.com>
10701
10702         * src/supplicant-manager/nm-supplicant-types.h
10703                 - new file; move all supplicant manager object typedefs here for
10704                         #include sanity
10705
10706         * src/supplicant-manager/nm-supplicant-interface.c
10707           src/supplicant-manager/nm-supplicant-interface.h
10708                 - new file; an object that interfaces an NMDevice object to the
10709                         supplicant and handles signals from the supplicant.  This object
10710                         does all necessary DBus communication with wpa_supplicant.
10711
10712         * src/supplicant-manager/nm-supplicant-manager.c
10713           src/supplicant-manager/nm-supplicant-manager.h
10714                 - Actually do something.  Track the state of the wpa_supplicant service
10715                         and deal with its comings & goings.  Handle life events of
10716                         supplicant interfaces too.
10717                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10718
10719         * src/supplicant-manager/nm-supplicant-connection.h
10720                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10721
10722         * src/supplicant-manager/Makefile.am
10723                 - Add new files to build, and add libnm-util to includes
10724
10725         * src/nm-marshal.list
10726                 - New marshaler type: VOID:UINT,UINT
10727
10728         * src/nm-device-802-3-ethernet.c
10729                 - (real_init): grab a supplicant interface
10730                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10731                 - (supplicant_iface_state_cb): new function, stub for handling
10732                         supplicant interface state changes
10733
10734         * src/nm-device-802-11-wireless.c
10735                 - (real_init): grab a supplicant interface
10736                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10737                 - (supplicant_iface_state_cb): new function, stub for handling
10738                         supplicant interface state changes
10739
10740         * src/NetworkManager.c
10741                 - (main): create and keep the supplicant manager around for the lifetime
10742                         of NetworkManager
10743
10744         * src/Makefile.am
10745                 - Link to the supplicant manager sub-library and use the supplicant
10746                         manager includes
10747
10748 2006-11-25  Dan Williams  <dcbw@redhat.com>
10749
10750         Rework DBus manager signal handling to be more flexible.  Previously,
10751         only one signal handler could be registered for a particular interface.
10752         The DBus manager now reference counts DBus bus matches and allows multiple
10753         clients to register signal handlers for the same interface and sender.
10754
10755         * src/NetworkManager.c
10756                 - (main): track NMI signal handler ID and remove it when we quit
10757
10758         * src/NetworkManagerMain.h
10759                 - Keep track of NMI signal handler ID
10760
10761         * src/nm-dbus-manager.c
10762           src/nm-dbus-manager.h
10763                 - rework signal handling; each signal handler references one signal
10764                         match, but a signal match may be referenced by one or more
10765                         signal handlers.  Matches are refcounted and are destroyed when the
10766                         last signal handler that references the match is removed.  This is
10767                         necessary because two signal handlers may end up requiring the same
10768                         dbus bus match, so the match must live until the last signal handler
10769                         is destroyed (for example, with the wpa_supplicant network interface
10770                         dbus interface).
10771
10772         * src/dhcp-manager/nm-dhcp-manager.c
10773                 - (nm_dhcp_manager_new): track DHCP signal handler id
10774                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10775
10776         * src/vpn-manager/nm-vpn-service.c
10777                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10778                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10779
10780 2006-11-25  Dan Williams  <dcbw@redhat.com>
10781
10782         Suggested by Helmut Schaa <hschaa@suse.de>
10783
10784         * src/vpn-daemons/nm-vpn-service.c
10785                 - (supplicant_child_setup): new function
10786                 - (supplicant_exec): make child process use a new process group id
10787
10788         * src/nm-device-802-11-wireless.c
10789                 - (nm_vpn_service_child_setup): new function
10790                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10791                         process group id
10792
10793 2006-11-19  Dan Williams  <dcbw@redhat.com>
10794
10795         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10796         * gnome/vpn-properties/nm-vpn-properties.c
10797                 - clean up after renamed VPN connection
10798
10799 2006-11-19  Dan Williams  <dcbw@redhat.com>
10800
10801         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10802         * gnome/applet/applet-dbus-vpn.c
10803                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10804
10805         * gnome/vpn-properties/nm-vpn-properties.c
10806                 - (init_app): sort VPN connections
10807
10808 2006-11-09  Dan Williams  <dcbw@redhat.com>
10809
10810         * src/NetworkManagerAPList.c
10811                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10812                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10813                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10814                 broke hidden SSID matching.  Found by Bill Moss.
10815
10816 2006-10-25  Dan Williams  <dcbw@redhat.com>
10817
10818         * src/nm-dbus-nm.c
10819                 - (nm_dbus_nm_set_active_device): return an empty success message on
10820                         success, rather than falling through to the error case.
10821
10822 2006-10-25  Dan Williams  <dcbw@redhat.com>
10823
10824         * src/NetworkManagerUtils.c
10825                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10826                         "SCAN" command
10827
10828 2006-10-24  Dan Williams  <dcbw@redhat.com>
10829
10830         Reduce the number of times the Gnome applet wakes up, especially when
10831         it's doing absolutely nothing and is hidden.  Initial patch by
10832         Chris Aillon.
10833
10834         * gnome/applet/applet-dbus.c
10835                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10836                         kill the redraw timeout.  When NM starts up, start the redraw
10837                         timeout.  Also, if we get kicked off the bus for some reason,
10838                         start the reconnection timeout if one's not already running.
10839                 - (nma_dbus_init): better handling of error conditions, don't leak
10840                         a half-initialized dbus connection
10841                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10842                         the applet's data, just call nm_dbus_init_helper()
10843                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10844                         timeout that calls nma_dbus_connection_watcher()
10845                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10846                         reconnection timeout, and don't start the reconnection timeout
10847                         unconditionally anymore
10848
10849         * gnome/applet/applet-dbus.h
10850                 - Expose nma_start_dbus_connection_watch()
10851
10852         * gnome/applet/applet.c
10853                 - (nma_update_state): no longer static, called from applet-dbus.c for
10854                         immediate UI updates on certain events
10855                 - (nma_set_running): new function; take over setting applet->running,
10856                         when not running (ie, NM is not active), don't activate the redraw
10857                         timeout because we're not showing the applet anyway.  When we are
10858                         running (ie, NM is active), and only when we're running, start the
10859                         redraw timeout.
10860                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10861                         kill any reconnection timeout
10862                 - (nma_get_instance): move one-off dbus initialization code here since
10863                         nm_dbus_init_helper() gets called more than once, possibly by the
10864                         reconnection timeout function too.  And, when we start up, if we
10865                         can't get a connection to the bus, start the reconnection timeout.
10866                         But don't start the redraw timeout yet, only do that when we get
10867                         NM's state and find out if it's running or not.
10868
10869         * gnome/applet/applet.h
10870                 - Add the reconnection GSource ID
10871                 - Add prototypes for nma_set_running() and the no-longer-static
10872                         nma_update_state()
10873
10874 2006-10-24  Dan Williams  <dcbw@redhat.com>
10875
10876         * src/vpn-daemons/nm-dbus-vpnc.c
10877                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10878                         pending call tracker
10879                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10880                         pending call tracker; register one-vpn-connection update pending
10881                         call in pending call tracker
10882                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10883                         update pending call in pending call tracker
10884                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10885                         update pending call in pending call tracker; don't block waiting
10886                         for call to return
10887
10888 2006-10-19  Robert Love  <rml@novell.com>
10889
10890         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10891           refresh the cache.
10892
10893 2006-10-14  Dan Williams  <dcbw@redhat.com>
10894
10895         * src/dhcp-manager/nm-dhcp-manager.c
10896                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10897                 the dbus connection and the device object path rather than
10898                 constructing it inside both functions.  Saves a bit of memory
10899                 and clarifies a failure path.
10900                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10901                 and allocate device path here rather than each of the two
10902                 functions above.
10903
10904 2006-10-13  Dan Williams  <dcbw@redhat.com>
10905
10906         * src/NetworkManager.c
10907                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10908                 this somehow droppout in the refactor
10909
10910 2006-10-13  Dan Williams  <dcbw@redhat.com>
10911
10912         * Huge DBus refactor:
10913                 - Create a "DBus Manager" object which manages the connection and
10914                 sends signals on NameOwnerChanged and connection/disconnection events,
10915                 handles reconnection to the bus if NM gets kicked off, and abstracts
10916                 signal handling
10917                 - Remove DBusConnection members from places where they are no
10918                 longer needed due to the refactor, like the dbus-connection
10919                 property of the named manager, and from NMData
10920                 - Reformats a bunch of the code to gnome style
10921                 (8-space tabs, braces on same line as statement, 80-col width).
10922                 Consider it open season to reformat any bits to gnome style.
10923                 style that aren't already.
10924
10925 2006-10-13  Dan Williams  <dcbw@redhat.com>
10926
10927         * src/supplicant-manager/Makefile.am
10928                 - Add new files
10929
10930         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10931                 - Make it a minimal GObject
10932
10933         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10934                 - Verify settings destined for wpa_supplicant
10935
10936         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10937                 - Minimal GObject to track wpa_supplicant controlled device
10938                 connections
10939
10940 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10941
10942         * gnome/applet/applet.c: (nma_update_info),
10943         (nma_act_stage_to_pixbuf), (nma_update_state):
10944         Mark missing strings for translation. Fixes bug #343306.
10945
10946 2006-10-01  Dan Williams  <dcbw@redhat.com>
10947
10948         * src/vpn-manager/nm-vpn-manager.c
10949                 - (nm_vpn_manager_load_services): split and clean up
10950                 for readability and correctness.  Restrict VPN service
10951                 files to ending in ".name", as was meant from the
10952                 beginning (but not coded in).  Better error reporting.
10953
10954 2006-10-01  Dan Williams  <dcbw@redhat.com>
10955
10956         * utils/nm-utils.h
10957                 - Clean up formatting of debug/info/warning log messages
10958
10959 2006-09-27  Robert Love  <rml@novell.com>
10960
10961         Patch by Tambet Ingo <tambet@ximian.com>:
10962         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10963           actually work.
10964
10965 2006-09-07  Dan Williams <dcbw@redhat.com>
10966
10967         * test/Makefile.am
10968           test/libnm-util/Makefile.am
10969           test/nm-supplicant-test.c
10970                 - Add test program emulating the way NM drives wpa_supplicant
10971                 to help debug supplicant issues
10972
10973 2006-08-24  Dan Williams <dcbw@redhat.com>
10974
10975         * configure.in
10976           src/Makefile.am
10977           src/supplicant-manager/Makefile.am
10978           src/supplicant-manager/nm-supplicant-manager.c
10979           src/supplicant-manager/nm-supplicant-manager.h
10980                 - Add skeleton bits of the wpa_supplicant manager
10981
10982 2006-08-24  Dan Williams <dcbw@redhat.com>
10983
10984         Patch from Ed Catmur:
10985         * src/NetworkManagerUtils.c
10986                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10987                 if netmask is 0 (Gnome #352634)
10988
10989 2006-08-17  Robert Love  <rml@novell.com>
10990
10991         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10992           package is now DBUS-enabled and listens for the NM signals.
10993
10994 2006-08-14  Dan Williams  <dcbw@redhat.com>
10995
10996         * Patch from Christian Persch <chpe gnome org>
10997         * configure.in
10998           po/LINGUAS
10999           vpn-daemons/openvpn/po/LINGUAS
11000           vpn-daemons/openvpn/configure.in
11001           vpn-daemons/pptp/po/LINGUAS
11002           vpn-daemons/pptp/configure.in
11003           vpn-daemons/vpnc/po/LINGUAS
11004           vpn-daemons/vpnc/configure.in
11005                 - Convert to LINGUAS method so translators don't have to modify
11006                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11007                 0.35 or higher
11008
11009 2006-08-14  Dan Williams  <dcbw@redhat.com>
11010
11011         Patch from Alex Smith <alex.extreme2@gmail.com>
11012         * configure.in
11013           src/backends/Makefile.am
11014           src/backends/NetworkManagerFrugalware.c
11015                 - Add support for Frugalware
11016
11017 2006-08-13  Dan Williams  <dcbw@redhat.com>
11018
11019         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11020         * src/nm-device-802-11-wireless.c
11021                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11022                 Gnome #346875
11023
11024 2006-08-13  Dan Williams  <dcbw@redhat.com>
11025
11026         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11027         * src/nm-ap-security.c
11028           src/nm-ap-security.h
11029                 - Add authentication_required bits for subclasses to specify whether
11030                 or not real authentication is required for connections, i.e. whether
11031                 the AP rejects us when an encryption key is wrong or not.
11032
11033         * src/nm-ap-security-wep.c
11034           src/nm-ap-security-wpa-eap.c
11035           src/nm-ap-security-wpa-psk.c
11036           src/nm-ap-security-leap.c
11037                 - Implement authentication_required appropriately for each method
11038
11039         * src/nm-device-802-11-wireless.c
11040                 - Be smarter about when to request a key; for example, using a wrong key
11041                 in WEP shared key mode previously just timed out and did not request
11042                 a new key
11043
11044 2006-08-13  Dan Williams  <dcbw@redhat.com>
11045
11046         * gnome/libnm_glib/libnm_glib.c
11047                 - dbus_connection_disconnect() -> dbus_connection_close() for
11048                 dbus >= 0.90
11049
11050 2006-08-07  Dan Williams  <dcbw@redhat.com>
11051
11052         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11053         * src/NetworkManagerSystem.c
11054                 - Respect specified MTU.  Gnome #344967
11055
11056 2006-08-07  Dan Williams  <dcbw@redhat.com>
11057
11058         * src/vpn-manager/nm-vpn-service.c
11059                 - Simplify print_vpn_config() arguments
11060
11061         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11062         * src/vpn-manager/Makefile.am
11063           src/vpn-manager/nm-vpn-service.c
11064                 - Add new API for passing VPN config options as a dict. Gnome #344967
11065
11066 2006-08-06  Dan Williams  <dcbw@redhat.com>
11067
11068         * gnome/applet/applet-dbus-devices.c
11069           gnome/applet/applet-dbus-vpn.c
11070           gnome/applet/applet-dbus.c
11071           gnome/applet/applet-dbus.h
11072           src/nm-dbus-nmi.c
11073           utils/nm-utils.c
11074           utils/nm-utils.h
11075                 - Make pending call tracking code generic,
11076                 so we can use it in NM as well as the applet
11077
11078 2006-08-06  Dan Williams  <dcbw@redhat.com>
11079
11080         * src/nm-activation-request.c
11081                 - Refcount pending call objects
11082
11083 2006-08-06  Dan Williams  <dcbw@redhat.com>
11084
11085         Patch from Christan Chiesa <christanc@gmail.com>
11086         * configure.in
11087                 - Tell sha1.c to use bigendian mode on PPC
11088
11089 2006-08-04  Robert Love  <rml@novell.com>
11090
11091         Glib Memory Slices!
11092         * configure.in: Require glib 2.10 or later.
11093         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11094           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11095           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11096           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11097           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11098           Memory Slices are the greatest thing since bread slices.
11099         * src/NetworkManagerAP.c: Also, fix memory leak.
11100
11101 2006-08-01  Robert Love  <rml@novell.com>
11102
11103         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11104
11105 2006-07-31  Robert Love  <rml@novell.com>
11106
11107         * src/backends/interface_parser.c: Declarations must begin the block.
11108
11109 2006-07-24  Dan Williams  <dcbw@redhat.com>
11110
11111         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11112         * src/backends/Makefile.am
11113           src/backends/NetworkManagerArch.c
11114           src/backends/NetworkManagerDebian.c
11115           src/backends/NetworkManagerGeneric.c
11116           src/backends/NetworkManagerGeneric.h
11117           src/backends/NetworkManagerGentoo.c
11118           src/backends/NetworkManagerPaldo.c
11119           src/backends/NetworkManagerRedHat.c
11120           src/backends/NetworkManagerSlackware.c
11121           src/backends/NetworkManagerSuSE.c
11122                 - Genericize common backend functions
11123
11124 2006-07-18  Robert Love  <rml@novell.com>
11125
11126         * configure.in: Add "--with-notify" option to allow disabling of
11127           libnotify support.
11128
11129 2006-07-13  Dan Williams  <dcbw@redhat.com>
11130
11131         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11132         * gnome/applet/applet.glade
11133           gnome/applet/Makefile.am
11134           gnome/applet/nm-gconf-wso.c
11135           gnome/applet/nm-gconf-wso-leap.c
11136           gnome/applet/nm-gconf-wso-leap.h
11137           gnome/applet/wireless-security-manager.c
11138           gnome/applet/wso-leap.c
11139           gnome/applet/wso-leap.h
11140           include/NetworkManager.h
11141           libnm-util/dbus-helpers.c
11142           libnm-util/dbus-helpers.h
11143           src/Makefile.am
11144           src/NetworkManagerAP.c
11145           src/nm-ap-security.c
11146           src/nm-ap-security-leap.c
11147           src/nm-ap-security-leap.h
11148                 - Add LEAP authentication support
11149
11150 2006-07-13  Dan Williams  <dcbw@redhat.com>
11151
11152         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11153         * configure.in
11154           src/backends/NetworkManagerArch.c
11155           src/backends/NetworkManagerDebian.c
11156           src/backends/NetworkManagerGentoo.c
11157           src/backends/NetworkManagerPaldo.c
11158           src/backends/NetworkManagerRedHat.c
11159           src/backends/NetworkManagerSlackware.c
11160           src/backends/NetworkManagerSuSE.c
11161                 - Convert hardcoding of 'ip' path to configure-time
11162                         detected one
11163
11164 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11165
11166         * configure.in: added ru to ALL_LINGUAS
11167
11168 2006-07-10  Dan Williams  <dcbw@redhat.com>
11169
11170         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11171         * src/nm-device.c
11172                 - (real_act_stage3_ip_config_start): don't infinite loop when
11173                         dhcdbd isn't running (Gnome #346845)
11174
11175 2006-07-09  Dan Williams  <dcbw@redhat.com>
11176
11177         * gnome/applet/applet.c
11178                 - (nma_destroy): don't pass NULL to notify_notification_close
11179                         (RH #197917)
11180
11181 2006-07-09  Dan Williams  <dcbw@redhat.com>
11182
11183         * gnome/applet/applet.c
11184                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11185
11186 2006-07-04  Tor Krill  <tor@krill.nu>
11187
11188         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11189         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11190         (nm_system_restart_mdns_responder), (ArchReadConfig),
11191         (nm_system_device_get_system_config):
11192                 - Explicitly check for DHCP configuration
11193                 - Check if daemons are running before starting them
11194
11195 2006-06-25  Dan Williams  <dcbw@redhat.com>
11196
11197         * libnm-util/dbus-dict-helpers.[ch]
11198           test/libnm-util/test-dbus-dict-helpers.c
11199                 - Add string array support
11200
11201 2006-06-24  Dan Williams  <dcbw@redhat.com>
11202
11203         * src/dhcp-manager/nm-dhcp-manager.c
11204                 - (nm_dhcp_manager_process_signal): clean up spacing
11205
11206 2006-06-21  Dan Williams  <dcbw@redhat.com>
11207
11208         * src/nm-dbus-device.c
11209                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11210                         through dbus
11211
11212 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11213
11214         * configure.in: Added 'lv' to ALL_LINGUAS
11215
11216 2006-06-19  Dan Williams  <dcbw@redhat.com>
11217
11218         * src/NetworkManagerAP.c
11219                 - Clarify usage of user_created
11220
11221         * src/nm-ap-security-wep.c
11222           src/nm-ap-security-wpa-eap.c
11223           src/nm-ap-security-wpa-psk.c
11224           src/nm-ap-security.c
11225           src/nm-ap-security.h
11226                 - s/user_created/adhoc, because we really do mean adhoc
11227
11228         Patch from Bernard Blackham <bernard@blackham.com.au>
11229         * src/nm-device-802-11-wireless.c         
11230                 - (supplicant_send_network_config): instead of user_created,
11231                         use adhoc, and do AP_SCAN 2 for adhoc networks
11232
11233 2006-06-18  Robert Love  <rml@novell.com>
11234
11235         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11236           we have a value to set.  Gconf generates a warning if `val' is NULL.
11237         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11238           unless we actually received a valid private key file passphrase or
11239           password.  Otherwise, we don't know to later ask the applet to pull
11240           the key from the keyring.
11241
11242 2006-06-17  Dan Williams  <dcbw@redhat.com>
11243
11244         * libnm-util/dbus-dict-helpers.[ch]
11245           test/libnm-util/test-dbus-dict-helpers.c
11246                 - Fixes for zero-length byte arrays
11247                 - Replace return values of 0 with FALSE for clarity
11248                 - Test zero-length byte arrays
11249
11250 2006-06-17  Dan Williams  <dcbw@redhat.com>
11251
11252         * libnm-util/dbus-dict-helpers.[ch]
11253           test/libnm-util/test-dbus-dict-helpers.c
11254                 - Add helpers for byte arrays
11255                 - Rework bits of the testcase
11256
11257 2006-06-16  Dan Williams  <dcbw@redhat.com>
11258
11259         * libnm-util/Makefile.am
11260         * libnm-util/dbus-dict-helpers.[ch]
11261                 - Add some helpers to take the pain out of using dict types in
11262                         dbus.
11263
11264         * test/libnm-util/Makefile.am
11265         * test/libnm-util/test-dbus-dict-helpers.c
11266                 - Test cases for the dict helper functions
11267
11268 2006-06-15  Robert Love  <rml@novell.com>
11269
11270         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11271           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11272           if there is no key to pass.
11273         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11274           receiving a non-NULL key.
11275
11276 2006-06-14  Robert Love  <rml@novell.com>
11277
11278         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11279           copy the strings.
11280
11281
11282 2006-06-14  Dan Williams  <dcbw@redhat.com>
11283
11284         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11285         * src/nm-device-802-11-wireless.c
11286                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11287                         or ones where the driver is unknown
11288                 - (supplicant_exec): don't wait for supplicant startup here
11289                 - (supplicant_interface_init): finer grained polling for supplicant
11290                         startup
11291
11292 2006-06-13  Robert Love  <rml@novell.com>
11293
11294         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11295           if it is currently set to TRUE.  Otherwise, we will reset the value
11296           when we connect normally.
11297         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11298           the old BSSID is valid, too.  The recently added ESSID check may not be
11299           sufficient (we can remove it?).  What we really want to catch is the
11300           case of going from all-zeros to the BSSID of some other network, which
11301           happens on failure.
11302
11303 2006-06-09  Dan Williams  <dcbw@redhat.com>
11304
11305         * src/NetworkManagerSystem.[ch]
11306                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11307                         it was unused and pointless
11308                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11309                         fix for set_up_down_with_iface change
11310
11311         * src/vpn-manager/nm-vpn-connection.c
11312                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11313
11314         * src/backends/NetworkManagerPaldo.c
11315           src/backends/NetworkManagerRedHat.c
11316           src/backends/NetworkManagerSuSE.c
11317           src/backends/NetworkManagerArch.c
11318           src/backends/NetworkManagerDebian.c
11319           src/backends/NetworkManagerGentoo.c
11320                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11321                         appropriate
11322                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11323                         where appropriate
11324
11325 2006-06-09  Dan Williams  <dcbw@redhat.com>
11326
11327         Patch from Peter Jones:
11328         * src/nm-device-802-11-wireless.c
11329                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11330                         SSID hasn't changed from what we expect before automatically
11331                         updating the saved BSSID from a new AP
11332
11333 2006-06-08  Robert Love  <rml@novell.com>
11334
11335         Add 'fallback' support.  NetworkManager will attempt to brute-force
11336         connect to networks marked as fallback if there are no better wireless
11337         connections available.  This is useful as a method of last resort, to
11338         work around driver problems, and for use with hidden networks.
11339         * gnome/applet/applet-dbus-devices.c,
11340           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11341         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11342           pass it on via DBUS.
11343         * gnome/applet/applet.c: No fallback by default.
11344         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11345           Update other-network-dialog to add UI checkbox toggling fallback.
11346         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11347           propery from AP object.  Add "fallback" property to AP object.
11348         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11349         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11350         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11351           separate function.  Add get_best_fallback_ap() for returning an AP
11352           on which to attempt fallback.
11353         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11354         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11355
11356 2006-06-07  Robert Love  <rml@novell.com>
11357
11358         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11359           checked that the return type was GCONF_VALUE_STRING, not the correct
11360           GCONF_VALUE_BOOL, and thus it never worked.
11361         * src/NetworkManagerAPList.c: Before concluding that two networks are
11362           identical based on their BSSID, make sure that the BSSID in question
11363           is actually valid.  Specifically, an empty or all zero BSSID does not
11364           cut it.
11365         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11366           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11367           similar invariant clean up.
11368
11369 2006-06-02  Robert Love  <rml@novell.com>
11370
11371         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11372
11373 2006-05-28  Dan Williams  <dcbw@redhat.com>
11374
11375         * gnome/applet/applet.glade
11376           gnome/vpn-properties/nm-vpn-properties.glade
11377                 - Set window icons on dialogs  (Gnome.org #333420)
11378
11379 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11380
11381         * gnome/vpn-properties/nm-vpn-properties.glade:
11382         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11383         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11384         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11385                 - Make the VPN properties pages prettier and more HIG
11386                   compliant. Gnome Bug #336913.
11387
11388 2006-05-28  Dan Williams  <dcbw@redhat.com>
11389
11390         Patch from Christian Persch <chpe@gnome.org>
11391         * gnome/vpn-properties/nm-vpn-properties.c
11392         * gnome/vpn-properties/nm-vpn-properties.glade
11393                 - HIG-ification love  (Gnome.org #336846)
11394
11395 2006-05-28  Dan Williams  <dcbw@redhat.com>
11396
11397         Patch from Christian Persch <chpe@gnome.org>
11398         * configure.in
11399           gnome/vpn-properties/nm-vpn-properties.c
11400                 - (main): Fix option parsing.  Gnome.org #336847
11401
11402 2006-05-28  Dan Williams  <dcbw@redhat.com>
11403
11404         * gnome/vpn-properties/nm-vpn-properties.c
11405                 - (find_vpn_ui_by_service_name): protect against NULL service names
11406                 - (update_edit_del_sensitivity): protect against NULL service names
11407                         Gnome.org #341306
11408
11409 2006-05-28  Dan Williams  <dcbw@redhat.com>
11410
11411         Patch from Chris Fuller <crf@grandecom.net>:
11412         * src/nm-device-802-11-wireless.c
11413                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11414                         don't dispose of wireless-specific stuff unless it is actually
11415                         initialized.  Gnome.org #341263
11416
11417 2006-05-28  Dan Williams  <dcbw@redhat.com>
11418
11419         * src/NetworkManagerPolicy.c
11420                 - (nm_policy_device_change_check): don't switch devices if the "best"
11421                         AP is essentially the same as the current activation request, but
11422                         the current activation request isn't done activating yet.  Fixes
11423                         multiple requests for keyring password on startup for Gnome applet.
11424                         Gnome.org #341297
11425
11426 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11427
11428         * src/NetworkManager.c: use GOptions instead of getopt
11429         * configure.in: bump glib required version to >= 2.6 for GOption
11430           support
11431
11432 2006-05-25  Robert Love  <rml@novell.com>
11433
11434         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11435           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11436           instead of dumping ifdef's throughout the code.
11437         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11438           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11439           use nm_ioctl_info() in lieu.
11440
11441 2006-05-25  Robert Love  <rml@novell.com>
11442
11443         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11444         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11445           not using gcrypt.  Otherwise, we get a linker error.
11446
11447 2006-05-25  Robert Love  <rml@novell.com>
11448
11449         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11450         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11451           configure flag to disable building of the GNOME-based applet.
11452
11453 2006-05-25  Robert Love  <rml@novell.com>
11454
11455         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11456           parameter from link, because it shadows a global variable with some
11457           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11458           should never have exported to the entire system a common four letter
11459           word.  But we here at NetworkManager are team players.  Fixes
11460           GNOME bug #336532.
11461
11462 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11463
11464         * configure.in: Added mk.po, Macedonian translation.
11465
11466 2006-05-24  Robert Love  <rml@novell.com>
11467
11468         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11469           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11470           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11471
11472 2006-05-24  Robert Love  <rml@novell.com>
11473
11474         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11475           libnm-util/Makefile.am, src/Makefile.am,
11476           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11477           vpn-daemons/openvpn/properties/Makefile.am,
11478           vpn-daemons/pptp/auth-dialog/Makefile.am,
11479           vpn-daemons/pptp/properties/Makefile.am,
11480           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11481           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11482           user passed for --datadir, if anything, when setting the GNOME locale
11483           directory.  It should be a function of the specified datadir and not
11484           the prefix.
11485
11486 2006-05-24  Robert Love  <rml@novell.com>
11487
11488         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11489           src/NetworkManager.c: Take care to call bindtextdomain with the
11490           location of msgid files.
11491         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11492           files.
11493
11494 2006-05-22  Robert Love  <rml@novell.com>
11495
11496         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11497           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11498           99% of the time there is a real problem with wireless, and a
11499           seemingly successful connection via Zeroconf just confuses the user.
11500           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11501
11502 2006-05-22  Robert Love  <rml@novell.com>
11503
11504         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11505           autofs on interface up if NIS is configured.  On interface down, do
11506           nothing.
11507
11508 2006-05-22  Robert Love  <rml@novell.com>
11509
11510         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11511           to avoid calling g_object_unref() on stale pointers on error in
11512           nma_icons_free().  This happens because we short-circuit loaded the
11513           icons on the first failure but then free all icons.  Normally we have
11514           no issue because the icons were zero'ed out malloc, but we have stale
11515           pointer data after nma_icon_theme_changed().
11516         * gnome/applet/main.c: Return error code if nma_new() failed.
11517
11518 2060-05-21  Dan Williams  <dcbw@redhat.com>
11519
11520         * initscript/NetworkManager.in
11521                 - Ensure both dhcdbd and named are started before NM
11522
11523 2006-05-21  Dan Williams  <dcbw@redhat.com>
11524
11525         * configure.in
11526                 - Bump version to 0.7 to signify we are in 0.7 development
11527
11528 2006-05-21  Dan Williams  <dcbw@redhat.com>
11529
11530         Patch from Adam Schreiber <sadam@clemson.edu>
11531         * gnome/vpn-properties/nm-vpn-properties.c
11532                 - (main): correct Gnome program name  (gnome.org #342498)
11533
11534 2006-05-21  Dan Williams  <dcbw@redhat.com>
11535
11536         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11537
11538         * src/NetworkManagerDbus.[ch]
11539                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11540                         clarify that function's argument should be an escaped dbus object
11541                         path, and look for path segment end before returning a match
11542         * src/nm-dbus-nm.c:
11543                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11544
11545 2006-05-17  Robert Love  <rml@novell.com>
11546
11547         Functionality to differentiate Ad-Hoc networks from infrastructure
11548         networks in the applet, by displaying a special icon:
11549         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11550         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11551         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11552           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11553           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11554           networks, encrypted or not.
11555         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11556           accessor functions to get and set the mode of a given network,
11557           wireless_network_get_mode() and wireless_network_set_mode().
11558
11559 2006-05-17  Robert Love  <rml@novell.com>
11560
11561         Functionality to automatically add BSSIDs to the allowed-MAC list as
11562         one roams from access point to access point on a given network:
11563         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11564           helper function to compare two ether_addr structures and return TRUE
11565           if they contain the same MAC address.
11566         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11567           prototype.
11568         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11569           stored with the current AP.  If the BSSID has indeed changed, we
11570           send it out to the applet, allowing the allowed-MAC list to grow
11571           automatically in response to roaming.
11572
11573 2006-05-16  Robert Love  <rml@novell.com>
11574
11575         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11576           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11577
11578 2006-05-13  Dan Williams  <dcbw@redhat.com>
11579
11580         * src/nm-device-802-3-ethernet.c
11581                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11582                         carrier detect (Debian bug #366373)
11583
11584 2006-05-11  Dan Williams  <dcbw@redhat.com>
11585
11586         Patch from Michael Biebl <biebl@teco.edu>
11587         * src/backends/NetworkManagerDebian.c
11588                 - Debian backend fixups
11589
11590 2006-05-10  Robert Love  <rml@novell.com>
11591
11592         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11593
11594 2006-05-09  Robert Love  <rml@novell.com>
11595
11596         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11597           private certificate passphrase, if any, in the GNOME Keyring.
11598         * libnm-utils/dbus-helpers.c: Update.
11599
11600 2006-05-05  Dan Williams  <dcbw@redhat.com>
11601
11602         * src/nm-device-802-11-wireless.c
11603                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11604                         nm_device_802_11_wireless_disable_encryption() since that's all
11605                         we use it for anymore; we don't ever set WEP keys ourselves.
11606                 - (real_deactivate_quickly): reset SSID and encryption keys
11607                 - (real_deactivate): move SSID and encryption key reset to
11608                         real_deactivate_quickly(), which gets run before us anyway
11609
11610 2006-05-05  Robert Love  <rml@novell.com>
11611
11612         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11613           root has a wacky default of its own (or, more common, a user has a
11614           bad umask and uses su/sudo to restart NetworkManager).  Anything
11615           other than 0022 does not do what we want with, for example,
11616           resolv.conf.  This problem is amplified by our judicious use of
11617           fopen(), which uses mode 0666 -- implying that the only way to get
11618           the permissions we want is with a umask of 0022.
11619
11620 2006-05-05  Dan Williams  <dcbw@redhat.com>
11621
11622         * gnome/libnm_glib/libnm_glib.c
11623                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11624                         to reconnect; instead wait a bit more with each reconnect attempt
11625                         up to a max of one minute.
11626
11627 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11628
11629         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11630           the WirelessNetwork structure using the proper function instead of
11631           just casting it directly to (const char *) (gnome.org #336991)
11632
11633 2006-05-03  Robert Love  <rml@novell.com>
11634
11635         * src/backends/NetworkManagerSuSE.c: Respect the variable
11636           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11637           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11638           to dynamically update /etc/resolv.conf.
11639
11640 2006-05-02  Peter Jones  <pjones@redhat.com>
11641
11642         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11643
11644 2006-05-02  Robert Love  <rml@novell.com>
11645
11646         Patch by Timo Hoenig;
11647         * tests/nm-online.c: Print pretty status indicator as timeout winds
11648           down.  Also fix possible race between DBUS startup and failure
11649           return.
11650
11651 2006-05-01  Robert Love  <rml@novell.com>
11652
11653         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11654           empty, too.
11655
11656 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11657
11658         * src/nm-device.c (discover_device_type): Actually use the hal
11659         device type instead of ioctl poking
11660
11661 2006-04-26  Robert Love  <rml@novell.com>
11662
11663         * tests/nm-online.c: New file.  Simple utility that returns exit status
11664           noting whether the connection is offline or online.  If offline on
11665           start, it waits 30 seconds (or a command-line given value) for an
11666           online signal.  If it times out, it again returns offline.  This is
11667           useful for scripts that want to wait for network connections.
11668
11669 2006-04-25  Robert Love  <rml@novell.com>
11670
11671         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11672           key mode (the authentication algorithm), e.g. open or shared, when we
11673           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11674           only shared was broken.  If the user specified a shared key, set it
11675           explicitly, otherwise let wpa_supplicant go with the default.
11676
11677 2006-04-24  Dan Williams  <dcbw@redhat.com>
11678
11679         * src/nm-device-802-11-wireless.c
11680                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11681
11682 2006-04-24  Dan Williams  <dcbw@redhat.com>
11683
11684         Commit the async scanning patch
11685
11686         * src/nm-device-802-11-wireless.c
11687                 - get rid of scan_mutex
11688                 - (wireless_event_helper): act on wireless scan events
11689                 - (real_start): schedule a pending scan
11690                 - (link_to_specific_ap): fake the link to the AP during a scan
11691                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11692                         strength during scans
11693                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11694                         nm_device_set_bitrate): unused with new scanning code, disable
11695                 - (nm_device_wireless_schedule_scan): removed
11696                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11697                 - (request_and_convert_scan_results): new function; retrieve scan
11698                         results from the driver and schedule the processing function
11699                 - (scan_results_timeout): timeout triggered when card doesn't send
11700                         a scan results wireless event during a certain interval
11701                 - (schedule_scan_results_timeout): new function; schedule the scan
11702                         results timeout
11703                 - (cancel_scan_results_timeout): new function; cancel the scan
11704                         results timeout
11705                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11706                         to do the scanning.  Otherwise, just request a scan but don't
11707                         grab results here; instead schedule a timeout for scan results and
11708                         let netlink notify us of scan completion events
11709                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11710                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11711                 - (supplicant_status_cb): ignore disconnect events while scanning
11712                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11713                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11714                         timeouts
11715                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11716
11717 2006-04-24  Dan Williams  <dcbw@redhat.com>
11718
11719         * gnome/applet/applet-dbus.c
11720                 - Disable the pending call debug stuff, seems under control now
11721
11722 2006-04-20  Robert Love  <rml@novell.com>
11723
11724         Fix bug where hidden ESSID's would not show up in the applet, even
11725         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11726         because nm_policy_device_list_update_from_allowed_list() would merge
11727         the data, putting a name to the hidden networks, but never notify NMI
11728         of the changes.  Simple fix is to invoke the function
11729         nm_dbus_signal_wireless_network_change() if we make a mapping.
11730         * src/NetworkManagerAPList.c: Call the function
11731           nm_dbus_signal_wireless_network_change() if we made a successful
11732           BSSID to ESSID mapping, notifying the applet of the "new" network.
11733         * src/NetworkManagerAPList.h: Update the prototypes for both
11734           nm_ap_list_copy_essids_by_address() and
11735           nm_ap_list_copy_one_essid_by_address().
11736
11737 2006-04-20  Robert Love  <rml@novell.com>
11738
11739         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11740           not set.  Just return zero.
11741
11742 2006-04-20  Robert Love  <rml@novell.com>
11743
11744         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11745           only one copy of nm-vpn-properties is running at a time via the 'ol
11746           X selection trick.  This prevents the user from opening two "VPN
11747           Connections" windows from within the applet, which leads to mass
11748           hysteria.
11749         * clipboard.c: New file, implementing simple X selection logic.
11750         * clipboard.h: New file.
11751         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11752
11753 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11754
11755         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11756         * configure.in
11757           initscript/Gentoo/Makefile.am
11758           initscript/Gentoo/NetworkManagerDispatcher.in
11759                 - New script
11760         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11761           Gentopia
11762
11763 2006-04-16  Dan Williams  <dcbw@redhat.com>
11764
11765         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11766         * configure.in
11767           initscript/Slackware/Makefile.am
11768           initscript/Slackware/rc.networkmanager-dispatcher.in
11769           initscript/Slackware/rc.networkmanager.in
11770                 - Update slackware initscripts
11771
11772 2006-04-10  Robert Love  <rml@novell.com>
11773
11774         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11775           the "delete_event" signal on the druid's parent window and handle it
11776           our way, lest using the WM to close the druid results in a series of
11777           bloody and ultimately lethal errors.
11778
11779 2006-04-10  Robert Love  <rml@novell.com>
11780
11781         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11782           'Back' too or else the 'Forward' option is initially disabled despite
11783           valid input.
11784
11785 2006-04-06  Robert Love  <rml@novell.com>
11786
11787         Fix bad but simple bug where an active modem connection did not update
11788         NM's connection state, breaking any app that did online/offline:
11789         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11790           represented whether a dial up connection is active, or not.
11791         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11792           to modem activation and deactivation.
11793         * src/NetworkManagerDbus.c: When asked our state, do not return
11794           disconnected if the modem is active.
11795
11796 2006-04-04  Robert Love  <rml@novell.com>
11797
11798         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11799           applet.  It just confuses the crap out of people and does not make a
11800           lot of sense, as the daemon still runs.
11801
11802 2006-04-02  Tor Krill  <tor@krill.nu>
11803
11804         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11805           in start of service.
11806         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11807           get Archlinux backend up to date.
11808
11809 2006-03-29  Robert Love  <rml@novell.com>
11810
11811         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11812         to add support for per-route MSS and improve support for per-interface
11813         MTU:
11814         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11815           optionally take an MSS parameter and set it for the given route.
11816           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11817           NMIP4Config's stored MSS, if any.
11818         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11819           the interface's MTU and the route's MSS, respectively.  Add functions
11820           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11821           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11822           MSS.
11823         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11824           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11825           nm_ip4_config_set_mss.
11826         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11827           VPN daemon.
11828         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11829           Change the retval of nm_system_get_mtu to guint32.
11830         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11831           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11832           servers can specify MTU's, we should set it here if the MTU was not
11833           provided.
11834
11835 2006-03-27  Jürg Billeter  <j@bitron.ch>
11836
11837         * configure.in:
11838         * initscript/Makefile.am:
11839         * initscript/paldo/Makefile.am:
11840         * initscript/paldo/NetworkManager.in:
11841         * initscript/paldo/NetworkManagerDispatcher.in:
11842         * src/backends/Makefile.am:
11843         * src/backends/NetworkManagerPaldo.c:
11844                 - Add paldo support
11845
11846 2006-03-27  Dan Williams  <dcbw@redhat.com>
11847
11848         Patch from Christian Persch <chpe@gnome.org>
11849         * gnome/applet/applet.glade
11850                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11851
11852 2006-03-27  Dan Williams  <dcbw@redhat.com>
11853
11854         Patch from Diffe <diffie@blazebox.homeip.net>
11855         * src/backends/NetworkManagerSlackware.c
11856                 - Don't restart howl, since it's been replaced by Avahi
11857                         in most distributions
11858
11859 2006-03-27  Dan Williams  <dcbw@redhat.com>
11860
11861         Patch from Tor Krill <bugzilla@krill.nu>
11862         * configure.in
11863           initscript/Makefile.am
11864           src/backends/Makefile.am
11865           src/backends/NetworkManagerArch.c
11866           initscript/Arch/Makefile.am
11867           initscript/Arch/networkmanager-dispatcher.in
11868           initscript/Arch/networkmanager.in
11869                 - Add Arch Linux support, fixes gnome.org #335147
11870
11871 2006-03-27  Dan Williams  <dcbw@redhat.com>
11872
11873         Patch from Diffe <diffie@blazebox.homeip.net>
11874      * initscript/Slackware/rc.networkmanager
11875         - update, fixed gnome.org #333368
11876
11877 2006-03-27  Robert Love  <rml@novell.com>
11878
11879         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11880           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11881
11882 2006-03-27  Robert Love  <rml@novell.com>
11883
11884         Patch by Jürg Billeter <j@bitron.ch>:
11885         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11886           systems.
11887         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11888           as we prefer glibc over kernel headers, if possible.
11889
11890 2006-03-27  Robert Love  <rml@novell.com>
11891
11892         Patch by Jon Escombe <list@dresco.co.uk>:
11893         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11894         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11895           fail, don't bail out.  We don't expect all of the various WPA-EAP
11896           values to be present.
11897         * src/nm-ap-security.c: We need to match all capabilities for each
11898           encryption type, not any one of them.
11899
11900 2006-03-27  Robert Love  <rml@novell.com>
11901
11902         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11903           restart, not reload, ypbind.  Unfortunately there is no superior
11904           solution.
11905
11906 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11907
11908         * gnome/applet/applet-notifications.c:
11909         When displaying a notification, make sure to get rid of the
11910         previous notification so as to not have competing bubbles,
11911         and stop leaking the old one.
11912
11913         * gnome/applet/applet.c:
11914         * gnome/applet/applet.h:
11915         Add a new 'notification' member to the applet, and zero it out
11916         and free it appropriately.
11917
11918 2006-03-23  Robert Love  <rml@novell.com>
11919
11920         Patch by j <j@bootlab.org>:
11921         * gnome/applet/applet.glade: Don't set the invisible_char property,
11922           which simply overrides the GTK default.  By and by, this behavior
11923           ought to be fixed in Glade.
11924
11925 2006-03-22  Robert Love  <rml@novell.com>
11926
11927         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11928
11929 2006-03-22  Robert Love  <rml@novell.com>
11930
11931         Bug fix by Timo Hoenig <thoenig@suse.de>:
11932         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11933           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11934           and the applet going AWOL.
11935
11936 2006-03-22  Robert Love  <rml@novell.com>
11937
11938         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11939           preprocessor define and use it instead of open-coded the DHCP
11940           timeout, which is currently 25 seconds, everywhere.
11941
11942 2006-03-22  Robert Love  <rml@novell.com>
11943
11944         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11945         key exchange via WPA, ostensibly providing good security without
11946         requiring hardware that supports full WPA.  Also, add UI elements to
11947         allow the user to select the pairwise & group cipher for WPA Enterprise
11948         networks, too:
11949         * gnome/applet/applet.glade: Update glade file.
11950         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11951           key type, too, to and from gconf.
11952         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11953           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11954           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11955           the capabilities match.
11956         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11957           prototype.
11958         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11959           serialize from UI to DBUS.
11960         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11961           one element.
11962         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11963           nmu_security_serialize_wpa_eap_with_cipher(), and
11964           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11965           serialize/deserialize the key type via DBUS as the new third DBUS
11966           parameter.
11967         * libnm-util/dbus-helpers.h: Update prototypes.
11968         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11969           too.  If the key type is WEP104, do Dynamic WEP, which means
11970           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11971           pairwise and group ciphers (fixes a FIXME).
11972
11973 2006-03-21  Robert Love  <rml@novell.com>
11974
11975         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11976           nm_system_get_mtu(), which returns a user-provided or system-mandated
11977           MTU value for a given device, if any, or zero if no such value
11978           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11979           if we have a provided value.
11980         * src/nm-device.c: Set the MTU of devices.
11981         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11982         * src/backends/NetworkManagerDebian.c,
11983           src/backends/NetworkManagerGentoo.c,
11984           src/backends/NetworkManagerRedHat.c,
11985           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11986
11987 2006-03-21  Robert Love  <rml@novell.com>
11988
11989         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11990           configuration file.
11991
11992 2006-03-17  Robert Love  <rml@novell.com>
11993
11994         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11995           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11996           it, in case it is not running in the first place.  We just want its
11997           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11998
11999 2006-03-15  Robert Love  <rml@novell.com>
12000
12001         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12002           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12003           label "WEP 40/128-bit" is inconsistent because the physical key size
12004           is 40 or 104-bits, to which a 24-bit initialisation vector is
12005           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12006           to read "40/104" or "64/128".  I do not care much which, but most
12007           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12008           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12009           WEP passphrase support only handles 128-bit keys, and any future
12010           64-bit passphrase support will require a new option (no way to auto-
12011           detect the target key size), explicitly label our passphrase support
12012           "WEP 128-bit Passphrase".
12013
12014 2006-03-15  Robert Love  <rml@novell.com>
12015
12016         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12017           the system init scripts (or some other mechanism) starting it (or a
12018           compatible DBUS service) before NetworkManager runs.  This means that
12019           distributions might need to update their init scripts.  This fixes
12020           possible races and is quite a bit cleaner.
12021         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12022           starting the NetworkManager daemon.
12023
12024
12025 2006-03-14  Robert Love  <rml@novell.com>
12026
12027         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12028           before adding anything.
12029
12030 2006-03-13  Robert Love  <rml@novell.com>
12031
12032         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12033           widgets, too, if they exist, in case the user hit the back button.
12034           Fixes a bug where the details page contains the widgets of multiple
12035           VPN modules (Novell bug #157048).
12036
12037 2006-03-13  Robert Love  <rml@novell.com>
12038
12039         Patch by Timo Hoenig <thoenig@suse.de>:
12040         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12041           daemon survive DBUS restarts, too.
12042
12043 2006-03-10  Robert Love  <rml@novell.com>
12044
12045         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12046           passphrase or key.
12047         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12048           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12049           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12050           in response to "toggled" signal on new toggle.
12051
12052 2006-03-10  Robert Love  <rml@novell.com>
12053
12054         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12055           serialization if strings are NULL, lest DBUS get angry.
12056
12057 2006-03-10  Robert Love  <rml@novell.com>
12058
12059         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12060
12061 2006-03-09  Robert Love  <rml@novell.com>
12062
12063         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12064           configurations.
12065
12066 2006-03-09  Dan Williams  <dcbw@redhat.com>
12067
12068         Track pending call requests in the applet, and report how many are
12069         outstanding, and how long each completed one takes.
12070         
12071         * gnome/applet/applet-dbus-devices.c
12072           gnome/applet/applet-dbus-vpn.c
12073                 - Track pending calls
12074
12075         * gnome/applet/applet-dbus.[ch]
12076                 - Remove some unused enums
12077                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12078                         new functions to track dbus pending calls and spit out some
12079                         statistics about them
12080
12081 2006-03-09  Robert Love  <rml@novell.com>
12082
12083         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12084           nm_ap_set_timestamp() take the second and micro-second parameters as
12085           direct arguments, which avoids both a dynamic memory allocation and a
12086           structure-to-structure copy!  Add a new interface, the aptly named
12087           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12088           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12089           the return from nm_ap_get_timestamp().  New users should use the new
12090           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12091           the extreme benefit to performance.
12092         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12093           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12094
12095 2006-03-08  Robert Love  <rml@novell.com>
12096
12097         * gnome/applet/applet.glade: Hide the password entry text with
12098           asterisks.
12099
12100 2006-03-08  Robert Love  <rml@novell.com>
12101
12102         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12103           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12104           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12105           a second argument, NMData.
12106         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12107         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12108           config files as trusted.
12109
12110 2006-03-06  Robert Love  <rml@novell.com>
12111
12112         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12113         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12114           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12115           Rivera, detect if the applet was auto-started.  If so, ask the user
12116           if he or she would like to stop automatically running the applet on
12117           login.  If so, disable autostart.
12118
12119 2006-03-06  Robert Love  <rml@novell.com>
12120
12121         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12122           directory in CFLAGS so developers can actually use NetworkManager.h.
12123
12124 2006-03-06  Robert Love  <rml@novell.com>
12125
12126         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12127           open-coded integer constants.  Add state_to_string() to map a given
12128           state to a textual description, and provide that when notifying of
12129           state change.
12130         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12131           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12132           this header directly, but it is currently not installed on most
12133           systems.
12134
12135 2006-03-05  Dan Williams  <dcbw@redhat.com>
12136
12137         Process netlink messages in device subclasses rather than in
12138         NetworkManager.c.  Also add support for recognizing Wireless Events.
12139         
12140         * configure.in
12141                 - Find GLIB_GENMARSHAL
12142
12143         * src/Makefile.am
12144                 - Since we're marshalling custom types for wireless event signals,
12145                         we get to create our own marshallers using GLIB_GENMARSHAL
12146
12147         * src/NetworkManager.c
12148                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12149                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12150                         cut down somewhat.  We no longer process signals here.
12151                 - (nm_data_new): create the netlink monitor here, and remove a
12152                         useless call to nm_policy_schedule_device_change_check()
12153                 - (nm_data_free): get rid of the netlink monitor here
12154                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12155                 - (main): don't create the netlink monitor here, let nm_data_new
12156                         do that.  Call nm_policy_schedule_device_change_check() right
12157                         before we jump to the mainloop to figure out which device
12158                         to use first
12159
12160         * src/NetworkManagerSystem.[ch]
12161                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12162                         convert back and forth from interface names to interface
12163                         indexes
12164
12165         * src/nm-device-802-11-wireless.c
12166                 - (real_init): connect to wireless-event signals from the netlink
12167                         monitor object
12168                 - (nm_device_802_11_wireless_event): new function, schedule handler
12169                         for wireless event signals from the netlink monitor object.  We
12170                         want the handler to run in the device's context
12171                 - (wireless_event_helper): handle wireless-event signals from netlink
12172                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12173                         signal handler
12174
12175         * src/nm-device-802-11-wireless.h
12176                 - remove unused prototype for nm_device_802_11_wireless_new
12177
12178         * src/nm-device-802-3-ethernet.c
12179                 - (real_init): new function; set up signal handlers for link events
12180                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12181                         handler for netlink link activated events on device's main loop
12182                 - (link_activated_helper): when we get a link activated event, set
12183                         the device's link to be active
12184                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12185                         handler for netlink link deactivated events on device's main loop
12186                 - (link_deactivated_helper): when we get a link deactivated event, set
12187                         the device's link to be inactive
12188                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12189                         dispose
12190
12191         * src/nm-device-802-3-ethernet.h
12192                 - remove unused prototype for nm_device_802_3_ethernet_new
12193
12194         * src/nm-device.[ch]
12195                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12196                         but locks the device list
12197                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12198
12199         * src/nm-netlink-monitor.[ch]
12200                 - (nm_netlink_monitor_class_install_signals): New signal
12201                         "wireless-event"
12202                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12203                         at the device list
12204                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12205
12206         * src/nm-marshal-main.c
12207                 - Include generated nm-marshal.c and nm-marshal.h
12208
12209         * src/nm-marshal.list
12210                 - List of custom marshal functions
12211
12212 2006-03-05  Dan Williams  <dcbw@redhat.com>
12213
12214         * gnome/applet/applet-notifications.h
12215                 - Protect prototype of nma_send_event_notification() because it
12216                         includes libnotify-specific types
12217                 - Include libnotify/libnotify.h too, since we technically need it
12218
12219         * gnome/applet/applet.c
12220                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12221                 - (nma_show_vpn_login_banner_dialog): add some error checking
12222
12223 2006-03-04  Dan Williams  <dcbw@redhat.com>
12224
12225         Clean up activation cancellation.  Should be a lot faster now.  Observed
12226         an issue with wireless devices between stage 2 and 3 of activation, where
12227         activation would be cancelled, but the device thread wouldn't notice until
12228         the supplicant association timed out.  Reorganize activation such that
12229         a cancellation handler gets immediately scheduled in the device's thread,
12230         and devices have a chance to perform any custom cleanup too.
12231
12232         * src/nm-device.[ch]
12233                 - (activation_cancel_handler): new device-type-specific function
12234                         for cleaning up device-type-specific stuff on cancellation
12235                 - (cancel_activation): removed
12236                 - (nm_device_activation_cancel): subsume functionality of
12237                         real_cancel_activation, but instead of doing anything, punt
12238                         operation to a handler that's run in device-thread context
12239                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12240                         a warning message
12241                 - (activation_handle_cancel_helper): cancellation handler run in
12242                         device-thread context, calls device-type-specific cancelation,
12243                         then tears down the activation request
12244                 - (real_activation_cancel_handler): generic cancellation handler,
12245                         deals with cancelling any in-process DHCP request
12246                 - (nm_device_activate_stage1_device_prepare,
12247                    nm_device_activate_stage2_device_config,
12248                    nm_device_activate_stage3_ip_config_start,
12249                    nm_device_activate_stage4_ip_config_get,
12250                    nm_device_activate_stage4_ip_config_timeout,
12251                    nm_device_activate_stage5_ip_commit): don't call
12252                         nm_device_schedule_activation_handle_cancel() any more, since
12253                         cancellation will have been already scheduled for us by
12254                         nm_device_activation_cancel().  Just exit the function and
12255                         assume that the cancel handler will be called next.
12256
12257         * src/nm-device-802-3-ethernet.c
12258                 - (real_act_stage2_config): remove; didn't do anything anyway
12259
12260         * src/nm-device-802-11-wireless.c
12261                 - (supplicant_status_cb): ensure we don't do anything if the activation
12262                         got cancelled
12263                 - (real_activation_cancel_handler): implement; cancel user key request
12264                         on activation cancellation
12265
12266 2006-03-04  Dan Williams  <dcbw@redhat.com>
12267
12268         * src/nm-device-802-11-wireless.c
12269                 - (supplicant_send_network_config): assume that drivers that don't
12270                         support WPA pretty much suck, and can't handle NM scanning
12271                         along with wpa_supplicant.
12272
12273 2006-03-03  Robert Love  <rml@novell.com>
12274
12275         * configure.in: Bump version to 0.6.0.
12276         * NEWS: Update.
12277
12278 2006-03-03  Robert Love  <rml@novell.com>
12279
12280         * configure.in: Require DBUS 0.60 or later.
12281
12282 2006-03-03  Dan Williams  <dcbw@redhat.com>
12283
12284         Fix a crash if an "Other wireless network" was chosen, failed, then
12285         chosen again from the applet's menu.  If the other network wasn't
12286         noticed in a scan, it wouldn't have any capabilities, but would still
12287         be listed because the user forced the network.  To fix this, we set
12288         sensible capabilities on the forced network, which will get overwritten
12289         with the correct ones if the network shows up later in a scan.
12290         
12291         * src/nm-ap-security.h
12292                 - Add a new "get_default_capabilities_func" member to the
12293                         NMAPSecurity class
12294
12295         * src/nm-ap-security.c
12296                 - (nm_ap_security_get_default_capabilities): new function
12297
12298         * src/nm-ap-security.c
12299           src/nm-ap-security-wep.c
12300           src/nm-ap-security-wpa-psk.c
12301           src/nm-ap-security-wpa-eap.c
12302                 - Implement get_default_capabilities_func() for all, which
12303                         uses the information contained in a specific NMAPSecurity
12304                         object to determine default AP capabilites necessary
12305                         to support that object
12306
12307         As a secondary measure, we now prune artificial access points that fail
12308         to be activated right away.  The thing failed, and we have no scan data for
12309         it, so it's pretty much useless since security information is only saved
12310         in the applets when a connection is successful.
12311
12312         * src/NetworkManagerAPList.c
12313                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12314                         not artificial.  If we see it, it's no longer a figment of the
12315                         user's imagination :)
12316
12317         * src/NetworkManagerPolicy.c
12318                 - (nm_policy_activation_failed): send along the failed AP if we
12319                         have it
12320
12321         * src/nm-device-802-11-wireless.c
12322                 - (real_activation_failure_handler): remove artificial APs from
12323                         the device list, because activation failed
12324
12325 2006-03-02  Robert Love  <rml@novell.com>
12326
12327         Add support for retrieving both the per-device speed and the
12328         per-network maximum supported rate.  Then change the getProperties
12329         DBUS API for both networks and devices to report this informaiton.
12330         Finally, display the information via both nm-applet and nm-tool:
12331         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12332           and set it.
12333         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12334           Information' dialog.
12335         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12336         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12337           network_device_get_speed() and network_device_set_speed() for
12338           retrieving and setting, respectively, a network device's current
12339           speed.
12340         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12341         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12342           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12343           not matter (yet) what the units are, because we only feed it its own
12344           output.  Implement SIOCGIRATE and set the per-network maximum
12345           supported rate during scanning.
12346         * src/nm-device-802-11-wireless.h: Export the function
12347           nm_device_802_11_wireless_get_bitrate().
12348         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12349           function nm_device_802_3_ethernet_get_speed() for returning an
12350           802.3's current speed, in Mb/s.
12351         * test/nm-tool.c: Display the per-device current speed, if available,
12352           and the per-network maximum rate.
12353
12354 2006-03-02  Dan Williams  <dcbw@redhat.com>
12355
12356         * src/nm-device-802-11-wireless.c
12357                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12358                         card when it gets initialized.  Since devices don't get added to
12359                         the scan list until they are initialized, this function wasn't
12360                         setting the intitial scan interval correctly, and was leaving
12361                         it at 0.  This caused cards to get many scan requests in a short
12362                         amount of time when they were initialized
12363
12364 2006-03-02  Robert Love  <rml@novell.com>
12365
12366         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12367           active device.  But do not do what we used to do and override the
12368           state, which caused the dreaded icon race of '05.
12369
12370 2006-03-02  Robert Love  <rml@novell.com>
12371
12372         Commit Dan's update of my previous commit:
12373         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12374           set_mode() function itself does the check.  But do only set the
12375           frequency if in Ad-Hoc mode.
12376
12377 2006-03-02  Robert Love  <rml@novell.com>
12378
12379         Patch by Brian Magnuson <magnuson@rcn.com>:
12380         * src/nm-device-802-11-wireless.c: During scanning, only set the
12381           wireless mode to infrastructure if it is not currently in
12382           infrastructure mode.  For some driver, setting the mode is a costly
12383           operation, apparently.
12384
12385 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12386
12387         * Makefile.am: use the correct dir for autostart mechanism.
12388
12389 2006-02-28  Dan Williams  <dcbw@redhat.com>
12390
12391         Patch from Brian Magnuson <magnuson@rcn.com>
12392         * gnome/applet/applet.c
12393                 - (nma_show_vpn_failure_dialog): fix errors left over from
12394                         libnotify support changes
12395
12396 2006-02-28  Dan Williams  <dcbw@redhat.com>
12397
12398         * src/vpn-manager/nm-vpn-act-request.[ch]
12399                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12400                         just one value
12401                 - (nm_vpn_act_request_is_failed): new function; return whether or
12402                         not the vpn activation request has failed
12403
12404         * src/vpn-manager/nm-vpn-manager.c 
12405                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12406                         daemon to kill the connection when the activation request fails.
12407                         Fixes issue where NM would get confused if the VPN activation
12408                         request timed out, and would not allow further VPN connections
12409                         on that service.
12410
12411 2006-02-28  Dan Williams  <dcbw@redhat.com>
12412
12413         * gnome/applet/applet.c
12414                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12415                         overlapping connection requests, disable all VPN menu items
12416                         but the active VPN connection
12417
12418 2006-02-28  Dan Williams  <dcbw@redhat.com>
12419
12420         * src/vpn-manager/nm-vpn-connection.c
12421                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12422                         called g_object_unref() on the connection's parent device
12423                         when it should have been ref-ed instead.  Fixes crash with
12424                         repeated vpn connect requests
12425
12426 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12427
12428         * gnome/applet/applet.glade:
12429         Mark a few strings non-translatable, since they shouldn't be.
12430
12431 2006-02-28  Dan Williams  <dcbw@redhat.com>
12432
12433         * src/vpn-manager/nm-vpn-service.c
12434                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12435                         already running, don't blindly ask it to connect, but wait until
12436                         it's in the STOPPED state first.  Fixes an assertion when user
12437                         starts a second vpn connection without stopping the first.
12438                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12439                         dbus service exists before continuing with the connection
12440                         process, and reduce latency while waiting for it to become
12441                         available
12442                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12443                         waiting for the vpn service daemon to become available
12444                 - General log message cleanups; show progress via "Stage x of 4"
12445                         rather than not telling anyone how many stages there are
12446
12447 2006-02-28  Robert Love  <rml@novell.com>
12448
12449         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12450         * src/backends/NetworkManagerSuSE.c: Implement the interface
12451           nm_system_should_modify_resolv_conf() for SUSE.
12452         * src/backends/NetworkManagerDebian.c,
12453           src/backends/NetworkManagerGentoo.c,
12454           src/backends/NetworkManagerRedHat.c,
12455           src/backends/NetworkManagerSlackware.c: Add stub.
12456         * src/named-manager/Makefile.am: Grab includes from src.
12457         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12458           automatic updating of resolv.conf.  This is useful for testing,
12459           broken static configurations, and administrator lock-down.
12460
12461 2006-02-28  Dan Williams  <dcbw@redhat.com>
12462
12463         * src/nm-device-802-11-wireless.c
12464                 - Move all the wpa_supplicant-related management stuff into its
12465                         own struct, just for oranization's sake
12466                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12467                         to a GIOChannel/GSource
12468                 - (supplicant_log_stdout): new function; grab output from the
12469                         wpa_supplicant stdout pipe and write it to our logs.
12470
12471 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12472
12473         * src/nm-device-802-11-wireless.c:
12474         Err, fix thinko in my previous commit.
12475
12476 2006-02-28  Robert Love  <rml@novell.com>
12477
12478         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12479
12480 2006-02-28  Robert Love  <rml@novell.com>
12481
12482         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12483           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12484           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12485           deserializers are responsible for freeing the returned DBUS strings.
12486
12487 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12488
12489         * src/nm-device-802-11-wireless.c:
12490         The scan list is being pruned prematurely.  We should prune after
12491         the device has gone MIA for three scans, not one.  Split out the
12492         interval to realtime seconds function to better serve this.
12493
12494 2006-02-27  Robert Love  <rml@novell.com>
12495
12496         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12497           Open the pid file O_TRUNC, so if it already exists we truncate it to
12498           zero length.  Also, be more verbose about warnings generated during
12499           writing out the pid file.  Finally, always write out the pid file if
12500           in daemon mode.  Use "--pid-file" to override the default.
12501
12502 2006-02-27  Robert Love  <rml@novell.com>
12503
12504         Patch by R. Vinay <rvinay@novell.com>:
12505         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12506           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12507           Novell bug #153628).
12508           
12509 2006-02-27  Robert Love  <rml@novell.com>
12510
12511         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12512           entry so user can hit <ENTER> after entering passphrase (Novell bug
12513           #153738).
12514
12515 2006-02-27  Dan Williams  <dcbw@redhat.com>
12516
12517         * gnome/applet/*
12518                 - Mass search/replace of:
12519                         nmwa -> nma
12520                         NMWirelessApplet -> NMApplet
12521                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12522                    (it ain't just for wireless anymore, ma!)
12523                 - Fix duplicate function name printing when using nm_warning
12524                 - wireless-applet.glade -> applet.glade
12525
12526 2006-02-27  Dan Williams  <dcbw@redhat.com>
12527
12528         * dispatcher-daemon/NetworkManagerDispatcher.c
12529                 - Accept --pid-file with a path to a pidfile, write it out on
12530                         startup, and delete it on shutdown
12531
12532         * src/NetworkManager.c
12533                 - Accept --pid-file with a path to a pidfile, write it out on
12534                         startup, and delete it on shutdown
12535                 - Move nm_print_usage() lower
12536
12537         * initscripts/RedHat/NetworkManager.in
12538                 - Use new --pid-file option
12539                 - Fix service stopping to wait a bit for NM to quit
12540
12541         * initscripts/RedHat/NetworkManagerDispatcher.in
12542                 - Use new --pid-file option
12543
12544 2006-02-26  Dan Williams  <dcbw@redhat.com>
12545
12546         * src/Makefile.am
12547                 - make and install nm-crash-logger
12548
12549         * src/nm-logging.[ch]
12550                 - New files; consolidate logging and crash handling
12551
12552         * src/nm-crash-logger.c
12553           src/gdb-cmd
12554                 - Standalong crashlogger for NM, grab a backtrace
12555                         using GDB
12556
12557         * src/NetworkManager.[ch]
12558                 - Remove signal handling and put it into nm-logging.c
12559
12560 2006-02-26  Dan Williams  <dcbw@redhat.com>
12561
12562         * configure.in
12563           gnome/applet/Makefile.am
12564                 - Conditionalize all the notify stuff
12565
12566         Merge most of Chris Aillon's notification patch:
12567         
12568         * gnome/applet/applet-notifications.[ch]
12569                 - New files; show a notification
12570         
12571         * gnome/applet/applet-dbus-devices.[ch]
12572                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12573                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12574                         new functions, do the right thing when a device change occurs
12575
12576         * gnome/applet/applet-dbus.c
12577                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12578                         signals, so we can handle them specially
12579
12580         * gnome/applet/applet.[ch]
12581                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12582                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12583                 - (nmwa_notify_state): remove
12584                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12585                         notification work is now done when the appropriate dbus signals
12586                         are received.
12587                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12588                         defer execution of the notification/dialog stuff.  That was an
12589                         artifact of the previous multi-threaded nature of the applet
12590                         and is now pointless.
12591                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12592                         no longer needed.  Function folded into applet-notifications.c
12593
12594         * src/NetworkManagerPolicy.c
12595                 - (nm_policy_activation_finish): send the AP along with the device
12596                         status change signal, if the connection is wireless.  Should
12597                         fix the race where applet would show a connection to "unknown"
12598
12599 2006-02-25  Robert Love  <rml@novell.com>
12600
12601         Add WPA Enterprise support:
12602         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12603           nm-gconf-wso-wpa-eap.h.
12604         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12605           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12606           serialization and deserialization.
12607         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12608           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12609           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12610         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12611           settings related to WPA Enterprise.
12612         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12613           instantiate WPA Enterprise wireless-security-option.
12614         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12615           Implement WPA Enterprise wireless-security-option object.
12616         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12617           defines.  Cleanup.
12618         * libnm-util/cipher-wpa-psk-hex.c,
12619           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12620         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12621           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12622           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12623           including the cipher to DBUS method, and
12624           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12625           to output.
12626         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12627           nm-ap-security-wpa-eap.h
12628         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12629           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12630         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12631           files.  Implement NMAPSecurityWPA_EAP object.
12632         * src/nm-ap-security-wpa-psk.c: Cleanup.
12633         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12634           an NMAPSecurityWPA_EAP object via the method
12635           nm_ap_security_wpa_eap_new_deserialize().
12636         * src/nm-dbus-nm.c: Cleanup.
12637         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12638           WPA Enterprise support.
12639
12640 2006-02-24  Robert Love  <rml@novell.com>
12641
12642         Patch from Timo Hoenig <thoenig@suse.de>:
12643         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12644
12645 2006-02-24  Robert Love  <rml@novell.com>
12646
12647         Patch from Dan Winship <danw@novell.com>:
12648         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12649           area to transparent.
12650
12651 2006-02-21  Dan Williams  <dcbw@redhat.com>
12652
12653         * gnome/applet/applet.[ch]
12654           gnome/applet/applet-dbus.c
12655                 - Implement notification support for VPN messages too
12656
12657 2006-02-21  Dan Williams  <dcbw@redhat.com>
12658
12659         * gnome/applet/applet-dbus-info.c
12660                 - Clean up warning messages to not double-print the function
12661
12662 2006-02-21  Dan Williams  <dcbw@redhat.com>
12663
12664         * gnome/applet/applet-compat.c
12665                 - (convert_one_entry): accept entries without a key_type and
12666                         convert them to unencrypted networks
12667
12668 2006-02-21  Dan Williams  <dcbw@redhat.com>
12669
12670         * gnome/libnm_glib/libnm_glib.c
12671                 - Use __func__ everywhere we can
12672                 - Code cleanups
12673                 - Use dbus pending calls rather than blocking
12674                 - Reduce busywaits for our thread to start and stop
12675                         (gnome.org #330562)
12676                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12677                         stomp on others using the default shared dbus connection.
12678                         Fixes #rh177546# and gnome.org #326572
12679
12680 2006-02-21  Dan Williams  <dcbw@redhat.com>
12681
12682         Patch from Rodney Dawes <dobey@novell.com>
12683         * configure.in
12684           gnome/applet/Makefile.am
12685           gnome/applet/applet.c
12686                 - Add libnotify support if '--enable-notify=yes' is passed
12687                   at configure time
12688
12689 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12690
12691         * configure.in (ALL_LINGUAS): ko added. (Korean)
12692
12693 2006-02-15  Robert Love  <rml@novell.com>
12694
12695         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12696           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12697           and WPA_SUPPLICANT_CONTROL_SOCKET.
12698         
12699 2006-02-15  Robert Love  <rml@novell.com>
12700
12701         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12702           information about what connection stage we are at, provide the total
12703           number of stages, e.g. "Stage 2 of 5", so users know how far along
12704           they are if they experience problems.
12705
12706 2006-02-15  Robert Love  <rml@novell.com>
12707
12708         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12709           define to $sysconfdir.
12710         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12711           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12712           type of VPN and then editing another results in a mangled dialog
12713           box containing the widgets from both VPNs (fixes Novell #150854).
12714           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12715
12716 2006-02-14  Robert Love  <rml@novell.com>
12717
12718         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12719           syslog's file descriptor.
12720
12721 2006-02-14  Robert Love  <rml@novell.com>
12722
12723         Fix bug around since the change to "deal with APs changing settings on
12724         us," checked in on the fifth of February in the year of the dog, 
12725         wherein connecting to non-broadcast encrypted networks always fails
12726         because nm_ap_get_encrypted() always returns FALSE, even when the user
12727         provided a key, because the newly-created fake AP does not have any
12728         capabilities set, which is a sypmtom of security settings not matching
12729         capabilities (Novell bug #150784):
12730         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12731           nm_ap_add_capabilities_from_security(), which sets the given AP's
12732           capabilities off the given security settings.  Also improve our
12733           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12734           NM_AUTH_CIPHER_AUTO.
12735         * src/nm-device-802-11-wireless.c: Call the function
12736           nm_ap_add_capabilities_from_security() to ensure that capabilities
12737           match newly updated security settings.
12738
12739 2006-02-14  Robert Love  <rml@novell.com>
12740
12741         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12742           error as a string, not an integer, if possible; do not print the
12743           function name twice; always give the interface, if possible; misc.
12744           cleanup.
12745
12746 2006-02-12  Dan Williams  <dcbw@redhat.com>
12747
12748         Patch from Tom Parker <palfrey@tevp.net>
12749         * src/NetworkManagerSystem.h
12750                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12751                         no longer used
12752
12753         * src/backends/NetworkManagerDebian.c
12754                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12755                         unused variables
12756
12757 2006-02-12  Dan Williams  <dcbw@redhat.com>
12758
12759         * vpn-daemons/openvpn/intltool-extract.in
12760           vpn-daemons/openvpn/intltool-merge.in
12761           vpn-daemons/openvpn/intltool-update.in
12762           vpn-daemons/pptp/intltool-extract.in
12763           vpn-daemons/pptp/intltool-merge.in
12764           vpn-daemons/pptp/intltool-update.in
12765                 - Remove from CVS, they should get created by intltoolize,
12766                         shouldn't they?
12767
12768 2006-02-12  Dan Williams  <dcbw@redhat.com>
12769
12770         * vpn-daemons/pptp/src/pppd/patchlevel.h
12771         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12772                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12773                         Makefile-defined VERSION
12774
12775 2006-02-09  Dan Williams  <dcbw@redhat.com>
12776
12777         Patch from: Vinay A R <rvinay@novell.com>
12778         * src/vpn-manager/nm-vpn-act-request.[ch]
12779                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12780                         IPSec VPNs require them for std gateway.
12781                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12782                         and 'user_routes_count'
12783                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12784                         defined routes  from NMVPNActRequest object, returns the string
12785                         array of routes.
12786
12787         * src/vpn-manager/nm-vpn-manager.[ch]
12788                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12789                         for 'user_routes' and 'user_routes_count'
12790         
12791         * src/vpn-manager/nm-dbus-vpn.c
12792                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12793                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12794         
12795         * src/vpn-manager/nm-vpn-service.c
12796                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12797                         the vpn daemon
12798
12799         Modifications by Dan:
12800         * src/vpn-manager/nm-vpn-service.c
12801                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12802                         arrays into dbus
12803
12804         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12805         * vpn-daemons/pptp/src/nm-pptp-service.c
12806         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12807                 - Grab user routes from dbus message
12808                 - Free all string arrays we got from dbus
12809
12810 2006-02-07  Robert Love  <rml@novell.com>
12811
12812         Patch by Stefan Seyfried <seife@suse.de>:
12813         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12814
12815 2006-02-06  Robert Love  <rml@novell.com>
12816
12817         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12818
12819 2006-02-06  Robert Love  <rml@novell.com>
12820
12821         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12822           test ">=" is never false.  If no newline is found, we loop forever.
12823           We can just check for ">" because the following if() will see the
12824           zero-th argument if the while() gets that far.
12825
12826 2006-02-05  Dan Williams  <dcbw@redhat.com>
12827
12828         Refine handling of non-broadcast networks.
12829
12830         * src/NetworkManagerAPList.c
12831                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12832                         property from scanned AP to the AP from the device list
12833
12834         * src/nm-device-802-11-wireless.c
12835                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12836                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12837                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12838                         networks since those don't have APs.
12839                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12840                         AP as non-SSID-broadcasting
12841                 - (process_scan_results): don't handle non-SSID-broadcasting here
12842
12843 2006-02-05  Dan Williams  <dcbw@redhat.com>
12844
12845         * src/nm-device-802-11-wireless.c
12846                 - (get_supplicant_timeout): new function; return
12847                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12848                         14 channels.  These are likely a/b/g cards, like Atheros, and
12849                         slow as hell to scan.
12850                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12851                         get_supplicant_timeout()
12852
12853 2006-02-05  Dan Williams  <dcbw@redhat.com>
12854
12855         * src/dhcp-manager/nm-dhcp-manager.c
12856                 - Loose a commit race with Robert; make sure size check
12857                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12858
12859 2006-02-05  Robert Love  <rml@novell.com>
12860
12861         Patch by Christoph Brill <chrisbrill@gmx.net>:
12862         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12863           with DHCP_SERVICE_NAME.
12864
12865 2006-02-05  Dan Williams  <dcbw@redhat.com>
12866
12867         Remove anything having to do with device_setup_func from the
12868         AP security objects, since it's no longer used.
12869
12870         * src/nm-ap-security.h
12871                 - Kill device_setup_func and nm_ap_security_device_setup()
12872
12873         * src/nm-ap-security-wep.c
12874           src/nm-ap-security-wpa-psk.c
12875                 - (real_device_setup): remove
12876
12877         * src/nm-ap-security.c
12878                 - (real_device_setup): remove
12879                 - (nm_ap_security_device_setup): remove
12880
12881         * src/nm-device-802-11-wireless.[ch]
12882                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12883                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12884                         and done by wpa_supplicant now anyway
12885
12886 2006-02-05  Dan Williams  <dcbw@redhat.com>
12887
12888         * src/nm-device-802-11-wireless.c
12889                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12890                         settings on us.  Previously NM would loop asking for the
12891                         key but getting the same one back.  Now, if the NMI-supplied
12892                         cipher doesn't overlap with the scanned AP capabilities,
12893                         we request a completely new key from the user.
12894
12895 2006-02-05  Dan Williams  <dcbw@redhat.com>
12896
12897         * src/NetworkManagerUtils.c
12898                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12899                         Handle newline killing better
12900
12901 2006-02-05  Dan Williams  <dcbw@redhat.com>
12902
12903         * gnome/applet/nm-gconf-wso.c
12904                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12905                         of unencrypted access point security info.
12906
12907 2006-02-03  Robert Love  <rml@novell.com>
12908
12909         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12910           user's encryption key, so we print the err_msg_cmd not the command,
12911           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12912           sense.
12913
12914 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12915
12916         * initscript/RedHat/NetworkManagerDispatcher.in:
12917         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12918         Patch from Dan Walsh <dwalsh@redhat.com>
12919
12920 2006-02-03  Robert Love  <rml@novell.com>
12921
12922         * dispatcher-daemon/NetworkManagerDispatcher.c,
12923           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12924           but use the sysconfdir.
12925
12926 2006-02-03  Robert Love  <rml@novell.com>
12927
12928         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12929           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12930           'char *'.
12931         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12932           nm_ip4_config_get_hostname() and
12933           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12934         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12935           leak g_strdup() result.
12936
12937 2006-02-03  Robert Love  <rml@novell.com>
12938
12939         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12940           broadcast == TRUE.  Also, copy broadcast and artificial properties
12941           from source network to destination in nm_ap_copy().
12942         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12943           since we now default new networks to non-hidden.
12944
12945 2006-02-03  Dan Williams  <dcbw@redhat.com>
12946
12947         * gnome/applet/main.c
12948                 - (main): change the NEVER->ALWAYS so we start at the
12949                         beginning of the session, if being session-managed
12950
12951 2006-02-03  Dan Williams  <dcbw@redhat.com>
12952
12953         * gnome/applet/main.c
12954                 - (main): in a variation on Robert's patch, change
12955                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12956                         he wants.
12957
12958 2006-02-02  Robert Love  <rml@novell.com>
12959
12960         * src/Makefile.am: If we aren't going to create the run directory at,
12961           uh, run-time, create it during install.  Then users just doing
12962           'make install' are cool, too.  While we are here, create the
12963           dispatcher.d directory, too.
12964         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12965           the exact run directory.
12966         * Makefile.am: Install nm-applet.desktop.
12967
12968 2006-02-02  Robert Love  <rml@novell.com>
12969
12970         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12971           structure, which denotes whether or not the AP is hidden.  This is a
12972           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12973           can show up in the scan list.  Add nm_ap_get_broadcast() and
12974           nm_ap_set_broadcast() accessor interfaces.
12975         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12976           nm_ap_set_broadcast().
12977         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12978           "getProperties" method, which denotes whether or not the given
12979           network is hidden.
12980         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12981           an artificial network.  Set broadcast to TRUE when scanning returns
12982           an ESSID and FALSE when not.
12983         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12984           from "getProperties" method on a network.  Possible TODO is to
12985           somehow display this.
12986         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12987
12988 2006-02-02  Dan Williams  <dcbw@redhat.com>
12989
12990         * src/nm-device-802-11-wireless.c
12991                 - (supplicant_interface_init): don't try to create
12992                         /var/run/NetworkManager, since that should be done by
12993                         the distro package.  Causes problems for stuff like SELinux
12994
12995 2006-02-02  Robert Love  <rml@novell.com>
12996
12997         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12998         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12999           Check for and handle empty string for iface.
13000
13001 2006-02-01  Robert Love  <rml@novell.com>
13002
13003         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13004           manpage.
13005
13006 2006-01-31  Dan Williams  <dcbw@redhat.com>
13007
13008         * nm-applet.desktop
13009                 - Add --sm-disable to Exec arguments, presuming that when
13010                         using autostart, we don't want session management
13011
13012 2006-01-31  Robert Love  <rml@novell.com>
13013
13014         * src/NetworkManagerAP.c: Add two new manufacturer default network
13015           names: linksys-a and linksys-g.  These are found (at least) on the
13016           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13017           own ESSID.
13018
13019 2006-01-31  Robert Love  <rml@novell.com>
13020
13021         * src/NetworkManagerAP.c: Optimize the function
13022           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13023           machine code.  This is the first in a series of code tweaks aiming to
13024           generate better machine code and make NetworkManager all the better.
13025           Just kidding.  Who has time to go through the assembly generated for
13026           every function?  I certainly don't.  I have a wife, a kid, a job,
13027           a mortgage, a mistress.  But this function was so bad, I was called
13028           to arms.  Like the book.
13029
13030 2006-01-31  Robert Love  <rml@novell.com>
13031
13032         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13033           AP is not broadcasting, to scan with probe request frames.  Required
13034           for non-broadcast networks.
13035
13036 2006-01-31  Robert Love  <rml@novell.com>
13037
13038         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13039           preprocessor define (still 20s).  Fix message text in nm_info()
13040           s/too too/took too/.
13041
13042 2006-01-30  Dan Williams  <dcbw@redhat.com>
13043
13044         * src/nm-device-802-11-wireless.c
13045                 - (supplicant_monitor_start): increase connect/auth timeout to
13046                         20 seconds from 10 seconds
13047
13048 2006-01-30  Dan Williams  <dcbw@redhat.com>
13049
13050         * src/Makefile.am
13051                 - Define LOCALSTATEDIR
13052
13053         * src/nm-device-802-11-wireless.c
13054                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13055                         socket where we want it to
13056
13057         * src/wpa_ctrl.[ch]
13058                 - (wpa_ctrl_open): accept location to put local control socket
13059
13060 2006-01-30  Robert Love  <rml@novell.com>
13061
13062         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13063           get_ip4_string() for "domain_name".
13064
13065 2006-01-30  Robert Love  <rml@novell.com>
13066
13067         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13068           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13069           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13070           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13071           support for "Automatic" pairwise and group cipher configuration by
13072           letting wpa_supplicant handle the details.  Add UI elements, new
13073           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13074           charm.  Note this does more than add a nice feature, it fixes a bug.
13075           Apparently, some people have AP's where the pairwise cipher does not
13076           match the group cipher.  Insane, but true.
13077
13078 2006-01-30  Dan Williams  <dcbw@redhat.com>
13079
13080         * gnome/applet/applet-dbus-devices.c
13081                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13082                         functions, grab device driver name from NetworkManager
13083                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13084
13085         * gnome/applet/applet.c
13086                 - (nmwa_update_info): show driver name in Connection Information
13087                         dialog
13088
13089         * gnome/applet/nm-device.[ch]
13090                 - (network_device_get_driver, network_device_set_driver): add
13091                         accessors for driver name
13092
13093         * gnome/applet/wireless-applet.glade
13094                 - Add line for driver name to Connection Information dialog
13095
13096         * src/nm-dbus-device.c
13097                 - (nm_dbus_device_get_driver): new function to return driver name
13098                 - (nm_dbus_device_methods): hook up driver name function to dbus
13099
13100         * test/nm-tool.c
13101                 - (get_driver_name): new function
13102                 - (detail_device): grab and show driver name
13103
13104 2006-01-30  Robert Love  <rml@novell.com>
13105
13106         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13107           does not parse the markup if it is not part of the format.
13108
13109 2006-01-30  Robert Love  <rml@novell.com>
13110
13111         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13112           FALSE, we have no security options for this dialog, so we throw up
13113           an error dialog instead of a broken passphrase dialog.  Fixes
13114           Novell #138404.
13115         * gnome/applet/wireless-security-manager.c,
13116           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13117           does not add any security options, not even NONE, print a warning
13118           and return FALSE.  This let's functions constructing a dialog bail
13119           out if the device's capabilities and the network's requirements have
13120           zero overlap.
13121
13122 2006-01-27  Robert Love  <rml@novell.com>
13123
13124         * configure.in: Require wpa_supplicant.  Detect location of binary and
13125           use it.  Override with "--with-wpa_supplicant=foo".
13126         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13127           path to wpa_supplicant but use the auto-detected or user-provided
13128           value from configure.
13129
13130 2006-01-27  Robert Love  <rml@novell.com>
13131
13132         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13133           but the DHCP server did not return a hostname, try to look up our
13134           name via DNS and set the system hostname to that.
13135
13136 2006-01-27  Dan Williams  <dcbw@redhat.com>
13137
13138         * src/backends/NetworkManagerRedHat.c
13139                 - Add NM_CONTROLLED system network script support for RH/Fedora
13140
13141 2006-01-27  Dan Williams  <dcbw@redhat.com>
13142
13143         * src/backends/NetworkManagerGentoo.c
13144                 - (nm_system_device_get_disabled): add missing function.
13145                         Gnome BZ #328780
13146
13147 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13148
13149         * configure.in: Added vi in ALL_LINGUAS line.
13150         
13151 2006-01-26  Robert Love  <rml@novell.com>
13152
13153         * src/Makefile.am, src/kernel-types.h: Now that two different source
13154           files are feeling the crack-addled leakage of kernel types such as
13155           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13156           types in user-space -- define a header and include it as needed.
13157         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13158         * src/nm-device-802-3-ethernet.h: Remove defines.
13159         * src/wpa.c: Remove defines and include kernel-types.h.
13160
13161 2006-01-26  Robert Love  <rml@novell.com>
13162
13163         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13164           work.
13165
13166 2006-01-26  Robert Love  <rml@novell.com>
13167
13168         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13169         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13170           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13171           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13172           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13173           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13174           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13175           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13176           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13177           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13178           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13179           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13180           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13181           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13182           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13183           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13184           Kill unused variables, labels, and static functions.  Don't pass
13185           string literals as the format string for printf-like functions.
13186
13187 2006-01-25  Dan Williams  <dcbw@redhat.com>
13188
13189         * gnome/applet/wireless-applet.glade
13190                 - Remove WPA2 Checkbox
13191
13192         * gnome/applet/wireless-security-manager.c
13193                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13194                         This means the Wireless Security menu now has two WPA options,
13195                         one for "WPA Personal" and one for "WPA2 Personal"
13196
13197         * gnome/applet/wso-wpa-psk.[ch]
13198                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13199                         'wpa2' argument to determine WPA version to use
13200                 - (append_dbus_params_func): pass stored WPA version to cipher
13201                         rather than using the (removed) checkbox
13202
13203 2006-01-24  Robert Love  <rml@novell.com>
13204
13205         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13206           before we g_strdup(), not the ultimate string.
13207
13208 2006-01-23  Dan Williams  <dcbw@redhat.com>
13209
13210         * src/NetworkManagerAP.[ch]
13211                 - (nm_ap_new_from_ap): copy original essid too
13212                 - (nm_ap_unref): free original essid
13213                 - (nm_ap_get_orig_essid): new function
13214                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13215                         but keep original essid around too
13216
13217         * src/nm-device-802-11-wireless.c
13218                 - (supplicant_send_network_config): send wpa_supplicant the
13219                         _original_ essid, and not as a string, but in hex.  Should
13220                         allow us to connect to more APs that use wierd character
13221                         encodings for their essids
13222
13223         * utils/nm-utils.[ch]
13224                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13225                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13226                         use the current locale as a hint for what encoding the essid
13227                         might be in.  Obviously not 100% accurate, but the idea here is
13228                         that if a user's locale is ex. ja_JP, they are more likely than
13229                         not to be in Japan, where access points will likely be in some
13230                         Japanese encoding.
13231
13232 2006-01-23  Dan Williams  <dcbw@redhat.com>
13233
13234         * libnm-util/cipher-private.h
13235           libnm-util/cipher.c
13236           libnm-util/cipher.h
13237                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13238
13239 2006-01-23  Robert Love  <rml@novell.com>
13240
13241         Patch by Timo Hoenig <thoenig@suse.de>:
13242         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13243           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13244           by DHCP and pass it to the backends, allowing distribution-specific
13245           behavior with respect to the DHCP-supplied hostname (if nothing else,
13246           some distributions might not want to set the hostname).
13247         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13248           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13249           Also update our NIS behavior.
13250         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13251           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13252           Add stub functions.
13253
13254 2006-01-23  Robert Love  <rml@novell.com>
13255
13256         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13257           gnome-session does autostart.  TODO: We need to install this to
13258           $prefix/share/autostart/.
13259
13260 2006-01-22  Dan Williams  <dcbw@redhat.com>
13261
13262         * src/NetworkManagerAP.[ch]
13263           src/nm-dbus-nmi.c
13264           src/nm-device-802-11-wireless.c         
13265                 - Make nm_ap_get_essid return "const char *"
13266
13267 2006-01-22  Dan Williams  <dcbw@redhat.com>
13268
13269         * src/NetworkManagerAP.[ch]
13270                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13271
13272         * src/NetworkManagerAPList.[ch]
13273                 - (nm_ap_list_diff): removed
13274                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13275                         deal with access points changing essids on us
13276
13277         * src/nm-device-802-11-wireless.c
13278                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13279                         src/NetworkManagerAPList.c
13280                 - (real_can_interrupt_activation): new function; allow interruption
13281                         of device activation if we are waiting for a network key
13282
13283         * src/NetworkManagerPolicy.c
13284                 - (nm_policy_device_change_check): allow interruption of currently
13285                         activating devices if the device allows it.  Previous behavior
13286                         would refuse to activate a just-plugged wired device if a
13287                         wireless device was waiting for a key.
13288
13289         * src/nm-device.[ch]
13290                 - (nm_device_can_interrupt_activation): new function; ask devices
13291                         whether their activation can be interrupted
13292
13293 2006-01-20  Robert Love  <rml@novell.com>
13294
13295         * Makefile.am, configure.in: Add new man subdirectory.
13296         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13297           man/Makefile.am: Add man pages for NetworkManager and its
13298           crime-solving bumbling buddy, NetworkManagerDispatcher.
13299         * man/.cvsignore: Add.
13300         * initscript/Debian/NetworkManager,
13301           initscript/Gentoo/NetworkManager.in,
13302           initscript/RedHat/NetworkManager.in,
13303           initscript/RedHat/NetworkManagerDispatcher.in,
13304           initscript/SUSE/networkmanager-dispatcher.in,
13305           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13306
13307 2006-01-20  Robert Love  <rml@novell.com>
13308
13309         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13310           instead of queuing.  This prevents the running of multiple NM
13311           daemons concurrently, which does not work whatsoever and results in
13312           neither daemon working correctly.  Also, we don't handle queuing and
13313           name-owner-changes, anyhow.
13314
13315 2006-01-20  Robert Love  <rml@novell.com>
13316
13317         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13318         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13319           to sbin, not bin.
13320
13321 2006-01-19  Robert Love  <rml@novell.com>
13322
13323         * configure.in: Require hal 0.5.0 or later.
13324
13325 2006-01-18  Robert Love  <rml@novell.com>
13326
13327         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13328           Allow backends to flag a device (in whatever distro-dependent way
13329           they so desire) as disabled.  NM will ignore any such device.
13330         * src/backends/NetworkManagerDebian.c,
13331           src/backends/NetworkManagerRedHat.c,
13332           src/backends/NetworkManagerSlackware.c: Add stub function
13333           nm_system_device_get_disabled() that always returns FALSE (enabled).
13334         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13335           SUSE-specific configuration structure.  Fill it in from the
13336           NM_CONTROLLED variable in the system networking scripts.  If this var
13337           exists and is "no", we ignore the device.
13338
13339 2006-01-17  Robert Love  <rml@novell.com>
13340
13341         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13342           identical for NM.  For a full discussion, see the thread at
13343           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13344
13345 2006-01-17  Dan Williams  <dcbw@redhat.com>
13346
13347         * src/nm-device.c
13348                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13349                         function.  Fixes crash when wired DHCP fails.
13350
13351 2006-01-16  Robert Love  <rml@novell.com>
13352
13353         * src/Makefile.am: Don't install NMLoadModules
13354         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13355           from src/ to test/ as no one uses it anymore.  Note that I would be
13356           fine with removing it altogether.
13357
13358 2006-01-16  Robert Love  <rml@novell.com>
13359
13360         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13361           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13362           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13363           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13364           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13365           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13366           declarations, ever.
13367         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13368           NM_STATE_DISCONNECTED is zero).
13369
13370 2006-01-16  Robert Love  <rml@novell.com>
13371
13372         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13373           uninitialized parameter and buffer overflow.  Novell #143496.
13374
13375 2006-01-16  Dan Williams  <dcbw@redhat.com>
13376
13377         Apply the PtP Address bits of a patch from Tim Niemueller
13378
13379         * src/nm-ip4-config.[ch]
13380                 - Add ip4_ptp_address member to object
13381                 - (nm_ip4_config_copy): copy ptp address too
13382                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13383                         new functions
13384                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13385                         rather than local tunnel ip address
13386
13387         * src/vpn-manager/nm-vpn-service.c
13388                 - (print_vpn_config): update for PtP address
13389                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13390                         DBusMessageIters in preparation for getting routes from the VPN
13391                         service daemons too
13392
13393         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13394                 - (send_config_info): update for PtP address, clean up code
13395                 - (main): update for PtP address, clean up code, fix typo
13396
13397         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13398                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13399
13400         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13401                 - (pptp_ip_up): update for PtP address
13402
13403         * vpn-daemons/pptp/src/nm-pptp-service.c
13404                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13405
13406         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13407                 - (print_vpn_config): update for PtP address
13408                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13409
13410 2006-01-16  Dan Williams  <dcbw@redhat.com>
13411
13412         * gnome/applet/applet.c
13413                 - (nmwa_add_networks_helper): don't indicate an active network
13414                         if NM is disconnected or asleep
13415
13416 2006-01-16  Dan Williams  <dcbw@redhat.com>
13417
13418         * src/NetworkManagerPolicy.c
13419                 - (nm_policy_device_change_check): switch devices if we lose the link
13420                         on an ethernet device. 
13421
13422 2006-01-16  Dan Williams  <dcbw@redhat.com>
13423
13424         * gnome/applet/wso-wpa-psk-hex.[ch]
13425                 - Renamed -> wso-wpa-psk.[ch]
13426
13427         * gnome/applet/wso-wpa-psk.[ch]
13428                 - New files
13429
13430         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13431                 - Removed, rolled into wso-wpa-psk.[ch]
13432
13433         * gnome/applet/Makefile.am
13434                 - Updated for above changes
13435
13436         * gnome/applet/wireless-applet.glade
13437                 - Consolidate WPA-PSK options into one notebook
13438                         widget, and make dialogs invisible by default
13439                         to fix screen oddities
13440
13441         * gnome/applet/wireless-security-manager.c
13442                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13443                         than both the old hex & passphrase ones
13444
13445 2006-01-16  Dan Williams  <dcbw@redhat.com>
13446
13447         * gnome/applet/other-network-dialog.c
13448                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13449
13450 2006-01-16  Dan Williams  <dcbw@redhat.com>
13451
13452         * gnome/applet/applet.c
13453                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13454                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13455                         prevention to realize window before trying to get server
13456                         time
13457
13458         * gnome/applet/other-network-dialog.c
13459                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13460                         prevention to realize window before trying to get server
13461                         time
13462
13463         * gnome/applet/passphrase-dialog.c
13464                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13465                         prevention to realize window before trying to get server
13466                         time
13467
13468 2006-01-16  Robert Love  <rml@novell.com>
13469
13470         Patch from Timo Hoenig  <thoenig@suse.de:
13471         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13472           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13473           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13474           libnm-util/dbus-helpers.h: add checks whether headers are used
13475           within a C++ build.
13476
13477 2006-01-16  Dan Williams  <dcbw@redhat.com>
13478
13479         * gnome/applet/wireless-security-option.c
13480                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13481
13482 2006-01-16  Dan Williams  <dcbw@redhat.com>
13483
13484         * libnm-util/cipher-wpa-psk-passphrase.c
13485                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13486                         be 8 - 63 characters inclusive
13487
13488 2006-01-16  Dan Williams  <dcbw@redhat.com>
13489
13490         * src/nm-dbus-nm.c
13491                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13492
13493 2006-01-13  Robert Love  <rml@novell.com>
13494
13495         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13496         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13497           modules that do not use an interface.
13498
13499 2006-01-13  Dan Williams  <dcbw@redhat.com>
13500
13501         * src/nm-device.c
13502           src/nm-device.h
13503                 - Allow subclasses to implement deactivate_quickly()
13504                 - (nm_device_deactivate_quickly): call subclass
13505                         deactivate_quickly() methods
13506                 - (nm_device_set_active_link): small cleanups, and don't
13507                         deactivate the device right away because we risk a deadlock
13508                         when called from device thread, waiting for the device
13509                         thread to cancel activation
13510
13511         * src/nm-device-802-11-wireless.c
13512                 - (real_deactivate_quickly): new function
13513                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13514                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13515                         so that we kill the supplicant when we sleep too
13516                 - (supplicant_interface_init): work around naive naming attempts of
13517                         wpa_ctrl when naming sockets
13518
13519 2006-01-13  Dan Williams  <dcbw@redhat.com>
13520
13521         * src/nm-device-802-11-wireless.c
13522                 - (supplicant_cleanup): delete old device control sockets too
13523                 - (supplicant_get_device_socket_path): new function to consolidate
13524                         locations that need a path to a device's control socket
13525
13526 2006-01-12  Robert Love  <rml@novell.com>
13527
13528         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13529           description so that the description is unique for each
13530           pair (device,provider).  Fixes Novell #142773.
13531
13532 2006-01-12  Dan Williams  <dcbw@redhat.com>
13533
13534         * src/nm-device-802-11-wireless.c
13535                 - (supplicant_exec): ensure GError is correctly initialized
13536                         Reported by Diego González (gnome.org #326708)
13537
13538 2006-01-11  Robert Love  <rml@novell.com>
13539
13540         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13541           define if_mii(), open code the same results, and do so without any
13542           type punning.
13543
13544 2006-01-11  Robert Love  <rml@novell.com>
13545
13546         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13547           that wso_foo_new() returned non-NULL.  Instead, only append the new
13548           wso to wsm->options if the wso is non-NULL.  The crux is that we
13549           assume that the relevant key types are implied by WEP and WPA as
13550           appropriate.  To be sure, they should be, but we should not expect
13551           drivers to not be oozing piles of wolf fecal matter.
13552
13553 2006-01-11  Robert Love  <rml@novell.com>
13554
13555         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13556         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13557           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13558           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13559           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13560           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13561           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13562         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13563           comparing values within DBL_EPSILON.  Also fix shadowed variable
13564           usage.
13565
13566 2006-01-11  Dan Williams  <dcbw@redhat.com>
13567
13568         Add options for WPA2 and WPA1+CCMP (AES).
13569
13570         * gnome/applet/wireless-applet.glade
13571                 - Add UI bits for WPA+CCMP
13572
13573         * gnome/applet/other-network-dialog.c
13574                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13575                         and don't allow creation of WPA2 Ad-Hoc networks since
13576                         wpa_supplicant doesn't support them
13577
13578         * gnome/applet/wireless-security-manager.c
13579                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13580                         on to the specific wireless security option being created
13581
13582         * gnome/applet/wireless-security-option.[ch]
13583                 - (wso_wpa_create_key_type_model): new utility function to create
13584                         the model required for WPA Key Type combo box
13585
13586         * gnome/applet/wso-private.h
13587           gnome/applet/wireless-security-option.h
13588                 - Move private function prototypes into wso-private.h
13589
13590         * gnome/applet/wso-wpa-psk-hex.[ch]
13591           gnome/applet/wso-wpa-psk-passphrase.[ch]
13592                 - (append_dbus_params_func): get WPA version from checkbox and pass
13593                         it to the dbus serialization helper
13594                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13595                         key type combo changes
13596                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13597                         model and options
13598
13599         * libnm-util/cipher-wpa-psk-hex.c
13600           libnm-util/cipher-wpa-psk-passphrase.c
13601                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13602                         new function; allow the cipher to be changed after object creation
13603
13604         * src/nm-ap-security-wpa-psk.c
13605                 - (set_description): Do WPA2 descriptions too
13606
13607         * src/nm-ap-security.c
13608                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13609
13610 2006-01-11  Robert Love  <rml@novell.com>
13611
13612         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13613           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13614           from the ifreq structure in lieu of an open coded solution.  Removes
13615           a life-threatening type-punning.
13616         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13617           types, ever, whatsoever, baby.
13618
13619 2006-01-11  Robert Love  <rml@novell.com>
13620
13621         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13622           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13623           assignments to applet->nm_state into a new nmwa_set_state() function
13624           for both cleanliness and to help debugging.
13625
13626 2006-01-10  Robert Love  <rml@novell.com>
13627
13628         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13629           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13630           seconds, exclusive.  That is, we want to sleep x seconds such that
13631           1 < x < 2.
13632
13633 2006-01-10  Robert Love  <rml@novell.com>
13634
13635         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13636           the attr fields according to the example in the email available at
13637           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13638           Conversely, we do have to free 'name', so we do so, fixing a leak.
13639
13640 2006-01-10  Robert Love  <rml@novell.com>
13641
13642         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13643           sure that we close the socket!
13644
13645 2006-01-10  Robert Love  <rml@novell.com>
13646
13647         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13648           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13649           src/nm-device.c: Fix a FIXME!  Reimplement the function
13650           nm_device_update_hw_address() in device subclass variants,
13651           nm_device_802_3_ethernet_set_address() and
13652           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13653           This fixes the existing bug where MAC addresses are all zeros.
13654
13655 2006-01-10  Robert Love  <rml@novell.com>
13656
13657         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13658           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13659           option to give users ability to globally disconnect and put NM to
13660           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13661           clean disconnect.
13662
13663 2006-01-09  Robert Love  <rml@novell.com>
13664
13665         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13666           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13667           User-space does not supply these types, so we have to define them
13668           ourselves.  The relevant kernel maintainer refused to accept a patch
13669           switching these headers to the proper C99 types.
13670
13671 2006-01-09  Dan Williams  <dcbw@redhat.com>
13672
13673         Apply Robert's 'tray icon redo' patch with fixes
13674         * gnome/applet/applet.c
13675           gnome/applet/applet.h
13676                 - Instead of using a menu bar + menu item, simulate menu
13677                         behavior using a popup menu.  Highlight the area around
13678                         the icon more like a menu too, by playing with the
13679                         applet's size requisition
13680
13681 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13682         * libnm-util/dbus-helpers.c
13683           libnm-util/dbus-helpers.h
13684                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13685                         to 'exception_namespace' (:namespace is a keyword in
13686                         C++)
13687
13688 2006-01-09  Dan Williams  <dcbw@redhat.com>
13689
13690         * src/NetworkManagerPolicy.c
13691                 - (nm_policy_device_change_check): don't autoswitch away from
13692                         Ad-Hoc networks, since there's really no concept of
13693                         "link"
13694
13695         * src/nm-dbus-nm.c
13696                 - (nm_dbus_nm_create_wireless_network): mark created networks
13697                         as Ad-Hoc networks
13698
13699         * src/nm-device-802-11-wireless.c
13700                 - (real_activation_success_handler): add user-created Ad-Hoc
13701                         networks to the device's scan list
13702
13703 2006-01-08  Dan Williams  <dcbw@redhat.com>
13704
13705         We now require a patch for wpa_supplicant to support Ad-Hoc
13706         networks:
13707           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13708
13709         * src/nm-device-802-11-wireless.c
13710                 - (supplicant_send_network_config): turn off wpa_supplicant's
13711                         scanning.  Fixes Ad-Hoc networks.
13712
13713 2006-01-08  Dan Williams  <dcbw@redhat.com>
13714
13715         * src/nm-ap-security.c
13716           src/nm-ap-security.h
13717                 - Add a user_created argument to the write_supplicant_config
13718                         functions
13719
13720         * src/nm-ap-security-wep.c
13721           src/nm-ap-security-wpa-psk.c
13722           src/nm-device-802-11-wireless.c
13723                 - Make Ad-Hoc mode somewhat work, at least write the
13724                         correct options to wpa_supplicant
13725
13726 2006-01-08  Dan Williams  <dcbw@redhat.com>
13727
13728         * src/nm-device-802-11-wireless.c
13729                 - Remove unused code from the old device activation path
13730
13731 2006-01-08  Dan Williams  <dcbw@redhat.com>
13732
13733         * libnm-util/dbus-helpers.c
13734                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13735                         dbus when key == NULL
13736
13737 2006-01-08  Dan Williams  <dcbw@redhat.com>
13738
13739         * gnome/applet/nm-gconf-wso-wpa-psk.c
13740                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13741                         correct arguments to nmu_security_deserialize_wpa_psk()
13742
13743         * src/nm-ap-security-wpa-psk.c
13744                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13745                         arguments to nmu_security_deserialize_wpa_psk()
13746
13747 2006-01-08  Dan Williams  <dcbw@redhat.com>
13748
13749         * gnome/applet/wso-wpa-psk-hex.c
13750           gnome/applet/wso-wpa-psk-passphrase.c
13751                 - Hook up the append_dbus_params_func() function
13752
13753 2006-01-08  Dan Williams  <dcbw@redhat.com>
13754
13755         * src/nm-device-802-11-wireless.c
13756                 - (get_wireless_capabilities): correctly detect driver WPA
13757                         capabilities
13758
13759 2006-01-08  Dan Williams  <dcbw@redhat.com>
13760
13761         * gnome/applet/Makefile.am
13762           gnome/applet/wso-wpa-psk-hex.c
13763           gnome/applet/wso-wpa-psk-hex.h
13764                 - New files, implement WPA-PSK Hex key input
13765
13766         * gnome/applet/wireless-applet.glade
13767                 - Change existing wpa-psk stuff to wpa-psk-hex
13768                 - Add new widgets for wpa-psk-passphrase
13769
13770         * gnome/applet/wireless-security-manager.c
13771                 - (wsm_set_capabilities): enable WPA options
13772
13773         * gnome/applet/wso-wpa-psk-passphrase.c
13774                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13775                         for WPA-PSK passphrase
13776
13777 2006-01-08  Dan Williams  <dcbw@redhat.com>
13778
13779         * include/NetworkManager.h
13780                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13781                         applet/info-daemons
13782
13783         * gnome/applet/passphrase-dialog.c
13784                 - Use the constant.  Fixes a bug where the arguments to
13785                         dbus_message_new_error() were incorrect
13786
13787         * src/nm-dbus-nmi.c
13788                 - Use the constant
13789
13790 2006-01-07  Dan Williams  <dcbw@redhat.com>
13791
13792         * src/nm-device-802-11-wireless.c
13793                 - Add a link timeout so we allow the supplicant time to
13794                         reassociate if it can, before we deactivate the card
13795                 - Fix up link status and link updating so things work better
13796
13797 2006-01-07  Dan Williams  <dcbw@redhat.com>
13798
13799         * src/nm-device-802-11-wireless.c
13800                 - Switch over to using wpa_supplicant
13801                 - Add a timeout of 10s for association of the supplicant
13802                 - Start the monitor callback of the supplicant
13803
13804 2006-01-07  Dan Williams  <dcbw@redhat.com>
13805
13806         * src/NetworkManagerUtils.c
13807                 - (nm_utils_supplicant_request,
13808                   nm_utils_supplicant_request_with_check):
13809                         pass correct buffer length to wpa_ctrl_request()
13810
13811 2006-01-07  Dan Williams  <dcbw@redhat.com>
13812
13813         * src/nm-device-private.h
13814           src/nm-device.c
13815                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13816                         this function available to subclasses
13817
13818 2006-01-06  Robert Love  <rml@novell.com>
13819
13820         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13821           user plugging in a network cable signals their preference for to
13822           switch, unless the user explicitly selected a wireless network and
13823           therefore signaled their preference for said wireless network over
13824           wired.  In other words, do exactly what makes sense.
13825
13826 2006-01-06  Robert Love  <rml@novell.com>
13827
13828         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13829           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13830           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13831           showing up in my greps.
13832
13833 2006-01-06  Robert Love  <rml@novell.com>
13834
13835         * gnome/applet/applet-dbus-devices.c,
13836           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13837           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13838           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13839           New Network' both failed in the non-encrypted case because we were
13840           not appending the security options to the DBUS message.  And
13841           'Connect to Other' was also failing in the encrypted case because
13842           we were not incrementing to the next DBUS parameter.  All fixed.
13843           Thanks to dcdw for some debugging help.
13844
13845 2006-01-06  Robert Love  <rml@novell.com>
13846
13847         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13848           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13849           hangup code and add per-device hangup.  Tie last commit into the
13850           GNOME applet.  TODO:  Save, understand, and respond to the state of
13851           each dialup device.
13852
13853 2006-01-06  Robert Love  <rml@novell.com>
13854
13855         Patch by Timo Hoenig <thoenig@suse.de>:
13856         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13857           hangup specific dialup devices.
13858         * src/backends/NetworkManagerDebian.c,
13859           src/backends/NetworkManagerGentoo.c,
13860           src/backends/NetworkManagerRedHat.c,
13861           src/backends/NetworkManagerSlackware.c: Add stub backend.
13862         * src/backends/NetworkManagerRedHat.c,
13863           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13864           hangup specific dialup devices.
13865
13866 2006-01-04  Robert Love  <rml@novell.com>
13867
13868         * gnome/applet/applet-dbus-devices.c,
13869           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13870           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13871           connections.
13872
13873 2006-01-04  Dan Williams  <dcbw@redhat.com>
13874
13875         First dump of wpa_supplicant-related code.  It's not hooked up to
13876         anything yet though.  Thanks to Kay Sievers for
13877         wpa_supplicant_wrapper.c, which formed the basis for this work,
13878         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13879
13880         * src/Makefile.am
13881           src/wpa_ctrl.[ch]
13882                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13883
13884         * src/NetworkManagerUtils.[ch]
13885                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13886                         Add convenience functions for talking to wpa_supplicant
13887
13888         * src/nm-ap-security.[ch]
13889           src/nm-ap-security-wep.c
13890           src/nm-ap-security-wpa-psk.[ch]
13891                 - Update and implement real_write_supplicant_config functions
13892                         in all security types
13893                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13894                         nm-ap-security-wpa-psk.c
13895
13896         * src/nm-device-802-11-wireless.c
13897                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13898                    wpa_supplicant_start, wpa_supplicant_interface_init,
13899                    wpa_supplicant_send_network_config): add functions to talk to
13900                         wpa_supplicant and write network config to it
13901
13902 2006-01-04  Robert Love  <rml@novell.com>
13903
13904         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13905           values so that distribution-backends can differentiate between the
13906           various types (modem, ISDN, et cetera) of dialup device that they
13907           support.
13908         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13909           needed.
13910
13911 2006-01-03  Dan Williams  <dcbw@redhat.com>
13912
13913         * src/NetworkManagerPolicy.c
13914           src/nm-device.[ch]
13915           src/nm-device-802-11-wireless.c
13916                 - Move wireless-specific activation failure and success code
13917                         into wireless device class
13918
13919 2006-01-03  Robert Love  <rml@novell.com>
13920
13921         Patch by Preggna S:
13922         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13923           IPsec does not require that a VPN client be bound to an interface,
13924           due to the use of the in-kernel IPSec bits.  So make the tunnel
13925           device optional.
13926
13927 2006-01-03  Dan Williams  <dcbw@redhat.com>
13928
13929         * src/NetworkManagerAP.c
13930                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13931                         the WPA IE specifies that WEP is supported
13932
13933         * src/nm-device-802-11-wireless.c
13934                 - (process_scan_results): don't mark an AP as supporting WEP
13935                         if there's already other encryption capability info
13936
13937 2006-01-03  Dan Williams  <dcbw@redhat.com>
13938
13939         * src/dhcp-manager/nm-dhcp-manager.c
13940                 - Recognize activation cancellation when waiting for DHCP
13941                         configuration from dhcdbd
13942                 - Ignore non-dhcdbd messages
13943
13944         * src/nm-device.c
13945                 - (real_act_stage3_ip_config_start): return to correct behavior
13946                         of letting the dhcp-manager notify us of failure or
13947                         success rather than incorrectly doing that ourselves
13948                 - (nm_device_activate_stage4_ip_config_get): deal with
13949                         activation cancellation a bit earlier
13950
13951 2006-01-03  Dan Williams  <dcbw@redhat.com>
13952
13953         * src/nm-device-802-11-wireless.c
13954           src/nm-device.[ch]
13955                 - Add hooks to subclasses for stage3_ip_config_start and
13956                         stage4_ip_config_timeout
13957
13958         * src/nm-device-802-3-ethernet.c
13959                 - (real_get_generic_capabilities): make devices NM-supported
13960                         by default
13961
13962 2006-01-03  Robert Love  <rml@novell.com>
13963
13964         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13965           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13966           latter cannot differentiate between error and the address -1; misc.
13967           clean up.
13968
13969 2006-01-03  Dan Williams  <dcbw@redhat.com>
13970
13971         * src/NetworkManager.c
13972                 - Move link-checking/probing into the device subclasses
13973                         themselves
13974
13975         * src/nm-device.[ch]
13976           src/nm-device-802-11-wireless.c
13977           src/nm-device-802-3-ethernet.c
13978                 - Do periodic link checking in device subclasses rather
13979                         than being triggered from NetworkManager.c
13980                 - discover_wireless_capabilities -> get_wireless_capabilities
13981                 - discover_generic_capabilities -> get_generic_capabilities
13982                 - Device subclass activation routines now return a value of type
13983                         NMActStageReturn to indicate what step to perform next
13984                 - Devices now override stage4_get_ip4_config if they choose
13985
13986 2006-01-01  Dan Williams  <dcbw@redhat.com>
13987
13988         * src/nm-device-802-11-wireless.c
13989                 - (real_init): don't chain up to parent init because we don't
13990                         need to do that anymore
13991
13992         * src/nm-device.c
13993                 - (discover_device_type): fix arguments to ioctl() to correctly
13994                         pass interface name
13995                 - (nm_device_new): consolidate generic device initialization into
13996                         nm_device_new()
13997                 - (real_init): remove, consolidated to nm_device_new()
13998                 - (nm_device_deactivate, real_deactivate): consolidate
13999
14000 2006-01-01  Dan Williams  <dcbw@redhat.com>
14001
14002         * src/nm-activation-request.c
14003                 - Change dhcp_state member of the NMActRequest structure
14004                         from guint8 to guint32
14005
14006         * src/dhcp-manager/nm-dhcp-manager.[ch]
14007                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14008                         than guint8 to match the dbus argument.  Turns out we were
14009                         overwriting memory since we were passing in only a guint8
14010
14011 2005-12-31  Dan Williams  <dcbw@redhat.com>
14012
14013         * refactor NMDevice into a GObject-based framework with separate
14014                 objects for wired and wireless.  The following files are no
14015                 longer used but should stick around for a bit so we don't
14016                 loose code through the cracks:
14017                         NetworkManagerDevice.c
14018                         NetworkManagerDevice.h
14019                         NetworkManagerWireless.c
14020                         NetworkManagerWireless.h
14021
14022         The intent here is to allow each device type to manage its own
14023         connection & activation life-cycle, ie to allow wireless devices
14024         to interface with wpa_supplicant, etc.  There's a fair bit of
14025         encapsulation breakage right now that should gradually get pulled
14026         back into each device, along with things like periodic property
14027         updates and link probing.
14028
14029 2005-12-29  Dan Williams  <dcbw@redhat.com>
14030
14031         * include/NetworkManager.h
14032                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14033                         between networks that don't have any encryption at all
14034
14035 2005-12-29  Dan Williams  <dcbw@redhat.com>
14036
14037         * test/test-common.c
14038           test/test-common.h
14039           test/Makefile.am
14040                 - Move to a test-common subdirectory
14041
14042         * test/libnm-util/test-ciphers.c
14043                 - Move test data to test-inputs.h
14044                 - Test WPA ciphers too
14045
14046         * test/libnm-util/test-dbus-helpers.c
14047                 - Test serialization/deserialization of ciphers
14048
14049 2005-12-29  Dan Williams  <dcbw@redhat.com>
14050
14051         * gnome/applet/applet-dbus-devices.c
14052                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14053                         in dbus calls to NM
14054                 - Set capabilities on WirelessNetwork objects
14055                 - Receive and save type-specific device capabilities too
14056
14057         * gnome/applet/applet-dbus-info.c
14058           gnome/applet/applet-dbus.c
14059                 - Passphrase dialog no longer a singleton; new instance gets created
14060                         on each request.  Updates to deal with that.
14061
14062         * gnome/applet/applet.c
14063                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14064                         than single 'encrypted' flag
14065                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14066                         menu items
14067                 - Passphrase dialog updates per above
14068
14069         * gnome/applet/menu-items.c
14070                 - (network_menu_item_update): use AP capabilities to determine
14071                         encryption
14072
14073         * gnome/applet/nm-device.[ch]
14074                 - Add accessors for type-specific device capabilities
14075
14076         * gnome/applet/other-network-dialog.c
14077                 - Rework to respect device capabilities.  i.e., if the device doesn't
14078                         support WPA, remove that option from the security dropdown
14079
14080         * gnome/applet/passphrase-dialog.c
14081                 - Massive rework so that a new instance is created each time
14082                         it's used, to support wireless network capabilities
14083
14084         * gnome/applet/wireless-network.[ch]
14085                 - Add accessors and members for wireless network capabilities
14086
14087         * gnome/applet/wireless-security-manager.[ch]
14088                 - (wsm_set_capabilities): called after creation to set which
14089                         security options get shown to the user
14090
14091 2005-12-29  Dan Williams  <dcbw@redhat.com>
14092
14093         * libnm-util/cipher-wpa-psk-passphrase.c
14094                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14095                         like other ciphers
14096
14097 2005-12-23  Dan Williams  <dcbw@redhat.com>
14098
14099         * gnome/applet/applet-dbus-info.c
14100                 - (nmi_dbus_get_key_for_network): if there's no entry in
14101                         GConf for a network, assume we want a new key
14102                 - (nmi_save_network_info): serialize wireless security info
14103                         into GConf so its saved
14104
14105         * src/nm-dbus-nm.c
14106                 - Fix warning as we may not be passed security info when
14107                         connecting to a wireless network
14108
14109 2005-12-23  Dan Williams  <dcbw@redhat.com>
14110
14111         * gnome/applet/applet-compat.c
14112                 - Fix bugs in GConf entry conversion
14113
14114         * gnome/applet/applet-dbus-info.c
14115                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14116                         list being zero-length
14117
14118         * libnm-util/cipher-*
14119           libnm-util/dbus-helpers.c
14120                 - All ciphers must now return hashed keys as UTF-8 valid
14121                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14122                         through dbus as strings too.
14123                 - Consolidate various functions that do bin->hex and hex->bin
14124                         conversion into cipher.c
14125
14126         * src/nm-ap-security-wep.c
14127           src/nm-ap-security-wpa-psk.c
14128                 - Handle NULL keys since we may not know keys right away
14129
14130         * src/nm-dbus-nmi.c
14131                 - (nm_dbus_get_network_data_cb): actually advance to the start
14132                         of the wireless security info before we try to deserialize it
14133
14134         * libnm-util/test-ciphers.c
14135                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14136
14137 2005-12-22  Dan Williams  <dcbw@redhat.com>
14138
14139         * gnome/applet/applet-compat.[ch]
14140                 - Convert old-format GConf and keyring entries
14141                         when the applet starts up.
14142
14143         * gnome/applet/applet.c
14144                 - (nmwa_get_instance): Call the conversion function
14145                         on startup before dbus is initialized
14146
14147 2005-12-22  Dan Williams  <dcbw@redhat.com>
14148
14149         * gnome/applet/applet-dbus-info.c
14150                 - Remove nmi_dbus_create_error_message() in favor of
14151                         nmu_create_dbus_error_message()
14152                 - (nmi_dbus_get_network_properties): Error message cleanups
14153                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14154                         gconf key rather than 'addresses', since they really are BSSIDs
14155                 - (nmi_dbus_get_network_properties): Dispose of the security
14156                         object when we're done with it
14157
14158 2005-12-21  Dan Williams  <dcbw@redhat.com>
14159
14160         * Consolidate the info-daemon's "updateNetworkInfo" and
14161                 "addNetworkAddress" calls into just "updateNetworkInfo"
14162
14163 2005-12-21  Dan Williams  <dcbw@redhat.com>
14164
14165         * Make connection after key retrieval work again
14166
14167 2005-12-21  Dan Williams  <dcbw@redhat.com>
14168
14169         * gnome/applet/nm-gconf-wso*
14170                 - Make the serialize functions return gboolean
14171                         rather than int
14172
14173         * gnome/applet/nm-gconf-wso.c
14174                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14175                         parent class handling so we don't segfault
14176
14177         * src/NetworkManagerAP.[ch]
14178                 - (nm_ap_get_capabilities): new function, return capabilities
14179                         now that something can use them
14180                 - (nm_ap_set_encrypted): assume that an access point supports
14181                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14182                         we even tell whether it just supports WEP40?
14183
14184         * src/NetworkManagerDevice.c
14185                 - (ap_need_key): resurrect and update for the New World Order
14186                 - (nm_device_wireless_get_activation_ap): if we're not given
14187                         security info to use, create some based on access point
14188                         capabilities
14189
14190         * src/nm-ap-security-wep.c
14191                 - (nm_ap_security_wep_new_from_ap): create a new object
14192                         based on a certain access point's capabilities
14193
14194         * src/nm-ap-security.c
14195                 - (nm_ap_security_new_from_ap): delegate creation of a new
14196                         object based on access point capabilities to a subclass
14197                 - (nm_ap_security_copy_properties): don't segfault if we
14198                         don't have a key yet
14199
14200         * src/nm-dbus-nm.c
14201                 - (nm_dbus_nm_set_active_device): provide more informative
14202                         output when errors occur.  Also construct security info
14203                         for a given access point if we weren't given any
14204
14205 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14206
14207         * configure.in: Added Lithuanian to ALL_LINGUAS.
14208
14209 2005-12-21  Dan Williams  <dcbw@redhat.com>
14210
14211         * test/libnm-util
14212                 - Add some testcases for WEP ciphers
14213
14214 2005-12-17  Dan Williams  <dcbw@redhat.com>
14215
14216         * Fix bugs
14217
14218 2005-12-17  Dan Williams  <dcbw@redhat.com>
14219
14220         * include/NetworkManager.h
14221                 - Finally kill NMEncKeyType
14222
14223         * gnome/applet/applet-dbus-info.c
14224                 - (nmi_save_network_info): convert to NMGConfWSO
14225
14226         * gnome/applet/nm-gconf-wso-*.c
14227                 - Implement gconf serialization functions
14228
14229         * src/NetworkManagerPolicy.c
14230                 - (nm_policy_activation_finish): fix up meaning of
14231                         automatic/user_requested
14232
14233 2005-12-17  Dan Williams  <dcbw@redhat.com>
14234
14235         * gnome/applet/*
14236                 - More applet cleanups
14237                 - Use the dbus-method-dispatcher
14238
14239         * libnm-util/dbus-method-dispatcher.[ch]
14240                 - Generalize the implementation from NM in
14241                         NetworkManagerUtils.c
14242
14243 2005-12-16  Dan Williams  <dcbw@redhat.com>
14244
14245         * gnome/applet/*
14246                 - Fix up the passphrase dialog to use all the
14247                         WirelessSecurityOption stuff (untested)
14248
14249 2005-12-16  Dan Williams  <dcbw@redhat.com>
14250
14251         * Move nm_gconf_get_*_helper() functions to separate files,
14252                 gconf-helpers.c & gconf-helpers.h
14253
14254         * New NMGConfWSO objects for managing the gconf side of things.
14255                 Eventually these should be merged with the
14256                 WirelessSecurityOption objects and a common base (that can
14257                 serialize/deserialize from dbus & gconf) should be
14258                 refactored out, but for now they are separate.
14259
14260 2005-12-16  Robert Love  <rml@novell.com>
14261
14262         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14263           binaries unless they exist (nm_spawn_process() emits a warning if
14264           asked to spawn a non-existant process).
14265
14266 2005-12-16  Dan Williams  <dcbw@redhat.com>
14267
14268         * gnome/applet/applet-dbus-info.c
14269                 - Clean up lots of gconf-related code
14270
14271 2005-12-16  Robert Love  <rml@novell.com>
14272
14273         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14274
14275 2005-12-16  Dan Williams  <dcbw@redhat.com>
14276
14277         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14278
14279         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14280                 bits still to be done)
14281
14282 2005-12-16  Dan Williams  <dcbw@redhat.com>
14283
14284         * Finally move info-daemon related stuff out of
14285                 NetworkManagerDbus.c to nm-dbus-nmi.c
14286
14287 2005-12-16  Dan Williams  <dcbw@redhat.com>
14288
14289         * Kill auth_method for access points, since that's now done
14290                 by NMAPSecurity objects
14291
14292         * Add a copy-constructor of sorts to NMAPSecurity
14293                 (how do you do this properly in glib???)
14294
14295 2005-12-15  Dan Williams  <dcbw@redhat.com>
14296
14297         * Exorcise encryption key hashing on APs
14298         * Use libnm-util's serialization/deserialization in both the
14299                 applet and NM
14300         * Random other stuff
14301
14302 2005-12-15  Robert Love  <rml@novell.com>
14303
14304         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14305           is being added to the icon naming spec, so let's use that (Tango CVS
14306           has the icon).  Because it is new, however, we fall back to the
14307           current "gnome-lockscreen" if the new icon is not around, thus
14308           behavior is the same.
14309         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14310           factory junk.
14311
14312 2005-12-15  Robert Love  <rml@novell.com>
14313
14314         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14315           well, help to give.  Couple other misc. bits.
14316
14317 2005-12-15  Dan Williams  <dcbw@redhat.com>
14318
14319         * libnm-util/dbus-helpers.[ch]
14320                 - Make this the one-stop-shop for serializing/deserializing
14321                         AP & connection security settings over dbus.  Both NM
14322                         and applets should use this to ensure consistent dbus
14323                         API going forwared.
14324
14325 2005-12-15  Robert Love  <rml@novell.com>
14326
14327         Patch by Timo Hoenig  <thoenig@suse.de>:
14328         * src/NetworkManagerDbus.c
14329                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14330                         if HAL jumps off the system bus.  Otherwise libdbus
14331                         (dbus_connection_dispatch) will try to run the filter
14332                         function of our libhal context which is already freed.
14333
14334 2005-12-15  Alexander Shopov  <ash@contact.bg>
14335
14336         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14337
14338 2005-12-14  Dan Williams  <dcbw@redhat.com>
14339
14340         * include/NetworkManager.h
14341           src/NetworkManagerWireless.c
14342                 - Rearrange 802.11 wireless-specific capabilities again
14343
14344         * src/Makefile.am
14345                 - Forgot to add wpa.c/wpa.h to the makefiles
14346
14347         * src/NetworkManagerAP.[ch]
14348                 - Implement access point capabilities and parse the
14349                         WPA/RSN IEs into the capability bitfield
14350                 - Switch the "encrypted" attribute to utilize the bitfield
14351                         and capabilities rather than being independent
14352
14353         * src/NetworkManagerDevice.c
14354                 - (nm_device_wireless_get_activation_ap): break it horribly
14355                         until we can push NMAPSecurity objects into access point
14356                         objects and through the activation chain
14357                 - Stuff WPA & RSN IEs into AP capabilities
14358
14359         * src/nm-dbus-nm.c
14360                 - Take a shot at actually making setActiveDevice work
14361
14362         * src/wpa.[ch]
14363                 - Make the API a bit saner
14364
14365 2005-12-14  Dan Williams  <dcbw@redhat.com>
14366
14367         * include/NetworkManager.h
14368                 - Add 802.11-specific capability for 802.1x key
14369                         management
14370
14371         * src/wpa.[ch]
14372                 - Pull in WPA IE and RSN IE parsing code from
14373                         wpa_supplicant so we can determine access point
14374                         capabilities
14375                 - Move WPA-related constants here from NetworkManagerAP.h
14376                         and NetworkManagerDevice.c
14377
14378         * src/NetworkManagerDevice.c
14379           src/NetworkManagerAP.[ch]
14380                 - Use WPA-related constants from wpa.h
14381
14382 2005-12-14  Dan Williams  <dcbw@redhat.com>
14383
14384         * include/NetworkManager.h
14385                 - Update and split 802.11 wireless-specific capabilities from
14386                         generic device capabilities
14387
14388         * src/NetworkManagerDevice.c
14389           src/NetworkManagerDevicePrivate.h
14390                 - (nm_device_wireless_discover_capabilities): Move 802.11
14391                         wireless-specific capability checks to
14392                         NetworkManagerWireless.c
14393                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14394                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14395
14396         * src/NetworkManagerWireless.[ch]
14397                 - (nm_802_11_wireless_discover_capabilities): Check extended
14398                         802.11 wireless-specific capabilities of the driver
14399
14400 2005-12-14  Robert Love  <rml@novell.com>
14401
14402         Patch from Stefan Scheler <sscheler@suse.de>:
14403         * src/NetworkManagerDevice.c: call backend code to activate and
14404           deactivate NIS.
14405         * src/NetworkManagerSystem.h: add new NIS interfaces.
14406         * src/backends/NetworkManagerDebian.c,
14407           src/backends/NetworkManagerGentoo.c,
14408           src/backends/NetworkManagerRedHat.c,
14409           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14410           support.
14411         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14412
14413 2005-12-14  Dan Williams  <dcbw@redhat.com>
14414
14415         * src/nm-ap-security*.[ch]
14416                 - Add AP security abstractions to NetworkManager
14417
14418         * src/nm-dbus-device.c
14419                 - Begin to parse new format dbus messages from the applet
14420                         and construct an AP security object from the message
14421
14422         * libnm-util/dbus-helpers.c
14423                 - Use message iters so we can append the key as a fixed
14424                         array of bytes, which actually works rather than
14425                         using dbus_message_append_args() as we were before
14426
14427 2005-12-14  Dan Williams  <dcbw@redhat.com>
14428
14429         * src/NetworkManagerDbus.c
14430           gnome/applet/applet-dbus.c
14431                 - Fix up dbus service replacement options.  The applet
14432                         should allow replacement, NM itself should not.
14433
14434 2005-12-13  Robert Love  <rml@novell.com>
14435
14436         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14437           Instead, fail silently if config is NULL by not asserting and not
14438           returning FALSE.  Also, make sure we always fclose() the file.
14439
14440 2005-12-13  Robert Love  <rml@novell.com>
14441
14442         Patch by Stefan Scheler <sscheler@suse.de>:
14443         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14444            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14445            via DHCP.  Still need the backends to commit the NIS domain name and
14446            and servers to yp.conf as needed.
14447
14448 2005-12-13  Robert Love  <rml@novell.com>
14449
14450         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14451           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14452
14453 2005-12-13  Robert Love  <rml@novell.com>
14454
14455         * src/named-manager/nm-named-manager.c: Don't unref the config until
14456           after we call rewrite_resolv_conf(), because get_last_default_domain()
14457           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14458           `config != NULL' failed" assertion failures and "Could not commit DNS
14459           changes" warnings.
14460
14461 2005-12-12  Dan Williams  <dcbw@redhat.com>
14462
14463         * libnm-util/dbus-helpers.[ch]
14464           libnm-util/Makefile.am
14465                 - new helper calls to consolidate locations where
14466                         NM's setDevice method is called
14467
14468         * gnome/applet/applet-dbus-devices.c
14469           gnome/applet/wireless-security-option.c
14470           gnome/applet/wso-*
14471                 - Implement dbus message param append function for
14472                         all wireless security options
14473
14474 2005-12-12  Robert Love  <rml@novell.com>
14475
14476         * libnm-util/cipher-wep-passphrase.c,
14477           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14478           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14479           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14480           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14481           When handling keys, we don't care what the sign is.  The compiler
14482           guarantees us that we get our 8-bits, which is all we care about.
14483         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14484
14485 2005-12-12  Dan Williams  <dcbw@redhat.com>
14486
14487         * gnome/applet/applet-dbus-devices.[ch]
14488           gnome/applet/applet.c
14489           gnome/applet/other-network-dialog.c
14490           gnome/applet/wireless-security-manager.[ch]
14491           gnome/applet/wireless-security-option.[ch]
14492           gnome/applet/wso-*
14493                 - Push the wireless security options further into the applet
14494
14495 2005-12-12  Robert Love  <rml@novell.com>
14496
14497         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14498           return any name servers.  That is perfectly valid.  (Novell #134369).
14499
14500 2005-12-11  Dan Williams  <dcbw@redhat.com>
14501
14502         * gnome/applet/wso-*
14503           gnome/applet/wireless-security-option.*
14504           gnome/applet/Makefile.am
14505                 - split each security option out so we can eventually
14506                         have each one build up their own dbus message
14507                         arguments to send to NM
14508
14509 2005-12-11  Dan Williams  <dcbw@redhat.com>
14510
14511         * Make validation of the key work correctly
14512
14513 2005-12-11  Dan Williams  <dcbw@redhat.com>
14514
14515         * Hook more bits of the Other Network Dialog up to the
14516                 wireless security manager stuff, and restructure
14517                 bits of the dialog so there's less code.
14518
14519 2005-12-10  Dan Williams  <dcbw@redhat.com>
14520
14521         * gnome/applet/Makefile.am
14522                 - Add libnm-util to includes
14523                 - Add libnm-util to link list
14524                 - Add wireless-security-common.* to compile list
14525
14526         * gnome/applet/other-network-dialog.c
14527                 - Convert to using the WirelessSecurityManager code and
14528                         widgets
14529
14530         * gnome/applet/passphrase-dialog.c
14531                 - Comment out references to stuff in the glade file that
14532                         cause runtime errors until it can be fixed up
14533                         to use the WirelessSecurityManager code
14534
14535         * gnome/applet/wireless-applet.glade
14536                 - Rename some widgets
14537                 - Add widgets for the WirelessSecurityManager code
14538                 - Remove passphrase-related stuff since that's now
14539                         handled by the WirelessSecurityManager code
14540
14541 2005-12-10  Dan Williams  <dcbw@redhat.com>
14542
14543         * gnome/applet/applet-dbus-devices.c
14544                 - Print out error message details for dbus pending call callbacks
14545                 - Move nmwa_dbus_update_devices() up
14546
14547         * gnome/applet/applet-dbus-vpn.c
14548                 - Print out error message details for dbus pending call callbacks
14549
14550 2005-12-10  Dan Williams  <dcbw@redhat.com>
14551
14552         * libnm-util/*
14553                 - More fixups
14554                 - Remove cipher-manager.* because we don't need it
14555                 - Forgot to add gnome-keyring-md5 files to compile list
14556
14557 2005-12-09  Dan Williams  <dcbw@redhat.com>
14558
14559         * libnm-util/*
14560           configure.in
14561           Makefile.am
14562                 - Add a utility library for clients of NetworkManager.  It's
14563                         only targetted at applets for the moment, and contains
14564                         a generalized 802.11 cipher framework for different
14565                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14566
14567 2005-12-09  Robert Love  <rml@novell.com>
14568
14569         * src/NetworkManagerDevice.c: handle error better in
14570           nm_device_set_mode().
14571
14572 2005-12-08  Robert Love  <rml@novell.com>
14573
14574         * include/NetworkManager.h: add WPA capabilities constants
14575         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14576           or WPA2 and add the capabilities bits as appropriate.
14577
14578 2005-12-08  Robert Love  <rml@novell.com>
14579
14580         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14581           NetworkManagerDispatcher.
14582         * configure.in, initscript/SUSE/.cvsignore,
14583           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14584           initscript.
14585
14586 2005-12-08  Robert Love  <rml@novell.com>
14587
14588         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14589
14590 2005-12-08  Robert Love  <rml@novell.com>
14591
14592         * src/NetworkManagerDevice.c: We want to fall back on and default to
14593           IW_MODE_AUTO, not -1, which is more in line with our previous
14594           behavior.  Otherwise, we try to set the wireless mode to -1 in
14595           nm_device_set_mode().
14596
14597 2005-12-07  Robert Love  <rml@novell.com>
14598
14599         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14600           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14601           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14602           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14603           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14604           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14605           zero.
14606
14607 2005-12-07  Robert Love  <rml@novell.com>
14608
14609         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14610           supplied IP is invalid, fall back to DHCP.
14611
14612 2005-12-07  Dan Williams  <dcbw@redhat.com>
14613
14614         * Convert NETWORK_MODE_* constants to IW_MODE_*
14615         * Make all the get_mode/set_mode functions take and return 'int'
14616         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14617
14618 2005-12-07  Robert Love  <rml@novell.com>
14619
14620         * src/NetworkManagerDevice.c: strncpy() buffer check.
14621         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14622
14623 2005-12-06  Dan Williams  <dcbw@redhat.com>
14624
14625         * gnome/applet/applet-dbus.c
14626                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14627
14628         * gnome/applet/applet-dbus-vpn.c
14629                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14630                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14631                         to TRUE here if stage was ACTIVATED
14632
14633 2005-12-06  Dan Williams  <dcbw@redhat.com>
14634
14635         * Change nm_device_is_* functions to better names:
14636                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14637                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14638
14639 2005-12-06  Dan Williams  <dcbw@redhat.com>
14640
14641         * Change naming of NMDeviceType to something more sensible:
14642                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14643                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14644                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14645
14646 2005-12-06  Dan Williams  <dcbw@redhat.com>
14647
14648         * Move NetworkManager.h -> include/NetworkManager.h
14649         * Split out VPN stuff into include/NetworkManagerVPN.h
14650         * Fix up makefiles to include new location
14651         * Fix up sources to include NetworkManagerVPN.h
14652
14653 2005-12-06  Dan Williams  <dcbw@redhat.com>
14654
14655         Various changes in the applet to move VPN connection "state" -> "stage",
14656         which it actually is.  I'd like to change the signal as well when we
14657         break compat in the near future.
14658
14659 2005-12-06  Dan Williams  <dcbw@redhat.com>
14660
14661         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14662         * initscript/Slackware/rc.networkmanager
14663                 - Cosmetic fix
14664
14665         * src/backends/NetworkManagerSlackware.c
14666                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14667                         interfaces
14668
14669 2005-12-05  Robert Love  <rml@novell.com>
14670
14671         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14672           to free, particularly here as it just barfs.
14673
14674 2005-12-05  Dan Williams  <dcbw@redhat.com>
14675
14676         * gnome/applet/applet-dbus.c
14677                 - Work with dbus 0.6 too
14678
14679 2005-12-03  Dan Williams  <dcbw@redhat.com>
14680
14681         * src/NetworkManagerUtils.[ch]
14682           src/nm-ip4-config.c
14683                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14684                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14685
14686 2005-12-01  Robert Love  <rml@novell.com>
14687
14688         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14689           need a NULL for the '...' parameter, too, to fill the so-called
14690           sentinel.
14691
14692 2005-12-01  Robert Love  <rml@novell.com>
14693
14694         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14695           interface is already gone, so don't call rtnl_link_change() to down
14696           it (which will segfault, anyhow).
14697
14698 2005-11-22  Robert Love  <rml@novell.com>
14699
14700         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14701           gateway is not set, just print a little note.  Configurations without
14702           gateways are valid.
14703
14704 2005-11-22  Robert Love  <rml@novell.com>
14705
14706         * README: update
14707
14708 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14709
14710         * configure.in: Added Finnish translation to ALL_LINGUAS
14711
14712 2005-11-14  Robert Love  <rml@novell.com>
14713
14714         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14715           Niemueller <tim@niemueller.de>.
14716
14717 2005-11-08  Dan Williams  <dcbw@redhat.com>
14718
14719         Patch from Bill Moss <bmoss@clemson.edu>
14720         * src/NetworkManagerDevice.c
14721                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14722                         of nm_policy_schedule_activation_finish() to prevent a
14723                         race condition that causes the link to be dropped
14724
14725 2005-11-08  Dan Williams  <dcbw@redhat.com>
14726
14727         Patch from Bill Moss <bmoss@clemson.edu>
14728         * src/NetworkManagerAPList.c
14729           src/NetworkManagerDevice.c
14730           src/NetworkManagerDbus.c
14731                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14732                         we get more readable ether/mac addresses
14733
14734 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14735
14736         * gnome/applet/main.c: Don't set the restart command.  This fixes
14737         the issue where the restart command was getting copies of all its
14738         arguments for each time the applet was restarted.
14739
14740 2005-11-02  Robert Love  <rml@novell.com>
14741
14742         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14743           if the widget state differs from our saved state.  This ensures we
14744           do not enter an endless loop of death and destruction.  Also, this
14745           guarantees us that we enforce the widget state.
14746
14747 2005-11-02  Robert Love  <rml@novell.com>
14748
14749         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14750         * gnome/applet/applet-dbus-devices.c: invoke the new function
14751           nmwa_enable_wireless_set_active() to ensure that the state of the
14752           'Enable Wireless' checkbox matches the daemon's state.  This is a
14753           concern because the daemon remembers the state.
14754
14755 2005-11-02  Robert Love  <rml@novell.com>
14756
14757         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14758           Enabled", as checkboxes should be actions/commands not positive
14759           statements, otherwise they are confusing in the unselected case.  See
14760           examples in GNOME HIG, Chapter 6.
14761
14762 2005-11-02  Robert Love  <rml@novell.com>
14763
14764         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14765           show a list of wireless networks or the wireless devices or the
14766           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14767           a bad bug: If wireless is disabled and the user picks a wireless
14768           network, NM will switch to the network, only to immediately switch
14769           back, as wireless is disabled.  This also reassures people that NM
14770           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14771
14772 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14773
14774         * gnome/applet/applet.c:
14775         * gnome/applet/applet.h:
14776         Partial backout of Dan's timeout animation patch.
14777         Timeout IDs cannot legally be 0, so revert the code in place to handle
14778         a timeout ID of 0 to denote the timeout isn't running.
14779
14780 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14781
14782         * src/NetworkManagerPolicy.c:
14783         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14784
14785 2005-10-28  Robert Love  <rml@novell.com>
14786
14787         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14788           "Import Saved Configuration..." to make it clear that importing is
14789           not the next step, but an option.  As an aside, a nice TODO would be
14790           to move Importing out of the vpn-specific dialog and into the main
14791           property editor, as Importing goes with Adding, but that will require
14792           some rearchitecting of the VPN stuff I suspect.
14793
14794 2005-10-27  Dan Williams  <dcbw@redhat.com>
14795
14796         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14797         we should replace most of the distro-specific backend code
14798         with libnl stuff.
14799
14800         Get it here:  http://people.suug.ch/~tgr/libnl/
14801
14802         * configure.in
14803           src/Makefile.am
14804                 - Add checks for libnl pkgconfig file
14805                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14806
14807         * src/NetworkManagerSystem.c
14808           src/nm-ip4-config.[ch]
14809                 - Use libnl rather than ioctl() for most things
14810                 - Remove unused functions
14811
14812 2005-10-27  Robert Love  <rml@novell.com>
14813
14814         * src/backends/NetworkManagerSuSE.c: fix warning message text
14815
14816 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14817
14818         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14819
14820 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14821
14822         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14823         project page <http://www.gnome.org/projects/NetworkManager/>
14824
14825 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14826
14827         * gnome/applet.c: Also use translator credits if we don't have
14828         the new GtkAboutDialog (older versions of GTK+)
14829
14830 2005-10-26  Robert Love  <rml@novell.com>
14831
14832         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14833           failure; correct usage text for "--no-daemon"
14834
14835 2005-10-25  Dan Williams  <dcbw@redhat.com>
14836
14837         * src/NetworkManagerDevice.c
14838                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14839                         no scan results
14840                 - (free_process_scan_cb_data): unref the device when freeing results
14841                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14842                         so we don't unref the device underneath ourselves
14843
14844 2005-10-25  Dan Williams  <dcbw@redhat.com>
14845
14846         * Back out 2005-10-24 commit from Tor Krill.  Patch
14847                 causes nameservers never to be removed from named.
14848
14849 2005-10-24  Dan Williams  <dcbw@redhat.com>
14850
14851         Clean up wireless scanning and wireless link probing.
14852
14853         * src/NetworkManagerDevice.c
14854                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14855                         just see if there's an activation request on the device, and check the
14856                         current link against the activation request access point's ESSID.
14857                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14858                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14859                         don't call process_scan_results() on zero-length data
14860                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14861                         15 seconds (from 10)
14862
14863 2005-10-24  Dan Williams  <dcbw@redhat.com>
14864
14865         Cleanup some applet stuff:
14866
14867         - Animation timeouts.  If NM died while the applet was animating,
14868                 the applet would not hide itself.  This is now fixed.
14869
14870         - Remove some dead code
14871
14872         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14873                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14874
14875         - Track animation timeout using a gboolean rather than the timeout's
14876                 ID, since timeout IDs can legally be 0.
14877
14878 2005-10-24  Dan Williams  <dcbw@redhat.com>
14879
14880         * src/backends/interface_parser.c
14881                 - Add void to function declarations that need it
14882                         to match patch from Engin AYDOGAN
14883
14884         * src/backends/interface_parser.h
14885                 - Remove unused prototype for ifparser_interfaces()
14886
14887         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14888         * src/backends/interface_parser.h:
14889                 - Compile fixes for gcc 4.0.2 (add void)
14890
14891 2005-10-24  Dan Williams  <dcbw@redhat.com>
14892
14893         Patch from Tor Krill <tor@krill.nu>
14894         * src/named-manager/nm-named-manager.c
14895                 - Write more than just the first nameserver to /etc/resolv.conf
14896                 - Write out valid /etc/resolv.conf on exit
14897
14898 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14899
14900         * gnome/applet/applet-dbus-vpn.c:
14901         Get rid of spurious newlines in debug console output
14902
14903 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14904
14905         * src/backends/NetworkManagerGentoo.c:
14906         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14907
14908 2005-10-20  Robert Love  <rml@novell.com>
14909
14910         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14911           direct comparison of floating point values, which is never correct.
14912           Also some misc. cleanup.
14913
14914 2005-10-19  Robert Love  <rml@novell.com>
14915
14916         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14917
14918 2005-10-19  Robert Love  <rml@novell.com>
14919
14920         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14921           sensitivity of the buttons.  Specificaly, do the right thing if
14922           there are no entries.
14923
14924 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14925
14926         * configure.in: Update check for adequate wireless-tools
14927         with an AC_TRY_COMPILE for the new symbols we use.
14928
14929 2005-10-19  Dan Williams  <dcbw@redhat.com>
14930
14931         * src/NetworkManagerDevice.c
14932                 - (process_scan_results): don't drop the last (or only)
14933                         access point we see
14934
14935 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14936
14937         * src/backends/NetworkManagerSlackware.c:
14938         Patch from Nico <lordllucifer@gmail.com>
14939                 - Update the Slackware backend.
14940
14941 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14942
14943         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14944         if we've got GLib 2.8.0
14945
14946 2005-10-18  Robert Love  <rml@novell.com>
14947
14948         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14949           function nm_schedule_state_change_signal_broadcast() when we
14950           deactivate a device, too.
14951
14952 2005-10-18  Robert Love  <rml@novell.com>
14953
14954         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14955           be used uninitialized.
14956
14957 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14958
14959         * test/libnm_glib_test.c: Test unregistering, too.
14960
14961 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14962
14963         * configure.in: Bump to 0.5.0
14964
14965 2005-10-17  Dan Williams  <dcbw@redhat.com>
14966
14967         * NetworkManager.h
14968                 - Remove WPA-related constants so they aren't part of the
14969                         upcoming release.
14970
14971 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14972
14973         * gnome/applet/applet.c:
14974         * gnome/applet/applet.h:
14975         Desensitize the 'Connection Information' menu item when there is
14976         no active connection.
14977
14978 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14979
14980         * gnome/libnm_glib/libnm_glib.c:
14981         Make libnm_glib_unregister_callback () actually unregister the callback
14982
14983 2005-10-17  Robert Love  <rml@novell.com>
14984
14985         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14986           two seconds -- tries is updated every 1/10 of a second, not every
14987           second..
14988
14989 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14990
14991         * gnome/applet/applet-dbus-info.c:
14992         Let D-BUS know that we haven't handled a message when we haven't.
14993
14994 2005-10-17  Robert Love  <rml@novell.com>
14995
14996         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14997           in order to remain 64-bit clean.
14998
14999 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15000
15001         * gnome/applet/applet-dbus-info.c:
15002         Find network encryption keys asynchronously
15003
15004 2005-10-17  Robert Love  <rml@novell.com>
15005
15006         * src/backends/NetworkManagerDebian.c,
15007           src/backends/NetworkManagerRedHat,
15008           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15009           comment delimiter.
15010
15011 2005-10-17  Robert Love  <rml@novell.com>
15012
15013         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15014           "/etc"
15015
15016 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15017
15018         * src/NetworkManagerDevice.c: (process_scan_results)
15019         Fix logic that checks to see whether we have an ESSID.
15020
15021 2005-10-15  Dan Williams  <dcbw@redhat.com>
15022
15023         Move scanning code into NetworkManager rather than use iwlib's
15024         iw_scan() function, so that we can figure out AP capabilities.
15025
15026         * NetworkManager.h
15027                 - Add AP capability bits
15028
15029         * src/NetworkManagerAP.[ch]
15030                 - Add capability field to NMAccessPoint structure
15031                 - Add WPA & RSN Information Element fields and accessor
15032                         functions to NMAccessPoint
15033
15034         * src/NetworkManagerDevice.c
15035                 - Remove usage of iw_scan
15036                 - Add scanning code to NetworkManager rather than use
15037                         iw_scan() from iwlib
15038
15039         * src/NetworkManagerUtils.[ch]
15040                 - (nm_dispose_scan_results): remove, unused
15041
15042 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15043
15044         * gnome/libnm_glib/libnm_glib.c:
15045         * gnome/libnm_glib/libnm_glib.h:
15046         Use guint instead of gint for callback IDs.
15047
15048 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15049
15050         * gnome/applet/applet.c:
15051         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15052         every 1000ms.  It will unconditionally call nmwa_update_state which
15053         kills the existing animation timeout and registers a new one with a
15054         callback to draw a new frame every 100ms.  There are 11 connecting
15055         icon frames, so the last 2 frames kept getting dropped.  Only reset
15056         the animation timeout if we aren't animating.
15057
15058 2005-10-11  Dan Williams  <dcbw@redhat.com>
15059
15060         * gnome/applet/applet-dbus-devices.c
15061                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15062                         We want to grab the product & vendor from net.physical_dev
15063                         rather than info.parent.
15064
15065 2005-10-11  Dan Williams  <dcbw@redhat.com>
15066
15067         * src/NetworkManagerDevice.c
15068                 - Use the driver's WE version for scanning rather than
15069                         the WE version NM was compiled with.  Fixes random
15070                         crashes in iw_scan () in iwlib.
15071
15072 2005-10-10  Dan Williams  <dcbw@redhat.com>
15073
15074         * Remove nm_system_load_device_modules() from backend files
15075                 and from NetworkManager.c
15076
15077 2005-10-10  Dan Williams  <dcbw@redhat.com>
15078
15079         * src/NetworkManagerPolicy.c
15080                 - Fix some bugs introduced by the capabilities patch
15081
15082 2005-10-10  Dan Williams  <dcbw@redhat.com>
15083
15084         * gnome/applet/applet-dbus-info.c
15085                 - (nmi_dbus_get_network_key): hide the menu when putting up
15086                         the keyring dialog.  (not sure if the code is right...)
15087
15088 2005-10-09  Dan Williams  <dcbw@redhat.com>
15089
15090         Patch from Bill Moss <bmoss@clemson.edu>
15091         * src/NetworkManagerDevice.c
15092                 - (nm_device_set_user_key_for_network): don't try to set auth
15093                         mode on the AP from the allowed list if it's NULL
15094
15095 2005-10-09  Dan Williams  <dcbw@redhat.com>
15096
15097         * Replace the "driver support level" stuff with capabilities.  The
15098                 capability field is a bitfield that is more flexible than the
15099                 old driver support level thing.  It's mostly so we can easily
15100                 figure out what supports WPA and what doesn't, but should be
15101                 quite useful later.
15102
15103 2005-10-09  Dan Williams  <dcbw@redhat.com>
15104
15105         * test/nmtest.c
15106                 - Removed
15107
15108         * test/nm-tool.c
15109           test/Makefile.am
15110                 - Added new "nm-tool" tool that gives quite a bit more
15111                         information
15112
15113 2005-10-07  Robert Love  <rml@novell.com>
15114
15115         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15116           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15117           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15118           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15119           appropriate
15120
15121 2005-10-07  Robert Love  <rml@novell.com>
15122
15123         * configure.in: Change our compile flags for the betterment of mankind.
15124           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15125           prototype is very bad on 64-bit platforms as types default to int but
15126           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15127           "-Wmissing-declarations" to warn if we define an exported function
15128           but fail to put it in a header.
15129
15130 2005-10-07  Robert Love  <rml@novell.com>
15131
15132         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15133           by the name nm_update_device_wireless_timeouts() and once tried,
15134           without success, to steal my pet turtle.
15135
15136 2005-10-07  Robert Love  <rml@novell.com>
15137
15138         * Cleanup prototypes: put some functions in header files and mark
15139           others as 'static' -- feel free to invert
15140         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15141           nm_vpn_manager_vpn_connection_list_copy()
15142         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15143           nm_vpn_service_get_dbus_connection()
15144         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15145           nm_vpn_manager_vpn_connection_list_copy()
15146         * src/vpn-manager/nm-vpn-service.c: make
15147           nm_vpn_service_act_request_failed() and
15148           nm_vpn_service_stage2_daemon_wait() static
15149         * src/vpn-manager/nm-vpn-service.h: add prototype for
15150           nm_vpn_service_get_dbus_connection()
15151
15152 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15153
15154         * gnome/applet/applet.c:
15155         * gnome/applet/applet.h:
15156         * gnome/applet/icons/Makefile.am:
15157         Convey information about the current connection stage in the
15158         icons themselves instead of creating a separate progress bar.
15159
15160 2005-10-04  Robert Love  <rml@novell.com>
15161
15162         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15163           convert an ether_addr structure's MAC into a string, because the
15164           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15165           versus 07:3B:04, while the former will not.
15166
15167 2005-10-04  Robert Love  <rml@novell.com>
15168
15169         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15170           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15171           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15172           default route in the 'Connection Information' dialog, send primary
15173           and secondary name servers in in "getProperties" DBUS method, add
15174           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15175           secondary domain name servers are crucial pieces of information
15176           that a user might need in debugging a network problem.
15177
15178 2005-10-04  Robert Love  <rml@novell.com>
15179
15180         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15181           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15182           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15183           default route in the 'Connection Information' dialog, send default
15184           route in "getProperties" DBUS method, add network_device_set_route(),
15185           and network_device_get_route().  The Gateway is a crucial piece of
15186           connection-related information that a user might need in debugging a
15187           network problem.
15188
15189 2005-10-03  Robert Love  <rml@novell.com>
15190
15191         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15192           NULL.
15193
15194 2005-10-02  Dan Williams  <dcbw@redhat.com>
15195
15196         * Shorten time taken to sleep by fastpathing bits of device deactivation
15197                 necessary for sleep.
15198
15199         * Fix issue where deactivating a device might deactivate the active
15200                 VPN connection, even if the VPN was not using the device.
15201
15202 2005-10-02  Dan Williams  <dcbw@redhat.com>
15203
15204         * gnome/applet/applet.c
15205                 - Adjust signal strength -> icon mapping values slightly
15206                         (so that 51% signal doesn't show a 75% icon) by adding
15207                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15208                         shows 50% icon, etc.
15209
15210 2005-09-29  Robert Love  <rml@novell.com>
15211
15212         * src/NetworkManager.c: removed unused variable.
15213
15214 2005-09-28  Dan Williams  <dcbw@redhat.com>
15215
15216         Support for named + DBus, using Red Hat DBus patches for named.  You
15217         can find those patches here, with "dbus" in the patch's filename:
15218
15219                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15220
15221         Don't forget the named dbus service file either.
15222
15223         Instead of writing a config file and spawing a named process, NM will
15224         use an already-running dbus-enabled named if it finds one.  NM will
15225         update named's forwarder configuration on the fly using dbus.
15226
15227         If there is no dbus-enabled named running, NM will automatically fall
15228         back to writing the most-recent DNS server information to /etc/resolv.conf
15229         and calling nm_system_update_dns() to kick the system's resolver.
15230
15231         Accordingly, all named-related configure-time options have been removed.
15232
15233 2005-09-26  Robert Love  <rml@novell.com>
15234
15235         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15236           ISDN support!
15237         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15238           bug in error path if "ASKPASSWORD" is "no".
15239
15240 2005-09-26  Robert Love  <rml@novell.com>
15241
15242         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15243           comment in /etc/resolv.conf -- ';' is not.
15244
15245 2005-09-19  Dan Williams  <dcbw@redhat.com>
15246
15247         * src/backends/NetworkManagerRedHat.c:
15248         * src/backends/NetworkManagerDebian.c:
15249         * src/backends/NetworkManagerSlackware.c:
15250         * src/backends/NetworkManagerGentoo.c:
15251         * src/backends/NetworkManagerSUSE.c:
15252         Fix invocations of "/sbin/ip address" to use short form instead
15253
15254 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15255
15256         * src/nm-dbus-device.c: Don't assert when getting
15257         addresses of a not yet connected interface.
15258
15259         * gnome/applet/applet.c: Free icons if loading fails.
15260         Use translator-credits so translators can make themselves known.
15261
15262 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15263
15264         * src/NetworkManagerAP.c:
15265         * src/NetworkManagerAP.h:
15266         * src/NetworkManagerDevice.c:
15267         Set a blacklist for certain common manufacturer default ESSIDs:
15268         APs with these ESSIDs are extremely likely to be completely
15269         different networks: connecting to one should not make NM
15270         auto-connect to every other AP with the same default ESSID.
15271
15272 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15273
15274         * gnome/applet/wireless-applet.glade:
15275         The passphrase entry should also activate the default
15276
15277         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15278
15279         * gnome/applet/applet-dbus-devices.c:
15280         * gnome/applet/applet.c:
15281         * gnome/applet/nm-device.c:
15282         * gnome/applet/nm-device.h:
15283         * src/NetworkManagerUtils.c:
15284         * src/NetworkManagerUtils.h:
15285         * src/nm-dbus-device.c:
15286         I've got a fever, and the only cure for it is less ioctl.
15287         Make NM push IP data rather than make the applet open a socket
15288         to the device.
15289
15290 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15291
15292         * gnome/applet/applet.c:
15293         * gnome/applet/applet-dbus-devices.c:
15294         * gnome/applet/applet-dbus-info.c:
15295         * gnome/applet/passphrase-dialog.c:
15296         * gnome/libnm_glib/libnm_glib.c:
15297         * gnome/vpn-properties/nm-vpn-properties.c:
15298         * src/autoip.c:
15299         * src/backends/NetworkManagerRedHat.c:
15300         * src/named-manager/nm-named-manager.c:
15301         * src/NetworkManagerAPList.c:
15302         * src/NetworkManager.c:
15303         * src/NetworkManagerDbus.c:
15304         * src/NetworkManagerDevice.c:
15305         * src/NetworkManagerPolicy.c:
15306         * src/NetworkManagerSystem.c:
15307         * src/nm-dbus-device.c:
15308         * src/nm-dbus-nm.c:
15309         * src/vpn-manager/nm-vpn-manager.c:
15310         * src/vpn-manager/nm-vpn-service.c:
15311         * test/libnm_glib_test.c:
15312         * test/nminfotest.c:
15313         * test/nmtestdevices.c:
15314         Fix a bunch of 'unused variable' compiler warnings
15315
15316         * NetworkManager.h:
15317         * gnome/applet/applet-dbus-info.c:
15318         * gnome/applet/applet-dbus-info.h:
15319         * gnome/applet/applet.c:
15320         * gnome/applet/applet.h:
15321         * src/NetworkManager.c:
15322         * src/NetworkManagerDbus.c:
15323         * src/NetworkManagerDbus.h:
15324         * src/NetworkManagerDevice.c:
15325         * src/NetworkManagerDevice.h:
15326         * src/NetworkManagerMain.h:
15327         * src/NetworkManagerWireless.c:
15328         * src/NetworkManagerWireless.h:
15329         * src/nm-dbus-nm.c:
15330         Make NetworkManager be smart about how frequently to scan
15331         based on its current state.  Remove the UI for choosing when
15332         to scan.  Scanning still may disabled completely by the user
15333         via the "Wireless Enabled" menu item.
15334
15335 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15336
15337         * gnome/applet/applet.c:
15338         Also overlay the vpn connecting icons onto the wired icon,
15339         when appropriate.
15340
15341         * gnome/vpn-properties/nm-vpn-properties.glade:
15342         Clean up a few strings to use better grammar and proper casing.
15343
15344 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15345
15346         * gnome/applet/vpn-connection.c:
15347         * gnome/applet/vpn-connection.h:
15348         Add nmwa_vpn_connection_is_activating ()
15349
15350         * gnome/applet/applet.c:
15351         * gnome/applet/applet.h:
15352         * gnome/applet/icons/nm-vpn-connecting*.png:
15353         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15354         the user know something's happening between clicking the VPN item and it
15355         actually being connected.
15356
15357 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15358
15359         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15360         failure case as well.
15361
15362 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15363
15364         * gnome/panel/eggtrayicon.[ch]:
15365         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15366
15367 2005-09-07  Dan Williams  <dcbw@redhat.com>
15368
15369         Patch from Bill Moss <bmoss@clemson.edu>
15370         * src/applet-dbus.c
15371                 - (nmwa_dbus_filter): strip whitespace from beginning
15372                         and end of VPN login banner
15373
15374 2005-09-07  Dan Williams  <dcbw@redhat.com>
15375
15376         * The great VPN Manager rewrite of 2005
15377
15378 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15379
15380         * gnome/applet/menu-items.c:
15381         * gnome/applet/nm-device.c:
15382         * gnome/applet/wireless-network.c:
15383         * gnome/libnm_glib/libnm_glib.c:
15384         * src/NetworkManagerDbusUtils.c:
15385         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15386         g_malloc0 doesn't return NULL
15387
15388 2005-09-06  Dan Williams  <dcbw@redhat.com>
15389
15390         Patch from Tomislav Vujec <tvujec@redhat.com>
15391         * src/NetworkManagerDevice.c
15392                 - (nm_get_device_by_udi): don't return a device when we
15393                         actually didn't find what we were looking for
15394
15395 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15396
15397         * gnome/applet/applet-dbus-devices.c:
15398         * gnome/applet/applet-dbus-devices.h:
15399         * gnome/applet/applet-dbus.c:
15400         * src/NetworkManagerDbus.c:
15401         * src/NetworkManagerDbus.h:
15402         * src/NetworkManagerDevice.c:
15403         * src/nm-dbus-device.c:
15404         Make NM push updates about active device strength when it changes,
15405         rather than having the applet poll every 2s.
15406
15407 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15408
15409         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15410         network_device_set_strength
15411
15412 2005-09-04  Dan Williams  <dcbw@redhat.com>
15413
15414         Patch from Bill Nottingham <notting@redhat.com>
15415         * src/NetworkManagerDevice.c
15416                 - (nm_device_activation_cancel): reset the quit_activation flag
15417
15418 2005-09-04  Dan Williams  <dcbw@redhat.com>
15419
15420         * src/nm-activation-request.c
15421                 - (nm_act_request_unref): actually free the structure,
15422                         which we didn't seem to be doing before
15423
15424 2005-09-04  Dan Williams  <dcbw@redhat.com>
15425
15426         Patch from John Palmieri <johnp@redhat.com>
15427         * gnome/applet/applet-dbus-devices.c
15428                 - Fix up unreffing of DBusMessage objects
15429
15430 2005-09-04  Dan Williams  <dcbw@redhat.com>
15431
15432         Patch from John Palmieri <johnp@redhat.com>
15433         * gnome/applet/nm-device.c
15434                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15435
15436 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15437
15438         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15439
15440 2005-09-02  Bill Nottingham  <notting@redhat.com>
15441
15442         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15443
15444 2005-09-01  Dan Williams  <dcbw@redhat.com>
15445
15446         * src/NetworkManager.c
15447                 - (nm_remove_device_from_list): rename to nm_remove_device
15448                 - (nm_hal_device_removed): call nm_remove_device()
15449
15450         * src/NetworkManagerDevice.c
15451                 - Change the NMWirelessScanCB member 'reschedule' which
15452                         wasn't used to 'force' to indicate that we need to
15453                         force a scan when adding a device
15454
15455         * src/nm-dbus-nm.c
15456                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15457                         from the device list
15458                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15459
15460 2005-09-01  Robert Love  <rml@novell.com>
15461
15462         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15463           and the check "!iface" in the error case is probably never true.
15464
15465 2005-09-01  Dan Williams  <dcbw@redhat.com>
15466
15467         Patch from Bill Nottingham <notting@redhat.com>
15468         * src/backends/NetworkManagerRedHat.c
15469                 - Add initial dialup support to Red Hat/Fedora backend
15470
15471 2005-09-01  Dan Williams  <dcbw@redhat.com>
15472
15473         * gnome/applet/applet-dbus-devices.c
15474                 - Sort both wireless networks and devices again, which got
15475                         broken when removing threading
15476
15477 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15478
15479         * gnome/applet/applet.c:
15480         Only show the "Stop/Start All Wireless Devices" menuitem
15481         if we actually have wireless devices.
15482
15483         * gnome/applet/applet-dbus-info.c:
15484         * gnome/applet/applet.c:
15485         * gnome/applet/other-network-dialog.c:
15486         * gnome/applet/vpn-password-dialog.c:
15487         Drop the gtk_dialog_run () calls in favor of connecting to
15488         "response" signals, needed now that the applet is not threaded.
15489
15490 2005-08-31  Dan Williams  <dcbw@redhat.com>
15491
15492         Patch from Bill Moss <bmoss@clemson.edu>
15493         * src/NetworkManagerDevice.c
15494                 - (nm_device_wireless_scan): fix scan timeout values
15495
15496 2005-08-30  Dan Williams  <dcbw@redhat.com>
15497
15498         * gnome/applet/wireless-applet.glade
15499                 - HIG-ify the Other Wireless Networks dialog a bit more
15500                 - Fix some potential segfaults in the info dialog
15501
15502 2005-08-30  Dan Williams  <dcbw@redhat.com>
15503
15504         * gnome/applet/applet-dbus-devices.c
15505                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15506
15507 2005-08-30  Dan Williams  <dcbw@redhat.com>
15508
15509         * gnome/applet/applet-dbus.[ch]
15510                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15511                         they weren't being used anyway
15512
15513 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15514
15515         * test/nmtestdevices.c: (print_usage), (main):
15516         Check the number of arguments, and fix a typo
15517
15518 2005-08-29  Dan Williams  <dcbw@redhat.com>
15519
15520         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15521         * gnome/applet/applet.c
15522                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15523
15524 2005-08-29  Dan Williams  <dcbw@redhat.com>
15525
15526         * gnome/applet/*
15527                 - Don't use threads any more.  Anything that blocks
15528                         (like gtk_dialog_run()) will  have to get fixed up which
15529                         should happen quickly.  We really only had threads to make
15530                         the animation smooth, and when everything got converted over
15531                         to DBus Pending Calls, the need for threads kind of went away
15532
15533 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15534
15535         * gnome/applet/applet.c: Draw VPN connections as radio items
15536         since we don't yet support multiple VPNs.
15537         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15538         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15539
15540 2005-08-29  Dan Williams  <dcbw@redhat.com>
15541
15542         Patch from j@bootlab.org
15543         - Make --without-named work
15544         - Make --with-dhcdbd work correctly
15545
15546 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15547
15548         * configure.in: Added "ca" to ALL_LINGUAS.
15549
15550 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15551
15552         * Fix up VPN state handling between the applet and NetworkManager,
15553                 so that the applet doesn't show a VPN as connected when one
15554                 really is not
15555                         - The applet no longer has a pointer to the active VPN's
15556                                 name, but tracks each VPNs state individually
15557                         - NM no longer has a "getActiveVPNConnection" method
15558                         - NM no longer broadcasts the "VPNConnectionChange" signal
15559                         - NM now broadcasts a "VPNConnectionStateChange" signal
15560                                 whenever the state of a VPN changes
15561
15562 2005-08-26  Dan Williams <dcbw@redhat.com>
15563
15564         * gnome/applet/applet-dbus-devices.c
15565           gnome/applet/applet-dbus-vpn.c
15566                 - Remove calls to dbus_pending_call_ref() because we already
15567                         "own" the pending call
15568                 - Remove calls to dbus_pending_call_get_completed() because
15569                         when we are in the callback, the pending call is completed
15570                         by definition
15571
15572 2005-08-22  Dan Williams <dcbw@redhat.com>
15573
15574         Patch by Bill Moss <bmoss@clemson.edu>
15575         * src/dhcp-manager/nm-dhcp-manager.c
15576                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15577                         some time to send out a RELEASE if they like
15578
15579 2005-08-22  Dan Williams <dcbw@redhat.com>
15580
15581         Noticed by Bill Moss <bmoss@clemson.edu>
15582         * src/NetworkManagerDbus.c
15583                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15584                         instead of just cancelling its activation
15585
15586         * src/NetworkManagerDevice.c
15587                 - (nm_device_deactivate): some small cleanups
15588                 - (nm_device_set_user_key_for_network): deactivate the device
15589                         instead of just cancelling its activation
15590
15591 2005-08-22  Dan Williams <dcbw@redhat.com>
15592
15593         Noticed by Bill Moss <bmoss@clemson.edu>
15594         * src/NetworkManagerDevice.c
15595                 - (nm_device_wireless_scan): fix scan timeout, we were
15596                         waiting way too long for scans to complete
15597
15598 2005-08-22  Dan Williams <dcbw@redhat.com>
15599
15600         Patch from j@bootlab.org:
15601         * src/backends/NetworkManagerDebian.c
15602                 - Make the Debian backend work for static IP again
15603
15604 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15605
15606         * gnome/applet/other-network-dialog.c:
15607         The "Create New Network" and "Connect to Other Network"
15608         dialogs share alot of code, but shouldn't share a window
15609         title.  Give them different ones.
15610
15611         * gnome/applet/wireless-applet.glade:
15612         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15613         Some more minor UI tweaks.
15614
15615 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15616
15617         * gnome/applet/other-network-dialog.c:
15618         * gnome/applet/wireless-applet.glade:
15619         Also need mnemonic widgets, and underline enabled.
15620
15621 2005-08-19  Dan Williams <dcbw@redhat.com>
15622
15623         * vpn-daemons/vpnc/nm-vpnc-service.c
15624                 - (vpnc_watch_cb): remove no-longer-relevant comment
15625                 - (write_config_option): new function, helper to write
15626                         config options to vpnc's stdin
15627                 - (nm_vpnc_config_write): use the new helper, make the
15628                         code shorter
15629
15630 2005-08-19  Christopher Aillon <caillon@redhat.com>
15631
15632         * gnome/applet/passphrase-dialog.c:
15633         * gnome/applet/wireless-applet.glade:
15634         Make the passphrase dialog response based, and treat
15635         responses other than OK (such as Esc, [X]) as a cancel.
15636
15637 2005-08-18  Christopher Aillon <caillon@redhat.com>
15638
15639         * initscript/Gentoo/NetworkManager:
15640         * initscript/RedHat/NetworkManager:
15641         * initscript/RedHat/NetworkManagerDispatcher:
15642         * initscript/SUSE/networkmanager:
15643         CVS remove these in place of .in replacements
15644
15645         * configure.in:
15646         * initscript/Gentoo/NetworkManager.in:
15647         * initscript/RedHat/NetworkManager.in:
15648         * initscript/RedHat/NetworkManagerDispatcher.in:
15649         * initscript/SUSE/networkmanager.in:
15650         These scripts now are generated so they work still when
15651         NM is built using a bindir other than /usr/bin
15652
15653 2005-08-18  Dan Williams <dcbw@redhat.com>
15654
15655         * gnome/applet/main.c
15656                 - Revert previous change for --no-session since
15657                         --sm-disable does the same thing
15658
15659 2005-08-18  Dan Williams <dcbw@redhat.com>
15660
15661         * gnome/applet/applet-dbus-info.c
15662                 - (nmi_dbus_create_error_message): new function
15663                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15664                         functions.  Also don't check for both device _and_ network before
15665                         asking for a user's key, because we may not have gotten all our
15666                         networks back from NM quite yet (due to the dbus pending calls
15667                         coming in later).  Fixes a hang in NM/nm-applet.
15668
15669         * src/NetworkManagerDbus.c
15670                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15671                         slightly more sane manner, even though we are still broken for
15672                         certain other error conditions.
15673                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15674                         to the info-daemon too
15675
15676         * src/NetworkManagerDevice.c
15677                 - Fix some debug messages to be info messages instead
15678
15679 2005-08-18  Dan Williams <dcbw@redhat.com>
15680
15681         * gnome/applet/main.c
15682                 - Add new "--no-session" parameter that disables applet
15683                         session management, ie for testing
15684
15685 2005-08-18  Christopher Aillon <caillon@redhat.com>
15686
15687         * gnome/applet/other-network-dialog.c:
15688         * gnome/applet/wireless-applet.glade: More mnemonics
15689
15690 2005-08-17  Robert Love  <rml@novell.com>
15691
15692         * initscript/SUSE/networkmanager: update
15693
15694 2005-08-17  Dan Williams  <dcbw@redhat.com>
15695
15696         * Tag NM_0_4_1_RELEASE
15697
15698 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15699
15700         * gnome/applet/applet.c: More translatable string cleanup
15701
15702
15703 2005-08-17  Dan Williams  <dcbw@redhat.com>
15704
15705         * gnome/applet/applet-dbus-info.c
15706                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15707                         from the dbus message, which tells us to unconditionally
15708                         ask the user for a new key.  Otherwise, we pull the key from
15709                         the keyring and return it.  If we fail to get the key from the
15710                         keyring, we ask the user for a new key.
15711                 - (nmi_dbus_get_network_key): new function to grab the key for
15712                         an essid from the keyring.
15713                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15714                         Also, don't return any key in the dbus message.
15715
15716         * src/NetworkManagerDbus.[ch]
15717                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15718                         indicate that we unconditionally want a new key.  This function
15719                         is now also used to get keys from the info-daemon which are
15720                         pre-stored, not just for asking the user for a new key.  The
15721                         "new_key" parameter indicates whether or not we wish to ask the
15722                         user for a new key.
15723                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15724                         info-daemon in the return message, so use NULL instead.  The
15725                         key will be filled in at connect time by calling
15726                         nm_dbus_get_user_key_for_network()
15727
15728         * src/NetworkManagerDevice.c
15729                 - (nm_device_wireless_configure): update for "new_key" param to
15730                         nm_dbus_get_user_key_for_network().  We initially set new_key
15731                         to FALSE to see if we have a stored key in the info-daemon, but
15732                         if the connection is unsuccessful at this stage we request a
15733                         new one
15734
15735 2005-08-17  Dan Williams  <dcbw@redhat.com>
15736
15737         * gnome/applet/icons/nm-no-connection.png
15738           gnome/applet/icons/nm-device-wired.png
15739                 - Use Diana's new RJ45 connector icons
15740
15741 2005-08-17  Dan Williams  <dcbw@redhat.com>
15742
15743         * src/NetworkManagerPolicy.c
15744                 - (nm_policy_device_change_check): clarify switching rules if
15745                         both new and old devices are valid; mainly, don't switch
15746                         away from user-requested wireless connection back to a wired
15747                         one
15748
15749 2005-08-17  Dan Williams  <dcbw@redhat.com>
15750
15751         * gnome/applet/Makefile.am
15752                 - Relocate the applet to /usr/bin since it is no longer
15753                         executed by anything, but directly by the user
15754
15755 2005-08-17  Dan Williams  <dcbw@redhat.com>
15756
15757         Patch from Bill Moss <bmoss@clemson.edu>
15758
15759         * gnome/applet/applet-dbus-info.[ch]
15760                 - (nmi_save_network_info): save timestamp for network if it
15761                         was a change requested by the user
15762                 - (nmi_dbus_update_network_info): get user_requested from dbus
15763                         message and pass to nmi_save_network_info()
15764
15765         * gnome/applet/applet.c
15766                 - (nmwa_update_network_timestamp): remove
15767                 - (nmwa_menu_item_activate): don't set timestamp on networks
15768                         here, only after a successful connect in nmi_save_network_info()
15769
15770         * src/NetworkManagerDbus.[ch]
15771                 - (nm_dbus_update_network_info): pass user_requested into the 
15772                         dbus message
15773
15774         * src/NetworkManagerPolicy.c
15775                 - (nm_policy_activation_finish): pass user_requested to
15776                         nm_dbus_update_network_info()
15777
15778 2005-08-16  Robert Love  <rml@novell.com>
15779
15780         * gnome/applet/applet.c: Better "Dial Up" menu item.
15781
15782 2005-08-16  Robert Love  <rml@novell.com>
15783
15784         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15785           "Connection Information" menu item.
15786
15787 2005-08-16  Dan Williams  <dcbw@redhat.com>
15788
15789         Patch from j@bootlab.org
15790         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15791
15792         * configure.in: allow specifying the path to dhcdbd
15793
15794 2005-08-16  Robert Love  <rml@novell.com>
15795
15796         Patch from j@bootlab.org
15797         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15798           src/backends/interface_parser.h: Debian dialup support.
15799
15800 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15801
15802         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15803         * gnome/applet/applet.c: Add some mnemonics for VPNC
15804
15805         * vpn-daemons/.cvsignore: fix this up a little bit
15806
15807 2005-08-16  Robert Love  <rml@novell.com>
15808
15809         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15810           support.
15811
15812 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15813
15814         * gnome/applet/applet.c: Split markup out of translatable strings
15815         and clean up logic a little bit.  (fixes #309012)
15816
15817 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15818
15819         * gnome/vpn-properties/nm-vpn-properties.c:
15820         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15821         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15822         Makeshift fix to remove newlines from translatable strings.
15823         Note that we now return an allocated string, so callers of
15824         get_confirmation_details () must now call g_free () on the
15825         result. (fixes #309033).
15826
15827 2005-08-12  Robert Love  <rml@novell.com>
15828
15829         * gnome/applet/applet-dbus.c: remove newlines from translatable
15830           strings--not needed here anyway. (fix b.g.o #309011)
15831         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15832
15833 2005-08-11  Robert Love  <rml@novell.com>
15834
15835         * gnome/applet/applet.c: mark string as translatable.
15836
15837 2005-08-11  Robert Love  <rml@novell.com>
15838
15839         * initscript/SUSE/networkmanager: update.
15840
15841 2005-08-11  Dan Williams  <dcbw@redhat.com>
15842
15843         * src/nm-dhcp-manager.c
15844                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15845                         an gateway returned from DHCP, try to use the address of the DHCP
15846                         server as the gateway instead.  Found by Ralf Ertzinger.
15847
15848 2005-08-10  Robert Love  <rml@novell.com>
15849
15850         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15851           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15852
15853 2005-08-10  Dan Williams  <dcbw@redhat.com>
15854
15855         Patch from Bill Moss <bmoss@clemson.edu>
15856         * Consolidate writes of access point information updates to the info daemon
15857                 so that we only do it when the connection to the access point was
15858                 successful.  Also consolidates updates to GConf in the Gnome applet.
15859
15860         * src/nm-netlink-monitor.c
15861                 - Silence compile warning when calling g_object_new()
15862
15863 2005-08-08  Dan Williams  <dcbw@redhat.com>
15864
15865         Patch from Steev <steev@steev.net>:
15866         * src/backends/NetworkManagerGentoo.c
15867                 - Stub new dialup backend functions
15868
15869 2005-08-08  Dan Williams  <dcbw@redhat.com>
15870
15871         Patch from Colin Slater:
15872         * src/backends/NetworkManagerGentoo.c
15873                 - (nm_system_update_dns): Fix exit status check for restarting
15874                         nscd
15875
15876 2005-08-05  Robert Love  <rml@novell.com>
15877
15878         * NetworkManager.h,
15879           gnome/applet/applet-dbus-devices.c,
15880           gnome/applet/applet-dbus-devices.h,
15881           gnome/applet/applet-dbus.c,
15882           gnome/applet/applet.c,
15883           gnome/applet/applet.h,
15884           src/NetworkManager.c,
15885           src/NetworkManagerMain.h,
15886           src/NetworkManagerSystem.h,
15887           src/backends/NetworkManagerRedHat.c,
15888           src/backends/NetworkManagerSuSE.c,
15889           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15890
15891 2005-08-05  Robert Love  <rml@novell.com>
15892
15893         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15894           machine's hostname to make adhoc creation idiot-proof.
15895
15896 2005-08-04  Robert Love  <rml@novell.com>
15897
15898         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15899           freed.
15900
15901 2005-08-04  Dan Williams  <dcbw@redhat.com>
15902
15903         * gnome/applet/applet-dbus-info.c
15904           gnome/applet/applet-dbus-info.h
15905                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15906                         to store key, key type, and auth method rather than just auth method
15907                 - (nmi_dbus_update_network_info): new function
15908                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15909
15910         * gnome/applet/passphrase-dialog.c
15911                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15912                         of saving the info ourselves
15913
15914         * gnome/libnm_glib/libnm_glib.c
15915                 - Remove the stupid version check for dbus
15916
15917         * src/NetworkManagerAP.c
15918           src/NetworkManagerAP.h
15919                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15920
15921         * src/NetworkManagerDbus.c
15922           src/NetworkManagerDbus.h
15923                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15924                         more than just the auth method
15925
15926         * src/NetworkManagerDevice.c
15927                 - Update network info at the appropriate times
15928
15929 2005-07-29  Ray Strode  <rstrode@redhat.com>
15930
15931         * src/NetworkManager.c (nm_info_handler): don't use input as format
15932         string (Spotted by Ian Jackson).
15933
15934 2005-07-27  Dan Williams  <dcbw@redhat.com>
15935
15936         * src/nm-dbus-nm.c
15937           src/nm-dbus-net.c
15938                 - Random cleanups of spacing
15939
15940         * gnome/applet/applet.h
15941           gnome/applet/other-network-dialog.c
15942           gnome/applet/passphrase-dialog.c
15943                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15944
15945         Patch from Bill Moss:
15946                 - Make Other Wireless Networks work again with encryption keys
15947
15948 2005-07-26  Dan Williams  <dcbw@redhat.com>
15949
15950         Patch from Steev <steev@steev.net>:
15951         * src/backends/NetworkManagerGentoo.c
15952           src/backends/Makefile.am
15953                 - Fix up Gentoo backend
15954
15955 2005-07-26  Robert Love  <rml@novell.com>
15956
15957         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15958
15959 2005-07-25  Robert Love  <rml@novell.com>
15960
15961         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15962           in the same group as the wireless networks, since they are all
15963           mutually exclusive.
15964
15965 2005-07-24  Ray Strode  <rstrode@redhat.com>
15966
15967         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15968         remove unneeded NULL arg from g_object_new().  Any
15969         warnings caused by not having the extra NULL are just a
15970         result of a bug in glib 2.7.0 - 2.7.2.
15971
15972 2005-07-22  Robert Love  <rml@novell.com>
15973
15974         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15975
15976 2005-07-22  Robert Love  <rml@novell.com>
15977
15978         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15979           parameters (gcc 4.0.2 warning fix).
15980
15981 2005-07-18  Robert Love  <rml@novell.com>
15982
15983         Suggested by Aaron Bockover (abockover@novell.com)
15984         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15985           s/Ascii/ASCII
15986         * gnome/applet/passphrase-dialog.c: ditto
15987         * gnome/applet/wireless-applet.glade: ditto
15988
15989 2005-07-13  Dan Williams  <dcbw@redhat.com>
15990
15991         Patch from Ray Strode <halfline@gmail.com>
15992         * vpn-daemons/vpnc/nm-vpnc-service.c
15993                 - Don't let vpnc daemonize, fixes some races with PID file reading
15994
15995 2005-07-13  Dan Williams  <dcbw@redhat.com>
15996
15997         Patch from Ray Strode <halfline@gmail.com>
15998         * Random cleanups for strict CFLAGS
15999
16000 2005-07-07  Dan Williams  <dcbw@redhat.com>
16001
16002         Patch from Derek Atkins <warlord@MIT.EDU>
16003         * src/nm-dbus-net.c:
16004                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16005
16006 2005-07-07  Dan Williams  <dcbw@redhat.com>
16007
16008         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16009         * src/backends/NetworkManagerGentoo.c
16010                 - Gentoo backend Static IP nameserver fixes
16011                 - General Gentoo backend goodness
16012
16013 2005-07-07  Dan Williams  <dcbw@redhat.com>
16014
16015         Patch from Bastien Nocera:
16016         * gnome/applet/applet.c
16017                 - Fix up error reporting when icons or glade files are missing
16018
16019 2005-07-07  Robert Love  <rml@novell.com>
16020
16021         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16022           are not any VPN connections above it.
16023
16024 2005-07-07  Robert Love  <rml@novell.com>
16025
16026         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16027
16028 2005-07-05  Robert Love  <rml@novell.com>
16029
16030         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16031           zero.
16032
16033 2005-07-05  Robert Love  <rml@novell.com>
16034
16035         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16036           on wired or unencrypted wireless.
16037
16038 2005-07-01  Robert Love  <rml@novell.com>
16039
16040         * src/NetworkManagerSystem.c: Print the error via strerror().
16041
16042 2005-06-30  Robert Love  <rml@novell.com>
16043
16044         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16045           then exit if the glade file is not found.  currently the application
16046           just hangs.
16047
16048 2005-06-30  Robert Love  <rml@novell.com>
16049
16050         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16051           explicitly up all interfaces on wake from sleep.
16052
16053 2005-06-30  Robert Love  <rml@novell.com>
16054
16055         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16056           with information about the currently active connection.
16057         * gnome/applet/applet.h: (ditto)
16058         * gnome/applet/wireless-applet.glade: (ditto), new file
16059
16060 2005-06-30  Robert Love  <rml@novell.com>
16061
16062         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16063         * src/nm-dbus-nm.c: print when we sleep and wake up.
16064         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16065         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16066           in /sbin unless D-BUS is, folks).
16067         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16068
16069 2005-06-27  Robert Love  <rml@novell.com>
16070
16071         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16072           case.
16073
16074 2005-06-27  Robert Love  <rml@novell.com>
16075
16076         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16077           items radios.
16078
16079 2005-06-26  Robert Love  <rml@novell.com>
16080
16081         * src/NetworkManagerDevice.c: be specific about which device in
16082           nm_info() message.
16083
16084 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16085
16086         * src/nm-netlink-monitor.c: correct spelling error.
16087
16088 2005-06-23  Robert Love  <rml@novell.com>
16089
16090         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16091         * gnome/applet/passphrase-dialog.c: more of that keyring!
16092
16093 2005-06-23  Robert Love  <rml@novell.com>
16094
16095         * configure.in: remove extraneous GNOMEKEYRING directives.
16096         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16097         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16098         * gnome/applet/passphrase-dialog.c: whitespace.
16099
16100 2005-06-23  Robert Love  <rml@novell.com>
16101
16102         * src/NetworkManagerDevice.c: division in assignment was flipped.
16103
16104 2005-06-23  David Zeuthen  <david@fubar.dk>
16105
16106         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16107         signal to the child to indicate that we got what we wanted when we
16108         see two new-lines right after each other.
16109         (nmwa_vpn_request_password): Pass a structure with several members
16110         instead of just the passwords
16111
16112 2005-06-23  Dan Williams <dcbw@redhat.com>
16113
16114         * src/NetworkManager.c
16115           src/NetworkManagerMain.h
16116                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16117                 - (nm_hal_init): new function, init libhal context then add devices
16118                 - (nm_hal_deinit): new function, clean up libhal context
16119                 - (nm_data_free): Move Hal cleanup here
16120                 - (main): check whether Hal is running, and if so, get a list of
16121                         network devices from it
16122
16123         * src/NetworkManagerDbus.c
16124                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16125                         and when it appears, get a list of network devices from it.  If
16126                         Hal goes away, clean up the libhal context
16127
16128 2005-06-22  Robert Love  <rml@novell.com>
16129
16130         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16131           permissions of scripts before executing.
16132
16133 2005-06-21  Robert Love  <rml@novell.com>
16134
16135         * initscript/SUSE/networkmanager: update.
16136         * src/backends/NetworkManagerSuSE.c: cleanup.
16137
16138 2005-06-21  Robert Love <rml@novell.com>
16139
16140         * gnome/applet/applet.c: use menu mnemonics.
16141         * gnome/applet/menu-items.c: (ditto)
16142
16143 2005-06-21  Robert Love  <rml@novell.com>
16144
16145         * applet/applet-dbus-devices.c: mark non-static functions static.
16146         * applet/applet-dbus-vpn.c: (ditto)
16147         * applet/applet.c: (ditto)
16148         * applet/nm-device.h: (ditto)
16149         * applet/other-network-dialog.c: (ditto)
16150         * applet/passphrase-dialog.c: (ditto)
16151         * NetworkManager.c: (ditto)
16152         * NetworkManagerDbus.c: (ditto)
16153         * NetworkManagerDevice.c: (ditto)
16154         * NetworkManagerPolicy.c: (ditto)
16155         * NetworkManagerUtils.c: (ditto)
16156         * NetworkManagerWireless.c: (ditto)
16157         * NetworkManagerWireless.h: (ditto)
16158         * nm-netlink-monitor.c: (ditto)
16159         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16160         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16161         * autoip.c: include autoip.h.
16162         * autoip.h: new file.  define get_autoip().
16163         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16164         * NetworkManagerDbus.h: remove duplicate definitions.
16165
16166 2005-06-20  Robert Love  <rml@novell.com>
16167
16168         * Makefile.am: Add missing intltool-foo.in generated files to
16169           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16170           with the start of stuff to cleanup on 'distclea'.
16171         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16172           stuff right and 'distcheck' works.
16173         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16174           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16175           Makefile.am for each.  And systray/Makefile needs to be redone.
16176
16177 2005-06-19  Dan Williams <dcbw@redhat.com>
16178
16179         * src/NetworkManagerDevice.c
16180         - (nm_device_wireless_process_scan_results): scan every 20s when
16181           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16182
16183 2005-06-19  Dan Williams <dcbw@redhat.com>
16184
16185         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16186
16187 2005-06-18  Ray Strode <rstrode@redhat.com>
16188
16189         * src/nm-netlink-monitor.c 
16190         (nm_netlink_monitor_event_handler): check for the presence
16191         of either error condition not both. 
16192         
16193         (nm_netlink_monitor_error_handler): emit error signal if
16194         error occurs.
16195
16196         (nm_netlink_monitor_event_handler),
16197         (nm_netlink_monitor_error_handler),
16198         (nm_netlink_monitor_disconnect_handler): if an 
16199         assertion fails disconnect the event handler to prevent 
16200         infinite loops.
16201
16202         * src/nm-netlink-monitor.h: add new error condition
16203         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16204
16205 2005-06-18  Ray Strode <rstrode@redhat.com>
16206
16207         * src/nm-netlink-monitor.c 
16208         (nm_netlink_monitor_event_handler): remove bogus < 0
16209         check on unsigned value and return early if the kernel
16210         didn't send any bytes.
16211
16212 2005-06-17  Robert Love  <rml@novell.com>
16213
16214         * initscript/SUSE/networkmanager: Change the Provides and default
16215         run levels
16216
16217 2005-06-16  Dan Williams <dcbw@redhat.com>
16218
16219         Patch from Robert Love:
16220         * gnome/applet/applet.c
16221                 - Beautify some applet menu item names
16222
16223 2005-06-17  David Zeuthen  <davidz@redhat.com>
16224
16225         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16226         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16227         Also add new methods can_export, import_file and export.
16228
16229         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16230         to the main UI
16231
16232         * gnome/vpn-properties/nm-vpn-properties.c:
16233         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16234         nm-vpn-ui-interface.h.
16235         (update_edit_del_sensitivity): Also update "Export" sensitivity
16236         (add_vpn_connection): Also add new SVC_NAME column
16237         (import_settings): New function
16238         (retrieve_data_from_selected_connection): New function
16239         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16240         this function
16241         (export_cb): New function
16242         (init_app): Also setup the "export" widget
16243         (main): Support the --import-service and --import-file commandline
16244         arguments
16245
16246         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16247         D-BUS 0.34
16248
16249 2005-06-16  Dan Williams <dcbw@redhat.com>
16250
16251         Patch from Robert Love:
16252         * gnome/applet/menu-items.c
16253                 - (network_menu_item_new): pass -1 as wireless network
16254                         menu items height size request rather than ascent / 2
16255
16256 2005-06-16  Dan Williams <dcbw@redhat.com>
16257
16258         * Clean up wording in Wireless Scan Methods menu items and constants
16259
16260 2005-06-16  Robert Love  <rml@novell.com>
16261
16262         * po/POTFILES.in
16263                 - remove gtkcell* files
16264
16265 2005-06-15  Dan Williams <dcbw@redhat.com>
16266
16267         Patch from Robert Love: make the applet stetic
16268
16269         * gnome/applet/Makefile.am
16270                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16271
16272         * gnome/applet/gtkcellview.h
16273           gnome/applet/gtkcellview.c
16274           gnome/applet/gtkcellrendererprogress.h
16275           gnome/applet/gtkcellrendererprogress.c
16276                 - Removed
16277
16278         * gnome/applet/menu-items.c
16279                 - Progress bars are 5:1 size ratio
16280                 - Use GTK progress bars rather than internal ones
16281
16282 2005-06-15  Dan Williams <dcbw@redhat.com>
16283
16284         Patch from Robert Love:
16285         * initscript/SUSE/networkmanager
16286                 - Fix typo
16287
16288 2005-06-15  Dan Williams <dcbw@redhat.com>
16289
16290         * src/backends/NetworkManagerSuSE.c
16291           src/backends/NetworkManagerRedHat.c
16292           src/backends/NetworkManagerDebian.c
16293                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16294
16295 2005-06-15  Dan Williams <dcbw@redhat.com>
16296
16297         * src/backends/NetworkManagerDebian.c
16298                 - Add nm_system_device_get_use_dhcp() to debian backend
16299
16300         Patch from Kay Sievers:
16301         * src/backends/NetworkManagerSuSE.c
16302                 - Update debian backend for static IP nameservers
16303
16304         * src/NetworkManagerDevice.c
16305                 - Actually set the device to use static IP or DHCP rather
16306                         than always DHCP
16307
16308 2005-06-15  Dan Williams <dcbw@redhat.com>
16309
16310         Patch from Thom May:
16311         * src/backends/NetworkManagerDebian.c
16312                 - Update debian backend for static IP nameservers
16313
16314 2005-06-15  Dan Williams <dcbw@redhat.com>
16315
16316         Patches from Robert Love:
16317         * gnome/applet/wireless-applet.glade
16318                 - Tighten up wording
16319
16320         * src/NetworkManagerDevice.c
16321                 - Remove misplaced ';'
16322
16323         * configure.in
16324           initscript/Makefile.am
16325           initscript/SUSE/Makefile.am
16326           initscript/SUSE/networkmanager
16327                 - Add SUSE initscript
16328
16329 2005-06-12  David Zeuthen  <davidz@redhat.com>
16330
16331         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16332
16333         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16334
16335         * gnome/vpn-properties/nm-vpn-properties.c: New file
16336
16337         * gnome/vpn-properties/Makefile.am: New file
16338
16339         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16340         array of passwords
16341
16342         * src/vpn-manager/nm-vpn-manager.c
16343         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16344         instead of just a single one
16345
16346         * src/vpn-manager/nm-dbus-vpn.c:
16347         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16348         here
16349         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16350
16351         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16352         Change the interface here to give a list of passwords. Also, don't
16353         require username, but do require service
16354
16355         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16356         the binary for the auth-dialog and use that instead of putting up a
16357         dialog asking for a single password
16358
16359         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16360         however do remember the service
16361
16362         * gnome/applet/main.c (main): Setup i18n
16363
16364         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16365         connection to '%s'" to the tooltip if we are connected using VPN
16366         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16367         key to determine whether we the auth-dialog needs to
16368         reprompt. Also cope with the fact that the auth-dialog now returns
16369         an array of passwords.
16370         (nmwa_menu_configure_vpn_item_activate): New handler for
16371         "Configure VPN..." menu item
16372         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16373         (is_vpn_available): New function to determine if we got any
16374         NM-compatible VPN software installed
16375         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16376         items only if we have NM-compatible VPN software installed
16377         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16378         logic for detecting when VPN connections are removed
16379
16380         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16381         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16382         since these are defined elsewhere
16383
16384         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16385         function used to keep track of whether the last attempt succeded
16386         (nmwa_dbus_filter): Update last_attempt according to whether the
16387         VPN connection could be established or not
16388
16389         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16390         Change prototype to take an array of passwords, not just a single
16391         password
16392
16393         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16394         update service, not user
16395         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16396         dbus_active_vpn_name is not NULL before using it
16397         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16398         string array instead of assuming a single password
16399
16400         * gnome/applet/applet-dbus-info.c:
16401         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16402         user name; don't read from gconf
16403
16404         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16405         VPN_NAME_FILES_DIR
16406
16407         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16408
16409         * configure.in: Add checks for gmodule-2.0.
16410         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16411         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16412         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16413         for details
16414
16415         * vpn-daemons/Makefile.am: Removed
16416
16417         * vpn-daemons/README: New file to describe extensions points for VPN
16418         software
16419
16420 2005-06-10  Dan Williams <dcbw@redhat.com>
16421
16422         * src/backends/NetworkManagerRedHat.c
16423                 - (get_current_profile_name): new function, grab current network profile name from
16424                         /etc/sysconfig/network
16425                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16426                         update an IP4 Config structure's settings from it
16427                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16428                         get DNS info from current network profile
16429
16430 2005-06-09  Dan Williams <dcbw@redhat.com>
16431
16432         Patch from Robert Love:
16433         * src/NetworkManagerDevice.c
16434           src/NetworkManagerUtils.c
16435                 - 64-bit build fixes
16436
16437 2005-06-09  Dan Williams <dcbw@redhat.com>
16438
16439         Patch from Kay Sievers and Robert Love:
16440         * configure.in
16441           src/backends/Makefile.am
16442           src/backends/NetworkManagerSuSE.c
16443                 - Add SuSE support
16444
16445 2005-06-09  Dan Williams <dcbw@redhat.com>
16446
16447         * NetworkManager.h
16448                 - Add NMWirelessScanMethod enum for scan methods
16449
16450         * gnome/applet/applet-dbus-devices.c
16451                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16452                 - (nmwa_dbus_update_scanning_enabled): remove
16453                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16454                         since it got removed
16455                 - (nmwa_dbus_enable_scanning): remove
16456
16457         * gnome/applet/applet-dbus-info.c
16458                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16459                         update the wireless scanning method from NMI
16460                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16461                         method value to NetworkManager
16462                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16463
16464         * gnome/applet/applet-dbus-info.h
16465                 - Add prototype for nmi_dbus_signal_update_scan_method
16466
16467         * gnome/applet/applet.c
16468                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16469                         Wireless Scanning menu based on current wireless scan method
16470                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16471                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16472                         and update our menu items to make sure the right one is checked
16473                 - (nmwa_set_scanning_enabled_cb): remove
16474                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16475                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16476                         Scanning menu item
16477                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16478                         from GConf
16479                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16480                         so we get notified of preference values too
16481                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16482
16483         * gnome/applet/applet.h
16484                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16485                 - Add wireless scan method member to applet data
16486                 - Remove pause_scanning_item, add Wireless Scanning submenu
16487
16488         * src/NetworkManager.c
16489                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16490                 - (main): grab scanning method from NMI if we can
16491
16492         * src/NetworkManagerDbus.c
16493                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16494                         nm_dbus_update_wireless_scan_method()
16495                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16496                         from NMI
16497                 - (nm_dbus_nmi_is_running): redundant function, removed
16498                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16499                         when NMI comes back
16500
16501         * src/NetworkManagerDevice.c
16502                 - (nm_device_is_activated): return TRUE if the device is activated
16503                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16504                         and we are activated
16505
16506         * src/nm-dbus-nm.c
16507                 - (nm_dbus_nm_set_scanning_enabled): removed
16508                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16509                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16510
16511 2005-06-09  Dan Williams <dcbw@redhat.com>
16512
16513         * NetworkManager.h
16514           src/vpn-manager/nm-vpn-service.c
16515                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16516
16517 2005-05-27  Dan Williams <dcbw@redhat.com>
16518
16519         * vpn-daemons/vpnc/nm-vpnc-service.c
16520                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16521                         Should fix the bug where the VPN connection terminates the first time.
16522
16523 2005-05-20  Dan Williams <dcbw@redhat.com>
16524
16525         * NetworkManager.h
16526                 - Differentiate VPN config signals between bad VPN config options
16527                         and bad IP config
16528
16529         * gnome/applet/applet-dbus-info.h
16530                 - Add prototypes for wireless network and vpn connection update functions
16531
16532         * gnome/applet/applet-dbus.c
16533                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16534
16535         * gnome/applet/applet.c
16536                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16537                         error signals
16538                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16539                         propogation to NetworkManager
16540                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16541                         notify propogation to NetworkManager
16542
16543         * src/NetworkManagerDbus.c
16544                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16545                         are updating so a network can be removed from it if necessary
16546
16547         * src/vpn-manager/nm-vpn-manager.c
16548                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16549
16550         * vpn-daemons/vpnc/nm-vpnc-service.c
16551                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16552                 - (nm_vpnc_dbus_signal_launch_failed): remove
16553                 - (nm_vpnc_dbus_signal_connect_failed): remove
16554                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16555                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16556                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16557                         for new generalized error signal function, remove config file stuff
16558                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16559                         we can write configuration options to it
16560                 - (nm_vpnc_config_file_generate): removed
16561                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16562                 - (nm_vpnc_config_options_validate): validate the config options we receive
16563                         from NetworkManager to block potential exploits
16564                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16565                         starting vpnc
16566                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16567                         to NetworkManager
16568
16569 2005-05-16  Dan Williams  <dcbw@redhat.com>
16570
16571         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16572                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16573                         is not "connect"
16574
16575 2005-05-16  Dan Williams  <dcbw@redhat.com>
16576
16577         Patch from Tomislav Vujec <tvujec@redhat.com>
16578         * gnome/applet/applet-dbus-info.c
16579                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16580                         GConf and pass them to NetworkManager.  New key is 'routes' under
16581                         the VPN connection, and should be a string list
16582
16583         * src/NetworkManagerSystem.c
16584                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16585                         set them on the device when we set the rest of the VPN config.  Ensure
16586                         they are in the correct format since they are passed directly to the
16587                         command line.
16588
16589         * src/backends/NetworkManagerRedHat.c
16590           src/backends/NetworkManagerDebian.c
16591                 - (nm_system_device_add_route_via_device_with_iface): new function
16592
16593         * src/vpn-manager/nm-dbus-vpn.c
16594                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16595
16596         * src/vpn-manager/nm-vpn-manager.c
16597                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16598                         them into the IP4 config functions
16599
16600 2005-05-15  Dan Williams  <dcbw@redhat.com>
16601
16602         From Filip Miletic:
16603         * po/sr.po
16604           po/sr@Latn.po
16605           configure.in
16606                 - Serbian translation added
16607
16608 2005-05-15  Dan Williams  <dcbw@redhat.com>
16609
16610         * dispatcher-daemon/NetworkManagerDispatcher.c
16611                 - (main): sync arguments with NetworkManager and the applet, now use
16612                         "--no-daemon" rather than "daemon=no"
16613                 - (nmd_print_usage): Fix script path in usage message
16614
16615 2005-05-15  Dan Williams  <dcbw@redhat.com>
16616
16617         * src/NetworkManagerDevice.[ch]
16618           src/NetworkManagerPolicy.c
16619           src/NetworkManager.c
16620           src/nm-dbus-nm.c
16621                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16622                         longer send the DeviceNoLongerActive signal unconditionally, but only
16623                         when the device is actually active.
16624
16625         * dispatcher-daemon/NetworkManagerDispatcher.c
16626                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16627                         and simplify the logic
16628                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16629                         we free it later on
16630
16631         * initscript/RedHat/Makefile.am
16632           initscript/RedHat/NetworkManagerDispatcher
16633                 - Add initscript for NetworkManagerDispatcher
16634
16635
16636         Patch from Bill Moss:
16637         * dispatcher-daemon/NetworkManagerDispatcher.c
16638                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16639
16640         * src/NetworkManagerDbus.c
16641                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16642                         and DeviceNowActive gets signaled, then the device has a new IP address
16643                         anyway.  There's no need for a separate signal.
16644
16645         * src/NetworkManagerDevice.c
16646                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16647
16648         * src/NetworkManagerPolicy.c
16649                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16650                         activates successfully.  This kind of went missing when I reworked the
16651                         activation code.
16652
16653 2005-05-15  Dan Williams  <dcbw@redhat.com>
16654
16655         * configure.in
16656                 - Check for dhcdbd and error if its not found
16657
16658         * src/dhcp-manager/Makefile.am
16659           src/dhcp-manager/nm-dhcp-manager.c
16660                 - Use path to dhcdbd that configure found
16661
16662 2005-05-14  Dan Williams  <dcbw@redhat.com>
16663
16664         * gnome/applet/nm-device.c
16665                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16666                         sort wireless networks alphabetically
16667
16668         * gnome/applet/applet-dbus-devices.c
16669                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16670                         before copying them over to the GUI
16671
16672 2005-05-14  Dan Williams  <dcbw@redhat.com>
16673
16674         * src/NetworkManager.c
16675                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16676                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16677                         the device list, as does nm_get_active_device() which is called from
16678                         nm_vpn_manager_deactivate_vpn_connection().
16679
16680 2005-05-14  Dan Williams  <dcbw@redhat.com>
16681
16682         * NetworkManager.h
16683                 - Add signals for VPN Launch and Connect failures
16684
16685         * gnome/applet/applet-dbus.c
16686                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16687
16688         * gnome/applet/applet.c
16689                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16690                         function to handle all VPN failure messages
16691                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16692                         function to hanlde all VPN failure  messages
16693                 - (show_warning_dialog): work around focus-stealing prevention
16694
16695         * gnome/applet/other-network-dialog.c
16696           gnome/applet/passphrase-dialog.c
16697                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16698                         problem where it never enabled for ASCII Key and Hex Key types
16699
16700         * gnome/applet/wireless-applet.glade
16701                 - Add window title to Other Wireless Network Dialog
16702
16703         * src/vpn-manager/nm-dbus-vpn.c
16704                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16705                         function to handle all VPN failure messages
16706
16707         * src/vpn-manager/nm-vpn-manager.c
16708                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16709
16710         * vpn-daemons/vpnc/nm-vpnc-service.c
16711                 - (nm_vpnc_dbus_signal_launch_failed): new function
16712                 - (nm_vpnc_dbus_signal_connect_failed): new function
16713                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16714                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16715                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16716                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16717
16718 2005-05-11  Dan Williams  <dcbw@redhat.com>
16719
16720         * vpn-daemons/vpnc/nm-vpnc-service.c
16721                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16722                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16723                         file exists before trying to write it out.
16724
16725 2005-05-10  Dan Williams  <dcbw@redhat.com>
16726
16727     * gnome/applet/applet-dbus-device.c
16728         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16729             prevented just entering ESSID and leaving key and key type up to
16730             NetworkManager (which should have them already cached)
16731
16732 2005-05-08  Dan Williams  <dcbw@redhat.com>
16733
16734         * src/NetworkManagerPolicy.c
16735                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16736                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16737                         fix a situation where NM is told to terminate and the device stops activation,
16738                         but the main thread isn't aware of that because it would never have run
16739                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16740                         had already quit.
16741
16742         * src/NetworkManagerDevice.c
16743                 - (nm_device_probe_wired_link_state): cosmetic fixes
16744                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16745                         we've failed to activate or been canceled.
16746                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16747
16748 2005-05-08  Dan Williams  <dcbw@redhat.com>
16749
16750         * src/NetworkManagerWireless.c
16751                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16752                         value of WEXT quality structures, and add a debug message when we cannot
16753                         determine any quality % at all
16754
16755 2005-05-08  Dan Williams  <dcbw@redhat.com>
16756
16757         * src/dhcp-manager/nm-dhcp-manager.c
16758                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16759                         it goes down.
16760
16761 2005-05-06  Dan Williams  <dcbw@redhat.com>
16762
16763         * gnome/applet/applet-dbus-device.c
16764           gnome/applet/applet-dbus-info.c
16765           gnome/applet/applet-dbus.c
16766           gnome/applet/applet.c
16767           gnome/applet/applet.h
16768                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16769
16770         * gnome/applet/applet-dbus.c
16771                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16772                         so we notice when wired device's carriers come back on.  Should
16773                         fix issue with wired devices being grayed out even if the cable
16774                         is in, for devices that support carrier detection.
16775
16776         * gnome/applet/applet.c
16777                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16778                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16779                         tooltip message
16780                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16781                         Fix situation where applet wouldn't respond to menu selections
16782
16783         * src/NetworkManager.c
16784           src/NetworkManagerDevice.c
16785           src/NetworkManagerDbus.c
16786           src/NetworkManagerDbus.h
16787                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16788
16789         * src/NetworkManagerDbus.c
16790                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16791                         Remove, no longer used or relevant
16792                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16793                 - (nm_dbus_schedule_device_status_change_signal): add
16794
16795         * src/NetworkManagerDevice.c
16796                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16797                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16798                         ie don't deactivate them unless explicitly told to by the user.  Also send
16799                         CARRIER_OFF / CARRIER_ON signals when link changes
16800                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16801                         Don't print error message when device is no longer around
16802                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16803                         not just during activation
16804
16805         * src/NetworkManagerPolicy.c
16806                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16807                         auto-device-selection.
16808                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16809
16810         * src/NetworkManagerSystem.c
16811                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16812                         is no longer present (Bill Moss)
16813
16814         * src/backends/shvar.c
16815                 - (svOpenFile): Open read-only to make SELinux happy
16816
16817         * src/backends/NetworkManagerRedHat.c
16818                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16819                         the path to the ifcfg-* files
16820
16821 2005-05-05  Dan Williams  <dcbw@redhat.com>
16822
16823         * Expose activation stages to NetworkManager clients, like the applet
16824         * Add Diana's progress icons to the applet, cued off NM activation stage
16825         * Use more descriptive tooltips, cued off NM activation stage
16826
16827 2005-05-05  Ray Strode  <rstrode@redhat.com>
16828
16829         * src/nm-netlink-monitor.c:
16830                 - Use clear_event_source instead of g_nullify_pointer() again.
16831
16832 2005-05-05  Dan Williams  <dcbw@redhat.com>
16833
16834         * gnome/applet/main.c
16835                 - Fix session management so the applet is actually managed now
16836
16837         * gnome/applet/passphrase-dialog.c
16838                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16839
16840 2005-05-05  Dan Williams  <dcbw@redhat.com>
16841
16842         Patch from Bill Moss:
16843         * gnome/libnm_glib/libnm_glib.c
16844                 - Fix for dbus-0.33
16845
16846 2005-05-05  Dan Williams  <dcbw@redhat.com>
16847
16848         Suggestion from Bill Moss:
16849         * src/NetworkManagerSystem.c
16850                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16851
16852
16853         * src/NetworkManager.c
16854                 - (nm_data_free): move destruction of the various managers after
16855                         release of device list, because deactivating and freeing a device
16856                         requires at least the named manager
16857                 - (nm_poll_and_update_wireless_link_state):
16858                   (nm_device_link_activated):
16859                   (nm_device_link_deactivated):
16860                         don't grab the device list lock when actually updating device
16861                         link status or strength, since nm_device_set_link_active()
16862                         needs to call nm_get_active_device(), which also locks the device list.
16863
16864         * src/NetworkManagerDevice.c
16865                 - (nm_device_set_link_active): if a device's link switches from off->on,
16866                         and it's wired, and the active device is wireless (or there is no
16867                         active device), activate the new device whose link just came on
16868                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16869                         my only calling the link to the current ap "failed" when more than 2
16870                         consecutive link checks have failed
16871
16872 2005-05-04  Dan Williams  <dcbw@redhat.com>
16873
16874         * src/NetworkManagerDevice.c
16875                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16876                         but let link_to_specific_ap() do the locking where it needs
16877
16878         Patch from Bill Moss:
16879         * src/NetworkManagerSystem.c
16880                 - Set MTU of VPN devices to 1412
16881
16882 2005-05-04  Dan Williams  <dcbw@redhat.com>
16883
16884         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16885
16886         * Fix some holes in device activation and retaining the currently connected
16887                 access point
16888
16889 2005-05-03  Dan Williams  <dcbw@redhat.com>
16890
16891         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16892           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16893           means you need dhcdbd, which you can get here (get the latest one):
16894
16895                 http://people.redhat.com/jvdias/dhcdbd/
16896
16897           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16898           interface as dhcdbd.
16899
16900         * Rewrite device activation to facilitate the new DHCP infrastructure and
16901           future improvements.  Its now "activation request" based, ie there is a single
16902           activation request composed of the device, access point, and other info which
16903           follows the entire activation process.  There are 5 stages of the activation
16904           process which correspond to:
16905
16906                 1) Device preparation
16907                 2) Device configuration (bring it up, set ESSID/Key/etc)
16908                 3) IP Config Start (fire off DHCP if we're using it)
16909                 4) IP Config Get (grab config from DHCP or static config files)
16910                 5) IP Config Commit (set device's IP address, DNS, etc)
16911
16912           Note that there is no longer a "scanning" step, since the access point must
16913           be known _before_ activation starts.  If the access point drops out or does
16914           not exist for some reason, the entire activation process fails and must be
16915           restarted for a different access point or device.
16916
16917         Patch from Bill Moss:
16918         * gnome/applet/applet.c
16919                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16920
16921 2005-04-27  Dan Williams  <dcbw@redhat.com>
16922
16923         * gnome/applet/applet-dbus-vpn.c
16924           gnome/applet/applet.c
16925           gnome/applet/applet.h
16926                 - Fix up active VPN handling so that we reliably know when a VPN
16927                         connection has been deactivated
16928
16929         * src/vpn-manager/nm-vpn-manager.c
16930                 - Remove duplicate VPNConnectionChange signal
16931
16932 2005-04-27  Dan Williams  <dcbw@redhat.com>
16933
16934         Patch from Peter Jones:
16935         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16936
16937         Patch from Bill Moss:
16938         * src/NetworkManagerSystem.c
16939                 - Fix checking of return value from ioctl()
16940
16941 2005-04-27  Dan Williams  <dcbw@redhat.com>
16942
16943         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16944         * Warn and exit if icons cannot be found
16945
16946 2005-04-27  Dan Williams  <dcbw@redhat.com>
16947
16948         Patch from Tom Parker:
16949         * Update debian backend
16950
16951 2005-04-27  Dan Williams  <dcbw@redhat.com>
16952
16953         * Merge the applet and the info-daemon, and move the converged
16954                 applet under gnome/applet
16955         * Move libnm_glib to gnome/libnm_glib
16956         * Convert most dbus calls between the applet, info-daemon, and NM
16957                 into async calls
16958         * Fix a few things valgrind noticed
16959         * Make NM broadcast state more reliably
16960
16961 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16962
16963         * configure.in: Added ne in ALL_LINGUAS
16964
16965 2005-04-15  Dan Williams  <dcbw@redhat.com>
16966
16967         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16968                 code for dbus 0.2x versions
16969
16970 2005-04-15  Dan Williams  <dcbw@redhat.com>
16971
16972         Patches from Tom Parker:
16973         - Fix memleaks
16974         - Join with worker thread rather than polling for its exit
16975
16976         Patch from Bill Moss:
16977         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16978
16979 2005-04-15  Dan Williams  <dcbw@redhat.com>
16980
16981         - Fixes to pass 'make distcheck'
16982
16983 2005-04-15  Dan Williams  <dcbw@redhat.com>
16984
16985         Initial VPN Support
16986                 - supports 'vpnc'
16987                 - reworks device IP configuration, backend files have changed and will need
16988                         to be updated for all distributions.  I will try to do what I can for
16989                         them, but I cannot test them.
16990
16991         - Move named directory to src/named-manager
16992         - Make backends directory self-contained
16993
16994 2005-04-06  Dan Williams  <dcbw@redhat.com>
16995
16996         Add debug code for socket/file descriptor leaks.  We register every socket
16997         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16998         list of sockets that we forgot to close on shutdown.  This also consolidates
16999         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17000
17001 2005-04-06  Dan Williams  <dcbw@redhat.com>
17002
17003         * dhcpcd/dhcpcd.c
17004                 - (dhcp_interface_free): fix a file descriptor leak that may have
17005                         caused network drivers to not unload due to refcounts > 0
17006
17007 2005-04-04  Dan Williams  <dcbw@redhat.com>
17008
17009         * panel-applet/NMWirelessAppletDbus.c
17010                 - (nmwa_dbus_call_nm_method): remove some commented code
17011
17012         * src/NetworkManagerAPList.[ch]
17013                 - (nm_ap_list_remove_ap_by_essid): new function
17014
17015         * src/NetworkManagerDevice.c
17016                 - (nm_device_wireless_force_use): remove access points from the ignore list
17017                         when the user forces them
17018
17019         * src/nm-dbus-device.c
17020                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17021
17022 2005-04-04  Dan Williams  <dcbw@redhat.com>
17023
17024         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17025
17026 2005-04-04  Dan Williams  <dcbw@redhat.com>
17027
17028         * src/NetworkManagerDevice.c:
17029                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17030                         of only erroring after the second consecutive scan times out.  Also
17031                         don't exit when the card requires more time than we can give it, just
17032                         log the event and continue.
17033
17034 2005-04-01  Steve Murphy  <murf@e-tools.com>
17035
17036         * configure.in: Added "rw" to ALL_LINGUAS.
17037
17038 2005-04-01  Dan Williams <dcbw@redhat.com>
17039
17040         Perform scans during device activation, if needed.  Both activation 
17041         and scans run in the same GMainContext.  Therefore, if an access point
17042         is not found by the time the device starts activation, it will not
17043         be available until after activation.  We now try to scan during
17044         activation (in nm_wa_test) every 15s so that all available access
17045         points are more likely to be found and available for the activation
17046         procedure.
17047
17048         Also change nm_wireless_link_state_handle() to only update the "best"
17049         AP if we are not forcing a device and if we are not about to change
17050         state.  This attempts to work around a race when forcing a device,
17051         where the forced AP would get cleared out too soon by the link state
17052         checking timeout in the main thread, and the activation attempt with
17053         that AP would fail.
17054
17055 2005-04-01  Dan Williams <dcbw@redhat.com>
17056
17057         * po/POTFILES.in
17058                 - Update with new translatables
17059
17060 2005-03-31  Dan Williams <dcbw@redhat.com>
17061
17062         * panel-applet/NMWirelessAppletDbus.c
17063                 - Fix device names now that hal has changed device parenting for
17064                         network devices.
17065
17066 2005-03-31  Dan Williams <dcbw@redhat.com>
17067
17068         Tighten up handling of wireless devices that don't support wireless
17069         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17070         hadn't been doing pseudo-scanning for a while either and would just
17071         spin waiting for an access point.  They are now manual devices where
17072         the user must choose the access point from the menu every time.  All
17073         "allowed" access points are listed in the applet's menu regardless
17074         of whether or not they can be seen by the card, since it can't scan
17075         anyway.
17076
17077         * src/NetworkManager.c
17078                 - (nm_wireless_link_state_handle): new function, but only update
17079                         the "best" ap for non-scanning devices when its not activating,
17080                         and when no device is being forced on the card
17081                 - (nm_link_state_monitor): split wireless link state handling out
17082                         into separate function
17083
17084         * src/NetworkManagerDevice.c
17085                 - (nm_device_copy_allowed_to_dev_list): new function
17086                 - (nm_device_new): populate non-scanning cards' AP lists with
17087                         access points from the "allowed" list
17088                 - (nm_device_new): don't start a scanning timeout for devices that
17089                         can't scan
17090                 - (nm_device_activation_schedule_finish): new parameter, should be
17091                         the AP that failed to be connected to, pass it on to the
17092                         activation finish function in NetworkManagerPolicy.c
17093                 - (nm_device_activate_wireless): don't ever try to get a new AP
17094                         for non-scanning devices, just fail.  The user must choose
17095                         a new access point manually.
17096                 - (nm_device_activate): grab the AP that failed connection and
17097                         pass it on
17098                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17099                         a link to it, user must manually choose a new one
17100                 - (nm_device_do_pseudo_scan): remove function
17101                 - (nm_device_wireless_process_scan_results): remove bits for non-
17102                         scanning cards since they never get here
17103                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17104                         and fake the scan list for test devices a bit earlier
17105
17106         * src/NetworkManagerPolicy.c
17107                 - (nm_policy_activation_finish): use the failed_ap that we get
17108                         passed rather than getting the best_ap from the card, which
17109                         may have changed since we were scheduled
17110                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17111                         update their scan list directly from the allowed list when
17112                         we get updates to the allowed list from NetworkManagerInfo
17113
17114         * src/NetworkManagerPolicy.h
17115                 - New member for failed access point in NMActivationResult
17116
17117   -------------------------------------
17118
17119         Driver Notification patch: notifies the user when their driver
17120                 sucks.  Gives them the option to ignore further insertions
17121                 of the card that has the sucky driver.
17122
17123         * NetworkManager.h
17124                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17125                         enum and replace it with NO_CARRIER_DETECT and
17126                         NO_WIRELESS_SCAN
17127
17128         * panel-applet/NMWirelessApplet.[ch]
17129                 - Merge essid.glade -> wireless-applet.glade
17130                 - Implement the "Your driver sucks" notification dialog
17131
17132         * panel-applet/NMWirelessAppletDbus.c
17133                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17134                 - Grab hardware address for each device from NM too
17135                 - Check whether the driver for each device sucks or not whenever
17136                         a new device is noticed
17137
17138         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17139                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17140
17141         * src/NetworkManager.c
17142                 - Fix a double-unref on device removal
17143
17144         * src/NetworkManagerUtils.c
17145                 - Set appropriate driver support level on a device that doesn't
17146                         support scanning or carrier detection
17147
17148         * src/nm-dbus-device.c
17149                 - New "getHWAddress" dbus method on devices
17150                 - getSupportsCarrierDetect -> getDriverSupportLevel
17151
17152 2005-03-31  Dan Williams <dcbw@redhat.com>
17153
17154         * src/NetworkManagerDevice.c
17155                 - (nm_device_wireless_scan): Fix leak of scan results in some
17156                         instances
17157
17158 2005-03-29  Dan Williams <dcbw@redhat.com>
17159
17160         * src/NetworkManager.c
17161                 - (nm_poll_and_update_wireless_link_state): make code less indented
17162
17163         Patch from Bill Moss:
17164         * src/NetworkManager.c
17165                 - (nm_device_update_link_state): Update signal strength on wireless
17166                         devices every time we update link state too.
17167
17168 2005-03-29  Dan Williams <dcbw@redhat.com>
17169
17170         * src/NetworkManagerDevice.c
17171                 - (nm_device_set_essid): Work around Orinoco cards which need
17172                         extra time after setting the ESSID
17173
17174 2005-03-29  Dan Williams <dcbw@redhat.com>
17175
17176         * src/NetworkManagerDevice.c
17177                 - Merge one more bit of Peter Jones' completion patch
17178
17179 2005-03-29  Dan Williams <dcbw@redhat.com>
17180
17181         * src/NetworkManagerDevice.c
17182                 - (nm_device_force_use): Fix possible segfault
17183
17184 2005-03-29  Dan Williams <dcbw@redhat.com>
17185
17186         * src/NetworkManagerDevice.c
17187                 - Use iw_get_ext() where we should rather than iw_set_ext()
17188
17189 2005-03-29  Dan Williams <dcbw@redhat.com>
17190
17191         * src/NetworkManagerDevice.c
17192                 - (nm_device_set_up_down): remove check for unsupported devices
17193                         that caused NM to not bring devices up when they were
17194                         added to the device list.
17195
17196 2005-03-28  Dan Williams <dcbw@redhat.com>
17197
17198         * src/NetworkManagerDevice.c
17199                 - (mdio_read): Fix two bugs that caused all devices to fail
17200                         the MII carrier detection support checks
17201
17202 2005-03-26  Dan Williams <dcbw@redhat.com>
17203
17204         * src/NetworkManagerDevice.c
17205                 - (nm_device_wireless_scan): Remove duplicated scanning code
17206
17207 2005-03-25  Dan Williams <dcbw@redhat.com>
17208
17209         * panel-applet/NMWirelessApplet.c
17210                 - (nmwa_about_cb): Add some more contributors
17211                 - (nmwa_update_state): show the applet when there's no connection
17212                 - Enable the "Stop/Resume all wireless devices" option in the
17213                         context menu
17214                 - New "no connection" icon
17215
17216         * src/NetworkManager.c
17217                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17218                         wireless is disabled or we're asleep
17219
17220         * src/NetworkManagerDHCP.c
17221                 - Remove trailing "\n" on debug messages
17222
17223         * src/NetworkManagerDbus.c
17224                 - (nm_dbus_network_status_from_data): new state "asleep"
17225
17226         * src/NetworkManagerDevice.c
17227                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17228                         latency and wait times for most operations
17229                 - (nm_device_wireless_scan): Don't scan when asleep
17230
17231         * src/NetworkManagerPolicy.c
17232                 - (nm_policy_get_best_device): return no device when asleep
17233                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17234                         for all wireless devices on update, not just active device
17235
17236         * src/NetworkManagerUtils.c
17237                 - Merge Peter Jones' "completion" patch
17238
17239         * src/nm-dbus-nm.c
17240                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17241                         we're told to disable them
17242                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17243
17244         * utils/nm-utils.h
17245                 - New variants of the warn/info/error/debug print functions that can take
17246                         variables rather than static strings
17247
17248 2005-03-24  Dan Williams <dcbw@redhat.com>
17249
17250         * src/NetworkManagerUtils.c
17251                 - (nm_get_device_driver_name): driver names are now on the parents of
17252                         "Network Interface" objects, so look for them there
17253
17254 2005-03-24  Dan Williams <dcbw@redhat.com>
17255
17256         * test/nmtest.c
17257                 - Escape some forgotten object paths before we shove them through dbus
17258
17259 2005-03-24  Dan Williams <dcbw@redhat.com>
17260
17261         * dhcpcd/dhcpcd.[ch]
17262           src/NetworkManagerDHCP.c
17263                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17264                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17265
17266         * src/NetworkManagerDbus.c
17267                 - spacing cleanups
17268
17269         * src/nm-dbus-dhcp.c
17270                 - Make the API suck less.  There is now only 1 type of each function,
17271                         ie only "getInteger" and no longer also "getIntegerv".  All types
17272                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17273                         that will never have more than 1 element.  This should simplify
17274                         things greatly.
17275
17276         * test/nm-dhcp-opt-test.c
17277                 - Make the tool not segfault
17278                 - adapt to new DHCP Options API
17279
17280 2005-03-22  Dan Williams <dcbw@redhat.com>
17281
17282         * src/NetworkManager.c
17283                 - (nm_wired_link_deactivated): actually ignore netlink events from
17284                         wireless devices.
17285
17286 2005-03-22  Dan Williams <dcbw@redhat.com>
17287
17288         * src/NetworkManager.c
17289                 - (nm_wired_link_activated): actually ignore netlink events from
17290                         wireless devices.
17291
17292 2005-03-17  Dan Williams <dcbw@redhat.com>
17293
17294         Patch from Tom Parker:
17295         * src/nm-netlink-monitor.c
17296                 - Include unistd.h
17297         * info-daemon/NetworkManagerInfoDbus.c
17298                 - (nmi_dbus_update_network_auth_method): free GConf values
17299
17300         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17301         * src/NetworkManagerDevice.c
17302                 - (nm_device_set_wireless_config): wait for successful
17303                         association longer for some cards (Atheros a/b/g)
17304
17305 2005-03-15  Ray Strode  <rstrode@redhat.com>
17306
17307         * src/NetworkManager.c:
17308         (sigterm_pipe_handler):
17309         remove bogus FIXME
17310
17311 2005-03-15  Ray Strode  <rstrode@redhat.com>
17312
17313         * src/NetworkManagerDbus.c:
17314         Fix some sign weirdness that gcc4 doesn't like,
17315         and add a header file so PPC can hopefully find
17316         SIGTRAP
17317
17318 2005-03-14  Ray Strode  <rstrode@redhat.com>
17319         
17320         Fourth (probably working) cut at porting to
17321         dbus 0.30 api and new hal. This cut adds
17322         some new logging macros to make debugging
17323         easier.
17324
17325         * dispatcher-daemon/NetworkManagerDispatcher.c:
17326         * info-daemon/NetworkmanagerInfo.c:
17327         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17328         * info-daemon/NetworkManagerInfoVPN.c:
17329         * src/NetworkManager.c:
17330         * src/NetworkManagerAP.c:
17331         * src/NetworkManagerAPList.c:
17332         * src/NetworkManagerDHCP.c:
17333         * src/NetworkManagerDbus.c:
17334         * src/NetworkManagerDevice.c:
17335         * src/NetworkManagerPolicy.c:
17336         * src/NetworkManagerSystem.c:
17337         * src/NetworkManagerUtils.c:
17338         * src/NetworkManagerWireless.c:
17339         * src/autoip.c:
17340         * src/nm-dbus-nm.c:
17341         * src/backends/NetworkManagerDebian.c:
17342         * src/backends/NetworkManagerGentoo.c:
17343         * src/backends/NetworkManagerRedHat.c:
17344         * src/backends/NetworkManagerSlackware.c:
17345         use new logging macros.
17346
17347         * dispatcher-daemon/NetworkManagerDispatcher.c:
17348         (nmd_dbus_filter): s/dbus_free/g_free/
17349
17350         * info-daemon/Makefile.am: link in utils library.
17351         * info-daemon/NetworkmanagerInfo.c: use new logging 
17352         macros.
17353         (nmi_dbus_get_network): don't assume enumerations
17354         are 32-bit.
17355         (nmi_dbus_nmi_message_handler): don't free what 
17356         doesn't belong to us.
17357
17358         * libnm_glib/libnm_glib.c:
17359         (libnm_glib_get_nm_status): 
17360         (libnm_glib_init): don't free what doesn't
17361         belong to us.
17362         (libnm_glib_dbus): strdup result, so it doesn't get
17363         lost when message is unref'd.
17364
17365         * panel-applet/NMWirelessAppletDbus.c:
17366         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17367
17368         * src/NetworkManager.c:
17369         (nm_monitor_wired_link_state): request initial status 
17370         dump of all cards when we start up, instead of relying
17371         on /sys/.../carrier.
17372         (nm_info_handler), (nm_set_up_log_handlers): 
17373         log handlers to specify what syslog priorites 
17374         the logging macros default to.
17375
17376         * src/NetworkManagerAPList.c: 
17377         (nm_ap_list_populate_from_nmi):
17378         s/dbus_free_string_array/g_strfreev/
17379
17380         * src/NetworkManagerDbus.c:
17381         (nm_dbus_get_network_object):
17382         validate d-bus message argument types.
17383         Advance message iterator after reading argument,
17384         prepend instead of append to GSList.
17385
17386         * src/NetworkManagerDevice.c:
17387         (nm_device_probe_wired_link_status):
17388         remove redundant /sys in /sys path. remove wrong
17389         contents == NULL means has carrier assumption.
17390
17391         * src/nm-netlink-monitor.c 
17392         (nm_netlink_monitor_request_status): implement
17393         function to ask kernel to dump interface link
17394         status over netlink socket.
17395
17396         * test/*.c: s/dbus_free/g_free/
17397
17398         * utils/nm-utils.h:
17399         (nm_print_backtrace): new macro to print backtrace.
17400         (nm_get_timestamp): new macro to get sub-second precise
17401         unix timestamp.
17402         (nm_info), (nm_debug), (nm_warning), (nm_error):
17403         new logging functions. nm_info just prints,
17404         nm_debug includes timestamp and function,
17405         nm_warning includes function, nm_error includes
17406         backtrace and sigtrap.
17407
17408 2005-03-11  Ray Strode  <rstrode@redhat.com>
17409
17410         Third (unfinished, partially working) cut at porting to 
17411         dbus 0.30 api and new hal.
17412
17413         * info-daemon/NetworkManagerInfoDbus.c:
17414                 don't free null arrays.
17415
17416         * panel-applet/NMWirelessAppletDbus.c: 
17417         * src/nm-dbus-device.c:
17418         * src/nm-dbus-net.c: 
17419         * src/NetworkManagerDbus.c: more 
17420         STRING -> OBJECT_PATH fun
17421         * src/NetworkManagerDevice.c:
17422         * src/NetworkManagerDevice.h:
17423         (rename nm_device_get_link_active): rename to 
17424         nm_device_has_active_link
17425         (nm_device_wireless_link_active): rename to
17426         nm_device_probe_wireless_link_state
17427         (nm_device_wired_link_active): rename to
17428         nm_device_probe_wired_link_state.  Rewrite to
17429         use carrier file since hal doesn't maintain
17430         link state anymore.
17431         (nm_device_update_link_active): rename to
17432         nm_device_update_link_state
17433         * src/NetworkManagerPolicy.c 
17434           (nm_policy_activation_finish): check for NULL
17435           MAC address.
17436
17437         * src/Makefile.am:
17438         * src/NetworkManagerMain.h: 
17439         * src/NetworkManager.c:
17440         * src/nm-netlink-monitor.c:
17441         * src/nm-netlink-monitor.h: New class to support
17442         monitoring wired ethernet link status, since HAL
17443         doesn't export that information anymore.
17444
17445 2005-03-09  Ray Strode  <rstrode@redhat.com>
17446
17447         Second (unfinished, unworking) cut at porting to 
17448         dbus 0.30 api.
17449
17450         * dispatcher-daemon/NetworkManagerDispatcher.c:
17451         * info-daemon/NetworkManagerInfoDbus.c:
17452         * panel-applet/NMWirelessAppletDbus.c:
17453         * src/NetworkManagerDbusUtils.c:
17454         * src/NetworkManagerDbusUtils.h:
17455         * src/nm-dbus-device.c:
17456         * src/nm-dbus-nm.c:
17457         * test/nmtest.c: support dbus "object path" type
17458
17459         * configure.in: 
17460         * Makefile.am:
17461         * info-daemon/Makefile.am:
17462         * libnm_glib/Makefile.am:
17463         * panel-applet/Makefile.am:
17464         * dispatcher-daemon/Makefile.am
17465         * src/Makefile.am:
17466         * test/Makefile.am:
17467         * utils/Makefile.am: 
17468         * utils/nm-utils.c: 
17469         * utils/nm-utils.h: new utils static lib
17470
17471 2005-03-07  Ray Strode  <rstrode@redhat.com>
17472
17473         * info-daemon/NetworkManagerInfoDbus.c:
17474         * libnm_glib/libnm_glib.c:
17475         * panel-applet/NMWirelessAppletDbus.c:
17476         * src/NetworkManager.c:
17477         * src/NetworkManagerDbus.c:
17478         * src/NetworkManagerDevice.c:
17479         * src/NetworkManagerUtils.c:
17480         * src/nm-dbus-device.c:
17481         * src/nm-dbus-dhcp.c:
17482         * src/nm-dbus-net.c:
17483         * src/nm-dbus-nm.c:
17484         * test/nminfotest.c:
17485         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17486
17487 2005-03-04  Dan Williams  <dcbw@redhat.com>
17488
17489         * configure.in
17490                 - Mark HEAD as 0.4
17491
17492 2005-03-04  Dan Williams  <dcbw@redhat.com>
17493
17494         Patch from Peter Jones:
17495         - Make stuff work with gcc 4.0
17496
17497 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17498
17499         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17500
17501 2005-02-27  Jim Huang  <jserv@kaffe.org>
17502
17503         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17504
17505 2005-02-27  Dan Williams  <dcbw@redhat.com>
17506
17507         Patch from Bill Moss:
17508         * panel-applet/NMWirelessAppletDbus.c
17509                 - Make sure strength for current access point is up-to-date when we
17510                         update the gui data model
17511
17512 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17513
17514         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17515
17516 2005-02-27  Dan Williams  <dcbw@redhat.com>
17517
17518         * src/backends/NetworkManagerRedHat.c
17519                 - (nm_system_init): Kill any dhclient processes lying around as well
17520                         as stopping 'nifd' if its already been started.  NetworkManager
17521                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17522
17523 2005-02-27  Dan Williams  <dcbw@redhat.com>
17524
17525         * panel-applet/NMWirelessApplet.c
17526                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17527                         dbus data model, not the GUI data model twice.
17528
17529 2005-02-27  Dan Williams  <dcbw@redhat.com>
17530
17531         * panel-applet/NMWirelessApplet.[ch]
17532           panel-applet/NMWirelessAppletDbus.[ch]
17533                 - Move to incremental network updates.  Instead of blowing away our list
17534                         of devices every time we get a signal from NetworkManager, we now
17535                         incrementally add/remove networks when NetworkManager notifies us that
17536                         a new network has appeared or disappered.  Strength updates now happen
17537                         on-the-fly for each access point as well.  There are now two copies of
17538                         data from NetworkManager: one for the dbus side, and one for the gui side.
17539                         When the dbus side data is modified, it is copied over to the gui side
17540                         so we don't have to hold the data_mutex for long periods of time (and
17541                         therefore block animation of the applet's icon).
17542                 - Clean up some memleaks too
17543
17544         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17545                 - Minor code beautification
17546
17547         * src/NetworkManagerAPList.c
17548                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17549                         completely new and whether or not an existing one's strength was updated.
17550                         Try to fix multiple access points and signal strength by using the highest
17551                         signal strength in each scan for any given ESSID.
17552
17553         * src/NetworkManagerDbus.[ch]
17554                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17555                         wireless networks; now we have only WirelessNetworkUpdate which includes
17556                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17557                 - Kill usage of DbusMessageIter
17558
17559         * src/NetworkManagerDevice.c
17560                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17561                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17562                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17563                         currently associated with from the network list.
17564                 - Update for new signals during scan, send out Appeared, Disappeared, or
17565                         StrengthChanged when necessary.
17566
17567 2005-02-25  Dan Williams  <dcbw@redhat.com>
17568
17569         * README
17570                 - Line break the README
17571
17572 2005-02-25  Dan Williams  <dcbw@redhat.com>
17573
17574         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17575                 - Remove usage of gtk_window_set_default_size()
17576
17577         * panel-applet/essid.glade
17578                 - Stick default size here
17579                 - Add in random crap that current glade wants to add in now
17580
17581 2005-02-25  Dan Williams  <dcbw@redhat.com>
17582
17583         * src/backends/NetworkManagerRedHat.c
17584                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17585                         and that we actually tell nscd to reload the hosts cache when it changes
17586
17587 2005-02-25  Dan Williams  <dcbw@redhat.com>
17588
17589         * info-daemon/NetworkManagerInfoDbus.c
17590                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17591
17592         * test/nminfotest.c
17593                 - Whack usage of DbusMessageIter
17594                 - Clean up DbusError and DbusMessage handling and freeing
17595                 - Remove unused unregister handler
17596
17597         * test/nmtest.c
17598                 - Whack usage of DbusMessageIter
17599
17600         * test/nmtestdevices.c
17601                 - Whack usage of DbusMessageIter
17602
17603 2005-02-25  Dan Williams  <dcbw@redhat.com>
17604
17605         * NetworkManager.h
17606                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17607                         signal
17608
17609 2005-02-25  Dan Williams  <dcbw@redhat.com>
17610
17611         * named/nm-named-manager.c
17612                 - Ensure that pid and watch variables for child named process get cleared out
17613                         when the child goes away.
17614
17615 2005-02-22  Dan Williams  <dcbw@redhat.com>
17616
17617         * src/NetworkManagerPolicy.c
17618                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17619                         and NULL out data->active_device so that we have to choose another one.
17620                         This may make NetworkManager keep attempting to connect to a wired network
17621                         if it fails, but if it keeps failing the wired network has more problems than
17622                         just NetworkManager.
17623
17624         * src/backends/NetworkManagerRedHat.c
17625                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17626                         is already running
17627
17628         * named/nm-named-manager.c
17629                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17630                         named so that the distro can flush whatever name service caching
17631                         daemon it uses
17632
17633 2005-02-21  Dan Williams  <dcbw@redhat.com>
17634
17635         * src/NetworkManagerDHCP.[ch]
17636                 - (nm_device_dhcp_remove_timeouts): new function
17637
17638         * src/NetworkManagerDevice.c
17639                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17640                         remove the DHCP timeouts.
17641
17642 2005-02-21  Dan Williams  <dcbw@redhat.com>
17643
17644         * panel-applet/NMWirelessApplet.[ch]
17645           panel-applet/menu-info.[ch]
17646                 - Give the panel applet some major love: menu items are no longer
17647                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17648                         This allows the applet to actually reflect theme changes correctly,
17649                         since themeing of subclassed items in GTK _sucks_.
17650
17651 2005-02-18  Dan Williams  <dcbw@redhat.com>
17652
17653         * libnm_glib/libnm_glib.[ch]
17654           test/libnm_glib_test.c
17655                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17656                         and its data, and doesn't have to free the callback data anymore
17657
17658 2005-02-18  Dan Williams  <dcbw@redhat.com>
17659
17660         * panel-applet/NMWirelessApplet.c
17661                 - Revert 2005-02-18 William Jon McCann fix for standard
17662                         copyright string until it passes 'make distcheck'.
17663                         With standard copyright string, xgettext complains
17664                         about "Non-ASCII string at ...".
17665
17666 2005-02-18  Dan Williams  <dcbw@redhat.com>
17667
17668         * panel-applet/essid.glade
17669           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17670                 - Correct spelling of "adaptor"->"adapter"
17671
17672 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17673
17674         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17675         (nmwa_about_cb): Use standard copyright string.  Update comment
17676         text to reflect that it is a notification area applet.  Remove
17677         leading newline in authors list.
17678         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17679         instead of on parent menu item activation.  Fixes #167550.
17680
17681 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17682
17683         * panel-applet/essid.glade: Capitalize items as per HIG.
17684           Fixes #167632
17685
17686 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17687
17688         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17689         files for GTK 2.4 or lower, since now public in GTK 2.6.
17690
17691         * panel-applet/essid.glade: Don't specify window size.
17692         
17693 2005-02-17  Dan Williams  <dcbw@redhat.com>
17694
17695         Caught by Bill Moss:
17696         * dhcpcd/client.c
17697                 - Time remaining for DHCP transaction calculation was incorrectly
17698                         inside a #ifdef DEBUG
17699
17700 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17701
17702         * configure.in: Added fr (French) to ALL_LINGUAS.
17703
17704 2005-02-14  Dan Williams  <dcbw@redhat.com>
17705
17706         * src/NetworkManagerDHCP.c
17707                 - (set_domain_searches): Fix free of invalid pointer
17708
17709 2005-02-14  Dan Williams  <dcbw@redhat.com>
17710
17711         Patch from Peter Jones:
17712         * dhcpcd/client.c
17713                 - Ensure we return RET_DHCP_CEASED everywhere we should
17714         * dhcpcd/udpipgen.c
17715                 - Use faster TOS for IP packets
17716                 - Don't set ip_id since we're UDP
17717
17718         Patch from Tomislav Vujec:
17719         * src/nm-dbus-dhcp.c
17720           test/nm-dhcp-opt-test.c
17721                 - Clean up warnings to enable cvs tree compilation.
17722
17723 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17724
17725         * configure.in
17726           po/hr.po
17727                 - Add the Croatian locale.
17728
17729 2005-02-14  Colin Walters  <walters@verbum.org>
17730
17731         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17732         list of domains to search.
17733         
17734         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17735
17736 2005-02-13  Dan Williams  <dcbw@redhat.com>
17737
17738         * dhcpcd/client.c
17739                 - Debug output cleanups of DHCP option printing and parsing.
17740
17741 2005-02-13  Dan Williams  <dcbw@redhat.com>
17742
17743         Patch from Dan Reed:  DHCP options D-BUS API
17744                 Exposes the DHCP options that a device receives to clients over D-BUS.
17745
17746         * configure.in
17747                 - A few cleanups
17748
17749         * dhcpcd/client.h
17750                 - Correct names, option length, and types for DHCP options
17751
17752         * dhcpcd/dhcpcd.[ch]
17753                 - Clarify function names that access DHCP options & data
17754
17755         * src/NetworkManagerDHCP.c
17756                 - Use new DHCP data access functions
17757
17758         * src/NetworkManagerDbus.c
17759                 - Message handler for DHCP functions
17760
17761         * src/nm-dbus-dhcp.[ch] (new)
17762                 - DHCP dbus methods
17763
17764         * test/nm-dhcp-opt-test.c
17765                 - Test DHCP D-BUS API and return all present DHCP options
17766
17767 2005-02-12  Dan Williams  <dcbw@redhat.com>
17768
17769         * test/Makefile.am
17770           test/nmclienttest.c
17771           test/nmtest.c
17772                 - Move nmclienttest.c -> nmtest.c
17773
17774 2005-02-12  Dan Williams  <dcbw@redhat.com>
17775
17776         * dhcpcd/buildmsg.c
17777                 - Pad DHCP packets until they are at least 300 bytes in size.
17778
17779 2005-02-11  Dan Williams  <dcbw@redhat.com>
17780
17781         * dhcpcd/client.c
17782                 - (dhcp_init): only print out client ID and class ID if they are specified
17783
17784         * src/NetworkManagerDbus.[ch]
17785           src/nm-dbus-nm.[ch]
17786           src/nm-dbus-device.[ch]
17787           src/nm-dbus-net.[ch]
17788                 - Move NM, Device, and Net functions to separate files and use the
17789                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17790                         method dispatching
17791
17792         * src/NetworkManagerDbusUtils.c
17793                 - Add new validate_method called before each dispatch (if present)
17794                         that can validate the method call
17795
17796         * src/NetworkManagerWireless.c
17797                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17798                         levels never to be evaluated
17799
17800         Patch from j@bootlab.org
17801         * src/NetworkManagerDevice.c
17802                 - Add typedef for "u64"
17803
17804         * src/backends/NetworkManagerDebian.c
17805                 - Copy in Dave Woodhouse's fixes for IPv6
17806
17807 2005-02-11  Dan Williams  <dcbw@redhat.com>
17808
17809         Patch from Dave Woodhouse for IPv6:
17810         * src/NetworkManagerUtils.c
17811                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17812                         and multicast addresses
17813
17814         * src/NetworkManagerDevice.c
17815                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17816                         after bringing up a card.
17817
17818 2005-02-10  Dan Williams  <dcbw@redhat.com>
17819
17820         Patch from Dave Woodhouse:
17821         * src/NetworkManagerSystem.h
17822           src/backends/NetworkManagerDebian.c
17823           src/backends/NetworkManagerGentoo.c
17824           src/backends/NetworkManagerSlackware.c
17825                 - New nm_system_device_add_ip6_link_address() function to add link-local
17826                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17827
17828         * src/backends/NetworkManagerRedHat.c
17829                 - (nm_system_device_add_ip6_link_address): implement
17830                 - (nm_system_device_flush_addresses): revert to previous behavior of
17831                         flushing all addresses
17832
17833 2005-02-10  Dan Williams  <dcbw@redhat.com>
17834
17835         Patch from Tom Parker:
17836         * src/NetworkManagerDevice.c
17837                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17838                         mii.h headers are broken, and instead use our own typedefs
17839
17840 2005-02-10  Dan Williams  <dcbw@redhat.com>
17841
17842         * dhcpcd/buildmsg.c
17843                 - (fill_host_and_class_id): only fill in client and class IDs if
17844                         they are set by callers.
17845
17846         * dhcpcd/client.c
17847                 - (class_id_setup): don't autogenerate a class ID, only use one
17848                         we're given, if any.
17849                 - (client_id_setup): don't autogenerate a client ID, only use one
17850                         we're given, if any.
17851
17852         * dhcpcd/dhcpcd.c
17853                 - (dhcp_interface_init): ensure that client options are correctly
17854                         NULL terminated
17855
17856         * src/NetworkManagerDHCP.c
17857                 - (nm_device_dhcp_request): pass hostname to dhcp library
17858
17859 2005-02-10  Dan Williams  <dcbw@redhat.com>
17860
17861         * dhcpcd/client.c
17862                 - #rh147661# Don't send kernel version in DHCP requests
17863
17864         * src/NetworkManagerSystem.h
17865           src/backends/NetworkManagerDebian.c
17866           src/backends/NetworkManagerGentoo.c
17867           src/backends/NetworkManagerRedHat.c
17868           src/backends/NetworkManagerSlackware.c
17869                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17870                         functions, they are no longer used anyway
17871
17872         * src/backends/NetworkManagerRedHat.c
17873                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17874                         addresses in an attempt to keep IPv6 local-scope addresses around
17875
17876 2005-02-10  Dan Williams  <dcbw@redhat.com>
17877
17878         * src/NetworkManager.c
17879                 - (nm_create_device_and_add_to_list): change the add message slightly
17880
17881         * src/NetworkManagerUtils.c
17882                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17883                         Return driver name to calling function
17884                 - (nm_get_driver_support_level): print out the driver a device is using
17885                         during the support check
17886
17887         Patch from Dave Woodhouse:
17888         * dhcpcd/udpipgen.c
17889                 - (in_cksum): copy last byte of odd-sized packets into a
17890                         'u_short' rather than a 'u_char', should fix wrong checksums
17891                         on big-endian platforms
17892
17893 2005-02-09  Dan Williams  <dcbw@redhat.com>
17894
17895         * Clean up usage of GSList objects and looping through their members
17896         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17897                 now.
17898         * Fix problem where even if scanning was turned off, card would still
17899                 cycle through frequencies.
17900
17901 2005-02-08  Dan Williams  <dcbw@redhat.com>
17902
17903         * panel-applet/NMWirelessApplet.c
17904                 - Fix for gtk 2.4
17905
17906 2005-02-08  Dan Williams  <dcbw@redhat.com>
17907
17908         Patch from Bill Moss
17909         * panel-applet/NMWirelessApplet.c
17910                 - Restore correct ESSID in tooltips
17911
17912 2005-02-07  Dan Williams  <dcbw@redhat.com>
17913
17914         * panel-applet/NMWirelessApplet.[ch]
17915                 - Add a context menu that contains:
17916                         Pause/Resume Wireless Scanning
17917                         Stop/Start All Wireless Devices
17918                         About...
17919                 - Grab active device strength off active device,
17920                         not its network
17921
17922         * panel-applet/NMWirelessAppletDbus.[ch]
17923                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17924                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17925                 - Update active device strength every 2 seconds, not every 1 second
17926
17927         * panel-applet/menu-info.c
17928                 - Only disable wired devices in the menu when they support carrier detection,
17929                         and don't currently have a link.  Non-carrier-detect devices will always
17930                         remain choosable
17931
17932         * src/Makefile.am
17933           src/NetworkManagerDbusUtils.[ch]
17934                 - Add new new dbus utils sources
17935
17936         * src/NetworkManager.c
17937                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17938                         with the boolean parameter
17939                 - Set scanning_enabled & wireless_enabled to TRUE
17940
17941         * src/NetworkManagerDbus.c
17942                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17943                 - Implement scanning & wireless enable/disable calls
17944                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17945
17946         * src/NetworkManagerDevice.c
17947                 - New link detection stuff again...
17948                         o  Create device's mainloop earlier (but don't run it earlier)
17949                         o  Hook up new carrier-detect support stuff
17950                         o  Add in the ethtool & mii support detection code
17951                 - Don't scan if scanning is disabled
17952
17953         * src/NetworkManagerPolicy.c
17954                 - Never automatically choose a device that doesn't support carrier detection
17955                 - Don't automatically choose a wireless device if wireless is disabled
17956
17957 2005-02-07  Dan Williams  <dcbw@redhat.com>
17958
17959         * libnm_glib/libnm_glib.c
17960                 - Small cleanup in element list iteration
17961
17962 2005-02-07  Dan Williams  <dcbw@redhat.com>
17963
17964         * src/NetworkManagerWireless.c
17965                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17966                         to be in line with the WEXT quality specification
17967
17968 2005-02-02  Dan Williams  <dcbw@redhat.com>
17969
17970         Patch from Nathan Fredrickson <nathan@silverorange.com>
17971         * Fix up compile for deprecation of libgnomeui
17972                 - Switch to <glib/gi18n.h> from <libintl.h>
17973                 - Remove <libgnomeui/libgnomeui.h> includes
17974                 - Use gtk_window_set_default_icon_from_file() rather than
17975                         gnome_window_set_default_icon_from_file()
17976
17977         * named/nm-named-manager.c
17978                 - (generate_named_conf): Fix return-nothing in non-void
17979                         function
17980
17981 2005-02-02  Dan Williams  <dcbw@redhat.com>
17982
17983         * Clean up unused variables and the like
17984
17985 2005-02-02  Dan Williams  <dcbw@redhat.com>
17986
17987         * src/NetworkManagerAPList.c
17988                 - (nm_ap_list_merge_scanned_ap): merge strength too
17989
17990         * src/NetworkManagerUtils.c
17991                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17992                         of locking issues by printing out prettier information than g_mutex_lock
17993                 - Print out names of mutexes registered with nm_register_mutex_desc()
17994                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17995                         us to seemingly block here for too long
17996
17997         * src/NetworkManager.c
17998           src/NetworkManagerAPList.c
17999           src/NetworkManagerDevice.c
18000                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18001                         so we get better debug information printed
18002
18003         * src/NetworkManagerDbus.c
18004                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18005                         since it sometimes has locking side effects
18006                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18007                         from 10s
18008                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18009                         we don't need a switch.  This gets called often enough that we can't block
18010                         until the scan mutex is acquired, because we'll block on device activation
18011                         and a few other things, which hangs main thread for too long.
18012
18013         * src/NetworkManagerPolicy.c
18014                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18015                         nm_device_need_ap_switch() will be called               
18016
18017 2005-02-02  Dan Williams  <dcbw@redhat.com>
18018
18019         * panel-applet/NMWirelessApplet.c
18020                 - Display name of wireless network we are connecting to or connected to
18021                         in the tooltip of the applet
18022
18023 2005-02-02  Dan Williams  <dcbw@redhat.com>
18024
18025         * src/NetworkManagerDHCP.c
18026                 - Hopefully fix double-default-route problem by cleaning up the default
18027                         route added by DHCP code right before the DHCP transaction begins
18028
18029 2005-02-02  Dan Williams  <dcbw@redhat.com>
18030
18031         * named/nm-named-manager.c
18032                 - Write out valid resolv.conf when we exit
18033
18034 2005-02-01  Dan Williams  <dcbw@redhat.com>
18035
18036         Patch from Colin Walters:
18037         * named/nm-named-manager.c
18038                 - Make multi-domain search options work
18039
18040 2005-01-31  Dan Williams  <dcbw@redhat.com>
18041
18042         * info-daemon/NetworkManagerInfoDbus.c
18043                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18044
18045         * src/NetworkManagerDevice.c
18046                 - (nm_device_new): Don't store the entire range struct, use only what we need
18047                         (which is currently avg_quality, max_quality, and frequencies).  Also
18048                         zero device structure when we've free'd it to maybe expose errors down
18049                         the line.
18050                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18051                         quality data from the card since quality will be useless during a scan.
18052                         Call updated wireless qual-to-percent function with values stored in
18053                         nm_device_new() earlier.
18054                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18055                         nm_device_get_bad_crypt_packets())
18056                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18057                         nm_device_new()
18058                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18059                         list if available.  Problem was this: when the WEP key is wrong, NM will
18060                         try OS then SK modes, and then get stuck in SK mode after that.  This
18061                         should reset it.
18062                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18063                         function
18064
18065         * src/NetworkManagerWireless.c
18066                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18067                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18068                         if that's all present, otherwise fall back to signal-to-noise ratios.
18069
18070 2005-01-29  Dan Williams  <dcbw@redhat.com>
18071
18072         * initscript/RedHat/NetworkManager
18073                 - Don't spit out sysctl stuff to console
18074
18075         * libnm_glib/libnm_glib.c
18076                 - (libnm_glib_init): call dbus_g_thread_init()
18077
18078         * panel-applet/NMWirelessAppletDbus.c
18079                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18080
18081         * src/NetworkManager.c
18082                 - (main): call dbus_g_thread_init()
18083
18084         * src/NetworkManagerAPList.c
18085                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18086                         so we can actually see what's there in a normal syslog
18087
18088         * src/NetworkManagerDevice.c
18089                 - (nm_device_activate_wireless): print out the "waiting for access point"
18090                         message only once, then say what access point we actually got after
18091                         the wait.
18092                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18093                         function, wait until the scan is done.  Scans may change the ESSID of
18094                         the card, making this function think we need to switch access points
18095                 - (nm_device_wireless_process_scan_results): for artificial access points
18096                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18097                         prevents collisions with the scanning code, which may change the card's
18098                         ESSID and cause the access point to get dropped from the device's AP
18099                         list.  Also increase the keep-around time to 2m from 60s since the max
18100                         scan interval could be 60s in some cases.
18101
18102         * src/NetworkManagerPolicy.c
18103                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18104                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18105                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18106                         between NM and NMI.
18107
18108 2005-01-27  Dan Williams  <dcbw@redhat.com>
18109
18110         * info-daemon/NetworkManagerInfoDbus.c
18111                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18112                         GConf, make a minimal entry for it (essid & timestamp)
18113
18114         * src/NetworkManagerAPList.c
18115                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18116                         NetworkManagerInfo isn't running
18117
18118         * src/NetworkManagerDbus.[ch]
18119                 - (nm_dbus_nmi_is_running): new function
18120
18121         * src/NetworkManagerDevice.c
18122                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18123                         address to garbage.
18124
18125         * src/NetworkManagerPolicy.c
18126                 - (nm_policy_activation_finish): On successful activation, make sure
18127                         the "best" AP has a MAC address, and don't tell NMI to add the
18128                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18129                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18130                         access point after refreshing our allowed list if it doesn't already
18131                         have a "best" access point.
18132
18133 2005-01-25  Dan Williams  <dcbw@redhat.com>
18134
18135         * panel-applet/NMWirelessAppletDbus.c
18136                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18137                         so we check for NM_DBUS_SERVICE rather than not for it
18138
18139         * libnm_glib/libnm_glib.c
18140                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18141                         ServiceOwnerChanged signal
18142
18143 2005-01-25  Dan Williams  <dcbw@redhat.com>
18144
18145         * configure.in
18146                 - Check DBUS version in configure, and set the C macros
18147                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18148
18149         * info-daemon/NetworkManagerInfoDbus.c
18150                 - Remove #if 0-d section of code that quit NMI if NM went away.
18151
18152         * panel-applet/NMWirelessAppletDbus.c
18153                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18154
18155         * src/NetworkManager.c
18156           src/NetworkManagerMain.h
18157           src/NetworkManagerDbus.c
18158                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18159                 - Make updating of our Allowed Wireless Network lists from NMI
18160                         an idle function in the main thread now, with a high priority.
18161
18162 2005-01-24  Dan Williams  <dcbw@redhat.com>
18163
18164         * panel-applet/gtkcellview.[ch]
18165           panel-applet/menu-info.c
18166                 - Fix GTK version checks to be <= rather than <
18167
18168         * test/Makefile.am
18169                 - Include the libtool archive of libnm_glib rather than
18170                         trying to pull in the .so
18171
18172 2005-01-24  Dan Williams  <dcbw@redhat.com>
18173
18174         * src/NetworkManagerDevice.c
18175           src/NetworkManagerDevicePrivate.h
18176                 - Block nm_device_new() until our device's worker thread has had a
18177                         chance to start up.  Fixes a race between main thread and worker
18178                         thread starting that caused activation requests to get lost.
18179
18180 2005-01-24  Dan Williams  <dcbw@redhat.com>
18181
18182         * initscript/RedHat/NetworkManager
18183                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18184                         to add the NM startup script at priority 50, which was
18185                         way too early
18186
18187 2005-01-24  Colin Walters  <walters@redhat.com>
18188
18189         * named/named.conf: Use any port for query source instead of
18190         restricting to port 53.
18191
18192 2005-01-24  Dan Williams  <dcbw@redhat.com>
18193
18194         * initscript/RedHat/NetworkManager
18195                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18196                         to add the NM startup script at priority 50, which was
18197                         way too early
18198
18199 2005-01-24  Dan Williams  <dcbw@redhat.com>
18200
18201         Patch from Tom Parker <palfrey@tevp.net>
18202         * Fix up compile warnings & errors in the wireless applet
18203
18204 2005-01-24  Dan Williams  <dcbw@redhat.com>
18205
18206         * panel-applet/NMWirelessApplet.c
18207                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18208
18209 2005-01-24  Dan Williams  <dcbw@redhat.com>
18210
18211         * panel-applet/gtkcellview.[ch]
18212                 - Only compile these files for GTK 2.4 or lower, since 
18213                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18214                         when choosing "Other Wireless Networks" from the panel
18215                         applet menu
18216
18217 2005-01-21  Dan Williams  <dcbw@redhat.com>
18218
18219         * src/NetworkManager.c
18220                 - Daemonize earlier so that glib doesn't get confused (?)
18221
18222 2005-01-21  Dan Williams  <dcbw@redhat.com>
18223
18224         * panel-applet/NMWirelessApplet.[ch]
18225           panel-applet/NMWirelessAppletDbus.c
18226           panel-applet/menu-info.c
18227           src/NetworkManagerDevice.c
18228                 - Disable wired devices in the menu when they have no link.
18229
18230 2005-01-21  Dan Williams  <dcbw@redhat.com>
18231
18232         * Cache last-known-good wireless authentication method in
18233                 NetworkManagerInfo, and use that method first during
18234                 wireless device activation.  Should speed up devices that
18235                 need Shared Key authentication method since Open System is
18236                 now the default.
18237
18238         * Remove the hack to not do full activation on wired connections
18239                 that are active when we launch, it causes too many problems
18240                 with name resolution and was a hack in the first place.
18241
18242         * Re-work wireless device activation again somewhat to have a
18243                 clearer chain of events and to use last-known-good
18244                 authentication method of the access point.  Also provide
18245                 better status throughout activation to ensure the applet
18246                 can tell the user exactly what's going on.
18247
18248         * Remove the "find wireless network" code and now simply attempt
18249                 to activate with that access point.  This reduces the delay
18250                 between selecting "Other wireless Network" and actually
18251                 connecting to that network.
18252
18253         * Correctly stop the device's worker thread when its removed.
18254
18255 2005-01-21  Dan Williams  <dcbw@redhat.com>
18256
18257         * dhcpcd/client.c
18258                 - Clean up some of the debug messages
18259
18260 2005-01-21  Dan Williams  <dcbw@redhat.com>
18261
18262         * Add new icons, more frames of animation
18263         * Remove some hacks to get the panel applet to display correct
18264                 status, an NM update will soon follow that will fix the
18265                 real issue.
18266
18267 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18268
18269         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18270         the first include for working i18n. Also, don't include it in .h files
18271         * panel-applet/NMWirelessApplet.h: Same
18272         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18273         * panel-applet/menu-info.c: Same
18274
18275 2005-01-18  Dan Williams <dcbw@redhat.com>
18276
18277         * dhcpcd/client.c
18278                 - Remove some debug messages
18279                 - Wrap others in #ifdef DEBUG/#endif
18280
18281         * src/NetworkManager.c
18282                 - Remove some debug messages
18283                 - Clarify some debug messages
18284                 - Remove code related to old single-thread wireless scanning
18285
18286         * src/NetworkManagerAP.[ch]
18287                 - New AP property "last_seen" to track how recently an AP was
18288                         found in a scan
18289                 - Start using 'const' more in function arguments
18290
18291         * src/NetworkManagerAPList.[ch]
18292                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18293                         of an AP found in an AP list from a source AP, or if not found
18294                         in the list add the source AP
18295                 - (nm_ap_list_combine): remove, no longer needed
18296
18297         * src/NetworkManagerDevice.c
18298                 - Each device now has a "worker" thread from start to end of its life.
18299                         Scanning for wireless devices now happens in that thread,
18300                         not in a single "wireless scanning thread" for all devices as
18301                         previously.  Activation consists of adding an idle handler to the
18302                         thread's main loop/context, which gets run at the next available
18303                         opportunity.
18304                 - Wireless scanning is also simplified, there is now only one list of
18305                         access points per wireless device, and APs older than 60s are
18306                         removed from the list.  Previously, we kept results for the last
18307                         3 scans and merged whole lists, which was complicated.
18308                 - Cleaned up activation debug messages.
18309                 - Wireless activation and access-point search routines now use Open System
18310                         authentication before trying Shared Key.
18311                 - Removed some code in nm_device_update_best_ap() that could cause cards
18312                         to loose their link to the access point.
18313                 - Scanning now uses a backoff algorithm, where the inverval becomes
18314                         progressively longer between scans when the list of scanned access
18315                         points doesn't change.  A change will revert to the shortest scan
18316                         interval (20s).
18317
18318         * src/NetworkManagerWireless.[ch]
18319                 - Remove code related to old single-thread wireless scanning
18320
18321 2005-01-18  Colin Walters  <walters@redhat.com>
18322
18323         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18324         of older nameservers.
18325
18326 2005-01-18  Colin Walters  <walters@redhat.com>
18327
18328         * named/nm-named-manager.c (generate_named_conf): Many fixes
18329         to config file generation.
18330         (safer_kill): Remove, was too much trouble for little gain.
18331         (nm_named_manager_start): Run named as NM_NAMED_USER.
18332
18333         * configure.in: Add option --with-named-user.
18334
18335 2005-01-14  Colin Walters  <walters@redhat.com>
18336
18337         Patch from ed@catmur.co.uk (Ed Catmur)
18338
18339         * named/nm-named-manager.c: Add "context" property.
18340         Use it to add child watch source in specific GMainContext.
18341
18342         * src/NetworkManager.c (nm_data_new): Initialize
18343         named with correct main context.  Start named only
18344         after forking.
18345
18346 2005-01-14  Colin Walters  <walters@redhat.com>
18347
18348         * named/nm-named-manager.c (generate_named_conf): Write config
18349         and pid files into NM_NAMED_DATA_DIR; this allows things to
18350         work better with FC3 named SELinux policy.  Also fix up silly
18351         format error.
18352
18353         * configure.in: Add --with-named-dir option.
18354
18355 2005-01-14  Colin Walters  <walters@redhat.com>
18356
18357         * configure.in: Make named support require passing --with-named.
18358
18359         * named/nm-named-manager.c: Support writing resolv.conf directly
18360         without running named.
18361
18362 2005-01-13  Dan Williams <dcbw@redhat.com>
18363
18364         * named/nm-named-manager.c
18365                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18366
18367         * src/NetworkManagerDevice.c
18368                 - Rework wireless link detection code to be more reliable
18369
18370 2005-01-12  Dan Williams <dcbw@redhat.com>
18371
18372         * initscripts/RedHat/NetworkManager
18373                 - Change initial level to "-" rather than "345" so that
18374                         we don't activate ourselves by default on install
18375
18376 2005-01-12  Dan Williams <dcbw@redhat.com>
18377
18378         * libnm_glib/
18379                 - Client library for applications using glib
18380
18381         * configure.in
18382           various Makefiles
18383                 - Split NM_CFLAGS and NM_LIBS into separate variables
18384                         like DBUS_*, HAL_* and GLIB_*
18385
18386         * src/NetworkManager.c
18387           src/NetworkManagerMain.h
18388                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18389                         broadcast a status changed signal over DBUS from the main thread.
18390                         Still unused anywhere for the moment.
18391
18392         Patch from j@bootlab.org
18393         * panel_applet/NMWirelessAppletDbus.c
18394           src/NetworkManagerDbus.c
18395                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18396                         for the "getMode" method call
18397
18398 2005-01-10  Dan Williams <dcbw@redhat.com>
18399
18400         * src/NetworkManagerDevice.c
18401                 - Minor fixups & corrections to "auto" frequency mode, make it
18402                         less chatty with syslog
18403
18404 2005-01-10  Dan Williams <dcbw@redhat.com>
18405
18406         * src/NetworkManagerDevice.c
18407                 - Implement "auto" frequency/channel support, since cards like Atheros
18408                         can't use other frequencies at all when you've told it to use a
18409                         specific one, even for scanning.
18410                 - Grab the scan mutex around places where we can't tolerate wireless
18411                         settings changing underneath us, like nm_device_wireless_network_exists()
18412                         and nm_device_activate_wireless()
18413
18414         * src/NetworkManagerWireless.c
18415                 - Back scan interval off to 20s instead of 14s
18416
18417 2005-01-09  Dan Williams <dcbw@redhat.com>
18418
18419         * src/NetworkManagerDevice.c
18420                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18421                         already set.  Stops some drivers like Atmel from continually
18422                         reloading the firmware, which they do upon every configuration
18423                         change.
18424
18425 2005-01-09  Dan Williams <dcbw@redhat.com>
18426
18427         * dhcpcd/client.c
18428                 - Use correct timeout value
18429
18430         * info-daemon/NetworkManagerInfoDbus.c
18431           src/NetworkManagerDbus.c
18432                 - Consolidate communication between NM and NMI by doing only 1 dbus
18433                         method call to get Wireless Network info from NMI instead of 6
18434
18435         * src/NetworkManager.c
18436                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18437                         when we didn't have an AP to use, we'd wait for one forever without
18438                         quitting
18439
18440         * src/NetworkManagerDevice.c
18441                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18442                         activation, dhcp might not have started yet but we don't quit activation
18443                         before starting it, so the quit signal gets lost
18444
18445 2005-01-07  Dan Williams <dcbw@redhat.com>
18446
18447         * dhcpcd/client.c
18448                 - Rework the DHCP client code to be much less chatty when
18449                         it receives non-DHCP UDP packets during the DHCP run
18450                         (reported by and preliminary patches from Bill Moss)
18451
18452         * Move wireless scanning to a separate thread.  This thread forwards the
18453                 results to the main thread when done where they are integrated into
18454                 the device's access point lists.  This keeps the main thread (which
18455                 does all the DBUS communication) from being blocked for long periods
18456                 of time by wireless scanning.
18457
18458         * Make state modification an idle routine in the main loop, and trigger
18459                 state changes rather than polling for them.
18460
18461         * src/backends/NetworkManagerGentoo.c
18462                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18463
18464         * src/NetworkManagerDevice.c
18465                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18466                         router advertisements, causing problems and infinite loop
18467                         during "best" device determination due to link going up/down
18468                         (reported by Bill Moss)
18469
18470         Apply patch from Peter Jones
18471         * src/NetworkManagerDevice.c
18472                 - Shortcut for link-checking for ipw2x00 cards
18473                 - Split out association check into separate routine
18474
18475 2004-01-05  Colin Walters  <walters@redhat.com>
18476
18477         * named/named.conf: Add PID_FILE.
18478
18479         * named/nm-named-manager.c: Always generate a pid
18480         file, since older BIND versions don't support
18481         "pid-file none".
18482
18483 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18484
18485         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18486
18487 2004-12-22  Dan Williams <dcbw@redhat.com>
18488
18489         * src/NetworkManagerDevice.c
18490                 - Silently fail when setting bitrate doesn't work
18491
18492
18493         Patches from j@bootlab.org:
18494         * src/backends/NetworkManagerDebian
18495                 - Update backend to match functionality in RedHat backend
18496         * src/NetworkManagerDevice.c
18497                 - Take down then bring up wired devices after connection so
18498                 they send out ipv6 router advertisements
18499
18500 2004-12-21  Colin Walters  <walters@verbum.org>
18501
18502         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18503         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18504
18505 2004-12-21  Colin Walters  <walters@redhat.com>
18506
18507         * configure.in: Correct named detection.
18508
18509 2004-12-21  Colin Walters  <walters@redhat.com>
18510
18511         * src/NetworkManager.c (nm_data_new): Initialize named.
18512         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18513         the mainloop when these signals are received.
18514         (nm_data_free): Unref named.
18515         (sigterm_handler, sigterm_pipe_handler): New functions for
18516         exiting mainloop.
18517         
18518         * src/NetworkManagerMain.h (NMData): Add signal handling and
18519         nameserver bits.
18520
18521         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18522         unref.
18523
18524         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18525         set nameservers from DHCP response data.
18526         (set_domain_search): Set domain search from DHCP response.
18527         (nm_device_dhcp_configure): Invoke them.
18528
18529         * src/NetworkManagerSystem.c
18530         (nm_system_device_update_resolv_conf): Delete.  Deleting
18531         code is totally sweet.
18532
18533         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18534
18535         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18536         implements an object which controls a nameserver.  Currently
18537         uses bind 9.
18538
18539         * configure.in: Check for named.
18540
18541         * Makefile.am (SUBDIRS): Add named dir.
18542
18543         * named/named.conf: New template config file.
18544
18545 2004-12-20  Colin Walters  <walters@redhat.com>
18546
18547         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18548         instead of '='.
18549
18550 2004-12-17  Dan Williams  <dcbw@redhat.com>
18551
18552         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18553                 link-local addresses instead of doing DHCP.
18554
18555         * In the panel applet, there's a new "Create new Wireless Network..." item
18556
18557         * The panel applet also sticks around now even if NetworkManager dies, but
18558                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18559                 a bug, I'll fix that later.
18560
18561         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18562                 lookups after a switch rather than actually doing them.
18563
18564         * Clean up some of those warnings in nm_ap_list_* functions
18565
18566         * Delay between scans changed to 15s instead of 10s
18567
18568 2004-12-15  Dan Williams  <dcbw@redhat.com>
18569
18570         Patch from Tom Parker
18571         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18572                 address
18573
18574         * Longer pause after setting ESSID on cards that support a larger number
18575                 of channels to give the card time to find the right channel
18576
18577         * Add system hook to restart mDNSResponder (or whatever the local implementation
18578                 of Multicast DNS is) when we activate interfaces
18579
18580 2004-12-15  Dan Williams  <dcbw@redhat.com>
18581
18582         * Rework the DHCP code again to revert to sending full ethernet frames
18583                 rather then relying on the kernel to do the right thing with our
18584                 packets.
18585
18586 2004-12-06  Dan Williams  <dcbw@redhat.com>
18587
18588         * dhcpcd/client.c
18589                 - Fix some minor errors in dhcp_handle_transaction() that caused
18590                         unexpected early timeouts of DHCP transactions
18591
18592         * dhcpcd/client.h
18593                 - DHCP retransmit time from 4s -> 5s
18594
18595 2004-12-05  Dan Williams  <dcbw@redhat.com>
18596
18597         * Major rework of the DHCP code, taking some cues from pump.  We don't
18598                 write raw Ethernet packets anymore, which simplifies the code quite
18599                 a bit.  The new code should be more robust, not hang in recvfrom()
18600                 as much, and generally work better.  This also means that we need
18601                 to force HAL/dbus to use a created GMainContext rather than the
18602                 default context, since having the DHCP renew/rebind thread using
18603                 its own GMainContext seemed to give dbus a fit.  There is also more
18604                 debugging information printed from the DHCP loop to help with future
18605                 problems.
18606
18607         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18608                 assume that the default gateway should be the DHCP server.
18609
18610         Patch from Matthew Schick <matt oss-institute org>
18611         * src/backends/NetworkManagerGentoo.c
18612                 - Fix compilation error due to missing "ip4_broadcast"
18613
18614 2004-12-03  Dan Williams  <dcbw@redhat.com>
18615
18616         * initscript/Makefile.am
18617         * initscript/Debian/NetworkManager
18618         * initscript/Gentoo/NetworkManager
18619         * initscript/RedHat/NetworkManager
18620         * initscript/NMLaunchHelper.c
18621                 - Remove NMLaunchHelper, if you need to wait until the network
18622                         comes up, use the dead code from CVS.
18623
18624 2004-12-01  Colin Walters  <walters@redhat.com>
18625         
18626         * configure.in: Suck in gcc warnings code from Rhythmbox,
18627         but use fewer default flags, and in particular add -Wno-unused,
18628         since the codebase has a lot of unused variables.
18629
18630         * test/nmtestdevices.c (create_device): 
18631         * test/nminfotest.c (get_network_string_property) 
18632         (get_networks_of_type): 
18633         * test/nmclienttest.c (main): 
18634         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18635         * initscript/NMLaunchHelper.c (get_nm_status): 
18636         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18637         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18638         Fix declarations after statements.
18639
18640 2004-12-01  Colin Walters  <walters@redhat.com>
18641
18642         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18643         (nmi_dbus_get_vpn_userpass): New method.
18644         (nmi_dbus_nmi_message_handler): Invoke it.
18645
18646         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18647
18648         * info-daemon/NetworkManagerInfoVPN.h,
18649         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18650         to requests for VPN passwords.
18651
18652         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18653
18654 2004-12-01  Colin Walters  <walters@redhat.com>
18655
18656         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18657         includes.
18658
18659 2004-12-01  Colin Walters  <walters@redhat.com>
18660
18661         * panel-applet/NMWirelessAppletDbus.c
18662         (nmwa_dbus_update_active_device_strength): Fix missing
18663         return value.
18664
18665 2004-12-01  Colin Walters  <walters@redhat.com>
18666
18667         * panel-applet/NMWirelessApplet.c: Add missing include.
18668
18669 2004-12-01  Colin Walters  <walters@redhat.com>
18670
18671         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18672         Remove useless CLAMP (); the value is unsigned, and the case tests
18673         qual->qual < 100, so the value must always be between 0 and 100.
18674
18675 2004-12-01  Colin Walters  <walters@redhat.com>
18676
18677         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18678
18679 2004-11-22  Colin Walters  <walters@verbum.org>
18680
18681         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18682         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18683         which is essentially a noop since nscd caches hosts on disk too.
18684         
18685 2004-11-22  Colin Walters  <walters@redhat.com>
18686
18687         * src/Makefile.am (NetworkManager_SOURCES): Add
18688         NetworkManagerDevicePrivate.h.
18689
18690 2004-11-22  Dan Williams <dcbw@redhat.com>
18691
18692         * src/NetworkManagerDevicePrivate.h
18693                 - Split out the NMDevice struct to a different file so that stuff like
18694                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18695
18696         * dhcpcd/client.c
18697                 - fprintf->syslog
18698                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18699                         need to cancel the dhcp request during the send and recv
18700
18701         * dhcpcd/client.h
18702                 - Move the DHCP option enum to dhcpcd.h
18703
18704         * src/NetworkManagerDHCP.c
18705                 - Split out the actual IP/netmask/etc setting code
18706                 - New Renew/Rebind functions
18707                 - New timer setup function for renew/rebind operations
18708
18709         * src/NetworkManagerDevice.c
18710                 - For device activation, if we are using DHCP then keep the activation thread
18711                         alive until device deactivation.  We need to renew/rebind the DHCP address
18712                         after the T1 (renew) and T2 (rebind) times have expired.
18713                 - Increase some timeouts after bringing wireless cards up/down
18714
18715 2004-11-17  Dan Williams <dcbw@redhat.com>
18716
18717         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18718                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18719                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18720                 show known access points that don't broadcast their ESSID in the menus without
18721                 any user intervention whatsoever.
18722
18723         * info-daemon/NetworkManagerInfoDbus.c
18724                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18725                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18726
18727         * src/NetworkManagerAP.[ch]
18728                 - Add a "user_addresses" data member to the NMAccessPoint structure
18729                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18730                         the user_addresses data member
18731
18732         * src/NetworkManagerAPList.c
18733                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18734                         the AP's reported address
18735                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18736
18737         * src/NetworkManagerDHCP.c
18738                 - Increase DHCP timeout from 25s -> 30s
18739
18740         * src/NetworkManagerDbus.[ch]
18741                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18742                         user addresses
18743
18744         * src/NetworkManagerDevice.c
18745                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18746                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18747                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18748                         So, we take the card down to clear it out.
18749                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18750                         too, since that's where the user_addresses are
18751
18752         * src/NetworkManagerPolicy.c
18753                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18754                         that wireless networks' user_addresses list upon successful activation
18755
18756 2004-11-16  Dan Williams <dcbw@redhat.com>
18757
18758         * src/NetworkManagerDevice.[ch]
18759                 - (nm_device_clear_activation_fail): new function
18760
18761         * src/NetworkManagerPolicy.c
18762                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18763                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18764
18765 2004-11-16  Dan Williams <dcbw@redhat.com>
18766
18767         * src/NetworkManagerDevice.c
18768                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18769                         leak the structure, better updating of now_scanning status
18770                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18771
18772 2004-11-15  Dan Williams <dcbw@redhat.com>
18773
18774         Major rework of link detection code.  We now use DHCP
18775         as part of the link detection which proves to be much more robust,
18776         and also supports Open System authentication for wireless networks.
18777
18778         We no longer use external DHCP client programs.  Instead, we use 
18779         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18780         which was written by:
18781                 Yoichi Hariguchi <yoichi@fore.com>
18782                 Sergei Viznyuk <sv@phystech.com>
18783                 http://www.phystech.com/download/
18784         It resides in the "dhcpcd" directory and was refactored into a general
18785         purpose DHCP client library by me.
18786
18787         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18788         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18789
18790 2004-11-15  Dan Williams <dcbw@redhat.com>
18791
18792         Patch from Tom Parker <palfrey@tevp.net>:
18793
18794         * src/NetworkManagerDevice.c
18795                 - Less output to console when no access
18796                         points are found during a scan
18797
18798 2004-11-15  Dan Williams <dcbw@redhat.com>
18799
18800         Patch from Tom Parker <palfrey@tevp.net>:
18801
18802         * src/backends/interface_parser.c
18803                 - Use g_strdup ()
18804                 - Check for inp == NULL
18805                 - use syslog ()
18806
18807 2004-11-13  Colin Walters  <walters@redhat.com>
18808
18809         Patch from Tom Parker <palfrey@tevp.net>:
18810
18811         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18812         
18813         * src/backends/NetworkManagerRedHat.c: Switch to
18814         including shvar.h instead of shvar.c.
18815
18816         * src/backends/NetworkManagerDebian.c: Don't include
18817         interface_parser.c in source file.
18818
18819         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18820         and interface_parser.[ch].
18821         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18822         Include shvar.c and shvar.h here.
18823         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18824         interface_parser.c and interface_parser.h here.
18825
18826 2004-11-12  Colin Walters  <walters@redhat.com>
18827
18828         * configure.in: Strip out TARGET_DISTRO and
18829         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18830         conditionals.
18831
18832         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18833         (libnmbackend_la_SOURCES): Use Automake conditionals
18834         to add distro-specific files.
18835
18836         * initscript/Makefile.am (SUBDIRS): Update to
18837         use conditionals.
18838
18839 2004-11-12  Colin Walters  <walters@redhat.com>
18840
18841         Patches from j bootlab org
18842
18843         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18844         Add interface_parser.[ch].
18845
18846         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18847         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18848
18849 2004-11-12  Colin Walters  <walters@redhat.com>
18850
18851         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18852         call to nmi_dbus_is_running too, not necessary anymore.
18853         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18854         pick up exit().
18855
18856 2004-11-11  Colin Walters  <walters@verbum.org>
18857
18858         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18859         Delete.
18860         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18861         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18862         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18863         This avoids a race condition that made it pretty easily
18864         possible to get two NetworkManagerInfo daemons running.
18865
18866 2004-11-11  Colin Walters  <walters@verbum.org>
18867         
18868         * src/NetworkManager.c (main): Use daemon(3).
18869
18870         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18871
18872         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18873
18874 2004-11-10 Dan Williams <dcbw@redhat.com>
18875
18876         Patches from j bootlab org
18877         * src/NetworkManagerDevice.c
18878                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18879                         whether the card has a link or not, some cards are slow
18880                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18881
18882         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18883                 - Disable the "Login" button on the passphrase dialog until the user
18884                         enters a valid passphrase or key
18885
18886         Patches from Tom Parker <palfrey tevp net>
18887         * src/backends/NetworkManagerDebian.c
18888                 - Add static IP support to the debian backend
18889
18890         * src/backends/interface_parser.[ch]
18891                 - Parse debian interface config files
18892
18893 2004-11-08 Dan Williams <dcbw@redhat.com>
18894
18895         * src/NetworkManagerDevice.c
18896                 - Some random fprintf->syslog conversions
18897                 - (nm_device_wireless_network_exists): double-check for network
18898                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18899
18900         * src/NetworkManagerWireless.[ch]
18901                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18902                         so that the binary->ascii conversion works (if unsigned, the bitshift
18903                         will fill with zeros, which is what's required).  Also mask bitshift
18904                         result with 0xF for futher assurance.
18905
18906 2004-11-06 Dan Williams <dcbw@redhat.com>
18907
18908         * src/NetworkManagerUtils.c
18909                 - (nm_get_wireless_driver_support_level): default to
18910                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18911                         flip this when changing from whitelist->blacklist of
18912                         wireless drivers
18913
18914 2004-11-05 Dan Williams <dcbw@redhat.com>
18915
18916         Patch from Robert Paskowitz:
18917         * src/backends/NetworkManagerGentoo.c
18918                 - Update static IP config code
18919
18920 2004-11-05 Dan Williams <dcbw@redhat.com>
18921
18922         * info-daemon/NetworkManagerInfoDbus.c
18923           src/NetworkManagerDbus.[ch]
18924           src/NetworkManagerDevice.c
18925                 - Keep track of the # of attempts to get the WEP key
18926                         from the user and pass that along to the info daemon
18927
18928 2004-11-05 Dan Williams <dcbw@redhat.com>
18929
18930         * src/NetworkManagerUtils.c
18931                 - Blacklist wireless cards rather than whitelisting them.
18932                 - Grab driver name from HAL rather than trying to find it
18933                         ourselves.
18934
18935 2004-11-03 Dan Williams <dcbw@redhat.com>
18936
18937         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18938                 - Disable OK button until valid data is entered
18939                         for encryption stuff too
18940
18941         * panel-applet/NMWirelessApplet.c
18942                 - Report card strength for current AP if the card
18943                         doesn't report strength data for scanned access
18944                         points
18945
18946         * src/NetworkManagerDevice.c
18947                 - Smooth out cards reported quality, Atmel card was
18948                         intermittently reporting no quality data but soon
18949                         recovers
18950
18951         * src/NetworkManagerWireless.c
18952                 - Better quality data percentage calculation.  Atmel
18953                         cards (mine at least) seem to report the quality
18954                         in percentage format already, so honor that
18955
18956         Patch from <j@bootlab.org>
18957         * NetworkManager.h
18958           info-daemon/NetworkManagerInfoPassphraseDialog.c
18959           info-daemon/passphrase.glade
18960           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18961           panel-applet/essid.glade
18962           src/NetworkManagerAP.c
18963           src/NetworkManagerDevice.c
18964           src/NetworkManagerWireless.[ch]
18965                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18966
18967 2004-11-03 Dan Williams <dcbw@redhat.com>
18968
18969         * src/NetworkManagerDevice.[ch]
18970                 - (nm_device_set_enc_key): Add parameter to set Authentication
18971                         Mode (Open System, Shared Key, or None).  We're still using
18972                         Shared Key for now though.
18973
18974 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18975
18976         * panel-applet/menu-info.c: change from bold text to light
18977         colored, may cause problems with some themes, i've tested a lot
18978         and they seem fine. 
18979
18980         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18981
18982 2004-11-01  Colin Walters  <walters@verbum.org>
18983
18984         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18985         (nm_wireless_128bit_key_from_passphrase): Add const.
18986
18987         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18988         (nm_ap_set_enc_key_source): Add const.
18989         
18990 2004-11-01  Colin Walters  <walters@verbum.org>
18991
18992         * .cvsignore: Update.
18993
18994 2004-10-29 Dan Williams <dcbw@redhat.com>
18995
18996         * src/NetworkManagerDevice.c
18997                 - (nm_device_wireless_network_exists): Actually use the encryption
18998                         key we got from the applet when attempting to find a wireless network
18999                 - Don't bring devices down so much since on some cards it triggers
19000                         firmware hotplugs each time
19001
19002         * src/NetworkManagerDbus.c
19003                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19004                         from the caller
19005
19006 2004-10-29 Dan Williams <dcbw@redhat.com>
19007
19008         * src/NetworkManager.c
19009                 - (nm_hal_device_property_modified): unlock a locked active
19010                         wireless device when a wired connection gets a link.
19011                         (Means you'll switch to wired whenever you plug in no
19012                         matter what).
19013
19014 2004-10-29 Dan Williams <dcbw@redhat.com>
19015
19016         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19017                 - New files, implement the "Other wireless network" dialog
19018
19019         * panel-applet/NMWirelessApplet.c
19020                 - Move "other wireless network" dialog to separate file
19021
19022         * panel-applet/NMWirelessAppletDbus.[ch]
19023                 - Take key and key_type paramaters for the set_device function
19024
19025         * panel-applet/essid.glade
19026                 - Add UI bits for encryption settings
19027
19028         * src/NetworkManagerDbus.c
19029                 - Retrieve key and key_type params for "setActiveDevice" method call
19030                         and pass them on
19031                 - unref AP returned from nm_device_get_best_ap() when needed
19032
19033         * src/NetworkManagerDevice.c
19034                 - (nm_device_get_best_ap): ref the ap before returning it
19035                 - unref AP returned from nm_device_get_best_ap() when needed
19036                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19037                         need to call nm_device_get_best_ap() here, it was pretty much
19038                         redundant anyway
19039                 - (AP_NEED_KEY): break second link check condition out into separate
19040                         function, and fix segfault when ap->enc_key_source was NULL
19041                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19042                         pass them along to nm_device_wireless_network_exists().  If the
19043                         network does exist, set the passed-in key+key_type on the AP
19044
19045         * src/NetworkManagerPolicy.c
19046                 - unref AP returned from nm_device_get_best_ap() when needed
19047
19048 2004-10-28 Dan Williams <dcbw@redhat.com>
19049
19050         * src/NetworkManagerUtils.c
19051                 - (nm_spawn_process): Fix a potential dereference of NULL
19052
19053         Patches from Peter Jones:
19054
19055         * src/NetworkManagerDevice.c
19056                 - (nm_device_test_wireless_extensions): Better check for
19057                         wireless devices
19058
19059         * src/NetworkManagerUtils.c
19060                 - (nm_spawn_process): Pass in valid stdout and stderr so
19061                         executed programs don't randomly SIGPIPE and fail
19062                 - (nm_get_wired_driver_support_level): quash hal warning
19063                         when checking for USB ethernet device
19064
19065 2004-10-27 Dan Williams <dcbw@redhat.com>
19066
19067         * info-daemon/NetworkManagerInfo.c
19068           info-daemon/NetworkManagerInfoDbus.c
19069           info-daemon/NetworkManagerInfoPassphraseDialog.c
19070           panel-applet/NMWirelessApplet.c
19071                 - Properly escape gconf keys
19072
19073         * src/NetworkManager.c
19074                 - remove unused variables
19075
19076         * src/NetworkManagerAP.c
19077                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19078                         refcount since it got set in nm_ap_new()
19079
19080         * src/NetworkManagerAPList.c
19081                 - (nm_ap_list_combine): Give up ownership of newly created
19082                         access points to the ap list, fixes memleak
19083
19084         * src/NetworkManagerDevice.c
19085                 - Remove cached_ap_list4 member since its not really needed
19086                 - (nm_device_wireless_network_exists): Try to get correct
19087                         encryption status of a found AP if its already in our
19088                         device list
19089                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19090                         memory allocs/deallocs a bit clearer and shorter-lived
19091
19092 2004-10-26 Ray Strode <rstrode@redhat.com>
19093
19094         * panel-applet/NMWirelessApplet.c:
19095           (custom_essid_item_selected):  kill some compiler
19096         warnings 
19097
19098 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19099
19100         * info-daemon/NetworkManagerInfoDbus.c
19101                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19102                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19103
19104 2004-10-23 Dan Williams <dcbw@redhat.com>
19105
19106         * info-daemon/NetworkManagerInfoDbus.c
19107                 - Trap the "DeviceActivationFailed" signal
19108
19109         * docs/NetworkManager DBUS API.txt
19110                 - Add "DeviceActivationFailed" signal
19111
19112         * panel-applet/NMWirelessAppletDbus.c
19113                 - Quash the "NetworkManager service not available" message
19114
19115         * src/NetworkManagerDbus.[ch]
19116                 - Add the "DeviceActivationFailed" signal
19117
19118         * src/NetworkManagerDevice.c
19119                 - Add support for activation_failed flag
19120                 - Fix deadlock where activation thread didn't clean itself up, making
19121                         main thread still believe it was alive forever (didn't reset activation
19122                         flags like activating, just_activated, etc when IP configuration
19123                         failed)
19124
19125         * src/NetworkManagerPolicy.c
19126                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19127                         for wireless networks, try to fall back to some other access point
19128
19129 2004-10-23 Dan Williams <dcbw@redhat.com>
19130
19131         * panel-applet/NMWirelessApplet.[ch]
19132                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19133                         to the applet object, so we can get tooltips
19134                 - Add tooltips (RH #136866)
19135
19136         * src/NetworkManagerDevice.c
19137                 - When trying to find a wireless network, try to connect with encryption
19138                         turned on first, so that we can more accurately detect whether or not
19139                         we need to use encryption for the actual association later on
19140
19141 2004-10-21 Dan Williams <dcbw@redhat.com>
19142
19143         * Add some support for telling NetworkManagerInfo to tell the user
19144                 that they are using a device that's not fully supported
19145
19146         * Fix some assertions in debug messages due to null access point args
19147
19148 2004-10-21 Dan Williams <dcbw@redhat.com>
19149
19150         * src/NetworkManagerDevice.c
19151                 - Don't try to activate/bring up/down unsupported
19152                         devices
19153
19154         * src/NetworkManagerUtils.c
19155                 - Fix case of PCI ID checks for driver support levels
19156
19157 2004-10-21 Dan Williams <dcbw@redhat.com>
19158
19159         * NetworkManager.h
19160                 - New file, now contains commonly used structures and bits
19161                         for the dbus API of NetworkManager
19162
19163         * Makefile.am
19164                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19165
19166         * src/NetworkManager.h
19167                 - Rename -> src/NetworkManagerMain.c
19168
19169         * Various fixups all around to use NetworkManager.h and new
19170                 src/NetworkManagerMain.h, remove redundant bits that got
19171                 moved into NetworkManager.h
19172
19173         * src/NetworkManagerDevice.[ch]
19174           src/NetworkManagerUtils.[ch]
19175           src/NetworkManagerPolicy.c
19176           src/NetworkManagerDbus.c
19177                 - Whitelist wireless drivers, and blacklist some wired
19178                         drivers.  Also blacklist cipsec and ethernet-over-usb
19179                         devices at this time (RH #135722, RH #135648)
19180                 - Don't leak unsupported devices out over dbus, or allow
19181                         them to be set as the active device.  Skip over them
19182                         during automatic device picking
19183
19184         * test/nmclienttest.c
19185                 - Clean up the dbus code a lot
19186
19187 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19188
19189         * configure.in: post release bump.
19190
19191 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19192
19193         * configure.in:
19194         * NEWS: Released NetworkManager-0.3.1
19195
19196 2004-10-18 Dan Williams <dcbw@redhat.com>
19197
19198         Patches from Thom May:
19199         * test/nmtestdevices.c
19200                 - Include <string.h>
19201         * src/backends/NetworkManagerDebian.c:
19202                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19203                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19204                         Move to using g_strdup_printf rather than arbitrary buffers
19205                 - (nm_system_device_setup_static_ip4_config) Implement function.
19206                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19207
19208 2004-10-17 Dan Williams <dcbw@redhat.com>
19209
19210         * info-daemon/NetworkManagerInfoDbus.c
19211                 - Display name of network in the "network not found" dialog
19212
19213         * panel-applet/NMWirelessAppletDbus.c
19214                 - (nmwa_dbus_call_nm_method): new function replaces all other
19215                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19216                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19217                         consolidated into nmwa_dbus_get_object_name()
19218
19219 2004-10-15 Dan Williams <dcbw@redhat.com>
19220
19221         * src/NetworkManagerDbus.c
19222           info-daemon/NetworkManagerInfoDbus.c
19223                 - Display an error dialog when the user tries to use an
19224                         "Other wireless network" that's not found.
19225
19226 2004-10-15 Dan Williams <dcbw@redhat.com>
19227
19228         * panel-applet/NMWirelessApplet.[ch]
19229                 - Fix up corner cases in applet state, making it
19230                         look more responsive.  Change state to "connecting" when
19231                         the user is forcing a device too.
19232
19233 2004-10-15 Dan Williams <dcbw@redhat.com>
19234
19235         * src/NetworkManagerAPList.c
19236                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19237
19238         * src/NetworkManagerDbus.c
19239                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19240
19241         * src/NetworkManagerDevice.c
19242                 - Disown APs after the device's AP list takes ownership
19243
19244 2004-10-15 Dan Williams <dcbw@redhat.com>
19245
19246         * panel-applet/NMWirelessApplet.c
19247                 - Update our applet state from the GUI thread
19248
19249         * panel-applet/NMWirelessAppletDbus.c
19250                 - Greatly simplify the locking to make the GUI thread
19251                         smoother.  Update a private copy of the device list
19252                         and active device and only when done talking to
19253                         NetworkManager turn it over to the GUI thread.
19254
19255 2004-10-15 Dan Williams <dcbw@redhat.com>
19256
19257         * src/NetworkManagerAP.[ch]
19258                 - Add "artificial" get/set functions, set for APs that
19259                         aren't discovered as part of a scan but instead
19260                         discovered by force-setting the ESSID
19261
19262         * src/NetworkManagerDevice.[ch]
19263                 - (nm_device_wireless_network_exists): pass back whether
19264                         or not the discovered AP was encrypted.  Also, try
19265                         falling back to encrypted mode on the card if unencrypted
19266                         association doesn't work
19267                 - (nm_device_find_and_use_essid): If the network requested
19268                         did in fact exists, but it wasn't in our scan list, add
19269                         an "artificial" entry for it.  Some Cisco cards don't
19270                         see non-ESSID-broadcasting APs in their scan but can still
19271                         associate with them if you know the ESSID, this works around
19272                         that behavior
19273                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19274                         to scan if the card is currently associated with that AP
19275
19276 2004-10-15 Dan Williams <dcbw@redhat.com>
19277
19278         ---- We have a website ----
19279         http://people.redhat.com/dcbw/NetworkManager
19280
19281         Patch from Robert Paskowitz:
19282         * src/NetworkManager.c
19283                 - (main): Make sure we are run as root
19284         * src/NetworkManagerDevice.c
19285                 - Fix type in ad-hoc setting function
19286
19287         Patch from Thom May:
19288         * src/backends/NetworkManagerDebian.c
19289                 - Make Debian backend compile again
19290
19291 2004-10-14 Dan Williams <dcbw@redhat.com>
19292
19293         * Tagged NetworkManager-0_3
19294
19295 2004-10-14 Dan Williams <dcbw@redhat.com>
19296
19297         Patch from Robert Paskowitz:
19298         * NEWS
19299           src/NetworkManagerDevice.[ch]
19300           src/backends/NetworkManagerDebian.c
19301           src/backends/NetworkManagerGentoo.c
19302           src/backends/NetworkManagerRedHat.c
19303           src/backends/NetworkManagerSlackware.c
19304                 - Add support for grabbing and using a broadcast address
19305                         from system config files
19306                 - Some Gentoo backend fixes for grabbing network config
19307                 - Fix LOG_WARN->LOG_WARNING
19308
19309 2004-10-14 Dan Williams <dcbw@redhat.com>
19310
19311         * NEWS: a few small fixes in the credits
19312
19313 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19314
19315         * NEWS: prep for release.
19316
19317 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19318
19319         * panel-applet/NMWirelessAppletDbus.c
19320         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19321
19322 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19323
19324         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19325         applet->state == APPLET_STATE_NO_NM animation.
19326
19327         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19328         set the text correctly.
19329
19330 2004-10-14 Dan Williams <dcbw@redhat.com>
19331
19332         * src/NetworkManager.c
19333                 - Only accept and manager 802.3 and 802.11 devices
19334
19335         * src/NetworkManagerDbus.[ch]
19336                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19337                         logic into NetworkManagerDevice.c
19338                 - (nm_dbus_network_status_from_data): new function
19339                 - (nm_dbus_signal_network_status_change): new function, unused for now
19340                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19341
19342         * src/NetworkManagerDevice.[ch]
19343                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19344                         a random ESSID.
19345
19346 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19347
19348         * info-daemon/NetworkManagerInfo.c 
19349                 - (main): Added session management
19350
19351 2004-10-14 Dan Williams <dcbw@redhat.com>
19352
19353         * panel-applet/NMWirelessAppletDbus.[ch]
19354                 - Expose network_device_[un]ref()
19355                 - Expose wireless_network_[un]ref()
19356                 - (wireless_network_new_with_essid): new function, create and return
19357                         a wireless network with a particular essid
19358
19359         * panel-applet/NMWirelessApplet.c
19360                 - Hook up the "other network" dialog to do something
19361
19362 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19363
19364         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19365         doesn't work yet, but it looks okay.
19366
19367         * panel-applet/icons/*png: Resize to 22x22 and install in the
19368         right place.
19369
19370 2004-10-13 Dan Williams <dcbw@redhat.com>
19371
19372         * panel-applet/NMWirelessApplet.c
19373                 - Add function to print out applet_state in a readable
19374                         manner
19375
19376         * src/NetworkManager.c
19377                 - (main): Don't segfault when nm_dbus_init() fails, we had
19378                         a left-over call to hal_shutdown() into which we passed NULL
19379
19380         * src/NetworkManagerAP.c
19381                 - (nm_ap_set_essid): Allow NULL essids
19382
19383         * src/NetworkManagerAPList.[ch]
19384                 - More use of nm_ap_list_[un]lock ()
19385                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19386                         network/essid, just return nothing.  Also skip over NULL
19387                         essid access points in the list when searching
19388                 - (nm_ap_list_get_ap_by_address): new function
19389                 - (nm_ap_list_update_network): set the access point's key source to
19390                         NULL when the key returned from NetworkManagerInfo is NULL or
19391                         of 0 length
19392                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19393                         copy timestamp over too
19394                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19395                         find the correct ESSID for a blank-essid access point by searching
19396                         through another list and matching access point MAC addresses
19397                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19398
19399         * src/NetworkManagerDbus.c
19400                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19401                         may specify.  This is mainly for access points that don't
19402                         broadcast their essid.  So if the user tells us to associate with
19403                         some random ESSID that's not in our access point list, we find
19404                         out if the access point does in fact exist (by attempting association
19405                         and then matching that access point's MAC address with the essid the
19406                         user gave us) and then we switch to it.
19407                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19408                         to the returned list of networks for the "getNetworks" method
19409
19410         * src/NetworkManagerDevice.[ch]
19411                 - Extra debugging info for link detection
19412                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19413                         based on MAC address
19414                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19415                 - (nm_device_wireless_network_exists): new function, find out whether
19416                         a random ESSID exists by attempting to associate with it
19417                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19418                         device list as long as they have an AP MAC address we can use.
19419                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19420                         devices too.  Lets the applet update more frequently.
19421
19422         * src/backends/NetworkManagerGentoo.c
19423                 - Patch from: Robert Paskowitz
19424                         - Update backend code for Gentoo
19425                         - Implement nm_system_device_update_config_info ()
19426
19427         * test/nmclienttest.c
19428                 - (set_network_device): new function, takes a command-line argument
19429                         and tells NetworkManager to use that wireless network
19430
19431 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19432
19433         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19434         if the notification icon crashes 5 times within 5 seconds of each respawn 
19435
19436 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19437
19438         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19439         g_print.
19440
19441 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19442
19443         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19444
19445         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19446         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19447         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19448         Change the name of the icons.
19449
19450         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19451         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19452         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19453         (nm_menu_wireless_expose_event): Really bad hack to get the style
19454         to draw in the right color.
19455
19456 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19457
19458         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19459         Notification if it crashes
19460
19461 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19462
19463         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19464         (nmwa_dbus_get_string): remove unused functions
19465
19466         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19467         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19468         remove unused functions
19469
19470         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19471
19472 2004-10-12 Dan Williams <dcbw@redhat.com>
19473
19474         * panel-applet/NMWirelessAppletDbus.c
19475                 - New functions:
19476                         wireless_network_new
19477                         wireless_network_copy
19478                         network_device_new
19479                         network_device_copy
19480
19481         * src/NetworkManagerDevice.[ch]
19482                 - New functions:
19483                         nm_device_set_mode_managed
19484                         nm_device_set_mode_adhoc
19485                 - Use these functions where appropriate
19486                 - When creating a new wireless device, force the card
19487                         to managed/Infrastructure mode as soon as possible
19488
19489 2004-10-12 Dan Williams <dcbw@redhat.com>
19490
19491         * src/NetworkManagerDevice.c
19492                 - Force wireless cards into Infrastructure mode before we use them
19493
19494 2004-10-12 Dan Williams <dcbw@redhat.com>
19495
19496         * TODO
19497                 - Remove bit about static IP address support
19498
19499         * src/NetworkManagerUtils.c
19500                 - (nm_spawn_process): Add some error reporting
19501
19502         * src/NetworkManagerDevice.c
19503                 - (nm_device_activation_configure_ip): hook up to the static config
19504                         routines in the backends
19505
19506         * src/backends/NetworkManagerRedHat.c
19507                 - (nm_system_device_update_config_info): use shvar.c routines to
19508                         parse the config file iformation, not our own
19509                 - (nm_system_device_setup_static_ip4_config): new function, based
19510                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19511                         with a static IP address and gateway
19512
19513         * src/backends/shvar.[ch]
19514                 - Parser (filched from initscripts package) for ifcfg-* files
19515
19516         * src/backends/NetworkManagerSystem.h
19517           src/backends/NetworkManagerGentoo.c
19518           src/backends/NetworkManagerDebian.c
19519           src/backends/NetworkManagerSlackware.c
19520                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19521
19522 2004-10-11 Dan Williams <dcbw@redhat.com>
19523
19524         * TODO
19525                 - Remove bit about more robust AP diffing since I just implemented it
19526
19527 2004-10-11 Dan Williams <dcbw@redhat.com>
19528
19529         * src/NetworkManagerAP.c
19530                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19531                         enough RAM to allocate new AP structures, but return NULL instead
19532
19533         * src/NetworkManagerAPList.[ch]
19534                 - (nm_ap_list_is_empty): new function
19535                 - (nm_ap_list_combine): new function, combine two access point lists
19536                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19537                         into another
19538
19539         * src/NetworkManagerDevice.[ch]
19540                 - Rename some functions to be clearer:
19541                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19542                         nm_device_just_activated     -> nm_device_is_just_activated
19543                         nm_device_activating         -> nm_device_is_activating
19544                         nm_device_now_scanning       -> nm_device_is_scanning
19545                 - Cache the last 4 scans so that the access point list is more stable.
19546                         We combine the lastest two scans and use that as the AP list,
19547                         and diff that combined list against the combination of the earliest
19548                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19549
19550 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19551
19552         * info-daemon/NWManagerInfo.h
19553                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19554
19555         * info-daemon/NWManagerInfoDbus.c
19556                 - (shutdown_callback): new function
19557                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19558                         if NetworkManager goes away.  Kill the timeout
19559                         if NetworkManager restarts before the 30 seconds
19560                         are up.
19561                 - (nmi_dbus_service_init): 
19562                         - call gtk_main_quit if NetworkManager is not running
19563                         - add filters to monitor dbus service creations and
19564                                 deletions
19565         
19566 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19567
19568         * panel-applet/NMWirelessApplet.c
19569                 - (nmwa_update_state): Hide notification icon if we are only
19570                         showing one wired card and no wireless interfaces 
19571                         (Red Hat Bug #134895)
19572
19573         * panel-applet/NMWirelessAppletDbus.c
19574                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19575
19576         * info-daemon/NWManagerInfo.c
19577                 - (main): Terminated the notification_icon_cmd array with a NULL
19578
19579 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19580
19581         * configure.in (ALL_LINGUAS): Added de (German).
19582
19583 2004-10-08 Dan Williams <dcbw@redaht.com>
19584
19585         * src/NetworkManagerDevice.c
19586                 - Be a bit more robust about link checking, ie make sure that
19587                         the WEP key we were given actually has some data in it
19588
19589 2004-10-08 Dan Williams <dcbw@redhat.com>
19590
19591         * info-daemon/NetworkManagerInfo.c (main):
19592                 - Initialize GError object to NULL
19593
19594 2004-10-08 Dan Williams <dcbw@redhat.com>
19595
19596         * panel-applet/NMWirelessAppletDbus.c
19597                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19598
19599 2004-10-08 Dan Williams <dcbw@redhat.com>
19600
19601         * info-daemon/NetworkManagerInfo.[ch]
19602           info-dameon/NetworkManagerInfoDbus.[ch]
19603           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19604                 - Preserve original label text in the passphrase dialog so that
19605                         it actually gets updated with the new network name the next
19606                         time around.  Previously, we were overwriting it so you'd get
19607                         the wrong network name to enter a key for
19608                 - Add a "Key Type" combo to the passphrase dialog, user selects
19609                         encryption key type now, type is stored in GConf too
19610                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19611
19612         * src/NetworkManagerAP.[ch]
19613                 - Remove all the encyption method magic.  It's now set by the user
19614                         and NetworkManager retrieves the type of encryption key from
19615                         NetworkManagerInfo
19616
19617         * src/NetworkManagerAPList.[ch]
19618           src/NetworkManagerDbus.[ch]
19619                 - Adjust to new way of setting encryption key and method
19620                 - Pull encryption method down from NMI along with key
19621
19622         * src/NetworkManagerDevice.[ch]
19623                 - Removed encryption method fallback magic as the method is now
19624                         determined by the user.  This greatly simplifies the connection
19625                         logic.
19626                 - More robust connection/link logic.  Besides removing the encryption
19627                         method fallback magic, check whether or not the card is receiving
19628                         invalidly encrypted packets, which usually indicates that we have
19629                         a bad WEP key set.
19630                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19631
19632         * test/nminfotest.c
19633                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19634
19635 2004-10-07 Dan Williams <dcbw@redhat.com>
19636
19637         * info-daemon/NetworkManagerInfo.conf
19638                 - Allow root user to run NMI too
19639
19640 2004-10-06 Dan Williams <dcbw@redhat.com>
19641
19642         * src/NetworkManagerDevice.[ch]
19643           src/NetworkManagerDbus.c
19644           doc/NetworkManager DBUS API.txt
19645                 - Add a new status tag "scanning", which is set when there
19646                         is no active network connection, but NetworkManager is
19647                         looking for an access point to associate with
19648
19649         * panel-applet/main.c
19650                 - Cast the applet appropriately for gtk_widget_show_all ()
19651
19652 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19653
19654         * panel-applet/eggtrayicon.[ch]:
19655         * panel-applet/main.c: Add missing file
19656
19657 2004-10-04 Dan Williams <dcbw@redhat.com>
19658
19659         * src/NetworkManagerDevice.[ch]
19660                 - Add a slightly more robust method of determining if the WEP key
19661                         is correct or not, by checking the WEP-discarded packet count
19662                         on the card
19663
19664         * info-daemon/NetworkManagerInfo.c
19665                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19666                         un-escape values we pull out rather than escaping them
19667
19668 2004-10-03  Marcel Telka  <marcel@telka.sk>
19669
19670         * configure.in (ALL_LINGUAS): Added sk.
19671
19672 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19673
19674         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19675         and feel.  We should be back to working, and have a good, clean
19676         look.
19677
19678 2004-09-30 Dan Williams <dcbw@redhat.com>
19679
19680         * info-daemon/NetworkManagerInfo.c
19681           info-daemon/NetworkManagerInfoDbus.c
19682           test/nminfotest.c
19683                 - Escape ESSIDs in gconf
19684
19685         * src/NetworkManagerDevice.c
19686                 - Fix pseudo-scanning to use netowrk list from info daemon
19687
19688 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19689
19690         * configure.in: Add a temporary --enable-notification-icon.  This
19691         will prolly go away.
19692
19693         * info-daemon/Makefile.am:
19694         * info-daemon/NetworkManagerInfo.c:
19695         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19696
19697         * panel-applet/Makefile.am:
19698         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19699         * panel-applet/NMWirelessApplet.h:
19700
19701 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19702
19703         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19704         before 'select custom ESSID'.
19705
19706         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19707         fully complete, but syncing in prep for merge.
19708
19709         * panel-applet/icons/*png: New images
19710
19711 2004-09-28 Dan Williams <dcbw@redhat.com>
19712
19713         * src/NetworkManager.c
19714           src/NetworkManagerDevice.c
19715           src/NetworkManagerPolicy.c
19716                 - Don't blow away an active wired connection on startup
19717
19718 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19719
19720         Changes from J5
19721         
19722         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19723
19724         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19725         syslog output
19726
19727 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19728
19729         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19730         have a wireless card.
19731
19732 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19733
19734         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19735         Also, get the right device strings.
19736
19737 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19738
19739         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19740         the logic to make this right.
19741
19742         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19743         devices so that wired networks are always first.
19744
19745 2004-09-22    <clarkbw@cvs.gnome.org>
19746
19747         * initscript/Debian/.cvsignore:
19748         * initscript/Slackware/.cvsignore:
19749         Added new cvsignores for Makefile, Makefile.in
19750         
19751         * test/.cvsignore:
19752         Added nmtestdevices
19753         
19754         * src/NetworkManagerDevice.c: 
19755         * src/NetworkManager.c: 
19756         Updated the wireless/wired HAL device strings from net.ethernet to
19757         net.80203 or net.80211 depending on wired or wireless respectively
19758         
19759         * examples/python/NetworkManager.py: 
19760         s/Quality/Strength/
19761
19762         * examples/python/systray/network_tray.py:
19763         Lots of little changes and fixes.  been rotting for a while so I
19764         figured I'd finally sync them all with CVS
19765
19766 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19767
19768         * configure.in: Add graphics
19769
19770         * panel-applet/Makefile.am: Add graphics
19771
19772         * panel-applet/icons/*: Add graphics
19773
19774         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19775         the icons fully lined up.
19776
19777         * panel-applet/menu-info.c: 
19778         * panel-applet/menu-info.h: Add another menu type.
19779
19780 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19781
19782         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19783
19784         * panel-applet/menu-item.[ch]: Wireless menu item.
19785
19786 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19787
19788         * info-daemon/NetworkManagerInfo.conf
19789                 - Created a more robust security policy for the DBus service
19790                         - everything is denied by default
19791                         - root can own and send to the service
19792                         - users logged in at the console can send to the service
19793
19794 2004-09-13  Dan Williams <dcbw@redhat.com>
19795
19796         * src/NetworkManagerDevice.c
19797                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19798                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19799                         the latter
19800
19801 2004-09-13  Dan Williams <dcbw@redhat.com>
19802
19803         * TODO: fix typo
19804
19805         * docs/NetworkManager DBUS API.txt
19806                 - Update for new signal strength changes
19807
19808         * panel-applet/NMWirelessApplet.c
19809                 - Make panel icon show strength of the current connection
19810                 - Cleanups and memleak fixes
19811
19812         * panel-applet/NMWirelessApplet.h
19813                 - Add data members for signal strength on devices and networks
19814
19815         * panel-applet/NMWirelessAppletDbus.c
19816                 - Free more DBusErrors
19817                 - Update for new signal strength changes
19818                 - Make devices and networks more like real objects, use ref/unref methods
19819                 - Actually unlock the mutex when updating the active device
19820
19821         * src/NetworkManagerAP.c
19822                 - Change AP functions and data members from "quality"->"strength"
19823
19824         * src/NetworkManagerDbus.c
19825                 - Kill "getMaxQuality" and "getQuality" methods
19826                 - Add "getStrength" methods for Networks and Devices
19827
19828         * src/NetworkManagerDevice.[ch]
19829                 - Add accessors for device strength
19830                 - Add functions to update strength for a device.  Note that not all drivers
19831                         actually support signal strength for scanned access points (Atmel drivers
19832                         being one)
19833                 - Calculate signal strength for each AP during scan
19834
19835         * src/NetworkManagerWireless.[ch]
19836                 - Add function to return signal strength % from a device and a raw quality struct
19837
19838         * test/nmclienttest.c
19839                 - Update for new signal strength changes
19840
19841 2004-09-11  Dan Williams <dcbw@redhat.com>
19842
19843         * src/NetworkManager.c
19844                 - Fix race condition between initscripts and NM on card insertion
19845                         which could cause a card to keep an IP address and routes around
19846                         even when it was not the active device
19847
19848         * src/NetworkManagerDbus.c
19849                 - Fix compile errors, free more DBusErrors
19850
19851 2004-09-11  Dan Williams <dcbw@redhat.com>
19852
19853         * docs/NetworkManager DBUS API.txt
19854                 - Add an explanation of NM's API
19855
19856         * src/NetworkManagerDbus.c
19857                 - Free some more DBusErrors if needed
19858
19859 2004-09-11  Dan Williams <dcbw@redhat.com>
19860
19861         * panel-applet/NMWirelessApplet.c
19862           panel-applet/NMWirelessAppletDbus.c
19863                 - Start using NetworkDevice/WirelessNetwork structures in more places
19864                 - Update for unified device/network forcing in NetworkManager
19865
19866         * src/NetworkManager.c
19867                 - some code consolidation
19868
19869         * src/NetworkManagerDbus.c
19870                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19871                         or two arguments:  the first is the NM ID of the device to switch to,
19872                         and the second (optional) argument is the ESSID of a wireless network
19873                         to use as well.
19874                 - Get rid of "setNetwork" method due to above change
19875
19876         * src/NetworkManagerDevice.c
19877                 - (nm_device_new): perform scan and update best AP on device creation
19878                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19879                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19880                         spin waiting for cancellation to finish before returning
19881
19882         * src/NetworkManagerPolicy.c
19883                 - Changes here clarify the situations in which a device switch occurs, and 
19884                         make sure to keep using a forced device and network if the user gives
19885                         us one
19886                 - Remove old unused code
19887
19888 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19889
19890         * configure.in: Added Danish (da) to ALL_LINGUAS.
19891
19892 2004-09-09  Dan Williams <dcbw@redhat.com>
19893
19894         * panel-applet/NMWirelessAppletDbus.c
19895                 - Pull fresh devices and networks from NM when wireless networks
19896                         change.  Provides faster feedback of a forced wireless network
19897
19898         * src/NetworkManagerDbus.c
19899                 - Return error when "getMaxQuality" is called on a wired device
19900                 - Make best_ap freezing actually work again, and signal cancellation
19901                         of activation if there's already a device activation when the user
19902                         freezes the best_ap
19903
19904         * src/NetworkManagerDevice.c
19905                 - Don't clear out the best_ap for wireless devices when the link goes
19906                         down, that's done elsewhere
19907                 - Kill any dhcp daemons when cancelling device activation since they
19908                         may be stuck waiting for a DHCP address, and since we're cancelling
19909                         activation we don't care about that anymore
19910
19911         * src/NetworkManagerPolicy.c
19912                 - Make sure to unref the device we ref earlier (we refed it to make sure
19913                         it stuck around during device activation and such)
19914                 - If we were going to change the best device, but its activating currently
19915                         (and therefore the change didn't occur due to the check earlier)
19916                         we mark the state changed to we come back to it later when device
19917                         activation has canceled and its no longer activating
19918
19919         * src/backends/NetworkManagerRedHat.c
19920                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19921
19922 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19923
19924         * info-daemon/passphrase.glade: 
19925         set passphrase input to activates_default : True
19926
19927         * examples/python/systray/network_tray.py
19928         (network_tray.sort_networks):
19929
19930         Added support for having wireless always scanning
19931
19932 2004-09-09  Dan Williams <dcbw@redhat.com>
19933
19934         NOTE: this commit changes the behavior of wireless devices in
19935         NetworkManager.  They are now up all the time, scanning all
19936         the time.  Only the active device has an IP address and routing
19937         information set up however.  Also, NetworkManager will no longer
19938         opportunistically switch wireless networks when a better one
19939         comes in range, it will remain associated with one wireless network
19940         until that one drops out.
19941
19942         * panel-applet/NMWirelessApplet.c
19943           panel-applet/NMWirelessAppletDbus.c
19944                 - List all wireless cards and their respective networks
19945
19946         * src/NMLoadModules
19947                 - Use full path to /sbin/ip
19948
19949         * src/NetworkManager.c
19950                 - Keep wireless devices up all the time so they can scan
19951
19952         * src/NetworkManagerDbus.c
19953                 - On a WirelessNetworkUpdate signal from NMI, don't update
19954                         the "best" AP
19955
19956         * src/NetworkManagerDevice.c
19957                 - (nm_device_set_link_active): clear out the best ap for
19958                         wireless devices when the link is set to FALSE
19959                 - Scan on all wireless cards, all the time
19960                 - (nm_device_activation_worker): split out the wireless card
19961                         link-waiting code to a separate function
19962                 - Keep wireless cards up even if device activation fails
19963                 - Don't update the "best" ap as much
19964
19965         * src/NetworkManagerPolicy.c
19966                 - Don't update the best ap when checking if its frozen,
19967                         let link checking clear out a frozen best ap for us
19968
19969         * src/NetworkManagerWireless.c
19970                 - Scan on all wireless cards, all the time
19971
19972 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19973
19974         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19975
19976 2004-09-09  Ankit Patel <ankit@redhat.com>
19977
19978         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19979
19980 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19981
19982         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19983
19984 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19985
19986         * examples/python/NetworkManager.py: 
19987         added CONNECTED, CONNECTING, and DISCONNECTED states
19988         added methods to return number of devices of a single type
19989
19990         * examples/python/systray/network_tray.py: 
19991         did some tweaks to get the menu looking near what it is supposed
19992         to look like.  Also did a Airo card hack to make it show the
19993         correct AP quality
19994
19995 2004-09-08  Dan Williams <dcbw@redhat.com>
19996
19997         * panel-applet/no-networkmanager.png
19998           panel-applet/Makefile.am
19999           panel-applet/NMWirelessApplet.c
20000                 - Add a "NetworkManager not running" icon and use it
20001                 - Use new consolidated GConf keys rather than Preferred/Trusted
20002
20003         * TODO: update
20004
20005         * info-daemon/NetworkManagerInfo.c
20006           info-daemon/NetworkManagerInfoDbus.[ch]
20007           info-daemon/NetworkManagerInfoPassphraseDialog.c
20008                 - There are now no longer two separate lists of wireless networks,
20009                         but one list where each network is "trusted" or not trusted
20010                 - Add a "getNetworkTrusted" dbus method
20011                 - "WirelessNetworkUpdate" signal now sent rather than
20012                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20013                 - Start freeing some dbus errors (not completed yet)
20014
20015         * info-daemon/passphrase.glade
20016                 - Remove the "don't show" hints for pager and taskbar
20017                 - Add a title since its going to be in the taskbar
20018
20019         * src/NetworkManager.[ch]
20020           src/NetworkManagerAPList.[ch]
20021                 - There are now no longer two separate lists of wireless networks,
20022                         but one list where each network is "trusted" or not trusted
20023
20024         * src/NetworkManagerAP.[ch]
20025                 - Add get/set "trusted" accessors and data bit
20026
20027         * src/NetworkManagerDbus.[ch]
20028                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20029                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20030
20031         * src/NetworkManagerDevice.[ch]
20032                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20033                 - (nm_device_new): Get device config from backend when initializing devices
20034                 - (nm_device_activation_worker): Split out device configuration on
20035                         activation to deal with static/dynamic IP differences, and try encryption
20036                         fallbacks on a device if the encryption method for the best AP is not good
20037                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20038                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20039
20040         * src/NetworkManagerWireless.c
20041                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20042
20043         * src/backends/NetworkManagerRedHat.c
20044           src/backends/NetworkManagerSystem.h
20045                 - (nm_system_device_update_config_info): Add function to get device configuration
20046                         from system data in ifcfg-* files
20047
20048         * src/backends/NetworkManagerDebian.c
20049           src/backends/NetworkManagerGentoo.c
20050           src/backends/NetworkManagerSlackware.c
20051                 - Add stub functions for getting device configuration
20052
20053 2004-09-07  Dan Williams <dcbw@redhat.com>
20054
20055         * src/backends/NetworkManagerRedhat.c
20056           src/backends/NetworkManagerSlackware.c
20057                 - Use full path to /sbin/ip everywhere
20058
20059 2004-09-07  Dan Williams <dcbw@redhat.com>
20060
20061         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20062
20063         * configure.in
20064           initscript/Makefile.am
20065           initscript/Slackware/Makfile.am
20066           initscript/Slackware/rc.networkmanager
20067           src/Makefile.am
20068           src/backends/NetworkManagerSlackware.c
20069                 - Add Slackware support
20070
20071 2004-09-07  Dan Williams <dcbw@redhat.com>
20072
20073         Patches below from:
20074                 <j@bootlab.org>
20075                 Mark Roach <mrroach@okmaybe.com>
20076                 Thom May <thom@debian.org>
20077
20078         * configure.in
20079           initscript/Debian/NetworkManager
20080           initscript/Debian/Makefile.am
20081                 - Initscript for Debian
20082
20083         * src/backends/NetworkManagerDebian.c
20084                 - Add missing system init function to allow compilation
20085                         on Debian
20086
20087 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20088
20089         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20090
20091 2004-09-03  Akagic Amila <bono@linux.org.ba>
20092
20093         * configure.in: Added 'bs' to ALL_LINGUAS.
20094
20095 2004-09-02  Colin Walters  <walters@verbum.org>
20096
20097         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20098         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20099         g_strdup_printf instead of arbitrarily sized buffers.
20100
20101 2004-09-01  Colin Walters  <walters@verbum.org>
20102
20103         * NetworkManager.pc.in: New file.
20104
20105         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20106
20107 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20108         
20109         * configure.in: Punjabi(pa) is added to po/.
20110
20111 2004-08-31  Dan Williams <dcbw@redhat.com>
20112
20113         * Remove 'debug' extern global from all files since we now
20114                 use syslog()
20115
20116         * src/NetworkManager.[ch]
20117                 - Break out routine that get the net.interface property from HAL,
20118                         removing that logic from nm_create_device_and_add_to_list()
20119                 - (nm_create_device_and_add_to_list): make this a bit more general so
20120                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20121                         the create of test devices.
20122                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20123                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20124                         which makes NetworkManager listen for dbus commands to create test
20125                         devices, which have no backing hardware.  Use when you're on a plane
20126                         for example, and/or forgot your wireless card at home.  Test devices
20127                         _cannot_ be created unless NM is started with --enable-test-devices.
20128
20129         * src/NetworkManagerDbus.[ch]
20130                 - New "getLinkActive" method for devices
20131                 - New "setLinkActive" method for devices (only works on test devices)
20132                 - New "createTestDevice" method on NetworkManager object to create a test
20133                         device of a specified type (ie wired, wireless).  UDI is created from
20134                         scratch, as is the interface name.  Only works when NM is started with
20135                         --enable-test-devices switch.
20136                 - New "removeTestDevice" method on NetworkManager object which removes a
20137                         test device.  Only works when NM is started with --enable-test-devices
20138
20139         * src/NetworkManagerDevice.[ch]
20140                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20141                         whether a device is a test device or not, and what its link status is.
20142                 - Deal with test devices in most functions.  For those that work directly on hardware
20143                         special-case test devices.
20144                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20145                         command-line.
20146                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20147                         checking to separate functions to facilitate test device link checking.
20148                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20149                         don't make a distinction between System Authentication and Encryption
20150                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20151                         on the card.  We don't deal with Shared Key auth yet.
20152                 - (nm_device_activation_worker): split the activation cancel check logic out into
20153                         a separate routine nm_device_activation_cancel_if_needed()
20154                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20155                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20156                         a list of fake access points that they can "see"
20157                 - (nm_device_is_test_device): return whether or not a device is a test device
20158
20159         * src/NetworkManagerPolicy.c
20160                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20161                         previously if you "locked"/forced NM to use a wireless device but then
20162                         selected a wireless network for NM to use, it would switch to a wired device.
20163                         So, if the active device is wireless and it has a "forced" best AP, use it
20164                         if the "forced" best AP is still valid
20165                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20166                         there were no usable network devices, or the last one was removed
20167
20168         * src/backends/NetworkManager*.c
20169                 - Deal with test devices, mostly just return success for operations like getting
20170                         a DHCP address
20171
20172         * test/nmtestdevices.c
20173                 - Test tool to create/remove/link-switch test devices
20174
20175 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20176
20177         * examples/python/NetworkManager.py: 
20178         added convience functions has_wired_device and has_wireless_device
20179
20180         * examples/python/systray/network_tray.py: 
20181         cleaned up a bunch of cruft, added support for listing wireless
20182         networks just like the real applet.  This is probably all I'm
20183         going to work on this applet from now on.
20184         TODO: add support for actually changing networks and devices
20185
20186         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20187         changed "nm.networks" into a dict from a list so I can store all
20188         the cool information about networks in there
20189
20190         * examples/python/systray/network_tray.py: 
20191         Added nice message when you try to run without running make first
20192
20193         * examples/python/NetworkManager.py: 
20194         Bug fixes to the code so we get all the device information
20195         that we need in get_device()
20196         
20197         * examples/python/NMTester.py: 
20198         Fixed _print_device_list to print_device_list
20199
20200 2004-08-29  Seth Nickell  <seth@gnome.org>
20201
20202         * configure.in:
20203
20204         Actually properly setup the Debian backend in configure.
20205         
20206 2004-08-29  Colin Walters  <walters@verbum.org>
20207
20208         * test/nminfotest.c: Include string.h and stdlib.h.
20209         (get_network_string_property, get_networks_of_type): Return NULL.
20210
20211         * test/nmclienttest.c (get_device_name, get_active_device): Return
20212         NULL.
20213
20214         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20215         use strlen, fgets always NULL-terminates the string.
20216
20217         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20218         dbus_message_get_member): Remove /* in comment.
20219
20220         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20221
20222         * src/NetworkManager.c (quit): Unused, delete.
20223         (nm_data_free): Cast arg to GFunc.
20224
20225         * panel-applet/NMWirelessAppletDbus.c: Need to include
20226         string.h, and dbus-glib-lowlevel.h (the latter is needed
20227         for dbus_connection_setup_with_g_main at present).
20228         (nmwa_dbus_update_wireless_network_list): Parenthesize
20229         assignment in conditional.
20230         (nmwa_dbus_worker): Return NULL.
20231
20232         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20233         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20234         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20235         (nmwa_populate_menu): Return NULL on failure, instead of just
20236         return;
20237
20238         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20239
20240         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20241         variables.
20242
20243         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20244         delete.
20245         
20246 2004-08-29  Colin Walters  <walters@verbum.org>
20247
20248         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20249         a GTimeVal instead of time_t.  This is easier to work with,
20250         since time_t may be a long or double, we don't know.
20251
20252         * src/NetworkManagerDbus.h: Update prototype.
20253         
20254         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20255         instead of time_t.
20256         (nm_ap_get_timestamp): Update to return GTimeVal.
20257         (nm_ap_set_timestamp): Update to take GTimeVal.
20258         
20259         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20260         to handle GTimeVal.
20261
20262         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20263         GTimeVal change.
20264         (nm_ap_list_print_members): Fix warnings in printf format.
20265
20266 2004-08-29  Colin Walters  <walters@verbum.org>
20267         
20268         * panel-applet/NMWirelessApplet.c: Include config.h.
20269
20270 2004-08-29  Colin Walters  <walters@verbum.org>
20271
20272         * configure.in: Generate config.h.
20273
20274         * configure.in: Dump dependency on OpenSSL; we can't
20275         use it since this package is GPL:
20276         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20277         Instead, check for libgcrypt, use it if available,
20278         otherwise use included MD5 code.
20279
20280         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20281         Suck in from gnome-keyring, munge a bit.
20282         
20283         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20284         gnome-keyring-md5.h gnome-keyring-md5.c.
20285         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20286
20287         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20288         libgcrypt or included gnome-keyring md5 bits.
20289         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20290
20291 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20292
20293         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20294
20295 2004-08-27  Bryan Clark  <bclark@redhat.com>
20296
20297         * examples/python/systray/Makefile: 
20298
20299         Updated the clean section
20300         
20301         * examples/python/systray/trayiconmodule.c: 
20302         * examples/python/systray/trayicon.override: 
20303         * examples/python/systray/network_tray.py: 
20304         * examples/python/systray/eggtrayicon.h: 
20305         * examples/python/systray/eggtrayicon.c: 
20306         * examples/python/systray/Makefile: 
20307         * examples/python/README: 
20308         * examples/python/NetworkManager.py: 
20309         * examples/python/NMTester.py: 
20310
20311         Initial commit of these python example files
20312
20313 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20314
20315         * panel-applet/NMWirelessApplet.c
20316                 - Make current device bold
20317                 - Show more user-friendly device name if we got one from hal
20318
20319         * panel-applet/NMWirelessAppletDbus.c
20320                 - Grab "info.product" key from hal for network devices
20321                 - Cache the current active device
20322
20323 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20324
20325         * configure.in: Added en_CA to ALL_LINGUAS.
20326
20327 2004-08-27  Christian Rose  <menthos@menthos.com>
20328
20329         * configure.in: Added "sv" to ALL_LINGUAS.
20330
20331 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20332
20333         * Tag NetworkManager-0.2
20334
20335 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20336
20337         * initscripts/Makefile.am
20338         * configure.in: Make pass distcheck
20339
20340         * po/ChangeLog: added
20341
20342 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20343
20344         * panel-applet/NMWirelessApplet.c
20345                 - Remove debugging code
20346                 - Enable device switching from menus
20347
20348         * panel-applet/NMWirelessAppletDbus.[ch]
20349                 - Method for asking NM to switch devices
20350
20351         * src/NetworkManagerDevice.c
20352                 - Set dev->activating earlier, avoids race between
20353                         the dbus signal of "DeviceActivating" and setting
20354                         dev->activating (which is what NM's "status" method call
20355                         looks at)
20356
20357 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20358
20359         * panel-applet/NMWirelessApplet.[ch]
20360                 - Rework menu code to add devices to menu, and to show
20361                         signal strength for each access point.  Code cleanups
20362                         too.
20363
20364         * panel-applet/NMWirelessAppletDbus.c
20365                 - Grab network devices from NetworkManager too
20366                 - Grab quality information from NM for wireless networks
20367
20368         * src/NetworkManagerDbus.[ch]
20369                 - Add dbus methods for getting the HAL UDI from a device and
20370                         for getting its base quality, if its wireless
20371                 - Consolidate some functions (wireless network notifications,
20372                         device notifications)
20373                 - Add method for requesting NM to use a particular device
20374
20375         * src/NetworkManager.c
20376                 - Change for function consolidations from NetworkManagerDbus.c
20377                 - Implement active device locking and user-requested devices
20378                         (ie, tell NM to use a particular device instead of the one
20379                         it autochose)
20380
20381         * src/NetworkManagerDevice.c
20382                 - Add method for getting the base quality of a device, if its
20383                         wireless
20384                 - Grab device base quailty info from iwlib during scans
20385
20386         * src/NetworkManagerPolicy.c
20387                 - Use a user-requested device rather than the auto-chosen device
20388                         if we are told to
20389
20390 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20391
20392         * Makefile.am: add po as a supdir
20393
20394         * autogen.sh: use gnome-autogen.sh
20395
20396         * initscript/Gentoo/.cvsignore:
20397         * initscript/RedHat/.cvsignore: Shut up cvs
20398
20399         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20400
20401         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20402         (nmwa_fill): Use gettext.
20403
20404         * configure.in: add gettext support
20405         * po/.cvsignore:
20406         * po/NetworkManager.pot:
20407         * po/POTFILES.in:
20408
20409 2004-08-26  Seth Nickell  <seth@gnome.org>
20410
20411         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20412         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20413         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20414         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20415         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20416         * panel-applet/NMWirelessApplet.h:
20417
20418         Use a menu bar instead of a button for the main clickable
20419         thingy.
20420         
20421 2004-08-25  Dan Williams <dcbw@redhat.com>
20422
20423         * src/NetworkManagerDevice.c
20424                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20425                         turning encryption off, because the Cisco driver doesn't associate
20426                         with WEP-enabled access points unless we are in "open"
20427
20428 2004-08-25  Dan Williams <dcbw@redhat.com>
20429
20430         * src/NetworkManagerWireless.c
20431                 - Don't try to defererence blank passphrases
20432
20433 2004-08-25  Dan Williams <dcbw@redhat.com>
20434
20435         * panel-applet/NMWirelessApplet.c
20436                 - Rebuild the menu whenever a user clicks
20437
20438 2004-08-25  Dan Williams <dcbw@redhat.com>
20439
20440         * panel-applet/NMWirelessApplet.c
20441                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20442                         when NM isn't around or when its not connected
20443
20444         * src/NetworkManagerDevice.c
20445                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20446                         canceled.
20447
20448 2004-08-25  Dan Williams <dcbw@redhat.com>
20449
20450         * panel-applet/NMWirelessAppletDbus.c
20451                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20452                         for getting encryption, and don't stop on "val" once we've gotten it
20453                         from NetworkManager.  Short form:  encryption should now show up.
20454
20455 2004-08-25  Dan Williams <dcbw@redhat.com>
20456
20457         * panel-applet/NMWirelessApplet.c
20458                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20459                         network to associate with
20460
20461 2004-08-25  Dan Williams <dcbw@redhat.com>
20462
20463         * panel-applet/*
20464                 - Rework the panel applet to do all DBUS communication in a separate
20465                         thread
20466
20467 2004-08-25  Dan Williams <dcbw@redhat.com>
20468
20469         * info-daemon/NetworkManagerInfo.[ch]
20470                 - Remove "get_next_priority" function
20471
20472         * info-daemon/NetworkManagerInfoDbus.[ch]
20473                 - Convert "priority" functions to "timestamp"
20474
20475 2004-08-25  Dan Williams <dcbw@redhat.com>
20476
20477         * src/NetworkManagerAP.[ch]
20478                 - Add a "enc_method_good" member and accessors to an Access Point
20479                         to signal when we've found the correct encryption method
20480                         for an access point
20481                 - Add a "timestamp" member and accessors, remove "priority" member
20482                         and accessors (use timestamps instead)
20483                 - Rename "wep_key"->"enc_key"
20484                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20485                         for a specified encryption method using the access points
20486                         source encryption key/passphrase
20487
20488         * src/NetworkManagerAPList.c
20489                 - When updating a network with dbus, grab timestamp now instead of
20490                         priority
20491
20492         * src/NetworkManagerDBus.[ch]
20493                 - Add signal for "DeviceActivating"
20494                 - Switch priority->timestamp
20495
20496         * src/NetworkManagerDevice.c
20497                 - Change references of "wep_key" -> "enc_key" or "key"
20498                 - Signal DeviceActivating when starting activation
20499                 - When activating a wireless device, if the access point we are connecting
20500                         to is encrypted, and we have a source key, try to generate a mangled
20501                         key and use that (ie, generate real WEP key from a passphrase)
20502                 - Rework device activation to fallback to other encryption methods if
20503                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20504                         first, then if that doesn't work fall back to direct hex key).
20505                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20506                         priority.  We now prefer the latest access point used, rather than using
20507                         a priority scheme
20508                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20509                         points we've just discovered, and merge in correct info from the global
20510                         access point lists
20511
20512 2004-08-25  Seth Nickell  <seth@gnome.org>
20513
20514         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20515         Debian support.
20516         
20517         * src/Makefile.am:
20518         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20519         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20520         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20521         (nm_system_delete_default_route),
20522         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20523         (nm_system_load_device_modules):
20524
20525 2004-08-24  Dan Willemsen <dan@willemsen.us>
20526
20527         * src/NetworkManager.c
20528           src/backends/NetworkManagerGentoo.c
20529           src/backends/NetworkManagerRedHat.c
20530           src/backends/NetworkManagerSystem.h
20531                 - Implement preliminary Gentoo support, adding a
20532                         nm_system_init function to the backend specification
20533
20534         * configure.in
20535                 - Distribution auto-detection, lowercase any user-fed
20536                         distribution names
20537
20538         * initscript/.cvsignore
20539           initscript/Makefile.am
20540           initscript/RedHat/Makefile.am
20541           initscript/RedHat/NetworkManager
20542           initscript/Gentoo/Makefile.am
20543           initscript/Gentoo/NetworkManager
20544                 - Refactored initscript code separately for each
20545                         distribution
20546
20547 2004-08-23  Dan Williams <dcbw@redhat.com>
20548
20549         * configure.in
20550           src/Makefile.am
20551           src/NetworkManagerDevice.c
20552           src/NetworkManager.c
20553           src/NetworkManagerUtils.[ch]
20554           src/backends/NetworkManagerSystem.h
20555           src/backends/NetworkManagerRedHat.c
20556           src/backends/NetworkManagerGentoo.c
20557                 - Refactor system-specific code into separate backends for
20558                         each distribution
20559
20560 2004-08-23  Dan Willemsen <dan@willemsen.us>
20561
20562         * dispatcher-daemon/NetworkManagerDispatcher.c
20563           info-daemon/NetworkManagerInfo.[ch]
20564           info-daemon/NetworkManagerInfoDbus.c
20565           info-daemon/NetworkManagerInfoPassphraseDialog.c
20566           src/NetworkManager.c
20567           src/NetworkManagerAP.c
20568           src/NetworkManagerAPList.c
20569           src/NetworkManagerDbus.c
20570           src/NetworkManagerDevice.c
20571           src/NetworkManagerPolicy.c
20572           src/NetworkManagerUtils.[ch]
20573           src/NetworkManagerWireless.c
20574                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20575
20576         * src/NetworkManager.c
20577                 - Fixed usage wording for --no-daemon
20578
20579 2004-08-23  Dan Williams <dcbw@redhat.com>
20580
20581         * panel-applet/NMWirelessApplet.c
20582                 - Update our state every second to get more responsive panel icon
20583                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20584                         was causing our marching ants status blips to never move when
20585                         looking for a wireless network
20586
20587         * src/NetworkManagerDevice.c
20588                 - (nm_device_activation_begin): return if activation has already begun
20589                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20590                         trusted/preferred network into the device's access point when the
20591                         scan list is processed
20592
20593 2004-08-23  Dan Williams <dcbw@redhat.com>
20594
20595         * initscript/NetworkManager
20596                 - Use NMLaunchHelper rather than sleeping
20597
20598         * initscript/NMLaunchHelper.c
20599           Makefile.am
20600                 - Add helper program that exits only when NM activates a device,
20601                         or 10 seconds have passed, whichever happens first.  This
20602                         stops the boot processes until we have a network connection,
20603                         which NM can't do because it daemonizes and brings the connection
20604                         up in the background.  Allows stuff like NFS to not die.
20605
20606 2004-08-20  Dan Williams <dcbw@redhat.com>
20607
20608         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20609                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20610                         for a network, set the essid as well since it may not exist yet
20611                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20612                         since WEP keys/passphrases are long and prone to entry-error
20613
20614         * panel-applet/Makefile.am
20615           panel-applet/wired.png
20616                 - Add (pulled from system-config-network temporarily)
20617
20618         * panel-applet/NMWirelessApplet.[ch]
20619                 - Show wired picture when a wired connection is used
20620                 - Rename wireless icon enums, adding WIRELESS
20621
20622         * src/NetworkManagerDevice.c
20623                 - (nm_device_activate_wireless): unset encryption before bringing
20624                         down the card and setting the essid
20625                 - (nm_device_activatin_worker): request a key from the user if the
20626                         AP we are connecting to is encrypted but we don't have a key
20627                         for it yet
20628                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20629                         strcmp() that prevented a user-entered key from actually getting
20630                         used
20631
20632 2004-08-16  Dan Williams <dcbw@redhat.com>
20633
20634         * initscript/NetworkManager
20635                 - Check for /sbin/ip
20636                 - Do sysctl magic that network service does
20637                 - sleep 4s after start to allow network time to come up [hack]
20638
20639         * src/Makefile.am
20640           src/NMLoadModules
20641                 - Load all network device kernel modules (hal doesn't know devices
20642                         are ethernet until the module is loaded, and therefore we don't know)
20643
20644         * src/NetworkManager.c
20645                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20646                         network devices, and bring up the loopback device explicitly
20647
20648         * src/NetworkManagerUtils.[ch]
20649                 - (nm_enable_loopback): new function
20650
20651 2004-08-13  Dan Williams <dcbw@redhat.com>
20652
20653         * configure.in
20654           panel-applet/Makefile.am
20655                 - Fix up cleanfiles and server_DATA/server_in_files
20656
20657         * README
20658                 - Update with some comments on theory of operation
20659
20660         * CONTRIBUTING
20661           Makefile.am
20662                 - Add CONTRIBUTING
20663
20664 2004-08-12  Dan Williams <dcbw@redhat.com>
20665
20666         * info-daemon/passphrase.glade
20667                 - Set window title to " "
20668
20669         * panel-applet/Makefile.am
20670           panel-applet/keyring.png
20671                 - Deliver to correct place
20672
20673         * panel-applet/NMWirelessApplet.[ch]
20674                 - Add comments
20675                 - Remove applet->have_active_device as its no longer used
20676                 - (nmwa_load_theme): load keyring.png too
20677                 - (error_dialog): remove
20678                 - (show_warning_dialog): subsume functionality of error dialog too
20679                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20680                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20681                         the networks menu
20682                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20683                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20684                         and when we get broadcasts of changed wireless access points only, not when the
20685                         user clicks on the button to display the menu (too long of a wait)
20686                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20687                         networks that are encrypted
20688                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20689                         menu item with g_object_set_data()
20690
20691         * panel-applet/NMWirelessAppletDbus.[ch]
20692                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20693                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20694                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20695                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20696                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20697                         activation/deactivation signals and rebuild the menu when they happen
20698
20699         * src/NetworkManager.c
20700                 - (main): use new nm_spawn_process() rather than system()
20701
20702         * src/NetworkManagerDbus.c
20703                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20704                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20705                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20706                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20707                         to freeze the best_ap.
20708
20709         * src/NetworkManagerDevice.[ch]
20710                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20711                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20712                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20713                         ap list
20714
20715         * src/NetworkManagerUtils.[ch]
20716                 - (nm_spawn_process): add replacement for system() usage
20717
20718 2004-08-11  Dan Williams <dcbw@redhat.com>
20719
20720         * panel-applet/NMWirelessApplet.[ch]
20721                 - Fix up copyright and credits to include Bastien and Eskil,
20722                         who created the gnome-applets wireless applet, from whose
20723                         skeleton this one was created
20724                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20725                         pixmap to draw is computed during nmwa_update_state()
20726                 - Applet now shows itself all the time due to panel packing issues
20727                         which caused the applet to previously never come back after hiding.
20728                         When a wired device is the active device, the applet shows "not connected"
20729
20730         * panel-applet/NMWirelessAppletDbus.[ch]
20731                 - Clean up error messages and show what function they are from
20732                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20733                 - Add new device type getters, and a status getter
20734
20735         * src/NetworkManagerDbus.c
20736                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20737                         network is actually in the device's ap list
20738                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20739
20740         * src/NetworkManagerDevice.c
20741                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20742                         card
20743
20744         * test/nmclienttest.c
20745                 - Report status of NetworkManager too
20746
20747 2004-08-11  Dan Williams <dcbw@redhat.com>
20748
20749         * info-daemon/NetworkManagerInfo.c:
20750                 - (main): clean up Seth's code style
20751
20752         * info-daemon/NetworkManagerInfoDbus.c:
20753                 - Use the more aptly-named path/service/interface constants from NetworkManager
20754                 - Don't return empty strings ("") as object paths ever, instead return errors
20755
20756         * panel-applet/NMWirelessApplet.c:
20757                 - Clean up Seth's code style
20758
20759         * src/NetworkManager.[ch]
20760                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20761                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20762
20763         * src/NetworkManagerAPList.[ch]
20764                 - Move Iter struct right above the iter functions to preserve opacity
20765                 - (nm_ap_list_remove_ap): implement
20766                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20767                         remove AP if NetworkManagerInfo doesn't know anything about it
20768                 - (nm_ap_list_diff): user NMAPList iterators
20769                 - (nm_ap_list_print_members): implement debugging function
20770
20771         * src/NetworkManagerDbus.[ch]
20772                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20773                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20774                         and move the actual key setting stuff into NetworkManagerDevice.c
20775                 - (nm_dbus_get_network_priority): return -1 now on errors
20776                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20777                         get lost, and force the active device to update its "best" ap when AP lists change
20778                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20779                         method call due to pending_device member removal
20780
20781         * src/NetworkManagerDevice.[ch]
20782                 - Move NMDevice structure to the top
20783                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20784                 - Remove Pending Action stuff from everywhere
20785                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20786                         activation for us.  This thread blocks until all conditions for activation have
20787                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20788                         then setup up the interface and runs dhclient.  We have to do this because there
20789                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20790                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20791                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20792                         can tell nm_device_activation_worker() that we've got a key
20793                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20794                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20795                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20796                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20797
20798         * src/NetworkManagerPolicy.c
20799                 - Remove anything to do with pending_device
20800                 - Adjust device activation to deal with activation-in-worker-thread
20801
20802         * src/NetworkManagerUtils.c
20803                 - Clean up locking debugging a bit
20804
20805         * src/NetworkManagerWireless.[ch]
20806                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20807                         was badly named and is better as a device function
20808
20809         * panel-applet/.cvsignore: add
20810
20811 2004-08-09  Seth Nickell  <seth@gnome.org>
20812
20813         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20814         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20815         (nmwa_new):
20816         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20817
20818         Don't load the menus until clicked on (also removes a call outside
20819         normal code paths at first load).
20820
20821         Hide applet when NM is not present.
20822         
20823         Improve printf debugging stuff.
20824         
20825 2004-08-09  Dan Williams <dcbw@redhat.com>
20826
20827         * dispatcher-daemon/NetworkManagerDispatcher.c:
20828                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20829                 - Use constants for NetworkManager interface, service, and path
20830
20831 2004-08-09  Dan Williams <dcbw@redhat.com>
20832
20833         * src/NetworkManagerDbus.c:
20834                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20835                         instead return an error message
20836                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20837                         on a wired device.  Also never return an empty object path, instead return an error message
20838
20839 2004-08-06  Seth Nickell  <seth@gnome.org>
20840
20841         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20842
20843         Check the error code when getting a connection.
20844         
20845         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20846
20847         Check if the NM service exists when initializing (rather than
20848         assuming it does not).
20849         
20850         * src/NetworkManagerDbus.c: (nm_dbus_init):
20851
20852         Don't acquire the well-known service name until we have
20853         registered object/path handlers and can actually receive
20854         calls.
20855         
20856 2004-08-06  Dan Williams <dcbw@redhat.com>
20857
20858         * panel-applet/*
20859                 - Add panel applet
20860
20861         * src/NetworkManagerPolicy.c
20862           src/NetworkManager.c
20863                 - Get access point lists from NetworkManagerInfo on-demand,
20864                         and look for ServiceCreate/ServiceDeleted signals to see when
20865                         we should query NMI for lists
20866         * src/NetworkManagerAPList.c
20867                 - Make sure to init the list's mutex
20868                 - Convert traversals of the list over to the list iter functions
20869
20870         * src/NetworkManagerDbus.[ch]
20871                 - Use more aptly-named path/service/interface constants
20872                 - Treat both active and pending devices the same for "getActiveDevice"
20873                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20874
20875         * src/NetworkManagerDevice.c
20876                 - Honor "ignored" network list when picking best ap to use
20877
20878 2004-08-06  Seth Nickell  <seth@gnome.org>
20879
20880         * aclocal.m4:
20881
20882         Autogenerated, remove from CVS.
20883         
20884         * autogen.sh:
20885
20886         Don't hardcode automake version.
20887         
20888         * configure.in:
20889         * info-daemon/Makefile.am:
20890         * info-daemon/NetworkManagerInfo.c: (main):
20891
20892         Use GnomeProgram et al. for doing session management.
20893         Use popt stuff for argument parsing rather than doing
20894         it manugally.
20895         
20896 2004-08-05  Dan Williams <dcbw@redhat.com>
20897
20898         * test/nminfotest.c
20899                 - Update to new NMI dbus API, check different network types
20900
20901         * info-daemon/NetworkManagerInfoDbus.c
20902                 - Update to new NM dbus API, ie network type sent in query message
20903
20904 2004-08-05  Dan Williams <dcbw@redhat.com>
20905
20906         * An assload of changes
20907
20908 2004-08-02  Dan Williams <dcbw@redhat.com>
20909
20910         * TODO
20911                 - new task: proper logging support
20912
20913         * info-daemon/NetworkManagerInfo.c
20914                 - Correct spelling of "canceled"
20915                 - Correct casting of objects for g_signal_connect()
20916
20917         * info-daemon/NetworkManagerInfoDbus.c
20918                 - Add defines for NetworkManager namespace and object path, and use them
20919                 - Add filter function to trap new signals from NetworkManager:
20920                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20921
20922         * info-daemon/passphrase.glade
20923                 - Change name of "ok" button to "Login to Network..."
20924                 - Mark invisible
20925
20926         * src/NetworkManager.c
20927                 - Code and debug message cleanups
20928                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20929                 - (nm_add_initial_devices) Check returned string array of devices
20930                         and don't try to add devices if array is NULL
20931                 - (main) Initialize libhal a bit later, make code a bit clearer
20932
20933         * src/NetworkManagerAP.[ch]
20934                 - New accessor and data member "matched": used to speed up AP list
20935                         diffing
20936                 - New accessor and data member "enc_method": will be used during key
20937                         fallback to cache which passphrase->key conversion actually works
20938                         so we don't have to do it every time
20939
20940         * src/NetworkManagerAPList.[ch]
20941                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20942                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20943                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20944                         dbus in response to those differences
20945
20946         * src/NetworkManagerDbus.[ch]
20947                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20948                         make an object path for that access point (NOTE that we don't yet check to
20949                         make sure that access point is actually in the device's AP list yet)
20950                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20951                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20952                         New: signal appearance/disappearance of wireless networks
20953                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20954                         key entry
20955
20956         * src/NetworkManagerDevice.[ch]
20957                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20958                 - (nm_device_ap_list_get) New: return the AP list (static function)
20959                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20960                         new one resulting from the scan with the old one
20961
20962         * src/NetworkManagerWireless.c
20963                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20964
20965         * test/nminfotest.c
20966                 - #define object paths and namespaces and use the #defines rather than static strings
20967                 - Test out user-key functionality of NetworkManagerInfo too
20968
20969 2004-07-29  Dan Williams <dcbw@redhat.com>
20970
20971         * info-daemon/NetworkManagerInfoDbus.c
20972           src/NetworkManagerDbus.c
20973                 - Update to current DBus (ie don't use decomposed paths when registering
20974                         object paths/fallbacks)
20975
20976 2004-07-27  Dan Williams <dcbw@redhat.com>
20977
20978         * Remove various Makefile.in files
20979
20980         * TODO
20981                 - Add some more items
20982
20983         * configure.in
20984                 - Add checks for OpenSSL/md5 headers and libs
20985
20986         * src/Makefile.am
20987                 - Use OpenSSL CFLAGS
20988
20989         * src/NetworkManagerAP.[ch]
20990                 - Remove 'stamp' functions, replace with 'invalid' functions
20991                         to support user cancelling WEP key entry
20992
20993         * src/NetworkManagerDbus.c
20994                 - Remove 'stamp' return functions
20995                 - Treat returned user key as a passphrase and convert to a WEP key,
20996                         but don't actually use the WEP key yet.  We use the returned user
20997                         key as a hexadecimal WEP key until we can figure out a UI for
20998                         passphrase-vs-hex key
20999
21000         * src/NetworkManagerWireless.[ch]
21001                 - Add passphrase-to-128bit-key function
21002
21003 2004-07-27  Dan Williams <dcbw@redhat.com>
21004
21005         * TODO
21006                 - Add a couple of items
21007
21008 2004-07-27  Dan Williams <dcbw@redhat.com>
21009
21010         * info-daemon/NetworkManagerInfo.c
21011                 - Update allowed network's GConf key when user enters a WEP key explicitly
21012
21013         * info-daemon/NetworkManagerDbus.c
21014                 - Fix some comments
21015                 - nmi_dbus_get_allowed_networks(): kill warning
21016
21017 2004-07-27  Dan Williams <dcbw@redhat.com>
21018
21019         * initscript/Makefile.in
21020                 - Remove
21021
21022         * initscript/Makefile.am
21023                 - Add correct rules to install the init.d initscript
21024
21025         * info-daemon/NetworkManagerInfoDbus.c
21026                 - Remove debug fprintf
21027
21028         * src/NetworkManagerDbus.[ch]
21029                 - Remove debug fprintfs
21030                 - Add macros for NetworkManagerInfo object path/namespace
21031                 - Use said macros instead of constant strings
21032
21033 2004-07-27  Dan Williams <dcbw@redhat.com>
21034
21035         * initscript/.cvsignore
21036                 - Add
21037
21038         * info-daemon/Makefile.am
21039                 - Install .glade files and keyring.png
21040                 - Fix stupid omission of a \ that caused half the flags not to be
21041                         passed to gcc
21042
21043         * info-daemon/NetworkManagerInfo.c
21044                 - gtk_signal_connect->g_signal_connect
21045                 - Alert NetworkManagerInfo to new glade file location
21046
21047 2004-07-27  Dan Williams <dcbw@redhat.com>
21048
21049         * test/nmclienttest.c
21050           test/nminfotest.c
21051                 - Add missing <dbus/dbus.h> headers
21052                 - Add GPL message at top
21053
21054 2004-07-27  Dan Williams <dcbw@redhat.com>
21055
21056         * src/NetworkManagerAPList.[ch]
21057           src/Makefile.am
21058                 - Add.  Deal with allowed network list additions, deletions, and updates
21059
21060         * dispatcher-daemon/NetworkManagerDispatcher.c
21061                 - Add missing <dbus/dbus.h> header
21062
21063         * info-daemon/NetworkManagerInfo.[ch]
21064                 - Add missing <dbus/dbus.h> header
21065                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21066                         network change
21067                 - Better error checking
21068
21069         * info-daemon/NetworkManagerInfoDbus.[ch]
21070                 - Add missing <dbus/dbus.h> header
21071                 - Convert to using dbus_message_append_args/dbus_message_get_args
21072                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21073                         that an allowed network changed.  We don't want to signal on individual
21074                         keys _inside_ an allowed network really, just want NM to query the info
21075                         daemon for updated info on all keys.
21076                 - Better error checking
21077
21078         * src/NetworkManager.[ch]
21079                 - Add missing <dbus/dbus.h> header
21080                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21081                 - Zero out NMData structure on free
21082                 - No longer use a thread for allowed_ap_list updating, instead its now done
21083                         through dbus queries against NetworkManagerInfo
21084                 - Populate allowed_ap_list initially before adding existing network devices
21085                         to the device list, so wireless devices can get their "best" AP
21086
21087         * src/NetworkManagerDbus.[ch]
21088                 - Convert to using dbus_message_append_args/dbus_message_get_args
21089                 - Better error checking
21090                 - Implement Allowed Network info functions to request allowed network
21091                         info from NetworkManagerInfo
21092                 - Implement the filter function to process signals from NetworkManagerInfo
21093                         about changing allowed networks
21094
21095         * src/NetworkManagerDevice.c
21096                 - Fix file descriptor leak in nm_device_update_ip4_address()
21097
21098 2004-07-27  Dan Williams <dcbw@redhat.com>
21099
21100         * .cvsignore
21101           src/.cvsignore
21102           test/.cvsignore
21103           dispatcher-daemon/.cvsignore
21104           info-daemon/.cvsignore
21105                 - Add .cvsignore files to reduce noise when diffing
21106
21107 2004-07-24  Dan Williams <dcbw@redhat.com>
21108
21109         * src/NetworkManager.[ch]
21110           src/NetworkManagerDbus.[ch]
21111           src/NetworkManagerDevice.[ch]
21112           src/NetworkManagerPolicy.c
21113           src/NetworkManagerWireless.[ch]
21114                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21115                 - Pass the NMData application data structure through all calls
21116                         that need it so we can get rid of nm_get_global_data()
21117                 - Change deallocation of the allowed_ap_list GSList in preparation
21118                         for not completely clearing it every time we get an update,
21119                         but instead getting incremental updates via GConf/dbus
21120
21121 2004-07-22  Dan Williams <dcbw@redhat.com>
21122
21123         * configure.in
21124                 - Add checks for GConf libs & headers & flags
21125
21126         * info-daemon/Makefile.am
21127                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21128
21129         * info-daemon/NetworkManagerInfo.[ch]
21130                 - Don't use gquarks for data storage, just use normal data storage
21131                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21132
21133         * info-daemon/NetworkManagerDbus.[ch]
21134                 - Add method call for getting allowed networks
21135                 - Add method calls for getting an allowed network's essid, priority, and key
21136                 - Hook the method calls up to GConf
21137                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21138                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21139                 
21140         * src/NetworkManagerDbus.[ch]
21141                 - Switch for enumeration of networks to using essid instead
21142
21143         * test/Makefile.am
21144           test/nminfotest.c
21145                 - Add test program for NetworkManagerInfo
21146
21147 2004-07-19  Dan Williams <dcbw@redhat.com>
21148
21149         * src/NetworkManagerDbus.c
21150                 - Switch from indexed device paths to names.  Less code, more efficient.
21151                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21152
21153 2004-07-19  Dan Williams <dcbw@redhat.com>
21154
21155         * dispatcher-daemon/NetworkManagerDispatcher.c
21156                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21157
21158 2004-07-19  Dan Williams <dcbw@redhat.com>
21159
21160         * Makefile.am
21161                 - Add info-daemon directory
21162
21163         * configure.in
21164                 - Check for glade libs and headers
21165                 - Add info-daemon directory
21166
21167         * src/NetworkManagerAP.c
21168                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21169                         copied over to the new AP.
21170
21171         * src/NetworkManagerDbus.c
21172           src/NetworkManagerDbus.h
21173                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21174                 - Remove nm_dbus_signal_need_key_for_network()
21175                 - Add disabled code for asynchronous user wep key callbacks
21176                 - Add functions for getting, setting, and cancelling user key operations
21177                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21178                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21179
21180         * src/NetworkManagerDevice.c
21181           src/NetworkManagerDevice.h
21182                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21183                         logic is in device activation now
21184                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21185                         key is wrong) trigger get-user-key pending action
21186                 - Implement get-user-key pending action stuff, tie to dbus messages
21187                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21188                 - Add nm_device_ap_list_get_ap_by_essid()
21189                 - Instead of copying "best" access points, ref them instead so that the key we set
21190                         sticks around
21191
21192         * src/NetworkManagerPolicy.c
21193                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21194                 - Don't cancel pending actions on a device if its the same device as last iteration
21195                 - Only promote pending_device->active_device if activation was successfull
21196
21197         * src/Makefile.am
21198                 - Rename nmclienttest->nmtest
21199
21200         * info-daemon/Makefile.am
21201           info-daemon/NetworkManagerInfo.c
21202           info-daemon/NetworkManagerInfo.h
21203           info-daemon/NetworkManagerInfoDbus.c
21204           info-daemon/NetworkManagerInfoDbus.h
21205           info-daemon/passphrase.glade
21206           info-daemon/NetworkManagerInfo.conf
21207           info-daemon/keyring.png
21208                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21209                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21210                         lists to NetworkManager by proxying user's GConf
21211           
21212
21213 2004-07-15  Dan Williams <dcbw@redhat.com>
21214
21215         * src/Makefile.am
21216                 - Turn on warnings
21217
21218         * src/NetworkManager.c
21219                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21220                         that doing the deactivation ourselves
21221                 - Cancel an pending actions on a device if its being removed
21222                 - Break up link state checking a bit, make non-active wireless cards
21223                         deactivated to save power
21224                 - Remove unused variables
21225
21226         * src/NetworkManager.h
21227                 - Add support for "pending" device
21228
21229         * src/NetworkManagerAP.h
21230           src/NetworkManagerAP.c
21231                 - Add support for determining whether and AP has encryption enabled or not
21232                 - AP address is now "struct ether_addr" rather than a string
21233
21234         * src/NetworkManagerDbus.h
21235           src/NetworkManagerDbus.c
21236                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21237                 - Changes for AP address from struct ether_addr->string
21238
21239         * src/NetworkManagerDevice.h
21240           src/NetworkManagerDevice.c
21241                 - Remove unused variables, fix warnings
21242                 - Add support for Pending Actions (things that block a device from being "active"
21243                         until they are completed).
21244                 - First pending action:  Get a WEP key from the user
21245                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21246                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21247                 - Update wireless link checking to try to determine if the AP we are associated
21248                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21249                         trigger the GetUserKey pending action on the device
21250                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21251                         up in that case, otherwise we can't scan or link-check on it
21252                 - Add IP address change notifications at appropriate points (still needs some work)
21253                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21254
21255         * src/NetworkManagerPolicy.h
21256           src/NetworkManagerPolicy.c
21257                 - Split out "best" access point determiniation into separate function
21258                 - Make device activation 2-stage:  first the device is pending, then
21259                         in the next iteration through it becomes "active" unless it has
21260                         pending actions
21261
21262         * src/NetworkManagerUtils.h
21263           src/NetworkManagerUtils.c
21264                 - Clean up unused variables and warnings
21265                 - Wrap our debug macros in {} to prevent possible confusion
21266
21267         * src/NetworkManagerWireless.c
21268                 - Forgot to return current best priority, which lead to last available AP always
21269                         being chosen no matter what its priority was.  Corrected.
21270
21271 2004-07-15  Dan Williams <dcbw@redhat.com>
21272
21273         * dispatcher-daemon/Makefile.am
21274                 - Turn on warnings
21275
21276         * dispatcher-daemon/NetworkManagerDispatcher.c
21277                 - Remove unused variables due to warnings
21278                 - Fix some comments
21279                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21280
21281 2004-07-06  Dan Williams <dcbw@redhat.com>
21282
21283         * src/NetworkManager.c
21284                 - Add IPv4 address update for active device during link state check
21285                 - Don't allow wireless cards to be powered up when they are not the
21286                         active device
21287
21288         * src/NetworkManagerDbus.c
21289           src/NetworkManagerDbus.h
21290                 - Add DBUS IPv4 address change signal
21291                 - Add DBUS IPv4 address get method for devices
21292
21293         * src/NetworkManagerDevice.c
21294                 - Make setting the WEP key actually work
21295                 - Move IP address get/set/update stuff here, per-device
21296                 - Power down/bring down wireless device when deactivated
21297                 - For scanning wireless devices, if first scan returned ENODATA, try again
21298
21299         * src/NetworkManagerPolicy.c
21300                 - Only set the WEP key for an allowed access point if there is one.
21301                         We were setting it to be blank if one wasn't specified.
21302
21303         * src/NetworkManagerUtils.h
21304           src/NetworkManagerUtils.c
21305                 - Move the IP address stuff to NetworkManagerDevice.c
21306
21307         * dispatcher-daemon/NetworkManagerDispatcher.c
21308                 - Add device IPv4 address change notification stuff
21309
21310 2004-07-05  Dan Williams <dcbw@redhat.com>
21311
21312         * dispatcher-daemon/NetworkManagerDispatcher.c
21313                 - A bit more descriptive state message
21314                 - Don't segfault when reading directory
21315
21316         * src/NetworkManager.h
21317                 - Remove NMData desired_ap member, its now
21318                         per-device rather than global
21319
21320         * src/NetworkManager.c
21321                 - Remove references to desired_ap
21322                 - Move the allowed AP list refresh stuff into a thread
21323
21324         * src/NetworkManagerDevice.c
21325           src/NetworkManagerDevice.h
21326                 - Each wireless device now has a "best ap"
21327                 - Make device activate/deactivate functions per-device
21328                 - Make wireless scanning per-device
21329                 - Add IPv4 address discover functions, stub IPv6 ones
21330                 - Move ethernet address validation functions to NetworkManagerUtils.c
21331                 - Add wireless access point accessor function
21332                 - Get/Set functions for "best ap"
21333
21334         * src/NetworkManagerPolicy.c
21335                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21336                 - Deal with per-device "best ap" rather than data->desired_apa
21337                 - Implement allowed access point worker thread
21338                 - Add nm_policy_essid_is_allowed() function
21339
21340         * src/NetworkManagerUtils.c
21341           src/NetworkManagerUtils.h
21342                 - Add nm_ethernet_address_is_valid() function
21343                 - Add IPv4/IPv6 address get functions
21344
21345         * src/NetworkManagerWireless.c
21346           src/NetworkManagerWireless.h
21347                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21348
21349 2004-06-29  Dan Williams <dcbw@redhat.com>
21350
21351         * dispatcher-daemon/NetworkManagerDispatcher.c
21352                 - Implement script callout functionality
21353
21354 2004-06-24  Dan Williams <dcbw@redhat.com>
21355
21356         * NetworkManager.c
21357             - Spacing cleanups
21358             - Flush device routes and ip addresses when added to the device list
21359
21360         * NetworkManagerDbus.c
21361             - Spacing cleanups
21362             - Add missing returns in the two signal functions
21363         
21364         * NetworkManagerPolicy.c
21365             - Spacing and variable cleanups
21366
21367 2004-06-24  Dan Williams <dcbw@redhat.com>
21368
21369         * Makefile.am
21370           Makefile.in
21371           configure.in
21372           dispatcher-daemon/Makefile.am
21373           dispatcher-daemon/Makefile.in
21374           dispatcher-daemon/NetworkManagerDispatcher.c
21375             - Add a daemon that receives signals from NetworkManager
21376                         and will (eventually) call scripts in /etc/somewhere
21377                         when devices go up or down.
21378         
21379         * NetworkManager.c
21380             - Spacing cleanups
21381             - Flush device routes and ip addresses when added to the device list
21382
21383         * NetworkManagerDbus.c
21384             - Spacing cleanups
21385             - Add missing returns in the two signal functions
21386         
21387         * NetworkManagerPolicy.c
21388             - Spacing and variable cleanups
21389             - Rename nm_policy_switch_interface->nm_policy_switch_device
21390             - nm_policy_switch_device():
21391                                 Use kill (pid) instead of system ("kill <pid>")
21392             - nm_state_modification_monitor():
21393                                 Add wireless essid to output of debug statements
21394                                 Correct typo in device compare to switch or not (should be !=)
21395                                 Don't sleep after sending "no longer active" signal, was useless
21396
21397 2004-06-24  Dan Williams <dcbw@redhat.com>
21398
21399         * Initial import