2008-10-27 Tambet Ingo <tambet@gmail.com>
[NetworkManager.git] / ChangeLog
1 2008-10-27  Tambet Ingo  <tambet@gmail.com>
2
3         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
4         correct speed reporting for fast devices (kernel >= 2.6.27).
5
6 2008-10-26  Dan Williams  <dcbw@redhat.com>
7
8         Attempt to compensate for modems that don't enable full AT parsing before
9         the PIN has been entered.
10
11         * src/nm-gsm-device.c
12                 - (init_modem): accept different init strings
13                 - (init_done): try different init strings on failure
14                 - (check_pin_done): on PIN success, do full modem init
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-connection.c
22           libnm-util/nm-setting-connection.h
23                 - Make properties private and add accessor functions
24
25         * src/NetworkManagerPolicy.c
26           src/nm-cdma-device.c
27           src/nm-device-ethernet.c
28           src/nm-device-interface.c
29           src/nm-device-wifi.c
30           src/nm-gsm-device.c
31           src/nm-manager.c
32           src/ppp-manager/nm-ppp-manager.c
33           src/vpn-manager/nm-vpn-connection.c
34           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
35           system-settings/plugins/ifcfg-fedora/plugin.c
36           system-settings/plugins/ifcfg-fedora/reader.c
37           system-settings/plugins/ifcfg-suse/parser.c
38           system-settings/plugins/ifupdown/parser.c
39           system-settings/plugins/keyfile/nm-keyfile-connection.c
40           system-settings/plugins/keyfile/plugin.c
41           system-settings/plugins/keyfile/writer.c
42           system-settings/src/main.c
43                 - Use those accessors
44
45 2008-10-26  Dan Williams  <dcbw@redhat.com>
46
47         Patch from Tambet Ingo <tambet@gmail.com>
48
49         * libnm-util/libnm-util.ver
50           libnm-util/nm-setting-gsm.c
51           libnm-util/nm-setting-gsm.h
52                 - Make properties private and add accessor functions
53
54         * src/nm-gsm-device.c
55           src/nm-hso-gsm-device.c
56           src/ppp-manager/nm-ppp-manager.c
57                 - Use those accessors
58
59 2008-10-26  Dan Williams  <dcbw@redhat.com>
60
61         Patch from Tambet Ingo <tambet@gmail.com>
62
63         * libnm-util/libnm-util.ver
64           libnm-util/nm-setting-cdma.c
65           libnm-util/nm-setting-cdma.h
66                 - Make properties private and add accessor functions
67
68         * src/nm-cdma-device.c
69           src/ppp-manager/nm-ppp-manager.c
70                 - Use those accessors
71
72 2008-10-26  Dan Williams  <dcbw@redhat.com>
73
74         Patch from Tambet Ingo <tambet@gmail.com>
75
76         * libnm-util/libnm-util.ver
77           libnm-util/nm-setting-pppoe.c
78           libnm-util/nm-setting-pppoe.h
79                 - Make properties private and add accessor functions
80
81         * src/nm-device-ethernet.c
82           src/ppp-manager/nm-ppp-manager.c
83                 - Use those accessors
84
85 2008-10-26  Dan Williams  <dcbw@redhat.com>
86
87         Patch from Tambet Ingo <tambet@gmail.com>
88
89         * libnm-util/libnm-util.ver
90           libnm-util/nm-setting-wired.c
91           libnm-util/nm-setting-wired.h
92                 - Make properties private and add accessor functions
93
94         * src/nm-device-ethernet.c
95           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
96           system-settings/plugins/ifcfg-suse/parser.c
97           system-settings/src/main.c
98                 - Use those accessors
99
100 2008-10-26  Dan Williams  <dcbw@redhat.com>
101
102         Patch from Tambet Ingo <tambet@gmail.com>
103
104         * libnm-util/libnm-util.ver
105           libnm-util/nm-setting-serial.c
106           libnm-util/nm-setting-serial.h
107           src/nm-serial-device.c
108                 - Make properties private and use accessors instead
109
110 2008-10-26  Dan Williams  <dcbw@redhat.com>
111
112         * src/supplicant-manager/nm-supplicant-interface.c
113           src/supplicant-manager/nm-supplicant-interface.h
114           src/supplicant-manager/nm-supplicant-manager.c
115           src/supplicant-manager/nm-supplicant-manager.h
116                 - Add state-to-string conversion functions
117
118         * src/nm-device-wifi.c
119           src/nm-device-ethernet.c
120                 - Normalize state info logging and use strings instead of numbers
121
122 2008-10-26  Dan Williams  <dcbw@redhat.com>
123
124         * src/NetworkManagerPolicy.c
125                 - (update_routing_and_dns): ignore host routes when determining whether
126                         a VPN connection should own the default route (bgo #552594)
127
128 2008-10-24  Dan Williams  <dcbw@redhat.com>
129
130         * src/nm-gsm-device.c
131                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
132
133 2008-10-23  Dan Williams  <dcbw@redhat.com>
134
135         * src/ppp-manager/nm-ppp-manager.c
136                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
137                         add really important stuff to the command line to ensure that NM
138                         overrides /etc/ppp/options (bgo #556781)
139
140 2008-10-22  Dan Williams  <dcbw@redhat.com>
141
142         * src/NetworkManagerSystem.c
143           src/nm-device.c
144                 - Use the device's IP interface where appropriate (Per Hallsmark)
145
146 2008-10-22  Dan Williams  <dcbw@redhat.com>
147
148         * src/nm-gsm-device.c
149                 - (schedule_automatic_registration_again): use a short timeout here
150                         instead of an idle handler to avoid using too much CPU polling for
151                         something we should be waiting a bit for anyway
152
153 2008-10-22  Dan Williams  <dcbw@redhat.com>
154
155         * include/NetworkManager.h
156           introspection/nm-device.xml
157                 - Add device state change reason for carrier changes
158
159         * src/nm-device-ethernet.c
160                 - (set_carrier): use the carrier change reason when changing device
161                         state in response to carrier changes
162
163 2008-10-21  Dan Williams  <dcbw@redhat.com>
164
165         * src/NetworkManagerPolicy.c
166                 - (update_etc_hosts): don't leak errors, and ensure that
167                         g_file_set_contents() gets a valid error placeholder (rh #461933)
168
169 2008-10-21  Dan Williams  <dcbw@redhat.com>
170
171         * src/nm-manager.c
172                 - (free_get_settings_info): don't use the DBusGProxy which could be
173                         disposed of by the time the function is called
174                 - (internal_new_connection_cb): save connection scope
175                 - (connection_get_settings_cb): don't replace a connection unless it's
176                         actually different from the existing one; fixes an issue where
177                         killing the settings service wouldn't deactivate an active connection
178                         provided by that settings service, because it was using a connection
179                         that had already been replaced in the system or user hash
180
181 2008-10-21  Dan Williams  <dcbw@redhat.com>
182
183         * src/NetworkManager.c
184                 - (main): keep the DHCP manager around since it's a singleton; fixes
185                         a use-after-free exposed by r4196 since the DHCP manager singleton
186                         variable isn't cleared when the DHCP manager object is finalized
187
188 2008-10-20  Dan Williams  <dcbw@redhat.com>
189
190         * libnm-util/nm-setting-wireless-security.c
191                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
192
193 2008-10-20  Dan Williams  <dcbw@redhat.com>
194
195         * src/supplicant-manager/nm-supplicant-config.c
196                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
197
198 2008-10-20  Dan Williams  <dcbw@redhat.com>
199
200         * src/dhcp-manager/nm-dhcp-manager.c
201                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
202                         manager object already refs it once
203                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
204                         also get cleaned up by nm_dhcp_device_destroy() to prevent
205                         double-frees
206
207 2008-10-20  Dan Williams  <dcbw@redhat.com>
208
209         * src/nm-manager.c
210                 - (initial_get_connections): use private dbus manager, don't keep
211                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
212                         manager object.
213
214 2008-10-18  Dan Williams  <dcbw@redhat.com>
215
216         * libnm-glib/nm-settings.c
217           libnm-glib/nm-settings.h
218                 - Rename the "get_secrets" virtual function "service_get_secrets" to
219                         clarify when it's used; NMExportedConnetion is a base-class for both
220                         the client and service side, which is sort of confusing, and
221                         get_secrets only makes sense on the service side.
222
223         * libnm-glib/nm-dbus-connection.c
224                 - (get_secrets): remove, unused, and clients need to do extra work to
225                         get secrets anyway since the call can block on the remote side
226
227         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
228           system-settings/plugins/keyfile/nm-keyfile-connection.c
229                 - Fix up for get_secrets -> service_get_secrets
230
231 2008-10-16  Dan Williams  <dcbw@redhat.com>
232
233         * src/nm-device-wifi.c
234                 - (constructor): correctly determine encryption capabilities
235
236 2008-10-15  Dan Williams  <dcbw@redhat.com>
237
238         * src/nm-device-wifi.c
239                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
240                         (Johannes Berg)
241
242 2008-10-15  Dan Williams  <dcbw@redhat.com>
243
244         * src/NetworkManagerSystem.c
245                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
246                         if the ip4_dest is in a smaller subnet contained within a subnet
247                         the machine is currently on, the destination is in the same subnet
248                 - (nm_system_device_set_ip4_route): move subnet checks to callers
249                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
250                         subnet as the parent device, and if so, don't add the direct
251                         host route via the parent device's gateway (bgo #481620)
252                 - (nm_system_apply_ip4_config): check whether the route to be added
253                         is contained within a subnet the device is already on
254
255 2008-10-11  Dan Williams  <dcbw@redhat.com>
256
257         * include/NetworkManager.h
258           introspection/nm-device.xml
259           include/NetworkManagerVPN.h
260                 - Add a few more state reasons for the device deactivated state
261
262         * src/nm-device-interface.c
263           src/nm-device-interface.h
264                 - (nm_device_interface_deactivate): add a 'reason' argument
265
266         * src/nm-device.c
267           src/nm-device.h
268                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
269                 - (nm_device_state_changed): pass the state change reason to
270                         nm_device_take_down()
271                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
272                         to the state change function
273
274         * src/nm-manager.c
275           src/nm-manager.h
276                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
277                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
278                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
279                         something reasonable along to VPN deactivation
280
281         * src/vpn-manager/nm-vpn-manager.c
282           src/vpn-manager/nm-vpn-manager.h
283                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
284                         pass that along to nm_vpn_connection_disconnect()
285
286 2008-10-11  Dan Williams  <dcbw@redhat.com>
287
288         * src/nm-device-wifi.c
289                 - (can_scan): remove old madwifi hack for not scanning while connected
290
291 2008-10-11  Dan Williams  <dcbw@redhat.com>
292
293         Add support for VPN subnet gateways (bgo #549196)
294
295         * include/NetworkManager.h
296                 - Add key for internal VPN subnet gateway
297
298         * src/vpn-manager/nm-vpn-connection.c
299                 - (ip_address_to_string): return a const from a static buffer so we
300                         don't leak a lot of strings
301                 - (print_vpn_config): print internal VPN gateway as well
302                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
303                         VPN service too
304                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
305
306         * src/NetworkManagerSystem.c
307           src/NetworkManagerSystem.h
308                 - (nm_system_device_replace_default_ip4_route): split into two, one for
309                         VPN connections and one for normal devices
310                 - (replace_default_ip4_route): break out route stuff into its own function
311                 - (nm_system_replace_default_ip4_route_vpn,
312                    nm_system_replace_default_ip4_route): simplify by having two cases,
313                         one for VPNs and one for normal devices
314
315         * src/NetworkManagerPolicy.c
316                 - (update_routing_and_dns): simplify, use split default route replacement
317                         functions
318
319 2008-10-10  Dan Williams  <dcbw@redhat.com>
320
321         Rework default route handling to consolidate decisions in the policy,
322         and to take active VPN connections into account when changing the default
323         route (bgo #545912)
324
325         * src/NetworkManager.c
326                 - (main): pass the vpn_manager to the policy so it knows about active
327                         VPN connections; clean up the named manager which wasn't done before
328
329         * src/NetworkManagerPolicy.c
330           src/NetworkManagerPolicy.h
331                 - (nm_policy_new): get a clue about the vpn_manager
332                 - (update_default_route): remove, fold into update_routing_and_dns()
333                 - (update_routing_and_dns): handle active VPN connections too; an
334                         active VPN connection becomes the default route if it does not have
335                         server-specified or user-specified custom routes.  Otherwise, the
336                         best active device gets the default route
337                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
338                    nm_policy_destroy): track VPN connection activation and deactivation
339                         and update the default route when appropriate
340
341         * src/NetworkManagerSystem.c
342           src/NetworkManagerSystem.h
343                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
344                         in the VPN connection itself
345                 - (nm_system_vpn_device_set_from_ip4_config,
346                    nm_system_device_set_from_ip4_config): merge together to make
347                         nm_system_apply_ip4_config()
348                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
349                         via the parent device
350                 - (nm_system_apply_ip4_config): simplify
351                 - (add_ip4_route_to_gateway): new function; add a direct route to the
352                         gateway if needed
353                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
354                         route stuff out into add_ip4_route_to_gateway() for clarity
355
356         * src/nm-device.c
357                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
358
359         * src/vpn-manager/nm-vpn-connection.c
360           src/vpn-manager/nm-vpn-connection.h
361                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
362                    nm_vpn_connection_get_parent_device): add
363                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
364                         device explicit
365                 - (connection_state_changed): update the named manager now that
366                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
367                         useful on errors
368
369         * src/vpn-manager/nm-vpn-manager.c
370           src/vpn-manager/nm-vpn-manager.h
371                 - Add a 'connection-activated' signal
372                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
373                         policy to find out about active VPN connections
374
375 2008-10-10  Tambet Ingo  <tambet@gmail.com>
376
377         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
378         a daemon to prevent NM logging spew on console on startup and shutdown (due
379         to dependency loop between NM and syslog).
380
381 2008-10-10  Alexander Sack  <asac@ubuntu.com>
382
383         Implement managed mode. We bind devices configured in /etc/network/interfaces
384         to their connections by updating wired/wireless setting with the
385         mac address of the device.
386
387         * system-settings/plugins/ifupdown/plugin.c
388                 - (get_net_address_for_udi): implement function to retrieve MAC
389                         address of udi from hal in GByteArray format
390                 - (bind_device_to_connection): bind mac address of device to
391                         wired/wireless system connection
392                 - (hal_device_added_cb): call bind_device_to_connection for
393                         system connections with a matching interface.name
394                 - (hal_device_added_cb): ensure that all code paths
395                         properly free the "iface" string.
396
397 2008-10-10  Alexander Sack  <asac@ubuntu.com>
398
399         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
400         mode of the ifupdown system config plugin.
401
402         * system-settings/plugins/ifupdown/plugin.c
403                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
404                         private unmanage_well_known state field accordingly
405
406 2008-10-10  Alexander Sack  <asac@ubuntu.com>
407
408         Implement unmanaged mode that will prevent all devices in the
409         well_known_udis set from being touched by NetworkManager
410
411         * system-settings/plugins/ifupdown/plugin.c
412                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
413                         unmanage_well_known field used to turn on/off unmanaged
414                         mode
415                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
416                         signal when well_known_udis get added/removed
417                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
418                         if we are in unmanaged mode
419
420 2008-10-10  Alexander Sack  <asac@ubuntu.com>
421
422         Add support to track network devices that have a configuration
423         with a matching interface.name in /etc/network/interfaces
424
425         * system-settings/plugins/ifupdown/plugin.c
426                 - (typedef struct SCPluginIfupdownPrivate): add hash table
427                         to track |well_known_udis|
428                 - (get_iface_for_udi): helper function to get interface.name
429                         for a udi
430                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
431                         that add and remove devices to and from the well_known_udis
432                         set depending on whether their |interface.name| matches
433                         any interface definition in /etc/network/interfaces
434                 - (SCPluginIfupdown_init): connect callbacks from above with
435                         hal_mgr and setup well_known_udis hashtable
436                 - (GObject__dispose): destroy well_known_udis hashtable
437                 - (hal_device_added_cb2): implement wrapper callback with GFunc
438                         signature. user_data is supposed to be a triple (hal_mgr,
439                         config and devtype)
440                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
441                         startup and call hal_device_added_cb2
442
443 2008-10-10  Alexander Sack  <asac@ubuntu.com>
444
445         Remove implementation for not used NMSystemConfigInterface callback functions
446         in ifupdown plugin
447
448         * system-settings/plugins/ifupdown/plugin.c
449                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
450                 - (SCPluginIfupdown_connection_added): removed
451
452 2008-10-08  Dan Williams  <dcbw@redhat.com>
453
454         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
455
456         * src/NetworkManagerUtils.c
457                 - (nm_utils_call_dispatcher): add a 'hostname' action
458
459         * src/NetworkManagerPolicy.c
460                 - (set_system_hostname): dispatch hostname changes
461
462         * callouts/nm-dispatcher-action.c
463                 - (nm_dispatcher_action): handle 'hostname' actions
464
465 2008-10-08  Dan Williams  <dcbw@redhat.com>
466
467         * src/NetworkManagerSystem.c
468                 - (find_route): ref the route so it doesn't get destroyed when the cache
469                         is cleared
470                 - (nm_system_device_set_priority): unref the route here after it's done
471                         being used
472
473 2008-10-08  Dan Williams  <dcbw@redhat.com>
474
475         * src/nm-serial-device.c
476                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
477
478 2008-10-08  Tambet Ingo  <tambet@gmail.com>
479
480         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
481         connection with new settings before saving it.
482
483 2008-10-06  Dan Williams  <dcbw@redhat.com>
484
485         * src/nm-ip4-config.c
486           src/nm-ip4-config.h
487                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
488
489         * src/nm-device-interface.c
490                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
491                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
492                         by using '/' for the object path
493
494         * src/nm-device.c
495                 - (src/nm-device.c): marshal missing/unexported ip4-config through
496                         dbus as '/' since dbus-glib can't handle NULL objects nor can
497                         dbus handle NULL object paths
498
499 2008-10-03  Alexander Sack  <asac@ubuntu.com>
500
501         Implement system hostname support for debian/ubuntu
502
503         * system-settings/plugins/ifupdown/plugin.c
504                 - (GObject__get_property): extend announced capabilities; add
505                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
506                 - (GObject__set_property,write_system_hostname): implement
507                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
508                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
509                    update_system_hostname, get_hostname):
510                         implement hostname property that watches and
511                         parses /etc/hostname
512
513 2008-10-03  Alexander Sack  <asac@ubuntu.com>
514
515         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
516           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
517           system-settings/plugins/ifcfg-fedora/Makefile.am
518           system-settings/src/nm-inotify-helper.c
519           system-settings/src/nm-inotify-helper.h
520           src/Makefile.am
521                 - Move ifcfg-fedora inotify helpers to the system settings service so
522                         they are available to all plugins
523
524 2008-10-03  Alexander Sack  <asac@ubuntu.com>
525
526         Implement support for wep-tx-keyidx in ifupdown system
527         config plugin.
528
529         * system-settings/plugins/ifupdown/parser.c
530                 - (update_wireless_security_setting_from_if_block): introduce
531                         free_type_mapping func table; rename a few local
532                         variables to improve readability; add wpa security mapping
533                         for wep-tx-keyidx property
534                 - (string_to_gpointerint): new function used for the auto_type_mapping
535                         of new wep-tx-keyidx property
536                 - (slist_free_all): free func used for mapped slist types
537
538 2008-10-03  Alexander Sack  <asac@ubuntu.com>
539
540         * system-settings/src/main.c:
541                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
542                         always used as the hash key; fixes a crash when removing wired
543                         devices
544
545 2008-10-02  Dan Williams  <dcbw@redhat.com>
546
547         * src/nm-gsm-device.c
548                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
549                         pass the required GSM secret along via user_data rather than keeping
550                         it around in the private data where it sometimes didn't get cleared
551                 - (real_get_ppp_name): implement using the GSM username
552
553 2008-10-02  Dan Williams  <dcbw@redhat.com>
554
555         * src/ppp-manager/nm-ppp-manager.c
556           src/ppp-manager/nm-ppp-manager.h
557                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
558                         the settings daemon for completely new ones
559                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
560                         local PPP peer name; allow PPP debuging by launching NM with
561                         the environment variable NM_PPP_DEBUG defined
562                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
563                         create_pppd_cmd_line()
564
565         * src/nm-serial-device.c
566           src/nm-serial-device.h
567                 - New 'get_ppp_name' function for subclasses to implement to return the
568                         local PPP peer name
569                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
570                         and pass that name to the PPP manager
571
572         * src/nm-device-ethernet.c
573                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
574                         the local peer name
575
576         * src/nm-cdma-device.c
577                 - (real_get_ppp_name): implement using the CDMA username
578
579 2008-10-02  Dan Williams  <dcbw@redhat.com>
580
581         Patch from Alexander Sack <asac ubuntu com>
582
583         * system-settings/plugins/ifupdown/parser.c
584                 - Implement more graceful ip4 config parsing for cases where
585                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
586                   by using default values
587
588 2008-10-02  Dan Williams  <dcbw@redhat.com>
589
590         * src/NetworkManagerPolicy.c
591                 - (device_state_changed): when marking a connection invalid, clear its
592                         secrets too so that fresh secrets get requested the next time
593
594 2008-10-01  Dan Williams  <dcbw@redhat.com>
595
596         * system-settings/src/dbus-settings.c
597                 - (nm_sysconfig_settings_init): cache system hostname on startup as
598                         a fallback if no plugin provides a hostname
599                 - (get_property): fall back to cached hostname if no plugin provides
600                         a hostname
601
602 2008-10-01  Dan Williams  <dcbw@redhat.com>
603
604         Fix setting value comparison issue that caused some settings to look the
605         same when they were really different (rh #464417)
606
607         * libnm-util/nm-param-spec-specialized.c
608                 - (type_is_fixed_size): return fundamental size of the fixed type too
609                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
610                         in the comparison so that the _entire_ fixed type collection gets
611                         compared rather than just the first 'len1' bytes
612
613 2008-09-30  Dan Williams  <dcbw@redhat.com>
614
615         * src/NetworkManagerPolicy.c
616                 - (lookup_thread_worker): don't store the idle handler ID becuase the
617                         idle handler could have already run and freed the LookupThread
618                         structure
619
620 2008-09-30  Tambet Ingo  <tambet@gmail.com>
621
622         * src/nm-device.c (nm_device_get_priority): Implement.
623         (nm_device_set_ip4_config): Send the device priority to system ip4 
624         config setter.
625
626         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
627         Add priority argument and if it's >= 0, set the priority of the network
628         route added automatically by netlink (or kernel?).
629         (nm_system_device_set_priority): Implement.
630
631         * src/NetworkManagerPolicy.c (get_best_device): Use 
632         nm_device_get_priority() instead of home-grown version. Revert the
633         meaning, best priority is the lowest one.
634
635 2008-09-29  Dan Williams  <dcbw@redhat.com>
636
637         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
638         when it returns EAGAIN (rh #362421)
639
640         * src/nm-device-wifi.c
641                 - (wireless_get_range): try GIWRANGE a few times until the card responds
642                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
643
644 2008-09-28  Dan Williams  <dcbw@redhat.com>
645
646         * src/nm-serial-device.c
647           src/nm-serial-device.h
648                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
649                         cleaned at the right times when subclasses close the serial port too
650                 - (nm_serial_device_send_command): use a default send delay; don't
651                         spin forever on EAGAIN
652                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
653                         remove, no longer used
654                 - (find_response): return the matched response if any
655                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
656                         while doing so
657                 - (wait_for_reply_done): pass the matched response to the callback
658                 - (wait_for_reply_got_data): save the matched response; simplify timeout
659                         handling
660                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
661                         const since they never get modified
662                 - (cleanup_device): split out common cleanup stuff to a new function
663                 - (real_deactivate_quickly, finalize): use cleanup_device()
664
665         * src/nm-gsm-device.c
666                 - (modem_get_reply): remove, unused
667                 - (set_apn): give the card a bit more time to respond
668                 - (manual_registration_again, schedule_manual_registration_again,
669                    manual_registration_response, manual_registration): handle manual
670                         registration timeouts better by retrying registration a few times
671                         because cards are a bit slow after CFUN=1
672                 - (automatic_registration_get_network, get_network_response): use
673                         modem_wait_for_reply() because it interacts better with the serial
674                         buffer and does more intelligent matching; need to wait for 'OK'
675                         rather than just matching terminators
676                 - (schedule_automatic_registration_again,
677                    automatic_registration_response, automatic_registration): retry
678                         registration a few times on timeout or "searching" because cards
679                         take a bit to find a network after being powered up with CFUN=1
680                 - (power_up_response, power_up, init_full_done, enter_pin,
681                    check_pin_done): power up the card with CFUN=1 before trying to
682                         register with the network
683                 - (init_modem_full, init_modem): use more standard 3G init strings
684
685         * src/nm-hso-gsm-device.c
686                 - (modem_get_reply): remove, unused
687                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
688                         modem_wait_for_reply() to match actual responses instead of single
689                         termination characters; it doesn't leave stuff in the serial buffer
690                         that might confuse later calls
691                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
692                         to ensure that the call is really disconnected and not leave extra
693                         stuff in the serial buffer
694
695         * src/nm-cdma-device.c
696                 - (power_up_response, power_up, init_done): try Sierra-style modem
697                         power up before attempting to connect
698
699 2008-09-27  Dan Williams  <dcbw@redhat.com>
700
701         * libnm-util/nm-setting-gsm.c
702                 - (verify): verify GSM network ID
703
704 2008-09-25  Dan Williams  <dcbw@redhat.com>
705
706         * libnm-util/nm-setting-gsm.c
707           libnm-util/nm-setting-gsm.h
708                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
709                         technology terms (bgo #551361)
710
711 2008-09-25  Dan Williams  <dcbw@redhat.com>
712
713         Fix bgo #549401 (inspired by patch from Alexander Sack)
714
715         * src/nm-device-ethernet.c
716                 - (finish_supplicant_task): clean up scheduled tasks and free memory
717                 - (remove_supplicant_interface_error_handler): remove the supplicant
718                         error idle callback too
719                 - (supplicant_interface_release): rename from supplicant_interface_clean
720                         to match nm-device-wifi.c; clean up supplicant interface-related
721                         state tasks when the supplicant interface is disposed of
722                 - (schedule_state_handler): add scheduled tasks to a list so they can
723                         be cleaned up later
724                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
725                    supplicant_iface_connection_state_cb_handler): use
726                         finish_supplicant_task() to clean up each completed task
727                 - (supplicant_iface_connection_error_cb_handler,
728                    supplicant_connection_timeout_cb): clear source id when the task is
729                         complete
730                 - (supplicant_iface_connection_error_cb): save scheduled task id for
731                         later cleanup
732                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
733                         tasks
734
735         * src/nm-device-wifi.c
736                 - (finish_supplicant_task): clean up scheduled tasks and free memory
737                 - (remove_supplicant_interface_error_handler): remove the supplicant
738                         error idle callback too
739                 - (supplicant_interface_release): clean up supplicant interface-related
740                         state tasks when the supplicant interface is disposed of
741                 - (schedule_state_handler): add scheduled tasks to a list so they can
742                         be cleaned up later
743                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
744                    supplicant_iface_connection_state_cb_handler): use
745                         finish_supplicant_task() to clean up each completed task
746                 - (supplicant_iface_connection_error_cb_handler): clear source id when
747                         the task is complete
748                 - (supplicant_iface_connection_error_cb): save scheduled task id for
749                         later cleanup
750                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
751
752 2008-09-24  Tambet Ingo  <tambet@gmail.com>
753
754         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
755         method and get/set hostname property.
756
757 2008-09-24  Tambet Ingo  <tambet@gmail.com>
758
759         * src/supplicant-manager/nm-supplicant-interface.c
760         (nm_supplicant_interface_disconnect): Don't increment the reference 
761         count when disconnecting. The problem is on shutdown, when the replies
762         to these commands do not arrive before NM exits, resulting on never
763         calling supplicant interface's dispose(), which removes the interface
764         from supplicant.
765
766 2008-09-24  Tambet Ingo  <tambet@gmail.com>
767
768         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
769         all the public function arguments.
770
771 2008-09-22  Tambet Ingo  <tambet@gmail.com>
772
773         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
774         "Failure" signal from VPN plugins, store the failure reason, and
775         use it when the state is changed to failure.
776
777         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
778         description.
779
780         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
781         reason to the end of the list to not break the API.
782         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
783         so it can be shared by plugins and daemon.
784
785 2008-09-18  Dan Williams  <dcbw@redhat.com>
786
787         Patch from Alexander Sack <asac@ubuntu.com>
788
789         * configure.in
790           system-settings/plugins/Makefile.am
791           system-settings/plugins/ifupdown/Makefile.am
792           system-settings/plugins/ifupdown/interface_parser.c
793           system-settings/plugins/ifupdown/interface_parser.h
794           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
795           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
796           system-settings/plugins/ifupdown/parser.c
797           system-settings/plugins/ifupdown/parser.h
798           system-settings/plugins/ifupdown/plugin.c
799           system-settings/plugins/ifupdown/plugin.h
800                 - Implement a Debian/Ubuntu legacy network configuration plugin
801                         (gnome.org #551941)
802
803 2008-09-18  Dan Williams  <dcbw@redhat.com>
804
805         Implement support for honoring configured and automatic hostnames, and for
806         setting the configured hostname.
807
808         * introspection/nm-ip4-config.xml
809           src/nm-ip4-config.c
810           src/nm-ip4-config.h
811           src/dhcp-manager/nm-dhcp-manager.c
812                 - Remove useless hostname property; it's not really part of the IPv4
813                         config
814
815         * introspection/nm-settings-system.xml
816           libnm-glib/nm-dbus-settings-system.c
817           libnm-glib/nm-dbus-settings-system.h
818                 - Add SetHostname() call to system settings D-Bus interface
819                 - Add Hostname property to system settings D-Bus interface
820                 - (nm_dbus_settings_system_save_hostname,
821                    nm_dbus_settings_system_get_hostname): implement
822
823         * src/nm-device.c
824           src/nm-device.h
825                 - (nm_device_get_dhcp4_config): implement
826
827         * src/nm-manager.c
828           src/nm-manager.h
829                 - Fetch and track system settings service hostname changes, and proxy
830                         the changes via a GObject property of the manager
831
832         * system-settings/src/nm-system-config-interface.c
833           system-settings/src/nm-system-config-interface.h
834                 - Replace nm_system_config_interface_supports_add() with a capabilities
835                         bitfield
836
837         * system-settings/src/nm-system-config-error.c
838           system-settings/src/nm-system-config-error.h
839                 - Add additional errors
840
841         * system-settings/src/dbus-settings.c
842           system-settings/src/dbus-settings.h
843                 - (get_property, nm_sysconfig_settings_class_init): add hostname
844                         property; first plugin returning a hostname wins
845                 - (impl_settings_add_connection): use plugin capabilities instead of
846                         nm_system_config_interface_supports_add()
847                 - (impl_settings_save_hostname): implement hostname saving
848
849         * src/NetworkManagerPolicy.c
850                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
851                    lookup_thread_die): implement an asynchronous hostname lookup thread
852                         which given an IPv4 address tries to look up the hostname for that
853                         address with reverse DNS
854                 - (get_best_device): split out best device code from
855                         update_routing_and_dns()
856                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
857                         to preserve the 127.0.0.1 reverse mapping that so many things require
858                 - (set_system_hostname): set a given hostname
859                 - (update_system_hostname): implement hostname policy; a configured
860                         hostname (from the system settings service) is used if available,
861                         otherwise an automatically determined hostname from DHCP, VPN, etc.
862                         If there was no automatically determined hostname, reverse DNS of
863                         the best device's IP address will be used, and as a last resort the
864                         hostname 'localhost.localdomain' is set.
865                 - (update_routing_and_dns): use get_best_device(); update the system
866                         hostname when the network config changes
867                 - (hostname_changed): update system hostname if the system settings
868                         service signals a hostname change
869                 - (nm_policy_new): list for system settings service hostname changes
870                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
871                         gets told to die
872
873         * system-settings/plugins/keyfile/plugin.c
874           system-settings/plugins/ifcfg-suse/plugin.c
875                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
876                         capabilities properties
877
878         * system-settings/plugins/ifcfg-fedora/shvar.c
879                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
880                         writes out /etc/sysconfig/network now
881
882         * system-settings/plugins/ifcfg-fedora/plugin.c
883                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
884                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
885                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
886                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
887                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
888                         hostname get/set and capabilities get
889
890 2008-09-18  Dan Williams  <dcbw@redhat.com>
891
892         * libnm-util/nm-setting-wireless.c
893                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
894                         group ciphers if the wireless-security setting explicitly specified
895                         them, effectively making the default be "all ciphers"  (idea from
896                         Alexander Sack)
897
898 2008-09-15  Dan Williams  <dcbw@redhat.com>
899
900         Patch from Alexander Sack <asac@ubuntu.com>
901
902         * src/named-manager/nm-named-manager.c
903                 - (dispatch_resolvconf): respect resolvconf exit code
904
905 2008-09-12  Tambet Ingo  <tambet@gmail.com>
906
907         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
908         again. Add some debugging.
909
910 2008-09-11  Dan Williams  <dcbw@redhat.com>
911
912         * system-settings/plugins/keyfile/plugin.c
913                 - (update_connection_settings): update connection manually, since
914                         nm_exported_connection_update() does authentication
915                 - (dir_changed): update_connection_settings() doesn't need to return
916                         an error
917
918 2008-09-09  Dan Williams  <dcbw@redhat.com>
919
920         * libnm-glib/nm-vpn-plugin-ui-interface.c
921           libnm-glib/nm-vpn-plugin-ui-interface.h
922           libnm-glib/libnm_glib_vpn.ver
923                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
924                         should clean up resources related to the connection (like keyring
925                         secrets)
926                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
927                         should save user-scope secrets (like to the keyring)
928
929 2008-09-08  Dan Williams  <dcbw@redhat.com>
930
931         Patch from Alexander Sack <asac@ubuntu.com>
932
933         * libnm-util/crypto_gnutls.c
934           libnm-util/crypto_nss.c
935                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
936
937         * libnm-util/nm-utils.c
938           libnm-util/nm-utils.h
939           libnm-util/libnm-util.ver
940                 - (nm_utils_init): initialize libnm-util
941                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
942
943         * libnm-util/nm-setting-8021x.c
944                 - (nm_setting_802_1x_class_init): init libnm-util when needed
945
946 2008-09-05  Dan Williams  <dcbw@redhat.com>
947
948         Patch from Roy Marples <roy@marples.name> and others
949
950         * configure.in
951           src/named-manager/nm-named-manager.c
952                 - Add support for resolvconf; use --with-resolvconf at configure time
953                         to enable it
954
955 2008-09-05  Dan Williams  <dcbw@redhat.com>
956
957         * libnm-util/crypto_nss.c
958           libnm-util/crypto_gnutls.c
959           libnm-util/crypto.h
960                 - (crypto_init): return error when init fails
961
962 2008-09-05  Dan Williams  <dcbw@redhat.com>
963
964         * libnm-glib/nm-device-wifi.c
965                 - (access_point_removed_proxy): clean up the active access point too
966                         just in case the active ap changed signal didn't come through yet
967                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
968
969 2008-09-05  Dan Williams  <dcbw@redhat.com>
970
971         * libnm-glib/nm-client.c
972                 - (constructor): get initial state after we know whether NM is running
973                         or not
974
975 2008-09-05  Dan Williams  <dcbw@redhat.com>
976
977         * libnm-glib/nm-ip4-config.c
978           libnm-glib/nm-dhcp4-config.c
979                 - (finalize): clean up the DBusGProxy
980
981 2008-09-04  Dan Williams  <dcbw@redhat.com>
982
983         * src/nm-ip4-config.c
984           src/nm-ip4-config.h
985                 - (nm_ip4_config_new): don't export over D-Bus here
986                 - (nm_ip4_config_export): new function; export the config over D-Bus
987                 - (nm_ip4_config_is_exported): new function
988
989         * src/nm-device.c
990                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
991                         objects by balancing the IP4Config constructor; the device holds
992                         a reference to the IP4Config already
993                 - (nm_device_set_ip4_config): export the IP4Config when needed
994
995 2008-09-04  Dan Williams  <dcbw@redhat.com>
996
997         * src/supplicant-manager/nm-supplicant-settings-verify.c
998                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
999
1000 2008-09-04  Dan Williams  <dcbw@redhat.com>
1001
1002         * libnm-util/nm-setting-vpn.c
1003           libnm-util/nm-setting-vpn.h
1004                 - Split VPN secrets from VPN data so that settings services can actually
1005                         figure out that they are secrets and store them accordingly
1006
1007         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1008           system-settings/plugins/keyfile/reader.c
1009           system-settings/plugins/keyfile/reader.h
1010           system-settings/plugins/keyfile/writer.c
1011                 - Store VPN secrets separately from VPN data so that they can be fetched
1012                         on demand
1013                 - Implement the get_secrets() call so that (a) secrets don't leak out
1014                         to unprivileged callers, and (b) secrets can be sent to privileged
1015                         callers when needed
1016
1017         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1018                 - Handle split VPN secrets
1019
1020 2008-08-27  Dan Williams  <dcbw@redhat.com>
1021
1022         * system-settings/plugins/ifcfg-fedora/reader.c
1023                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1024
1025 2008-08-27  Dan Williams  <dcbw@redhat.com>
1026
1027         Ensure zombie children get cleaned up.  To get notifications when children
1028         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1029         that requires calling waitpid() yourself if you've removed the child watch
1030         handler before the process has actually died, which NM needs to do in a few
1031         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1032         cleans up after the child when required.  Should fix problems trying to
1033         activate mobile broadband connections after a previous failure.
1034
1035         * src/dhcp-manager/nm-dhcp-dhclient.c
1036           src/dhcp-manager/nm-dhcp-dhcpcd.c
1037                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1038
1039         * src/dhcp-manager/nm-dhcp-manager.c
1040                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1041                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1042                         block on child quitting, since the non-blocking functionality was
1043                         never actually used
1044
1045         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1046                 - (dm_watch_cb): child is already reaped here
1047                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1048
1049         * src/nm-device.c
1050                 - (aipd_cleanup): block until child is dead
1051
1052         * src/named-manager/nm-named-manager.c
1053                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1054                         event bothering to watch the child
1055
1056         * src/ppp-manager/nm-ppp-manager.c
1057                 - (ppp_watch_cb): child is already reaped here
1058                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1059
1060         * src/vpn-manager/nm-vpn-service.c
1061                 - (vpn_service_watch_cb): child is already reaped here
1062                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1063                         status of the child is actually tracked
1064                 - (ensure_killed, finalize): block until child is dead
1065
1066 2008-08-26  Dan Williams  <dcbw@redhat.com>
1067
1068         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1069                 - (update): Update filename of the connection if the connection id
1070                         was changed
1071
1072         * system-settings/plugins/keyfile/plugin.c
1073                 - (dir_changed): first pass at handling connection renames correctly
1074
1075         * system-settings/plugins/keyfile/writer.c
1076           system-settings/plugins/keyfile/writer.h
1077                 - (write_connection): replace '/' with '*' when writing out the filename
1078                         from the connection id
1079
1080 2008-08-26  Dan Williams  <dcbw@redhat.com>
1081
1082         Add connection UUIDs, since connection names can be changed, and since
1083         old-style connection IDs could change over the life of the connection.  The
1084         UUID should be assigned at connection creation time, be stable for a given
1085         connection, and should be unique among all connections for a given settings
1086         service.
1087
1088         * configure.in
1089           libnm-util/Makefile.am
1090                 - Require libuuid
1091
1092         * introspection/nm-exported-connection.xml
1093                 - Remove "GetID" method
1094
1095         * libnm-glib/nm-dbus-connection.c
1096           libnm-glib/nm-settings.c
1097           libnm-glib/nm-settings.h
1098                 - Remove id-related stuff
1099
1100         * libnm-util/nm-utils.c
1101           libnm-util/nm-utils.h
1102           libnm-util/libnm-util.ver
1103                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1104                         utility functions to generate UUIDs
1105
1106         * libnm-util/nm-setting-connection.c
1107           libnm-util/nm-setting-connection.h
1108                 - Add 'uuid' member to the connection setting
1109                 - (verify): require valid 'uuid' for a valid connection
1110
1111         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1112           system-settings/plugins/ifcfg-fedora/reader.c
1113           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1114           system-settings/plugins/ifcfg-suse/parser.c
1115           system-settings/plugins/keyfile/nm-keyfile-connection.c
1116           system-settings/src/main.c
1117                 - Remove id-related stuff
1118                 - Give connections UUIDs where needed
1119
1120 2008-08-25  Dan Williams  <dcbw@redhat.com>
1121
1122         * libnm-util/crypto_gnutls.c
1123           libnm-util/crypto_nss.c
1124                 - (crypto_init, crypto_deinit): refcount init/deinit
1125                 - (crypto_md5_hash): allow NULL salt
1126
1127 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1128
1129         * libnm-glib/Makefile.am
1130           libnm-util/Makefile.am
1131           libnm-glib/libnm_glib.ver
1132           libnm-glib/libnm_glib_vpn.ver
1133           libnm-util/libnm-util.ver
1134                 - Use linker version scripts to control the list of exported 
1135                 symbols. List each exported symbol explicitely.
1136         * libnm-util/Makefile.am
1137                 - Fix compilation of the test-crypto binary. The crypto
1138                 functions are no longer part of the libnm-util API. Add 
1139                 crypto_*.c to test_crypto_SOURCES and link against the correct
1140                 crypto libraries.
1141
1142 2008-08-19  Dan Williams  <dcbw@redhat.com>
1143
1144         * configure.in
1145           test/Makefile.am
1146                 - Don't build test/test-common
1147                 - Remove unused stuff
1148
1149         * test/nm-set-fallback
1150           test/nmtestdevices.c
1151           test/test-common/.cvsignore
1152           test/test-common/Makefile.am
1153           test/test-common/test-common.c
1154           test/test-common/test-common.h
1155                 - delete
1156
1157 2008-08-18  Dan Williams  <dcbw@redhat.com>
1158
1159         * libnm-util/nm-utils.c
1160           libnm-util/nm-utils.h
1161                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1162                         export anything that needs to be converted with this function
1163
1164         * src/dhcp-manager/nm-dhcp-manager.c
1165                 - (garray_to_string): convert a byte array to a UTF-8 string with
1166                         minimal validation; the DHCP client sends it in ASCII anyway
1167                 - (get_option, copy_option): use garray_to_string()
1168
1169 2008-08-18  Dan Williams  <dcbw@redhat.com>
1170
1171         * include/NetworkManager.h
1172           introspection/nm-device.xml
1173                 - Add a "missing firmware" device state reason
1174
1175         * src/NetworkManagerSystem.c
1176           src/NetworkManagerSystem.h
1177                 - (nm_system_device_set_up_down): add a no_firmware argument
1178                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1179                         IFF_UP is ENOENT, that almost always means missing firmware
1180
1181         * src/backends/NetworkManagerGeneric.c
1182           src/nm-device-ethernet.c
1183           src/nm-device-private.h
1184           src/nm-device-wifi.c
1185           src/nm-device.c
1186           src/nm-device.h
1187           src/nm-hso-gsm-device.c
1188           src/vpn-manager/nm-vpn-connection.c
1189                 - Pass no_firmware along; check it where appropriate
1190
1191 2008-08-18  Dan Williams  <dcbw@redhat.com>
1192
1193         Patch from Robert Buchholz <rbu@gentoo.org>
1194
1195         * autogen.sh
1196           configure.in
1197                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1198                         1003.1-1988, allowing for file names longer than 99 characters
1199
1200 2008-08-17  Dan Williams  <dcbw@redhat.com>
1201
1202         * include/NetworkManager.h
1203           introspection/nm-device.xml
1204           src/nm-gsm-device.c
1205                 - Finer-grained GSM registration failure error codes
1206
1207 2008-08-17  Dan Williams  <dcbw@redhat.com>
1208
1209         * callouts/Makefile.am
1210           src/Makefile.am
1211                 - Move dispatcher directory creation to callouts/Makefile.am
1212
1213         * system-settings/plugins/keyfile/Makefile.am
1214                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1215
1216 2008-08-15  Dan Williams  <dcbw@redhat.com>
1217
1218         Do connection sharing in a cleaner manner; all required iptables rules
1219         are now stored in the activation request and pertain only to the device
1220         which is being shared to other computers. (rh #458625)
1221
1222         * src/nm-activation-request.c
1223           src/nm-activation-request.h
1224                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1225                         the activation request which will get torn down automatically when
1226                         the activation request dies
1227                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1228                         is started, and tear them down when sharing is stopped
1229
1230         * src/nm-device.c
1231                 - (start_sharing): start up sharing by doing the required iptables magic
1232                 - (share_init): poke the right bits of the kernel and load the right
1233                         modules for NAT
1234                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1235                         connection if it's a 'shared' connection
1236
1237         * src/NetworkManagerPolicy.c
1238                 - Remove all sharing stuff; done in the device code itself
1239
1240 2008-08-15  Dan Williams  <dcbw@redhat.com>
1241
1242         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1243                 - (create_dm_cmd_line): send the right router address
1244
1245 2008-08-15  Dan Williams  <dcbw@redhat.com>
1246
1247         * src/ppp-manager/nm-ppp-manager.c
1248                 - (pppd_timed_out): ensure timeouts fail the connection
1249
1250 2008-08-14  Dan Williams  <dcbw@redhat.com>
1251
1252         * src/nm-properties-changed-signal.c
1253           src/nm-properties-changed-signal.h
1254                 - Add a property spec flag for "don't export this property" in
1255                         property changed signals
1256
1257         * src/nm-hso-gsm-device.c
1258           src/nm-gsm-device.c
1259           src/nm-cdma-device.c
1260                 - Don't export monitor interface or netdev interface properties
1261
1262 2008-08-14  Dan Williams  <dcbw@redhat.com>
1263
1264         * src/NetworkManagerPolicy.c
1265                 - (update_routing_and_dns): 'hso' devices can be default even if they
1266                         don't have a gateway
1267
1268 2008-08-14  Dan Williams  <dcbw@redhat.com>
1269
1270         * src/nm-device.c
1271                 - (nm_device_deactivate_quickly): tear down activation request after
1272                         calling device-specific deactivation
1273
1274         * src/nm-hso-gsm-device.c
1275                 - (real_deactivate_quickly): terminate connection when deactivating
1276
1277 2008-08-14  Dan Williams  <dcbw@redhat.com>
1278
1279         * src/nm-activation-request.h
1280                 - Add HSO secrets caller
1281
1282         * src/nm-gsm-device.c
1283           src/nm-gsm-device.h
1284                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1285                         something to the callback function
1286                 - (set_apn, set_apn_done): call class dial function, not a static one
1287                 - (nm_gsm_device_class_init): add a class 'dial' function
1288
1289         * src/nm-hal-manager.c
1290                 - (get_hso_netdev): find the hso-driven hardware's net device
1291                 - (modem_device_creator): recognize hso-driven hardware and create the
1292                         right type of device object for it
1293
1294         * src/Makefile.am
1295           src/nm-hso-gsm-device.c
1296           src/nm-hso-gsm-device.h
1297                 - Implement support for devices driven by the 'hso' driver as a subclass
1298                         of NMGsmDevice
1299
1300 2008-08-14  Dan Williams  <dcbw@redhat.com>
1301
1302         * src/NetworkManagerSystem.c
1303                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1304                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1305                         success if the operation really was successful
1306
1307 2008-08-14  Dan Williams  <dcbw@redhat.com>
1308
1309         * src/nm-netlink-monitor.c
1310           src/nm-netlink-monitor.h
1311           src/nm-device-ethernet.c
1312                 - (nm_netlink_monitor_request_status): return an error on failure
1313                 - (constructor): don't segfault on missing error
1314
1315 2008-08-13  Dan Williams  <dcbw@redhat.com>
1316
1317         * callouts/nm-dispatcher-action.c
1318                 - Add IP4 config info to script environment
1319
1320 2008-08-12  Dan Williams  <dcbw@redhat.com>
1321
1322         * src/nm-device.c
1323                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1324                         that want to use DHCP hostnames should use dispatcher scripts
1325                         for that
1326
1327         * src/NetworkManagerSystem.h
1328           src/backends/NetworkManagerArch.c
1329           src/backends/NetworkManagerDebian.c
1330           src/backends/NetworkManagerFrugalware.c
1331           src/backends/NetworkManagerGeneric.c
1332           src/backends/NetworkManagerGeneric.h
1333           src/backends/NetworkManagerGentoo.c
1334           src/backends/NetworkManagerMandriva.c
1335           src/backends/NetworkManagerPaldo.c
1336           src/backends/NetworkManagerRedHat.c
1337           src/backends/NetworkManagerSlackware.c
1338           src/backends/NetworkManagerSuSE.c
1339                 - Remove nm_system_set_hostname(), no longer used
1340           
1341         * src/backends/Makefile.am
1342           src/backends/shvar.c
1343           src/backends/shvar.h
1344                 - Remove shvar.*; no longer used
1345
1346 2008-08-12  Dan Williams  <dcbw@redhat.com>
1347
1348         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1349         hostname is updated at runtime.  Distros or users who want hostname updates
1350         can use dispatcher scripts to update the hostname if they need it.
1351
1352 2008-08-12  Dan Williams  <dcbw@redhat.com>
1353
1354         * introspection/nm-settings-system.xml
1355           system-settings/src/dbus-settings.c
1356           system-settings/src/dbus-settings.h
1357                 - Add a 'Hostname' property (rw) which represents the configured
1358                         hostname and domain of the system, if any
1359
1360         * system-settings/src/nm-system-config-error.c
1361           system-settings/src/nm-system-config-error.h
1362           system-settings/src/nm-system-config-interface.c
1363           system-settings/src/nm-system-config-interface.h
1364                 - Add a 'hostname' property to the plugin interface
1365                 - Add a method to send updated hostname to plugins to save in their
1366                         backing configuration store
1367
1368         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1369           system-settings/plugins/keyfile/plugin.c
1370           system-settings/plugins/keyfile/writer.c
1371           system-settings/plugins/keyfile/writer.h
1372           system-settings/plugins/ifcfg-suse/plugin.c
1373                 - Add minimal hostname support
1374
1375         * system-settings/plugins/ifcfg-fedora/plugin.c
1376                 - Add support for updating system hostname in /etc/sysconfig/network
1377
1378 2008-08-12  Dan Williams  <dcbw@redhat.com>
1379
1380         * system-settings/plugins/ifcfg-fedora/shvar.c
1381           system-settings/plugins/ifcfg-fedora/shvar.c
1382                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1383
1384 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1385
1386         * Makefile.am: Fix distcheck.
1387
1388 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1389
1390         * libnm-glib/*.c. Document some more.
1391
1392 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1393
1394         Start documenting libnm-glib public API using gtk-doc.
1395
1396         * libnm-glib/nm-serial-device.c: 
1397         * libnm-glib/nm-object.c: 
1398         * libnm-glib/nm-gsm-device.c: 
1399         * libnm-glib/nm-device.c: 
1400         * libnm-glib/nm-device-wifi.c: 
1401         * libnm-glib/nm-device-ethernet.c: 
1402         * libnm-glib/nm-client.c: 
1403         * libnm-glib/nm-cdma-device.c: Document the public API.
1404
1405         * docs/libnm-glib/libnm-glib.types: Implement.
1406
1407         * docs/libnm-glib/Makefile.am: Implement.
1408
1409         * autogen.sh: 
1410         * configure.in: 
1411         * Makefile.am: Add gtk-doc support.
1412
1413 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1414
1415         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1416
1417         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1418         the composite result of all the IP4 configurations and call a distro
1419         specific update_resolv_conf().
1420         (update_resolv_conf): Implement one for directly writing to 
1421         /etc/resolv.conf and one for opensuse to call netconfig.
1422
1423 2008-08-11  Dan Williams  <dcbw@redhat.com>
1424
1425         * src/ppp-manager/nm-ppp-manager.c
1426                 - (impl_ppp_manager_need_secrets): pass interface as required
1427
1428 2008-08-11  Dan Williams  <dcbw@redhat.com>
1429
1430         Merge the vpn-properties setting with the vpn setting since it was pointless
1431         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1432         of string:string (instead of string:variant) so that system settings plugins
1433         can have an easier time dealing with the arbitrary key/value pairs.
1434
1435 2008-08-11  Dan Williams  <dcbw@redhat.com>
1436
1437         * libnm-util/nm-utils.c
1438                 - (nm_utils_register_value_transformations): add value transform for
1439                         a hash table of string:string
1440
1441 2008-08-10  Dan Williams  <dcbw@redhat.com>
1442
1443         * libnm-glib/nm-vpn-plugin.c
1444                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1445                         an idle handler so the Connect reply gets delivered before the
1446                         stop StateChanged signal
1447
1448 2008-08-10  Dan Williams  <dcbw@redhat.com>
1449
1450         * src/nm-ip4-config.c
1451                 - (get_property): use common ip4 address/route conversion functions
1452                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1453                         copy the new route here, not take ownership
1454
1455 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1456
1457         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1458         Update the IP4 setting's method name.
1459
1460 2008-08-07  Dan Williams  <dcbw@redhat.com>
1461
1462         * introspection/nm-ip4-config.xml
1463           libnm-glib/libnm-glib-test.c
1464           libnm-glib/nm-ip4-config.c
1465           libnm-glib/nm-ip4-config.h
1466           src/NetworkManagerSystem.h
1467           src/backends/NetworkManagerArch.c
1468           src/backends/NetworkManagerDebian.c
1469           src/backends/NetworkManagerFrugalware.c
1470           src/backends/NetworkManagerGeneric.c
1471           src/backends/NetworkManagerGeneric.h
1472           src/backends/NetworkManagerGentoo.c
1473           src/backends/NetworkManagerMandriva.c
1474           src/backends/NetworkManagerPaldo.c
1475           src/backends/NetworkManagerRedHat.c
1476           src/backends/NetworkManagerSlackware.c
1477           src/backends/NetworkManagerSuSE.c
1478           src/dhcp-manager/nm-dhcp-manager.c
1479           src/nm-device.c
1480           src/nm-ip4-config.c
1481           src/nm-ip4-config.h
1482                 - Remove NIS logic; should be done from dispatcher scripts instead
1483
1484 2008-08-07  Dan Williams  <dcbw@redhat.com>
1485
1486         * src/dhcp-manager/nm-dhcp-manager.c
1487                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1488                         mis-handling of DHCP responses that returned more than one router
1489                         (found by Grant Williamson)
1490
1491 2008-08-07  Dan Williams  <dcbw@redhat.com>
1492
1493         * callouts/nm-dispatcher-action.c
1494                 - (nm_dispatcher_action): grab device path and create the device; pass
1495                         the device's DHCP4 config to script caller
1496                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1497                         scripts
1498
1499         * libnm-glib/nm-dhcp4-config.c
1500           libnm-glib/nm-dhcp4-config.h
1501                 - (nm_dhcp4_config_get_options): expose
1502                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1503
1504 2008-08-07  Dan Williams  <dcbw@redhat.com>
1505
1506         * include/NetworkManager.h
1507                 - Add the DHCP4Config D-Bus interface
1508
1509         * libnm-glib/Makefile.am
1510           libnm-glib/nm-dhcp4-config.c
1511           libnm-glib/nm-dhcp4-config.h
1512                 - Handle DHCP4 config objects exported by NM over D-Bus
1513
1514         * libnm-glib/nm-device.c
1515           libnm-glib/nm-device.h
1516                 - Add a 'dhcp4-config' property
1517
1518         * libnm-glib/libnm-glib-test.c
1519                 - Print out DHCP4 config for devices
1520                 - Fix some crashes when no connections are active
1521
1522         * src/nm-device-interface.c
1523           src/nm-device.c
1524           src/nm-dhcp4-config.c
1525           src/nm-dhcp4-config.h
1526                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1527                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1528                         doesn't let us do when the property type is G_TYPE_OBJECT
1529
1530 2008-08-07  Dan Williams  <dcbw@redhat.com>
1531
1532         * src/NetworkManager.c
1533           src/NetworkManagerSystem.h
1534           src/backends/NetworkManagerArch.c
1535           src/backends/NetworkManagerDebian.c
1536           src/backends/NetworkManagerFrugalware.c
1537           src/backends/NetworkManagerGeneric.c
1538           src/backends/NetworkManagerGeneric.h
1539           src/backends/NetworkManagerGentoo.c
1540           src/backends/NetworkManagerMandriva.c
1541           src/backends/NetworkManagerPaldo.c
1542           src/backends/NetworkManagerRedHat.c
1543           src/backends/NetworkManagerSlackware.c
1544           src/backends/NetworkManagerSuSE.c
1545                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1546
1547 2008-08-06  Dan Williams  <dcbw@redhat.com>
1548
1549         * libnm-glib/nm-ip4-config.c
1550           libnm-glib/nm-ip4-config.h
1551                 - Add 'routes' property
1552
1553         * libnm-util/nm-setting-vpn.c
1554           libnm-util/nm-setting-vpn.h
1555                 - Remove 'routes' property
1556
1557         * libnm-util/nm-setting-ip4-config.c
1558           libnm-util/nm-setting-ip4-config.h
1559                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1560                 - Add 'ignore-auto-routes' property
1561                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1562                         accomodate route metrics
1563                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1564
1565         * libnm-util/nm-utils.c
1566           libnm-util/nm-utils.h
1567                 - Add helpers for marshalling IP4 routes
1568
1569         * src/NetworkManagerUtils.c
1570                 - (nm_utils_merge_ip4_config): handle property renames and new route
1571                         structure
1572
1573         * src/NetworkManagerSystem.c
1574                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1575                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1576
1577         * src/dhcp-manager/nm-dhcp-manager.c
1578                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1579
1580         * system-settings/plugins/ifcfg-fedora/reader.c
1581           system-settings/plugins/ifcfg-fedora/writer.c
1582                 - Handle routes separately from addresses now that routes have a different
1583                         format
1584
1585         * introspection/nm-ip4-config.xml
1586           src/nm-ip4-config.c
1587           src/nm-ip4-config.h
1588                 - Rename internal routing functions
1589                 - 'static-routes' renamed to 'routes'
1590
1591 2008-08-04  Dan Williams  <dcbw@redhat.com>
1592
1593         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1594
1595         * src/NetworkManager.c
1596           src/nm-manager.c
1597           src/nm-manager.h
1598                 - More explicitly make the NMManager a singleton
1599
1600 2008-08-04  Dan Williams  <dcbw@redhat.com>
1601
1602         * libnm-util/nm-connection.c
1603           libnm-util/nm-connection.h
1604                 - (nm_connection_verify): return error on missing 'connection' setting
1605                         (found by Sjoerd Simons)
1606
1607 2008-08-04  Dan Williams  <dcbw@redhat.com>
1608
1609         Handle multiple concurrent PPP connections.
1610
1611         * src/ppp-manager/nm-ppp-manager.c
1612           src/ppp-manager/nm-ppp-manager.h
1613                 - (constructor): only PPP Manager request bus name once; each
1614                         NMPPPManager object gets a unique object path
1615                 - (nm_ppp_manager_class_init, get_property, set_property,
1616                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1617                         at construct time
1618                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1619                         remove timeout until PPP manager gets an IP4 config
1620                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1621                         the plugin can call back to this specific PPP manager instance
1622
1623         * src/nm-device-ethernet.c
1624           src/nm-serial-device.c
1625                 - Pass parent device in nm_ppp_manager_new()
1626
1627         * src/nm-gsm-device.c
1628           src/nm-cdma-device.c
1629                 - (device_state_changed): don't close serial device on NEED_AUTH
1630                         state changed, that's not a failure case like the rest are
1631
1632         * src/ppp-manager/nm-pppd-plugin.c
1633                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1634                         binds one interface to any pppd process, thus the correct index
1635                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1636                         problems; try harder to get a peer address in spite of pppd
1637                 - (plugin_init): use 'ipparam' as the object path back to our specific
1638                         PPP manager instance
1639
1640 2008-08-04  Dan Williams  <dcbw@redhat.com>
1641
1642         * src/ppp-manager/nm-ppp-manager.c
1643                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1644                         since the GSM and CDMA settings now implement need_secrets, we can
1645                         rely on them to do the right thing.  Where secrets are not required,
1646                         just pass empty strings back to the pppd plugin.
1647                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1648                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1649                         on successful IP4 config receipt
1650
1651 2008-08-04  Dan Williams  <dcbw@redhat.com>
1652
1653         * libnm-util/nm-setting-cdma.c
1654           libnm-util/nm-setting-gsm.c
1655                 - (verify): validate username & password if they exist
1656                 - (need_secrets): if username given, require a password too
1657
1658 2008-08-04  Dan Williams  <dcbw@redhat.com>
1659
1660         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1661                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1662                         manpage says about --listen-address without --interface
1663                         (bgo #546033)
1664
1665 2008-08-01  Dan Williams  <dcbw@redhat.com>
1666
1667         * libnm-glib/nm-device.c
1668                 - (proxy_get_string): util function for querying a HAL property
1669                 - (get_ancestor_device): split out from get_product_and_vendor()
1670                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1671                         from PCI devices by querying subsys properties
1672                 - (nm_device_update_description): simplify
1673
1674 2008-08-01  Dan Williams  <dcbw@redhat.com>
1675
1676         * libnm-util/nm-setting-ip4-config.c
1677           libnm-util/nm-setting-ip4-config.h
1678                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1679                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1680                         settings, and they don't necessarily use DHCP.
1681
1682         * src/NetworkManagerPolicy.c
1683           src/nm-device.c
1684           system-settings/plugins/ifcfg-fedora/reader.c
1685           system-settings/plugins/ifcfg-suse/parser.c
1686                 - Fixup for method changes
1687
1688 2008-07-31  Dan Williams  <dcbw@redhat.com>
1689
1690         * src/nm-activation-request.c
1691           src/vpn-manager/nm-vpn-connection.c
1692                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1693                         itself should be attached to the activation request or the VPN
1694                         connection, not the NMConnection object, since the call is not
1695                         expected to live as long as the NMConnection itself
1696
1697 2008-07-31  Dan Williams  <dcbw@redhat.com>
1698
1699         * src/nm-device-wifi.c
1700                 - (real_act_stage2_config): fix issue where association would continue
1701                         even though secrets were needed; 'goto out' was in wrong scope and
1702                         result of handle_auth_or_fail() should have been dumped directly to
1703                         'ret' to ensure that the association was postponed until secrets
1704                         are available
1705
1706 2008-07-31  Dan Williams  <dcbw@redhat.com>
1707
1708         * system-settings/plugins/ifcfg-fedora/plugin.c
1709           system-settings/plugins/ifcfg-fedora/reader.c
1710                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1711                         valid NM connection
1712
1713 2008-07-29  Dan Williams  <dcbw@redhat.com>
1714
1715         * src/nm-gsm-device.c
1716                 - (automatic_registration_response, automatic_registration): recognize
1717                         denied registration and reorder responses
1718
1719 2008-07-29  Dan Williams  <dcbw@redhat.com>
1720
1721         * src/nm-serial-device.c
1722                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1723                         time(2) is used for current time, which returns seconds, we shouldn't
1724                         be multiplying by 1000.
1725
1726 2008-07-28  Dan Williams  <dcbw@redhat.com>
1727
1728         Patch from Fabrice Bellet <fabrice@bellet.info>
1729
1730         * src/NetworkManagerSystem.c
1731                 - (route_in_same_subnet): mask addresses and compare them so that the
1732                         function actually does what it says it's going to do (rh #456685)
1733
1734 2008-07-27  Dan Williams  <dcbw@redhat.com>
1735
1736         * libnm-util/nm-setting-ip6-config.c
1737                 - (set_property): add missing break that caused routes to be overwritten
1738                         with addresses
1739
1740         * libnm-util/nm-setting-ip6-config.c
1741                 - (verify): validate routes and return GError everywhere on invalid setting
1742                 - (finalize): don't leak routes
1743                 - (set_property): add missing break that caused routes to be overwritten
1744                         with addresses
1745
1746 2008-07-27  Dan Williams  <dcbw@redhat.com>
1747
1748         * libnm-util/*
1749                 - Relicense to LGPLv2+
1750
1751 2008-07-27  Dan Williams  <dcbw@redhat.com>
1752
1753         * system-settings/plugins/ifcfg-fedora/reader.c
1754                 - (make_ip4_setting): fix parsing automatic configs
1755
1756 2008-07-27  Dan Williams  <dcbw@redhat.com>
1757
1758         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1759           src/nm-device.c
1760           src/ppp-manager/nm-ppp-manager.c
1761                 - Ensure child process gets reaped.  The child watch function may be
1762                         removed from the mainloop before the child gets killed, so we have
1763                         to make sure the child is reaped when it's told to die intentionally
1764
1765 2008-07-27  Dan Williams  <dcbw@redhat.com>
1766
1767         Patch from Roy Marples <roy@marples.name>
1768
1769         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1770                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1771
1772 2008-07-27  Dan Williams  <dcbw@redhat.com>
1773
1774         * src/nm-gsm-device.c
1775                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1776                         Huawei devices turn echo back on after CPIN (rh #456770)
1777
1778 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1779
1780         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1781         format argument to g_set_error() call.
1782
1783         * src/backends/interface_parser.[ch]: Remove.
1784
1785         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1786
1787 2008-07-21  Dan Williams  <dcbw@redhat.com>
1788
1789         * src/ppp-manager/nm-ppp-manager.c
1790                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1791                         to prevent pppd from picking up some random local address from an
1792                         interface that doesn't have anything to do with the one we're
1793                         interested in (rh #455348)
1794
1795 2008-07-17  Dan Williams  <dcbw@redhat.com>
1796
1797         * libnm-util/nm-utils.c
1798                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1799                         by locale
1800                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1801                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1802
1803 2008-07-17  Dan Williams  <dcbw@redhat.com>
1804
1805         * introspection/Makefile.am
1806           introspection/nm-device.xml
1807           introspection/nm-dhcp4-config.xml
1808                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1809                         itself
1810         * src/nm-device-interface.c
1811           src/nm-device-interface.h
1812                 - Add the DHCP4Config property
1813
1814         * src/nm-device.c
1815                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1816                         D-Bus clients when it changes
1817
1818         * src/nm-dhcp4-config.c
1819           src/nm-dhcp4-config.h
1820                 - Simple object to store DHCP4 options, export them over D-Bus, and
1821                         notify when they change
1822
1823         * src/dhcp-manager/nm-dhcp-manager.c
1824           src/dhcp-manager/nm-dhcp-manager.h
1825                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1826                         filter server-returned DHCP options into an NMDHCP4Config object
1827
1828 2008-07-16  Dan Williams  <dcbw@redhat.com>
1829
1830         * introspection/nm-device.xml
1831                 - Add device state reasons
1832
1833 2008-07-16  Dan Williams  <dcbw@redhat.com>
1834
1835         Patch from Roy Marples <roy@marples.name>
1836
1837         * configure.in
1838                 - Add --with-dhcp-client option
1839
1840         * src/dhcp-manager/Makefile.am
1841                 - pass DHCP_CLIENT_PATH on compile line
1842
1843         * src/dhcp-manager/nm-dhcp-manager.c
1844           src/dhcp-manager/nm-dhcp-manager.h
1845                 - Genericize for both dhcpcd and dhclient
1846
1847         * src/dhcp-manager/nm-dhcp-dhclient.c
1848                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1849
1850         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1851                 - Implement support for dhcpcd too
1852
1853 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1854
1855         * system-settings/src/nm-system-config-interface.c 
1856         (nm_system_config_interface_supports_add): Implement.
1857         (nm_system_config_interface_add_connection): Return a boolean to notify
1858         of errors.
1859
1860         * system-settings/src/nm-polkit-helpers.c: 
1861         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1862         a separate file.
1863
1864         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1865         Return an error when none of the plugins support add or if addition
1866         failed for some reason.
1867
1868         * system-settings/src/nm-system-config-error.h: 
1869         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1870         here from nm-polkit-helpers.[ch].
1871
1872         * system-settings/src/Makefile.am: Build new files.
1873
1874         * system-settings/plugins/keyfile/reader.c 
1875         (read_array_of_array_of_uint): Make it more general so that it would
1876         work for routes as well.
1877
1878         * system-settings/plugins/keyfile/writer.c
1879         (write_array_of_array_of_uint): Ditto.
1880         Fix the netmask/prefix writing.
1881
1882         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1883         boolean to notify errors.
1884
1885         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1886         Return more specific error.
1887         (delete): Ditto.
1888
1889 2008-07-11  Dan Williams  <dcbw@redhat.com>
1890
1891         Modify the NMDevice::state-changed signal to include the previous state
1892         and reason. Enables the applet to provide more information why device
1893         activation failed.
1894
1895 2008-07-09  Dan Williams  <dcbw@redhat.com>
1896
1897         * callouts/Makefile.am
1898           callouts/nm-avahi-autoipd-action.c
1899           callouts/nm-avahi-autoipd.conf
1900                 - avahi-autoipd callout to send options back to NM
1901
1902         * src/autoip.c
1903           src/autoip.h
1904                 - remove
1905
1906         * src/nm-device.c
1907           src/nm-device-private.h
1908           src/nm-manager.c
1909                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1910                         old custom stuff
1911
1912 2008-07-07  Dan Williams  <dcbw@redhat.com>
1913
1914         * system-settings/plugins/ifcfg-fedora/reader.c
1915                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1916                         handle PREFIX too; clean up
1917
1918 2008-07-07  Dan Williams  <dcbw@redhat.com>
1919
1920         Convert to using IPv4 prefixes instead of netmasks.
1921
1922 2008-07-03  Dan Williams  <dcbw@redhat.com>
1923
1924         * libnm-util/nm-setting-ip4-config.c
1925           libnm-util/nm-setting-ip4-config.h
1926                 - Add properties for DHCP Client Identifier and DHCP Hostname
1927
1928         * src/dhcp-manager/nm-dhcp-manager.c
1929           src/dhcp-manager/nm-dhcp-manager.h
1930                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1931                         setting as an argument to pass on to the dhclient config file
1932                         creation function
1933                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1934                         DHCP is torn down
1935                 - (dhclient_run): punt config file handling to create_dhclient_config()
1936                 - (create_dhclient_config): create an interface-specific dhclient
1937                         config file since there may need to be interface-specific options
1938                         passed to dhclient
1939                 - (merge_dhclient_config): merge normal distro dhclient config file and
1940                         add options from the connection
1941                 - (nm_dhcp_device_new): generate the interface specific dhclient
1942                         config file path once
1943                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1944                         dhclient config file path
1945
1946         * src/nm-device.c
1947                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1948                         DHCP manager when starting DHCP
1949
1950 2008-07-02  Dan Williams  <dcbw@redhat.com>
1951
1952         * libnm-util/nm-setting-8021x.c
1953                 - (verify): allow forcing the PEAP label to 0
1954
1955 2008-07-02  Dan Williams  <dcbw@redhat.com>
1956
1957         * introspection/nm-active-connection.xml
1958           introspection/nm-vpn-connection.xml
1959           libnm-glib/nm-active-connection.c
1960           src/nm-activation-request.c
1961           src/nm-active-connection.h
1962           src/vpn-manager/nm-vpn-connection.c
1963                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1964                         and libnm-glib API since sharing didn't get implemented that way
1965
1966 2008-07-02  Dan Williams  <dcbw@redhat.com>
1967
1968         * src/nm-device-wifi.c
1969                 - (can_scan): don't scan when a shared connection is activated since
1970                         that makes drivers mad (causing disconnects); also NM doesn't need
1971                         to hedge against disconnects by keeping up-to-date network topology
1972                         because the connection originates from the local machine, and thus
1973                         there should be no disconnects
1974
1975 2008-07-01  Dan Williams  <dcbw@redhat.com>
1976
1977         Fix mobile broadband username/password issues.  NM was never requesting
1978         mobile broadband secrets, nor was it passing back the username and password
1979         if it had them.
1980
1981         * marshallers/nm-marshal.list
1982                 - Add some new types for activation request objects
1983
1984         * src/nm-activation-request.c
1985           src/nm-activation-request.h
1986                 - (get_secrets_cb): pass the caller type in the signal
1987                 - (nm_act_request_request_connection_secrets): take a caller type, so
1988                         that GetSecrets() reply handlers know who asked for the secrets in
1989                         the first place; use secret hints too so the settings service can
1990                         figure out exactly what NM wants (ie, PIN or the PPP password)
1991
1992         * src/ppp-manager/nm-ppp-manager.c
1993           src/ppp-manager/nm-ppp-manager.h
1994                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1995                         detect needed secrets when the secret could be blank, like GSM/CDMA
1996                         passwords.  So always ask for secrets, and send a hint as to what
1997                         secret we really want.
1998                 - (nm_ppp_manager_update_secrets): make function more generic by making
1999                         the device specific class figure out the username and password, and
2000                         accept an error argument to return back over D-Bus
2001
2002         * src/nm-device-wifi.c
2003                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2004                         nm_act_request_request_connection_secrets()
2005                 - (real_connection_secrets_updated): update for 'caller' changes
2006
2007         * src/nm-device.c
2008           src/nm-device.h
2009                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2010                         for 'caller' changes
2011
2012         * src/nm-device-ethernet.c
2013                 - (real_connection_secrets_updated): update for 'caller' changes and
2014                         move logic for getting PPPoE username and password here before
2015                         calling nm_ppp_manager_update_secrets()
2016                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2017                         nm_act_request_request_connection_secrets()
2018
2019         * src/nm-cdma-device.c
2020                 - (real_connection_secrets_updated): pass username and password back
2021                         to the PPP manager when required
2022
2023         * src/nm-gsm-device.c
2024                 - (enter_pin): send the required secret name to the settings service
2025                 - (real_connection_secrets_updated): pass username and password back
2026                         to the PPP manager when required
2027
2028 2008-06-30  Dan Williams  <dcbw@redhat.com>
2029
2030         * src/nm-device-wifi.c
2031                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2032
2033 2008-06-30  Dan Williams  <dcbw@redhat.com>
2034
2035         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2036         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2037         priv->supplicant.iface.  When either condition is false, the device should
2038         transition back to UNAVAILABLE because it cannot be used.
2039
2040         * src/nm-device-wifi.c
2041                 - (constructor): cleanup; connect to supplicant manager here since the
2042                         supplicant manager is always around
2043                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2044                         ensure the supplicant manager is in the IDLE state
2045                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2046                         cancel any pending scans too
2047                 - (real_bring_up): don't set up the supplicnat interface here, because
2048                         we need the supplicant interface at times when the device may not
2049                         be "up"
2050                 - (real_take_down): just remove the periodic source
2051                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2052                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2053                         do anything if there's no supplicant interface
2054                 - (cleanup_association_attempt): cleanup
2055                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2056                         the interface enters the READY state; transition to UNAVAILABLE
2057                         state when the interface goes down because the device can't be used
2058                         without a supplicant interface
2059                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2060                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2061                         acquire the supplicant interface and transition to DISCONNECTED
2062                         if the radio isn't killed
2063                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2064                 - (state_changed_cb): release any existing supplicant interface; if the
2065                         radio is enabled then try to acquire a new supplicant interface;
2066                         if the radio is enabled and a supplicant interface has been acquired,
2067                         we can transition to DISCONNECTED
2068                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2069                         don't enable the radio, because HAL probably lied to us about the
2070                         killswitch being off.  If bringing the hardware up worked, then
2071                         try to grab a supplicant interface, and if that was successful,
2072                         transition to DISCONNECTED
2073
2074 2008-06-30  Dan Williams  <dcbw@redhat.com>
2075
2076         * src/supplicant-manager/nm-supplicant-interface.c
2077                 - (request_scan_results, nm_supplicant_interface_dispose,
2078                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2079                         the id of the timeout, not a GSource
2080
2081 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2082
2083         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2084         bunch of typoes introduced by "Patch from David Cantrell 
2085         <dcantrell@redhat.com> and me".
2086
2087 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2088
2089         * src/nm-serial-device.c: 
2090         * src/nm-gsm-device.c: 
2091         * src/nm-cdma-device.c: Move the pending call handling to a common location
2092         in serial device. Handle setting device state to failed in one place as well.
2093
2094 2008-06-29  Dan Williams <dcbw@redhat.com>
2095
2096         * src/nm-hal-manager.c
2097                 - Rework killswitch handling to query killswitch status immediately
2098                         when the first killswitch is added, so that rfkill state is
2099                         known as early as possible
2100                 - Also treat failure of GetPower() as rfkill when the dbus method
2101                         call times out (but not when the HAL callout returns an error)
2102
2103 2008-06-26  Dan Williams <dcbw@redhat.com>
2104
2105         Patch from David Cantrell <dcantrell@redhat.com> and me
2106
2107         * include/nm-dbus-glib-types.h
2108                 - Add IP6 address types
2109
2110         * libnm-util/Makefile.am
2111           libnm-util/nm-setting-ip6-config.c
2112           libnm-util/nm-setting-ip6-config.h
2113                 - Add IP6 settings object
2114
2115         * libnm-util/nm-connection.c
2116                 - (register_default_settings): register ip6 settings object
2117
2118         * libnm-util/nm-utils.c
2119           libnm-util/nm-utils.h
2120                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2121                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2122                         ip6 address conversion functions
2123         
2124 2008-06-26  Dan Williams <dcbw@redhat.com>
2125
2126         Patch from David Cantrell <dcantrell@redhat.com>
2127         
2128         * Use inet_ntop() and inet_pton() everwhere and check for errors
2129
2130 2008-06-26  Dan Williams <dcbw@redhat.com>
2131
2132         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2133
2134 2008-06-26  Dan Williams <dcbw@redhat.com>
2135
2136         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2137
2138         * src/nm-device-wifi.c
2139                 - (link_timeout_cb): don't ignore disconnects due to scanning
2140                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2141                         a longer timeout when scanning; avoids case where supplicant can't
2142                         find the AP and just keeps scanning forever but isn't connected
2143
2144 2008-06-26  Dan Williams <dcbw@redhat.com>
2145
2146         Patch from Michael Biebl <biebl@debian.org>
2147
2148         * Clean up build system stuff
2149
2150 2008-06-23  Christian Persch  <chpe@gnome.org>
2151
2152         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2153         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2154         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2155         (impl_get_object):
2156         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2157         (impl_get_object):
2158         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2159         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2160         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2161         (impl_get_object):
2162         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2163         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2164         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2165         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2166         * vpn-daemons/pptp/properties/vpnui_opt.c:
2167         (vpnui_opt_connect_signals):
2168         * vpn-daemons/pptp/properties/vpnui_opt.h:
2169         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2170         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2171         deprecated gtk type macros. Bug #539325.
2172
2173 2008-06-20  Dan Williams  <dcbw@redhat.com>
2174
2175         * libnm-glib/nm-vpn-plugin-ui-interface.c
2176           libnm-glib/nm-vpn-plugin-ui-interface.h
2177                 - 'validity-changed' -> 'changed' to work better with the connection
2178                         editor.  Plugin UI widgets should emit 'changed' whenever their
2179                         UI values change in a meaningful way.
2180                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2181                         update_connection member now returns validity of the UI widget
2182
2183 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2184
2185         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2186
2187 2008-06-17  Dan Williams  <dcbw@redhat.com>
2188
2189         * libnm-glib/nm-vpn-plugin-ui-interface.c
2190           libnm-glib/nm-vpn-plugin-ui-interface.h
2191                 - Add "desc" property for longer descriptions of the VPN plugin
2192
2193 2008-06-16  Dan Williams  <dcbw@redhat.com>
2194
2195         * configure.in
2196           libnm-glib/libnm_glib_vpn.pc.in
2197                 - add a .pc file for libnm_glib_vpn
2198
2199         * libnm-glib/nm-vpn-plugin-ui-interface.c
2200           libnm-glib/nm-vpn-plugin-ui-interface.h
2201                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2202                         rework it substantially
2203
2204 2008-06-12  Dan Williams  <dcbw@redhat.com>
2205
2206         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2207         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2208         returns a descriptive GError when verification fails.
2209
2210 2008-06-11  Dan Williams  <dcbw@redhat.com>
2211
2212         Patch from Tambet Ingo <tambet@gmail.com>
2213
2214         * libnm-util/nm-setting-gsm.c
2215                 - (verify): validate APN
2216
2217         * src/nm-gsm-device.c
2218                 - (manual_registration_done): start setting APN if needed
2219                 - (set_apn, set_apn_done): set the APN
2220                 - (do_dial): use the APN when dialing
2221
2222 2008-06-11  Dan Williams  <dcbw@redhat.com>
2223
2224         * src/NetworkManagerSystem.c
2225                 - (nm_system_device_set_ip4_route,
2226                    nm_system_device_replace_default_ip4_route): check for the right
2227                         return value from rtnl_route_add() to know when to add a gateway
2228                         route (from Tambet)
2229
2230 2008-06-11  Dan Williams  <dcbw@redhat.com>
2231
2232         * src/NetworkManagerPolicy.c
2233                 - do_ipt_cmd -> do_cmd
2234                 - (sharing_init): use do_cmd() instead of system()
2235
2236 2008-06-10  Dan Williams  <dcbw@redhat.com>
2237
2238         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2239         and use "wifi" everwhere instead.
2240
2241 2008-06-10  Dan Williams  <dcbw@redhat.com>
2242
2243         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2244
2245 2008-06-10  Dan Williams  <dcbw@redhat.com>
2246
2247         Patch from Tambet Ingo <tambet@gmail.com>
2248
2249         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2250                 changes.
2251
2252         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2253                 a signal to emit these changes over dbus.
2254
2255         * src/Makefile.am: Genereate nm-serial-device-glue.
2256
2257         * libnm-glib/nm-serial-device.[ch]: Implement.
2258
2259         * libnm-glib/nm-cdma-device.[ch]
2260           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2261
2262         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2263
2264         * introspection/nm-device-serial.xml: Implement.
2265
2266         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2267
2268         * introspection/Makefile.am: Add nm-device-serial.xml.
2269
2270         * include/NetworkManager.h: Add a DBus interface for serial device.
2271
2272 2008-06-10  Dan Williams  <dcbw@redhat.com>
2273
2274         * configure.in
2275                 - Add TARGET_* define to config.h to distinguish distros
2276
2277         * src/dhcp-manager/nm-dhcp-manager.c
2278                 - (dhclient_run): use distro-specific path for dhclient config file
2279
2280 2008-06-09  Dan Williams  <dcbw@redhat.com>
2281
2282         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2283           src/dnsmasq-manager/nm-dnsmasq-manager.h
2284                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2285                         calculate the addresses passed to dnsmasq instead of hard-coding
2286                         them
2287
2288         * src/nm-device.c
2289                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2290                         IP addresses for shared connections to guard against shared
2291                         connection address collisions
2292                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2293                         error conditions
2294                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2295                         the dnsmasq manager
2296
2297 2008-06-09  Dan Williams  <dcbw@redhat.com>
2298
2299         * src/NetworkManagerPolicy.c
2300                 - (update_routing_and_dns): set the default connection _after_ unsetting
2301                         default on all non-default connections so that two connections can
2302                         never be default at the same time
2303                 - (device_state_changed): start and stop connection sharing when
2304                         needed
2305                 - (active_connection_default_changed): restart or stop sharing when
2306                         the default connection changes to keep shared connections always
2307                         NAT-ed through the default connection
2308                 - (check_sharing): handle activation/deactivation of shared connections
2309                 - (sharing_restart): atom-bomb approach to connection sharing until we
2310                         can use libnl; reinit all sharing when the default connection or
2311                         shared connections change
2312                 - (sharing_init, sharing_stop): evil functions that init and deinit
2313                         iptables
2314
2315 2008-06-09  Dan Williams  <dcbw@redhat.com>
2316
2317         * src/nm-activation-request.c
2318           src/nm-activation-request.h
2319                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2320                    nm_act_request_get_device): new functions to facilitate connection
2321                         sharing
2322
2323 2008-06-09  Dan Williams  <dcbw@redhat.com>
2324
2325         * src/nm-device.c
2326                 - (clear_act_request): unset the 'default' property of the activation
2327                         request when clearing it to ensure the property changed signal gets
2328                         delivered and handled
2329
2330 2008-06-09  Dan Williams  <dcbw@redhat.com>
2331
2332         * libnm-glib/nm-device-802-11-wireless.c
2333                 - (access_point_removed_proxy): actually unref the AP after removing
2334                         it from the device's AP list.  Fixes refcounting bug for APs that
2335                         caused them to get mixed up in the applet's menu.
2336
2337 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2338
2339         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2340         (nm_dhcp_device_destroy): Destroy the device options hash table.
2341
2342 2008-06-06  Dan Williams <dcbw@redhat.com>
2343
2344         * system-settings/src/nm-polkit-helpers.c
2345                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2346                         unref the context if the initialization fails; also avoid spew when
2347                         the error isn't set
2348
2349 2008-06-06  Dan Williams <dcbw@redhat.com>
2350
2351         Patch from Tambet Ingo  <tambet@gmail.com>
2352
2353         * src/NetworkManagerSystem.c
2354           src/NetworkManagerSystem.h
2355                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2356                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2357                 - (nm_system_device_set_ip4_route): clean up
2358                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2359
2360         * src/nm-device.c
2361                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2362
2363         * src/vpn-manager/nm-vpn-connection.c
2364                 - (ip_address_to_string): new function
2365                 - (print_vpn_config): use ip_address_to_string
2366                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2367                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2368
2369         * include/NetworkManagerVPN.h
2370                 - Add 'routes' key
2371
2372 2008-06-05  Dan Williams <dcbw@redhat.com>
2373
2374         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2375
2376         * test/nm-tool.c
2377                 - Show which device is the default device
2378
2379 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2380
2381         Fix memory leaks.
2382
2383         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2384         Free data returned from dbus method call.
2385
2386         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2387         dbus_g_method_get_sender() returns a duplicated string, free it 
2388         when done.
2389         (check_polkit_privileges): Looks like policykit sometimes returns
2390         error and non-null return value, don't leak errors in that case.
2391
2392         * system-settings/src/main.c (find_plugin): Don't leak existing 
2393         plugin names.
2394         (load_stuff): Don't leak device list and list items.
2395         (have_connection_for_device): Don't leak connection list.
2396
2397         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2398         Free the data received from g_keyfile_get_*.
2399
2400         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2401         the key when the security object is updated.
2402
2403         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2404         Free data returned from dbus method call.
2405         (iface_state_cb): Ditto.
2406         (add_network_cb): Ditto.
2407         (nm_supplicant_interface_add_cb): Don't make another copy of already
2408         duplicated object path.
2409         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2410         when done.
2411
2412         * src/supplicant-manager/nm-supplicant-config.c 
2413         (ADD_STRING_LIST_VAL): Fix a memory leak.
2414
2415         * src/nm-manager.c (free_get_settings_info): Free the allocated
2416         memory slice.
2417         (list_connections_cb): Free data returned from dbus method call.
2418         (system_settings_get_unmanaged_devices_cb): Ditto.
2419
2420         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2421
2422         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2423         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2424         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2425         of the GList.
2426
2427         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2428         arguments after the object is created.
2429
2430 2008-06-04  Dan Williams <dcbw@redhat.com>
2431
2432         * libnm-util/Makefile.am
2433                 - Don't distribute nm-param-spec-specialized.h
2434
2435 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2436
2437         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2438
2439         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2440         NMIP4Address, update the getters and setters.
2441
2442         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2443         Use the updated NMIP4Config routes api.
2444
2445         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2446         static routes as well.
2447
2448         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2449         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2450         routes api.
2451
2452 2008-05-30  Dan Williams <dcbw@redhat.com>
2453
2454         * src/named-manager/nm-named-manager.c
2455           src/named-manager/nm-named-manager.h
2456                 - Remove stale/obsolete bits for controlling bind over DBus
2457
2458 2008-05-29  Dan Williams <dcbw@redhat.com>
2459
2460         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2461           src/dnsmasq-manager/nm-dnsmasq-manager.h
2462                 - (nm_dnsmasq_manager_new): move iface argument here
2463                 - (constructor): remove, not needed
2464                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2465                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2466
2467         * src/nm-device.c
2468                 - (real_act_stage4_get_ip4_config,
2469                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2470                         changes
2471
2472 2008-05-29  Dan Williams <dcbw@redhat.com>
2473
2474         * src/nm-device.c
2475                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2476                         something happens to dnsmasq
2477                 - (nm_device_new_ip4_shared_config): new function; create a new
2478                         ip4-config for shared connections.  Shared connections always use a
2479                         fixed static IP address.
2480                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2481                         autoip connections by actually using the returned ip4-config and
2482                         not leaking it
2483                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2484                         connections
2485                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2486                         if its active
2487
2488 2008-05-29  Dan Williams <dcbw@redhat.com>
2489
2490         * src/nm-device-802-11-wireless.c
2491                 - (real_get_best_auto_connection): auto-activate 'shared' method
2492                         connections too
2493
2494 2008-05-29  Dan Williams <dcbw@redhat.com>
2495
2496         * libnm-util/nm-setting-ip4-config.c
2497           libnm-util/nm-setting-ip4-config.h
2498                 - Add a 'shared' method to indicate that this connection should be
2499                         brought up with a DHCP and proxy DNS server to facilitate
2500                         connection sharing.
2501                 - (verify): 'shared' method doesn't allow DNS or searches either
2502
2503 2008-05-29  Dan Williams <dcbw@redhat.com>
2504
2505         * configure.in
2506           src/Makefile.am
2507           src/dnsmasq-manager/Makefile.am
2508           src/dnsmasq-manager/nm-dnsmasq-manager.c
2509           src/dnsmasq-manager/nm-dnsmasq-manager.h
2510                 - Add a dnsmasq daemon manager to facilitate connection sharing
2511
2512 2008-05-29  Dan Williams <dcbw@redhat.com>
2513
2514         * src/nm-device-private.h
2515                 - Remove unused prototypes and clean up
2516
2517         * src/nm-device.c
2518                 - Remove anything related to system_config_data, which is no longer used
2519                 - (nm_device_new_ip4_autoip_config): make static
2520
2521 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2522
2523         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2524         (file_changed): Fix a bug where suse system settings plugin didn't
2525         update the connections automatically when the files changed.
2526
2527 2008-05-28  Dan Williams  <dcbw@redhat.com>
2528
2529         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2530
2531 2008-05-28  Dan Williams  <dcbw@redhat.com>
2532
2533         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2534
2535         * src/NetworkManagerSystem.c
2536                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2537                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2538                         was causing -EINVAL errors since the libnl code actually does flush
2539                         the routes on VPN interfaces now
2540
2541         * src/backends/NetworkManagerArch.c
2542           src/backends/NetworkManagerDebian.c
2543           src/backends/NetworkManagerFrugalware.c
2544           src/backends/NetworkManagerGeneric.c
2545           src/backends/NetworkManagerGentoo.c
2546           src/backends/NetworkManagerMandriva.c
2547           src/backends/NetworkManagerPaldo.c
2548           src/backends/NetworkManagerRedHat.c
2549           src/backends/NetworkManagerSlackware.c
2550           src/backends/NetworkManagerSuSE.c
2551                 - (nm_system_device_flush_ip4_routes,
2552                    nm_system_device_flush_ip4_routes_with_iface): remove
2553
2554 2008-05-28  Dan Williams  <dcbw@redhat.com>
2555
2556         * libnm-util/nm-setting-wireless.c
2557           libnm-util/nm-setting-wireless.h
2558                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2559                         'adhoc-create' property, which when TRUE indicates that NM should
2560                         create this connection as an adhoc wifi network if it's not found
2561                         as an adhoc network during scanning.  Can be used to auto-create
2562                         adhoc networks when used in combination with autoconnect.
2563
2564 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2565
2566         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2567
2568         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2569         checked, it doesn't work on some devices.
2570
2571 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2572
2573         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2574         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2575
2576         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2577         Use inet_aton() everywhere to improve error detection.
2578         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2579         provided.
2580
2581 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2582
2583         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2584         Fix a typo.
2585
2586 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2587
2588         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2589         reference counting issue.
2590
2591 2008-05-23  Dan Williams  <dcbw@redhat.com>
2592
2593         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2594
2595         * src/backends/NetworkManagerGeneric.c
2596                 - (nm_generic_enable_loopback): use libnl
2597
2598 2008-05-23  Dan Williams  <dcbw@redhat.com>
2599
2600         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
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_device_has_active_routes, nm_system_flush_loopback_routes,
2613                    nm_system_flush_arp_cache): remove, unused
2614
2615         * src/backends/NetworkManagerGeneric.c
2616           src/backends/NetworkManagerGeneric.h
2617                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2618                    nm_generic_flush_arp_cache): remove, unused
2619
2620 2008-05-23  Dan Williams  <dcbw@redhat.com>
2621
2622         * system-settings/plugins/ifcfg-fedora/reader.c
2623                 - (make_ip4_setting): honor PEERDNS setting
2624
2625 2008-05-23  Dan Williams  <dcbw@redhat.com>
2626
2627         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2628
2629         * src/NetworkManagerSystem.c
2630                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2631                         libnl
2632
2633         * src/backends/NetworkManagerArch.c
2634           src/backends/NetworkManagerDebian.c
2635           src/backends/NetworkManagerFrugalware.c
2636           src/backends/NetworkManagerGentoo.c
2637           src/backends/NetworkManagerMandriva.c
2638           src/backends/NetworkManagerPaldo.c
2639           src/backends/NetworkManagerRedHat.c
2640           src/backends/NetworkManagerSlackware.c
2641           src/backends/NetworkManagerSuSE.c
2642                 - (nm_system_device_flush_ip4_addresses,
2643                    nm_system_device_flush_ip4_addresses_with_iface): remove
2644
2645         * src/backends/NetworkManagerGeneric.c
2646                 - (nm_generic_device_flush_ip4_addresses,
2647                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2648
2649 2008-05-23  Dan Williams  <dcbw@redhat.com>
2650
2651         * src/supplicant-manager/nm-supplicant-settings-verify.c
2652                 - Switch 'bssid' from bytes to keyword type
2653                 - (validate_type_keyword): allow NULL keyword lists
2654
2655         * src/supplicant-manager/nm-supplicant-config.c
2656                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2657                         a byte array to string form, which is what the supplicant expects
2658
2659 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2660
2661         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2662         information received from DHCP.
2663
2664         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2665         to make it possible to ignore the DNS information (both servers and 
2666         searches) returned by DHCP server.
2667
2668         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2669         name servers and searches if "ignore_dhcp_dns" is set.
2670
2671         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2672         (nm_ip4_config_reset_searches): Implement.
2673
2674 2008-05-22  Dan Williams  <dcbw@redhat.com>
2675
2676         Remove anything mDNS related.  This is better done from a distro-specific
2677         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2678         avahi, since avahi can handle interface changes just fine using netlink.
2679
2680         * configure.in
2681                 - Remove --with-mdns-provider
2682
2683         * src/NetworkManagerPolicy.c
2684                 - (global_state_changed): don't restart the mdns provider
2685
2686         * src/NetworkManagerSystem.h
2687           src/backends/NetworkManagerArch.c
2688           src/backends/NetworkManagerDebian.c
2689           src/backends/NetworkManagerFrugalware.c
2690           src/backends/NetworkManagerGentoo.c
2691           src/backends/NetworkManagerMandriva.c
2692           src/backends/NetworkManagerPaldo.c
2693           src/backends/NetworkManagerRedHat.c
2694           src/backends/NetworkManagerSlackware.c
2695           src/backends/NetworkManagerSuSE.c
2696                 - (nm_system_restart_mdns_responder): remove
2697
2698         * src/backends/NetworkManagerGeneric.c
2699           src/backends/NetworkManagerGeneric.h
2700                 - (nm_generic_restart_mdns_responder): remove
2701
2702 2008-05-22  Dan Williams  <dcbw@redhat.com>
2703
2704         * configure.in
2705                 - clean up crypto options; just use --with-crypto=nss or
2706                         --with-crypto=gnutls
2707
2708 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2709
2710         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2711         anymore, do it right away.
2712
2713 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2714
2715         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2716         serial device open when we're not connecting or connected.
2717
2718         * src/nm-cdma-device.c (device_state_changed): Ditto.
2719
2720 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2721
2722         Don't remove all devices on waking up, sync with HAL.
2723
2724         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2725         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2726         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2727
2728 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2729
2730         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2731         If the default gateway is unreachable, add a route to gateway and try
2732         again.
2733
2734 2008-05-20  Dan Williams  <dcbw@redhat.com>
2735
2736         * system-settings/plugins/ifcfg-fedora/reader.c
2737                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2738
2739 2008-05-19  Dan Williams  <dcbw@redhat.com>
2740
2741         * system-settings/plugins/ifcfg-fedora/reader.c
2742                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2743                         if the ifcfg doesn't specify one (rh #446527)
2744
2745 2008-05-19  Dan Williams  <dcbw@redhat.com>
2746
2747         Make the system settings service exit when the bus goes away.  Since it's
2748         a bus-activated service, it's lifetime is limited to the bus that activated
2749         it (rh #444976).
2750
2751         * system-settings/src/Makefile.am
2752           system-settings/src/nm-system-config-hal-manager-private.h
2753                 - Remove nm-system-config-hal-manager-private.h
2754
2755         * system-settings/src/nm-system-config-hal-manager.c
2756                 - (nm_system_config_hal_manager_reinit_dbus,
2757                    nm_system_config_hal_manager_deinit_dbus): remove
2758
2759         * system-settings/src/main.c
2760                 - (dbus_reconnect): remove
2761                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2762                 - (destroy_cb): just quit when the bus goes away
2763                 - (start_dbus_service, dbus_init): simplify
2764                 - (main): destroy the wired devices hash table after destroying
2765                         the HAL manager so we don't have to disconnect signals from the
2766                         HAL manager
2767
2768 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2769
2770         Move crypto functions from nm-applet to libnm-util.
2771
2772         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2773         (nm_setting_802_1x_set_client_cert)
2774         (nm_setting_802_1x_set_phase2_ca_cert)
2775         (nm_setting_802_1x_set_phase2_client_cert)
2776         (nm_setting_802_1x_set_private_key)
2777         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2778         file (or private key and it's password), read the certificate data.
2779
2780         * libnm-util/crypto_nss.c: 
2781         * libnm-util/crypto_gnutls.c: 
2782         * libnm-util/crypto.[ch]: Move here from nm-applet.
2783
2784         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2785
2786         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2787         Imlement WPA-EAP configuration reading from sysconfig.
2788
2789 2008-05-16  Dan Williams  <dcbw@redhat.com>
2790
2791         * src/nm-device-802-11-wireless.c
2792                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2793                         wireless
2794
2795 2008-05-14  Dan Williams  <dcbw@redhat.com>
2796
2797         Fix Linus' bug in rh #134886
2798
2799         * src/nm-device-802-3-ethernet.c
2800                 - (constructor): request initial carrier state
2801
2802         * src/nm-netlink-monitor.c
2803                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2804                         signals after refilling the link cache.  Because the refill is a 
2805                         synchronous operation, the normal message hander won't get called
2806                         since libnl has already consumed the messages.
2807                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2808
2809 2008-05-14  Dan Williams  <dcbw@redhat.com>
2810
2811         * src/NetworkManagerSystem.c
2812                 - (nm_system_device_is_up_with_iface): clean up
2813
2814 2008-05-13  Dan Williams  <dcbw@redhat.com>
2815
2816         Fix refcounting issues over sleep/wake when a VPN connection was active that
2817         caused NM to try registering an object path for a device upon wake that was
2818         the same as an already registered object path.
2819
2820         * src/nm-device.c
2821                 - (nm_device_take_down): properly handle cases where the device is
2822                         no longer active but was just active, and therefore must be
2823                         deactivated.  When a device moves to unmanaged mode, this function
2824                         previously would not deactivate the device, because the state was
2825                         already unmanaged by the time this function was called.
2826
2827         * src/vpn-manager/nm-vpn-connection.c
2828                 - (device_state_changed): properly handle multiple devices states in
2829                         which the device is now deactivated.  Code previously didn't handle
2830                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2831                         UNMANAGED states.
2832
2833 2008-05-13  Dan Williams  <dcbw@redhat.com>
2834
2835         * src/nm-device-private.h
2836           src/nm-device.c
2837                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2838
2839         * src/nm-device-802-11-wireless.c
2840                 - (nm_device_802_11_wireless_set_enabled): take devices up
2841                         and down as appropriate for the rfkill state
2842
2843 2008-05-13  Dan Williams  <dcbw@redhat.com>
2844
2845         * marshallers/nm-marshal.list
2846                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2847
2848         * system-settings/plugins/ifcfg-fedora/Makefile.am
2849           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2850           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2851                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2852                         events.  Solely for use watching ifcfg files to pick up changes
2853                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2854
2855         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2856                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2857                         file contents change
2858                 - (finalize): clean up inotify watches
2859                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2860                         and the connection ifcfg for changes on their hardlinks
2861                 - (files_changed_cb): proxy the changed signal back out to listeners
2862
2863         * system-settings/plugins/ifcfg-fedora/plugin.c
2864                 - (dir_changed): 
2865                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2866                         changes
2867                 - (read_one_connection): connect to change signals on the new connection
2868                 - (dir_changed, connection_changed_handler,
2869                    handle_connection_remove_or_new): break out connection change
2870                         handling and connection new/remove handling so it can be used from
2871                         both the GFileMonitor callback and the NMIfcfgConnection changed
2872                         signals
2873
2874         * system-settings/plugins/ifcfg-fedora/reader.c
2875           system-settings/plugins/ifcfg-fedora/reader.h
2876                 - (connection_from_file): return the keyfile path the connection would use
2877
2878 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2879
2880         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2881         single PolKitContext which is shared by all. PolKitContext::unref leaks
2882         just about everything, including all open file descriptiors and results
2883         in 99% cpu usage when data arrives to any of the fds that don't belong
2884         to any context anymore.
2885
2886 2008-05-12  Dan Williams  <dcbw@redhat.com>
2887
2888         * gfilemonitor/glocaldirectorymonitor.c
2889           gfilemonitor/glocaldirectorymonitor.h
2890                 - (g_local_directory_monitor_constructor): actually subscribe to the
2891                         watch
2892                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2893
2894         * gfilemonitor/glocalfilemonitor.c
2895           gfilemonitor/glocalfilemonitor.h
2896                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2897                 - (_g_local_file_monitor_new): ensure that inotify is started up
2898
2899 2008-05-11  Dan Williams  <dcbw@redhat.com>
2900
2901         * configure.in
2902                 - record PolicyKit version
2903
2904         * system-settings/src/nm-polkit-helpers.c
2905                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2906                         with PolicyKit <= 0.6
2907
2908 2008-05-11  Dan Williams  <dcbw@redhat.com>
2909
2910         Update Fedora system-settings plugin to support latest API and use
2911         GFileMonitor rather than home-rolled inotify code.
2912
2913         * system-settings/plugins/ifcfg-fedora/Makefile.am
2914           system-settings/plugins/ifcfg-fedora/common.h
2915           system-settings/plugins/ifcfg-fedora/plugin.c
2916                 - Update to latest system settings plugin API; use GIO instead of
2917                         custom inotify code; use NMIfcfgConnection objects instead of
2918                         ConnectionData structures tacked onto NMConnection objects
2919
2920         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2921           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2922                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2923                         connections
2924
2925         * system-settings/plugins/ifcfg-fedora/reader.c
2926           system-settings/plugins/ifcfg-fedora/reader.h
2927                 - Move ifcfg parsing bits here from parser.c
2928
2929         * system-settings/plugins/ifcfg-fedora/parser.c
2930           system-settings/plugins/ifcfg-fedora/parser.h
2931                 - Remove; most code moved to reader.c
2932
2933 2008-05-11  Dan Williams  <dcbw@redhat.com>
2934
2935         * configure.in
2936           Makefile.am
2937           gfilemonitor/*
2938                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2939                         implementation, so that the same change monitoring code can be used
2940                         on systems without glib-2.14 (like Fedora 8)
2941
2942         * system-settings/plugins/keyfile/Makefile.am
2943           system-settings/plugins/keyfile/plugin.c
2944           system-settings/plugins/ifcfg-suse/Makefile.am
2945           system-settings/plugins/ifcfg-suse/plugin.c
2946                 - Use private gfilemonitor code if GIO is not present
2947
2948 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2949
2950         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2951         NMExportedConnection's 'update' and 'delete' and return error with
2952         descriptive message.
2953
2954 2008-05-08  Dan Williams  <dcbw@redhat.com>
2955
2956         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2957
2958         * src/nm-gsm-device.c
2959           src/nm-cdma-device.c
2960                 - (real_get_best_auto_connection): implement; allow autoconnection
2961                         to GSM & CDMA devices
2962
2963 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2964
2965         Use PolicyKit to authorize the system settings' AddConnection method
2966         and the system settings connections' Update and Delete methods.
2967         
2968         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2969         (impl_exported_connection_delete, nm_exported_connection_update)
2970         (nm_exported_connection_delete): Return boolean and fill GError
2971         to notify the callers of the reasons why it might have failed.
2972
2973         * libnm-glib/nm-dbus-settings-system.c
2974         (nm_dbus_settings_system_add_connection): Return the error from dbus
2975         call so that the callers can see why it failed.
2976
2977         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2978         signatures.
2979
2980         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2981
2982         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2983         abstract base class that checks PolicyKit permissions.
2984
2985         * system-settings/src/dbus-settings.c:
2986         (impl_settings_add_connection): Check the policy before carring out
2987         the request.
2988
2989         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2990         Inherit from NMSysconfigConnection, check the policies before
2991         allowing updating or removing.
2992
2993         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2994         Inherit from NMSysconfigConnection.
2995
2996         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2997         "Delete" methods with async flag so that the implementations can get
2998         access to DBusGMethodInvocation.
2999
3000         * system-settings/src/dbus-settings.c 
3001         (settings_add_connection_check_privileges): Implement.
3002         (impl_settings_add_connection): Check the privileges before adding a new
3003         connection. Improve error reporting.
3004
3005         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3006         async so that the implementation can access DBusGMethodInvocation.
3007
3008         * configure.in: Check for PolicyKit.
3009
3010         * policy/org.freedesktop.network-manager-settings.system.policy: 
3011         New file.
3012
3013         * policy/Makefile.am: Install the policy file.
3014
3015         * configure.in: Add 'policy' subdir.
3016
3017 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3018
3019         Rewrite the suse system settings plugin.
3020
3021         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3022
3023         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3024
3025         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3026
3027         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3028
3029         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3030
3031         * system-settings/src/main.c (load_plugins): Improve error reporting.
3032
3033         * system-settings/src/sha1.[ch] Add.
3034
3035         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3036
3037 2008-05-07  Dan Williams  <dcbw@redhat.com>
3038
3039         * system-settings/plugins/keyfile/reader.c
3040                 - (read_one_setting_value): handle IP address items separately
3041                 - (read_array_of_uint): read IPv4 DNS option as a string array
3042                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3043                         array
3044
3045         * system-settings/plugins/keyfile/writer.c
3046                 - (write_setting_value): handle IP address items separately
3047                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3048                         not an array of uint, so that it's user-editable
3049                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3050                         arrays, so they are user-editable
3051
3052 2008-05-07  Dan Williams  <dcbw@redhat.com>
3053
3054         * system-settings/plugins/keyfile/Makefile.am
3055                 - Change location of the keyfile plugin settings to
3056                         /etc/NetworkManager/system-connections
3057
3058 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3059
3060         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3061
3062         * system-settings/plugins/keyfile/plugin.c: Work with
3063         NMKeyfileConnections.
3064
3065         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3066         Plugins are supposed to return NMExportedConnections now and handle the
3067         updated(), removed(), and GetSecrets().
3068         Store the internal list of connections in hash table to make it easier
3069         to find duplicates.
3070
3071 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3072
3073         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3074         for multiple IP addresses.
3075
3076 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3077
3078         Patch from André Lemos.
3079
3080         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3081         corruption.
3082
3083 2008-05-06  Dan Williams  <dcbw@redhat.com>
3084
3085         * src/dhcp-manager/nm-dhcp-manager.c
3086                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3087                         NMIP4Config to support multiple IP addresses
3088
3089         * src/NetworkManagerUtils.c
3090                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3091
3092         * src/nm-ip4-config.c
3093           src/nm-ip4-config.h
3094                 - Store a list of IPv4 address/netmask/gateway tuples
3095                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3096                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3097                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3098                    nm_ip4_config_set_address): remove
3099                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3100                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3101                         new functions; handle multiple IPv4 addresses
3102
3103         * src/nm-device.c
3104           src/ppp-manager/nm-ppp-manager.c
3105           src/vpn-manager/nm-vpn-connection.c
3106           src/NetworkManagerPolicy.c
3107           test/nm-tool.c
3108           libnm-glib/libnm-glib-test.c
3109                 - update for changes to NMIP4Config for multiple IPv4 addresses
3110
3111         * src/NetworkManagerSystem.c
3112                 - (nm_system_device_set_ip4_route): don't add the route if any address
3113                         is on the same subnet as the destination
3114                 - (check_one_address): ignore the exact match, just match family and
3115                         interface index
3116                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3117                         an interface
3118                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3119                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3120
3121         * introspection/nm-ip4-config.xml
3122                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3123                 - Add 'addresses' property which is an array of (uuu) tuples of
3124                         address/netmask/gateway
3125
3126         * libnm-util/nm-setting-ip4-config.c
3127                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3128
3129         * libnm-glib/nm-ip4-config.c
3130           libnm-glib/nm-ip4-config.h
3131                 - Handle D-Bus interface changes to support multiple IP addresses
3132
3133 2008-05-06  Dan Williams  <dcbw@redhat.com>
3134
3135         * libnm-util/nm-utils.c
3136           libnm-util/nm-utils.h
3137                 - (nm_utils_ip4_addresses_from_gvalue,
3138                    nm_utils_ip4_addresses_to_gvalue): new functions
3139
3140 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3141
3142         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3143         the returned connection paths.
3144
3145 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3146
3147         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3148         "PropertiesChanged" signal signature.
3149
3150         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3151         defined in nm-dbus-glib-types.h.
3152         Don't register the connection on dbus, we're a proxy class to 
3153         communicate with an already registered connection over dbus.
3154
3155 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3156
3157         Implement new subclasses of NMSettings and NMExportedConnection to make
3158         it easier for the applet to access and modify system settings.
3159
3160         * libnm-glib/nm-dbus-connection.[ch]:
3161         * libnm-glib/nm-dbus-settings.[ch]:
3162         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3163
3164         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3165         bindings and glue.
3166
3167         * include/NetworkManager.h: Define the system settings DBus interface.
3168
3169 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3170
3171         Implement additional C API for exported connections to make them identical
3172         with the DBus API. Change the (list_connections) virtual function to be
3173         more usable from C - instead of requiring implementers to return a GPtrArray
3174         of dbus paths, return a list of connections.
3175
3176         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3177         (nm_settings_list_connections):
3178         (nm_exported_connection_new):
3179         (nm_exported_connection_update):
3180         (nm_exported_connection_delete): Implement.
3181
3182         (impl_settings_list_connections):
3183         (impl_exported_connection_update):
3184         (impl_exported_connection_delete): Use the new public functions to make 
3185         sure the C and dbus interfaces stay in sync.
3186
3187         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3188         connections.
3189
3190 2008-05-02  Dan Williams  <dcbw@redhat.com>
3191
3192         * system-settings/plugins/ifcfg-fedora/plugin.c
3193                 - (dispose): use right unref call on the DBusGConnection
3194
3195 2008-05-02  Dan Williams  <dcbw@redhat.com>
3196
3197         * src/nm-serial-device.c
3198                 - (find_terminator): don't compare the whole line, just the size of the
3199                         terminator, since some modems put stuff after the terminator, like
3200                         "CONNECT 9600"
3201
3202 2008-05-01  Dan Williams  <dcbw@redhat.com>
3203
3204         Patch from Michael Biebl <biebl@debian.org>
3205
3206         * callouts/Makefile.am
3207           callouts/org.freedesktop.nm_dispatcher.service.in
3208           system-settings/src/Makefile.am
3209           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3210                 - use the right install location for dbus-activated stuff
3211
3212 2008-04-30  Dan Williams  <dcbw@redhat.com>
3213
3214         * src/nm-gsm-device.c
3215                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3216                         PIN or PUK
3217
3218 2008-04-30  Dan Williams  <dcbw@redhat.com>
3219
3220         * src/nm-manager.c
3221                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3222
3223 2008-04-30  Dan Williams  <dcbw@redhat.com>
3224
3225         * src/nm-device-802-3-ethernet.c
3226           src/nm-device-802-11-wireless.c
3227                 - (real_is_up): return true instead of chaining up to unimplemented
3228                         parent method
3229
3230 2008-04-30  Dan Williams  <dcbw@redhat.com>
3231
3232         * src/NetworkManagerSystem.c
3233           src/NetworkManagerSystem.h
3234                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3235                         functions to check device flags for IFF_UP
3236
3237         * src/nm-serial-device.c
3238                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3239                         implement is_up
3240
3241         * src/nm-device-802-3-ethernet.c
3242           src/nm-device-802-11-wireless.c
3243                 - (real_hw_is_up): call nm_system_device_is_up()
3244
3245         * src/nm-device.c
3246                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3247                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3248                         does not implement
3249
3250 2008-04-29  Dan Williams  <dcbw@redhat.com>
3251
3252         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3253
3254         * marshallers/nm-marshal.list
3255                 - Add marshaller
3256
3257         * src/NetworkManager.c
3258                 - (main): let the NMManager handle the NMHalManager
3259
3260         * src/nm-hal-manager.c
3261           src/nm-hal-manager.h
3262                 - convert to a GObject, and emit singals when stuff changes.  Let the
3263                         NMManager handle the signals, instead of the NMHalManager calling
3264                         into the NMManager.  
3265
3266         * src/nm-manager.c
3267           src/nm-manager.h
3268                 - (remove_one_device): consolidate device removals here
3269                 - (dispose): use remove_one_device()
3270                 - (nm_manager_get_device_by_udi): make static
3271                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3272                         manager for devices at startup or wakeup time
3273                 - (nm_manager_new): create and monitor the HAL manager
3274                 - (hal_manager_udi_added_cb): new function; do what
3275                         nm_manager_add_device() used to do when signalled by the hal manager
3276                 - (hal_manager_udi_removed_cb): new function; do what
3277                         nm_manager_remove_device() used to do when signalled by the hal
3278                         manager
3279                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3280                         hal manager
3281                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3282                         in our device list that aren't known to HAL
3283                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3284                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3285                         commits ago
3286                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3287                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3288                    nm_manager_wireless_hardware_enabled,
3289                    nm_manager_set_wireless_hardware_enabled): remove, unused
3290
3291 2008-04-28  Dan Williams  <dcbw@redhat.com>
3292
3293         Fix the device up/down ambiguities.  Up/down state used to be a
3294         conglomeration of hardware state (IFF_UP) and any device-specific things
3295         (supplicant, periodic timers, etc) that the device used to indicate
3296         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3297         reason, then the device specific stuff wouldn't get run, and the device
3298         would be stuck.
3299
3300         * src/nm-device.c
3301           src/nm-device.h
3302                 - Create hw_is_up, hw_bring_up, and hw_take_down
3303                 - Rename bring_down -> take_down
3304                 - (real_hw_is_up): check interface flags for IFF_UP
3305                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3306                 - (nm_device_is_up): make static; only used locally
3307                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3308                         if the device is already up; if the device isn't up, bring it up
3309                 - (nm_device_hw_take_down): just take down hardware
3310                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3311                 - (nm_device_take_down): always deactivate device when called; always
3312                         try to take hardware down too
3313                 - (nm_device_state_changed): take device down when entering unmanaged
3314                         state from a higher state
3315
3316         * src/nm-device-802-11-wireless.c
3317                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3318                         check IFF_UP really
3319                 - (real_take_down, supplicant_iface_state_cb_handler, 
3320                    supplicant_iface_connection_state_cb_handler,
3321                    supplicant_mgr_state_cb_handler): fix some messages
3322
3323         * src/nm-device-802-3-ethernet.c
3324                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3325                         check IFF_UP really
3326
3327 2008-04-28  Dan Williams  <dcbw@redhat.com>
3328
3329         * src/nm-manager.c
3330           src/nm-manager.h
3331                 - (nm_manager_error_get_type): add new error
3332                 - (nm_manager_remove_device): don't bother taking down the device here,
3333                         the state change from unmanaging the device will do it
3334                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3335                         uses it; when going to sleep, just unmanage the device instead of
3336                         taking it down, because stuff will cleaned up correctly when the
3337                         device gets unmanaged
3338
3339 2008-04-28  Dan Williams  <dcbw@redhat.com>
3340
3341         * src/nm-hal-manager.c
3342                 - (add_initial_devices): convert to a GSourceFunc prototype
3343                 - (nm_manager_state_changed): when coming out of sleep, punt the
3344                         device re-addition to an idle handler to let D-Bus events go out
3345                         first, fixing a potential dbus-glib assert if the old device was
3346                         not yet disposed (due to references held while emitting the D-Bus
3347                         signals) but the new device was found, because the mainloop didn't
3348                         run between signal emission and add_initial_devices()
3349
3350 2008-04-27  Dan Williams  <dcbw@redhat.com>
3351
3352         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3353
3354         * initscript/paldo/NetworkManager.in
3355           initscript/SUSE/networkmanager.in
3356                 - Remove last bits of dhcdbd
3357
3358 2008-04-27  Dan Williams  <dcbw@redhat.com>
3359
3360         * src/nm-device-802-11-wireless.c
3361                 - (link_timeout_cb): don't ask for secrets when disconnected during
3362                         association/authentication phase, drivers are still just too crappy
3363
3364 2008-04-27  Dan Williams  <dcbw@redhat.com>
3365
3366         * Makefile.am
3367           configure.in
3368           dispatcher-daemon/Makefile.am
3369           dispatcher-daemon/NetworkManagerDispatcher.c
3370           initscript/Arch/Makefile.am
3371           initscript/Arch/networkmanager-dispatcher.in
3372           initscript/Gentoo/Makefile.am
3373           initscript/Gentoo/NetworkManagerDispatcher.in
3374           initscript/Mandriva/Makefile.am
3375           initscript/Mandriva/networkmanagerdispatcher.in
3376           initscript/RedHat/Makefile.am
3377           initscript/RedHat/NetworkManagerDispatcher.in
3378           initscript/SUSE/Makefile.am
3379           initscript/SUSE/networkmanager-dispatcher.in
3380           initscript/Slackware/Makefile.am
3381           initscript/Slackware/rc.networkmanager-dispatcher.in
3382           initscript/paldo/Makefile.am
3383           initscript/paldo/NetworkManagerDispatcher.in
3384           man/Makefile.am
3385           man/NetworkManagerDispatcher.8.in
3386                 - Remove the dispatcher daemon
3387
3388 2008-04-27  Dan Williams  <dcbw@redhat.com>
3389
3390         * callouts/Makefile.am
3391           callouts/nm-dispatcher-action.c
3392           callouts/nm-dispatcher-action.h
3393           callouts/nm-dispatcher.conf
3394           callouts/nm-dispatcher.xml
3395           callouts/org.freedesktop.nm_dispatcher.service
3396                 - Re-implement the dispatcher as a system-bus activated service that
3397                         NM calls on-demand, rather than an always running daemon
3398
3399         * src/Makefile.am
3400                 - Add callouts dir to includes to pick up dispatcher defines
3401
3402         * src/nm-device.c
3403                 - (nm_device_state_changed): call dispatcher on device activated/
3404                         deactivated
3405
3406         * src/vpn-manager/nm-vpn-connection.c
3407                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3408                         go up and down
3409
3410         * src/NetworkManagerUtils.c
3411           src/NetworkManagerUtils.h
3412                 - (nm_utils_call_dispatcher): helper to call dispatcher
3413
3414 2008-04-27  Dan Williams  <dcbw@redhat.com>
3415
3416         * src/NetworkManagerUtils.c
3417           src/NetworkManagerUtils.h
3418                 - remove unneeded includes
3419                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3420                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3421                    nm_timeval_cmp, nm_timeval_add): remove, unused
3422                 - clean up formatting
3423                 - (nm_spawn_process): de-uglify
3424
3425         * src/nm-device-802-11-wireless.c
3426                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3427
3428 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3429
3430         * initscript/Gentoo/NetworkManager.in:
3431                 Fix for starting the daemon.
3432
3433 2008-04-25  Dan Williams  <dcbw@redhat.com>
3434
3435         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3436
3437         * src/NetworkManagerSystem.c
3438                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3439
3440 2008-04-25  Dan Williams  <dcbw@redhat.com>
3441
3442         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3443
3444         * src/NetworkManagerSystem.c
3445                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3446                         implementation of nm_system_device_replace_default_route()
3447
3448         * src/NetworkManagerPolicy.c
3449                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3450
3451         * src/backends/NetworkManagerArch.c
3452           src/backends/NetworkManagerDebian.c
3453           src/backends/NetworkManagerFrugalware.c
3454           src/backends/NetworkManagerGeneric.c
3455           src/backends/NetworkManagerGeneric.h
3456           src/backends/NetworkManagerGentoo.c
3457           src/backends/NetworkManagerMandriva.c
3458           src/backends/NetworkManagerPaldo.c
3459           src/backends/NetworkManagerRedHat.c
3460           src/backends/NetworkManagerSlackware.c
3461           src/backends/NetworkManagerSuSE.c
3462                 - (nm_system_device_replace_default_route): remove
3463
3464 2008-04-25  Dan Williams  <dcbw@redhat.com>
3465
3466         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3467
3468         * src/NetworkManagerSystem.c
3469                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3470                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3471                         replace nm_system_device_add_route_via_device_with_iface() in the
3472                         backends
3473
3474         * src/backends/NetworkManagerArch.c
3475           src/backends/NetworkManagerDebian.c
3476           src/backends/NetworkManagerFrugalware.c
3477           src/backends/NetworkManagerGeneric.c
3478           src/backends/NetworkManagerGeneric.h
3479           src/backends/NetworkManagerGentoo.c
3480           src/backends/NetworkManagerMandriva.c
3481           src/backends/NetworkManagerPaldo.c
3482           src/backends/NetworkManagerRedHat.c
3483           src/backends/NetworkManagerSlackware.c
3484           src/backends/NetworkManagerSuSE.c
3485                 - Remove nm_system_device_add_route_via_device_with_iface()
3486
3487 2008-04-25  Dan Williams  <dcbw@redhat.com>
3488
3489         * system-settings/plugins/ifcfg-fedora/parser.c
3490                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3491
3492 2008-04-24  Dan Williams  <dcbw@redhat.com>
3493
3494         * dispatcher-daemon/NetworkManagerDispatcher.c
3495                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3496
3497 2008-04-24  Dan Williams  <dcbw@redhat.com>
3498
3499         * initscript/RedHat/NetworkManager.in
3500           initscript/RedHat/NetworkManagerDispatcher.in
3501                 - Be active at runlevel 2
3502                 - Adjust priorities earlier
3503
3504 2008-04-22  Dan Williams  <dcbw@redhat.com>
3505
3506         * src/NetworkManagerPolicy.c
3507                 - (update_routing_and_dns): when checking for a gateway, look at the
3508                         composite IP4 config, not the connection's ip4-config setting, which
3509                         doesn't include DHCP-returned information
3510
3511 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3512
3513         Implement GKeyFile system settings plugin.
3514         Implement writing system settings (currently supported only by GKeyFile plugin).
3515
3516         * system-settings/src/main.c: 
3517         * system-settings/src/dbus-settings.c: Move the communication with plugins
3518         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3519         plugins for adding/updating/removing connections.
3520
3521         * system-settings/src/nm-system-config-interface.c
3522         (nm_system_config_interface_add_connection): Implement
3523         (nm_system_config_interface_update_connection): Implement.
3524         (nm_system_config_interface_remove_connection): Implement.
3525
3526         * system-settings/plugins/keyfile/Makefile.am:
3527         * system-settings/plugins/keyfile/plugin.[ch]:
3528         * system-settings/plugins/keyfile/writer.[ch]:
3529         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3530
3531         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3532
3533         * configure.in: Generate GKeyFile Makefile.
3534
3535         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3536         corruption, need to duplicate the returned string.
3537         (impl_exported_connection_update): Implement.
3538         (impl_exported_connection_delete): Implement.
3539
3540         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3541
3542         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3543
3544 2008-04-22  Dan Williams  <dcbw@redhat.com>
3545
3546         Patch from Charles R. Anderson (cra@wpi.edu)
3547
3548         * src/NetworkManagerPolicy.c
3549                 - (update_routing_and_dns): don't select devices without a gateway
3550                         as having the default route (rh #437338)
3551
3552 2008-04-21  Dan Williams  <dcbw@redhat.com>
3553
3554         * src/nm-activation-request.c
3555           src/nm-activation-request.h
3556                 - (dispose): ensure to disconnect from the device's state-changed signal
3557                         when appropriate so the signal doesn't get handled by an already
3558                         disposed NMActRequest
3559                 - (device_state_changed): update is_default here too just to make sure
3560                         default is only True when the child device is activated
3561                 - (nm_act_request_set_default): new function
3562
3563         * src/NetworkManagerPolicy.c
3564                 - (update_routing_and_dns): set 'default' on the active connection which
3565                         has the default route and DNS
3566
3567 2008-04-21  Dan Williams  <dcbw@redhat.com>
3568
3569         * src/NetworkManagerPolicy.c
3570                 - (device_state_changed): update routing and DNS when a device goes
3571                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3572
3573 2008-04-21  Dan Williams  <dcbw@redhat.com>
3574
3575         * include/NetworkManager.h
3576                 - Add NMActiveConnectionState enum
3577
3578         * introspection/nm-active-connection.xml
3579           introspection/nm-vpn-connection.xml
3580                 - Add 'State' property for overall active connection state
3581                 - Add 'Default' property, when True means this active connection
3582                         has the default route
3583                 - Add PropertyChanged signals so changes actually go out over the bus
3584
3585         * src/nm-active-connection.h
3586                 - Add defines for State & Default properties
3587
3588         * src/nm-activation-request.c
3589                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3590                         signal to determine active connection state
3591
3592         * src/vpn-manager/nm-vpn-connection.c
3593           src/vpn-manager/nm-vpn-connection.h
3594           src/vpn-manager/nm-vpn-manager.c
3595           src/vpn-manager/nm-vpn-service.c
3596                 - Rename old 'state' to 'vpn-state'
3597                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3598                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3599                         'vpn-state-changed' signal
3600
3601         * libnm-glib/nm-active-connection.c
3602           libnm-glib/nm-active-connection.h
3603                 - Add new 'state' and 'default' properties and accessors
3604
3605         * libnm-glib/nm-vpn-connection.c
3606           libnm-glib/nm-vpn-connection.h
3607                 - Rename old 'state' property to 'vpn-state'
3608                 - Add new 'state' and 'default' properties and accessors
3609
3610 2008-04-21  Dan Williams  <dcbw@redhat.com>
3611
3612         * src/nm-ip4-config.c
3613                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3614                         not specified (rh #443474)
3615
3616 2008-04-20  Dan Williams  <dcbw@redhat.com>
3617
3618         * src/NetworkManagerUtils.c
3619           src/NetworkManagerUtils.h
3620                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3621                         NMSettingIP4Config to an NMIP4Config object
3622
3623         * src/nm-device.c
3624                 - (merge_ip4_config): move to NetworkManagerUtils.c
3625
3626         * src/vpn-manager/nm-vpn-connection.c
3627                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3628                         too
3629
3630 2008-04-18  Dan Williams  <dcbw@redhat.com>
3631
3632         * libnm-util/nm-setting-ppp.c
3633           libnm-util/nm-setting-ppp.h
3634                 - Add 'no-vj-comp' option for TCP header compression
3635                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3636                         uint32
3637
3638 2008-04-18  Dan Williams  <dcbw@redhat.com>
3639
3640         * libnm-util/nm-setting-ppp.c
3641           libnm-util/nm-setting-ppp.h
3642           src/ppp-manager/nm-ppp-manager.c
3643                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3644
3645 2008-04-18  Dan Williams  <dcbw@redhat.com>
3646
3647         * libnm-util/nm-setting-ppp.c
3648           libnm-util/nm-setting-ppp.h
3649           src/ppp-manager/nm-ppp-manager.c
3650                 - Remove the 'usepeerdns' option and always request DNS servers from
3651                         the PPP server; the connection chooses to use/override/ignore the
3652                         DNS servers returned from the PPP server
3653
3654 2008-04-18  Dan Williams  <dcbw@redhat.com>
3655
3656         * libnm-util/nm-setting-ppp.c
3657           libnm-util/nm-setting-ppp.h
3658           src/ppp-manager/nm-ppp-manager.c
3659                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3660                         it seems to have been an erroneous addition to the PPTP plugin in
3661                         the first place (from which the ppp-manager is derived)
3662
3663 2008-04-17  Dan Williams  <dcbw@redhat.com>
3664
3665         * libnm-util/nm-setting-pppoe.c
3666                 - (verify): require a PPP setting too
3667
3668         * src/ppp-manager/nm-ppp-manager.c
3669                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3670                         segfaulting
3671
3672 2008-04-17  Dan Williams  <dcbw@redhat.com>
3673
3674         * src/nm-device.c
3675                 - (nm_device_state_changed): do deactivation and and promotion to
3676                         unavailable here, so that the device gets cleaned up before the
3677                         manager runs and starts emitting signals; do the
3678                         FAILED->DISCONNECTED transition from an idle handler rather than
3679                         immediately to guard against recursion
3680                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3681                         FAILED->DISCONNECTED handler if it's scheduled
3682
3683 2008-04-17  Dan Williams  <dcbw@redhat.com>
3684
3685         * src/nm-device-802-11-wireless.c
3686                 - (state_changed_cb): clear AP list when device transitions to
3687                         unavailable or unmanaged
3688                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3689                         since this is already done in device_cleanup()
3690                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3691                         isn't available or managed
3692                 - (device_cleanup): use remove_all_aps()
3693                 - (remove_all_aps): consolidate code removing all APs
3694
3695 2008-04-17  Dan Williams  <dcbw@redhat.com>
3696
3697         * src/nm-serial-device.c
3698           src/nm-serial-device.h
3699                 - (wait_for_reply_got_data): break input into lines, and search each
3700                         line for responses _and_ terminator strings; also make sure that
3701                         the read loop doesn't continue after the timeout is supposed to fire
3702                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3703
3704         * src/nm-gsm-device.c
3705           src/nm-cdma-device.c
3706                 - Send terminators to nm_serial_device_wait_for_reply()
3707
3708 2008-04-16  Dan Williams  <dcbw@redhat.com>
3709
3710         Patch from 陈鑫 <znscnchen@gmail.com>
3711
3712         * src/ppp-manager/nm-pppd-plugin.c
3713                 - (get_credentials): return correct value for success; handle case where
3714                         pppd just does some checking but doesn't want a password
3715                 - (plugin_init): make CHAP work too
3716
3717 2008-04-16  Dan Williams  <dcbw@redhat.com>
3718
3719         Patch from 陈鑫 <znscnchen@gmail.com>
3720
3721         * src/ppp-manager/nm-ppp-manager.c
3722                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3723
3724 2008-04-16  Dan Williams  <dcbw@redhat.com>
3725
3726         Patch from 陈鑫 <znscnchen@gmail.com>
3727
3728         * src/nm-device-802-3-ethernet.c
3729                 - (real_deactivate_quickly): clear the IP interface name on
3730                         deactivation, otherwise the wrong interface might get used later
3731                         for routing and IP management
3732
3733 2008-04-15  Dan Williams  <dcbw@redhat.com>
3734
3735         * libnm-glib/nm-device.c
3736                 - (get_product_and_vendor): handle serial devices correctly
3737                 - (nm_device_update_description): pass device to get_product_and_vendor()
3738
3739 2008-04-15  Dan Williams  <dcbw@redhat.com>
3740
3741         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3742
3743         * src/NetworkManagerSystem.h
3744           src/backends/NetworkManagerArch.c
3745           src/backends/NetworkManagerDebian.c
3746           src/backends/NetworkManagerFrugalware.c
3747           src/backends/NetworkManagerGeneric.c
3748           src/backends/NetworkManagerGeneric.h
3749           src/backends/NetworkManagerGentoo.c
3750           src/backends/NetworkManagerMandriva.c
3751           src/backends/NetworkManagerPaldo.c
3752           src/backends/NetworkManagerRedHat.c
3753           src/backends/NetworkManagerSlackware.c
3754           src/backends/NetworkManagerSuSE.c
3755           src/nm-device.c
3756                 - (nm_generic_device_add_ip6_link_address,
3757                    nm_system_device_add_ip6_link_address): remove
3758
3759 2008-04-15  Dan Williams  <dcbw@redhat.com>
3760
3761         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3762
3763         * src/backends/NetworkManagerArch.c
3764           src/backends/NetworkManagerDebian.c
3765           src/backends/NetworkManagerFrugalware.c
3766           src/backends/NetworkManagerGeneric.c
3767           src/backends/NetworkManagerGeneric.h
3768           src/backends/NetworkManagerGentoo.c
3769           src/backends/NetworkManagerMandriva.c
3770           src/backends/NetworkManagerPaldo.c
3771           src/backends/NetworkManagerRedHat.c
3772           src/backends/NetworkManagerSlackware.c
3773           src/backends/NetworkManagerSuSE.c
3774           src/NetworkManagerSystem.h
3775                 - flush_routes -> flush_ip4_routes
3776                 - flush_addresses -> flush_ip4_addresses
3777
3778         * src/NetworkManagerSystem.c
3779           src/nm-device.c
3780           src/vpn-manager/nm-vpn-connection.c
3781                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3782
3783 2008-04-15  Dan Williams  <dcbw@redhat.com>
3784
3785         Remove exposure of wireless-tools mode types in the API.
3786
3787         * include/NetworkManager.h
3788                 - Define NM80211Mode enum
3789
3790         * introspection/generic-types.xml
3791                 - Describe NM_802_11_MODE enum
3792                 - Remove IW_MODE_* enum
3793
3794         * introspection/nm-access-point.xml
3795           libnm-glib/nm-access-point.c
3796           libnm-glib/nm-access-point.h
3797                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3798
3799         * introspection/nm-device-802-11-wireless.xml
3800           libnm-glib/nm-device-802-11-wireless.c
3801           libnm-glib/nm-device-802-11-wireless.h
3802                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3803
3804         * libnm-util/nm-setting-wireless.c
3805           src/NetworkManagerAP.c
3806           src/NetworkManagerAP.h
3807           src/nm-device-802-11-wireless.c
3808           src/nm-device-802-11-wireless.h
3809           test/nm-tool.c
3810                 - Use NM80211Mode not IW_MODE_*
3811
3812 2008-04-15  Dan Williams  <dcbw@redhat.com>
3813
3814         Enhance nm-online based on a patch from Bill Nottingham.
3815
3816         * test/nm-online.c
3817                 - Add a '-q' option
3818                 - Add help messages and option summary
3819                 - Add long-format options
3820                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3821
3822 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3823
3824         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3825
3826         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3827
3828 2008-04-15  Dan Williams  <dcbw@redhat.com>
3829
3830         * nm-setting-ip4-config.c
3831                 - (ip4_addresses_from_gvalue): handle NULL address array
3832
3833         * nm-setting-8021x.c
3834                 - (verify_tls, verify_ttls): warn on failed verification
3835
3836 2008-04-10  Dan Williams  <dcbw@redhat.com>
3837
3838         * src/nm-gsm-device.c
3839                 - (automatic_registration): accept "+CREG: 0,0"
3840                 - (automatic_registration_response): fail on "+CREG: 0,0"
3841
3842 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3843
3844         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3845
3846 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3847
3848         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3849         Make it compile again by commenting out broken code that at first didn't work and
3850         now didn't compile either.
3851
3852 2008-04-08  Dan Williams  <dcbw@redhat.com>
3853
3854         * libnm-glib/nm-object-cache.c
3855           libnm-glib/nm-settings.c
3856           src/dhcp-manager/nm-dhcp-manager.c
3857           system-settings/plugins/ifcfg-fedora/plugin.c
3858           system-settings/plugins/ifcfg-suse/plugin.c
3859           system-settings/src/nm-system-config-hal-manager.c
3860           libnm-util/nm-utils.c
3861                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3862                         not threadsafe anyway
3863
3864 2008-04-08  Dan Williams  <dcbw@redhat.com>
3865
3866         * system-settings/src/main.c
3867                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3868                         callbacks take a device type too
3869
3870 2008-04-08  Dan Williams  <dcbw@redhat.com>
3871
3872         The system settings service will now create a new default DHCP connection
3873         for wired devices that have no existing applicable connection.
3874
3875         * system-settings/src/nm-system-config-hal-manager.c
3876           system-settings/src/nm-system-config-hal-manager.h
3877                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3878
3879         * system-settings/src/dbus-settings.c
3880           system-settings/src/dbus-settings.h
3881                 - (nm_sysconfig_settings_get_connections): new function
3882                 - (nm_sysconfig_settings_is_device_managed): new function
3883
3884         * system-settings/src/main.c
3885                 - (load_stuff): check for wired devices that need a default connection
3886                 - (get_details_for_udi): get interface and MAC address from HAL
3887                 - (add_default_dhcp_connection): add a default connection for a wired
3888                         device if needed
3889                 - (device_added_cb, device_removed_cb): do the right thing with
3890                         wired devices and their default connections on HAL device events
3891
3892 2008-04-07  Dan Williams  <dcbw@redhat.com>
3893
3894         * libnm-glib/nm-device.c
3895           libnm-glib/nm-device.h
3896                 - Proxy the 'managed' property
3897
3898 2008-04-07  Dan Williams  <dcbw@redhat.com>
3899
3900         * src/nm-gsm-device.c
3901           src/nm-cdma-device.c
3902                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3903                         handler to transition to DISCONNECTED
3904
3905 2008-04-07  Dan Williams  <dcbw@redhat.com>
3906
3907         Patch from Bill Nottingham
3908
3909         * dispatcher-daemon/NetworkManagerDispatcher.c
3910                 - ignore backup/packaging crufy (rh #440143)
3911
3912 2008-04-07  Dan Williams  <dcbw@redhat.com>
3913
3914         * include/NetworkManager.h
3915                 - Remove the DOWN and CANCELLED device states
3916                 - Add UNMANAGED and UNAVAILABLE device states
3917                 - Document the device states
3918
3919         * introspection/nm-device.xml
3920           src/nm-device-interface.c
3921           src/nm-device-interface.h
3922                 - Add the 'managed' property
3923
3924         * test/nm-tool.c
3925                 - (detail_device): print out device state
3926
3927         * src/NetworkManagerSystem.h
3928           src/backends/NetworkManagerArch.c
3929           src/backends/NetworkManagerDebian.c
3930           src/backends/NetworkManagerFrugalware.c
3931           src/backends/NetworkManagerGentoo.c
3932           src/backends/NetworkManagerMandriva.c
3933           src/backends/NetworkManagerPaldo.c
3934           src/backends/NetworkManagerRedHat.c
3935           src/backends/NetworkManagerSlackware.c
3936           src/backends/NetworkManagerSuSE.c
3937                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3938                    nm_system_device_free_system_config): remove; they were unused and
3939                         their functionality should be re-implemented in each distro's
3940                         system settings service plugin 
3941
3942         * src/nm-gsm-device.c
3943           src/nm-gsm-device.h
3944           src/nm-cdma-device.c
3945           src/nm-cdma-device.h
3946                 - (*_new): take the 'managed' argument
3947
3948         * src/nm-device.c
3949                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3950                 - (nm_device_init): start in unmanaged state, not disconnected
3951                 - (constructor): don't start device until the system settings service
3952                         has had a chance to figure out if the device is managed or not
3953                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3954                         don't set device state here, let callers handle that as appropriate
3955                 - (nm_device_dispose): don't touch the device if it's not managed
3956                 - (set_property, get_property, nm_device_class_init): implement the
3957                         'managed' property
3958                 - (nm_device_state_changed): bring the device up if its now managed,
3959                         and deactivate it if it used to be active
3960                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3961                         with the managed state
3962
3963         * src/nm-hal-manager.c
3964                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3965                         take initial managed state and pass it along to device constructors
3966                 - (create_device_and_add_to_list): get managed state and pass to
3967                         type creators
3968
3969         * src/nm-device-802-11-wireless.c
3970                 - (real_can_activate): fold in most of
3971                         nm_device_802_11_wireless_can_activate()
3972                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3973                 - (link_timeout_cb): instead of deactivating, change device state and
3974                         let the device state handler to it
3975                 - (real_update_hw_address): clean up
3976                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3977                         handler to transition to DISCONNECTED if the device isn't rfkilled
3978
3979         * src/nm-device-802-3-ethernet.c
3980                 - (set_carrier): move above callers and get rid of prototype
3981                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3982                         idle handler to transition to DISCONNECTED if the device has a
3983                         carrier
3984                 - (real_update_hw_address): clean up
3985                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3986                         deactivation directly as deactivation doesn't change state anymore
3987
3988         * src/NetworkManagerPolicy.c
3989                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3990                         the NMManager and wireless devices work that out themselves now
3991                 - (device_state_changed): change to a switch and update for new device
3992                         states
3993                 - (device_carrier_changed): remove; device handles this now through
3994                         state changes
3995                 - (device_added): don't care about carrier any more; the initial
3996                         activation check will happen when the device transitions to
3997                         DISCONNECTED
3998
3999         * src/nm-manager.c
4000                 - (dispose): clear unmanaged devices
4001                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4002                         the managed property on each device when needed
4003                 - (system_settings_properties_changed_cb): handle signals from the
4004                         system settings service
4005                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4006                         getting the unmanaged device list method call
4007                 - (query_unmanaged_devices): ask the system settings service for its
4008                         list of unmanaged devices
4009                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4010                         devices
4011                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4012                         devices directly and let them handle the necessary state transitions
4013                 - (manager_device_state_changed): update for new device states
4014                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4015                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4016                 - (nm_manager_activate_connection): return error if the device is
4017                         unmanaged
4018                 - (nm_manager_sleep): handle new device states correctly; don't change
4019                         the state of unavailable/unmanaged devices
4020
4021         * libnm-glib/nm-device-802-11-wireless.c
4022                 - (state_changed_cb): update for new device states
4023
4024 2008-04-07  Dan Williams  <dcbw@redhat.com>
4025
4026         * marshallers/nm-marshal.list
4027                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4028
4029 2008-04-07  Dan Williams  <dcbw@redhat.com>
4030
4031         * system-settings/src/main.c
4032                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4033                         plugins to the dbus settings object
4034                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4035                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4036                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4037                 - (main): switch default logging to syslog with a 'debug' option to
4038                         output to console; start up the HAL manager
4039
4040 2008-04-07  Dan Williams  <dcbw@redhat.com>
4041
4042         * introspection/nm-settings-system.xml
4043           introspection/Makefile.am
4044                 - Define the unmanaged devices interface for the system settings service
4045
4046         * system-settings/src/nm-system-config-hal-manager.c
4047           system-settings/src/nm-system-config-hal-manager.h
4048           system-settings/src/nm-system-config-hal-manager-private.h
4049           system-settings/src/Makefile.am
4050                 - Add a lightweight HAL manager object for tracking network devices for
4051                         the purpose of determining unmanaged devices and which devices need
4052                         the default DHCP connections
4053
4054         * system-settings/src/nm-system-config-interface.c
4055           system-settings/src/nm-system-config-interface.h
4056                 - (nm_system_config_interface_init): add the HAL manager as an argument
4057                 - (nm_system_config_interface_get_unmanaged_devices): implement
4058                 - Define 'unmanaged-devices-changed' signal
4059
4060         * system-settings/src/dbus-settings.c
4061           system-settings/src/dbus-settings.h
4062                 - Implement the unmanaged devices interface; some cleanups
4063
4064         * system-settings/plugins/ifcfg-suse/plugin.c
4065                 - Fixup for plugin interface changes
4066
4067         * system-settings/plugins/ifcfg-fedora/plugin.c
4068                 - (get_ether_device_udi): new function; find the device that has
4069                         a specified MAC address and return its UDI
4070                 - (get_udi_for_connection): new function; try to find the specific
4071                         device a connection is locked to, if any
4072                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4073                         response to HAL events
4074                 - (get_unmanaged_devices): new function; return unmanaged device list
4075                 - (build_one_connection): set the connection's locked device, if any
4076                 - (write_auto_wired_connection): remove
4077                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4078                 - (handle_connection_changed): alert listeners that the unmanaged device
4079                         list has changed
4080                 - (init): fixup for plugin interface changes, implement unmanaged devices
4081
4082         * system-settings/plugins/ifcfg-fedora/parser.c
4083           system-settings/plugins/ifcfg-fedora/parser.h
4084                 - (connection_data_free): clean up connection UDI
4085
4086 2008-04-07  Dan Williams  <dcbw@redhat.com>
4087
4088         * system-settings/plugins/ifcfg-fedora/parser.c
4089                 - (make_ip4_setting): fix parsing of DNS servers
4090
4091 2008-04-05  Dan Williams  <dcbw@redhat.com>
4092
4093         * Makefile.am
4094           configure.in
4095           marshallers/Makefile.am
4096           marshallers/nm-marshal-main.c
4097           marshallers/nm-marshal.list
4098                 - Consolidate marshallers
4099
4100         * libnm-glib/nm-marshal-main.c
4101           libnm-glib/nm-marshal.list
4102           src/marshallers/Makefile.am
4103           src/marshallers/nm-marshal-main.c
4104           src/marshallers/nm-marshal.list
4105                 - Remove
4106
4107         * libnm-glib/Makefile.am
4108           src/Makefile.am
4109           src/dhcp-manager/Makefile.am
4110           src/ppp-manager/Makefile.am
4111           src/supplicant-manager/Makefile.am
4112           src/vpn-manager/Makefile.am
4113                 - Use consolidated marshallers
4114
4115 2008-04-04  Dan Williams  <dcbw@redhat.com>
4116
4117         * src/nm-hal-manager.c
4118           src/nm-hal-manager.h
4119                 - (hal_init): don't look for hardware here
4120                 - (nm_hal_manager_start): new function; look for hardware here instead,
4121                         which can be done at a later time than hal_init()
4122
4123         * src/NetworkManager.c
4124                 - (main): start HAL manager after entering the main loop
4125
4126 2008-04-03  Dan Williams  <dcbw@redhat.com>
4127
4128         * libnm-glib/nm-settings.c
4129           libnm-glib/nm-settings.h
4130             - (nm_exported_connection_get_id): new function
4131                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4132
4133 2008-04-02  Dan Williams  <dcbw@redhat.com>
4134
4135         * src/nm-device-interface.c
4136           src/nm-device-interface.h
4137           src/nm-device.c
4138           src/nm-device.h
4139                 - Rename check_connection_conflicts() to check_connection_compatible()
4140
4141         * src/nm-device-802-11-wireless.c
4142                 - (real_check_connection_conflicts): remove
4143                 - (real_check_connection_compatible): implement; match MAC address
4144
4145         * src/nm-device-802-3-ethernet.c
4146                 - (real_check_connection_conflicts): remove
4147                 - (real_check_connection_compatible): implement; match MAC address
4148                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4149
4150         * src/nm-manager.c
4151                 - (check_connection_allowed): remove; unused until PolicyKit integration
4152                 - (internal_activate_device): check whether the connection is compatible
4153                         with the device before trying to activate it
4154
4155 2008-04-02  Dan Williams  <dcbw@redhat.com>
4156
4157         * system-settings/plugins/ifcfg-fedora/parser.c
4158                 - (read_mac_address): new function; read in MAC address and stuff it
4159                         into the connection
4160                 - (add_one_wep_key): remove debug spew
4161                 - (make_wireless_security_setting): validate the default TX key; don't
4162                         add the wireless-security setting if the connection doesn't need
4163                         security; don't leak the keys shvarFile on error cases
4164                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4165                         address
4166
4167 2008-04-02  Dan Williams  <dcbw@redhat.com>
4168
4169         * libnm-util/nm-setting-connection.c
4170           libnm-util/nm-setting-connection.h
4171                 - (set_property, get_property, nm_setting_connection_class_init): remove
4172                         the 'lockdown' property; it's functionality will be replaced by
4173                         PolicyKit instead
4174
4175 2008-04-01  Dan Williams  <dcbw@redhat.com>
4176
4177         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4178
4179         * configure.in
4180           initscript/Makefile.am
4181           initscript/Mandriva/Makefile.am
4182           initscript/Mandriva/networkmanager.in
4183           initscript/Mandriva/networkmanagerdispatcher.in
4184           src/backends/Makefile.am
4185           src/backends/NetworkManagerMandriva.c
4186           system-settings/plugins/Makefile.am
4187                 - Add Mandriva support
4188
4189 2008-03-31  Dan Williams  <dcbw@redhat.com>
4190
4191         * src/vpn-manager/nm-vpn-service.c
4192                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4193                         errors can be passed back to the caller; also no longer scheduled
4194                         as an idle handler, but called directly; and bump up VPN service
4195                         spawn timeout, 2s is really short
4196                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4197                         but call it directly so that errors are reported on return from
4198                         ActivateConnection() and don't get lost.  If scheduled as an idle
4199                         handler, clients don't have the time to query NM for the new VPN
4200                         connection's properties before the VPN connection is torn down again
4201                         if the service couldn't be launched, and therefore launch errors
4202                         get lost.
4203
4204 2008-03-31  Dan Williams  <dcbw@redhat.com>
4205
4206         * src/vpn-manager/nm-vpn-connection.c
4207                 - (device_state_changed): send correct state on device failure too
4208                 - (plugin_state_changed): failed state means unexpected disconnection,
4209                         thus if the service goes away while the VPN connection is activated
4210                         that's a failure too
4211
4212 2008-03-31  Dan Williams  <dcbw@redhat.com>
4213
4214         * src/vpn-manager/nm-vpn-manager.c
4215           src/vpn-manager/nm-vpn-manager.h
4216                 - Make VPNManager errors more available; add a service-start-failed error
4217
4218 2008-03-31  Dan Williams  <dcbw@redhat.com>
4219
4220         * libnm-glib/nm-client.c
4221           libnm-glib/nm-client.h
4222                 - (activate_cb): pass the new active connection to callback; fix
4223                         message when no callback is specified
4224
4225 2008-03-30  Dan Williams  <dcbw@redhat.com>
4226
4227         * libnm-util/nm-setting-wireless-security.c
4228                 - (need_secrets): only require key0 if the transmit key index is also
4229                         0
4230                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4231
4232 2008-03-29  Dan Williams  <dcbw@redhat.com>
4233
4234         * libnm-util/nm-setting-8021x.c
4235           libnm-util/nm-setting-ip4-config.c
4236           libnm-util/nm-setting-vpn-properties.c
4237           libnm-util/nm-setting-vpn.c
4238           libnm-util/nm-setting-wireless-security.c
4239           libnm-util/nm-setting-wireless.c
4240           libnm-util/nm-utils.c
4241           src/dhcp-manager/nm-dhcp-manager.c
4242           src/nm-activation-request.c
4243           src/nm-ip4-config.c
4244           src/nm-manager.c
4245           src/nm-properties-changed-signal.c
4246           src/ppp-manager/nm-pppd-plugin.c
4247           src/supplicant-manager/nm-supplicant-interface.c
4248           src/vpn-manager/nm-vpn-connection.c
4249                 - consistently use nm-dbus-glib-types.h
4250
4251 2008-03-29  Dan Williams  <dcbw@redhat.com>
4252
4253         * src/vpn-manager/nm-vpn-connection.c
4254                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4255                         not string
4256
4257         * src/nm-activation-request.c
4258                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4259                         not string
4260
4261 2008-03-29  Dan Williams  <dcbw@redhat.com>
4262
4263         * libnm-glib/nm-device-802-11-wireless.c
4264                 - (access_point_added_proxy): create new APs if not found
4265
4266 2008-03-29  Dan Williams  <dcbw@redhat.com>
4267
4268         * libnm-glib/nm-client.c
4269                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4270                         before freeing them
4271
4272 2008-03-29  Dan Williams  <dcbw@redhat.com>
4273
4274         * system-settings/plugins/ifcfg-fedora/parser.c
4275                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4276                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4277
4278 2008-03-29  Dan Williams  <dcbw@redhat.com>
4279
4280         * system-settings/plugins/ifcfg-fedora/parser.c
4281                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4282
4283 2008-03-27  Dan Williams  <dcbw@redhat.com>
4284
4285         * nm-object.c
4286                 - (nm_object_queue_notify): don't notify multiple times for the same
4287                         property
4288
4289         * nm-object-private.h
4290                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4291                         if it has zero elements
4292
4293         * nm-ip4-config.c
4294                 - (finalize): use g_ptr_array_foreach() when freeing domains
4295                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4296
4297         * nm-active-connection.c
4298                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4299
4300         * nm-device-802-11-wireless.c
4301           nm-device-802-11-wireless.h
4302                 - (nm_device_802_11_wireless_get_access_points): return const; use
4303                         handle_ptr_array_return()
4304
4305         * nm-types.c
4306                 - (nm_object_array_demarshal): always create an array, even of length
4307                         zero, to distinguish between "NM returned no items" and "haven't
4308                         asked NM yet"
4309
4310         * nm-client.c
4311                 - (dispose): free active connections too
4312                 - (proxy_name_owner_changed): free active connections too when NM goes
4313                         away
4314                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4315                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4316
4317 2008-03-26  Dan Williams  <dcbw@redhat.com>
4318
4319         Rework VPN connection handling for a more consistent D-Bus API.  The
4320         VPNManager object has been removed, and active VPN connections are now the
4321         same as any other active connection.  The Manager object's ActivateConnection
4322         and DeactivateConnection methods are used to start and stop a VPN connection,
4323         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4324         When activating a VPN connection, pass the path of the active connection
4325         to which the VPN connection is tied in the 'specific_object' argument.
4326
4327         Consequently, the libnm-glib API has been reworked to match this arrangement,
4328         with the VPNManager object removed, and the NMVPNConnection objects now
4329         being subclasses of NMActiveConnection.
4330
4331 2008-03-25  Dan Williams  <dcbw@redhat.com>
4332
4333         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4334
4335         * initscript/Arch/networkmanager.in
4336           initscript/Arch/networkmanager-dispatcher.in
4337                 - Updates for Arch Linux (gnome.org #523701)
4338
4339 2008-03-25  Dan Williams  <dcbw@redhat.com>
4340
4341         * libnm-glib/nm-ip4-config.c
4342           libnm-glib/nm-active-connection.c
4343           libnm-glib/nm-access-point.c
4344                 - Use nm_object_queue_notify() instead of g_object_notify()
4345
4346         * libnm-glib/nm-device.c
4347                 - (demarshal_ip4_config): distinguish between successful but missing
4348                         ip4-config request, and unsuccessful and missing ip4-config request
4349                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4350                         path
4351                 - Use nm_object_queue_notify() instead of g_object_notify()
4352
4353         * libnm-glib/nm-device-802-11-wireless.c
4354                 - (demarshal_active_ap): distinguish between successfull but missing
4355                         active-ap request, and unsuccessful and missing active-ap request
4356                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4357                         code
4358                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4359                         for the NMClient to notify the device that wireless is disabled,
4360                         and therefore to clear the AP list and active AP
4361                 - Use nm_object_queue_notify() instead of g_object_notify()
4362
4363         * libnm-glib/nm-client.c
4364                 - (poke_wireless_devices_with_rf_status): new function
4365                 - (update_wireless_status): notify wireless devices of the rfkill status
4366                         so they can clean up if needed
4367                 - Use nm_object_queue_notify() instead of g_object_notify()
4368
4369 2008-03-25  Dan Williams  <dcbw@redhat.com>
4370
4371         * libnm-glib/nm-object.c
4372           libnm-glib/nm-object-private.h
4373                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4374                         signals to an idle handler
4375                 - (nm_object_get_property): add a timeout to the D-Bus method call
4376
4377 2008-03-25  Dan Williams  <dcbw@redhat.com>
4378
4379         * introspection/nm-device-cdma.xml
4380           introspection/nm-device-gsm.xml
4381           introspection/Makefile.am
4382           introspection/all.xml
4383                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4384
4385         * src/nm-gsm-device.h
4386           src/nm-gsm-device.c
4387           src/nm-cdma-device.h
4388           src/nm-cdma-device.c
4389           src/Makefile.am
4390                 - Implement PropertiesChanged signals
4391
4392         * libnm-glib/nm-cdma-device.c
4393           libnm-glib/nm-cdma-device.c
4394                 - Attach to PropertiesChanged signals
4395
4396 2008-03-24  Dan Williams  <dcbw@redhat.com>
4397
4398         * libnm-glib/nm-client.c
4399                 - (client_device_added_proxy): add new devices to the internal device
4400                         list so they appear to clients
4401
4402 2008-03-24  Dan Williams  <dcbw@redhat.com>
4403
4404         Massive fixup of libnm-glib to:
4405         a) have all objects (with the exception of VPN) cache their properties and
4406                 update them asynchronously on PropertiesChanged signals from NM
4407         b) return internal const data for most attributes/properties instead of
4408                 allocated values that the caller must free
4409         c) cache wrapped objects such that a given D-Bus path will always map to the
4410                 same GObject returned by libnm-glib
4411         d) remove a few signals and move them to GObject property notifications
4412         e) match recent NM D-Bus API changes for activation/deactivation
4413         f) remove some private functions from libnm-glib headers
4414
4415 2008-03-20  Dan Williams  <dcbw@redhat.com>
4416
4417         * src/nm-manager.c
4418                 - (nm_manager_update_state, manager_device_state_changed,
4419                    nm_manager_activate_device, connection_added_default_handler,
4420                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4421                         queue PropertyChanged singals when the active connections change
4422
4423 2008-03-20  Dan Williams  <dcbw@redhat.com>
4424
4425         * introspection/nm-manager.xml
4426           introspection/nm-manager-client.xml
4427                 - (ActivateConnection): return the object path of the active connection
4428                         on success
4429                 - (GetActiveConnections): remove
4430                 - (DeactivateConnection): new function; deactivate a currently active
4431                         connection
4432                 - Add an ActiveConnections property which returns an array of
4433                         active connection object paths
4434
4435         * introspection/nm-device.xml
4436                 - (Deactivate): remove
4437
4438         * introspection/all.xml
4439                 - Add ActiveConnection introspection
4440
4441         * introspection/nm-active-connection.xml
4442                 - Add the ActiveConnection object
4443
4444         * include/NetworkManager.h
4445                 - Add the Connection.Active D-Bus interface
4446
4447         * src/nm-device-interface.c
4448                 - (impl_device_deactivate): remove
4449
4450         * src/nm-activation-request.c
4451           src/nm-activation-request.c
4452           src/Makefile.am
4453                 - Implement the Connection.Active D-Bus interface
4454
4455         * src/nm-manager.c
4456                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4457                 - (nm_manager_activate_device): return the active connection path
4458                 - (connection_added_default_handler, impl_manager_activate_connection):
4459                         return the active connection to the caller
4460                 - (add_one_connection_element, impl_manager_get_active_connections):
4461                         remove
4462                 - (impl_manager_deactivate_connection): new function; deactivate an
4463                         active connection
4464
4465         * libnm-glib/nm-device.c
4466           libnm-glib/nm-device.h
4467                 - Remove Deactivate() function
4468
4469 2008-03-19  Dan Williams  <dcbw@redhat.com>
4470
4471         * introspection/nm-manager.xml
4472           introspection/nm-manager-client.xml
4473                 - Rename the ActivateDevice method to ActivateConnection to better
4474                         reflect it's usage; it's arguments get reordered a bit too
4475                 - Convert GetActiveConnections method return from a struct to a dict
4476
4477         * include/NetworkManager.h
4478                 - Define the dict keys for return value of GetActiveConnections
4479
4480         * src/nm-manager.c
4481                 - impl_manager_activate_device -> impl_manager_activate_connection
4482                 - (add_one_connection_element): return a populated hash table, not
4483                         a structure
4484
4485         * libnm-glib/nm-client.c
4486           libnm-glib/nm-client.h
4487                 - nm_client_activate_device -> nm_client_activate_connection
4488                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4489                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4490                         instead of the custom structures.  Each element of the returned list
4491                         must be freed with nm_client_free_active_connections_element()
4492
4493 2008-03-18  Dan Williams  <dcbw@redhat.com>
4494
4495         * system-settings/plugins/ifcfg-fedora/parser.c
4496           system-settings/plugins/ifcfg-fedora/parser.h
4497           system-settings/plugins/ifcfg-fedora/plugin.c
4498                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4499                         profiles.  DNS servers and searches must now be stored in the ifcfg
4500                         files themselves
4501
4502 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4503
4504         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4505         print out username and password, it's supposed to be a secret.
4506
4507         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4508         request and set the device state accordingly.
4509
4510 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4511
4512         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4513
4514         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4515
4516 2008-03-18  Dan Williams  <dcbw@redhat.com>
4517
4518         * src/vpn-manager/nm-vpn-connection.c
4519                 - (get_secrets_cb): handle new GetSecrets return format
4520
4521 2008-03-18  Dan Williams  <dcbw@redhat.com>
4522
4523         Adapt system settings service for split 802.1x.
4524
4525         * system-settings/src/nm-system-config-interface.h
4526                 - clarify return value of get_secrets()
4527
4528         * system-settings/src/dbus-settings.c
4529                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4530                 - (check_for_secrets): check if there actually secrets returned by a
4531                         plugin
4532                 - (exported_connection_get_secrets): just return the plugin-returned
4533                         hash of settings' secrets if it looks valid
4534
4535         * system-settings/plugins/ifcfg-fedora/plugin.c
4536                 - (get_secrets): add split secrets with correct format to reply hash
4537
4538         * system-settings/plugins/ifcfg-fedora/parser.c
4539           system-settings/plugins/ifcfg-fedora/parser.h
4540                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4541                    connection_data_free, connection_data_add): keep secrets for
4542                         different settings in different hashes
4543
4544 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4545
4546         Clean up activating device deactivation.
4547
4548         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4549         should be done whether the device activation gets cancelled or the device
4550         is just getting deactivated.
4551         (nm_device_activation_cancel): Remove.
4552         (nm_device_deactivate_quickly): Handle the case where device is activating.
4553
4554         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4555         It does the exact same thing as real_deactivate_quickly().
4556
4557 2008-03-17  Dan Williams  <dcbw@redhat.com>
4558
4559         Split the 802.1x bits out of the wireless-security setting so they are
4560         generalized enough for wired 802.1x to use too.
4561
4562         * introspection/nm-exported-connection.xml
4563                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4564                         of just a hash of the secrets for one setting
4565
4566         * libnm-util/nm-setting-wireless-security.c
4567           libnm-util/nm-setting-wireless-security.h
4568                 - Remove 802.1x-specific stuff
4569                 - Added leap-username and leap-password properties for old-school LEAP
4570
4571         * src/nm-device.c
4572           src/nm-device.h
4573                 - (connection_secrets_updated_cb): take a list of updated settings names,
4574                         not just one
4575
4576         * src/supplicant-manager/nm-supplicant-config.c
4577           src/supplicant-manager/nm-supplicant-config.h
4578                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4579                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4580                         to nm_supplicant_config_add_setting_8021x()
4581                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4582                         the supplicant config
4583
4584         * src/nm-device-802-11-wireless.c
4585                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4586                 - (real_connection_secrets_updated): take a list of updated settings
4587                         names, not just one
4588
4589         * src/nm-device-802-3-ethernet.c
4590           src/nm-cdma-device.c
4591           src/nm-gsm-device.c
4592                 - (real_connection_secrets_updated_cb): take a list of updated settings
4593                         names, not just one
4594
4595         * src/nm-activation-request.c
4596           src/nm-activation-request.h
4597                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4598                         now passes a list of updated settings names, not just one
4599                 - (update_one_setting): new function; handle one updated setting
4600                 - (get_secrets_cb): handle multiple settings returned from the
4601                         settings service; have to be careful of ordering here as there are
4602                         some dependencies between settings (ex. wireless-security and 802.1x
4603                         in some cases)
4604
4605         * src/marshallers/nm-marshal.list
4606                 - new marshaller for connection-secrets-updated signal
4607
4608         * libnm-util/nm-setting-8021x.c
4609                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4610                         methods
4611                 - (verify): a valid 'eap' property is now required
4612
4613         * libnm-util/nm-connection.c
4614                 - (register_default_settings): add priorities to settings; there are
4615                         some dependencies between settings, and during the need_secrets
4616                         calls this priority needs to be respected.  For example, only the
4617                         wireless-security setting knows whether or not the connection is
4618                         going to use 802.1x or now, so it must be asked for secrets before
4619                         any existing 802.1x setting is
4620                 - (nm_connection_lookup_setting_type): expose
4621
4622         * libnm-util/nm-setting-wireless.c
4623                 - (verify): should verify even if all_settings is NULL; otherwise won't
4624                         catch the case where there is missing security
4625
4626         * libnm-util/nm-setting-wireless-security.c
4627                 - Remove everything to do with 802.1x
4628                 - Add old-school LEAP specific properties for username and password
4629                 - (need_secrets): rework LEAP secrets checking
4630                 - (verify): rework for LEAP and 802.1x verification
4631
4632 2008-03-17  Dan Williams  <dcbw@redhat.com>
4633
4634         * src/NetworkManagerPolicy.c
4635                 - (auto_activate_device): always remove the current activation check
4636                         from the pending activation list, otherwise when the policy gets
4637                         destroyed on NM exit it will attempt to free the already freed
4638                         activation check
4639
4640 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4641
4642         * src/backends/NetworkManagerSlackware.c 
4643         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4644
4645         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4646
4647 2008-03-14  Dan Williams  <dcbw@redhat.com>
4648
4649         * src/nm-manager.c
4650                 - (nm_device_interface_get_iface): g_object_get() will return an
4651                         allocated value, so this function must not return const
4652                 - (nm_device_interface_activate): free returned iface
4653
4654 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4655
4656         * libnm-util/Makefile.am: Add new files to build.
4657
4658         * libnm-util/nm-connection.c: Register NMSetting8021x.
4659
4660         * libnm-util/nm-setting-8021x.c
4661         * libnm-util/nm-setting-8021x.h: Implement.
4662
4663 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4664
4665         * libnm-util/Makefile.am: Add new files to build.
4666
4667         * libnm-util/nm-connection.c: Register NMSetting8021x.
4668
4669         * libnm-util/nm-setting-8021x.c
4670         * libnm-util/nm-setting-8021x.h: Implement.
4671
4672 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4673
4674         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4675         data.
4676
4677 2008-03-14  Dan Williams  <dcbw@redhat.com>
4678
4679         * include/wireless-helper.h
4680           include/Makefile.am
4681                 - One place for all the junk needed for #including wireless.h
4682
4683         * test/nm-tool.c
4684           src/NetworkManagerAP.c
4685           src/wpa.c
4686           src/Makefile.am
4687           libnm-util/nm-utils.c
4688           libnm-util/nm-setting-wireless.c
4689           libnm-glib/nm-device-802-11-wireless.c
4690           libnm-glib/nm-access-point.c
4691           libnm-glib/libnm-glib-test.c
4692                 - include wireless-helper.h, not iwlib.h
4693
4694         * configure.in
4695                 - Don't need libiw really, just need to check for wireless.h
4696
4697         * src/kernel-types.h
4698                 - Remove; used types moved into wpa.c
4699
4700         * src/nm-device-802-11-wireless.c
4701                 - (nm_device_802_11_wireless_update_signal_strength,
4702                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4703                    nm_device_802_11_wireless_set_mode,
4704                    nm_device_802_11_wireless_get_frequency,
4705                    nm_device_802_11_wireless_get_ssid,
4706                    nm_device_802_11_wireless_set_ssid,
4707                    nm_device_802_11_wireless_get_bitrate,
4708                    nm_device_802_11_wireless_get_bssid,
4709                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4710                         instead of iwlib functions
4711
4712 2008-03-14  Dan Williams  <dcbw@redhat.com>
4713
4714         * src/ppp-manager/nm-ppp-manager.c
4715                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4716                         should only take the DBusGMethodInvocation argument, not user/pass
4717                         too.  With dbus-glib, async functions only take 2 C arguments since
4718                         the real dbus method arguments get passed back with
4719                         dbus_g_method_return()
4720
4721 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4722
4723         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4724         Adapt the changes of NMSettingIP4Config.
4725
4726 2008-03-13  Dan Williams  <dcbw@redhat.com>
4727
4728         * src/NetworkManagerUtils.c
4729           src/NetworkManagerUtils.h
4730                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4731
4732         * src/NetworkManagerAP.c
4733           src/nm-device-802-11-wireless.c
4734           src/nm-device-802-3-ethernet.c
4735                 - s/iw_ether_ntop/nm_ether_ntop/g
4736
4737 2008-03-13  Dan Williams  <dcbw@redhat.com>
4738
4739         * src/NetworkManagerPolicy.c
4740                 - (update_routing_and_dns): never set the default route through an
4741                         IPv4LL addressed device
4742
4743 2008-03-13  Dan Williams  <dcbw@redhat.com>
4744
4745         * NetworkManagerUtils.c
4746           NetworkManagerUtils.h
4747                 - Remove NMSock stuff
4748                 - Remove the completion stuff
4749
4750         * nm-device.c
4751           nm-device.h
4752           NetworkManager.c
4753           NetworkManagerSystem.c
4754           autoip.c
4755           nm-device-802-11-wireless.c
4756           nm-device-802-3-ethernet.c
4757                 - Remove NMSock and completion stuff
4758                 - Remove nm_ioctl_info()
4759
4760 2008-03-12  Dan Williams  <dcbw@redhat.com>
4761
4762         * src/nm-device.c
4763                 - (merge_ip4_config): avoid duplicates
4764
4765 2008-03-12  Dan Williams  <dcbw@redhat.com>
4766
4767         * libnm-util/nm-setting-ip4-config.c
4768           libnm-util/nm-setting-ip4-config.h
4769                 - Remove 'manual' and 'autoip' properties
4770                 - Add 'method' property
4771                 - (verify): fix verification with 'method'
4772                 - (finalize): free 'method'
4773                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4774                         up for 'method'
4775
4776         * src/nm-device.c
4777                 - (real_act_stage3_ip_config_start): check IP4Config method
4778                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4779                         the future
4780                 - (merge_ip4_config): IP settings are valid with DHCP too
4781                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4782                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4783
4784         * src/nm-device-802-11-wireless.c
4785                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4786                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4787                         only on demand
4788
4789         * system-settings/plugins/ifcfg-fedora/parser.c
4790           system-settings/plugins/ifcfg-suse/parser.c
4791                 - (make_ip4_setting): fix up for 'method'
4792
4793 2008-03-12  Dan Williams  <dcbw@redhat.com>
4794
4795         * system-settings/plugins/ifcfg-fedora/parser.c
4796           system-settings/plugins/ifcfg-fedora/parser.h
4797                 - (get_ifcfg_name): ignore more file suffixes
4798                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4799
4800 2008-03-12  Dan Williams  <dcbw@redhat.com>
4801
4802         * configure.in
4803                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4804
4805 2008-03-12  Dan Williams  <dcbw@redhat.com>
4806
4807         * system-settings/plugins/ifcfg-fedora/plugin.c
4808                 - (write_auto_wired_connection): new function; write out an auto
4809                         wired connection file since the applet isn't doing it any more
4810                 - (reload_all_connections): write out the auto wired connection file
4811                         if there aren't any wired connections already
4812                 - (init): don't leak a GError
4813
4814 2008-03-12  Dan Williams  <dcbw@redhat.com>
4815
4816         * src/nm-device-interface.c
4817                 - (nm_device_interface_activate): print the ID of the connection
4818                         that's about to be activated
4819
4820 2008-03-12  Dan Williams  <dcbw@redhat.com>
4821
4822         Harmonize the 802.11 bitrate API
4823
4824         * introspection/nm-access-point.xml
4825                 - 'Rate' -> 'MaxBitrate'; clarify units
4826
4827         * introspection/nm-device-802-11-wireless.xml
4828                 - Clarify units of 'Bitrate'
4829
4830         * src/NetworkManagerAP.c
4831           src/NetworkManagerAP.h
4832                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4833                         property to 'max-bitrate'
4834                 - (foreach_property_cb): convert rate to Kb/s
4835
4836         * src/nm-device-802-11-wireless.c
4837                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4838
4839         * libnm-glib/nm-access-point.c
4840           libnm-glib/nm-access-point.h
4841                 - 'rate' -> 'max-bitrate'
4842
4843         * test/nm-tool.c
4844           libnm-glib/libnm-glib-test.c
4845                 - Fix up for these changes
4846
4847 2008-03-12  Dan Williams  <dcbw@redhat.com>
4848
4849         * src/nm-device.c
4850                 - (nm_device_set_ip4_config): don't send property notifications when
4851                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4852                         which dbus-glib can't parse because the value is NULL, which isn't
4853                         a legal object path.  Setting the IP4 config to NULL is only
4854                         valid when deactivating a device anyway, so the device state change
4855                         will alert listeners that the ip4 config is invalid.
4856
4857 2008-03-12  Dan Williams  <dcbw@redhat.com>
4858
4859         * src/nm-properties-changed-signal.c
4860                 - (add_to_string): better handling of NULL objects
4861
4862 2008-03-12  Dan Williams  <dcbw@redhat.com>
4863
4864         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4865         convert the libnm-glib NMDevice8023Ethernet to cached properties
4866
4867         * introspection/nm-device-802-3-ethernet.xml
4868                 - New 'Carrier' property
4869                 - New 'PropertiesChanged' signal
4870
4871         * introspection/nm-device.xml
4872                 - Remove 'Carrier' property
4873                 - Remove 'CarrierChanged' signal
4874
4875         * src/nm-device-interface.c
4876           src/nm-device-interface.h
4877                 - (nm_device_interface_init): remove 'carrier' property and
4878                         'carrier-changed' signal
4879
4880         * src/nm-device.c
4881           src/nm-device.h
4882                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4883                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4884                         the link here; wired device will handle that
4885                 - (handle_dhcp_lease_change): don't bother updating link here
4886                 - (get_property, nm_device_class_init): remove carrier property
4887
4888         * src/nm-device-802-11-wireless.c
4889                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4890                         real_update_link(); wireless devices don't use carrier at all
4891                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4892                    supplicant_iface_connection_state_cb_handler,
4893                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4894
4895         * src/nm-device-802-3-ethernet.c
4896           src/nm-device-802-3-ethernet.h
4897                 - (nm_device_802_3_ethernet_carrier_on,
4898                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4899                         instead of nm_device_set_carrier()
4900                 - (device_state_changed): update link from sysfs on activation;
4901                         replaces real_update_link()
4902                 - (real_update_link): remove, replaced by device_state_changed()
4903                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4904                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4905                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4906                         new get_carrier function
4907                 - (get_property): add 'carrier' property
4908                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4909                         hook into property-changed signal helper
4910
4911         * src/NetworkManagerPolicy.c
4912                 - (device_carrier_changed): will only ever be called with a wired device
4913                 - (device_added): only hook up to carrier-changed for wired devices
4914
4915         * libnm-glib/nm-device.c
4916           libnm-glib/nm-device.h
4917                 - (constructor, nm_device_class_init): remove carrier-changed signal
4918                 - (device_carrier_changed_proxy): remove; unused
4919                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4920
4921         * libnm-glib/nm-device-802-3-ethernet.c
4922           libnm-glib/nm-device-802-3-ethernet.h
4923                 - Convert to cached properties like AP and Wireless objects
4924                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4925                         instead of a 'char *', return value should not be freed
4926                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4927                 - (constructor): hook into properties-changed helper
4928                 - (set_property, get_property): new functions
4929                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4930
4931         * test/nm-tool.c
4932                 - (detail_device): strdup the wired hardware address too since it's
4933                         cached now
4934
4935         * libnm-glib/libnm-glib-test.c
4936                 - (dump_wired): strdup the wired hardware address too since it's
4937                         cached now
4938
4939 2008-03-12  Dan Williams  <dcbw@redhat.com>
4940
4941         * libnm-util/nm-setting-ip4-config.c
4942           libnm-util/nm-setting-ip4-config.h
4943                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4944                         the 'autoip' property from the spec
4945
4946 2008-03-11  Dan Williams  <dcbw@redhat.com>
4947
4948         * src/backends/NetworkManagerGeneric.c
4949           src/backends/NetworkManagerGeneric.h
4950                 - (nm_generic_device_get_use_dhcp): remove
4951
4952 2008-03-11  Dan Williams  <dcbw@redhat.com>
4953
4954         * src/nm-device.c
4955                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4956                         already in nm_device_set_ip4_config()
4957                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4958                         due to a DHCP rebind fails
4959                 - (nm_device_set_ip4_config): send property notifications when the
4960                         ip4 config changes
4961                 - (get_property): only report IP4Config property during valid states
4962
4963         * src/NetworkManagerPolicy.c
4964                 - (update_routing_and_dns): ignore devices that don't have an ip4
4965                         config; add parameter 'force_update' to allow callers to specify
4966                         that changes should be made even if the default device doesn't change
4967                 - (device_ip4_config_changed): update DNS and routing when the device's
4968                         IP4Config changes, like for DHCP updates
4969                 - (device_added): listen for ip4-config property changes
4970
4971 2008-03-11  Dan Williams  <dcbw@redhat.com>
4972
4973         Fix address handling as a result of DHCP rebind/renew/reboot.
4974
4975         * src/NetworkManagerSystem.c
4976                 - (check_one_address): delete an address if it doesn't match a given
4977                         one for the same interface
4978                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4979                         be smarter about flushing addresses (only flush ones that don't
4980                         match the one we're about to apply)
4981
4982         * src/backends/NetworkManagerDebian.c
4983           src/backends/NetworkManagerSuSE.c
4984           src/backends/NetworkManagerArch.c
4985           src/backends/NetworkManagerSlackware.c
4986           src/backends/NetworkManagerRedHat.c
4987           src/backends/NetworkManagerPaldo.c
4988           src/backends/NetworkManagerFrugalware.c
4989           src/backends/NetworkManagerGentoo.c
4990                 - (nm_system_delete_default_route): remove
4991
4992         * src/backends/NetworkManagerGeneric.c
4993           src/backends/NetworkManagerGeneric.h
4994                 - (nm_generic_enable_loopback): fix the loopback device label
4995                 - (nm_generic_delete_default_route): remove; no longer used
4996
4997 2008-03-11  Dan Williams  <dcbw@redhat.com>
4998
4999         * src/nm-device-interface.h
5000                 - Delimit property name words with '-', otherwise g_object_notify()
5001                         doesn't work the way we expect
5002
5003 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5004
5005         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5006
5007 2008-03-11  Dan Williams  <dcbw@redhat.com>
5008
5009         * src/NetworkManagerPolicy.c
5010                 - (update_routing_and_dns): don't change anything if the default device
5011                         hasn't changed; print something out when switching the default route
5012                         and DNS
5013
5014 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5015
5016         Implement PPPoE.
5017
5018         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5019         setting. Use "nic-$eth".
5020
5021         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5022         the device is activating here to fix a race condition.
5023
5024         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5025
5026         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5027         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5028         (nm_ppp_manager_start): Take activation request instead of connection, we might
5029         need it for asking secrets.
5030         (nm_ppp_manager_update_secrets): Implement.
5031
5032         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5033         ppp manager start. It might be needed for asking secrets.
5034
5035         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5036         (ppp_state_changed): Handle pppd daemon disappearing.
5037         (pppoe_stage2_config): Send activation request to ppp manager start.
5038
5039         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5040
5041         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5042         username and password.
5043         
5044 2008-03-10  Dan Williams  <dcbw@redhat.com>
5045
5046         * src/nm-device.c
5047                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5048                         response to a DHCP lease change
5049                 - (dhcp_state_changed): handle DHCP lease changes while activated
5050                 - (nm_device_set_ip4_config): remove a previously set named config
5051                         when setting an ip4 config
5052
5053 2008-03-10  Dan Williams  <dcbw@redhat.com>
5054
5055         * src/nm-serial-device.c
5056                 - (nm_serial_device_send_command): report errno on error
5057                 - (get_reply_got_data): limit the size of the overall buffer
5058                 - (wait_for_reply_info_destroy): destroy result string
5059                 - (wait_for_reply_got_data): append received data to an overall buffer
5060                         until timeout, filled buffer, or error instead of keeping a per-call
5061                         buffer.  Some devices send data slowly enough that this function
5062                         gets called multiple times for the same command stream.
5063                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5064                         wait_for_reply_got_data() here
5065
5066 2008-03-10  Dan Williams  <dcbw@redhat.com>
5067
5068         * src/nm-cdma-device.c
5069                 - (do_dial, init_modem): handle errors from
5070                         nm_serial_device_send_command_string()
5071
5072         * src/nm-gsm-device.c
5073                 - (do_dial, manual_registration, automatic_registration_get_network,
5074                    automatic_registration, enter_pin, check_pin, init_modem): handle
5075                         errors from nm_serial_device_send_command_string()
5076
5077 2008-03-10  Dan Williams  <dcbw@redhat.com>
5078
5079         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5080
5081         * src/named-manager/nm-named-manager.c
5082                 - (compute_searches): prefer searches before domains
5083                 - (compute_domain): new function
5084                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5085                 - (merge_one_ip4_config): if there are no searches in the source config,
5086                         merge domains of the source config into the target config
5087                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5088
5089 2008-03-10  Dan Williams  <dcbw@redhat.com>
5090
5091         * src/nm-serial-device.c
5092                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5093                 - (wait_for_reply_got_data): try to handle slower serial devices where
5094                         the reply is broken up into multiple reads by concatenating replies
5095                         together until either an error is received or the search string is
5096                         found
5097
5098 2008-03-10  Dan Williams  <dcbw@redhat.com>
5099
5100         * src/nm-device.c
5101                 - (nm_device_bring_down): deactivate the device if it's activating too,
5102                         not just if it's already activated.  This makes sure that everything
5103                         from an association attempt is cleaned up (like DHCP for example)
5104
5105 2008-03-10  Dan Williams  <dcbw@redhat.com>
5106
5107         * src/nm-serial-device.c
5108                 - (config_fd): report error from TCSETA
5109                 - (nm_serial_device_open): fail when config_fd() fails
5110
5111 2008-03-10  Dan Williams  <dcbw@redhat.com>
5112
5113         * src/nm-ip4-config.c
5114                 - (nm_ip4_config_init): allocate searches list
5115                 - (finalize): free searches list
5116
5117 2008-03-09  Dan Williams  <dcbw@redhat.com>
5118
5119         Patch from Bas Zoetekouw <bas@debian.org>
5120
5121         * src/dhcp-manager/nm-dhcp-manager.c
5122                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5123
5124 2008-03-09  Dan Williams  <dcbw@redhat.com>
5125
5126         Patch from Bas Zoetekouw <bas@debian.org>
5127
5128         * src/nm-ip4-config.c
5129           src/nm-ip4-config.h
5130                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5131                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5132                         domains.  'searches' is the correct way to store multiple search
5133                         domains, whereas 'domains' is really just supposed to store one
5134                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5135                         search domains to the client.
5136                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5137
5138 2008-03-09  Dan Williams  <dcbw@redhat.com>
5139
5140         * src/dhcp-manager/nm-dhcp-manager.c
5141                 - (dhclient_run): send interface-specific config files to dhclient
5142
5143 2008-03-07  Dan Williams  <dcbw@redhat.com>
5144
5145         * system-settings/plugins/ifcfg-fedora/parser.c
5146                 - (is_wireless_device): new function; test a device for wireless
5147                         extensions
5148                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5149                         test the device for wireless extensions to determine the type
5150
5151 2008-03-07  Dan Williams  <dcbw@redhat.com>
5152
5153         Change manager's StateChange signal to StateChanged for consistency.
5154
5155         * introspection/nm-manager.xml
5156                 - Add 'StateChanged' signal
5157                 - Move 'StateChange' down to the deprecated section
5158
5159         * src/nm-hal-manager.c
5160                 - (nm_hal_manager_new): connect to 'state-changed' instead
5161
5162         * src/NetworkManagerPolicy.c
5163                 - (nm_policy_new): connect to 'state-changed' instead
5164
5165         * src/nm-manager.c
5166           src/nm-manager.h
5167                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5168                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5169                         of 'state-change'
5170
5171         * libnm-glib/nm-client.c
5172           libnm-glib/nm-client.h
5173                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5174                         track and proxy 'state-changed' instead of 'state-change'
5175
5176 2008-03-07  Dan Williams  <dcbw@redhat.com>
5177
5178         First pass of multiple active device support.  Expect bugs.
5179
5180         * src/nm-ip4-config.c
5181           src/nm-ip4-config.h
5182                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5183                         there are better ways to do this in the named manager
5184
5185         * src/nm-device.c
5186           src/nm-device.h
5187                 - (nm_device_can_activate): return whether the device can activate a
5188                         connection right now; taking into account things like carrier state
5189                         and rfkill state
5190                 - (nm_device_get_best_auto_connection): renamed from
5191                         nm_device_get_best_connection
5192                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5193                         device subclasses themselves, so that each device can override the
5194                         MTU from it's NMSetting subclass if needed
5195                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5196                         in NetworkManagerSystem.c, not here
5197
5198         * src/named-manager/nm-named-manager.c
5199           src/named-manager/nm-named-manager.h
5200                 - (nm_named_manager_name_owner_changed,
5201                    nm_named_manager_dbus_connection_changed): fix for changes to
5202                         rewrite_resolv_conf()
5203                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5204                         from parameter list
5205                 - (merge_one_ip4_config): new function; merge ip4 configs together
5206                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5207                         ip4 configs; the VPN config takes precedence, then the best
5208                         device config, then the rest of the configs
5209                 - (get_domain_for_config): take the NMNamedManager as an argument
5210                         to check whether the config is the VPN config
5211                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5212                         attribute from ip4 configs
5213                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5214                 - (remove_ip4_config_from_named): fix for changes to
5215                         get_domain_for_config()
5216                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5217                         based on its type; callers must pass in the type now
5218                 - (get_last_default_domain): remove, unused
5219                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5220
5221         * src/nm-device-802-11-wireless.c
5222                 - (real_can_activate): new function
5223                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5224                 - (real_act_stage4_get_ip4_config): handle MTU override
5225
5226         * src/nm-device-802-3-ethernet.c
5227                 - (real_can_activate): new function
5228                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5229                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5230
5231         * src/vpn-manager/nm-vpn-connection.c
5232                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5233                         attribute on the ip4 config
5234
5235         * src/NetworkManagerPolicy.c
5236                 - (nm_policy_auto_get_best_device): remove
5237                 - (nm_policy_device_change_check): remove
5238                 - (update_default_route): new function; set the default route via
5239                         the specified device
5240                 - (get_device_priority): new function; return the priority number of
5241                         a device type WRT which one should have the default route.  Order is
5242                         (highest to lowest)  wired, wireless, GSM, CDMA.
5243                 - (update_routing_and_dns): new function; determine which device should
5244                         have the default route, then update the routing table and DNS
5245                 - (maybe_auto_activate_device): new function; if a device is now
5246                         available for activation, find out what connection it would like to
5247                         activate and do it
5248                 - (schedule_activate_check): new function; if a device can be activated
5249                         now, schedule the activation.  Each device may have only one
5250                         pending activation at a given time.
5251                 - (device_state_changed): if activation was canceled, try again,
5252                         possibly with another connection; if the device was activated,
5253                         update routing and DNS; if the device was deactivated, try again
5254                         with another connection
5255                 - (device_carrier_changed): if there is no carrier, deactivate the
5256                         device; otherwise schedule an activation check for the device
5257                 - (wireless_networks_changed): schedule an activation check for the
5258                         device
5259                 - (device_added): keep track of the signal handler IDs so they can
5260                         be removed when the device goes away
5261                 - (device_removed): remove any signal handlers that might be attached
5262                         to the device; update routing and DNS
5263                 - (schedule_activate_all): new function
5264                 - (connections_added, connection_added, connection_updated): when
5265                         connections change, schedule all devices for an activation check
5266                 - (connection_removed): when a device is deactivated because its
5267                         connection was removed, schedule another activation check for it
5268                 - (nm_policy_destroy): destroy pending activations and disconnect
5269                         all device signal handlers
5270
5271         * src/nm-manager.c
5272                 - (nm_manager_activate_device): if the device was already actived,
5273                         deactivate it
5274                 - (deactivate_old_device): remove
5275                 - (connection_added_default_handler, impl_manager_activate_device):
5276                         don't deactivate other devices when activating this one
5277
5278         * src/backends/NetworkManagerGentoo.c
5279           src/backends/NetworkManagerFrugalware.c
5280           src/backends/NetworkManagerPaldo.c
5281           src/backends/NetworkManagerRedHat.c
5282           src/backends/NetworkManagerSlackware.c
5283           src/backends/NetworkManagerArch.c
5284           src/backends/NetworkManagerSuSE.c
5285           src/backends/NetworkManagerDebian.c
5286                 - (nm_system_get_mtu): remove; MTU should be provided through the
5287                         distro's system settings service plugin instead
5288                 - (nm_system_device_add_default_route_via_device): remove
5289                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5290                 - (nm_system_device_replace_default_route): new function; call
5291                         generic implementation
5292
5293         * src/backends/NetworkManagerGeneric.c
5294           src/backends/NetworkManagerGeneric.h
5295                 - (nm_generic_device_add_default_route_via_device,
5296                    nm_generic_device_add_default_route_via_device_with_iface): remove
5297                 - (nm_generic_device_replace_default_route): replace the default route
5298                         with the given route via some gateway
5299
5300         * src/NetworkManagerSystem.c
5301           src/NetworkManagerSystem.h
5302                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5303                         to routing and DNS; but set the MTU here
5304                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5305                         ip_iface of the active device; use the standard MTU setting function
5306                 - (nm_system_set_mtu): remove
5307                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5308
5309 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5310
5311         Rework the interaction between ppp manager and pppd plugin. Register a well
5312         known DBUS service in manager and let the plugin call it's methods instead
5313         of listening plugin's signals.
5314
5315         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5316         of emitting signals.
5317
5318         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5319
5320         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5321
5322         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5323         nm_ppp_manager_start().
5324
5325         * introspection/nm-ppp-manager.xml: New file.
5326
5327         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5328         the case correctly where driver is trying to send -1 for the speed, which gets
5329         casted to u16 and thus is always > 0.
5330
5331 2008-03-07  Dan Williams  <dcbw@redhat.com>
5332
5333         * src/nm-hal-manager.c
5334                 - (nm_get_device_driver_name): use net.originating_device first, fall
5335                         back to physical device.  HAL has deprecated physical_device.
5336
5337         * libnm-glib/nm-device.c
5338                 - (get_product_and_vendor): use net.originating_device first, fall
5339                         back to physical device.  HAL has deprecated physical_device.
5340                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5341
5342 2008-03-07  Dan Williams  <dcbw@redhat.com>
5343
5344         * src/nm-netlink.c
5345                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5346                         last commit; fix that
5347                 - (get_link_cache): print error string
5348
5349 2008-03-07  Dan Williams  <dcbw@redhat.com>
5350
5351         * src/nm-netlink.c
5352                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5353                         don't need this hack any more (Benoit Boissinot)
5354
5355 2008-03-06  Dan Williams  <dcbw@redhat.com>
5356
5357         * autogen.sh
5358                 - Die gnome-common, die
5359
5360 2008-03-04  Dan Williams  <dcbw@redhat.com>
5361
5362         Patch from Michael Biebl <biebl@debian.org>
5363
5364         * NetworkManager.pc.in
5365                 - doesn't actually depend on dbus-1
5366
5367         * libnm-util/nm-utils.h
5368                 - remove unused #include <dbus/dbus.h>
5369
5370         * libnm-glib/libnm_glib.pc.in
5371                 - depends on glib and dbus-glib
5372
5373 2008-03-02  Dan Williams  <dcbw@redhat.com>
5374
5375         * src/NetworkManagerPolicy.c
5376                 - s/device_state_changed_idle_id/update_state_id/
5377
5378 2008-03-02  Dan Williams  <dcbw@redhat.com>
5379
5380         * src/nm-device.c
5381           src/nm-device.h
5382           src/nm-device-802-11-wireless.c
5383           src/nm-device-802-3-ethernet.c
5384           src/NetworkManagerPolicy.c
5385                 - s/link_active/carrier
5386                 - nm_device_set_active_link() -> nm_device_set_carrier()
5387                 - nm_device_has_active_link() -> nm_device_get_carrier()
5388
5389 2008-03-02  Dan Williams  <dcbw@redhat.com>
5390
5391         * system-settings/plugins/ifcfg-fedora/parser.c
5392                 - (make_wireless_setting): fail connection creation on missing SSID
5393
5394 2008-02-29  Dan Williams  <dcbw@redhat.com>
5395
5396         * src/NetworkManagerPolicy.c
5397                 - (nm_policy_device_change_check): ensure that a previously active
5398                         device with a system connection has a link before denying a switch
5399                         to a user connection
5400
5401 2008-02-29  Dan Williams  <dcbw@redhat.com>
5402
5403         * src/nm-device-802-11-wireless.c
5404                 - (link_timeout_cb): try again if scanning; deactivate the device when
5405                         activated if the link dies
5406                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5407                         15 seconds
5408
5409 2008-02-29  Dan Williams  <dcbw@redhat.com>
5410
5411         * src/nm-device-802-11-wireless.c
5412           src/nm-device-802-11-wireless.h
5413                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5414                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5415                 - (device_cleanup): reset the scan interval lower when the device
5416                         deactivates
5417                 - (can_scan): base decision mostly off device state, not supplicant
5418                         interface state since the supplicant interface state isn't a
5419                         great indicator of whether the device is active or not
5420                 - (request_wireless_scan): clean up; schedule the next scan here
5421                 - (schedule_scan): only back the scan interval off if a new scan
5422                         actually gets scheduled; and make scan intervals tighter when the
5423                         device is disconnected
5424                 - (supplicant_iface_state_cb_handler): fold in the bits of
5425                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5426                         interval to minimum
5427                 - (activation_success_handler): reset scan interval to something
5428                         reasonable 
5429
5430 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5431
5432         reviewed by: Steev <steev@steev.net>
5433
5434         * configure.in:
5435         * src/backends/NetworkManagerGentoo.c:
5436         (nm_system_restart_mdns_responder):
5437                 Howl is no longer a supported mDNS provider
5438
5439 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5440
5441         Get rid of a bunch of unused distro specific functions.
5442
5443 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5444
5445         Implement suse plugin for system settings daemon.
5446
5447         * system-settings/plugins/ifcfg-suse/*: Implement.
5448
5449         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5450         suse.
5451
5452         * configure.in: Check (without failing) for gio.
5453         Create ifcfg-suse plugin's Makefile.
5454
5455 2008-02-20  Dan Williams  <dcbw@redhat.com>
5456
5457         * libnm-util/nm-connection.c
5458           libnm-util/nm-connection.h
5459                 - (nm_connection_compare): accept compare flags and pass them to the
5460                         setting compare function
5461
5462         * libnm-util/nm-setting.c
5463           libnm-util/nm-setting.h
5464                 - (nm_setting_compare): accept compare flags; ignore properties that are
5465                         marked fuzzy
5466
5467         * libnm-util/nm-setting-connection.c
5468           libnm-util/nm-setting-wireless.c
5469           libnm-util/nm-setting-ppp.c
5470           libnm-util/nm-setting-wired.c
5471                 - Mark some setting properties as ignorable when doing a fuzzy compare
5472
5473         * src/nm-device.c
5474                 - (device_activation_precheck): use exact compare
5475
5476 2008-02-20  Dan Williams  <dcbw@redhat.com>
5477
5478         * src/NetworkManagerPolicy.c
5479                 - (nm_policy_device_change_check): get scope off the connection, not
5480                         using the manager helper
5481
5482         * src/nm-manager.c
5483           src/nm-manager.h
5484                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5485                 - (connection_get_settings_cb): set scope and path on connection, not
5486                         using GObject data items
5487                 - (get_connection_for_proxy): don't need to return path, since that
5488                         can be gotten from the connection
5489                 - (get_connection_for_proxy): get path off the connection, not from
5490                         parameters
5491                 - (connection_removed_cb, connection_updated_cb): don't need to get
5492                         path from get_connection_for_proxy(); get scope off the connection
5493                         instead of using GObject data items
5494                 - (connection_added_default_handler, add_one_connection_element): use
5495                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5496                 - (nm_manager_get_connection_dbus_path): remove
5497                 - (nm_manager_get_connection_scope): remove
5498
5499 2008-02-20  Dan Williams  <dcbw@redhat.com>
5500
5501         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5502                 on confusing names
5503
5504         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5505                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5506                 NMExportedConnection
5507
5508         * Internally rename NMConnectionType -> NMConnectionScope
5509
5510         * Provide default implementations of the 'get_id' and 'get_settings' methods
5511                 of NMExportedConnection
5512
5513 2008-02-15  Dan Williams  <dcbw@redhat.com>
5514
5515         * src/nm-device-802-11-wireless.c
5516                 - (device_cleanup): release the AP list here too so that the AP list
5517                         doesn't survive across suspend/resume and up/down.  There is some
5518                         room for optimization, for example blow the list away when the card
5519                         brought back up, but only if the device has only been down for a
5520                         minute or more.
5521
5522 2008-02-15  Dan Williams  <dcbw@redhat.com>
5523
5524         * src/nm-hal-manager.c
5525                 - (modem_device_creator): recognize new HAL modem capabilities
5526
5527 2008-02-12  Dan Williams  <dcbw@redhat.com>
5528
5529         * system-settings/plugins/ifcfg-fedora/plugin.c
5530                 - (watch_path): handle IN_DELETE_SELF too
5531                 - (handle_connection_changed): notify when removing a connection
5532                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5533                         case of a file moving out of the profile directory
5534
5535 2008-02-12  Dan Williams  <dcbw@redhat.com>
5536
5537         * system-settings/plugins/ifcfg-fedora/parser.c
5538                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5539
5540 2008-02-12  Dan Williams  <dcbw@redhat.com>
5541
5542         * libnm-util/nm-utils.c
5543                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5544                         just any empty array
5545
5546 2008-02-12  Dan Williams  <dcbw@redhat.com>
5547
5548         * system-settings/src/nm-system-config-interface.c
5549           system-settings/src/nm-system-config-interface.h
5550                 - (load_connections): get_connections() should now return an allocated
5551                         GSList that the system settings service will free
5552
5553         * system-settings/plugins/ifcfg-fedora/plugin.c
5554           system-settings/plugins/ifcfg-fedora/parser.h
5555           system-settings/plugins/ifcfg-fedora/parser.c
5556                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5557                         in the profile directory, handle resolv.conf file changes
5558
5559 2008-02-10  Dan Williams  <dcbw@redhat.com>
5560
5561         * src/nm-device-802-3-ethernet.c
5562                 - (real_bring_up): save the supplicant interface state signal id
5563                 - (real_bring_down): disconnect from the supplicant interface state
5564                         signal
5565
5566 2008-02-07  Dan Williams  <dcbw@redhat.com>
5567
5568         * initscript/RedHat/NetworkManager.in
5569           initscript/RedHat/NetworkManagerDispatcher.in
5570                 - Add new-style LSB init headers
5571
5572 2008-02-07  Dan Williams  <dcbw@redhat.com>
5573
5574         * system-settings/src/dbus-settings.c
5575           system-settings/src/dbus-settings.h
5576                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5577                         table of secrets
5578                 - (connection_settings_get_secrets): consolidate error returns into
5579                         one place; use the new get_secrets() plugin interface function to
5580                         get secrets from the plugin itself rather than using GObject data
5581                         magic
5582
5583         * system-settings/src/main.c
5584                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5585                    load_connections): keep a private list of the plugin-returned
5586                         connections, don't use the plugin's GSList
5587
5588         * system-settings/plugins/ifcfg-fedora/plugin.c
5589                 - (watch_path): watch the path, not the filename (duh)
5590                 - (reload_all_connections): use the direct hash/equal functions; the
5591                         ones for int aren't appropriate here
5592                 - (get_secrets, system_config_interface_init): implement the
5593                         get_secrets() function
5594                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5595                         now in the connection's ConnectionData instead of being a GObject
5596                         data property
5597                 - (handle_profile_item_changed): ifcfg file path is now in the
5598                         connection's ConnectionData instead of being a GObject data property;
5599                         be sure to copy secrets over from the new connection to the existing
5600                         connection when updating the connection's settings
5601                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5602                         file descriptor
5603
5604         * system-settings/plugins/ifcfg-fedora/parser.c
5605           system-settings/plugins/ifcfg-fedora/parser.h
5606                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5607                    connection_data_copy_secrets, connection_data_free,
5608                    connection_data_add): new functions; connection data manipulation
5609                 - (make_wireless_security_setting): stuff secrets into the
5610                         connection data, not as GObject data items; make sure to close
5611                         the keys ifcfg file
5612                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5613                         connection data to the connection
5614
5615 2008-02-07  Dan Williams  <dcbw@redhat.com>
5616
5617         * system-settings/src/nm-system-config-interface.c
5618           system-settings/src/nm-system-config-interface.h
5619                 - Add a get_secrets() interface function to retrieve secrets for a
5620                         specific setting of a specific connection.  Document the interface
5621                         a bit more too.
5622
5623 2008-02-07  Dan Williams  <dcbw@redhat.com>
5624
5625         * src/nm-device-802-11-wireless.c
5626                 - (handle_auth_or_fail): new function; consolidate device activation
5627                         failure check after a certain number of failures getting secrets
5628                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5629                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5630                         the connection if secrets were requested more than a few times
5631                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5632                         tries here; otherwise they are cleared before the IP configure
5633                         timeout, which happens with open system WEP when key is wrong
5634                 - (activation_success_handler): clear wireless secrets tries here too
5635
5636 2008-02-07  Dan Williams  <dcbw@redhat.com>
5637
5638         * src/NetworkManagerPolicy.c
5639                 - (connection_updated): clear invalid tag when connection gets updated
5640                         to allow that connection to be tried again
5641                 - (nm_policy_new): save signal ids so they can be disconnected when
5642                         the policy is destroyed
5643                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5644                         and disconnect all signals from the manager object so that none
5645                         of the policy functions gets called after the policy is destroyed
5646
5647 2008-02-06  Dan Williams  <dcbw@redhat.com>
5648
5649         * src/nm-manager.c
5650                 - (finalize): remove devices a bit earlier; clean up system settings
5651                         poke
5652                 - (nm_manager_name_owner_changed): clean up system settings poke when
5653                         the service appears, and try to restart it if it fails
5654                 - (poke_system_settings_daemon_cb): try to get the system settings
5655                         service started through D-Bus service activation
5656                 - (initial_get_connections): start the system settings daemon if it's
5657                         not already running
5658
5659 2008-02-05  Dan Williams  <dcbw@redhat.com>
5660
5661         * src/supplicant-manager/nm-supplicant-config.c
5662                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5663                         broadcast networks too
5664
5665 2008-02-04  Dan Williams  <dcbw@redhat.com>
5666
5667         * system-settings/plugins/ifcfg-fedora/parser.c
5668                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5669                         need key_mgmt set too
5670                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5671                         .bak files; ensure that an error is set whenever NULL gets returned
5672
5673 2008-02-04  Dan Williams  <dcbw@redhat.com>
5674
5675         * system-settings/src/Makefile.am
5676                 - Install D-Bus service activation file for the system settings
5677                         service
5678
5679         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5680                 - D-Bus service activation file for system settings service
5681
5682 2008-02-04  Dan Williams  <dcbw@redhat.com>
5683
5684         * system-settings/src/main.c
5685                 - (parse_config_file): parse a config file
5686                 - (main): accept --config option and read plugins from config file
5687
5688 2008-02-04  Dan Williams  <dcbw@redhat.com>
5689
5690         * system-settings/plugins/ifcfg-fedora/plugin.c
5691                 - Change reported name to 'ifcfg-fedora'
5692                 - Use IFCFG_PLUGIN_NAME
5693
5694         * system-settings/plugins/ifcfg-fedora/plugin.c
5695                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5696
5697 2008-02-04  Dan Williams  <dcbw@redhat.com>
5698
5699         * system-settings/plugins/ifcfg-fedora/parser.c
5700                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5701                 - (make_connection_setting): use get_ifcfg_name()
5702                 - (make_wireless_security_setting): handle shadow key files
5703                 - (get_one_wep_key): treat empty string as NULL
5704
5705 2008-02-04  Dan Williams  <dcbw@redhat.com>
5706
5707         * src/supplicant-manager/nm-supplicant-manager.c
5708                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5709                         glib automatically reschedule
5710                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5711                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5712                         the supplicant
5713
5714 2008-02-01  Dan Williams  <dcbw@redhat.com>
5715
5716         * src/NetworkManagerPolicy.c
5717                 - (device_state_changed): schedule a change check when a device gets
5718                         deactivated so something happens if you disconnect GSM/CDMA
5719
5720 2008-01-31  Dan Williams  <dcbw@redhat.com>
5721
5722         * src/nm-device-802-11-wireless.h
5723           src/nm-device-802-11-wireless.c
5724                 - (ap_list_get_ap_by_ssid, is_associated,
5725                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5726                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5727                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5728                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5729                         function
5730
5731 2008-01-30  Dan Williams  <dcbw@redhat.com>
5732
5733         * system-settings/plugins/ifcfg
5734         * system-settings/plugins/ifcfg-fedora
5735                 - Move the ifcfg plugin to ifcfg-fedora
5736
5737 2008-01-24  Dan Williams  <dcbw@redhat.com>
5738
5739         * libnm-glib/nm-device-802-11-wireless.c
5740                 - (get_access_point): move the "/" check here; check for invalid path
5741                         too
5742                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5743                         to get_access_point()
5744                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5745                         to send signals for non-existent access points
5746
5747 2008-01-24  Dan Williams  <dcbw@redhat.com>
5748
5749         * libnm-glib/nm-device-802-11-wireless.c
5750                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5751
5752 2008-01-23  Dan Williams  <dcbw@redhat.com>
5753
5754         * libnm-glib/libnm_glib.c
5755                 - (libnm_glib_init): make thread joinable
5756                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5757
5758 2008-01-23  Dan Williams  <dcbw@redhat.com>
5759
5760         * test/libnm_glib_test.c
5761                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5762                 - (main): set up signal handlers; call libnm_glib_shutdown
5763
5764 2008-01-21  Dan Williams  <dcbw@redhat.com>
5765
5766         * include/NetworkManager.h
5767                 - Add CDMA mobile broadband card device type
5768
5769         * src/nm-hal-manager.c
5770                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5771                         must now be tagged with 'cdma' or 'gsm' capability
5772
5773         * src/nm-cdma-device.c
5774           src/nm-cdma-device.h
5775           src/Makefile.am
5776                 - Add the CDMA mobile broadband card device class
5777
5778         * libnm-util/nm-connection.c
5779                 - (register_default_settings): add NMSettingCdma
5780
5781         * libnm-util/nm-setting-cdma.c
5782           libnm-util/nm-setting-cdma.h
5783           libnm-util/Makefile.am
5784                 - Add the CDMA mobile broadband card setting class
5785
5786         * libnm-glib/nm-cdma-device.c
5787           libnm-glib/nm-cdma-device.h
5788           libnm-glib/Makefile.am
5789                 - Add the CDMA mobile broadband card GLib proxy class
5790
5791         * libnm-glib/nm-client.c
5792                 - (get_device): handle CDMA devices too
5793
5794 2008-01-21  Dan Williams  <dcbw@redhat.com>
5795
5796         * src/ppp-manager/nm-ppp-manager.c
5797                 - (ip4_config_get): set peer address too
5798
5799         * src/ppp-manager/nm-pppd-plugin.c
5800                 - (nm_ip_up): try harder to get the peer's address
5801
5802         * src/NetworkManagerSystem.c
5803                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5804                         address, use that too.  Otherwise, some PPP connections won't work.
5805
5806 2008-01-19  Dan Williams  <dcbw@redhat.com>
5807
5808         * src/NetworkManagerPolicy.c
5809                 - (nm_policy_device_change_check): system connections override user
5810                         connections; don't activate a user connection if there's a currently
5811                         active system connection, and new, better system connections always
5812                         interrupt user connections
5813
5814 2008-01-19  Dan Williams  <dcbw@redhat.com>
5815
5816         * src/nm-manager.h
5817                 - (nm_manager_get_connection_type): new function
5818
5819 2008-01-19  Dan Williams  <dcbw@redhat.com>
5820
5821         * src/nm-device-802-11-wireless.c
5822                 - (real_get_best_connection): collapse find_best_connection() into this
5823                         function
5824
5825 2008-01-19  Dan Williams  <dcbw@redhat.com>
5826
5827         * src/nm-device-802-3-ethernet.c
5828                 - (real_get_best_connection): collapse find_best_connection() into this
5829                         function
5830
5831 2008-01-18  Dan Williams  <dcbw@redhat.com>
5832
5833         * src/nm-device-802-3-ethernet.c
5834                 - (find_best_connection): check MAC address too
5835                 - (real_get_best_connection): let autoconnect=True connections activate
5836                         for devices that don't have carrier detection
5837
5838         * src/nm-device-802-11-wireless.c
5839                 - (find_best_connection): check MAC address too
5840
5841 2008-01-18  Dan Williams  <dcbw@redhat.com>
5842
5843         * system-settings/plugins/ifcfg/parser.c
5844                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5845
5846 2008-01-17  Dan Williams  <dcbw@redhat.com>
5847
5848         * src/nm-device-802-3-ethernet.c
5849                 - (nm_device_802_3_ethernet_carrier_on,
5850                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5851                         carrier events that might come in for devices that don't support
5852                         carrier detect
5853
5854 2008-01-17  Dan Williams  <dcbw@redhat.com>
5855
5856         * src/nm-device-interface.c
5857                 - (nm_device_interface_check_connection_conflicts): need to actually
5858                         get the interface, not cast to the object
5859
5860         * src/nm-device.c
5861                 - (nm_device_check_connection_conflicts): need to get the device class,
5862                         not cast the device to the device class
5863
5864 2008-01-17  Dan Williams  <dcbw@redhat.com>
5865
5866         * src/nm-device-802-11-wireless.c
5867                 - (real_check_connection_conflicts): ignore connections that aren't
5868                         wireless connections
5869
5870 2008-01-17  Dan Williams  <dcbw@redhat.com>
5871
5872         * src/NetworkManagerPolicy.c
5873                 - (nm_policy_device_change_check): clear change check idle here
5874                 - (device_change_check_done): remove
5875                 - (schedule_change_check): simplify
5876
5877 2008-01-17  Dan Williams  <dcbw@redhat.com>
5878
5879         * src/nm-manager.c
5880                 - (check_connection_allowed): take an NMDeviceInterface instead of
5881                         an NMDevice object as an argument
5882                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5883                         check_connection_allowed()
5884
5885 2008-01-13  Dan Williams  <dcbw@redhat.com>
5886
5887         * libnm-glib/nm-device-802-11-wireless.c
5888                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5889
5890 2008-01-12  Dan Williams  <dcbw@redhat.com>
5891
5892         * src/nm-device-802-11-wireless.c
5893                 - (activation_success_handler): if a match was found in the scan list
5894                         and that match is a hidden AP, update that AP's SSID
5895
5896 2008-01-11  Dan Williams  <dcbw@redhat.com>
5897
5898         * src/NetworkManagerAP.c
5899                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5900
5901         * src/nm-device-802-11-wireless.c
5902                 - (get_active_ap): do two passes over the scan list if the caller
5903                         requests that hidden APs get matched too; during the second pass
5904                         when matching hidden APs, ignore the SSID since hidden APs in the
5905                         scan list don't have an SSID yet
5906                 - (periodic_update): move some checks to
5907                         nm_device_802_11_periodic_update() because not all callers need them
5908                 - (nm_device_802_11_periodic_update): move some checks here from
5909                         perodic_update()
5910                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5911                         matching on incoming scan results, because the fake AP's flags
5912                         might be slightly different (yet still compatible) with the incoming
5913                         scan result's flags and they might actually be the same AP; update
5914                         the rate on merged APs too
5915                 - (activation_success_handler): update the frequency of the fake AP
5916                         on successful connection; match hidden APs too since if the
5917                         current AP is fake, there might already be a scan result in the
5918                         scan list for the desired AP, just without it's SSID filled in yet
5919
5920 2008-01-10  Dan Williams  <dcbw@redhat.com>
5921
5922         * src/NetworkManagerAP.c
5923                 - (foreach_property_cb): catch more hidden SSID formats
5924
5925 2008-01-10  Dan Williams  <dcbw@redhat.com>
5926
5927         Fix gnome.org #464215.  Requires the kernel patch titled
5928         "Introduce WEXT scan capabilities" but will handle the patch not being
5929         present, you'll just continue to have problems with hidden SSIDs when
5930         using mac80211-based drivers.
5931
5932         * src/supplicant-manager/nm-supplicant-config.h
5933           src/supplicant-manager/nm-supplicant-config.c
5934                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5935                         whether the driver supports SSID scans or not.  If it does, and if
5936                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5937
5938         * src/nm-device-802-11-wireless.c
5939                 - (constructor): check whether or not the driver supports SSID scans
5940                 - (build_supplicant_config): pass driver SSID scan capability when
5941                         building the wireless bits of the supplicant config
5942
5943 2008-01-09  Dan Williams  <dcbw@redhat.com>
5944
5945         * src/nm-device.c
5946           src/nm-device.h
5947                 - (device_activation_precheck, check_connection_complete): remove this
5948                         virtual function; incomplete connections should be invalid by
5949                         definition, complete-ness should be checked in the setting's
5950                         verify function
5951
5952         * src/nm-serial-device.c
5953           src/nm-gsm-device.c
5954                 - (real_check_connection_complete): remove
5955
5956         * libnm-util/nm-setting-serial.c
5957                 - (verify): new function; ensure there is a PPP setting too
5958
5959         * libnm-util/nm-setting-gsm.c
5960                 - (verify): ensure there is a serial setting too
5961
5962 2008-01-06  Dan Williams  <dcbw@redhat.com>
5963
5964         * src/dhcp-manager/nm-dhcp-manager.c
5965                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5966                         (gnome.org #332953)
5967
5968 2008-01-04  Dan Williams  <dcbw@redhat.com>
5969
5970         * src/named-manager/nm-named-manager.c
5971                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5972                         nameservers if the secondary config doesn't have any
5973                         (gnome.org #346833)
5974
5975 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5976
5977         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5978         with G_PARAM_CONSTRUCT so that they get the default values.
5979
5980         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5981         the monitoring device and prints out the output for now. Or more precicely, doesn't
5982         do absolutely anything right now since the montoring device argument is never set.
5983
5984         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5985         requires it's own knob to turn it on.
5986         (config_fd): Add NMSettingSerial to the arguments list.
5987         (nm_serial_device_open): Ditto.
5988         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5989         (nm_serial_device_get_io_channel): Implement.
5990
5991         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5992         a new reference every time (and forgetting to release it sometimes) is a pain and
5993         it's not like NMManager could work without dbus.
5994         (nm_manager_add_device): Register the added device on dbus here.
5995
5996         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5997         device.
5998
5999         * src/nm-device.c (constructor): Don't export the device here, instead export
6000         it when it's added to the NMManager's device list.
6001
6002 2007-12-31  Dan Williams  <dcbw@redhat.com>
6003
6004         * src/nm-device-interface.c
6005           src/nm-device-interface.h
6006                 - (nm_device_interface_check_connection_conflicts): new function
6007
6008         * src/nm-device.c
6009           src/nm-device.h
6010                 - (nm_device_check_connection_conflicts): new function
6011                 - (device_activation_precheck): don't require subclasses to implement
6012                         check_connection_complete()
6013                 - check_connection() -> check_connection_complete()
6014
6015         * src/nm-device-802-11-wireless.c
6016                 - (real_check_connection): remove; unused
6017                 - (real_check_connection_conflicts): implement, handle lockdown for
6018                         system connections
6019
6020         * src/nm-device-802-3-ethernet.c
6021                 - (real_check_connection): remove; unused
6022
6023         * src/nm-manager.c
6024                 - (check_connection_allowed): new function
6025                 - (nm_manager_activate_device): ensure the connection being requested
6026                         is allowed to be activated
6027
6028         * src/nm-serial-device.c
6029           src/nm-gsm-device.c
6030                 - real_check_connection() -> real_check_connection_complete()
6031
6032 2007-12-27  Dan Williams  <dcbw@redhat.com>
6033
6034         * src/nm-device-interface.c
6035           src/nm-device-interface.h
6036                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6037                         normalize and expand errors
6038                 - (nm_device_interface_init): register errors so they can be marshalled
6039                         through dbus-glib
6040                 - (nm_device_interface_activate): ensure that failure of activation
6041                         returns an error
6042
6043         * src/nm-device.c
6044           src/nm-device.h
6045                 - (device_activation_precheck): implementations of check_connection()
6046                         now take a GError and must fill it in if the check fails.  Return
6047                         more descriptive error if the requested connection is already
6048                         activating
6049                 - (nm_device_activate): actually try to return descriptive errors on
6050                         failures
6051
6052         * src/nm-device-802-11-wireless.c
6053           src/nm-device-802-3-ethernet.c
6054           src/nm-serial-device.c
6055           src/nm-gsm-device.c
6056                 - (real_check_connection): return more descriptive errors on failure
6057
6058         * src/NetworkManagerPolicy.c
6059                 - (nm_policy_device_change_check): print activation errors in the logs
6060
6061         * src/nm-manager.c
6062                 - (nm_manager_error_quark, nm_manager_error_get_type,
6063                    nm_manager_class_init): new errors
6064                 - (nm_manager_activate_device): handle errors
6065                 - (nm_manager_error_new): removed
6066                 - (wait_for_connection_expired, connection_added_default_handler,
6067                    impl_manager_activate_device): better error handling
6068
6069 2007-12-27  Dan Williams  <dcbw@redhat.com>
6070
6071         Fixes gnome.org #466954
6072
6073         * src/supplicant-manager/nm-supplicant-settings-verify.c
6074                 - Allow 'frequency' network property
6075
6076         * src/supplicant-manager/nm-supplicant-config.c
6077           src/supplicant-manager/nm-supplicant-config.h
6078                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6079                         for callers to specify the frequency an Ad-Hoc network should operate
6080                         on.  Some drivers require this to successfully create an Ad-Hoc
6081                         network.
6082
6083         * src/nm-device-802-11-wireless.c
6084                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6085                         guint32 value in MHz
6086                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6087                         iw_freq_to_uint32()
6088                 - (find_supported_frequency): new function; find a free supported
6089                         frequency for a user-created Ad-Hoc network
6090                 - (build_supplicant_config): if no frequency was specified for a user-
6091                         created Ad-Hoc network, find a free one to use
6092                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6093                         a specific object as user-created
6094
6095 2007-12-27  Dan Williams  <dcbw@redhat.com>
6096
6097         * libnm-util/nm-utils.c
6098           libnm-util/nm-utils.h
6099                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6100                         for adhoc networks
6101
6102 2007-12-24  Dan Williams  <dcbw@redhat.com>
6103
6104         * libnm-util/nm-setting-wireless.c
6105                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6106                         185, 187, 188, 192, and 196
6107
6108 2007-12-24  Dan Williams  <dcbw@redhat.com>
6109
6110         * src/nm-device-802-11-wireless.c
6111                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6112                         a channel # instead of a frequency
6113
6114 2007-12-24  Dan Williams  <dcbw@redhat.com>
6115
6116         * src/NetworkManagerAP.c
6117           src/NetworkManagerAP.h
6118                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6119                 - (freq_to_channel): handle split band tables
6120                 - (channel_to_freq): handle split band tables, take a band argument
6121
6122 2007-12-24  Dan Williams  <dcbw@redhat.com>
6123
6124         * libnm-util/nm-setting-connection.h
6125           libnm-util/nm-setting-connection.c
6126                 - Add 'lockdown' member
6127
6128 2007-12-22  Dan Williams  <dcbw@redhat.com>
6129
6130         * libnm-util/nm-setting-wireless.c
6131                 - (nm_setting_wireless_class_init): add missing 'rate' property
6132                         specification
6133
6134 2007-12-18  Dan Williams  <dcbw@redhat.com>
6135
6136         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6137
6138         * src/nm-netlink-monitor.c
6139           src/nm-netlink-monitor.h
6140                 - Remove handrolled netlink, use libnl instead
6141
6142         * src/nm-device-802-3-ethernet.c
6143                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6144                    nm_device_802_3_ethernet_carrier_on): use new names
6145
6146 2007-12-17  Dan Williams  <dcbw@redhat.com>
6147
6148         * configure.in
6149                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6150                         and fixes memory leaks)
6151
6152         * src/nm-netlink.c
6153                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6154                         automatically handle the netlink PID
6155
6156 2007-12-17  Dan Williams  <dcbw@redhat.com>
6157
6158         Patch from Michael Biebl <biebl@debian.org>
6159
6160         * configure.in
6161           src/ppp-manager/Makefile.am
6162                 - fix up install dir of pppd plugin
6163                 - clean up configure.in a bit
6164
6165 2007-12-12  Dan Williams  <dcbw@redhat.com>
6166
6167         * system-settings/src/nm-system-settings.conf
6168                 - Allow non-root clients (like the applet) to read settings
6169
6170 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6171
6172         * Replace all occurences of 'UMTS' with 'GSM'.
6173
6174 2007-12-07  Dan Williams  <dcbw@redhat.com>
6175
6176         * src/nm-serial-device.c
6177                 - (real_is_up): serial devices are always "up"
6178
6179 2007-12-07  Dan Williams  <dcbw@redhat.com>
6180
6181         * src/nm-netlink.c
6182           src/NetworkManagerSystem.c
6183                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6184                         twice (gnome.org #491047)
6185                 - Make more robust against allocation-related failures should they occur
6186
6187 2007-12-07  Dan Williams  <dcbw@redhat.com>
6188
6189         Noticed by Christian Persch <chpe@gnome.org>
6190
6191         Always chain up to parent object in dispose and finalize handlers.
6192                 (gnome.org #433112)
6193
6194 2007-12-07  Dan Williams  <dcbw@redhat.com>
6195
6196         * src/nm-device-802-11-wireless.c
6197                 - Wrap #include of linux/mii.h to fix redefined structures due to
6198                         incorrect kernel headers (gnome.org #350061)
6199
6200 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6201
6202         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6203         before doing anything else.
6204         (init_modem): Move modem initialization here.
6205
6206         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6207         (nm_serial_device_flash): Implement.
6208
6209         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6210         changes signal is "StateChanged" and not "Status".
6211         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6212
6213 2007-12-06  Dan Williams  <dcbw@redhat.com>
6214
6215         * src/supplicant-manager/nm-supplicant-config.c
6216                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6217                         to only send some options when they make sense; also send phase2
6218                         option to the supplicant (possible fix for rh #399631)
6219
6220 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6221
6222         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6223         arguments: This whole file shouldn't really know anything about NMDevices, it
6224         should deal only with device interfaces. Devices might have different ifaces for
6225         different stuff and this place shouldn't know anything about it.
6226
6227         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6228         (global_state_changed): Implement. In the current NM it's not really important,
6229         but will be required in the case of multiple active devices. (Or even better,
6230         if stuff like that gets moved out from NM).
6231
6232         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6233         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6234         instead.
6235
6236         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6237         devices like serial devices (ttyS0 and ppp0 for example).
6238         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6239         set.
6240         (nm_device_set_ip_iface): Implement.
6241         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6242         after setting ip4_config from here ...
6243         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6244         than this function should call nm_system_device_set_from_ip4_config() because no
6245         other code has enough information on which arguments to use. So instead, other code
6246         could just set the new ip4 config using this function and everyone is happy.
6247
6248         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6249         if we happen to get deactivated while something is pending.
6250         (automatic_registration): Handle the response that indicates pending network
6251         registration and wait until the pending registration is done.
6252         (real_deactivate_quickly): If there's a pending operation, cancel it.
6253
6254         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6255         (real_deactivate_quickly): ... and remove it when it's down.
6256         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6257         it if needed.
6258         (nm_serial_device_wait_for_reply): Ditto.
6259
6260 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6261
6262         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6263         (get_network_done): Remove newline, nm_info() does it already.
6264         (real_act_stage1_prepare): Turn the modem echo off.
6265
6266         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6267         device, set the route to the device interface. This is a hack.
6268
6269         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6270         return, no need for a new-line.
6271         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6272         Change the device iface here (ugh).
6273         (real_act_stage4_get_ip4_config): Implement.
6274         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6275         Restore the device iface.
6276
6277         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6278         device is not wired or wireless (eg, automatically upped) device.
6279
6280         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6281         it isn't.
6282         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6283
6284         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6285         before calling it's is_device_fn().
6286
6287 2007-12-05  Dan Williams  <dcbw@redhat.com>
6288
6289         * libnm-util/nm-utils.c
6290                 - (nm_utils_register_value_transformations,
6291                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6292                         GHashTables of GValues too
6293
6294 2007-12-04  Dan Williams  <dcbw@redhat.com>
6295
6296         * initscript/RedHat/NetworkManager.in
6297                 - No longer start named; it's D-Bus interface is going away
6298
6299 2007-12-04  Dan Williams  <dcbw@redhat.com>
6300
6301         Patch from Michael Biebl <biebl@debian.org>
6302
6303         * system-settings/plugins/ifcfg/Makefile.am
6304           system-settings/src/main.c
6305           system-settings/src/Makefile.am
6306                 - Put system settings plugins in NM plugins dir
6307
6308         * src/ppp-manager/Makefile.am
6309           src/ppp-manager/nm-ppp-manager.c
6310                 - Move pppd plugin to NM plugins dir
6311
6312 2007-12-04  Dan Williams  <dcbw@redhat.com>
6313
6314         * libnm-util/nm-setting-vpn-properties.h
6315                 - Clarify usage of the 'data' member of the setting
6316
6317         * libnm-util/nm-setting-vpn-properties.c
6318                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6319                 - (set_property): just remove all the settings; don't recreate the has
6320                 - (update_one_secret): don't need to create the hash table here since
6321                         it should always be present
6322
6323 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6324
6325         Implement PIN and PUK requesting.
6326
6327         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6328         (enter_pin): Handle PIN and PUK requests.
6329         (real_act_stage1_prepare): Clear the secret type.
6330         (real_connection_secrets_updated): Implement this class method to get
6331         notified when new secrets arrive.
6332         (nm_umts_device_class_init): Add private data back to the umts device class
6333         to store the required secret type.
6334
6335 2007-12-01  Dan Williams  <dcbw@redhat.com>
6336
6337         * system-settings/plugins/ifcfg/parser.c
6338                 - (parser_parse_file): don't try to verify NULL connections
6339
6340 2007-12-01  Dan Williams  <dcbw@redhat.com>
6341
6342         * system-settings/src/main.c
6343                 - (load_connections, add_connection_to_settings): actually export
6344                         plugin-provided connections over D-Bus so NM can get them
6345
6346 2007-12-01  Dan Williams  <dcbw@redhat.com>
6347
6348         * system-settings/plugins/ifcfg/parser.c
6349           system-settings/plugins/ifcfg/parser.h
6350           system-settings/plugins/ifcfg/plugin.c
6351                 - Hook up more inotify bits (untested)
6352
6353 2007-11-29  Dan Williams  <dcbw@redhat.com>
6354
6355         * system-settings/src/nm-system-config-interface.h
6356           system-settings/src/nm-system-config-interface.c
6357                 - (nm_system_config_interface_init,
6358                    nm_system_config_interface_get_connections): add
6359
6360         * system-settings/src/main.c
6361                 - (load_plugins, load_connections, main): use a GSList for plugins
6362                         to ensure priority ordering
6363
6364         * system-settings/plugins/ifcfg/parser.c
6365                 - (ifcfg_error_quark): move to plugin.c, and rename
6366
6367         * system-settings/plugins/ifcfg/plugin.h
6368           system-settings/plugins/ifcfg/plugin.c
6369                 - (ifcfg_plugin_error_quark): move here from parser.c
6370                 - rework connection loading and initialization
6371                 - Add preliminary inotify support for network profile config file
6372
6373 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6374
6375         Merge the beginnings of the new GSM card support.
6376
6377         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6378         ppp watch source before killing pppd - If this happens from g_object_unref()
6379         then the ppp manager is already destroyed by the time the watch callback runs.
6380
6381         * src/nm-hal-manager.c: Add a device_type_name string to the device
6382         creators, so that we can print a nice human readable string when a
6383         device is added.
6384
6385         * src/nm-umts-device.c (automatic_registration_get_network): Query
6386         for the activated network, not much is done with the result thought.
6387
6388         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6389         (ppp_ip4_config): Change the device state to activated here for now.
6390         (real_check_connection): Make sure the connection includes ppp setting.
6391
6392         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6393
6394         * libnm-glib/Makefile.am: Add the new files to build.
6395
6396         * libnm-glib/nm-umts-device.c: 
6397         * libnm-glib/nm-umts-device.h: Implement.
6398
6399 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6400
6401         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6402         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6403
6404         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6405         the timeout source - this function is only called when the timeout source has
6406         been removed.
6407         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6408         to be big enough to contain the terminating zero element as well.
6409         The timeout argument is meant to be in seconds now.
6410         (real_deactivate_quickly): Implement.
6411
6412         * src/NetworkManager.conf: Allow root to own 
6413         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6414
6415         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6416         (not unsigned ints).
6417
6418         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6419         small issue with parity bounds - capital letters have lower ascii codes
6420         than lower case letters.
6421
6422         * libnm-util/nm-connection.c (register_default_settings): Register serial
6423         and umts settings.
6424
6425 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6426
6427         Remove the "index" property from devices as not all device types have this.
6428
6429         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6430
6431         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6432         (wired_device_creator): Get the device interface from hal to create the device.
6433         (wireless_device_creator): Ditto.
6434
6435         * src/nm-device.c (nm_device_init): Remove the index member.
6436         (constructor): Remove the checks for index property, make interface property
6437         a require constructor property.
6438         Use the HAL udi for DBus path for devices.
6439         (nm_device_get_index): Remove.
6440         (set_property): Remove index handling.
6441         (get_property): Ditto.
6442         (nm_device_get_dbus_path): Remove.
6443
6444         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6445         property.
6446
6447         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6448         Access the device index through it's interface.
6449         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6450         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6451         index argument. Add interface argument.
6452
6453         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6454         the useless test_dev argument. Remove index argument. Add interface arugment.
6455
6456         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6457         device index through interface.
6458         (nm_system_set_mtu): Ditto.
6459
6460         * introspection/nm-device.xml: Remove the "Index" property.
6461
6462 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6463
6464         * src/nm-serial-device.c: 
6465         * src/nm-serial-device.c: 
6466         * src/nm-umts-device.c:
6467         * src/nm-umts-device.h: Implement.
6468
6469         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6470         allocated by libhal.
6471         (modem_device_creator): Implement.
6472         (register_built_in_creators): Register the modem creator.
6473
6474         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6475         Remove the unused test_dev argument.
6476
6477         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6478
6479         * src/Makefile.am: Add new files to build.
6480         Link in ppp-manager.
6481
6482         * libnm-util/nm-setting-umts.c: 
6483         * libnm-util/nm-setting-umts.h: 
6484         * libnm-util/nm-setting-serial.c: 
6485         * libnm-util/nm-setting-serial.h: Implement.
6486
6487         * libnm-util/Makefile.am: Add new files to build.
6488
6489 2007-11-28  Dan Williams  <dcbw@redhat.com>
6490
6491         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6492
6493         Support DHCP-provided static routes.
6494
6495         * src/nm-ip4-config.h
6496           src/nm-ip4-config.c
6497                 - Add get/set functions for static routes
6498
6499         * src/dhcp-manager/nm-dhcp-manager.c
6500                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6501                         DHCP response
6502
6503         * src/NetworkManagerSystem.c
6504                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6505                         interface when applying the IP4Config
6506
6507 2007-11-28  Dan Williams  <dcbw@redhat.com>
6508
6509         * src/nm-device-802-11-wireless.c
6510                 - (real_act_stage1_prepare): mark APs created for hidden networks
6511                         as non-broadcasting
6512
6513 2007-11-27  Dan Williams  <dcbw@redhat.com>
6514
6515         * system-settings/src/nm-system-config-interface.h
6516                 - Note how to store secrets on NMSetting objects
6517
6518         * system-settings/src/dbus-settings.c
6519                 - (connection_settings_get_secrets): implement
6520
6521 2007-11-27  Dan Williams  <dcbw@redhat.com>
6522
6523         * system-settings/plugins/ifcfg/Makefile.am
6524           system-settings/plugins/ifcfg/parser.c
6525           system-settings/plugins/ifcfg/parser.h
6526           system-settings/plugins/ifcfg/plugin.c
6527                 - Parse wireless connections too
6528
6529         * system-settings/src/dbus-settings.c
6530           system-settings/src/dbus-settings.h
6531           system-settings/src/main.c
6532                 - Handle connection update/removal if the plugin supports it
6533
6534 2007-11-27  Dan Williams  <dcbw@redhat.com>
6535
6536         * src/nm-dbus-manager.h
6537           src/nm-hal-manager.c
6538                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6539                         do it for them
6540
6541         * src/Makefile.am
6542           src/NetworkManagerDbusUtils.c
6543           src/NetworkManagerDbusUtils.h
6544                 - Remove these two source files; they are unused
6545
6546 2007-11-27  Dan Williams  <dcbw@redhat.com>
6547
6548         * src/vpn-manager/nm-vpn-manager.c
6549                 - (impl_vpn_manager_connect): fix system settings check (found by
6550                         James M. Leddy)
6551
6552 2007-11-26  Dan Williams  <dcbw@redhat.com>
6553
6554         * Fix warnings so everything compiles with --enable-more-warnings
6555
6556 2007-11-25  Dan Williams  <dcbw@redhat.com>
6557
6558         * system-settings/*
6559                 - Rework structure and code to use GModule-loaded plugins and a plugin
6560                         interface that plugins export to the system settings service
6561
6562 2007-11-21  Dan Williams  <dcbw@redhat.com>
6563
6564         * system-settings/*
6565                 - Add Soren's system settings service.  Needs work for distros other
6566                         than Fedora; the backends from NM should mostly migrate to here
6567                         and be converted to GObjects
6568
6569 2007-11-21  Dan Williams  <dcbw@redhat.com>
6570
6571         * libnm-util/nm-setting-vpn-properties.c
6572                 - (set_property): must deep-copy the given settings hash, otherwise
6573                         double-free errors occur when the setting is disposed of
6574
6575 2007-11-21  Dan Williams  <dcbw@redhat.com>
6576
6577         * src/vpn-manager/nm-vpn-act-request.h
6578           src/vpn-manager/nm-vpn-act-request.c
6579                 - Remove; unused
6580
6581 2007-11-20  Dan Williams  <dcbw@redhat.com>
6582
6583         * libnm-util/nm-utils.c
6584                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6585                    nm_utils_convert_ip4_addr_struct_array_to_string,
6586                    nm_utils_register_value_transformations): print out the readable
6587                         values of more types of properties of NMSettings subclasses
6588
6589 2007-11-20  Dan Williams  <dcbw@redhat.com>
6590
6591         * libnm-util/nm-setting-ip4-config.c
6592                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6593                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6594                         marshal GValueArrays inside collections, so switch to types that it
6595                         can actually marshal/demarshal
6596
6597 2007-11-16  Dan Williams  <dcbw@redhat.com>
6598
6599         * libnm-util/nm-setting-wireless-security.c
6600                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6601                         minimal verification of EAP methods too
6602                 - (verify): verify phase1 eap methods too
6603
6604 2007-11-15  Dan Williams  <dcbw@redhat.com>
6605
6606         * libnm-glib/nm-device.h
6607           libnm-glib/nm-device.c
6608                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6609                         const char *
6610
6611 2007-11-15  Dan Williams  <dcbw@redhat.com>
6612
6613         * libnm-glib/nm-device.c
6614                 - (get_product_and_vendor): don't try to free things that should be
6615                         freed
6616
6617 2007-11-15  Dan Williams  <dcbw@redhat.com>
6618
6619         * src/NetworkManagerUtils.c
6620                 - (nm_ethernet_address_is_valid): unbreak previous fix
6621
6622 2007-11-15  Dan Williams  <dcbw@redhat.com>
6623
6624         * src/supplicant-manager/nm-supplicant-config.c
6625                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6626                         options
6627
6628 2007-11-15  Dan Williams  <dcbw@redhat.com>
6629
6630         * src/NetworkManagerUtils.c
6631                 - (nm_ethernet_address_is_valid): fix style, clarify
6632                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6633
6634         * src/nm-device-802-11-wireless.c
6635                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6636                 - (nm_device_802_11_wireless_get_ssid,
6637                    nm_device_802_11_wireless_get_bssid,
6638                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6639                         before calling the ioctl; fixes valgrind-reported jump depends on
6640                         uninitialized value errors
6641
6642 2007-11-15  Dan Williams  <dcbw@redhat.com>
6643
6644         * libnm-util/nm-setting.c
6645                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6646                         unecessary to serialize 'name'
6647
6648         * src/nm-activation-request.c
6649                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6650                         the GetSecrets call
6651
6652 2007-11-15  Dan Williams  <dcbw@redhat.com>
6653
6654         * libnm-util/nm-setting-connection.h
6655           libnm-util/nm-setting-connection.c
6656                 - Rename the 'name' property to 'id', because it conflicted with the
6657                         NMSetting superclass' 'name' property.
6658
6659         * libnm-util/nm-setting.c
6660                 - (nm_setting_to_hash): serialize the 'name' property
6661                 - (one_property_cb): ignore 'name' on deserialization of a connection
6662
6663         * src/nm-device-802-11-wireless.c
6664           src/vpn-manager/nm-vpn-connection.c
6665           src/NetworkManagerPolicy.c
6666                 - Fix up for NMSettingConnection 'name'->'id' changes
6667
6668 2007-11-13  Dan Williams  <dcbw@redhat.com>
6669
6670         * libnm-glib/nm-device-802-11-wireless.h
6671           libnm-glib/nm-device-802-11-wireless.c
6672                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6673
6674         * test/nm-tool.c
6675           libnm-glib/libnm-glib-test.c
6676                 - Fixes for above change
6677
6678 2007-11-12  Dan Williams  <dcbw@redhat.com>
6679
6680         * src/supplicant-manager/nm-supplicant-settings-verify.c
6681                 - Allow fragment_size option
6682
6683         * src/supplicant-manager/nm-supplicant-settings-verify.c
6684                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6685                         EAP fragment size than the default to help some TLS connections
6686
6687 2007-11-12  Dan Williams  <dcbw@redhat.com>
6688
6689         Make certs actually work.  The private key is now a secret, and should be
6690         decrypted when requested by NM.  The private key and phase2 private key
6691         passwords are no longer interesting to NM because they should be used by
6692         the settings service to decrypt the private key itself before passing it
6693         to NM, and hence have been removed as fields.
6694
6695         * libnm-util/nm-setting-wireless-security.h
6696           libnm-util/nm-setting-wireless-security.c
6697                 - Remove private-key-passwd and phase2-private-key-passwd from
6698                         properties
6699                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6700                    need_secrets): use property #defines instead strings to keep things
6701                         consistent
6702                 - (need_secrets_tls): if a client certificate is present but no
6703                         private key, request the private key
6704                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6705                         remove private key password stuff, mark private keys as secret
6706
6707         * src/supplicant-manager/nm-supplicant-settings-verify.c
6708                 - Remove private_key_passwd and private_key2_passwd from opt_table
6709
6710 2007-11-09  Dan Williams  <dcbw@redhat.com>
6711
6712         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6713         Since the vpn-properties are managed and known by the VPN daemons themselves,
6714         libnm-util doesn't know what's secret and what's in the setting's 'data'
6715         member.
6716
6717         * libnm-util/nm-setting.h
6718           libnm-util/nm-setting.c
6719                 - Add the ability for subclasses to override update_one_secret
6720
6721         * libnm-util/nm-setting-vpn-properties.c
6722                 - Override update_one_secret and just copy the values into the
6723                         internal table
6724
6725 2007-11-09  Dan Williams  <dcbw@redhat.com>
6726
6727         * libnm-glib/nm-settings.h
6728           libnm-glib/nm-settings.c
6729                 - (nm_settings_new_error): remove
6730                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6731                         clients should use g_set_error() with NM_SETTINGS_ERROR
6732
6733 2007-11-09  Dan Williams  <dcbw@redhat.com>
6734
6735         * src/supplicant-manager/nm-supplicant-config.c
6736                 - (nm_supplicant_config_add_setting_wireless_security): private key
6737                         passwords are never sent to wpa_supplicant, because the supplicant
6738                         should never be reading random files from the disk.  Clients like
6739                         the applet are required to decrypt the private keys and send NM
6740                         the decrypted blobs.
6741
6742 2007-11-08  Dan Williams  <dcbw@redhat.com>
6743
6744         * libnm-util/nm-setting-wireless-security.h
6745           libnm-util/nm-setting-wireless-security.c
6746                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6747                         members to 802-11-wireless-security structure.  This should be used
6748                         to indicate that the values in private-key and phase2-private-key
6749                         are already decrypted by the user agent, and that no
6750                         private-key-passwd or phase2-private-key-passwd should be expected.
6751                         It is not meant to be a stored configuration value, but meant to
6752                         be set when the conneciton is sent to NM over dbus.
6753
6754 2007-11-08  Dan Williams  <dcbw@redhat.com>
6755
6756         * libnm-util/nm-connection.h
6757           libnm-util/nm-connection.c
6758                 - (nm_connection_need_secrets): add argument to return hints
6759
6760         * src/nm-device-802-11-wireless.c
6761                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6762                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6763                         nm_connection_need_secrets() change
6764
6765 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6766
6767         Rework NMSetting structures: Move each setting to it's own file.
6768         Convert to GObject. Remove home grown setting types and use GTypes.
6769         Use GObject property introspection for hash conversion, enumerating
6770         properties, etc.
6771
6772         * libnm-util/nm-setting-connection.[ch]
6773         * libnm-util/nm-setting-ip4-config.[ch]
6774         * libnm-util/nm-setting-ppp.[ch]
6775         * libnm-util/nm-setting-vpn.[ch]
6776         * libnm-util/nm-setting-vpn-properties.[ch]
6777         * libnm-util/nm-setting-wired.[ch]
6778         * libnm-util/nm-setting-wireless.[ch]
6779         * libnm-util/nm-setting-wireless-security.[ch]
6780
6781         New files, each containing a setting.
6782
6783         * libnm-util/nm-setting-template.[ch]: A template for creating new
6784         settings. To use it, just replace 'template' with the new setting
6785         name, and you're half-way done.
6786
6787         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6788         introspection instead of internal types and tables.
6789
6790         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6791
6792         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6793         GValue types defined by dbus-glib for composed types like collections,
6794         structures and maps.
6795
6796         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6797         a setting from connection takes the setting type now. Also, since
6798         the settings are in multiple files, include relevant settings.
6799
6800 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6801
6802         * configure.in:
6803         * src/backends/NetworkManagerGentoo.c:
6804         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6805         providers in Gentoo.
6806
6807 2007-10-31  Dan Williams  <dcbw@redhat.com>
6808
6809         * libnm-util/nm-connection.c
6810                 - (gvalue_to_string): handle UINT32 arrays
6811
6812 2007-10-31  Dan Williams  <dcbw@redhat.com>
6813
6814         * libnm-glib/nm-device.h
6815           libnm-glib/nm-device.c
6816                 - (nm_device_get_description): remove
6817                 - (nm_device_get_product, nm_device_get_vendor): add
6818                 - (nm_device_update_description): new function (private); walk HAL
6819                         devices to get product and vendor IDs for a specific device
6820
6821 2007-10-31  Dan Williams  <dcbw@redhat.com>
6822
6823         * src/nm-device-802-11-wireless.c
6824                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6825
6826 2007-10-29  Dan Williams  <dcbw@redhat.com>
6827
6828         * src/nm-hal-manager.c
6829                 - (device_added, device_new_capability): ignore device additions while
6830                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6831                         kernel module is unloaded and reloaded and recognized by NM again.
6832
6833 2007-10-26  Dan Williams  <dcbw@redhat.com>
6834
6835         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6836
6837         * src/NetworkManagerAP.c
6838           src/NetworkManagerAP.h
6839           libnm-glib/nm-access-point.c
6840           libnm-glib/nm-access-point.h
6841                 - Make 'rate' property a guint32 to better match with WEXT and
6842                         wpa_supplicant and to allow representation of higher bitrates
6843
6844         * src/nm-device-802-11-wireless.c
6845           introspection/nm-device-802-11-wireless.xml
6846           libnm-glib/nm-device-802-11-wireless.c
6847           libnm-glib/nm-device-802-11-wireless.h
6848                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6849
6850         * src/nm-device-802-3-ethernet.c
6851           src/nm-device-802-3-ethernet.h
6852           introspection/nm-device-802-3-ethernet.xml
6853           libnm-glib/nm-device-802-3-ethernet.c
6854           libnm-glib/nm-device-802-3-ethernet.h
6855                 - Make 'speed' property a guint32 to match other speed/rate types
6856                 - Make nm_device_802_3_ethernet_get_speed() static
6857
6858         * test/nm-tool.c
6859                 - Update for the changes above
6860
6861 2007-10-26  Dan Williams  <dcbw@redhat.com>
6862
6863         * src/named-manager/nm-named-manager.c
6864                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6865                     not calling fclose() twice on some error conditions
6866
6867 2007-10-26  Dan Williams  <dcbw@redhat.com>
6868
6869         * src/nm-activation-request.c
6870                 - (dispose): clean up indentation; get the right DBusGProxy object to
6871                         cancel the GetSecrets pending call on.  Need to use the Secrets
6872                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6873                         pending call doesn't get canceled, and pressing Cancel in the
6874                         applet's password dialog could cause get_secrets_cb() to be called
6875                         after the activation request has already been destroyed
6876
6877 2007-10-24  Dan Williams  <dcbw@redhat.com>
6878
6879         * src/supplicant-manager/nm-supplicant-config.c
6880                 - (nm_supplicant_config_add_blob): pass blob data and length for
6881                         verification
6882                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6883
6884 2007-10-24  Dan Williams  <dcbw@redhat.com>
6885
6886         * src/supplicant-manager/nm-supplicant-settings-verify.c
6887                 - (opt_table): max length for certificates should be 65536
6888
6889 2007-10-24  Dan Williams  <dcbw@redhat.com>
6890
6891         * src/supplicant-manager/nm-supplicant-interface.c
6892                 - (blob_free): correctly free blob data after use
6893                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6894
6895 2007-10-24  Dan Williams  <dcbw@redhat.com>
6896
6897         * libnm-util/nm-setting.c
6898                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6899                         EAP method need secrets
6900
6901 2007-10-24  Dan Williams  <dcbw@redhat.com>
6902
6903         * src/backends/NetworkManagerRedHat.c
6904                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6905
6906 2007-10-23  Dan Williams  <dcbw@redhat.com>
6907
6908         * libnm-util/nm-setting.c
6909           libnm-util/nm-setting.c
6910                 - (nm_setting_compare): implement
6911                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6912                    compare_one_hash_gvalue): compare the contents of a setting
6913
6914         * libnm-util/nm-connection.c
6915                 - (nm_connection_compare): implement
6916
6917 2007-10-23  Dan Williams  <dcbw@redhat.com>
6918
6919         * src/nm-activation-request.c
6920                 - (get_secrets_cb): handle getting a setting back that is more than
6921                         just secrets (ie, user changed auth or EAP method or something)
6922
6923 2007-10-23  Dan Williams  <dcbw@redhat.com>
6924
6925         * libnm-util/nm-setting.c
6926           libnm-util/nm-setting.h
6927                 - (nm_setting_verify): new function; verify one setting
6928                 - (nm_settings_verify_all): rename from nm_settings_verify()
6929                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6930                         all_settings
6931
6932         * libnm-util/nm-connection.c
6933                 - (nm_connection_replace_settings, nm_connection_verify,
6934                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6935
6936 2007-10-23  Dan Williams  <dcbw@redhat.com>
6937
6938         * src/nm-device-802-11-wireless.c
6939                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6940                         desired behavior
6941
6942 2007-10-23  Dan Williams  <dcbw@redhat.com>
6943
6944         * src/supplicant-manager/nm-supplicant-settings-verify.c
6945                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6946                         nm-settings.c
6947
6948 2007-10-23  Dan Williams  <dcbw@redhat.com>
6949
6950         * src/nm-device-802-11-wireless.c
6951                 - (real_act_stage2_config): after the first association failure,
6952                         if the connection still needs secrets ask the user for them
6953                         explicitly.  After the fourth association failure due to bad
6954                         secrets, fail the connection entirely.  Handles the GetSecrets
6955                         loop that NM gets into when the provided secrets don't match up
6956                         with the connection details.
6957
6958 2007-10-23  Dan Williams  <dcbw@redhat.com>
6959
6960         * src/supplicant-manager/nm-supplicant-config.c
6961                 - (nm_supplicant_config_add_setting_wireless_security): only add
6962                         WPA-specific options when WPA is in use
6963
6964 2007-10-23  Dan Williams  <dcbw@redhat.com>
6965
6966         * src/supplicant-manager/nm-supplicant-config.c
6967                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6968                         secret doesn't need to be unhexified
6969
6970 2007-10-23  Dan Williams  <dcbw@redhat.com>
6971
6972         * libnm-util/nm-setting.c
6973                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6974                         before trying to do something with it
6975
6976 2007-10-23  Dan Williams  <dcbw@redhat.com>
6977
6978         * src/nm-device-802-11-wireless.c
6979                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6980
6981 2007-10-23  Dan Williams  <dcbw@redhat.com>
6982
6983         * src/nm-device-802-11-wireless.c
6984                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6985                         non-SSID-broadcasting APs
6986
6987 2007-10-23  Dan Williams  <dcbw@redhat.com>
6988
6989         * src/NetworkManagerAP.c
6990                 - (match_cipher, security_compatible): remove
6991                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6992                         libnm-util instead
6993
6994 2007-10-23  Dan Williams  <dcbw@redhat.com>
6995
6996         * libnm-util/nm-utils.c
6997           libnm-util/nm-utils.h
6998                 - (nm_utils_ap_security_compatible): common function for checking
6999                         whether a specific AP is compatible with an NMConnection
7000
7001 2007-10-23  Dan Williams  <dcbw@redhat.com>
7002
7003         * libnm-util/nm-setting.c
7004                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7005                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7006                    need_secrets_password, setting_wireless_security_verify): fix
7007                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7008                         secrets logic for each supported EAP method
7009
7010 2007-10-23  Dan Williams  <dcbw@redhat.com>
7011
7012         * src/supplicant-manager/nm-supplicant-config.c
7013                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7014                         config option name, should be "private_key2_passwd"
7015
7016 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7017
7018         Implement support for static IP addresses, additional/overridden DNS and
7019         DNS domain search lists.
7020
7021         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7022         (ip4_addresses_to_gvalue): Implement.
7023         (convert_array_to_byte_array): Implement.
7024         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7025         NM_S_TYPE_IP4_ADDRESSES.
7026         (nm_setting_hash): Ditto.
7027         (default_setting_clear_secrets): Add a default case for the switch: IP address
7028         shouldn't be secret, ever.
7029         (setting_ip4_config_verify): Update, requires addresses in case of manual
7030         configurations.
7031         (setting_ip4_config_destroy): Free stuff.
7032
7033         * src/nm-device.c (merge_ip4_config): Implement.
7034         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7035
7036 2007-10-22  Dan Williams  <dcbw@redhat.com>
7037
7038         * libnm-util/nm-setting.c
7039                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7040                         pairwise cipher options for Dynamic WEP
7041
7042 2007-10-21  Dan Williams  <dcbw@redhat.com>
7043
7044         * src/NetworkManagerAP.c
7045           src/NetworkManagerAP.h
7046                 - Rename 'articifical' -> 'fake' since that's what they are until
7047                         noticed in scans
7048                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7049                         from the attributes in an NMConnection object
7050                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7051                         WPA Enterprise
7052                 - (nm_ap_match_in_list): find a matching AP in a scan list
7053
7054         * src/nm-device-802-11-wireless.c
7055                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7056                         AP when searching the scan list; match on frequency and mode too
7057                 - (nm_device_802_11_wireless_get_frequency): implement
7058                 - (merge_scanned_ap): replace duplicate matching logic with
7059                         nm_ap_match_in_list()
7060                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7061                         the user is trying to connect to a hidden network that is not yet
7062                         known from the scan list
7063                 - (activation_success_handler): now that the card knows the AP's BSSID,
7064                         there may already be a scanned AP in the scan list that is what
7065                         we really wanted to connect to, but didn't know at the time.  Use
7066                         that instead of the 'fake' AP created at activation start and get
7067                         rid of the 'fake' AP 
7068                 - (cull_scan_list): don't remove fake APs
7069
7070 2007-10-21  Dan Williams  <dcbw@redhat.com>
7071
7072         * src/nm-activation-request.h
7073           src/nm-activation-request.c
7074                 - (nm_act_request_set_specific_object): new function; allow setting the
7075                         specific object if one isn't set yet
7076
7077 2007-10-20  Dan Williams  <dcbw@redhat.com>
7078
7079         * src/supplicant-manager/nm-supplicant-config.h
7080           src/supplicant-manager/nm-supplicant-config.c
7081                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7082                         table to store blobs
7083                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7084                         blob hash table
7085                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7086                 - (nm_supplicant_config_add_setting_wireless_security): handle
7087                         options that use certificates (ie, blobs)
7088
7089         * src/nm-device-802-11-wireless.c
7090                 - (build_supplicant_config): pass a UID (just use the connection path)
7091                         to the supplicant config as now required
7092
7093         * src/supplicant-manager/nm-supplicant-interface.c
7094                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7095                         there are any blobs to send to wpa_supplicant, send those first
7096                         before sending the network configuration
7097
7098 2007-10-19  Dan Williams  <dcbw@redhat.com>
7099
7100         Split the GetSecrets() call off to a separate D-Bus interface so that it
7101         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7102         should be able to call GetSecrets().
7103
7104         * include/NetworkManager.h
7105                 - Define the connection secrets D-Bus interface
7106
7107         * src/vpn-manager/nm-vpn-connection.c
7108                 - (clear_need_auth): get the right proxy object for the connection
7109                         secrets interface
7110                 - (get_connection_secrets): use the connection secrets proxy; send
7111                         empty hints in get secrets request
7112
7113         * src/nm-activation-request.c
7114                 - (nm_act_request_request_connection_secrets): use the connection
7115                         secrets proxy; send empty hints in get secrets request
7116
7117         * src/nm-manager.c
7118           src/nm-manager.h
7119                 - (connection_get_settings_cb): set the connection secrets proxy on
7120                         the connection object too
7121                 - (internal_new_connection_cb): create the connection secrets proxy
7122
7123         * introspection/nm-settings-connection.xml
7124                 - Define Connection.Secrets interface and move GetSecrets there
7125                 - Add a 'hints' argument to GetSecrets
7126
7127         * libnm-glib/nm-settings.c
7128           libnm-glib/nm-settings.h
7129                 - (impl_connection_settings_get_secrets): add 'hints' argument
7130
7131 2007-10-19  Dan Williams  <dcbw@redhat.com>
7132
7133         * src/nm-device.c
7134                 - (constructor): add message about what path a device is exported as
7135                         to help in debugging rh #339011
7136
7137 2007-10-17  Dan Williams  <dcbw@redhat.com>
7138
7139         * libnm-util/nm-utils.h
7140           libnm-util/nm-utils.c
7141                 - (nm_utils_security_valid): common function to help find the intersection
7142                         of capabilities of devices and (optionally) access points
7143
7144 2007-10-17  Dan Williams  <dcbw@redhat.com>
7145
7146         * src/nm-device-802-11-wireless.c
7147                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7148                         don't get erroneously cleared
7149
7150 2007-10-17  Dan Williams  <dcbw@redhat.com>
7151
7152         * src/nm-manager.h
7153           src/nm-manager.c
7154           src/nm-hal-manager.c
7155                 - (device_removed, finalize, nm_manager_remove_device,
7156                    nm_manager_sleep): add a 'deactivate' argument to 
7157                    nm_manager_remove_device() to fully deactivate devices when necessary
7158                    (ie, always except when waking up)
7159
7160 2007-10-16  Dan Williams  <dcbw@redhat.com>
7161
7162         * libnm-util/nm-setting.c
7163                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7164                         also isn't valid phase2 autheap method
7165
7166 2007-10-16  Dan Williams  <dcbw@redhat.com>
7167
7168         * libnm-glib/nm-client.c
7169                 - (update_wireless_status): consolidate updates of wireless status
7170                 - (constructor): use update_wireless_status()
7171                 - (manager_running): set wireless status off when NM goes away; requery
7172                         the wireless status when NM comes back
7173
7174 2007-10-16  Dan Williams  <dcbw@redhat.com>
7175
7176         * libnm-glib/nm-client.c
7177                 - (nm_client_activate_device): actually use the fixed-up specific
7178                         object path
7179
7180 2007-10-16  Dan Williams  <dcbw@redhat.com>
7181
7182         * src/nm-hal-manager.c
7183                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7184                         killswitch error messages once
7185
7186 2007-10-16  Dan Williams  <dcbw@redhat.com>
7187
7188         * src/nm-manager.c
7189                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7190                         if it's disabled in hardware; don't touch network devices while
7191                         NM is asleep
7192
7193 2007-10-16  Dan Williams  <dcbw@redhat.com>
7194
7195         * libnm-util/nm-client.c
7196                 - (nm_client_activate_device): convert NULL specific_object to "/",
7197                         which is used in place of NULL
7198
7199         * src/nm-manager.c
7200                 - (impl_manager_activate_device): convert "/" specific_object back into
7201                         NULL
7202
7203 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7204
7205         Implement a generic NMSetting creator from setting name.
7206         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7207         add a virtual function 'populate_fn'.
7208
7209         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7210         (register_default_creators): Register setting creators instead of functions
7211         that create and then populate.
7212         (parse_one_setting): Use the common setting creator and then setting specific
7213         poplulation function.
7214
7215         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7216         they all looked exactly the same.
7217         Add a 'populate_fn' virtual function to NMSetting.
7218         Use default virtual functions in case they are not overriden.
7219         (nm_setting_populate_from_hash): Implement.
7220
7221         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7222         name, use a defined string.
7223         (real_act_stage4_get_ip4_config): Ditto.
7224
7225 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7226
7227         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7228         HAL is int, not uint.
7229
7230 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7231
7232         Implement killswitch polling through HAL.
7233
7234         * src/nm-manager.c: Add wireless hardware status property. Add 
7235         'properties-changed' signal for changes in wireless and wireless hardware
7236         state changes.
7237
7238         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7239         and update NMManager's wireless hardware state when it has changed.
7240         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7241         already does that.
7242
7243         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7244         values of wireless state and wireless hardware state. Listen for the
7245         'properties-changed' signals, update the cached values and emit notify.
7246
7247         * include/NetworkManager.h: Fix a typo in a comment.
7248
7249 2007-10-14  Dan Williams  <dcbw@redhat.com>
7250
7251         * libnm-util/nm-setting.c
7252                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7253
7254 2007-10-13  Dan Williams  <dcbw@redhat.com>
7255
7256         * libnm-util/nm-setting.h
7257           libnm-util/nm-setting.c
7258           src/supplicant-manager/nm-supplicant-config.c
7259                 - Make the 'proto' field of the 802-11-wireless-security field a
7260                         string list
7261
7262 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7263
7264         Rework the "properties-changed" signal listening implementation.
7265         Add a generic implementation to NMObject class that listens for
7266         the signal and calls property setters of the target NMObject.
7267
7268         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7269
7270         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7271         code to the end of file so that all the static functions are available
7272         without extra declarations.
7273         Remove the "properties-changed" signal handling and use the framework from
7274         NMObject.
7275         Implement property setters for properties that change with 
7276         "properties-changed" signal.
7277
7278         * libnm-glib/nm-access-point.c: Ditto.
7279
7280 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7281
7282         Rework the "properties-changed" signal implementation.
7283         In classes that need to use it, just emit "GObject::notify" and the new
7284         framework takes care of the rest to make the signal available on dbus.
7285         The framework queues the notifications and tries to send as many together
7286         in one signal as possible.
7287
7288         * src/nm-properties-changed-signal.c:
7289         * src/nm-properties-changed-signal.h: Implement.
7290
7291         * src/Makefile.am: Add new files to build.
7292
7293         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7294         signal.
7295
7296         * src/nm-device-802-11-wireless.c: Ditto.
7297
7298 2007-10-10  Dan Williams  <dcbw@redhat.com>
7299
7300         * src/nm-manager.c
7301                 - (wait_for_connection_expired): ensure info is valid
7302                 - (connection_added_default_handler): Should only remove pending
7303                         connection info when the manager has the connection that it's
7304                         waiting for.  Fixes segfault in wait_for_connection_info().  
7305
7306 2007-10-10  Dan Williams  <dcbw@redhat.com>
7307
7308         * libnm-util/nm-setting.c
7309           libnm-util/nm-setting.h
7310                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7311                         can use if they choose.  Should be filled in by the settings service
7312                         on-the-fly with the currently logged in user's username
7313
7314 2007-10-10  Dan Williams  <dcbw@redhat.com>
7315
7316         * src/nm-device-802-11-wireless.c
7317                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7318                         as such, because even if the manager fills in the SSID, NM still
7319                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7320                         its SSID
7321
7322 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7323
7324         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7325         code that used NM's own version of dbus signal handling and custom dictionary
7326         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7327         and we get to maintain over 2000 lines less code.
7328
7329         * libnm-util/dbus-dict-helpers.c:
7330         * libnm-util/dbus-dict-helpers.h: Remove.
7331
7332         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7333
7334         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7335
7336         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7337         handlers.
7338
7339         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7340
7341         * configure.in: Remove test/libnm-util/Makefile creation.
7342
7343         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7344
7345         * test/libnm-util/: Remove the whole directory.
7346
7347 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7348
7349         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7350         device_state_changed_idle_id variable or it would contain some random value and the
7351         schedule_change_check calls would not do anything.
7352
7353 2007-10-09  Dan Williams  <dcbw@redhat.com>
7354
7355         * src/nm-device-802-11-wireless.c
7356                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7357                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7358                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7359                         merging of non-SSID-broadcasting APs
7360
7361 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7362
7363         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7364         "guint8 *" since it's usually used with GByteArray->data.
7365         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7366
7367 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7368
7369         * src/NetworkManagerUtils.c
7370         (nm_utils_is_empty_ssid):
7371         (nm_utils_escape_ssid):
7372         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7373         lot of places, so they belong to libnm-utils instead.
7374
7375         Now with 100% less compiler warnings:
7376
7377         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7378         (nm_dbus_unescape_object_path): Ditto.
7379         (nm_utils_ssid_to_utf8): Ditto.
7380         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7381         (nm_utils_escape_ssid): Ditto.
7382         (nm_utils_same_ssid): Ditto.
7383
7384         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7385         (add_one_connection_element): Remove an unused variable.
7386         (impl_manager_get_active_connections): Ditto.
7387
7388         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7389         variable.
7390
7391         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7392         from the previous commit.
7393
7394         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7395         (real_act_stage1_prepare): Ditto.
7396         (activation_success_handler): Ditto.
7397         (get_property): Ditto.
7398
7399         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7400         variable.
7401
7402         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7403         it's always set.
7404
7405         * src/supplicant-manager/nm-supplicant-config.c 
7406         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7407         to expected "char *".
7408         (nm_supplicant_config_add_setting_wireless): Ditto.
7409         (nm_supplicant_config_remove_option): Remove, not used.
7410
7411         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7412         not double.
7413         (test_wireless_enabled): Ifdef out unused function.
7414         (device_deactivate): Ditto.
7415         (device_state_changed): Ditto.
7416         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7417         (nm_utils_escape_ssid): Ditto.
7418
7419         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7420         (nm_utils_is_empty_ssid): Ditto.
7421
7422         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7423         unused variable.
7424
7425         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7426         (setting_vpn_properties_update_secrets): Ditto.
7427         (int_to_gvalue): Ifdef out for now, not used.
7428         (byte_to_gvalue): Ditto.
7429
7430         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7431         Unused, remove.
7432
7433 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7434
7435         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7436         about dbus manager, not named manager.
7437         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7438
7439         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7440         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7441         However, the same signal is emitted when we destroy it and there's 
7442         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7443
7444         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7445         releasing the DBusGConnection, since proxy needs a conneciton.
7446         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7447
7448 2007-10-08  Dan Williams  <dcbw@redhat.com>
7449
7450         * src/NetworkManager.c
7451                 - (main): error on unknown command-line options
7452
7453 2007-10-08  Dan Williams  <dcbw@redhat.com>
7454
7455         Reimplement the invalid connection list.  Don't try to re-activate a
7456         connection that just failed or was canceled.
7457
7458         * src/nm-device.c
7459                 - (connection_secrets_failed_cb): fail device activation, don't just
7460                         deactivate the device.  Listeners have to know about the failure.
7461
7462         * src/NetworkManagerPolicy.c
7463                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7464                         the connection list given to a device's get_best_connection()
7465                         method
7466                 - (device_state_changed): tag failed connections as invalid; clear the
7467                         tag from successful connections
7468
7469 2007-10-08  Dan Williams  <dcbw@redhat.com>
7470
7471         Fix problems with interrupted activation.  Previously, choosing an AP
7472         from the menu, then choosing another one before the first connection was
7473         successful wouldn't deactivate the device before starting the new connection
7474         on that same device.
7475
7476         * src/NetworkManagerPolicy.c
7477                 - (deactivate_old_device, device_state_changed, state_changed,
7478                    nm_policy_new): wrong place to deactivate old devices
7479
7480         * src/nm-manager.c
7481                 - (pending_connection_info_destroy, finalize,
7482                    wait_for_connection_expired): decouple destruction of the pending
7483                         connection info from the manager device
7484                 - (connection_added_default_handler): deactivate any active or
7485                         activating device before starting a new activation
7486                 - (impl_manager_activate_device): deactivate any active or activating
7487                         device before starting a new activation; be sure not to leak
7488                         pending connection info if a new activation request arrives but
7489                         there's already a pending one in-process
7490
7491 2007-10-08  Dan Williams  <dcbw@redhat.com>
7492
7493         * src/NetworkManagerAP.h
7494           src/NetworkManagerAP.c
7495                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7496                         should handle default SSIDs and whether or not to autoconnect
7497                         to them
7498
7499 2007-10-08  Dan Williams  <dcbw@redhat.com>
7500
7501         * src/NetworkManagerPolicy.c
7502                 - (nm_policy_device_change_check): print out connection name where
7503                         possible
7504
7505 2007-10-08  Dan Williams  <dcbw@redhat.com>
7506
7507         * src/nm-device-802-11-wireless.c
7508           src/nm-device-802-11-wireless.h
7509                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7510                         'hidden-ap-found' signal (for internal use only) that allows the
7511                         NMManager to fill in the AP's SSID if a connection has that AP's
7512                         BSSID in its seen-bssids list
7513
7514         * src/nm-manager.c
7515                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7516                         wireless device's hidden-ap-found signal and fill in the APs SSID
7517                         if possible
7518
7519 2007-10-07  Dan Williams  <dcbw@redhat.com>
7520
7521         * src/nm-manager.c
7522           src/nm-manager.h
7523                 - Add a 'connections-added' signal to batch together updates of large
7524                         numbers of connections, like when reading from a settings service
7525                         the first time.  Otherwise, the policy would just activate the first
7526                         suitable connection it saw rather than waiting for the full list
7527                         to arrive.
7528                 - (nm_manager_class_init): register new signal
7529                 - (get_type_for_proxy, connection_get_settings_cb,
7530                    get_connection_for_proxy): centralize places where a proxy's setting
7531                         service is determined
7532                 - (free_get_settings_info): if the call being freed is the last call
7533                         in a pending call group, fire off the connections-added signal
7534                 - (internal_new_connection_cb): add call to a pending call group if
7535                         requested
7536                 - (list_connections_cb): always create a call group here, because this
7537                         call results in a batch of new connections
7538                 - (initial_get_connections): start getting system connections first
7539                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7540                         removed signal when destroying connections
7541
7542         * src/NetworkManagerPolicy.c
7543                 - (nm_policy_new, connections_added): handle connections-added signal
7544                         from the manager
7545
7546 2007-10-06  Dan Williams  <dcbw@redhat.com>
7547
7548         * src/nm-device-802-11-wireless.c
7549                 - (constructor): fix leaked socket
7550
7551 2007-10-06  Dan Williams  <dcbw@redhat.com>
7552
7553         * src/NetworkManagerPolicy.c
7554                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7555                         connection in the list returned by nm_manager_get_connections() is
7556                         reffed, but they weren't getting unreffed before returning
7557
7558 2007-10-06  Dan Williams  <dcbw@redhat.com>
7559
7560         * src/nm-manager.c
7561                 - (connections_to_slist): sort connections first on autoconnect, then
7562                         on timestamp
7563
7564 2007-10-06  Dan Williams  <dcbw@redhat.com>
7565
7566         * libnm-util/nm-connection.c
7567                 - (gvalue_to_string): handle UINT64
7568
7569 2007-10-06  Dan Williams  <dcbw@redhat.com>
7570
7571         * src/NetworkManagerPolicy.c
7572                 - (connection_updated, nm_policy_new): recheck state when a connection
7573                         gets updated
7574
7575 2007-10-06  Dan Williams  <dcbw@redhat.com>
7576
7577         * src/nm-manager.c
7578           src/nm-manager.h
7579                 - (nm_manager_get_connection_dbus_path): make static
7580                 - (nm_manager_update_connections): remove; unused
7581                 - Add a connection-updated signal
7582                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7583                         handle connection object updates
7584
7585 2007-10-06  Dan Williams  <dcbw@redhat.com>
7586
7587         * src/NetworkManagerPolicy.c
7588                 - (connection_removed): deactivate removed connections
7589
7590 2007-10-06  Dan Williams  <dcbw@redhat.com>
7591
7592         * libnm-util/nm-connection.c
7593           libnm-util/nm-connection.h
7594                 - (nm_connection_replace_settings): new function
7595
7596 2007-10-06  Dan Williams  <dcbw@redhat.com>
7597
7598         * libnm-glib/nm-device-802-11-wireless.c
7599                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7600                         on error when getting the active access point over D-Bus from NM
7601
7602 2007-10-05  Dan Williams  <dcbw@redhat.com>
7603
7604         * libnm-util/nm-setting.c
7605                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7606                         to the NMSettingWireless table; it's now a string array not an array
7607                         of byte arrays
7608
7609 2007-10-05  Dan Williams  <dcbw@redhat.com>
7610
7611         * libnm-glib/nm-device-802-11-wireless.c
7612                 - Cache properties and update cached properties on D-Bus signals from NM
7613
7614 2007-10-05  Dan Williams  <dcbw@redhat.com>
7615
7616         * src/nm-device-802-11-wireless.c
7617                 - (set_current_ap): consolidate current_ap handling code into one place
7618                         to ensure that PropertiesChanged signals are emitted in all cases
7619                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7620                    nm_device_802_11_wireless_dispose): use set_current_ap()
7621
7622 2007-10-05  Dan Williams  <dcbw@redhat.com>
7623
7624         * libnm-glib/nm-access-point.c
7625           libnm-glib/nm-access-point.h
7626                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7627                         because the value is cached internally now.  Callers should not
7628                         free the internal value.
7629                 - Make signal name defines private
7630
7631         * test/nm-tool.c
7632           libnm-glib/libnm-glib-test.c
7633                 - Don't free value returned from nm_access_point_get_hw_address()
7634
7635 2007-10-04  Dan Williams  <dcbw@redhat.com>
7636
7637         * introspection/nm-device-802-11-wireless.xml
7638           src/nm-device-802-11-wireless.h
7639           src/nm-device-802-11-wireless.c
7640                 - Add a PropertiesChanged signal for wireless device
7641                 - Store currently associated access point
7642                 - (periodic_update): generalize; update rate here too and emit the
7643                         correct PropertiesChanged signal when stuff changes
7644                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7645                    real_activation_cancel_handler): clear current_ap when device is
7646                         deactivated
7647                 - (link_to_specific_ap, get_ap_blacklisted,
7648                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7649                         code
7650                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7651                         outside this file
7652                 - (real_set_hw_address): emit property changed signal if the card's
7653                         MAC address changes
7654                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7655                         the card is supposed to be connecting to
7656                 - (activation_success_handler): send out property updates on successful
7657                         activation
7658                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7659                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7660                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7661                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7662                         is now boxed; add PropertiesChanged signal
7663
7664 2007-10-04  Dan Williams  <dcbw@redhat.com>
7665
7666         * libnm-util/nm-connection.c
7667           libnm-util/nm-connection.h
7668                 - (nm_connection_verify): new function
7669
7670 2007-10-04  Dan Williams  <dcbw@redhat.com>
7671
7672         * libnm-util/nm-setting.c
7673                 - (nm_settings_verify): use #defines when possible rather than strings
7674                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7675                 - (setting_vpn_verify): tighter validity check on 'service_type'
7676
7677 2007-10-04  Dan Williams  <dcbw@redhat.com>
7678
7679         * libnm-glib/nm-settings.c
7680                 - (nm_connection_settings_class_init): provide correct type for argument
7681                         to the Updated signal so that dbus-glib knows how to marshal it
7682
7683 2007-10-03  Dan Williams  <dcbw@redhat.com>
7684
7685         * src/nm-device-802-3-ethernet.c
7686                 - (real_get_best_connection): don't create automatic connections
7687                         internally; clients should provide a setting that applies to
7688                         the device with 'autoconnect: True'.  Problem was that these
7689                         internally auto-created connections don't have a proxy or service
7690                         name becuase they weren't created by a settings daemon, and therefore
7691                         clients have no idea what to do with them.
7692
7693 2007-10-03  Dan Williams  <dcbw@redhat.com>
7694
7695         * src/nm-device-802-11-wireless.c
7696           src/nm-device-802-11-wireless.h
7697           introspection/nm-device-802-11-wireless.xml
7698                 - GetActiveNetworks -> GetAccessPoints
7699                 - ActiveNetwork -> ActiveAccessPoint
7700                 - NetworkAdded -> AccessPointAdded
7701                 - NetowrkRemoved -> AccessPointRemoved
7702
7703         * libnm-glib/nm-device-802-11-wireless.c
7704           libnm-glib/nm-device-802-11-wireless.h
7705                 - network-added signal -> access-point-added
7706                 - network-removed signal -> access-point-removed
7707                 - nm_device_802_11_wireless_get_active_network() ->
7708                         nm_device_802_11_wireless_get_active_access_point()
7709                 - nm_device_802_11_wireless_get_network_by_path() ->
7710                         nm_device_802_11_wireless_get_access_point_by_path()
7711                 - nm_device_802_11_wireless_get_networks() ->
7712                         nm_device_802_11_wireless_get_access_points()
7713
7714         * libnm-glib/libnm-glib-test.c
7715           test/nm-tool.c
7716           src/NetworkManagerPolicy.c
7717                 - Fixups for Network -> AccessPoint
7718
7719 2007-10-03  Dan Williams  <dcbw@redhat.com>
7720
7721         Add a GetActiveConnections() method on the Manager object.
7722
7723         * src/nm-manager.c
7724           src/nm-manager.h
7725           introspection/nm-manager.xml
7726                 - (connection_get_settings_cb): keep connection type around too
7727                 - (impl_manager_get_active_connections, add_one_connection_element):
7728                         implement; returns all active connections and what devices they
7729                         apply to
7730
7731         * libnm-glib/nm-client.c
7732           libnm-glib/nm-client.h
7733           introspection/nm-manager-client.xml
7734                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7735                         by the caller; free here to avoid memory leak
7736                 - (nm_client_get_active_connections): implement; return the list of
7737                         active connections
7738                 - (nm_client_free_active_connection_element): implement; free an element
7739                         of the GSList returned by nm_client_get_active_connections()
7740
7741 2007-10-03  Dan Williams  <dcbw@redhat.com>
7742
7743         * src/nm-device-802-11-wireless.c
7744                 - (nm_device_802_11_wireless_update_bssid): remove
7745                 - (get_active_ap): new function; find the AP in the scan list which
7746                         matches the current BSSID and SSID of the wireless device
7747                 - (nm_device_802_11_periodic_update): get current AP using
7748                         get_active_ap() and print AP roam messages
7749
7750 2007-10-01  Dan Williams  <dcbw@redhat.com>
7751
7752         * libnm-util/nm-setting.h
7753                 - Add a 'timestamp' option to NMSettingConnection
7754                 - Add a UINT64 type
7755
7756         * libnm-util/nm-setting.c
7757                 - (uint64_to_gvalue): new function
7758                 - (nm_setting_populate_from_hash, nm_setting_hash,
7759                    default_setting_clear_secrets): handle UINT64 type
7760                 - con_table: add 'timestamp' member
7761
7762 2007-10-01  Dan Williams  <dcbw@redhat.com>
7763
7764         * src/nm-manager.c
7765                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7766                         value when the connection can be activated immediately
7767
7768 2007-10-01  Dan Williams  <dcbw@redhat.com>
7769
7770         * libnm-glib/nm-device.c
7771                 - (nm_device_class_init): actually tell glib about the carrier-changed
7772                         signal
7773
7774 2007-10-01  Dan Williams  <dcbw@redhat.com>
7775
7776         * configure.in
7777           src/marshallers/Makefile.am
7778           src/marshallers/nm-marshal.list
7779           src/marshallers/nm-marshal-main.c
7780                 - Consolidate glib marshallers into one place
7781
7782         * src/dhcp-manager/Makefile.am
7783           src/dhcp-manager/nm-dhcp-manager.c
7784           src/supplicant-manager/Makefile.am
7785           src/supplicant-manager/nm-supplicant-manager.c
7786           src/supplicant-manager/nm-supplicant-interface.c
7787           src/ppp-manager/Makefile.am
7788           src/ppp-manager/nm-ppp-manager.c
7789           src/vpn-manager/Makefile.am
7790           src/vpn-manager/nm-vpn-connection.c
7791           src/Makefile.am
7792                 - Use consolidated marshallers
7793
7794         * src/dhcp-manager/nm-dhcp-marshal.list
7795           src/dhcp-manager/nm-dhcp-marshal-main.c
7796           src/supplicant-manager/nm-supplicant-marshal-main.c
7797           src/supplicant-manager/nm-supplicant-marshal.list
7798           src/nm-marshal-main.c
7799           src/nm-marshal.list
7800           src/ppp-manager/nm-ppp-marshal-main.c
7801           src/ppp-manager/nm-ppp-marshal.list
7802           src/vpn-manager/nm-vpn-marshal-main.c
7803           src/vpn-manager/nm-vpn-marshal.list
7804                 - Remove
7805
7806 2007-10-01  Dan Williams  <dcbw@redhat.com>
7807
7808         * include/NetworkManagerVPN.h
7809                 - define VPN connection state change reason codes
7810
7811         * src/vpn-manager/Makefile.am
7812           src/vpn-manager/nm-vpn-marshal.list
7813           src/vpn-manager/nm-vpn-marshal-main.c
7814                 - Add marshallers for StateChanged signal
7815
7816         * introspection/nm-vpn-connection.xml
7817                 - New Banner property
7818                 - StateChanged signal now includes a 'reason' argument
7819
7820         * src/vpn-manager/nm-vpn-connection.c
7821           src/vpn-manager/nm-vpn-connection.h
7822                 - Add a "Banner" property that contains the returned VPN server login
7823                         banner (if any); valid only in the ACTIVATED state
7824                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7825                         a 'reason' argument and emits that reason along with the
7826                         state-changed signal
7827                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7828                 - (nm_vpn_connection_ip4_config_get): save banner for later
7829                 - (nm_vpn_connection_get_banner, get_property,
7830                    nm_vpn_connection_class_init): implement Banner property
7831
7832         * src/vpn-manager/nm-vpn-service.c
7833                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7834                         connection list because elements may get added/removed from it
7835                         while iterating over the list
7836                 - (connection_state_changed): signal now includes the 'reason' argument
7837
7838         * libnm-glib/nm-vpn-connection.c
7839           libnm-glib/nm-vpn-connection.h
7840                 - (nm_vpn_connection_get_banner): new function
7841                 - (state_changed_proxy): handle reason argument
7842
7843 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7844
7845         * src/nm-manager.c:
7846         * src/nm-manager.h:
7847         Implement device activation through NMManager.
7848         Implement "pending device activation" here - If the connection isn't found,
7849         we try to wait for up to 5 seconds for the connection to be provided.
7850         Add NMConnectionType argument to "connection-added" and "connection-removed"
7851         signals.
7852         (nm_manager_get): Remove. Finally.
7853
7854         * src/nm-activation-request.c: 
7855         * src/nm-activation-request.h: 
7856         Remove all the deferred activation code.
7857
7858         * src/nm-device.c: Remove all the deferred activation code. Once the device
7859         activation is started, it's started. Update the activation virtual function
7860         signature.
7861
7862         * src/nm-device-interface.c:
7863         * src/nm-device-interface.h:
7864         Device activation now takes only NMActRequest argument.
7865         Don't expose device activation directly on dbus, it's supposed to go through
7866         NMManager now.
7867
7868         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7869         a bit more compact.
7870         Use the new device activation methods through NMManager.
7871
7872         * introspection/nm-manager-client.xml: 
7873         * introspection/nm-manager.xml: 
7874         * libnm-glib/nm-client.c:
7875         * libnm-glib/nm-client.h:
7876         Add device activation method.
7877         
7878         * libnm-glib/nm-device.c: 
7879         * libnm-glib/nm-device.h: 
7880         * introspection/nm-device.xml: 
7881         Remove device activation method. It's done through NMManager now.
7882
7883         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7884         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7885
7886 2007-09-28  Dan Williams  <dcbw@redhat.com>
7887
7888         * libnm-glib/nm-vpn-connection.c
7889                 - (nm_vpn_connection_get_state): try to update state if the current
7890                         state is UNKNOWN
7891
7892 2007-09-27  Dan Williams  <dcbw@redhat.com>
7893
7894         Patch from Bill Nottingham
7895
7896         * src/supplicant-manager/nm-supplicant-config.c
7897                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7898                         data to the supplicant
7899
7900 2007-09-27  Dan Williams  <dcbw@redhat.com>
7901
7902         * src/NetworkManagerSystem.c
7903                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7904                         and all address manipulation here should be happening on the
7905                         _VPN_ device, not the active device
7906
7907 2007-09-26  Dan Williams  <dcbw@redhat.com>
7908
7909         * src/nm-manager.c
7910           src/nm-manager.h
7911           src/nm-activation-request.c
7912           src/nm-activation-request.h
7913                 - Move the GetSecrets stuff out of the NMManager instance because it
7914                         doesn't really need to be there and complicates things
7915
7916         * src/nm-device.c
7917                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7918                         connection-secrets-failed signal and deactivate the device if
7919                         the GetSecrets call fails
7920
7921         * src/nm-device-802-11-wireless.c
7922                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7923                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7924                         secrets and give correct hints about whether new secrets should be
7925                         asked for by the client or not
7926
7927 2007-09-26  Dan Williams  <dcbw@redhat.com>
7928
7929         * src/vpn-manager/nm-vpn-connection.c
7930                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7931                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7932                         to the secrets-updated signal of the NMConnection since updating
7933                         the secrets is done within the scope of the NMVPNConnection object
7934                         already
7935                 - (get_connection_secrets): fix an uninialized variable usage error
7936
7937 2007-09-26  Dan Williams  <dcbw@redhat.com>
7938
7939         * libnm-util/nm-setting.c
7940                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7941                         actually get updated when the user enters them
7942
7943 2007-09-26  Dan Williams  <dcbw@redhat.com>
7944
7945         * libnm-glib/nm-vpn-plugin.c
7946                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7947
7948 2007-09-26  Dan Williams  <dcbw@redhat.com>
7949
7950         * include/NetworkManagerVPN.h
7951                 - Add a NEED_AUTH state
7952
7953         * src/vpn-manager/nm-vpn-connection.c
7954                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7955                         the connection needs secrets, and if so, then ask the settings
7956                         service to fill in the secrets.  Then start the connection.
7957
7958 2007-09-26  Dan Williams  <dcbw@redhat.com>
7959
7960         * src/vpn-manager/nm-vpn-manager.c
7961                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7962
7963 2007-09-26  Dan Williams  <dcbw@redhat.com>
7964
7965         * introspection/nm-vpn-plugin.xml
7966           libnm-glib/nm-vpn-plugin.c
7967           libnm-glib/nm-vpn-plugin.h
7968                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7969                         the name of the NMSetting in an NMConnection that may require
7970                         secrets specific to that VPN plugin
7971
7972 2007-09-26  Dan Williams  <dcbw@redhat.com>
7973
7974         * src/nm-manager.c
7975           src/nm-manager.h
7976                 - (nm_manager_get_connection_secrets): make static, unused outside
7977                         the file
7978                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7979
7980 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7981
7982         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7983         method.
7984         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7985         unreference the connection.
7986
7987         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7988         passing properties hash and routes string list, pass NMConnection (in hashed form).
7989
7990         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7991         as GSList, no need to copy stuff around anymore.
7992         (nm_vpn_connection_activate): Update the plugin activation method.
7993
7994         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7995         routes argument to GSList.
7996
7997 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7998
7999         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8000         state and try to get the secrets.
8001
8002         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8003         connections from NMManager and let the device to choose the best from the list.
8004         Since the connection list is sorted by system ones first and user ones later,
8005         the devices still prefer system connections like they did before.
8006         (deactivate_old_device): Implement. When a device starts activation, we have a
8007         policy (for now at least) to deactivate any other device that might be either
8008         active or still activating.
8009
8010         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8011         It's set on construction, there will be no other way to access it.
8012
8013         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8014         device events and drive the device, not the other way around.
8015
8016         * src/nm-device-802-3-ethernet.c: Ditto.
8017
8018         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8019         sent along, pass it on to virtual functions.
8020
8021         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8022         for now, but should really be public instead of nm_device_get_iface() since iface
8023         is a property of the DeviceInterface, not Device.
8024         (impl_device_activate): Don't touch NMManager!
8025
8026 2007-09-26  Jürg Billeter  <j@bitron.ch>
8027
8028         * initscript/paldo/NetworkManager.in:
8029         * initscript/paldo/NetworkManagerDispatcher.in:
8030         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8031         (nm_system_flush_loopback_routes): update paldo backend
8032
8033 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8034
8035         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8036         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8037         which means none of the devices get brought down properly, which in turn leaves
8038         DHCP client running.
8039
8040         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8041         (supplicant_connection_timeout_cb): Ditto.
8042
8043 2007-09-25  Dan Williams  <dcbw@redhat.com>
8044
8045         * src/nm-device.c
8046                 - (device_activation_go): small hack to work around race when
8047                         activating deferred connections; should solve this in a better way
8048
8049 2007-09-25  Dan Williams  <dcbw@redhat.com>
8050
8051         * introspection/nm-device.xml
8052           libnm-glib/nm-device.c
8053           libnm-glib/nm-device.h
8054                 - Add 'Carrier' property to exported NMDevice objects
8055
8056         * src/nm-device-interface.h
8057           src/nm-device-interface.c
8058           src/nm-device.c
8059                 - Add a 'carrier' property to internal NMDevice objects
8060
8061 2007-09-25  Dan Williams  <dcbw@redhat.com>
8062
8063         * src/nm-device-802-11-wireless.c
8064                 - (ap_auth_enforced): also return the encryption status of the AP so
8065                         that callers can differentiate easily between unencrypted APs
8066                         and encrypted ones, in addition to whether the AP has an
8067                         authenticator
8068                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8069                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8070                         previously would request secrets from unencrypted APs at times
8071
8072 2007-09-25  Dan Williams  <dcbw@redhat.com>
8073
8074         * src/nm-manager.c
8075                 - (nm_manager_update_state): new function; updates state and emits
8076                         appropriate signals ensuring a state-change signal for the same state
8077                         never gets emitted twice in a row.
8078                 - (manager_device_state_changed): handle more device state to get a
8079                         better picture of the overall NM state
8080
8081 2007-09-25  Dan Williams  <dcbw@redhat.com>
8082
8083         * libnm-glib/nm-settings.c
8084           libnm-glib/nm-settings.h
8085                 - (new_error -> nm_settings_new_error): make public so that subclasses
8086                         can use the same error domain.  Also pass a valid error code to
8087                         g_error_new_literal() so that libdbus doesn't assert when converting
8088                         the GError into a DBusError
8089                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8090                    impl_connection_settings_get_settings,
8091                    impl_connection_settings_get_secrets): use new error creator
8092                         function
8093
8094 2007-09-25  Dan Williams  <dcbw@redhat.com>
8095
8096         * src/NetworkManager.c
8097                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8098
8099 2007-09-25  Dan Williams  <dcbw@redhat.com>
8100
8101         * src/supplicant-manager/nm-supplicant-manager.c
8102                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8103                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8104                    nm_supplicant_manager_startup): when the supplicant isn't running,
8105                         try to start it periodically via system bus activation.  Fixes
8106                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8107                         for the supplicant to come back
8108
8109 2007-09-25  Dan Williams  <dcbw@redhat.com>
8110
8111         Ensure that old activation requests are forgotten about; previously
8112         hitting Cancel in the password dialog would deactivate whatever device
8113         that password was requested for, even if that wasn't the currently
8114         activating connection.
8115
8116         * src/nm-manager.c
8117           src/nm-manager.h
8118                 - (nm_manager_get_connection_secrets): track the pending call
8119                         object so it can be canceled later if needed
8120                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8121                         GetSecrets call for a particular connection
8122
8123         * src/nm-activation-request.c
8124                 - (dispose): cancel any outstanding GetSecrets calls on the
8125                         connection
8126
8127 2007-09-25  Dan Williams  <dcbw@redhat.com>
8128
8129         * src/NetworkManagerPolicy.c
8130                 - (nm_policy_device_change_check): handle devices that have a
8131                         deferred activation.  These devices are not really active _yet_,
8132                         but need to be treated as such here.  Don't interrupt them
8133                         automatically.
8134
8135         * src/nm-device-interface.c
8136                 - (impl_device_activate): handle devices that have a deferred activation
8137                         like activating or active devices.  When multiple active devices
8138                         get committed, the device shouldn't be deactivated until the
8139                         connection details are available to avoid DoS and such.  Currently,
8140                         any active, activating, or deferred activation device is deactivated
8141                         here before starting the new activation request.
8142
8143 2007-09-25  Dan Williams  <dcbw@redhat.com>
8144
8145         Properly re-query secrets from the settings daemon when stuff fails.
8146
8147         * src/nm-device-802-11-wireless.c
8148                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8149                         between Shared Key and Open System auth modes
8150                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8151                    real_act_stage4_ip_config_timeout): clear existing secrets and
8152                         request new ones when something fails due to a suspected wrong key
8153                 - (real_act_stage2_config): fix for new request_new argument to
8154                         nm_manager_get_connection_secrets()
8155
8156         * src/nm-manager.c
8157           src/nm-manager.h
8158                 - (nm_manager_get_connection_secrets): return error status; pass
8159                         new request_new argument on to the settings daemon
8160
8161         * introspection/nm-settings-connection.xml
8162                 - New 'request_new' argument to the GetSecrets call that hints to the
8163                         settings daemon to ask the user for completely new secrets
8164
8165         * libnm-glib/nm-settings.c
8166           libnm-glib/nm-settings.h
8167                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8168                         argument
8169
8170 2007-09-25  Dan Williams  <dcbw@redhat.com>
8171
8172         * libnm-util/nm-connection.c
8173           libnm-util/nm-connection.h
8174                 - (nm_connection_clear_secrets): new function; clear secrets out of
8175                         each NMSetting in an NMConnection
8176
8177         * libnm-util/nm-setting.h
8178           libnm-util/nm-setting.c
8179                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8180                         secrets out of an NMSetting
8181                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8182                    nm_setting_wired_new, nm_setting_wireless_new,
8183                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8184                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8185                         to default handler default_setting_clear_secrets()
8186
8187 2007-09-25  Dan Williams  <dcbw@redhat.com>
8188
8189         * src/nm-activation-request.c
8190           src/nm-activation-request.h
8191                 - (nm_act_request_is_deferred): new function
8192
8193 2007-09-24  Dan Williams  <dcbw@redhat.com>
8194
8195         * src/nm-device-802-11-wireless.c
8196                 - (activation_success_handler): update signal strength immediately
8197                         after activation
8198
8199 2007-09-24  Dan Williams  <dcbw@redhat.com>
8200
8201         * libnm-util/nm-setting.c
8202                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8203
8204 2007-09-24  Dan Williams  <dcbw@redhat.com>
8205
8206         * src/NetworkManagerPolicy.c
8207                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8208                         device by deactivating it because it doesn't have a "best connection".
8209                         Since autoconnect=False connections aren't automatically chosen,
8210                         NM would interrupt activation of such a connection because it
8211                         would never be "best" due to autoconnect=False.
8212
8213 2007-09-24  Dan Williams  <dcbw@redhat.com>
8214
8215         * src/nm-manager.c
8216                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8217                         actually has some time to enter a key before the GetSecrets call
8218                         times out
8219
8220 2007-09-24  Dan Williams  <dcbw@redhat.com>
8221
8222         * introspection/nm-manager.xml
8223           src/nm-manager.c
8224                 - (impl_manager_legacy_state): fix 'state' method call return value
8225
8226 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8227
8228         * test/Makefile.am: Install nm-tool
8229
8230 2007-09-24  Dan Williams  <dcbw@redhat.com>
8231
8232         Patch from Ross Burton <ross@burtonini.com>
8233
8234         * test/nm-tool.c
8235           callouts/nm-dhcp-client-action.c
8236           src/nm-netlink.c
8237           src/vpn-manager/nm-vpn-connection.c
8238           libnm-glib/libnm-glib-test.c
8239                 - warning fixes
8240
8241 2007-09-24  Dan Williams  <dcbw@redhat.com>
8242
8243         * libnm-util/nm-utils.h
8244           libnm-util/nm-utils.c
8245                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8246                         remove, unused
8247
8248 2007-09-23  Dan Williams  <dcbw@redhat.com>
8249
8250         * vpn-daemons/vpnc/properties/nm-vpnc.c
8251                 - Update for new VPN properties API bits; instead of passing around
8252                         a lot of random things, everything goes into the NMConnection
8253                         object.
8254
8255 2007-09-23  Dan Williams  <dcbw@redhat.com>
8256
8257         * libnm-util/nm-setting.c
8258                 - Correctly dispose of settings objects if creating them from a hash
8259                         table fails
8260
8261 2007-09-23  Dan Williams  <dcbw@redhat.com>
8262
8263         * libnm-util/nm-setting.c
8264                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8265                         the hash table in a standard manner.  Clients of libnm-util should
8266                         only call g_hash_table_remove_all(), never destroy the hash table
8267                         and recreate it.
8268
8269 2007-09-22  Dan Williams  <dcbw@redhat.com>
8270
8271         * src/nm-device-802-11-wireless.c
8272                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8273                         real reason to do it so often, and reduces wakeups for clients.
8274
8275 2007-09-21  Dan Williams  <dcbw@redhat.com>
8276
8277         * src/nm-device-802-11-wireless.c
8278                 - (build_supplicant_config): wpa_supplicant requires the option
8279                         key_mgmt=NONE for unencrypted networks
8280                 - (real_act_stage2_config): clarify log message on activation
8281
8282 2007-09-21  Dan Williams  <dcbw@redhat.com>
8283
8284         * test/nm-supplicant-test.c
8285           test/Makefile.am
8286                 - Remove supplicant test binary; no longer applicable
8287
8288 2007-09-21  Dan Williams  <dcbw@redhat.com>
8289
8290         * src/supplicant-manager/nm-supplicant-manager.c
8291                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8292                         activate it on the system bus
8293
8294 2007-09-20  Dan Williams  <dcbw@redhat.com>
8295
8296         * initscript/RedHat/NetworkManager.in
8297                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8298
8299 2007-09-20  Dan Williams  <dcbw@redhat.com>
8300
8301         * src/nm-device.c
8302                 - (nm_device_is_activating): work around a race between auto-activation
8303                         and the user activating the same device that is being auto-activated
8304
8305 2007-09-20  Dan Williams  <dcbw@redhat.com>
8306
8307         * src/nm-device-interface.c
8308                 - (impl_device_activate): until multiple active device support lands,
8309                         ensure only one device can be active at a time
8310
8311 2007-09-20  Dan Williams  <dcbw@redhat.com>
8312
8313         * src/supplicant-manager/nm-supplicant-config.c
8314           src/supplicant-manager/nm-supplicant-config.h
8315                 - (nm_supplicant_config_add_option): hide secrets from system logs
8316
8317 2007-09-20  Dan Williams  <dcbw@redhat.com>
8318
8319         * src/NetworkManagerPolicy.c
8320                 - (nm_policy_device_change_check): re-enable the wireless device change
8321                         checking code; insted of checking for SSIDs, check for the same
8322                         connection instead
8323
8324 2007-09-20  Dan Williams  <dcbw@redhat.com>
8325
8326         * src/nm-device-802-11-wireless.c
8327                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8328                         composite link state when determining when to start the disconnection
8329                         timer; that link state is already based on the supplicant interface's
8330                         status which is exactly what's already being examined, plus the link
8331                         state is a conglomeration of various things that we don't want here
8332
8333 2007-09-20  Dan Williams  <dcbw@redhat.com>
8334
8335         * libnm-glib/nm-access-point.c
8336                 - (handle_property_changed): strength is a UCHAR
8337
8338 2007-09-20  Dan Williams  <dcbw@redhat.com>
8339
8340         * src/supplicant-manager/nm-supplicant-config.c
8341                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8342                         string list keywords too since that's what wpa_supplicant wants
8343
8344 2007-09-20  Dan Williams  <dcbw@redhat.com>
8345
8346         * libnm-util/nm-setting.c
8347                 - (convert_strv_to_slist): dupe the values in the list because since
8348                         the list is a boxed value, it'll get destroyed when it's container
8349                         (like a hash table or whatever) gets destroyed
8350
8351 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8352
8353         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8354         GSList.
8355
8356         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8357
8358         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8359         just use (g_object_set_data_full).
8360
8361         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8362         that NMSettingVPN->routes is a GSList, convert it to char **.
8363         (nm_vpn_connection_ip4_config_get): Free routes when done.
8364         (nm_vpn_connection_activate): Ditto.
8365
8366         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8367         (real_act_stage2_config): Use defined setting names.
8368
8369 2007-09-20  Dan Williams  <dcbw@redhat.com>
8370
8371         * src/nm-device-802-11-wireless.c
8372           src/nm-manager.c
8373           src/nm-manager.h
8374                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8375                         so that the device can be deactivated if secrets are wrong
8376
8377 2007-09-20  Dan Williams  <dcbw@redhat.com>
8378
8379         * introspection/nm-settings-connection.xml
8380           libnm-glib/nm-settings.c
8381           libnm-glib/nm-settings.h
8382                 - Make GetSecrets asynchronous on the server side
8383
8384 2007-09-20  Dan Williams  <dcbw@redhat.com>
8385
8386         * src/nm-manager.h
8387           src/nm-device.c
8388                 - (nm_device_activate): actually check if a given connection
8389                         exists before assuming it doesn't
8390
8391 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8392
8393         * libnm-util/nm-connection.c (register_default_creators): Use defined
8394         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8395
8396         * libnm-util/nm-setting.c: Define property name strings, use them.
8397         Implement NMSettingVPN and NMSettingVPNProperties settings.
8398         Implement NM_S_TYPE_GVALUE_HASH.
8399         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8400         (setting_connection_verify): Rename 'devtype' property to 'type'.
8401
8402         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8403         properties.
8404
8405         * src/vpn-manager/nm-vpn-service.c: Ditto.
8406
8407         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8408
8409         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8410         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8411
8412         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8413         names. NMSettingConnection->devtype got renamed to 'type'.
8414
8415         * src/nm-device-802-3-ethernet.c (find_best_connection):
8416         (real_get_best_connection): Ditto.
8417
8418         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8419
8420         * libnm-glib/nm-vpn-manager.[ch]: Update.
8421
8422 2007-09-19  Dan Williams  <dcbw@redhat.com>
8423
8424         * src/NetworkManagerAP.c
8425           src/NetworkManagerAP.h
8426           introspection/nm-access-point.xml
8427                 - Change strength-changed signal into a properties-changed signal
8428                         for all properties, not just strength.  Export that signal over dbus
8429                         so listeners don't have to poll NM for changes.
8430                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8431                         get exported over D-Bus, so break up the logic and let other bits
8432                         decided when to export the AP
8433                 - (nm_ap_new_from_ap): remove, unused
8434
8435         * src/nm-device-802-11-wireless.c
8436                 - (merge_scanned_ap): only export APs that are actually on the device
8437                         list, not every AP created internally
8438
8439         * libnm-glib/nm-access-point.c
8440           libnm-glib/nm-access-point.h
8441                 - Cache properties internally and only hit DBus when needed.  Get
8442                         property updates from NM signals
8443
8444 2007-09-16  Dan Williams  <dcbw@redhat.com>
8445
8446         * libnm-util/nm-connection.c
8447           libnm-util/nm-connection.h
8448                 - (nm_connection_for_each_setting_value): new function; iterate over
8449                         each setting's value and call a user-provided function with details
8450                         about that value
8451
8452         * libnm-util/nm-setting.c
8453           libnm-util/nm-setting.h
8454                 - (nm_setting_enumerate_values): new function; enumerate the values
8455                         of a specific NMSetting subclass for a user-provided function with
8456                         details about that value
8457                 - Change wep_tx_keyidx to a uint32
8458                 - Create settings value tables for each setting defining their type,
8459                         key name, offset into the NMSetting subclass' structure, and whether
8460                         they are required and/or a secret
8461                 - (nm_setting_populate_from_hash): generic function to populate an
8462                         NMSetting from a GHash table, make all settings use it
8463                 - (nm_setting_hash): generic function to derive a GHashTable from
8464                         an NMSetting object, make all settings use it
8465
8466 2007-09-14  Dan Williams  <dcbw@redhat.com>
8467
8468         Remove unused stuff in libnm-util
8469
8470         * configure.in
8471           libnm-util/Makefile.am
8472           libnm-util/cipher-private.h
8473           libnm-util/cipher-wep-ascii.c
8474           libnm-util/cipher-wep-ascii.h
8475           libnm-util/cipher-wep-hex.c
8476           libnm-util/cipher-wep-hex.h
8477           libnm-util/cipher-wep-passphrase.c
8478           libnm-util/cipher-wep-passphrase.h
8479           libnm-util/cipher-wpa-psk-hex.c
8480           libnm-util/cipher-wpa-psk-hex.h
8481           libnm-util/cipher-wpa-psk-passphrase.c
8482           libnm-util/cipher-wpa-psk-passphrase.h
8483           libnm-util/cipher.c
8484           libnm-util/cipher.h
8485           libnm-util/dbus-helpers.c
8486           libnm-util/dbus-helpers.h
8487           libnm-util/gnome-keyring-md5.c
8488           libnm-util/gnome-keyring-md5.h
8489           libnm-util/sha1.c
8490           libnm-util/sha1.h
8491           src/nm-device-802-11-wireless.c
8492           test/libnm-util/Makefile.am
8493           test/libnm-util/test-ciphers.c
8494           test/libnm-util/test-dbus-helpers.c
8495           test/libnm-util/test-inputs.h
8496                 - Removed
8497
8498 2007-09-14  Dan Williams  <dcbw@redhat.com>
8499
8500         * libnm-util/dbus-method-dispatcher.c
8501           libnm-util/dbus-method-dispatcher.h
8502                 - Remove, unused
8503
8504 2007-09-14  Dan Williams  <dcbw@redhat.com>
8505
8506         Implement deferred activation support in the device class.
8507
8508         * src/nm-device-interface.c
8509           src/nm-device-interface.h
8510                 - (nm_device_interface_activate): take more arguments to support
8511                         deferred activation; callers must pass one of (connection) OR
8512                         (service_name, connection_path)
8513                 - (impl_device_activate): connection validation is punted to the device
8514                         to be able to handle deferred activation.  Yes, this means errors
8515                         don't get returned from the Activate() dbus call, and yes, that
8516                         should be fixed somehow later.
8517
8518         * src/nm-device.c
8519           src/nm-device.h
8520                 - (clear_act_request): clear additional deferred activation stuff too
8521                 - (deferred_activation_timeout_cb): new function; clean up when
8522                         deferred activation times out.
8523                 - (deferred_activation_start_cb): new function; when the connection
8524                         finally becomes available, start device activation
8525                 - (nm_device_activate): attach to the right signals of the activation
8526                         request if we need to defer activation until the connection is valid
8527
8528         * src/NetworkManagerPolicy.c
8529                 - (nm_policy_device_change_check): update for additional arguments
8530                         required for nm_device_interface_activate().  Pass NULL for these
8531                         though because this function already knows exactly which
8532                         NMConnection to use
8533
8534 2007-09-14  Dan Williams  <dcbw@redhat.com>
8535
8536         Implement deferred activation handling in the NMActRequest class.  When a
8537         client wants to activate a device but must create the NMConnection details
8538         on the fly, there likely hasn't been enough time yet for NM to receive the
8539         new connection signal and grab all the connection details.  So the
8540         activation is deferred (and bounded by a timer) for a while, and if the
8541         connection appears within the window, it is activated.
8542
8543         * src/nm-activation-request.c
8544           src/nm-activation-request.h
8545                 - (nm_act_request_class_init): two new signals to support deferred
8546                         activation, to allow the listener to handle both timeout and success
8547                 - (nm_act_request_new_deferred): new function, starts the deferred
8548                         activation timeout handler and listens to the NMManager for
8549                         new-connection signals to notice when the connection comes in
8550
8551 2007-09-14  Dan Williams  <dcbw@redhat.com>
8552
8553         * src/nm-manager.h
8554           src/nm-manager.c
8555                 - (nm_manager_get_connection_service_name,
8556                    nm_manager_get_connection_dbus_path): get details about a connection
8557                         known internally by the NMManager
8558                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8559                         because NMConnection is now a GObject subclass
8560                 - Use constant for the gobject data tag used on NMConnection objects for
8561                         storing the associated DBusGProxy
8562
8563 2007-09-14  Dan Williams  <dcbw@redhat.com>
8564
8565         * utils/Makefile.am
8566           utils/nm-utils.c
8567           utils/nm-utils.h
8568           src/supplicant-manager/Makefile.am
8569           src/dhcp-manager/Makefile.am
8570           src/backends/Makefile.am
8571           src/named-manager/Makefile.am
8572           src/ppp-manager/Makefile.am
8573           src/vpn-manager/Makefile.am
8574           test/libnm-util/Makefile.am
8575           test/test-common/Makefile.am
8576                 - Remove utils/; it was unused
8577
8578 2007-09-13  Dan Williams  <dcbw@redhat.com>
8579
8580         * libnm-glib/nm-vpn-manager.h
8581           libnm-glib/nm-vpn-manager.c
8582                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8583
8584 2007-09-13  Dan Williams  <dcbw@redhat.com>
8585
8586         * src/nm-device-802-3-ethernet.c
8587                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8588                         netlink monitor carrier signals on dispose, not bring down.  The
8589                         carrier signals should be handled over the entire lifetime of the
8590                         device anyway, not created/destroyed on up or down.
8591
8592 2007-09-13  Dan Williams  <dcbw@redhat.com>
8593
8594         * libnm-glib/nm-device.c
8595           libnm-glib/nm-device.h
8596                 - (nm_device_activate): take a connection object path rather than an
8597                         NMConnection because NMConnection isn't exported over D-Bus and
8598                         therefore it dbus-glib can't automatically get an object path from it
8599
8600 2007-09-13  Dan Williams  <dcbw@redhat.com>
8601
8602         * libnm-util/nm-setting.c
8603                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8604
8605 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8606
8607         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8608
8609 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8610
8611         * src/vpn-manager/nm-vpn-connection.[ch]: 
8612         * src/vpn-manager/nm-vpn-manager.[ch]:
8613         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8614         dbus-glib, GObjects, signals etc.
8615
8616         * libnm-glib/nm-vpn-manager.[ch]: 
8617         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8618         so much, rewrite these too.
8619
8620         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8621         the new introspection files.
8622
8623         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8624
8625         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8626         the header with the same name from libnm-utils.
8627
8628         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8629
8630         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8631
8632         * introspection/nm-vpn-plugin.xml: Implement.
8633
8634         * introspection/nm-vpn-connection.xml: Implement.
8635
8636         * introspection/nm-vpn-manager.xml: Implement.
8637
8638         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8639         the named manager argument, it can just as easily get it as the caller.
8640         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8641
8642         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8643
8644         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8645
8646         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8647         libnm-utils.
8648
8649         * libnm-util/nm-connection.c: Ditto.
8650
8651         * src/NetworkManagerMain.h: Remove, it's finally empty.
8652
8653         * configure.in: Remove utils/ from build.
8654
8655         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8656         of hard-coded strings.
8657
8658         * utils/: Move it over to libnm-util.
8659
8660         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8661
8662         * dispatcher-daemon/Makefile.am: Ditto.
8663
8664         * src/Makefile.am: Ditto.
8665
8666 2007-09-12  Dan Williams  <dcbw@redhat.com>
8667
8668         Wireless connections can be made with config data from the applet now.
8669         
8670         Yay.
8671
8672         * src/supplicant-manager/nm-supplicant-config.h
8673           src/supplicant-manager/nm-supplicant-config.c
8674                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8675                 - (nm_supplicant_config_add_setting_wireless,
8676                    nm_supplicant_config_add_setting_wireless_security): new functions;
8677                         add key/value pairs from the settings objects to the supplicant
8678                         config
8679
8680         * src/nm-device-802-11-wireless.c
8681                 - (cull_scan_list): fix check to not prune currently associated AP
8682                 - (build_supplicant_config, real_act_stage2_config): call the functions
8683                         of the NMSupplicantConfig that parse settings objects rather than
8684                         doing it manually here
8685
8686 2007-09-12  Dan Williams  <dcbw@redhat.com>
8687
8688         * src/supplicant-manager/nm-supplicant-interface.c
8689           src/supplicant-manager/nm-supplicant-marshal.list
8690                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8691                         "connection-error" signal arguments should be STRING not CHAR
8692
8693 2007-09-12  Dan Williams  <dcbw@redhat.com>
8694
8695         * src/NetworkManagerUtils.c
8696           src/NetworkManagerUtils.h
8697                 - (nm_utils_hexstr2bin): new function
8698
8699 2007-09-11  Dan Williams  <dcbw@redhat.com>
8700
8701         * src/nm-manager.c
8702                 - (connection_get_settings_cb): emit connection-added signal
8703                 - (connection_removed_cb): uncomment bits for system settings service,
8704                         send connection-removed when appropriate
8705                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8706                         the stack by trying to g_object_set_data() on something that's
8707                         not a GObject; handle case where settings service returns
8708                         empty settings hash table
8709
8710 2007-09-11  Dan Williams  <dcbw@redhat.com>
8711
8712         * src/NetworkManagerPolicy.c
8713                 - (connection_added, connection_removed): trigger device change checks
8714                         on connection changes
8715
8716 2007-09-11  Dan Williams  <dcbw@redhat.com>
8717
8718         * src/nm-activation-request.c
8719                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8720
8721 2007-09-11  Dan Williams  <dcbw@redhat.com>
8722
8723         * src/nm-device-802-11-wireless.c
8724                 - (real_connection_secrets_updated): fix erroneous check
8725
8726 2007-09-11  Dan Williams  <dcbw@redhat.com>
8727
8728         * introspection/nm-device.xml
8729           libnm-glib/nm-device.c
8730           libnm-glib/nm-device.c
8731                 - Fix Activate call argument borkage; Activate takes 3 arguments
8732
8733 2007-09-11  Dan Williams  <dcbw@redhat.com>
8734
8735         * libnm-glib/nm-access-point.c
8736           libnm-glib/nm-access-point.c
8737                 - (nm_access_point_get_frequency): now returns guint32 to match
8738                         property change on 2007-09-10
8739
8740 2007-09-11  Dan Williams  <dcbw@redhat.com>
8741
8742         * src/nm-device-802-11-wireless.c
8743                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8744                         somewhere defines 'index' and I missed this one when I fixed the
8745                         shadow declaration errors earlier
8746
8747 2007-09-11  Dan Williams  <dcbw@redhat.com>
8748
8749         * libnm-util/nm-connection.c
8750                 - (nm_connection_update_secrets, need_secrets_check): move
8751                         802-11-wireless-security need_secrets checks to the setting object
8752                         itself, where it belongs
8753
8754         * libnm-util/nm-setting.c
8755           libnm-util/nm-setting.h
8756                 - (nm_setting_need_secrets): new function
8757                 - (setting_wireless_security_verify,
8758                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8759                 - (setting_wireless_security_need_secrets): mostly copy code over
8760                         from nm-connection.c
8761
8762 2007-09-11  Dan Williams  <dcbw@redhat.com>
8763
8764         * libnm-util/nm-setting.c
8765           libnm-util/nm-setting.h
8766                 - (nm_setting_update_secrets): new function; add a virtual function that
8767                         subclasses can implement to update their secrets
8768                 - (setting_wireless_security_update_secrets): implement that function
8769                         for the 802-11-wireless-security subclass
8770
8771         * libnm-util/nm-connection.c
8772           libnm-util/nm-connection.h
8773                 - (nm_connection_update_secrets): update secrets for a Setting and
8774                         emit a signal on success
8775
8776         * src/nm-manager.c
8777           src/nm-manager.h
8778           src/nm-marshal.list
8779                 - (connection_get_settings_cb): enable system settings bits
8780                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8781                         to request secrets from the settings dbus service and to
8782                         push those secrets to the NMConnection itself
8783
8784         * src/nm-activation-request.c
8785           src/nm-activation-request.h
8786                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8787                         currently being activated, and proxy that signal to other listeners.
8788                         Goes through the activation request because the activation request
8789                         is the thing that manages the lifetime of the NMConnection that's
8790                         being activated.
8791
8792         * src/nm-device-802-11-wireless.c
8793                 - (real_connection_secrets_updated): implement the connection secrets
8794                         updated notification and restart activation when secrets are
8795                         received
8796                 - (real_act_stage2_config): request secrets from the settings dbus
8797                         service if secrets are needed
8798
8799         * src/nm-device.c
8800           src/nm-device.h
8801                 - (clear_act_request, nm_device_activation_cancel,
8802                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8803                         where the activation request is cleared
8804                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8805                         updated secrets signal of activation request and add a function
8806                         that subclasses can override to handle it easily
8807
8808 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8809
8810         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8811         removal of NetworkManagerAPList.
8812
8813 2007-09-10  Dan Williams  <dcbw@redhat.com>
8814
8815         * src/NetworkManagerAP.c
8816           src/NetworkManagerAP.h
8817           introspection/nm-access-point.xml
8818                 - Change 'freq' property to a guint32 instead of a double since we
8819                         weren't using the floating point bits anyway
8820
8821 2007-09-10  Dan Williams  <dcbw@redhat.com>
8822
8823         * NetworkManagerAP.c
8824           NetworkManagerAP.h
8825           NetworkManagerPolicy.c
8826           NetworkManagerSystem.c
8827           NetworkManagerUtils.c
8828           NetworkManagerUtils.h
8829           nm-device-802-11-wireless.c
8830           nm-device-802-3-ethernet.c
8831           nm-hal-manager.c
8832           nm-manager.c
8833           vpn-manager/nm-dbus-vpn.c
8834                 - Warning fixes; casts and removal of unused variables
8835
8836 2007-09-10  Dan Williams  <dcbw@redhat.com>
8837
8838         * include/NetworkManager.h
8839                 - Kill NMNetworkType; AP types don't matter any more
8840
8841         * src/NetworkManagerAPList.c
8842           src/NetworkManagerAPList.h
8843           src/Makefile.am
8844                 - Kill; NMAccessPointList has outlived it's usefulness
8845
8846         * src/NetworkManagerAP.c
8847           src/NetworkManagerAP.h
8848                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8849                         functions; check if an NMConnection object is compatible with the
8850                         settings of this AP
8851                 - (freq_to_channel, channel_to_freq): utility functions for
8852                         channel <-> frequency conversion
8853
8854         * src/nm-device.c
8855           src/nm-device.h
8856                 - (nm_device_get_best_connection): pass the specific object around
8857                          (which might be the object path of a specific AP to connect to).
8858                          The get_best_connection() call should populate this on return
8859                          if needed (wireless does).
8860
8861         * src/nm-device-802-3-ethernet.c
8862                 - (real_get_best_connection): handle specific_object argument
8863
8864         * src/NetworkManager.c
8865           src/NetworkManagerMain.h
8866                 - Remove unused includes
8867
8868         * src/nm-device-802-11-wireless.c
8869           src/nm-device-802-11-wireless.h
8870                 - Convert the ap_list into a GSList from an NMAccessPointList
8871                 - No need for caching the 'activation_ap' since this is now determined
8872                         from the specific_object of the activation request, which is
8873                         populated from the get_best_connection() call or from a user request
8874                 - (nm_device_802_11_wireless_update_bssid): fix warning
8875                 - (get_wireless_capabilities): fix error message format arguments
8876                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8877                 - (find_best_connection, real_get_best_connection): implement
8878                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8879                         move here from NetworkManagerAPList
8880                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8881                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8882                         already verified earlier
8883                 - (real_act_stage2_config): use nm_connection_need_secrets()
8884
8885         * src/NetworkManagerPolicy.c
8886                 - (nm_policy_auto_get_best_device): handle specific objects
8887                 - (create_connection): remove; automatic connection creation functionality
8888                         is handled by the Connection objects
8889                 - (nm_policy_device_change_check): handle specific_object
8890
8891         * libnm-util/nm-connection.c
8892                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8893
8894 2007-09-10  Dan Williams  <dcbw@redhat.com>
8895
8896         * src/nm-manager.c
8897                 - (query_connections): fix uninitialized variable problem that caused
8898                         segfault
8899                 - (nm_manager_add_device): take devices down on startup so that we can
8900                         be assured that nm_device_is_up() won't short-circuit the init
8901                         process.  Hack until the is_up check gets split into two pieces
8902                         that aren't behaviorally confusing.
8903
8904 2007-09-09  Dan Williams  <dcbw@redhat.com>
8905
8906         * introspection/nm-device.xml
8907                 - The 'Activate' method now takes 3 arguments, a service name for the
8908                 settings service (user or system), the object path of the connection
8909                 to activate, and the specific object to activate, if any
8910
8911         * src/nm-device-interface.c
8912                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8913                 Add error bits
8914                 - (impl_device_activate): adapt to new Activate arguments; validate
8915                 the service name and get the Connection object from the NMManager
8916                 before starting to activate the device with the specified connection
8917
8918         * src/nm-device-802-3-ethernet.c
8919                 - (real_get_best_connection): find the best connection, or create a
8920                 default one if no existing connections can be used
8921
8922         * src/NetworkManagerPolicy.c
8923                 - (nm_policy_auto_get_best_device): Get the device's best connection
8924                 and only pick the device if it has one
8925                 - (nm_policy_device_change_check): disable wireless bits for now until
8926                 wireless get_best_connection() can be implemented (replacing "best_ap");
8927                 don't create a default connection here as the device subclass will do
8928                 that if needed
8929
8930         * src/nm-manager.h
8931           src/nm-manager.c
8932                 - (nm_manager_get): make NMManager a singleton and expose the getter
8933                 internally
8934                 - Rework internal NMManager connection handling to use the same
8935                 routines for both the system and user settings services.  Most calls
8936                 take a new NMConnectionType argument specifying either system or user
8937                 connections
8938                 - (nm_manager_get_connection_by_object_path): new function; get a
8939                 connection keyed on its object path
8940
8941         * src/NetworkManager.c
8942                 - (main): use nm_manager_get()
8943
8944 2007-09-09  Dan Williams  <dcbw@redhat.com>
8945
8946         * src/nm-device.h
8947           src/nm-device.c
8948                 - (nm_device_get_best_connection): new function; get best connection
8949                         for the device at that time
8950
8951 2007-09-09  Dan Williams  <dcbw@redhat.com>
8952
8953         * src/nm-device-interface.h
8954                 - Add NMDeviceInterfaceError with an UnknownConnection error
8955
8956 2007-09-09  Dan Williams  <dcbw@redhat.com>
8957
8958         Stupid mistake on my part; object path and interface for settings service
8959         and connection objects can be the same, only the service name must be
8960         different for the system and user settings services.
8961
8962         * include/NetworkManager.h
8963           src/nm-manager.c
8964           introspection/nm-settings-connection.xml
8965           introspection/nm-settings.xml
8966           libnm-glib/nm-settings.c
8967                 - (nm_connection_settings_init, query_user_connections,
8968                    new_connection_cb): Unify NetworkManagerSettings and Connection
8969                    interface name and object path
8970
8971 2007-09-06  Dan Williams  <dcbw@redhat.com>
8972
8973         * libnm-glib/nm-object.c
8974                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8975                    nm_object_get_int_property, nm_object_get_uint_property,
8976                    nm_object_get_boolean_property, nm_object_get_byte_property,
8977                    nm_object_get_double_property, nm_object_get_byte_array_property):
8978                         clear GValues after copying their contents, fixes memory leaks
8979                         after every property access because dbus-glib copies the values
8980                         from the DBusMessage into the GValue already.
8981
8982 2007-09-06  Dan Williams  <dcbw@redhat.com>
8983
8984         * introspection/nm-access-point.xml
8985                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8986                         them to be.  There's some magic property name parsing going on in
8987                         dbus-glib that breaks up property names based on studly-caps and
8988                         puts - between words.
8989
8990         * libnm-glib/nm-access-point.c
8991                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8992                         Fix property names
8993
8994 2007-09-06  Dan Williams  <dcbw@redhat.com>
8995
8996         * src/nm-manager.c
8997                 - (nm_manager_user_connections_destroy): clear the user connections hash
8998                         table, don't destroy it
8999                 - (finalize): only destroy the hash table on NMManager finalization
9000
9001 2007-09-02  Dan Williams  <dcbw@redhat.com>
9002
9003         * include/NetworkManager.h
9004           libnm-glib/nm-settings.c
9005                 - defines for the user settings daemon D-Bus bits
9006
9007         * src/NetworkManager.c
9008                 - Remove stuff that referred to the old NetworkManagerInfo service
9009
9010         * src/vpn-manager/nm-dbus-vpn.h
9011                 - Move old NMI defines to the only place they are used still
9012
9013         * libnm-util/nm-connection.c
9014           libnm-util/nm-connection.h
9015           src/nm-activation-request.c
9016                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9017
9018         * src/nm-manager.c
9019           src/nm-manager.h
9020                 - Get connections and their settings from the user settings daemon
9021                         at the appropriate times
9022
9023 2007-09-02  Dan Williams  <dcbw@redhat.com>
9024
9025         * libnm-util/nm-setting.c
9026                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9027                 - (setting_wireless_hash): set the right value on the item
9028
9029 2007-09-02  Dan Williams  <dcbw@redhat.com>
9030
9031         * test/Makefile.am
9032           test/nminfotest.c
9033                 - Remove, no longer useful
9034
9035 2007-08-30  Dan Williams  <dcbw@redhat.com>
9036
9037         * src/Makefile.am
9038           src/NetworkManagerDbus.c
9039           src/NetworkManagerDbus.h
9040           src/vpn-manager/nm-dbus-vpn.c
9041                 - Remove, no longer necessary.  Move last bits to the only place its
9042                 used, in nm-dbus-vpn.c
9043
9044         * src/NetworkManagerAPList.c
9045           src/nm-device.c
9046           src/NetworkManager.c
9047           src/nm-device-802-11-wireless.c
9048           src/vpn-manager/nm-vpn-manager.c
9049           src/vpn-manager/nm-vpn-service.c
9050           src/NetworkManagerPolicy.c
9051           src/nm-manager.c
9052                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9053                 that was message_is_error()
9054
9055 2007-08-30  Dan Williams  <dcbw@redhat.com>
9056
9057         * libnm-util/sha1.c
9058                 - Include config.h to get defines for endiannes (gnome.org #420216)
9059
9060 2007-08-30  Dan Williams  <dcbw@redhat.com>
9061
9062         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9063
9064         * src/ppp-manager/Makefile.am
9065                 - use -fPIC (gnome.org #471825)
9066
9067 2007-08-29  Dan Williams  <dcbw@redhat.com>
9068
9069         * include/NetworkManager.h
9070                 - Keep NMConnection object path in sync
9071
9072         * libnm-glib/nm-settings.c
9073           libnm-glib/nm-settings.h
9074                 - Break D-Bus object registration out of the init function, because
9075                 every object that's exported over D-Bus needs to use the _same_
9076                 DBusConnection.  Otherwise, each object would get a different object
9077                 path tree and wouldn't be callable.
9078
9079 2007-08-29  Dan Williams  <dcbw@redhat.com>
9080
9081         * libnm-util/nm-setting.h
9082           libnm-util/nm-setting.c
9083           libnm-util/nm-connection.c
9084           src/NetworkManagerPolicy.c
9085                 - 'info' settings object should be 'connection' says the spec
9086                 at NetworkManagerConfigurationSpecification
9087
9088 2007-08-29  Dan Williams  <dcbw@redhat.com>
9089
9090         * libnm-glib/nm-settings.c
9091           libnm-glib/nm-settings.h
9092                 - make the dbus path a property of the object, and autogenerate it.
9093                 It can't be composed of the 'id' field becuase that's not available
9094                 yet during the GObject creation in nm_connection_settings_init()
9095
9096 2007-08-29  Dan Williams  <dcbw@redhat.com>
9097
9098         * introspection/nm-settings-connection.xml
9099           introspection/nm-settings.xml
9100                 - Service name -> NetworkManagerUserSettings because two services
9101                 can't share part of the same path.  I'm not really sure how we'll use
9102                 the same code with the system-settings daemon...
9103
9104 2007-08-28  Dan Williams  <dcbw@redhat.com>
9105
9106         * src/nm-device-interface.c
9107           src/nm-device-interface.h
9108                 - Kill one more bit of NMData
9109
9110 2007-08-28  Dan Williams  <dcbw@redhat.com>
9111
9112         * src/NetworkManagerSystem.h
9113           src/nm-device.c
9114           src/nm-device.h
9115           src/nm-hal-manager.c
9116           src/NetworkManager.c
9117           src/nm-device-802-11-wireless.c
9118           src/nm-hal-manager.h
9119           src/nm-device-802-3-ethernet.c
9120           src/vpn-manager/nm-vpn-service.h
9121           src/vpn-manager/nm-vpn-manager.c
9122           src/vpn-manager/nm-vpn-manager.h
9123           src/vpn-manager/nm-vpn-service.c
9124           src/nm-device-802-11-wireless.h
9125           src/NetworkManagerMain.h
9126           src/nm-device-802-3-ethernet.h
9127           src/backends/NetworkManagerGentoo.c
9128           src/backends/NetworkManagerPaldo.c
9129           src/backends/NetworkManagerFrugalware.c
9130           src/backends/NetworkManagerRedHat.c
9131           src/backends/NetworkManagerSlackware.c
9132           src/backends/NetworkManagerGeneric.c
9133           src/backends/NetworkManagerArch.c
9134           src/backends/NetworkManagerSuSE.c
9135           src/backends/NetworkManagerGeneric.h
9136           src/backends/NetworkManagerDebian.c
9137                 - Kill NMData
9138
9139 2007-08-28  Dan Williams  <dcbw@redhat.com>
9140
9141         * src/NetworkManagerMain.h
9142           src/nm-device-802-11-wireless.c
9143           src/NetworkManager.c
9144                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9145                 for now we should set the 'invalid' property on individual APs, and when
9146                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9147                 that ESS
9148
9149 2007-08-28  Dan Williams  <dcbw@redhat.com>
9150
9151         * src/NetworkManagerAP.c
9152           src/NetworkManagerAP.h
9153                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9154                         'autoconnect' property instead
9155
9156         * src/NetworkManager.c
9157           src/NetworkManagerMain.h
9158           src/NetworkManagerPolicy.c
9159           src/NetworkManagerPolicy.h
9160                 - Remove the 'allowed_ap_list', which should be replaced by 
9161                         NMConnection/NMSettings instead, since _those_ are the allowed
9162                         things that NM can connect to
9163
9164         * src/nm-device-802-11-wireless.c
9165                 - Remove both allowed_ap_list usage and 'fallback' checking
9166
9167 2007-08-28  Dan Williams  <dcbw@redhat.com>
9168
9169         * src/nm-device.c
9170           src/named-manager/nm-named-manager.c
9171           src/named-manager/nm-named-manager.h
9172           src/NetworkManager.c
9173           src/vpn-manager/nm-vpn-manager.c
9174           src/NetworkManagerMain.h
9175           src/NetworkManagerSystem.c
9176                 - Remove the named-manager object from NMData structure in preparation
9177                 for NMData's timely death.  Make the NMNamedManager the singleton that
9178                 it really is
9179
9180 2007-08-28  Dan Williams  <dcbw@redhat.com>
9181
9182         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9183         each AP's capabilities, and by NMConnection/NMSettings objects for user
9184         defined connections.
9185
9186         * include/NetworkManager.h
9187                 - Redefine 802.11 security properties.  There are now device capabilities
9188                         and AP flags and AP security flags.  It was way to unclear before.
9189
9190         * src/Makefile.am
9191           src/nm-ap-security-leap.h
9192           src/nm-ap-security-leap.c
9193           src/nm-ap-security-wpa-eap.c
9194           src/nm-ap-security-wpa-eap.h
9195           src/nm-ap-security-private.h
9196           src/nm-ap-security-wpa-psk.c
9197           src/nm-ap-security-wpa-psk.h
9198           src/nm-ap-security-wep.c
9199           src/nm-ap-security-wep.h
9200           src/nm-ap-security.c
9201           src/nm-ap-security.h
9202                 - Removed, to be replaced with NMConnection/NMSettings objects
9203
9204         * src/nm-dbus-nmi.c
9205           src/nm-dbus-nmi.h
9206                 - Removed, to be replaced by code that talks to the new info daemon
9207                         interface and gets NMConnection/NMSettings objects
9208
9209         * src/backends/NetworkManagerSuSE.c
9210                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9211                         info-daemon that does the same thing but talks the new info-daemon
9212                         D-Bus interface
9213
9214         * src/NetworkManagerAP.h
9215           src/NetworkManagerAP.c
9216           src/NetworkManagerAPList.c
9217           libnm-glib/libnm-glib-test.c
9218                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9219                         WPA/RSN
9220
9221         * libnm-glib/nm-access-point.c
9222           libnm-glib/nm-access-point.h
9223           introspection/nm-access-point.xml
9224           test/nm-tool.c
9225                 - Adjust to new flags for AP security
9226
9227         * utils/nm-utils.c
9228           utils/nm-utils.h
9229           src/vpn-manager/nm-dbus-vpn.c
9230                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9231                         stuff which is the only place it's used
9232
9233         * src/nm-device-interface.c
9234           src/nm-device-interface.h
9235           introspection/nm-device.xml
9236           src/nm-activation-request.c
9237           src/nm-activation-request.h
9238           src/nm-device.c
9239                 - Add a new 'specific_object' argument that hints to NM what actual
9240                         AP or other device-specific thing the connection should apply to.
9241                         NMConnection objects can apply to more than one actual device/AP.
9242
9243         * libnm-util/nm-connection.c
9244         * libnm-util/nm-connection.h
9245                 - Add 'have_secrets" call stubs
9246
9247         * libnm-util/cipher.h
9248                 - Move NM_AUTH_TYPE_* defines here for now
9249
9250         * src/nm-device-802-11-wireless.c
9251                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9252                         NMSettings objects
9253
9254         * src/NetworkManagerDbus.c
9255         * src/NetworkManagerPolicy.c
9256                 - Remove usage of update_allowed_networks, should be pushing data in
9257                         a different manner
9258
9259 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9260
9261         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9262         dbus-glib frees it when the call is done.
9263
9264 2007-08-26  Dan Williams  <dcbw@redhat.com>
9265
9266         * introspection/nm-device.xml
9267                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9268
9269 2007-08-26  Dan Williams  <dcbw@redhat.com>
9270
9271         * src/nm-device-802-3-ethernet.c
9272                 - (constructor): move connection of interface-connected/disconnected
9273                         signals here from real_bring_up().  Should be listening to netlink
9274                         for carrier events no matter what the initial state of the device
9275                         is.
9276
9277 2007-08-26  Dan Williams  <dcbw@redhat.com>
9278
9279         * src/nm-netlink-monitor.c
9280                 - (nm_netlink_monitor_class_init): fix marshalling types for
9281                         interface-connected/interface-disconnected
9282                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9283                         check
9284
9285 2007-08-26  Dan Williams  <dcbw@redhat.com>
9286
9287         Convert to using interface indexes as the primary method of identifying
9288         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9289         be renamed at any time.  Device object paths now refer to the device
9290         index rather than the name, and you can map those two manually if you like
9291         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9292         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9293         to use interface indexes rather than names.
9294
9295 2007-08-26  Dan Williams  <dcbw@redhat.com>
9296
9297         * src/nm-netlink-monitor.h
9298                 - Remove one last bit of wireless-event signal
9299
9300 2007-08-26  Dan Williams  <dcbw@redhat.com>
9301
9302         * src/nm-netlink-monitor.c
9303                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9304                         don't need the 'wireless-event' signal anymore since that's all
9305                         handled by wpa_supplicant
9306
9307 2007-08-25  Dan Williams  <dcbw@redhat.com>
9308
9309         It's 2007. Remove support for drivers that don't support wireless scanning.
9310
9311         * test/nm-tool.c
9312           include/NetworkManager.h
9313           src/NetworkManagerUtils.c
9314           src/NetworkManagerPolicy.c
9315           src/nm-device-802-11-wireless.c
9316                 - Remove special handling for non-scanning devices and mark them
9317                         as unsupported/unhandled
9318
9319 2007-08-20  Dan Williams  <dcbw@redhat.com>
9320
9321         * src/nm-device-802-11-wireless.c
9322           src/nm-device-802-3-ethernet.c
9323                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9324                         because when the card is pulled or the module removed, the device
9325                         is already !IFF_UP and then device-specific cleanup (removing
9326                         the supplicant interface, periodic checks, etc) never gets done
9327
9328 2007-08-20  Dan Williams  <dcbw@redhat.com>
9329
9330         * src/nm-manager.c
9331                 - (nm_manager_remove_device): bring device down before disconnecting
9332                         signal handlers, so that the 'state' signal will get broadcast when
9333                         the device enters the DOWN state
9334                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9335                         of states that cause the NMManager to recheck its state
9336
9337 2007-08-20  Dan Williams  <dcbw@redhat.com>
9338
9339         * src/supplicant-manager/nm-supplicant-interface.c
9340                 - (interface_disconnect_done): don't try to dispose of the net proxy
9341                         when it may already have been disposed of
9342
9343 2007-08-20  Dan Williams  <dcbw@redhat.com>
9344
9345         * src/nm-device-802-11-wireless.c
9346                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9347                         the SSID isn't available; this can happen when the card is pulled
9348                         or the module unloaded, during the post-removal deactivation
9349                         paths, when the ioctl returns ENODEV
9350
9351 2007-08-20  Dan Williams  <dcbw@redhat.com>
9352
9353         * src/nm-device-802-11-wireless.c
9354                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9355                         frequency, and mode match.  Applets are now responsible for grouping
9356                         access points
9357
9358 2007-08-20  Dan Williams  <dcbw@redhat.com>
9359
9360         * src/NetworkManagerAP.c
9361         * src/NetworkManagerAP.h
9362                 - (nm_ap_print_self): new function
9363
9364         * src/NetworkManagerAPList.c
9365                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9366                         to do it all here
9367         
9368 2007-08-17  Dan Williams  <dcbw@redhat.com>
9369
9370         * src/nm-device-802-3-ethernet.c
9371                 - (real_bring_down): don't try to dispose of stuff that might not
9372                         exist
9373
9374 2007-08-17  Dan Williams  <dcbw@redhat.com>
9375
9376         * src/NetworkManagerAP.c
9377                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9378                         applet.  This ensures that the case between the seen-bssids and
9379                         the bssids reported by the driver match.
9380
9381 2007-08-17  Dan Williams  <dcbw@redhat.com>
9382
9383         * src/nm-device-802-11-wireless.c
9384                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9385                         we dispose of the interface proxy in NM
9386
9387 2007-08-16  Dan Williams  <dcbw@redhat.com>
9388
9389         * libnm-glib/nm-client.c
9390                 - (nm_client_init): create VPN connections hash table with key free
9391                         function
9392                 - (proxy_vpn_connection_added): VPN connections hash table key should
9393                         be a duplicated value, not the same memory address as the VPN
9394                         connection name.  This is because the VPN connection name could
9395                         potentially be freed and set to something else during the lifetime
9396                         of the NMVPNConnection object.
9397
9398 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9399
9400         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9401         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9402         with the file descriptors. Send a child setup function to change the pppd
9403         progress group.
9404
9405 2007-08-15  Dan Williams  <dcbw@redhat.com>
9406
9407         * src/supplicant-manager/nm-supplicant-interface.c
9408                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9409                         an interface
9410                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9411                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9412                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9413                         the interface internally
9414
9415 2007-08-15  Dan Williams  <dcbw@redhat.com>
9416
9417         * src/nm-device-802-11-wireless.c
9418                 - (real_bring_down): move most of this function into device_cleanup()
9419                         so that it can be called from elsewhere
9420                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9421                         and stuff on dispose.  These would normally get cleaned up when
9422                         the device is marked down and deactivated, but when the device is
9423                         hot-unplugged, it's already down and real_down() never gets run
9424
9425 2007-08-15  Dan Williams  <dcbw@redhat.com>
9426
9427         * src/nm-dbus-nmi.c
9428                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9429                         caused a reference leak on device for which NM requested a key
9430
9431 2007-08-15  Dan Williams  <dcbw@redhat.com>
9432
9433         * libnm-glib/nm-client.c
9434                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9435
9436 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9437
9438         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9439         nothing is using it at the moment, but it'll be all useful and stuff later on.
9440
9441         * libnm-util/nm-setting.h: Define NMSettingPPP.
9442
9443         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9444
9445         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9446
9447         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9448
9449         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9450
9451         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9452
9453 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9454
9455         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9456
9457         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9458         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9459         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9460         name and different arguments and it won't compile anymore. To fix this, we now have
9461         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9462         that is new API + compatibility API and used by the daemon. The other, 
9463         nm-manager-client.xml is only the new API without compatibility bits and is used
9464         by libnm-glib to make it compile.
9465
9466         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9467
9468         * src/nm-manager.c (impl_manager_legacy_sleep)
9469         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9470         interface functions for 0.6 branch.
9471
9472 2007-08-14  Dan Williams  <dcbw@redhat.com>
9473
9474         * src/NetworkManagerAP.c
9475                 - (nm_ap_new_from_properties): fix mistaken check of return value
9476                         from memcmp (should expect 0)
9477
9478 2007-08-14  Dan Williams  <dcbw@redhat.com>
9479
9480         (force-commit to fix wrong comment and partial commit of r2685; this
9481          commit actually applies to r2685)
9482
9483         * src/NetworkManagerUtils.c
9484                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9485                         ignores trailing nulls in the SSID to work around mismatches in
9486                         expectations between WEXT and what the info-daemon passes back.  The
9487                         info-daemon would pass back the correct length, but due to the
9488                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9489                         the device would always have an SSID + 1 depending on what versions
9490                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9491                         visible by just quitting the applet and relaunching, which caused
9492                         NM to reassociated to the same network over again when reloading
9493                         the save networks.
9494
9495         * src/NetworkManagerPolicy.c
9496           src/NetworkManagerUtils.h
9497           src/nm-device-802-11-wireless.c
9498                 - Update for new parameter to nm_utils_same_ssid()
9499
9500 2007-08-14  Dan Williams  <dcbw@redhat.com>
9501
9502         * src/NetworkManagerAP.c
9503                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9504                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9505                         setting the BSSID to all 0s.  That confused the heck out of NM,
9506                         plus it's useless and probably out-of-spec.
9507
9508 2007-08-14  Dan Williams  <dcbw@redhat.com>
9509
9510         * callouts/Makefile.am
9511           src/dhcp-manager/nm-dhcp-manager.c
9512           src/dhcp-manager/nm-dhcp-manager.h
9513           src/dhcp-manager/Makefile.am
9514                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9515
9516 2007-08-14  Dan Williams  <dcbw@redhat.com>
9517
9518         * src/dhcp-manager/nm-dhcp-manager.c
9519                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9520                         it's really needed, get rid of unused xtra_args parameter
9521
9522 2007-08-14  Dan Williams  <dcbw@redhat.com>
9523
9524         * include/NetworkManagerVPN.h
9525           src/vpn-manager/nm-dbus-vpn.c
9526           src/vpn-manager/nm-dbus-vpn.h
9527           src/vpn-manager/nm-vpn-act-request.c
9528           src/vpn-manager/nm-vpn-act-request.h
9529           src/vpn-manager/nm-vpn-service.c
9530           src/vpn-manager/nm-vpn-service.h
9531           libnm-glib/nm-vpn-connection.c
9532           libnm-glib/nm-vpn-connection.h
9533           libnm-glib/nm-client.h
9534                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9535                         NMVPNServiceState to clarify what they apply to
9536                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9537                         NMVPNActStage -> NMVPNConnectionState for the same reason
9538
9539         * libnm-glib/nm-client.c
9540                 - Constant + type renames from above
9541                 - Properly handle NameOwnerChanged/manager_running signals
9542                         for NM service; only emit when state really changes
9543                 - Use hash tables correctly so that the key (which was previously owned
9544                         by the D-Bus message) now has the same lifetime as the value, since
9545                         the key is now taken from the the NMVPNConnection itself.  This
9546                         really fixes the double-VPN names in the applet
9547
9548 2007-08-13  Dan Williams  <dcbw@redhat.com>
9549
9550         Patch from Michael Biebl <biebl@debian.org>
9551
9552         * po/POTFILES.in
9553           po/POTFILES.skip
9554                 - Update for vpn-properties move
9555
9556 2007-08-13  Dan Williams  <dcbw@redhat.com>
9557
9558         * libnm-glib/nm-client.c
9559                 - Convert internal VPN connection tracking from a list to a hash table
9560                         to easily avoid duplicates
9561                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9562                         must be freed by the caller, like nm_client_get_devices()
9563                 - (nm_client_remove_vpn_connection): don't let the removal signal
9564                         leak through for NMVPNConnection objects that aren't actually
9565                         tracked.
9566                 - (manager_running): throw away VPN connection list when NM goes away,
9567                         like with the device list
9568
9569 2007-08-13  Dan Williams  <dcbw@redhat.com>
9570
9571         * src/dhcp-manager/nm-dhcp-manager.c
9572                 - Stop any dhclient instance that might be already running for a
9573                         particular interface before starting an NM spawned dhclient.  Fixes
9574                         dhclient processes left over if NM crashes, stuff like that.
9575
9576 2007-08-13  Dan Williams  <dcbw@redhat.com>
9577
9578         * src/NetworkManagerAP.c
9579                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9580                         when the AP wasn't broadcasting it's SSID
9581
9582 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9583
9584         * include/NetworkManager.h: added DBus path for connection settings.
9585
9586         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9587         nm_connection_settings_signal_updated,
9588         nm_connection_settings_signal_removed): new functions to wrap the
9589         objects' signals.
9590         (nm_connection_settings_init): register GObject with DBus.
9591         (nm_connection_settings_get_dbus_object_path): new function.
9592
9593         * libnm-glib/Makefile.am: added libnmutil to link flags.
9594
9595 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9596
9597         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9598
9599         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9600         libnm_glib directory got merged with libnm-glib/.
9601
9602         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9603
9604         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9605         Rename the library from libnm-glib to libnm_glib to maintain the library API
9606         compatibility with 0.6 branch.
9607
9608         * Makefile.am: Remove gnome/ SUBDIR.
9609
9610         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9611
9612         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9613
9614         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9615
9616         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9617         anymore.
9618         Remove checks for wpa_supplicant binary, it's used over dbus.
9619         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9620
9621         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9622         Link the binaries with libnm_glib.la.
9623
9624 2007-08-12  Dan Williams  <dcbw@redhat.com>
9625
9626         * src/NetworkManagerPolicy.c
9627                 - (nm_policy_device_change_check): fix policy to deactivate old device
9628                         before activating new one, at least until the multiple active
9629                         device support lands
9630
9631 2007-08-12  Dan Williams  <dcbw@redhat.com>
9632
9633         * src/NetworkManagerPolicy.c
9634                 - (nm_policy_new): hook up to connection-added / connection-removed
9635                         signals instead of connections-changed
9636
9637 2007-08-12  Dan Williams  <dcbw@redhat.com>
9638
9639         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9640         Robert Frank <rfrank@redhat.com>
9641
9642         * src/dhcp-manager/nm-dhcp-manager.c
9643           src/dhcp-manager/nm-dhcp-manager.c
9644           src/nm-device.c
9645                 - Spawn and communicate with dhclient directly, through means of a
9646                 custom dhclient callout script.  Process callout D-Bus signals
9647                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9648                 sent via gobject signals rather than being driven by the dhcp manager
9649                 directly.
9650
9651 2007-08-12  Dan Williams  <dcbw@redhat.com>
9652
9653         * callouts/nm-dhcp-client-action.c
9654                 - (build_message): ignore non-DHCP-related environment variables
9655
9656 2007-08-12  Dan Williams  <dcbw@redhat.com>
9657
9658         * Makefile.am
9659           configure.in
9660           callouts/Makefile.am
9661           callouts/nm-dhcp-client-action.c
9662           callouts/nm-dhcp-client.conf
9663                 - Add dhclient-executed callout that takes the place of dhclient-script
9664                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9665                 NM then listens for
9666
9667 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9668
9669         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9670
9671         * libnm-glib/nm-client.h:
9672         * libnm-glib/nm-object.h:
9673         * libnm-glib/nm-vpn-connection.h:
9674         * libnm-glib/nm-settings.h:
9675         * libnm-glib/nm-device.h:
9676         * libnm-glib/nm-ip4-config.h:
9677         * libnm-glib/nm-access-point.h:
9678         * libnm-glib/nm-device-802-3-ethernet.h:
9679         * libnm-util/nm-setting.h: 
9680         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9681
9682         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9683
9684         * libnm-glib/nm-access-point.c: Strength has type char.
9685
9686         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9687         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9688
9689         * introspection/nm-access-point.xml: Strength property is char, not int.
9690
9691         * src/NetworkManagerAP.c (set_property): Set strength from char.
9692         (get_property): Handle hidden APs (with empty SSID).
9693         Get strength value from char.
9694         (nm_ap_class_init): Strength property has char type.
9695
9696 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9697
9698         * introspection/Makefile.am:
9699         * introspection/nm-settings.xml:
9700         * introspection/nm-settings-connection.xml: added Settings interfaces.
9701
9702         * libnm-glib/nm-settings.[ch]:
9703         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9704         containing the DBus implementation.
9705
9706 2007-07-26  Dan Williams  <dcbw@redhat.com>
9707
9708         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9709
9710         * src/NetworkManagerSystem.c
9711                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9712                         same subnet (#437396)
9713
9714 2007-07-26  Dan Williams  <dcbw@redhat.com>
9715
9716         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9717
9718         * gnome/vpn-properties/nm-vpn-properties.c
9719                 - Fix translatable strings (#445865)
9720
9721 2007-07-26  Dan Williams  <dcbw@redhat.com>
9722
9723         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9724
9725         * configure.in
9726                 - Remove useless junk (#412530)
9727
9728 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9729
9730         Patch from Robert Buchholz <rbu@gentoo.org>:
9731
9732         * configure.in:
9733         * Makefile.am:
9734         * introspection/Makefile.am:
9735         Make make distcheck work again.
9736
9737 2007-06-27  Dan Williams  <dcbw@redhat.com>
9738
9739         * Make SSIDs GByteArrays everywhere
9740         * Rename "essid" -> "ssid" everywhere that's appropriate
9741         * Refcount activation_ap member of the 802.11 wireless device class
9742
9743 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9744
9745         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9746
9747 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9748
9749         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9750         that we got a new AP when we just update existing AP properties.
9751
9752 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9753
9754         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9755
9756         * nm-utils.[ch]: Remove.
9757
9758         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9759         objects for easy property access and dbus connection handling.
9760
9761         * libnm-glib/nm-client.c: Derive from NMObject.
9762
9763         * libnm-glib/nm-device.c: Ditto.
9764
9765         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9766
9767         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9768
9769         * libnm-glib/nm-ip4-config.c: Ditto.
9770
9771         * libnm-glib/nm-access-point.c: Ditto.
9772
9773         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9774         comparision. Currently used by the device activation code to determine if the new
9775         activation is the same as the old one.
9776
9777         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9778         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9779         able to ask password for the AP.
9780
9781         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9782         up if the device is already connected, tear down it's connection (if it isn't the
9783         same as new one) and start the activation.
9784
9785         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9786
9787         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9788         the issue where all APs are always listed as encrypted.
9789
9790         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9791         their own registered paths.
9792
9793         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9794         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9795
9796 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9797
9798         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9799         (0 & 0 == 0, doh)
9800
9801         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9802         because the handling code will cause the next state change and signal listeners
9803         get the signals in wrong order.
9804
9805         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9806         correctly in case of pending activation.
9807
9808         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9809         Convert the essid byte array to string correctly, including the terminating NULL.
9810
9811         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9812         mode with correct types.
9813
9814         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9815         constructed info to dbus call instead of the activation request.
9816
9817 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9818
9819         Patch from Christian Persch <chpe@gnome.org>
9820
9821         * libnm-glib/Makefile.am:
9822         * dispatcher-daemon/Makefile.am:
9823         Use the correct variables, the correct paths, and correct ordering. (446315)
9824
9825 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9826
9827         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9828         argument. The activation request is easy to retrieve.
9829
9830         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9831         just to be a convenient location for devices to store random stuff.
9832
9833 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9834
9835         Patch from Alex Smith <alex@alex-smith.me.uk>
9836
9837         * src/backends/NetworkManagerFrugalware.c:
9838         Update the FrugalWare backend to fix a few segfaults. (#392642)
9839
9840 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9841
9842         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9843
9844         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9845         setting.
9846         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9847
9848 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9849
9850         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9851         automagically.
9852         Implement NMSettingIP4Config.
9853         Finish NMSettingWired by adding all known members.
9854         (setting_wired_verify): Implement.
9855         Finish NMSettingWireless by adding all known members.
9856         (setting_wireless_verify): Implement.
9857
9858         * libnm-util/nm-connection.c: Register "ipv4" setting.
9859         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9860         dump function, we can introspect the GHashTable which is used for sending connections
9861         over dbus.
9862
9863         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9864         Take GByteArray for essid, it's really not a string.
9865
9866         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9867         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9868         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9869         means overriding the values we got from DHCP.
9870         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9871         (nm_device_deactivate_quickly): Ditto.
9872
9873         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9874         for debugging.
9875
9876 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9877
9878         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9879         NMConnection.
9880
9881         * libnm-glib/nm-device-802-11-wireless.c:
9882         (nm_device_802_3_ethernet_activate): Remove.
9883
9884         * libnm-glib/nm-device-802-3-ethernet.c
9885         (nm_device_802_3_ethernet_activate): Remove.
9886
9887         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9888
9889         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9890         NMConnection.
9891
9892         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9893         activation has started.
9894         Implement the new activation using NMConnection.
9895
9896         * src/nm-activation-request.c: Store a generic connection object instead
9897         of a wireless-specific AP.
9898
9899         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9900         on device type, create a device specific connection object suitable for
9901         device activation.
9902
9903         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9904         specific check to validate the connection and on success start the
9905         activation.
9906
9907         * src/nm-device-interface.h: Add a activate virtual function to the
9908         interface definition.
9909
9910         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9911         (impl_device_activate): Implement.
9912
9913         * introspection/nm-device.xml: Add a generic device activation interface
9914         that accepts an abstract NMConnection structure that has device-specific
9915         information in it.
9916
9917         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9918         activation interface.
9919
9920         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9921         activation interface.
9922
9923         * libnm-util/nm-connection.c: 
9924         * libnm-util/nm-connection.h: 
9925         * libnm-util/nm-setting.c:
9926         * libnm-util/nm-setting.h: Add.
9927
9928         * libnm-util/Makefile.am: Build the added files.
9929
9930         * src/nm-dbus-manager.c
9931         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9932         DbusConnection argument from 'name-owner-changed' signal. The manager
9933         is already passed as a first argument to the signal and the connection
9934         is easy enough to get from it.
9935
9936         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9937         Update the signature of the function.
9938
9939         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9940         Ditto.
9941
9942         * src/NetworkManager.c: Ditto.
9943
9944         * src/named-manager/nm-named-manager.c
9945         (nm_named_manager_name_owner_changed): Ditto.
9946
9947         * src/supplicant-manager/nm-supplicant-manager.c
9948         (nm_supplicant_manager_name_owner_changed): Ditto.
9949
9950         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9951
9952         * src/dhcp-manager/nm-dhcp-manager.c
9953         (nm_dhcp_manager_name_owner_changed): Ditto.
9954
9955         * src/nm-hal-manager.c: Add a list of device detectors and creators
9956         to make it easier to add new devices. Each device type has it's own
9957         entry in the table so adding new device types is only a matter of
9958         implementing a couple of functions, one for device detection and the
9959         other for device creation.
9960
9961 2007-04-25  Dan Williams  <dcbw@redhat.com>
9962
9963         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9964                 (gnome.org #432401)
9965
9966 2007-03-30  Dan Williams  <dcbw@redhat.com>
9967
9968         * src/NetworkManagerSystem.c
9969                 - (nm_system_device_set_ip4_route): clean up and fix argument
9970                         to nm_dev_sock_open()
9971
9972 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9973
9974         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9975         data to correct types instead of always using string.
9976
9977         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9978         _not_ have NM_802_11_CAP_PROTO_NONE.
9979         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9980         is not set.
9981
9982 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9983
9984         * libnm-glib/Makefile.am: Fix the build issue.
9985
9986 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9987
9988         * libnm-glib/nm-vpn-connection.h: 
9989         * libnm-glib/nm-vpn-connection.c: Implement.
9990
9991         * libnm-glib/nm-client.c: Add VPN support.
9992
9993         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9994         handler for VPN.
9995
9996         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9997         on DBUS again.
9998
9999 2007-03-26  Dan Williams  <dcbw@redhat.com>
10000
10001         * src/NetworkManagerAPList.c
10002         * src/nm-device-802-11-wireless.c
10003         * src/NetworkManagerAP.c:
10004                 - Store last seen as glong instead of GTimeVal.
10005                 - Fix the upper bound of capabilities, it's a bitfield.
10006
10007 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10008
10009         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10010
10011         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10012         "manager-running" signal that notifies the appearance/disappearance of NM.
10013         (nm_client_sleep): Implement.
10014
10015         * libnm-glib/nm-device.c:
10016         * libnm-glib/nm-device-802-11-wireless.c: 
10017         * libnm-glib/nm-device-802-3-ethernet.c: 
10018
10019         Don't inherit from DBusGProxy, add a proxy to private
10020         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10021         for anything but their own dbus interface. DBusGProxy objects support only one
10022         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10023         interface. The nice side effect of this change is that we do not create a new
10024         DBusGProxy object for each property access.
10025
10026 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10027
10028         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10029         with zeroes before passing them to functions - the functions never do that and
10030         reading the values back may produce wrong values.
10031         (real_bring_up): Store the signal handler id ...
10032         (real_bring_down): ... So that it can be removed here.
10033         Disconnect the supplicant interface here as well.
10034         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10035         from the access point instead of old $device/Networks/$essid.
10036
10037         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10038         device state is connected (instead of just having link/carrier).
10039
10040         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10041         already easily accessible through the device.
10042
10043         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10044         store it within the object.
10045         (nm_ap_get_dbus_path): Export it to public as well.
10046
10047         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10048         of the singleton.
10049
10050 2007-03-12  Dan Williams  <dcbw@redhat.com>
10051
10052         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10053         for non-carrier-detect capable devices, and useless for carrier-detect
10054         devices since we get notifications from netlink about carrier status anyway.
10055
10056         * src/nm-device-802-3-ethernet.c
10057                 - remove 'link_source_id' member from private data
10058                 - (probe_link): remove and collapse into real_update_link()
10059                 - (nm_device_802_3_periodic_update): remove
10060                 - (real_is_up): check for sup_iface rather than link_source_id
10061                 - (real_bring_up): return gboolean for success/fail; require that
10062                         sup_iface be valid for device bringup to succeed
10063                 - (real_bring_down): zero out link signal ids
10064
10065         * src/nm-device.c
10066                 - (nm_device_activate_stage2_device_config): fail activation if device
10067                         bringup fails
10068                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10069                         fails
10070                 - (nm_device_bring_up): return success/fail
10071
10072         * src/nm-device.h
10073                 - bring_up now returns success/fail
10074
10075         * src/nm-device-802-11-wireless.c
10076                 - (real_bring_up): return success from bringup
10077
10078 2007-03-07  Dan Williams  <dcbw@redhat.com>
10079
10080         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10081         * src/nm-ap-security-wpa-psk.c
10082                 - (real_write_supplicant_config): work with PSKs that may contain
10083                         zeros in the binary format rather than treating it as a string
10084
10085 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10086
10087         * libnm-glib/nm-device-802-11-wireless.c
10088         (nm_device_802_11_wireless_get_capabilities): Implement.
10089
10090         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10091
10092         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10093
10094         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10095         reply only if it's not NULL. Not sure why this started happening right now.
10096
10097         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10098         code paths for when devices get removed on shutdown or when a device is just
10099         removed.
10100         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10101         gets freed so any signal from a device (disconnected for instance) would invoke
10102         NMState update which would crash.
10103         (nm_manager_remove_device): Bring the device down when it gets removed.
10104
10105         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10106         the unused dev_type.
10107
10108         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10109         reference to the added device, NMManager will own it (if it wants).
10110
10111         * test/nm-tool.c: Rewrite using libnm-glib.
10112
10113         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10114         We get signalled when it changes.
10115
10116         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10117         when it changes.
10118
10119         * libnm-glib/nm-device.c: Cache the device state property.
10120
10121         * libnm-glib/nm-access-point.c: Cache the strength property.
10122
10123         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10124         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10125         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10126         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10127         the device is down, activating, or activated (in case of A/B/G cards).
10128         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10129         it's all done through supplicant now.
10130
10131         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10132         counting issues with pending calls which caused leaks and crashes when
10133         interface was removed (now that the interface actually gets removed).
10134
10135         * src/nm-call-store.c: Make a copy of data before running a foreach
10136         with user callback on it - The most common usage pattern is to cancel
10137         (and thus remove) all pending calls with foreach which would modify
10138         the hash table we're iterating over.
10139
10140         * src/nm-manager.c: When a device is added, make sure it is "up". When
10141         it's removed or disabled due to disabling wireless or networking, bring
10142         it down.
10143
10144         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10145
10146         * src/nm-device-802-11-wireless.c: 
10147         * src/nm-device-802-3-ethernet.c: 
10148         * src/nm-device.c:
10149                 - Remove "init" virtual function, all gobjects have a place for that
10150                   already (constructor).
10151                 - Replace "start" virtual function with "bring_up", devices can be
10152                   brought up and down more than just on startup now.
10153                 - Add "is_up" virtual function.
10154                 - Implement one way to bring a device down instead of previous 4 different
10155                   ways, each of witch did something different.
10156
10157         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10158         all it needs is the device interface.
10159
10160         Get rid of NMData.dev_list (3 members to go).
10161         Get rif of NMData in a lot of places.
10162
10163         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10164
10165 2007-02-23  Dan Williams  <dcbw@redhat.com>
10166
10167         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10168
10169         * src/NetworkManagerAP.c
10170                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10171                         OR-ing rather than AND-ing
10172
10173 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10174
10175         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10176         "network-removed" signals.
10177
10178         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10179
10180         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10181         when receiving the signal from dbus.
10182
10183         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10184         property.
10185
10186         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10187         deactivation of the previously activated device working again.
10188
10189         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10190         and setter.
10191
10192         * src/nm-device.c (nm_device_is_activated): Remove.
10193         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10194
10195         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10196         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10197         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10198         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10199         Remove NMNetworkStatus and NMActStage enums.
10200
10201 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10202
10203         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10204         Handle device state changes and disconnect VPN if it's device deactivates.
10205
10206         * src/nm-dbus-nm.c: 
10207         * src/nm-dbus-nm.h: 
10208         * src/nm-dbus-device.c: 
10209         * src/nm-dbus-device.c: 
10210         * src/nm-dbus-net.c: 
10211         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10212
10213         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10214
10215         * src/nm-device.c (nm_device_get_by_udi):
10216         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10217         implemented in the correct location (NMManager).
10218         Rip out all the test_device stuff.
10219
10220         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10221         failure handlers, it's all done by NMDevice already.
10222
10223         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10224         Remove the iochannel hack to route the unix signals to the main thread since
10225         we're not threaded anymore.
10226
10227         * src/NetworkManagerAP.c: Implement HWAddress property.
10228
10229         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10230         automatically with dbus-glib.
10231
10232         * src/nm-netlink-monitor.c: 
10233         * src/nm-netlink-monitor.h:
10234                 - Move it low in the class hierarchy, don't reference any NM types.
10235                 - Remove private data from the header.
10236                 - Use type safe checks in public API methods.
10237                 - Make it a singleton so we don't have to pass the single reference around.
10238
10239 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10240
10241         * introspection/nm-ip4-config.xml: Implement.
10242
10243         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10244
10245         * libnm-glib/nm-ip4-config.c:
10246         * libnm-glib/nm-ip4-config.c: Implement.
10247
10248         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10249         securities. APs reference security.
10250
10251         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10252         be exported over DBUS.
10253
10254         * src/nm-device-802-3-ethernet.c: Ditto.
10255
10256         * src/NetworkManagerAP.c:
10257         * src/NetworkManagerAP.h:
10258                 - Convert to GObject, export over DBUS.
10259
10260         * src/nm-ip4-config.h:
10261         * src/nm-ip4-config.h:
10262                 - Convert to GObject, export over DBUS.
10263
10264 2007-02-12  Dan Williams  <dcbw@redhat.com>
10265
10266         Patch from Helmut Schaa <hschaa@suse.de>
10267
10268         * vpn-daemons/pptp/configure.in
10269           vpn-daemons/pptp/Makefile.am
10270           vpn-daemons/openvpn/configure.in
10271           vpn-daemons/openvpn/Makefile.am
10272           vpn-daemons/vpnc/configure.in
10273           vpn-daemons/vpnc/Makefile.am
10274                 - Add --without-gnome switch which disables building gnome bits
10275
10276 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10277
10278         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10279
10280         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10281
10282         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10283         'HwAddress'.
10284
10285         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10286
10287         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10288
10289         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10290
10291         * src/:
10292                 - Remove old low-level dbus interface implementations and replace them
10293                   with dbus-glib one.
10294
10295         * configure.in:
10296                 - Require dbus-glib >= 0.72.
10297                 - Plug in new sources to build.
10298
10299         * libnm-glib/:
10300                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10301                   to make it more convenient to use from GObject based programs.
10302
10303         * introspection/:
10304                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10305
10306 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10307
10308         * src/nm-device-802-11-wireless.c:
10309                 - Add "network-added" and "network-removed" signals.
10310                 - Use gobject boilerplate macros to define the GObject.
10311                 - Implement wireless device activation.
10312                 - Remove activation_failure_handler and activation_success_handler
10313                   and instead listen on state-changed signals and run the same code
10314                   from there.
10315
10316         * src/nm-device.c:
10317                 - Implment NMDeviceInterface::deactivate.
10318                 - Remove activation_failure_handler and activation_success_handler
10319                   virtual methods. Each device which is interested in these events
10320                   can just listen on it's state changed signals.
10321
10322         * src/NetworkManagerPolicy.c:
10323                 - Move a bit more NMData usage to NMManager.
10324                 - Remove activation scheduling bits.
10325                 - Add listeners for wireless device's "network-added" and
10326                   "network-removed" signals.
10327                 - Listen device changed signals and deactivate currently activated
10328                   device when another device start activating (for now).
10329                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10330                   for calling this, the policy code knows exactly when this should happen,
10331                   by listening on events from NMManager and NMDevices.
10332
10333         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10334         Implement.
10335
10336         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10337         method on the specific device instead of going to through policy code
10338         and determining the device type by passed in AP's existance.
10339
10340         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10341         abstract NMDevice deactivation.
10342
10343 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10344
10345         * src/NetworkManager.c:
10346                 - Set up all the shiny new managers.
10347
10348         * src/NetworkManagerPolicy.c:
10349                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10350                   classes to call into policy code, make the policy code kind of like
10351                   a supervisor that monitors what's going on and drives the whole NM.
10352
10353         * src/nm-hal-manager.c: 
10354         * src/nm-hal-manager.h:
10355                 - Collect all libhal code scattered around NM to this one class.
10356                 - Listen libhal and NMManager events and add/remove devices to
10357                   NMManager.
10358
10359         * src/nm-manager.c:
10360         * src/nm-manager.h:
10361                 - Implment a replacement for NMData. NMData is now officially
10362                 deprecated.
10363
10364 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10365
10366         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10367         * src/supplicant-manager/nm-supplicant-interface.h
10368         * src/supplicant-manager/nm-supplicant-interface.c
10369         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10370         argument to boolean from enum.
10371
10372         Make NMDevice abstract class, remove almost all references to it's
10373         subclasses (the last place gets removed with new policy manager). Add
10374         NMDeviceInterface (which NMDevice implements) so that when we have
10375         NMDevice exported over DBUS, there's a common NMDevice interface which
10376         all instances have, plus there's a device specific interface for each
10377         specific type.
10378         Remove functions (nm_device_is_802_3_ethernet) and
10379         (nm_device_is_802_11_wireless). There are already standard GObject macros
10380         for type safe checks.
10381         Use the updated supplican manager API.
10382
10383         * src/nm-device-interface.h: 
10384         * src/nm-device-interface.c: 
10385         * src/nm-call-store.h: 
10386         * src/nm-call-store.c: Implement.
10387
10388         * src/supplicant-manager/nm-supplicant-interface.c:
10389         * src/supplicant-manager/nm-supplicant-interface.h:
10390         * src/supplicant-manager/nm-supplicant-manager.c:
10391         * src/supplicant-manager/nm-supplicant-manager.h:
10392                 - Remove all private data type references from public header files.
10393                 - Remove all references to other NM classes, this class is just a
10394                   proxy between wpa_supplicant and NM so it doesn't have to know
10395                   any internals.
10396                 - Convert to dbus-glib bindings.
10397                 - Type safe checks for public methods' arguments.
10398                 - Store pending DBUS call ids to NMCallStore.
10399
10400         * src/supplicant-manager/nm-supplicant-config.c:
10401                 - Store config values in a GHashTable instead of GSList.
10402
10403         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10404
10405         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10406         singleton now.
10407
10408         * src/nm-device.c: Use the new DHCP manager API.
10409
10410         * src/nm-activation-request.c:
10411         * src/nm-activation-request.h:
10412                 - Remove all dhcp related properties and methods.
10413
10414         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10415
10416         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10417
10418         * src/dhcp-manager/nm-dhcp-manager.c:
10419         * src/dhcp-manager/nm-dhcp-manager.h:
10420                 - Convert it to GObject since we need to signal state changes.
10421                 - Remove all references to other NM classes, this class is one
10422                   of the lowest classes in our hierarchy.
10423                 - One less class to use NMActRequest.
10424                 - Make it singleton, one less user of NMData.
10425                 - Remove a couple of sleep() calls.
10426                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10427                   One less class to use the NM's custom tailored signal handlig.
10428
10429         * Makefile.am: Generate marshallers, add them to build.
10430
10431 2007-02-02  Dan Williams  <dcbw@redhat.com>
10432
10433         * configure.in
10434           gnome/Makefile.am
10435           nm-applet.desktop
10436           Makefile.am
10437                 - Remove last bits referencing gnome applet
10438
10439 2007-02-02  Dan Williams  <dcbw@redhat.com>
10440
10441         * src/vpn-manager/nm-vpn-service.c
10442                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10443                         and NBNS server addresses
10444
10445 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10446
10447         * src/nm-dbus-manager.c:
10448         * src/nm-dbus-manager.h:
10449                 - Convert all internal DBUS code to use dbus-glib bindings.
10450                 - Remove GObject properties, we don't need them here.
10451                 - Don't explicitly set things to NULL after freeing, glib is
10452                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10453                 - Make public API argument checks type safe.
10454                 - Remove unnecessary (and wrong) cast to GObject for the first
10455                   argument to g_signal_* calls - The first argument is a gpointer.
10456                 - Export DBusGConnection to other cool classes that (are going to)
10457                   use dbus-glib.
10458
10459 2007-01-26  Dan Williams  <dcbw@redhat.com>
10460
10461         * libnm-util/dbus-dict-helpers.c
10462           libnm-util/dbus-dict-helpers.h
10463                 - Coordinate style with wpa_supplicant version to minimize diff
10464                 - Add uint32 array support
10465                 - (nmu_dbus_dict_append_uint32_array): new function
10466                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10467                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10468                         version; allow adding string array elements individually
10469
10470         * test/libnm-util/test-dbus-dict-helpers.c
10471                 - Test uint32 arrays
10472
10473 2007-01-27  Jürg Billeter  <j@bitron.ch>
10474
10475         * src/backends/NetworkManagerPaldo.c
10476                 - (nm_system_update_dns): clear nscd hosts cache
10477
10478 2007-01-04  Dan Williams  <dcbw@redhat.com>
10479
10480         Threading removal related cleanups:
10481
10482         - Use the glib default main context.  Remove the device main context
10483                 member from NMDevice, and the main_context member from NMData.  Change
10484                 all the idle and timeout scheduler functions to use plain
10485                 g_idle_add() and g_timeout_add().
10486
10487         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10488                 takes an argument; fix that up too.
10489
10490         - Remove all locking, which is useless since we no longer use threads.  For
10491                 example, nm_get_device_by_iface_locked() has been removed.  The global
10492                 device list lock, the AP List lock, and all static locks in
10493                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10494                 in NetworkManagerUtils.c have also been removed.
10495
10496         - Other cleanups in spacing and code style
10497
10498 2007-01-01  Dan Williams  <dcbw@redhat.com>
10499
10500         Found by Bill Moss:
10501
10502         * src/supplicant-manager/nm-supplicant-interface.c
10503                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10504                         the supplicant interface wasn't already disconnected.  Always
10505                         call removeNetwork and disconnect unless the supplicant interface
10506                         is in the DISCONNECTED or INACTIVE state.
10507
10508 2006-12-28  Dan Williams  <dcbw@redhat.com>
10509
10510         Use a single thread for everything.  With the move to wpa_supplicant
10511         and communication over D-Bus, there's no reason for multiple threads.
10512         Almost all of the blocking code has been removed, with one exception in
10513         the DHCP manager and a few in the VPN manager.  This commit removes the
10514         per-device worker thread and fixes activation cancellation in the absence
10515         of threads.  Further removal of thread-related code would be removing
10516         any locking code (like the device list lock) and simplification of logic
10517         around areas of code or data structures that are currently locked.
10518
10519         * autoip.c
10520           dhcp-manager/nm-dhcp-manager.c 
10521           nm-device-802-11-wireless.c
10522           nm-device-802-3-ethernet.c
10523           nm-device.c
10524           nm-device.h
10525                 - Remove usage of multiple threads
10526
10527 2006-12-19  Dan Williams  <dcbw@redhat.com>
10528
10529         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10530         plus a few other patches from wpa_supplicant bugzilla.
10531
10532         * src/Makefile.am
10533           src/NetworkManagerPolicy.c
10534           src/NetworkManagerUtils.c
10535           src/NetworkManagerUtils.h
10536           src/nm-ap-security-leap.c
10537           src/nm-ap-security-wep.c
10538           src/nm-ap-security-wpa-eap.c
10539           src/nm-ap-security-wpa-psk.c
10540           src/nm-ap-security.c
10541           src/nm-ap-security.h
10542           src/nm-device-802-11-wireless.c
10543           src/nm-device-802-11-wireless.h
10544           src/supplicant-manager/nm-supplicant-config.c
10545           src/supplicant-manager/nm-supplicant-config.h
10546           src/supplicant-manager/nm-supplicant-interface.c
10547           src/supplicant-manager/nm-supplicant-interface.h
10548           src/supplicant-manager/nm-supplicant-marshal.list
10549           src/supplicant-manager/nm-supplicant-settings-verify.c
10550           src/supplicant-manager/nm-supplicant-settings-verify.h
10551                 - Move all connection management and association handling to
10552                         wpa_supplicant over dbus, rather than spawning a private copy
10553
10554 2006-12-19  Dan Williams  <dcbw@redhat.com>
10555
10556         * src/NetworkManagerPolicy.c
10557                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10558                         better locking of the device change check handler ID.  Incorrect
10559                         locking was causing lost device change requests
10560
10561 2006-12-18  Dan Williams  <dcbw@redhat.com>
10562
10563         * libnm-util/dbus-dict-helpers.c
10564                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10565                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10566                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10567
10568 2006-12-18  Dan Williams  <dcbw@redhat.com>
10569
10570         * gnome/libnm_glib/libnm_glib.c
10571                 - Change dbus_connection_close() -> dbus_connection_unref()
10572
10573 2006-12-11  Dan Williams  <dcbw@redhat.com>
10574
10575         * src/supplicant-manager/nm-supplicant-interface.c
10576                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10577                         wpa_supplicant interface state
10578                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10579                         state before transitioning to READY state
10580
10581 2006-12-04  Dan Williams  <dcbw@redhat.com>
10582
10583         * src/nm-device-802-11-wireless.c
10584                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10585                         odd length of ESSID returned from ieee80211 stack-based drivers
10586
10587 2006-12-04  Dan Williams  <dcbw@redhat.com>
10588
10589         * src/nm-device-802-11-wireless.c
10590                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10591                         IE handling blocks that cause mis-parsing of the IE
10592
10593 2006-12-04  Dan Williams  <dcbw@redhat.com>
10594
10595         * src/nm-device-802-11-wireless.c
10596                 - (init_supplicant_interface): new function; pull supplicant interface
10597                         setup code out into standalone function since it must be called from
10598                         two different places
10599                 - (real_init): sup_mgr is now in private object data; get and track
10600                         the supplicant manager object over the NMDevice subclass' lifetime
10601                         and register a signal handler for its state signals; only try to
10602                         initialize the supplicant interface if the supplicant manager is in
10603                         the IDLE state (and therefore is ready for requests)
10604                 - (request_wireless_scan): reschedule the scan request if (a) there is
10605                         no supplicant interface yet (meaning wpa_supplicant isn't running
10606                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10607                         for requests yet
10608                 - (supplicant_iface_connection_state_cb): new function; stub for
10609                         handling supplicant interface connection state signals
10610                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10611                         comes and goes
10612                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10613                         supplicant manager object that's being tracked starting with this
10614                         commit
10615
10616 2006-12-04  Dan Williams  <dcbw@redhat.com>
10617
10618         * src/supplicant-manager/nm-supplicant-interface.c
10619                 - (nm_supplicant_interface_set_property): track signal handler ID
10620                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10621
10622 2006-12-04  Dan Williams  <dcbw@redhat.com>
10623
10624         * src/supplicant-manager/nm-supplicant-interface.[ch]
10625                 - (nm_supplicant_interface_get_state): new function
10626
10627 2006-12-04  Dan Williams  <dcbw@redhat.com>
10628
10629         * src/supplicant-manager/nm-supplicant-interface.c
10630                 - (bssid_properties_cb): don't treat DBus errors as valid
10631                         scanned AP messages
10632
10633 2006-12-04  Dan Williams  <dcbw@redhat.com>
10634
10635         * src/supplicant-manager/nm-supplicant-interface.[ch]
10636                 - (nm_supplicant_interface_get_connection_state): new function
10637                 - define new supplicant connection states
10638                 - send a signal when the supplicant connection state changes
10639
10640 2006-12-03  Dan Williams  <dcbw@redhat.com>
10641
10642         * src/supplicant-manager/Makefile.am
10643           src/supplicant-manager/nm-supplicant-connection.h
10644           src/supplicant-manager/nm-supplicant-connection.c
10645           src/supplicant-manager/nm-supplicant-config.h
10646           src/supplicant-manager/nm-supplicant-config.c
10647           src/supplicant-manager/nm-supplicant-types.h
10648           src/supplicant-manager/nm-supplicant-interface.h
10649           src/supplicant-manager/nm-supplicant-interface.c
10650                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10651
10652 2006-12-03  Dan Williams  <dcbw@redhat.com>
10653
10654         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10655
10656         * po/POTFILES.in
10657           po/POTFILES.skip
10658                 - Move VPN-related translatables to .skip
10659
10660         * vpn-daemons/pptp/po/POTFILES.in
10661                 - Update with new translatables
10662
10663 2006-12-02  Dan Williams  <dcbw@redhat.com>
10664
10665         Patch from Christian Persch <chpe@gnome.org>
10666
10667         * gnome/applet/Makefile.am
10668           gnome/applet/applet-dbus-devices.c
10669           gnome/applet/applet-notifications.c
10670           gnome/applet/applet.c
10671           gnome/applet/applet.h
10672           gnome/applet/main.c
10673                 - Be a GtkStatusIcon on GTK+ >= 2.10
10674
10675 2006-12-02  Dan Williams  <dcbw@redhat.com>
10676
10677         * gnome/applet/applet.c
10678                 - (nma_update_info): fix two unecessary allocations
10679
10680 2006-12-02  Dan Williams  <dcbw@redhat.com>
10681
10682         Patch from Michael Biebl <biebl@teco.edu>
10683         * configure.in
10684           man/NetworkManager.1.in
10685           man/NetworkManagerDispatcher.1.in
10686           man/NetworkManager.8.in
10687           man/NetworkManagerDispatcher.8.in
10688                 - Add .SH NAME stanzas
10689                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10690
10691 2006-12-02  Dan Williams  <dcbw@redhat.com>
10692
10693         Patch from Christian Persch <chpe@gnome.org>
10694
10695         * configure.in
10696                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10697
10698 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10699
10700         Patch by Timo Hoenig <thoenig@suse.de>:
10701         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10702         DBUS-1.0.
10703
10704         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10705         we can't use the one from the main source directory.
10706
10707 2006-11-27  Dan Williams  <dcbw@redhat.com>
10708
10709         Patch from Christian Persch <chpe@gnome.org>
10710
10711         * gnome/applet/applet-dbus-devices.c
10712                 - (hal_info_product_cb): fix memleak; free duped string.
10713                         Gnome.org #379908
10714
10715 2006-11-27  Dan Williams  <dcbw@redhat.com>
10716
10717         Patch from Christian Persch <chpe@gnome.org>
10718
10719         * gnome/applet/menu-items.c
10720                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10721                         as gtk_progress_set_percentage is deprecated.  Should
10722                         work as far back as GTK+ 2.4.  Gnome.org #379780
10723
10724 2006-11-26  Dan Williams  <dcbw@redhat.com>
10725
10726         Scan using wpa_supplicant over DBus.
10727
10728         * src/nm-device-802-11-wireless.c
10729                 - remove wireless extensions netlink event handler bits
10730                         (wireless_event_helper, nm_device_802_11_wireless_event)
10731                 - remove wireless extensions scan event handler bits
10732                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10733                         hex2byte, hex2num, request_and_convert_scan_results,
10734                         free_process_scan_cb_data, scan_results_timeout,
10735                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10736                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10737                         and request scans from the supplicant interface rather than directly
10738                 - Move functionality of convert_scan_results() to cull_scan_list() and
10739                         supplicant_iface_scanned_ap_cb()
10740                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10741                         at the scan interval when the current scan has finished
10742                 - (supplicant_iface_state_cb): start scanning when the supplicant
10743                         interface enters the READY state, and stop scanning when it
10744                         enters the DOWN state
10745                 - (cull_scan_list): weed out old access points from the scan list
10746                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10747                         point into an NMAccessPoint and merge it into the device's scan list
10748
10749         * src/supplicant-manager/nm-supplicant-interface.c
10750           src/supplicant-manager/nm-supplicant-interface.h
10751                 - Add a new signal "scan-result" which is issued when the supplicant
10752                         notifies NM that a scan has completed
10753                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10754                         point found in the scan.  Called once for each access point that
10755                         the supplicant interface object receives from the supplicant as a
10756                         result of the "scanResults" method call
10757                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10758                         for the initial scan results
10759                 - (scan_request_cb): new function; send listeners the result
10760                         (success, error) of a wireless scan request
10761                 - (nm_supplicant_interface_request_scan): new function; ask the
10762                         supplicant to perform an immediate wireless scan
10763
10764 2006-11-25  Dan Williams  <dcbw@redhat.com>
10765
10766         * src/supplicant-manager/Makefile.am
10767                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10768                         add HAL cflags/includes and named-manager includes directory
10769
10770         * src/supplicant-manager/nm-supplicant-interface.h
10771                 - New state STARTING to handle transition from INIT to READY where
10772                         the addInterface pending call is still outstanding
10773
10774         * src/supplicant-manager/nm-supplicant-interface.c
10775                 - track pending calls differently since we may have more than one
10776                         going on at any given time
10777                 - request scan results from wpa_supplicant; but don't do it more often
10778                         than every 4 seconds.  Drivers that do background scanning
10779                         (like the 'ipw' drivers) send a continuous stream of scan completion
10780                         notifications, so we don't want to hammer the supplicant or dbus
10781                         with requests for all scan results every time we get a completion
10782                         notification.
10783
10784 2006-11-25  Dan Williams  <dcbw@redhat.com>
10785
10786         * src/supplicant-manager/nm-supplicant-types.h
10787                 - new file; move all supplicant manager object typedefs here for
10788                         #include sanity
10789
10790         * src/supplicant-manager/nm-supplicant-interface.c
10791           src/supplicant-manager/nm-supplicant-interface.h
10792                 - new file; an object that interfaces an NMDevice object to the
10793                         supplicant and handles signals from the supplicant.  This object
10794                         does all necessary DBus communication with wpa_supplicant.
10795
10796         * src/supplicant-manager/nm-supplicant-manager.c
10797           src/supplicant-manager/nm-supplicant-manager.h
10798                 - Actually do something.  Track the state of the wpa_supplicant service
10799                         and deal with its comings & goings.  Handle life events of
10800                         supplicant interfaces too.
10801                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10802
10803         * src/supplicant-manager/nm-supplicant-connection.h
10804                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10805
10806         * src/supplicant-manager/Makefile.am
10807                 - Add new files to build, and add libnm-util to includes
10808
10809         * src/nm-marshal.list
10810                 - New marshaler type: VOID:UINT,UINT
10811
10812         * src/nm-device-802-3-ethernet.c
10813                 - (real_init): grab a supplicant interface
10814                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10815                 - (supplicant_iface_state_cb): new function, stub for handling
10816                         supplicant interface state changes
10817
10818         * src/nm-device-802-11-wireless.c
10819                 - (real_init): grab a supplicant interface
10820                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10821                 - (supplicant_iface_state_cb): new function, stub for handling
10822                         supplicant interface state changes
10823
10824         * src/NetworkManager.c
10825                 - (main): create and keep the supplicant manager around for the lifetime
10826                         of NetworkManager
10827
10828         * src/Makefile.am
10829                 - Link to the supplicant manager sub-library and use the supplicant
10830                         manager includes
10831
10832 2006-11-25  Dan Williams  <dcbw@redhat.com>
10833
10834         Rework DBus manager signal handling to be more flexible.  Previously,
10835         only one signal handler could be registered for a particular interface.
10836         The DBus manager now reference counts DBus bus matches and allows multiple
10837         clients to register signal handlers for the same interface and sender.
10838
10839         * src/NetworkManager.c
10840                 - (main): track NMI signal handler ID and remove it when we quit
10841
10842         * src/NetworkManagerMain.h
10843                 - Keep track of NMI signal handler ID
10844
10845         * src/nm-dbus-manager.c
10846           src/nm-dbus-manager.h
10847                 - rework signal handling; each signal handler references one signal
10848                         match, but a signal match may be referenced by one or more
10849                         signal handlers.  Matches are refcounted and are destroyed when the
10850                         last signal handler that references the match is removed.  This is
10851                         necessary because two signal handlers may end up requiring the same
10852                         dbus bus match, so the match must live until the last signal handler
10853                         is destroyed (for example, with the wpa_supplicant network interface
10854                         dbus interface).
10855
10856         * src/dhcp-manager/nm-dhcp-manager.c
10857                 - (nm_dhcp_manager_new): track DHCP signal handler id
10858                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10859
10860         * src/vpn-manager/nm-vpn-service.c
10861                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10862                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10863
10864 2006-11-25  Dan Williams  <dcbw@redhat.com>
10865
10866         Suggested by Helmut Schaa <hschaa@suse.de>
10867
10868         * src/vpn-daemons/nm-vpn-service.c
10869                 - (supplicant_child_setup): new function
10870                 - (supplicant_exec): make child process use a new process group id
10871
10872         * src/nm-device-802-11-wireless.c
10873                 - (nm_vpn_service_child_setup): new function
10874                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10875                         process group id
10876
10877 2006-11-19  Dan Williams  <dcbw@redhat.com>
10878
10879         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10880         * gnome/vpn-properties/nm-vpn-properties.c
10881                 - clean up after renamed VPN connection
10882
10883 2006-11-19  Dan Williams  <dcbw@redhat.com>
10884
10885         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10886         * gnome/applet/applet-dbus-vpn.c
10887                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10888
10889         * gnome/vpn-properties/nm-vpn-properties.c
10890                 - (init_app): sort VPN connections
10891
10892 2006-11-09  Dan Williams  <dcbw@redhat.com>
10893
10894         * src/NetworkManagerAPList.c
10895                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10896                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10897                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10898                 broke hidden SSID matching.  Found by Bill Moss.
10899
10900 2006-10-25  Dan Williams  <dcbw@redhat.com>
10901
10902         * src/nm-dbus-nm.c
10903                 - (nm_dbus_nm_set_active_device): return an empty success message on
10904                         success, rather than falling through to the error case.
10905
10906 2006-10-25  Dan Williams  <dcbw@redhat.com>
10907
10908         * src/NetworkManagerUtils.c
10909                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10910                         "SCAN" command
10911
10912 2006-10-24  Dan Williams  <dcbw@redhat.com>
10913
10914         Reduce the number of times the Gnome applet wakes up, especially when
10915         it's doing absolutely nothing and is hidden.  Initial patch by
10916         Chris Aillon.
10917
10918         * gnome/applet/applet-dbus.c
10919                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10920                         kill the redraw timeout.  When NM starts up, start the redraw
10921                         timeout.  Also, if we get kicked off the bus for some reason,
10922                         start the reconnection timeout if one's not already running.
10923                 - (nma_dbus_init): better handling of error conditions, don't leak
10924                         a half-initialized dbus connection
10925                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10926                         the applet's data, just call nm_dbus_init_helper()
10927                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10928                         timeout that calls nma_dbus_connection_watcher()
10929                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10930                         reconnection timeout, and don't start the reconnection timeout
10931                         unconditionally anymore
10932
10933         * gnome/applet/applet-dbus.h
10934                 - Expose nma_start_dbus_connection_watch()
10935
10936         * gnome/applet/applet.c
10937                 - (nma_update_state): no longer static, called from applet-dbus.c for
10938                         immediate UI updates on certain events
10939                 - (nma_set_running): new function; take over setting applet->running,
10940                         when not running (ie, NM is not active), don't activate the redraw
10941                         timeout because we're not showing the applet anyway.  When we are
10942                         running (ie, NM is active), and only when we're running, start the
10943                         redraw timeout.
10944                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10945                         kill any reconnection timeout
10946                 - (nma_get_instance): move one-off dbus initialization code here since
10947                         nm_dbus_init_helper() gets called more than once, possibly by the
10948                         reconnection timeout function too.  And, when we start up, if we
10949                         can't get a connection to the bus, start the reconnection timeout.
10950                         But don't start the redraw timeout yet, only do that when we get
10951                         NM's state and find out if it's running or not.
10952
10953         * gnome/applet/applet.h
10954                 - Add the reconnection GSource ID
10955                 - Add prototypes for nma_set_running() and the no-longer-static
10956                         nma_update_state()
10957
10958 2006-10-24  Dan Williams  <dcbw@redhat.com>
10959
10960         * src/vpn-daemons/nm-dbus-vpnc.c
10961                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10962                         pending call tracker
10963                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10964                         pending call tracker; register one-vpn-connection update pending
10965                         call in pending call tracker
10966                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10967                         update pending call in pending call tracker
10968                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10969                         update pending call in pending call tracker; don't block waiting
10970                         for call to return
10971
10972 2006-10-19  Robert Love  <rml@novell.com>
10973
10974         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10975           refresh the cache.
10976
10977 2006-10-14  Dan Williams  <dcbw@redhat.com>
10978
10979         * src/dhcp-manager/nm-dhcp-manager.c
10980                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10981                 the dbus connection and the device object path rather than
10982                 constructing it inside both functions.  Saves a bit of memory
10983                 and clarifies a failure path.
10984                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10985                 and allocate device path here rather than each of the two
10986                 functions above.
10987
10988 2006-10-13  Dan Williams  <dcbw@redhat.com>
10989
10990         * src/NetworkManager.c
10991                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10992                 this somehow droppout in the refactor
10993
10994 2006-10-13  Dan Williams  <dcbw@redhat.com>
10995
10996         * Huge DBus refactor:
10997                 - Create a "DBus Manager" object which manages the connection and
10998                 sends signals on NameOwnerChanged and connection/disconnection events,
10999                 handles reconnection to the bus if NM gets kicked off, and abstracts
11000                 signal handling
11001                 - Remove DBusConnection members from places where they are no
11002                 longer needed due to the refactor, like the dbus-connection
11003                 property of the named manager, and from NMData
11004                 - Reformats a bunch of the code to gnome style
11005                 (8-space tabs, braces on same line as statement, 80-col width).
11006                 Consider it open season to reformat any bits to gnome style.
11007                 style that aren't already.
11008
11009 2006-10-13  Dan Williams  <dcbw@redhat.com>
11010
11011         * src/supplicant-manager/Makefile.am
11012                 - Add new files
11013
11014         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11015                 - Make it a minimal GObject
11016
11017         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11018                 - Verify settings destined for wpa_supplicant
11019
11020         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11021                 - Minimal GObject to track wpa_supplicant controlled device
11022                 connections
11023
11024 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11025
11026         * gnome/applet/applet.c: (nma_update_info),
11027         (nma_act_stage_to_pixbuf), (nma_update_state):
11028         Mark missing strings for translation. Fixes bug #343306.
11029
11030 2006-10-01  Dan Williams  <dcbw@redhat.com>
11031
11032         * src/vpn-manager/nm-vpn-manager.c
11033                 - (nm_vpn_manager_load_services): split and clean up
11034                 for readability and correctness.  Restrict VPN service
11035                 files to ending in ".name", as was meant from the
11036                 beginning (but not coded in).  Better error reporting.
11037
11038 2006-10-01  Dan Williams  <dcbw@redhat.com>
11039
11040         * utils/nm-utils.h
11041                 - Clean up formatting of debug/info/warning log messages
11042
11043 2006-09-27  Robert Love  <rml@novell.com>
11044
11045         Patch by Tambet Ingo <tambet@ximian.com>:
11046         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11047           actually work.
11048
11049 2006-09-07  Dan Williams <dcbw@redhat.com>
11050
11051         * test/Makefile.am
11052           test/libnm-util/Makefile.am
11053           test/nm-supplicant-test.c
11054                 - Add test program emulating the way NM drives wpa_supplicant
11055                 to help debug supplicant issues
11056
11057 2006-08-24  Dan Williams <dcbw@redhat.com>
11058
11059         * configure.in
11060           src/Makefile.am
11061           src/supplicant-manager/Makefile.am
11062           src/supplicant-manager/nm-supplicant-manager.c
11063           src/supplicant-manager/nm-supplicant-manager.h
11064                 - Add skeleton bits of the wpa_supplicant manager
11065
11066 2006-08-24  Dan Williams <dcbw@redhat.com>
11067
11068         Patch from Ed Catmur:
11069         * src/NetworkManagerUtils.c
11070                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11071                 if netmask is 0 (Gnome #352634)
11072
11073 2006-08-17  Robert Love  <rml@novell.com>
11074
11075         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11076           package is now DBUS-enabled and listens for the NM signals.
11077
11078 2006-08-14  Dan Williams  <dcbw@redhat.com>
11079
11080         * Patch from Christian Persch <chpe gnome org>
11081         * configure.in
11082           po/LINGUAS
11083           vpn-daemons/openvpn/po/LINGUAS
11084           vpn-daemons/openvpn/configure.in
11085           vpn-daemons/pptp/po/LINGUAS
11086           vpn-daemons/pptp/configure.in
11087           vpn-daemons/vpnc/po/LINGUAS
11088           vpn-daemons/vpnc/configure.in
11089                 - Convert to LINGUAS method so translators don't have to modify
11090                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11091                 0.35 or higher
11092
11093 2006-08-14  Dan Williams  <dcbw@redhat.com>
11094
11095         Patch from Alex Smith <alex.extreme2@gmail.com>
11096         * configure.in
11097           src/backends/Makefile.am
11098           src/backends/NetworkManagerFrugalware.c
11099                 - Add support for Frugalware
11100
11101 2006-08-13  Dan Williams  <dcbw@redhat.com>
11102
11103         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11104         * src/nm-device-802-11-wireless.c
11105                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11106                 Gnome #346875
11107
11108 2006-08-13  Dan Williams  <dcbw@redhat.com>
11109
11110         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11111         * src/nm-ap-security.c
11112           src/nm-ap-security.h
11113                 - Add authentication_required bits for subclasses to specify whether
11114                 or not real authentication is required for connections, i.e. whether
11115                 the AP rejects us when an encryption key is wrong or not.
11116
11117         * src/nm-ap-security-wep.c
11118           src/nm-ap-security-wpa-eap.c
11119           src/nm-ap-security-wpa-psk.c
11120           src/nm-ap-security-leap.c
11121                 - Implement authentication_required appropriately for each method
11122
11123         * src/nm-device-802-11-wireless.c
11124                 - Be smarter about when to request a key; for example, using a wrong key
11125                 in WEP shared key mode previously just timed out and did not request
11126                 a new key
11127
11128 2006-08-13  Dan Williams  <dcbw@redhat.com>
11129
11130         * gnome/libnm_glib/libnm_glib.c
11131                 - dbus_connection_disconnect() -> dbus_connection_close() for
11132                 dbus >= 0.90
11133
11134 2006-08-07  Dan Williams  <dcbw@redhat.com>
11135
11136         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11137         * src/NetworkManagerSystem.c
11138                 - Respect specified MTU.  Gnome #344967
11139
11140 2006-08-07  Dan Williams  <dcbw@redhat.com>
11141
11142         * src/vpn-manager/nm-vpn-service.c
11143                 - Simplify print_vpn_config() arguments
11144
11145         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11146         * src/vpn-manager/Makefile.am
11147           src/vpn-manager/nm-vpn-service.c
11148                 - Add new API for passing VPN config options as a dict. Gnome #344967
11149
11150 2006-08-06  Dan Williams  <dcbw@redhat.com>
11151
11152         * gnome/applet/applet-dbus-devices.c
11153           gnome/applet/applet-dbus-vpn.c
11154           gnome/applet/applet-dbus.c
11155           gnome/applet/applet-dbus.h
11156           src/nm-dbus-nmi.c
11157           utils/nm-utils.c
11158           utils/nm-utils.h
11159                 - Make pending call tracking code generic,
11160                 so we can use it in NM as well as the applet
11161
11162 2006-08-06  Dan Williams  <dcbw@redhat.com>
11163
11164         * src/nm-activation-request.c
11165                 - Refcount pending call objects
11166
11167 2006-08-06  Dan Williams  <dcbw@redhat.com>
11168
11169         Patch from Christan Chiesa <christanc@gmail.com>
11170         * configure.in
11171                 - Tell sha1.c to use bigendian mode on PPC
11172
11173 2006-08-04  Robert Love  <rml@novell.com>
11174
11175         Glib Memory Slices!
11176         * configure.in: Require glib 2.10 or later.
11177         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11178           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11179           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11180           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11181           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11182           Memory Slices are the greatest thing since bread slices.
11183         * src/NetworkManagerAP.c: Also, fix memory leak.
11184
11185 2006-08-01  Robert Love  <rml@novell.com>
11186
11187         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11188
11189 2006-07-31  Robert Love  <rml@novell.com>
11190
11191         * src/backends/interface_parser.c: Declarations must begin the block.
11192
11193 2006-07-24  Dan Williams  <dcbw@redhat.com>
11194
11195         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11196         * src/backends/Makefile.am
11197           src/backends/NetworkManagerArch.c
11198           src/backends/NetworkManagerDebian.c
11199           src/backends/NetworkManagerGeneric.c
11200           src/backends/NetworkManagerGeneric.h
11201           src/backends/NetworkManagerGentoo.c
11202           src/backends/NetworkManagerPaldo.c
11203           src/backends/NetworkManagerRedHat.c
11204           src/backends/NetworkManagerSlackware.c
11205           src/backends/NetworkManagerSuSE.c
11206                 - Genericize common backend functions
11207
11208 2006-07-18  Robert Love  <rml@novell.com>
11209
11210         * configure.in: Add "--with-notify" option to allow disabling of
11211           libnotify support.
11212
11213 2006-07-13  Dan Williams  <dcbw@redhat.com>
11214
11215         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11216         * gnome/applet/applet.glade
11217           gnome/applet/Makefile.am
11218           gnome/applet/nm-gconf-wso.c
11219           gnome/applet/nm-gconf-wso-leap.c
11220           gnome/applet/nm-gconf-wso-leap.h
11221           gnome/applet/wireless-security-manager.c
11222           gnome/applet/wso-leap.c
11223           gnome/applet/wso-leap.h
11224           include/NetworkManager.h
11225           libnm-util/dbus-helpers.c
11226           libnm-util/dbus-helpers.h
11227           src/Makefile.am
11228           src/NetworkManagerAP.c
11229           src/nm-ap-security.c
11230           src/nm-ap-security-leap.c
11231           src/nm-ap-security-leap.h
11232                 - Add LEAP authentication support
11233
11234 2006-07-13  Dan Williams  <dcbw@redhat.com>
11235
11236         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11237         * configure.in
11238           src/backends/NetworkManagerArch.c
11239           src/backends/NetworkManagerDebian.c
11240           src/backends/NetworkManagerGentoo.c
11241           src/backends/NetworkManagerPaldo.c
11242           src/backends/NetworkManagerRedHat.c
11243           src/backends/NetworkManagerSlackware.c
11244           src/backends/NetworkManagerSuSE.c
11245                 - Convert hardcoding of 'ip' path to configure-time
11246                         detected one
11247
11248 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11249
11250         * configure.in: added ru to ALL_LINGUAS
11251
11252 2006-07-10  Dan Williams  <dcbw@redhat.com>
11253
11254         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11255         * src/nm-device.c
11256                 - (real_act_stage3_ip_config_start): don't infinite loop when
11257                         dhcdbd isn't running (Gnome #346845)
11258
11259 2006-07-09  Dan Williams  <dcbw@redhat.com>
11260
11261         * gnome/applet/applet.c
11262                 - (nma_destroy): don't pass NULL to notify_notification_close
11263                         (RH #197917)
11264
11265 2006-07-09  Dan Williams  <dcbw@redhat.com>
11266
11267         * gnome/applet/applet.c
11268                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11269
11270 2006-07-04  Tor Krill  <tor@krill.nu>
11271
11272         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11273         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11274         (nm_system_restart_mdns_responder), (ArchReadConfig),
11275         (nm_system_device_get_system_config):
11276                 - Explicitly check for DHCP configuration
11277                 - Check if daemons are running before starting them
11278
11279 2006-06-25  Dan Williams  <dcbw@redhat.com>
11280
11281         * libnm-util/dbus-dict-helpers.[ch]
11282           test/libnm-util/test-dbus-dict-helpers.c
11283                 - Add string array support
11284
11285 2006-06-24  Dan Williams  <dcbw@redhat.com>
11286
11287         * src/dhcp-manager/nm-dhcp-manager.c
11288                 - (nm_dhcp_manager_process_signal): clean up spacing
11289
11290 2006-06-21  Dan Williams  <dcbw@redhat.com>
11291
11292         * src/nm-dbus-device.c
11293                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11294                         through dbus
11295
11296 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11297
11298         * configure.in: Added 'lv' to ALL_LINGUAS
11299
11300 2006-06-19  Dan Williams  <dcbw@redhat.com>
11301
11302         * src/NetworkManagerAP.c
11303                 - Clarify usage of user_created
11304
11305         * src/nm-ap-security-wep.c
11306           src/nm-ap-security-wpa-eap.c
11307           src/nm-ap-security-wpa-psk.c
11308           src/nm-ap-security.c
11309           src/nm-ap-security.h
11310                 - s/user_created/adhoc, because we really do mean adhoc
11311
11312         Patch from Bernard Blackham <bernard@blackham.com.au>
11313         * src/nm-device-802-11-wireless.c         
11314                 - (supplicant_send_network_config): instead of user_created,
11315                         use adhoc, and do AP_SCAN 2 for adhoc networks
11316
11317 2006-06-18  Robert Love  <rml@novell.com>
11318
11319         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11320           we have a value to set.  Gconf generates a warning if `val' is NULL.
11321         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11322           unless we actually received a valid private key file passphrase or
11323           password.  Otherwise, we don't know to later ask the applet to pull
11324           the key from the keyring.
11325
11326 2006-06-17  Dan Williams  <dcbw@redhat.com>
11327
11328         * libnm-util/dbus-dict-helpers.[ch]
11329           test/libnm-util/test-dbus-dict-helpers.c
11330                 - Fixes for zero-length byte arrays
11331                 - Replace return values of 0 with FALSE for clarity
11332                 - Test zero-length byte arrays
11333
11334 2006-06-17  Dan Williams  <dcbw@redhat.com>
11335
11336         * libnm-util/dbus-dict-helpers.[ch]
11337           test/libnm-util/test-dbus-dict-helpers.c
11338                 - Add helpers for byte arrays
11339                 - Rework bits of the testcase
11340
11341 2006-06-16  Dan Williams  <dcbw@redhat.com>
11342
11343         * libnm-util/Makefile.am
11344         * libnm-util/dbus-dict-helpers.[ch]
11345                 - Add some helpers to take the pain out of using dict types in
11346                         dbus.
11347
11348         * test/libnm-util/Makefile.am
11349         * test/libnm-util/test-dbus-dict-helpers.c
11350                 - Test cases for the dict helper functions
11351
11352 2006-06-15  Robert Love  <rml@novell.com>
11353
11354         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11355           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11356           if there is no key to pass.
11357         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11358           receiving a non-NULL key.
11359
11360 2006-06-14  Robert Love  <rml@novell.com>
11361
11362         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11363           copy the strings.
11364
11365
11366 2006-06-14  Dan Williams  <dcbw@redhat.com>
11367
11368         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11369         * src/nm-device-802-11-wireless.c
11370                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11371                         or ones where the driver is unknown
11372                 - (supplicant_exec): don't wait for supplicant startup here
11373                 - (supplicant_interface_init): finer grained polling for supplicant
11374                         startup
11375
11376 2006-06-13  Robert Love  <rml@novell.com>
11377
11378         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11379           if it is currently set to TRUE.  Otherwise, we will reset the value
11380           when we connect normally.
11381         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11382           the old BSSID is valid, too.  The recently added ESSID check may not be
11383           sufficient (we can remove it?).  What we really want to catch is the
11384           case of going from all-zeros to the BSSID of some other network, which
11385           happens on failure.
11386
11387 2006-06-09  Dan Williams  <dcbw@redhat.com>
11388
11389         * src/NetworkManagerSystem.[ch]
11390                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11391                         it was unused and pointless
11392                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11393                         fix for set_up_down_with_iface change
11394
11395         * src/vpn-manager/nm-vpn-connection.c
11396                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11397
11398         * src/backends/NetworkManagerPaldo.c
11399           src/backends/NetworkManagerRedHat.c
11400           src/backends/NetworkManagerSuSE.c
11401           src/backends/NetworkManagerArch.c
11402           src/backends/NetworkManagerDebian.c
11403           src/backends/NetworkManagerGentoo.c
11404                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11405                         appropriate
11406                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11407                         where appropriate
11408
11409 2006-06-09  Dan Williams  <dcbw@redhat.com>
11410
11411         Patch from Peter Jones:
11412         * src/nm-device-802-11-wireless.c
11413                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11414                         SSID hasn't changed from what we expect before automatically
11415                         updating the saved BSSID from a new AP
11416
11417 2006-06-08  Robert Love  <rml@novell.com>
11418
11419         Add 'fallback' support.  NetworkManager will attempt to brute-force
11420         connect to networks marked as fallback if there are no better wireless
11421         connections available.  This is useful as a method of last resort, to
11422         work around driver problems, and for use with hidden networks.
11423         * gnome/applet/applet-dbus-devices.c,
11424           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11425         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11426           pass it on via DBUS.
11427         * gnome/applet/applet.c: No fallback by default.
11428         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11429           Update other-network-dialog to add UI checkbox toggling fallback.
11430         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11431           propery from AP object.  Add "fallback" property to AP object.
11432         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11433         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11434         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11435           separate function.  Add get_best_fallback_ap() for returning an AP
11436           on which to attempt fallback.
11437         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11438         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11439
11440 2006-06-07  Robert Love  <rml@novell.com>
11441
11442         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11443           checked that the return type was GCONF_VALUE_STRING, not the correct
11444           GCONF_VALUE_BOOL, and thus it never worked.
11445         * src/NetworkManagerAPList.c: Before concluding that two networks are
11446           identical based on their BSSID, make sure that the BSSID in question
11447           is actually valid.  Specifically, an empty or all zero BSSID does not
11448           cut it.
11449         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11450           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11451           similar invariant clean up.
11452
11453 2006-06-02  Robert Love  <rml@novell.com>
11454
11455         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11456
11457 2006-05-28  Dan Williams  <dcbw@redhat.com>
11458
11459         * gnome/applet/applet.glade
11460           gnome/vpn-properties/nm-vpn-properties.glade
11461                 - Set window icons on dialogs  (Gnome.org #333420)
11462
11463 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11464
11465         * gnome/vpn-properties/nm-vpn-properties.glade:
11466         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11467         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11468         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11469                 - Make the VPN properties pages prettier and more HIG
11470                   compliant. Gnome Bug #336913.
11471
11472 2006-05-28  Dan Williams  <dcbw@redhat.com>
11473
11474         Patch from Christian Persch <chpe@gnome.org>
11475         * gnome/vpn-properties/nm-vpn-properties.c
11476         * gnome/vpn-properties/nm-vpn-properties.glade
11477                 - HIG-ification love  (Gnome.org #336846)
11478
11479 2006-05-28  Dan Williams  <dcbw@redhat.com>
11480
11481         Patch from Christian Persch <chpe@gnome.org>
11482         * configure.in
11483           gnome/vpn-properties/nm-vpn-properties.c
11484                 - (main): Fix option parsing.  Gnome.org #336847
11485
11486 2006-05-28  Dan Williams  <dcbw@redhat.com>
11487
11488         * gnome/vpn-properties/nm-vpn-properties.c
11489                 - (find_vpn_ui_by_service_name): protect against NULL service names
11490                 - (update_edit_del_sensitivity): protect against NULL service names
11491                         Gnome.org #341306
11492
11493 2006-05-28  Dan Williams  <dcbw@redhat.com>
11494
11495         Patch from Chris Fuller <crf@grandecom.net>:
11496         * src/nm-device-802-11-wireless.c
11497                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11498                         don't dispose of wireless-specific stuff unless it is actually
11499                         initialized.  Gnome.org #341263
11500
11501 2006-05-28  Dan Williams  <dcbw@redhat.com>
11502
11503         * src/NetworkManagerPolicy.c
11504                 - (nm_policy_device_change_check): don't switch devices if the "best"
11505                         AP is essentially the same as the current activation request, but
11506                         the current activation request isn't done activating yet.  Fixes
11507                         multiple requests for keyring password on startup for Gnome applet.
11508                         Gnome.org #341297
11509
11510 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11511
11512         * src/NetworkManager.c: use GOptions instead of getopt
11513         * configure.in: bump glib required version to >= 2.6 for GOption
11514           support
11515
11516 2006-05-25  Robert Love  <rml@novell.com>
11517
11518         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11519           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11520           instead of dumping ifdef's throughout the code.
11521         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11522           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11523           use nm_ioctl_info() in lieu.
11524
11525 2006-05-25  Robert Love  <rml@novell.com>
11526
11527         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11528         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11529           not using gcrypt.  Otherwise, we get a linker error.
11530
11531 2006-05-25  Robert Love  <rml@novell.com>
11532
11533         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11534         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11535           configure flag to disable building of the GNOME-based applet.
11536
11537 2006-05-25  Robert Love  <rml@novell.com>
11538
11539         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11540           parameter from link, because it shadows a global variable with some
11541           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11542           should never have exported to the entire system a common four letter
11543           word.  But we here at NetworkManager are team players.  Fixes
11544           GNOME bug #336532.
11545
11546 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11547
11548         * configure.in: Added mk.po, Macedonian translation.
11549
11550 2006-05-24  Robert Love  <rml@novell.com>
11551
11552         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11553           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11554           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11555
11556 2006-05-24  Robert Love  <rml@novell.com>
11557
11558         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11559           libnm-util/Makefile.am, src/Makefile.am,
11560           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11561           vpn-daemons/openvpn/properties/Makefile.am,
11562           vpn-daemons/pptp/auth-dialog/Makefile.am,
11563           vpn-daemons/pptp/properties/Makefile.am,
11564           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11565           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11566           user passed for --datadir, if anything, when setting the GNOME locale
11567           directory.  It should be a function of the specified datadir and not
11568           the prefix.
11569
11570 2006-05-24  Robert Love  <rml@novell.com>
11571
11572         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11573           src/NetworkManager.c: Take care to call bindtextdomain with the
11574           location of msgid files.
11575         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11576           files.
11577
11578 2006-05-22  Robert Love  <rml@novell.com>
11579
11580         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11581           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11582           99% of the time there is a real problem with wireless, and a
11583           seemingly successful connection via Zeroconf just confuses the user.
11584           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11585
11586 2006-05-22  Robert Love  <rml@novell.com>
11587
11588         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11589           autofs on interface up if NIS is configured.  On interface down, do
11590           nothing.
11591
11592 2006-05-22  Robert Love  <rml@novell.com>
11593
11594         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11595           to avoid calling g_object_unref() on stale pointers on error in
11596           nma_icons_free().  This happens because we short-circuit loaded the
11597           icons on the first failure but then free all icons.  Normally we have
11598           no issue because the icons were zero'ed out malloc, but we have stale
11599           pointer data after nma_icon_theme_changed().
11600         * gnome/applet/main.c: Return error code if nma_new() failed.
11601
11602 2060-05-21  Dan Williams  <dcbw@redhat.com>
11603
11604         * initscript/NetworkManager.in
11605                 - Ensure both dhcdbd and named are started before NM
11606
11607 2006-05-21  Dan Williams  <dcbw@redhat.com>
11608
11609         * configure.in
11610                 - Bump version to 0.7 to signify we are in 0.7 development
11611
11612 2006-05-21  Dan Williams  <dcbw@redhat.com>
11613
11614         Patch from Adam Schreiber <sadam@clemson.edu>
11615         * gnome/vpn-properties/nm-vpn-properties.c
11616                 - (main): correct Gnome program name  (gnome.org #342498)
11617
11618 2006-05-21  Dan Williams  <dcbw@redhat.com>
11619
11620         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11621
11622         * src/NetworkManagerDbus.[ch]
11623                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11624                         clarify that function's argument should be an escaped dbus object
11625                         path, and look for path segment end before returning a match
11626         * src/nm-dbus-nm.c:
11627                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11628
11629 2006-05-17  Robert Love  <rml@novell.com>
11630
11631         Functionality to differentiate Ad-Hoc networks from infrastructure
11632         networks in the applet, by displaying a special icon:
11633         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11634         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11635         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11636           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11637           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11638           networks, encrypted or not.
11639         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11640           accessor functions to get and set the mode of a given network,
11641           wireless_network_get_mode() and wireless_network_set_mode().
11642
11643 2006-05-17  Robert Love  <rml@novell.com>
11644
11645         Functionality to automatically add BSSIDs to the allowed-MAC list as
11646         one roams from access point to access point on a given network:
11647         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11648           helper function to compare two ether_addr structures and return TRUE
11649           if they contain the same MAC address.
11650         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11651           prototype.
11652         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11653           stored with the current AP.  If the BSSID has indeed changed, we
11654           send it out to the applet, allowing the allowed-MAC list to grow
11655           automatically in response to roaming.
11656
11657 2006-05-16  Robert Love  <rml@novell.com>
11658
11659         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11660           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11661
11662 2006-05-13  Dan Williams  <dcbw@redhat.com>
11663
11664         * src/nm-device-802-3-ethernet.c
11665                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11666                         carrier detect (Debian bug #366373)
11667
11668 2006-05-11  Dan Williams  <dcbw@redhat.com>
11669
11670         Patch from Michael Biebl <biebl@teco.edu>
11671         * src/backends/NetworkManagerDebian.c
11672                 - Debian backend fixups
11673
11674 2006-05-10  Robert Love  <rml@novell.com>
11675
11676         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11677
11678 2006-05-09  Robert Love  <rml@novell.com>
11679
11680         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11681           private certificate passphrase, if any, in the GNOME Keyring.
11682         * libnm-utils/dbus-helpers.c: Update.
11683
11684 2006-05-05  Dan Williams  <dcbw@redhat.com>
11685
11686         * src/nm-device-802-11-wireless.c
11687                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11688                         nm_device_802_11_wireless_disable_encryption() since that's all
11689                         we use it for anymore; we don't ever set WEP keys ourselves.
11690                 - (real_deactivate_quickly): reset SSID and encryption keys
11691                 - (real_deactivate): move SSID and encryption key reset to
11692                         real_deactivate_quickly(), which gets run before us anyway
11693
11694 2006-05-05  Robert Love  <rml@novell.com>
11695
11696         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11697           root has a wacky default of its own (or, more common, a user has a
11698           bad umask and uses su/sudo to restart NetworkManager).  Anything
11699           other than 0022 does not do what we want with, for example,
11700           resolv.conf.  This problem is amplified by our judicious use of
11701           fopen(), which uses mode 0666 -- implying that the only way to get
11702           the permissions we want is with a umask of 0022.
11703
11704 2006-05-05  Dan Williams  <dcbw@redhat.com>
11705
11706         * gnome/libnm_glib/libnm_glib.c
11707                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11708                         to reconnect; instead wait a bit more with each reconnect attempt
11709                         up to a max of one minute.
11710
11711 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11712
11713         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11714           the WirelessNetwork structure using the proper function instead of
11715           just casting it directly to (const char *) (gnome.org #336991)
11716
11717 2006-05-03  Robert Love  <rml@novell.com>
11718
11719         * src/backends/NetworkManagerSuSE.c: Respect the variable
11720           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11721           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11722           to dynamically update /etc/resolv.conf.
11723
11724 2006-05-02  Peter Jones  <pjones@redhat.com>
11725
11726         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11727
11728 2006-05-02  Robert Love  <rml@novell.com>
11729
11730         Patch by Timo Hoenig;
11731         * tests/nm-online.c: Print pretty status indicator as timeout winds
11732           down.  Also fix possible race between DBUS startup and failure
11733           return.
11734
11735 2006-05-01  Robert Love  <rml@novell.com>
11736
11737         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11738           empty, too.
11739
11740 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11741
11742         * src/nm-device.c (discover_device_type): Actually use the hal
11743         device type instead of ioctl poking
11744
11745 2006-04-26  Robert Love  <rml@novell.com>
11746
11747         * tests/nm-online.c: New file.  Simple utility that returns exit status
11748           noting whether the connection is offline or online.  If offline on
11749           start, it waits 30 seconds (or a command-line given value) for an
11750           online signal.  If it times out, it again returns offline.  This is
11751           useful for scripts that want to wait for network connections.
11752
11753 2006-04-25  Robert Love  <rml@novell.com>
11754
11755         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11756           key mode (the authentication algorithm), e.g. open or shared, when we
11757           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11758           only shared was broken.  If the user specified a shared key, set it
11759           explicitly, otherwise let wpa_supplicant go with the default.
11760
11761 2006-04-24  Dan Williams  <dcbw@redhat.com>
11762
11763         * src/nm-device-802-11-wireless.c
11764                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11765
11766 2006-04-24  Dan Williams  <dcbw@redhat.com>
11767
11768         Commit the async scanning patch
11769
11770         * src/nm-device-802-11-wireless.c
11771                 - get rid of scan_mutex
11772                 - (wireless_event_helper): act on wireless scan events
11773                 - (real_start): schedule a pending scan
11774                 - (link_to_specific_ap): fake the link to the AP during a scan
11775                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11776                         strength during scans
11777                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11778                         nm_device_set_bitrate): unused with new scanning code, disable
11779                 - (nm_device_wireless_schedule_scan): removed
11780                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11781                 - (request_and_convert_scan_results): new function; retrieve scan
11782                         results from the driver and schedule the processing function
11783                 - (scan_results_timeout): timeout triggered when card doesn't send
11784                         a scan results wireless event during a certain interval
11785                 - (schedule_scan_results_timeout): new function; schedule the scan
11786                         results timeout
11787                 - (cancel_scan_results_timeout): new function; cancel the scan
11788                         results timeout
11789                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11790                         to do the scanning.  Otherwise, just request a scan but don't
11791                         grab results here; instead schedule a timeout for scan results and
11792                         let netlink notify us of scan completion events
11793                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11794                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11795                 - (supplicant_status_cb): ignore disconnect events while scanning
11796                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11797                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11798                         timeouts
11799                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11800
11801 2006-04-24  Dan Williams  <dcbw@redhat.com>
11802
11803         * gnome/applet/applet-dbus.c
11804                 - Disable the pending call debug stuff, seems under control now
11805
11806 2006-04-20  Robert Love  <rml@novell.com>
11807
11808         Fix bug where hidden ESSID's would not show up in the applet, even
11809         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11810         because nm_policy_device_list_update_from_allowed_list() would merge
11811         the data, putting a name to the hidden networks, but never notify NMI
11812         of the changes.  Simple fix is to invoke the function
11813         nm_dbus_signal_wireless_network_change() if we make a mapping.
11814         * src/NetworkManagerAPList.c: Call the function
11815           nm_dbus_signal_wireless_network_change() if we made a successful
11816           BSSID to ESSID mapping, notifying the applet of the "new" network.
11817         * src/NetworkManagerAPList.h: Update the prototypes for both
11818           nm_ap_list_copy_essids_by_address() and
11819           nm_ap_list_copy_one_essid_by_address().
11820
11821 2006-04-20  Robert Love  <rml@novell.com>
11822
11823         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11824           not set.  Just return zero.
11825
11826 2006-04-20  Robert Love  <rml@novell.com>
11827
11828         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11829           only one copy of nm-vpn-properties is running at a time via the 'ol
11830           X selection trick.  This prevents the user from opening two "VPN
11831           Connections" windows from within the applet, which leads to mass
11832           hysteria.
11833         * clipboard.c: New file, implementing simple X selection logic.
11834         * clipboard.h: New file.
11835         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11836
11837 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11838
11839         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11840         * configure.in
11841           initscript/Gentoo/Makefile.am
11842           initscript/Gentoo/NetworkManagerDispatcher.in
11843                 - New script
11844         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11845           Gentopia
11846
11847 2006-04-16  Dan Williams  <dcbw@redhat.com>
11848
11849         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11850         * configure.in
11851           initscript/Slackware/Makefile.am
11852           initscript/Slackware/rc.networkmanager-dispatcher.in
11853           initscript/Slackware/rc.networkmanager.in
11854                 - Update slackware initscripts
11855
11856 2006-04-10  Robert Love  <rml@novell.com>
11857
11858         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11859           the "delete_event" signal on the druid's parent window and handle it
11860           our way, lest using the WM to close the druid results in a series of
11861           bloody and ultimately lethal errors.
11862
11863 2006-04-10  Robert Love  <rml@novell.com>
11864
11865         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11866           'Back' too or else the 'Forward' option is initially disabled despite
11867           valid input.
11868
11869 2006-04-06  Robert Love  <rml@novell.com>
11870
11871         Fix bad but simple bug where an active modem connection did not update
11872         NM's connection state, breaking any app that did online/offline:
11873         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11874           represented whether a dial up connection is active, or not.
11875         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11876           to modem activation and deactivation.
11877         * src/NetworkManagerDbus.c: When asked our state, do not return
11878           disconnected if the modem is active.
11879
11880 2006-04-04  Robert Love  <rml@novell.com>
11881
11882         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11883           applet.  It just confuses the crap out of people and does not make a
11884           lot of sense, as the daemon still runs.
11885
11886 2006-04-02  Tor Krill  <tor@krill.nu>
11887
11888         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11889           in start of service.
11890         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11891           get Archlinux backend up to date.
11892
11893 2006-03-29  Robert Love  <rml@novell.com>
11894
11895         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11896         to add support for per-route MSS and improve support for per-interface
11897         MTU:
11898         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11899           optionally take an MSS parameter and set it for the given route.
11900           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11901           NMIP4Config's stored MSS, if any.
11902         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11903           the interface's MTU and the route's MSS, respectively.  Add functions
11904           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11905           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11906           MSS.
11907         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11908           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11909           nm_ip4_config_set_mss.
11910         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11911           VPN daemon.
11912         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11913           Change the retval of nm_system_get_mtu to guint32.
11914         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11915           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11916           servers can specify MTU's, we should set it here if the MTU was not
11917           provided.
11918
11919 2006-03-27  Jürg Billeter  <j@bitron.ch>
11920
11921         * configure.in:
11922         * initscript/Makefile.am:
11923         * initscript/paldo/Makefile.am:
11924         * initscript/paldo/NetworkManager.in:
11925         * initscript/paldo/NetworkManagerDispatcher.in:
11926         * src/backends/Makefile.am:
11927         * src/backends/NetworkManagerPaldo.c:
11928                 - Add paldo support
11929
11930 2006-03-27  Dan Williams  <dcbw@redhat.com>
11931
11932         Patch from Christian Persch <chpe@gnome.org>
11933         * gnome/applet/applet.glade
11934                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11935
11936 2006-03-27  Dan Williams  <dcbw@redhat.com>
11937
11938         Patch from Diffe <diffie@blazebox.homeip.net>
11939         * src/backends/NetworkManagerSlackware.c
11940                 - Don't restart howl, since it's been replaced by Avahi
11941                         in most distributions
11942
11943 2006-03-27  Dan Williams  <dcbw@redhat.com>
11944
11945         Patch from Tor Krill <bugzilla@krill.nu>
11946         * configure.in
11947           initscript/Makefile.am
11948           src/backends/Makefile.am
11949           src/backends/NetworkManagerArch.c
11950           initscript/Arch/Makefile.am
11951           initscript/Arch/networkmanager-dispatcher.in
11952           initscript/Arch/networkmanager.in
11953                 - Add Arch Linux support, fixes gnome.org #335147
11954
11955 2006-03-27  Dan Williams  <dcbw@redhat.com>
11956
11957         Patch from Diffe <diffie@blazebox.homeip.net>
11958      * initscript/Slackware/rc.networkmanager
11959         - update, fixed gnome.org #333368
11960
11961 2006-03-27  Robert Love  <rml@novell.com>
11962
11963         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11964           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11965
11966 2006-03-27  Robert Love  <rml@novell.com>
11967
11968         Patch by Jürg Billeter <j@bitron.ch>:
11969         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11970           systems.
11971         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11972           as we prefer glibc over kernel headers, if possible.
11973
11974 2006-03-27  Robert Love  <rml@novell.com>
11975
11976         Patch by Jon Escombe <list@dresco.co.uk>:
11977         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11978         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11979           fail, don't bail out.  We don't expect all of the various WPA-EAP
11980           values to be present.
11981         * src/nm-ap-security.c: We need to match all capabilities for each
11982           encryption type, not any one of them.
11983
11984 2006-03-27  Robert Love  <rml@novell.com>
11985
11986         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11987           restart, not reload, ypbind.  Unfortunately there is no superior
11988           solution.
11989
11990 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11991
11992         * gnome/applet/applet-notifications.c:
11993         When displaying a notification, make sure to get rid of the
11994         previous notification so as to not have competing bubbles,
11995         and stop leaking the old one.
11996
11997         * gnome/applet/applet.c:
11998         * gnome/applet/applet.h:
11999         Add a new 'notification' member to the applet, and zero it out
12000         and free it appropriately.
12001
12002 2006-03-23  Robert Love  <rml@novell.com>
12003
12004         Patch by j <j@bootlab.org>:
12005         * gnome/applet/applet.glade: Don't set the invisible_char property,
12006           which simply overrides the GTK default.  By and by, this behavior
12007           ought to be fixed in Glade.
12008
12009 2006-03-22  Robert Love  <rml@novell.com>
12010
12011         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12012
12013 2006-03-22  Robert Love  <rml@novell.com>
12014
12015         Bug fix by Timo Hoenig <thoenig@suse.de>:
12016         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12017           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12018           and the applet going AWOL.
12019
12020 2006-03-22  Robert Love  <rml@novell.com>
12021
12022         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12023           preprocessor define and use it instead of open-coded the DHCP
12024           timeout, which is currently 25 seconds, everywhere.
12025
12026 2006-03-22  Robert Love  <rml@novell.com>
12027
12028         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12029         key exchange via WPA, ostensibly providing good security without
12030         requiring hardware that supports full WPA.  Also, add UI elements to
12031         allow the user to select the pairwise & group cipher for WPA Enterprise
12032         networks, too:
12033         * gnome/applet/applet.glade: Update glade file.
12034         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12035           key type, too, to and from gconf.
12036         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12037           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12038           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12039           the capabilities match.
12040         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12041           prototype.
12042         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12043           serialize from UI to DBUS.
12044         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12045           one element.
12046         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12047           nmu_security_serialize_wpa_eap_with_cipher(), and
12048           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12049           serialize/deserialize the key type via DBUS as the new third DBUS
12050           parameter.
12051         * libnm-util/dbus-helpers.h: Update prototypes.
12052         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12053           too.  If the key type is WEP104, do Dynamic WEP, which means
12054           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12055           pairwise and group ciphers (fixes a FIXME).
12056
12057 2006-03-21  Robert Love  <rml@novell.com>
12058
12059         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12060           nm_system_get_mtu(), which returns a user-provided or system-mandated
12061           MTU value for a given device, if any, or zero if no such value
12062           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12063           if we have a provided value.
12064         * src/nm-device.c: Set the MTU of devices.
12065         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12066         * src/backends/NetworkManagerDebian.c,
12067           src/backends/NetworkManagerGentoo.c,
12068           src/backends/NetworkManagerRedHat.c,
12069           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12070
12071 2006-03-21  Robert Love  <rml@novell.com>
12072
12073         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12074           configuration file.
12075
12076 2006-03-17  Robert Love  <rml@novell.com>
12077
12078         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12079           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12080           it, in case it is not running in the first place.  We just want its
12081           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12082
12083 2006-03-15  Robert Love  <rml@novell.com>
12084
12085         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12086           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12087           label "WEP 40/128-bit" is inconsistent because the physical key size
12088           is 40 or 104-bits, to which a 24-bit initialisation vector is
12089           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12090           to read "40/104" or "64/128".  I do not care much which, but most
12091           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12092           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12093           WEP passphrase support only handles 128-bit keys, and any future
12094           64-bit passphrase support will require a new option (no way to auto-
12095           detect the target key size), explicitly label our passphrase support
12096           "WEP 128-bit Passphrase".
12097
12098 2006-03-15  Robert Love  <rml@novell.com>
12099
12100         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12101           the system init scripts (or some other mechanism) starting it (or a
12102           compatible DBUS service) before NetworkManager runs.  This means that
12103           distributions might need to update their init scripts.  This fixes
12104           possible races and is quite a bit cleaner.
12105         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12106           starting the NetworkManager daemon.
12107
12108
12109 2006-03-14  Robert Love  <rml@novell.com>
12110
12111         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12112           before adding anything.
12113
12114 2006-03-13  Robert Love  <rml@novell.com>
12115
12116         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12117           widgets, too, if they exist, in case the user hit the back button.
12118           Fixes a bug where the details page contains the widgets of multiple
12119           VPN modules (Novell bug #157048).
12120
12121 2006-03-13  Robert Love  <rml@novell.com>
12122
12123         Patch by Timo Hoenig <thoenig@suse.de>:
12124         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12125           daemon survive DBUS restarts, too.
12126
12127 2006-03-10  Robert Love  <rml@novell.com>
12128
12129         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12130           passphrase or key.
12131         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12132           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12133           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12134           in response to "toggled" signal on new toggle.
12135
12136 2006-03-10  Robert Love  <rml@novell.com>
12137
12138         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12139           serialization if strings are NULL, lest DBUS get angry.
12140
12141 2006-03-10  Robert Love  <rml@novell.com>
12142
12143         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12144
12145 2006-03-09  Robert Love  <rml@novell.com>
12146
12147         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12148           configurations.
12149
12150 2006-03-09  Dan Williams  <dcbw@redhat.com>
12151
12152         Track pending call requests in the applet, and report how many are
12153         outstanding, and how long each completed one takes.
12154         
12155         * gnome/applet/applet-dbus-devices.c
12156           gnome/applet/applet-dbus-vpn.c
12157                 - Track pending calls
12158
12159         * gnome/applet/applet-dbus.[ch]
12160                 - Remove some unused enums
12161                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12162                         new functions to track dbus pending calls and spit out some
12163                         statistics about them
12164
12165 2006-03-09  Robert Love  <rml@novell.com>
12166
12167         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12168           nm_ap_set_timestamp() take the second and micro-second parameters as
12169           direct arguments, which avoids both a dynamic memory allocation and a
12170           structure-to-structure copy!  Add a new interface, the aptly named
12171           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12172           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12173           the return from nm_ap_get_timestamp().  New users should use the new
12174           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12175           the extreme benefit to performance.
12176         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12177           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12178
12179 2006-03-08  Robert Love  <rml@novell.com>
12180
12181         * gnome/applet/applet.glade: Hide the password entry text with
12182           asterisks.
12183
12184 2006-03-08  Robert Love  <rml@novell.com>
12185
12186         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12187           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12188           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12189           a second argument, NMData.
12190         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12191         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12192           config files as trusted.
12193
12194 2006-03-06  Robert Love  <rml@novell.com>
12195
12196         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12197         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12198           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12199           Rivera, detect if the applet was auto-started.  If so, ask the user
12200           if he or she would like to stop automatically running the applet on
12201           login.  If so, disable autostart.
12202
12203 2006-03-06  Robert Love  <rml@novell.com>
12204
12205         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12206           directory in CFLAGS so developers can actually use NetworkManager.h.
12207
12208 2006-03-06  Robert Love  <rml@novell.com>
12209
12210         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12211           open-coded integer constants.  Add state_to_string() to map a given
12212           state to a textual description, and provide that when notifying of
12213           state change.
12214         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12215           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12216           this header directly, but it is currently not installed on most
12217           systems.
12218
12219 2006-03-05  Dan Williams  <dcbw@redhat.com>
12220
12221         Process netlink messages in device subclasses rather than in
12222         NetworkManager.c.  Also add support for recognizing Wireless Events.
12223         
12224         * configure.in
12225                 - Find GLIB_GENMARSHAL
12226
12227         * src/Makefile.am
12228                 - Since we're marshalling custom types for wireless event signals,
12229                         we get to create our own marshallers using GLIB_GENMARSHAL
12230
12231         * src/NetworkManager.c
12232                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12233                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12234                         cut down somewhat.  We no longer process signals here.
12235                 - (nm_data_new): create the netlink monitor here, and remove a
12236                         useless call to nm_policy_schedule_device_change_check()
12237                 - (nm_data_free): get rid of the netlink monitor here
12238                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12239                 - (main): don't create the netlink monitor here, let nm_data_new
12240                         do that.  Call nm_policy_schedule_device_change_check() right
12241                         before we jump to the mainloop to figure out which device
12242                         to use first
12243
12244         * src/NetworkManagerSystem.[ch]
12245                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12246                         convert back and forth from interface names to interface
12247                         indexes
12248
12249         * src/nm-device-802-11-wireless.c
12250                 - (real_init): connect to wireless-event signals from the netlink
12251                         monitor object
12252                 - (nm_device_802_11_wireless_event): new function, schedule handler
12253                         for wireless event signals from the netlink monitor object.  We
12254                         want the handler to run in the device's context
12255                 - (wireless_event_helper): handle wireless-event signals from netlink
12256                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12257                         signal handler
12258
12259         * src/nm-device-802-11-wireless.h
12260                 - remove unused prototype for nm_device_802_11_wireless_new
12261
12262         * src/nm-device-802-3-ethernet.c
12263                 - (real_init): new function; set up signal handlers for link events
12264                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12265                         handler for netlink link activated events on device's main loop
12266                 - (link_activated_helper): when we get a link activated event, set
12267                         the device's link to be active
12268                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12269                         handler for netlink link deactivated events on device's main loop
12270                 - (link_deactivated_helper): when we get a link deactivated event, set
12271                         the device's link to be inactive
12272                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12273                         dispose
12274
12275         * src/nm-device-802-3-ethernet.h
12276                 - remove unused prototype for nm_device_802_3_ethernet_new
12277
12278         * src/nm-device.[ch]
12279                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12280                         but locks the device list
12281                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12282
12283         * src/nm-netlink-monitor.[ch]
12284                 - (nm_netlink_monitor_class_install_signals): New signal
12285                         "wireless-event"
12286                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12287                         at the device list
12288                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12289
12290         * src/nm-marshal-main.c
12291                 - Include generated nm-marshal.c and nm-marshal.h
12292
12293         * src/nm-marshal.list
12294                 - List of custom marshal functions
12295
12296 2006-03-05  Dan Williams  <dcbw@redhat.com>
12297
12298         * gnome/applet/applet-notifications.h
12299                 - Protect prototype of nma_send_event_notification() because it
12300                         includes libnotify-specific types
12301                 - Include libnotify/libnotify.h too, since we technically need it
12302
12303         * gnome/applet/applet.c
12304                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12305                 - (nma_show_vpn_login_banner_dialog): add some error checking
12306
12307 2006-03-04  Dan Williams  <dcbw@redhat.com>
12308
12309         Clean up activation cancellation.  Should be a lot faster now.  Observed
12310         an issue with wireless devices between stage 2 and 3 of activation, where
12311         activation would be cancelled, but the device thread wouldn't notice until
12312         the supplicant association timed out.  Reorganize activation such that
12313         a cancellation handler gets immediately scheduled in the device's thread,
12314         and devices have a chance to perform any custom cleanup too.
12315
12316         * src/nm-device.[ch]
12317                 - (activation_cancel_handler): new device-type-specific function
12318                         for cleaning up device-type-specific stuff on cancellation
12319                 - (cancel_activation): removed
12320                 - (nm_device_activation_cancel): subsume functionality of
12321                         real_cancel_activation, but instead of doing anything, punt
12322                         operation to a handler that's run in device-thread context
12323                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12324                         a warning message
12325                 - (activation_handle_cancel_helper): cancellation handler run in
12326                         device-thread context, calls device-type-specific cancelation,
12327                         then tears down the activation request
12328                 - (real_activation_cancel_handler): generic cancellation handler,
12329                         deals with cancelling any in-process DHCP request
12330                 - (nm_device_activate_stage1_device_prepare,
12331                    nm_device_activate_stage2_device_config,
12332                    nm_device_activate_stage3_ip_config_start,
12333                    nm_device_activate_stage4_ip_config_get,
12334                    nm_device_activate_stage4_ip_config_timeout,
12335                    nm_device_activate_stage5_ip_commit): don't call
12336                         nm_device_schedule_activation_handle_cancel() any more, since
12337                         cancellation will have been already scheduled for us by
12338                         nm_device_activation_cancel().  Just exit the function and
12339                         assume that the cancel handler will be called next.
12340
12341         * src/nm-device-802-3-ethernet.c
12342                 - (real_act_stage2_config): remove; didn't do anything anyway
12343
12344         * src/nm-device-802-11-wireless.c
12345                 - (supplicant_status_cb): ensure we don't do anything if the activation
12346                         got cancelled
12347                 - (real_activation_cancel_handler): implement; cancel user key request
12348                         on activation cancellation
12349
12350 2006-03-04  Dan Williams  <dcbw@redhat.com>
12351
12352         * src/nm-device-802-11-wireless.c
12353                 - (supplicant_send_network_config): assume that drivers that don't
12354                         support WPA pretty much suck, and can't handle NM scanning
12355                         along with wpa_supplicant.
12356
12357 2006-03-03  Robert Love  <rml@novell.com>
12358
12359         * configure.in: Bump version to 0.6.0.
12360         * NEWS: Update.
12361
12362 2006-03-03  Robert Love  <rml@novell.com>
12363
12364         * configure.in: Require DBUS 0.60 or later.
12365
12366 2006-03-03  Dan Williams  <dcbw@redhat.com>
12367
12368         Fix a crash if an "Other wireless network" was chosen, failed, then
12369         chosen again from the applet's menu.  If the other network wasn't
12370         noticed in a scan, it wouldn't have any capabilities, but would still
12371         be listed because the user forced the network.  To fix this, we set
12372         sensible capabilities on the forced network, which will get overwritten
12373         with the correct ones if the network shows up later in a scan.
12374         
12375         * src/nm-ap-security.h
12376                 - Add a new "get_default_capabilities_func" member to the
12377                         NMAPSecurity class
12378
12379         * src/nm-ap-security.c
12380                 - (nm_ap_security_get_default_capabilities): new function
12381
12382         * src/nm-ap-security.c
12383           src/nm-ap-security-wep.c
12384           src/nm-ap-security-wpa-psk.c
12385           src/nm-ap-security-wpa-eap.c
12386                 - Implement get_default_capabilities_func() for all, which
12387                         uses the information contained in a specific NMAPSecurity
12388                         object to determine default AP capabilites necessary
12389                         to support that object
12390
12391         As a secondary measure, we now prune artificial access points that fail
12392         to be activated right away.  The thing failed, and we have no scan data for
12393         it, so it's pretty much useless since security information is only saved
12394         in the applets when a connection is successful.
12395
12396         * src/NetworkManagerAPList.c
12397                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12398                         not artificial.  If we see it, it's no longer a figment of the
12399                         user's imagination :)
12400
12401         * src/NetworkManagerPolicy.c
12402                 - (nm_policy_activation_failed): send along the failed AP if we
12403                         have it
12404
12405         * src/nm-device-802-11-wireless.c
12406                 - (real_activation_failure_handler): remove artificial APs from
12407                         the device list, because activation failed
12408
12409 2006-03-02  Robert Love  <rml@novell.com>
12410
12411         Add support for retrieving both the per-device speed and the
12412         per-network maximum supported rate.  Then change the getProperties
12413         DBUS API for both networks and devices to report this informaiton.
12414         Finally, display the information via both nm-applet and nm-tool:
12415         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12416           and set it.
12417         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12418           Information' dialog.
12419         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12420         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12421           network_device_get_speed() and network_device_set_speed() for
12422           retrieving and setting, respectively, a network device's current
12423           speed.
12424         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12425         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12426           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12427           not matter (yet) what the units are, because we only feed it its own
12428           output.  Implement SIOCGIRATE and set the per-network maximum
12429           supported rate during scanning.
12430         * src/nm-device-802-11-wireless.h: Export the function
12431           nm_device_802_11_wireless_get_bitrate().
12432         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12433           function nm_device_802_3_ethernet_get_speed() for returning an
12434           802.3's current speed, in Mb/s.
12435         * test/nm-tool.c: Display the per-device current speed, if available,
12436           and the per-network maximum rate.
12437
12438 2006-03-02  Dan Williams  <dcbw@redhat.com>
12439
12440         * src/nm-device-802-11-wireless.c
12441                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12442                         card when it gets initialized.  Since devices don't get added to
12443                         the scan list until they are initialized, this function wasn't
12444                         setting the intitial scan interval correctly, and was leaving
12445                         it at 0.  This caused cards to get many scan requests in a short
12446                         amount of time when they were initialized
12447
12448 2006-03-02  Robert Love  <rml@novell.com>
12449
12450         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12451           active device.  But do not do what we used to do and override the
12452           state, which caused the dreaded icon race of '05.
12453
12454 2006-03-02  Robert Love  <rml@novell.com>
12455
12456         Commit Dan's update of my previous commit:
12457         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12458           set_mode() function itself does the check.  But do only set the
12459           frequency if in Ad-Hoc mode.
12460
12461 2006-03-02  Robert Love  <rml@novell.com>
12462
12463         Patch by Brian Magnuson <magnuson@rcn.com>:
12464         * src/nm-device-802-11-wireless.c: During scanning, only set the
12465           wireless mode to infrastructure if it is not currently in
12466           infrastructure mode.  For some driver, setting the mode is a costly
12467           operation, apparently.
12468
12469 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12470
12471         * Makefile.am: use the correct dir for autostart mechanism.
12472
12473 2006-02-28  Dan Williams  <dcbw@redhat.com>
12474
12475         Patch from Brian Magnuson <magnuson@rcn.com>
12476         * gnome/applet/applet.c
12477                 - (nma_show_vpn_failure_dialog): fix errors left over from
12478                         libnotify support changes
12479
12480 2006-02-28  Dan Williams  <dcbw@redhat.com>
12481
12482         * src/vpn-manager/nm-vpn-act-request.[ch]
12483                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12484                         just one value
12485                 - (nm_vpn_act_request_is_failed): new function; return whether or
12486                         not the vpn activation request has failed
12487
12488         * src/vpn-manager/nm-vpn-manager.c 
12489                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12490                         daemon to kill the connection when the activation request fails.
12491                         Fixes issue where NM would get confused if the VPN activation
12492                         request timed out, and would not allow further VPN connections
12493                         on that service.
12494
12495 2006-02-28  Dan Williams  <dcbw@redhat.com>
12496
12497         * gnome/applet/applet.c
12498                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12499                         overlapping connection requests, disable all VPN menu items
12500                         but the active VPN connection
12501
12502 2006-02-28  Dan Williams  <dcbw@redhat.com>
12503
12504         * src/vpn-manager/nm-vpn-connection.c
12505                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12506                         called g_object_unref() on the connection's parent device
12507                         when it should have been ref-ed instead.  Fixes crash with
12508                         repeated vpn connect requests
12509
12510 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12511
12512         * gnome/applet/applet.glade:
12513         Mark a few strings non-translatable, since they shouldn't be.
12514
12515 2006-02-28  Dan Williams  <dcbw@redhat.com>
12516
12517         * src/vpn-manager/nm-vpn-service.c
12518                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12519                         already running, don't blindly ask it to connect, but wait until
12520                         it's in the STOPPED state first.  Fixes an assertion when user
12521                         starts a second vpn connection without stopping the first.
12522                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12523                         dbus service exists before continuing with the connection
12524                         process, and reduce latency while waiting for it to become
12525                         available
12526                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12527                         waiting for the vpn service daemon to become available
12528                 - General log message cleanups; show progress via "Stage x of 4"
12529                         rather than not telling anyone how many stages there are
12530
12531 2006-02-28  Robert Love  <rml@novell.com>
12532
12533         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12534         * src/backends/NetworkManagerSuSE.c: Implement the interface
12535           nm_system_should_modify_resolv_conf() for SUSE.
12536         * src/backends/NetworkManagerDebian.c,
12537           src/backends/NetworkManagerGentoo.c,
12538           src/backends/NetworkManagerRedHat.c,
12539           src/backends/NetworkManagerSlackware.c: Add stub.
12540         * src/named-manager/Makefile.am: Grab includes from src.
12541         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12542           automatic updating of resolv.conf.  This is useful for testing,
12543           broken static configurations, and administrator lock-down.
12544
12545 2006-02-28  Dan Williams  <dcbw@redhat.com>
12546
12547         * src/nm-device-802-11-wireless.c
12548                 - Move all the wpa_supplicant-related management stuff into its
12549                         own struct, just for oranization's sake
12550                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12551                         to a GIOChannel/GSource
12552                 - (supplicant_log_stdout): new function; grab output from the
12553                         wpa_supplicant stdout pipe and write it to our logs.
12554
12555 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12556
12557         * src/nm-device-802-11-wireless.c:
12558         Err, fix thinko in my previous commit.
12559
12560 2006-02-28  Robert Love  <rml@novell.com>
12561
12562         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12563
12564 2006-02-28  Robert Love  <rml@novell.com>
12565
12566         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12567           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12568           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12569           deserializers are responsible for freeing the returned DBUS strings.
12570
12571 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12572
12573         * src/nm-device-802-11-wireless.c:
12574         The scan list is being pruned prematurely.  We should prune after
12575         the device has gone MIA for three scans, not one.  Split out the
12576         interval to realtime seconds function to better serve this.
12577
12578 2006-02-27  Robert Love  <rml@novell.com>
12579
12580         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12581           Open the pid file O_TRUNC, so if it already exists we truncate it to
12582           zero length.  Also, be more verbose about warnings generated during
12583           writing out the pid file.  Finally, always write out the pid file if
12584           in daemon mode.  Use "--pid-file" to override the default.
12585
12586 2006-02-27  Robert Love  <rml@novell.com>
12587
12588         Patch by R. Vinay <rvinay@novell.com>:
12589         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12590           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12591           Novell bug #153628).
12592           
12593 2006-02-27  Robert Love  <rml@novell.com>
12594
12595         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12596           entry so user can hit <ENTER> after entering passphrase (Novell bug
12597           #153738).
12598
12599 2006-02-27  Dan Williams  <dcbw@redhat.com>
12600
12601         * gnome/applet/*
12602                 - Mass search/replace of:
12603                         nmwa -> nma
12604                         NMWirelessApplet -> NMApplet
12605                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12606                    (it ain't just for wireless anymore, ma!)
12607                 - Fix duplicate function name printing when using nm_warning
12608                 - wireless-applet.glade -> applet.glade
12609
12610 2006-02-27  Dan Williams  <dcbw@redhat.com>
12611
12612         * dispatcher-daemon/NetworkManagerDispatcher.c
12613                 - Accept --pid-file with a path to a pidfile, write it out on
12614                         startup, and delete it on shutdown
12615
12616         * src/NetworkManager.c
12617                 - Accept --pid-file with a path to a pidfile, write it out on
12618                         startup, and delete it on shutdown
12619                 - Move nm_print_usage() lower
12620
12621         * initscripts/RedHat/NetworkManager.in
12622                 - Use new --pid-file option
12623                 - Fix service stopping to wait a bit for NM to quit
12624
12625         * initscripts/RedHat/NetworkManagerDispatcher.in
12626                 - Use new --pid-file option
12627
12628 2006-02-26  Dan Williams  <dcbw@redhat.com>
12629
12630         * src/Makefile.am
12631                 - make and install nm-crash-logger
12632
12633         * src/nm-logging.[ch]
12634                 - New files; consolidate logging and crash handling
12635
12636         * src/nm-crash-logger.c
12637           src/gdb-cmd
12638                 - Standalong crashlogger for NM, grab a backtrace
12639                         using GDB
12640
12641         * src/NetworkManager.[ch]
12642                 - Remove signal handling and put it into nm-logging.c
12643
12644 2006-02-26  Dan Williams  <dcbw@redhat.com>
12645
12646         * configure.in
12647           gnome/applet/Makefile.am
12648                 - Conditionalize all the notify stuff
12649
12650         Merge most of Chris Aillon's notification patch:
12651         
12652         * gnome/applet/applet-notifications.[ch]
12653                 - New files; show a notification
12654         
12655         * gnome/applet/applet-dbus-devices.[ch]
12656                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12657                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12658                         new functions, do the right thing when a device change occurs
12659
12660         * gnome/applet/applet-dbus.c
12661                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12662                         signals, so we can handle them specially
12663
12664         * gnome/applet/applet.[ch]
12665                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12666                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12667                 - (nmwa_notify_state): remove
12668                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12669                         notification work is now done when the appropriate dbus signals
12670                         are received.
12671                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12672                         defer execution of the notification/dialog stuff.  That was an
12673                         artifact of the previous multi-threaded nature of the applet
12674                         and is now pointless.
12675                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12676                         no longer needed.  Function folded into applet-notifications.c
12677
12678         * src/NetworkManagerPolicy.c
12679                 - (nm_policy_activation_finish): send the AP along with the device
12680                         status change signal, if the connection is wireless.  Should
12681                         fix the race where applet would show a connection to "unknown"
12682
12683 2006-02-25  Robert Love  <rml@novell.com>
12684
12685         Add WPA Enterprise support:
12686         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12687           nm-gconf-wso-wpa-eap.h.
12688         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12689           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12690           serialization and deserialization.
12691         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12692           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12693           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12694         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12695           settings related to WPA Enterprise.
12696         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12697           instantiate WPA Enterprise wireless-security-option.
12698         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12699           Implement WPA Enterprise wireless-security-option object.
12700         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12701           defines.  Cleanup.
12702         * libnm-util/cipher-wpa-psk-hex.c,
12703           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12704         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12705           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12706           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12707           including the cipher to DBUS method, and
12708           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12709           to output.
12710         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12711           nm-ap-security-wpa-eap.h
12712         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12713           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12714         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12715           files.  Implement NMAPSecurityWPA_EAP object.
12716         * src/nm-ap-security-wpa-psk.c: Cleanup.
12717         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12718           an NMAPSecurityWPA_EAP object via the method
12719           nm_ap_security_wpa_eap_new_deserialize().
12720         * src/nm-dbus-nm.c: Cleanup.
12721         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12722           WPA Enterprise support.
12723
12724 2006-02-24  Robert Love  <rml@novell.com>
12725
12726         Patch from Timo Hoenig <thoenig@suse.de>:
12727         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12728
12729 2006-02-24  Robert Love  <rml@novell.com>
12730
12731         Patch from Dan Winship <danw@novell.com>:
12732         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12733           area to transparent.
12734
12735 2006-02-21  Dan Williams  <dcbw@redhat.com>
12736
12737         * gnome/applet/applet.[ch]
12738           gnome/applet/applet-dbus.c
12739                 - Implement notification support for VPN messages too
12740
12741 2006-02-21  Dan Williams  <dcbw@redhat.com>
12742
12743         * gnome/applet/applet-dbus-info.c
12744                 - Clean up warning messages to not double-print the function
12745
12746 2006-02-21  Dan Williams  <dcbw@redhat.com>
12747
12748         * gnome/applet/applet-compat.c
12749                 - (convert_one_entry): accept entries without a key_type and
12750                         convert them to unencrypted networks
12751
12752 2006-02-21  Dan Williams  <dcbw@redhat.com>
12753
12754         * gnome/libnm_glib/libnm_glib.c
12755                 - Use __func__ everywhere we can
12756                 - Code cleanups
12757                 - Use dbus pending calls rather than blocking
12758                 - Reduce busywaits for our thread to start and stop
12759                         (gnome.org #330562)
12760                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12761                         stomp on others using the default shared dbus connection.
12762                         Fixes #rh177546# and gnome.org #326572
12763
12764 2006-02-21  Dan Williams  <dcbw@redhat.com>
12765
12766         Patch from Rodney Dawes <dobey@novell.com>
12767         * configure.in
12768           gnome/applet/Makefile.am
12769           gnome/applet/applet.c
12770                 - Add libnotify support if '--enable-notify=yes' is passed
12771                   at configure time
12772
12773 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12774
12775         * configure.in (ALL_LINGUAS): ko added. (Korean)
12776
12777 2006-02-15  Robert Love  <rml@novell.com>
12778
12779         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12780           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12781           and WPA_SUPPLICANT_CONTROL_SOCKET.
12782         
12783 2006-02-15  Robert Love  <rml@novell.com>
12784
12785         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12786           information about what connection stage we are at, provide the total
12787           number of stages, e.g. "Stage 2 of 5", so users know how far along
12788           they are if they experience problems.
12789
12790 2006-02-15  Robert Love  <rml@novell.com>
12791
12792         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12793           define to $sysconfdir.
12794         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12795           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12796           type of VPN and then editing another results in a mangled dialog
12797           box containing the widgets from both VPNs (fixes Novell #150854).
12798           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12799
12800 2006-02-14  Robert Love  <rml@novell.com>
12801
12802         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12803           syslog's file descriptor.
12804
12805 2006-02-14  Robert Love  <rml@novell.com>
12806
12807         Fix bug around since the change to "deal with APs changing settings on
12808         us," checked in on the fifth of February in the year of the dog, 
12809         wherein connecting to non-broadcast encrypted networks always fails
12810         because nm_ap_get_encrypted() always returns FALSE, even when the user
12811         provided a key, because the newly-created fake AP does not have any
12812         capabilities set, which is a sypmtom of security settings not matching
12813         capabilities (Novell bug #150784):
12814         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12815           nm_ap_add_capabilities_from_security(), which sets the given AP's
12816           capabilities off the given security settings.  Also improve our
12817           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12818           NM_AUTH_CIPHER_AUTO.
12819         * src/nm-device-802-11-wireless.c: Call the function
12820           nm_ap_add_capabilities_from_security() to ensure that capabilities
12821           match newly updated security settings.
12822
12823 2006-02-14  Robert Love  <rml@novell.com>
12824
12825         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12826           error as a string, not an integer, if possible; do not print the
12827           function name twice; always give the interface, if possible; misc.
12828           cleanup.
12829
12830 2006-02-12  Dan Williams  <dcbw@redhat.com>
12831
12832         Patch from Tom Parker <palfrey@tevp.net>
12833         * src/NetworkManagerSystem.h
12834                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12835                         no longer used
12836
12837         * src/backends/NetworkManagerDebian.c
12838                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12839                         unused variables
12840
12841 2006-02-12  Dan Williams  <dcbw@redhat.com>
12842
12843         * vpn-daemons/openvpn/intltool-extract.in
12844           vpn-daemons/openvpn/intltool-merge.in
12845           vpn-daemons/openvpn/intltool-update.in
12846           vpn-daemons/pptp/intltool-extract.in
12847           vpn-daemons/pptp/intltool-merge.in
12848           vpn-daemons/pptp/intltool-update.in
12849                 - Remove from CVS, they should get created by intltoolize,
12850                         shouldn't they?
12851
12852 2006-02-12  Dan Williams  <dcbw@redhat.com>
12853
12854         * vpn-daemons/pptp/src/pppd/patchlevel.h
12855         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12856                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12857                         Makefile-defined VERSION
12858
12859 2006-02-09  Dan Williams  <dcbw@redhat.com>
12860
12861         Patch from: Vinay A R <rvinay@novell.com>
12862         * src/vpn-manager/nm-vpn-act-request.[ch]
12863                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12864                         IPSec VPNs require them for std gateway.
12865                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12866                         and 'user_routes_count'
12867                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12868                         defined routes  from NMVPNActRequest object, returns the string
12869                         array of routes.
12870
12871         * src/vpn-manager/nm-vpn-manager.[ch]
12872                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12873                         for 'user_routes' and 'user_routes_count'
12874         
12875         * src/vpn-manager/nm-dbus-vpn.c
12876                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12877                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12878         
12879         * src/vpn-manager/nm-vpn-service.c
12880                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12881                         the vpn daemon
12882
12883         Modifications by Dan:
12884         * src/vpn-manager/nm-vpn-service.c
12885                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12886                         arrays into dbus
12887
12888         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12889         * vpn-daemons/pptp/src/nm-pptp-service.c
12890         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12891                 - Grab user routes from dbus message
12892                 - Free all string arrays we got from dbus
12893
12894 2006-02-07  Robert Love  <rml@novell.com>
12895
12896         Patch by Stefan Seyfried <seife@suse.de>:
12897         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12898
12899 2006-02-06  Robert Love  <rml@novell.com>
12900
12901         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12902
12903 2006-02-06  Robert Love  <rml@novell.com>
12904
12905         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12906           test ">=" is never false.  If no newline is found, we loop forever.
12907           We can just check for ">" because the following if() will see the
12908           zero-th argument if the while() gets that far.
12909
12910 2006-02-05  Dan Williams  <dcbw@redhat.com>
12911
12912         Refine handling of non-broadcast networks.
12913
12914         * src/NetworkManagerAPList.c
12915                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12916                         property from scanned AP to the AP from the device list
12917
12918         * src/nm-device-802-11-wireless.c
12919                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12920                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12921                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12922                         networks since those don't have APs.
12923                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12924                         AP as non-SSID-broadcasting
12925                 - (process_scan_results): don't handle non-SSID-broadcasting here
12926
12927 2006-02-05  Dan Williams  <dcbw@redhat.com>
12928
12929         * src/nm-device-802-11-wireless.c
12930                 - (get_supplicant_timeout): new function; return
12931                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12932                         14 channels.  These are likely a/b/g cards, like Atheros, and
12933                         slow as hell to scan.
12934                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12935                         get_supplicant_timeout()
12936
12937 2006-02-05  Dan Williams  <dcbw@redhat.com>
12938
12939         * src/dhcp-manager/nm-dhcp-manager.c
12940                 - Loose a commit race with Robert; make sure size check
12941                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12942
12943 2006-02-05  Robert Love  <rml@novell.com>
12944
12945         Patch by Christoph Brill <chrisbrill@gmx.net>:
12946         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12947           with DHCP_SERVICE_NAME.
12948
12949 2006-02-05  Dan Williams  <dcbw@redhat.com>
12950
12951         Remove anything having to do with device_setup_func from the
12952         AP security objects, since it's no longer used.
12953
12954         * src/nm-ap-security.h
12955                 - Kill device_setup_func and nm_ap_security_device_setup()
12956
12957         * src/nm-ap-security-wep.c
12958           src/nm-ap-security-wpa-psk.c
12959                 - (real_device_setup): remove
12960
12961         * src/nm-ap-security.c
12962                 - (real_device_setup): remove
12963                 - (nm_ap_security_device_setup): remove
12964
12965         * src/nm-device-802-11-wireless.[ch]
12966                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12967                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12968                         and done by wpa_supplicant now anyway
12969
12970 2006-02-05  Dan Williams  <dcbw@redhat.com>
12971
12972         * src/nm-device-802-11-wireless.c
12973                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12974                         settings on us.  Previously NM would loop asking for the
12975                         key but getting the same one back.  Now, if the NMI-supplied
12976                         cipher doesn't overlap with the scanned AP capabilities,
12977                         we request a completely new key from the user.
12978
12979 2006-02-05  Dan Williams  <dcbw@redhat.com>
12980
12981         * src/NetworkManagerUtils.c
12982                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12983                         Handle newline killing better
12984
12985 2006-02-05  Dan Williams  <dcbw@redhat.com>
12986
12987         * gnome/applet/nm-gconf-wso.c
12988                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12989                         of unencrypted access point security info.
12990
12991 2006-02-03  Robert Love  <rml@novell.com>
12992
12993         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12994           user's encryption key, so we print the err_msg_cmd not the command,
12995           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12996           sense.
12997
12998 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12999
13000         * initscript/RedHat/NetworkManagerDispatcher.in:
13001         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13002         Patch from Dan Walsh <dwalsh@redhat.com>
13003
13004 2006-02-03  Robert Love  <rml@novell.com>
13005
13006         * dispatcher-daemon/NetworkManagerDispatcher.c,
13007           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13008           but use the sysconfdir.
13009
13010 2006-02-03  Robert Love  <rml@novell.com>
13011
13012         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13013           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13014           'char *'.
13015         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13016           nm_ip4_config_get_hostname() and
13017           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13018         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13019           leak g_strdup() result.
13020
13021 2006-02-03  Robert Love  <rml@novell.com>
13022
13023         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13024           broadcast == TRUE.  Also, copy broadcast and artificial properties
13025           from source network to destination in nm_ap_copy().
13026         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13027           since we now default new networks to non-hidden.
13028
13029 2006-02-03  Dan Williams  <dcbw@redhat.com>
13030
13031         * gnome/applet/main.c
13032                 - (main): change the NEVER->ALWAYS so we start at the
13033                         beginning of the session, if being session-managed
13034
13035 2006-02-03  Dan Williams  <dcbw@redhat.com>
13036
13037         * gnome/applet/main.c
13038                 - (main): in a variation on Robert's patch, change
13039                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13040                         he wants.
13041
13042 2006-02-02  Robert Love  <rml@novell.com>
13043
13044         * src/Makefile.am: If we aren't going to create the run directory at,
13045           uh, run-time, create it during install.  Then users just doing
13046           'make install' are cool, too.  While we are here, create the
13047           dispatcher.d directory, too.
13048         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13049           the exact run directory.
13050         * Makefile.am: Install nm-applet.desktop.
13051
13052 2006-02-02  Robert Love  <rml@novell.com>
13053
13054         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13055           structure, which denotes whether or not the AP is hidden.  This is a
13056           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13057           can show up in the scan list.  Add nm_ap_get_broadcast() and
13058           nm_ap_set_broadcast() accessor interfaces.
13059         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13060           nm_ap_set_broadcast().
13061         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13062           "getProperties" method, which denotes whether or not the given
13063           network is hidden.
13064         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13065           an artificial network.  Set broadcast to TRUE when scanning returns
13066           an ESSID and FALSE when not.
13067         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13068           from "getProperties" method on a network.  Possible TODO is to
13069           somehow display this.
13070         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13071
13072 2006-02-02  Dan Williams  <dcbw@redhat.com>
13073
13074         * src/nm-device-802-11-wireless.c
13075                 - (supplicant_interface_init): don't try to create
13076                         /var/run/NetworkManager, since that should be done by
13077                         the distro package.  Causes problems for stuff like SELinux
13078
13079 2006-02-02  Robert Love  <rml@novell.com>
13080
13081         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13082         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13083           Check for and handle empty string for iface.
13084
13085 2006-02-01  Robert Love  <rml@novell.com>
13086
13087         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13088           manpage.
13089
13090 2006-01-31  Dan Williams  <dcbw@redhat.com>
13091
13092         * nm-applet.desktop
13093                 - Add --sm-disable to Exec arguments, presuming that when
13094                         using autostart, we don't want session management
13095
13096 2006-01-31  Robert Love  <rml@novell.com>
13097
13098         * src/NetworkManagerAP.c: Add two new manufacturer default network
13099           names: linksys-a and linksys-g.  These are found (at least) on the
13100           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13101           own ESSID.
13102
13103 2006-01-31  Robert Love  <rml@novell.com>
13104
13105         * src/NetworkManagerAP.c: Optimize the function
13106           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13107           machine code.  This is the first in a series of code tweaks aiming to
13108           generate better machine code and make NetworkManager all the better.
13109           Just kidding.  Who has time to go through the assembly generated for
13110           every function?  I certainly don't.  I have a wife, a kid, a job,
13111           a mortgage, a mistress.  But this function was so bad, I was called
13112           to arms.  Like the book.
13113
13114 2006-01-31  Robert Love  <rml@novell.com>
13115
13116         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13117           AP is not broadcasting, to scan with probe request frames.  Required
13118           for non-broadcast networks.
13119
13120 2006-01-31  Robert Love  <rml@novell.com>
13121
13122         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13123           preprocessor define (still 20s).  Fix message text in nm_info()
13124           s/too too/took too/.
13125
13126 2006-01-30  Dan Williams  <dcbw@redhat.com>
13127
13128         * src/nm-device-802-11-wireless.c
13129                 - (supplicant_monitor_start): increase connect/auth timeout to
13130                         20 seconds from 10 seconds
13131
13132 2006-01-30  Dan Williams  <dcbw@redhat.com>
13133
13134         * src/Makefile.am
13135                 - Define LOCALSTATEDIR
13136
13137         * src/nm-device-802-11-wireless.c
13138                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13139                         socket where we want it to
13140
13141         * src/wpa_ctrl.[ch]
13142                 - (wpa_ctrl_open): accept location to put local control socket
13143
13144 2006-01-30  Robert Love  <rml@novell.com>
13145
13146         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13147           get_ip4_string() for "domain_name".
13148
13149 2006-01-30  Robert Love  <rml@novell.com>
13150
13151         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13152           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13153           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13154           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13155           support for "Automatic" pairwise and group cipher configuration by
13156           letting wpa_supplicant handle the details.  Add UI elements, new
13157           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13158           charm.  Note this does more than add a nice feature, it fixes a bug.
13159           Apparently, some people have AP's where the pairwise cipher does not
13160           match the group cipher.  Insane, but true.
13161
13162 2006-01-30  Dan Williams  <dcbw@redhat.com>
13163
13164         * gnome/applet/applet-dbus-devices.c
13165                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13166                         functions, grab device driver name from NetworkManager
13167                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13168
13169         * gnome/applet/applet.c
13170                 - (nmwa_update_info): show driver name in Connection Information
13171                         dialog
13172
13173         * gnome/applet/nm-device.[ch]
13174                 - (network_device_get_driver, network_device_set_driver): add
13175                         accessors for driver name
13176
13177         * gnome/applet/wireless-applet.glade
13178                 - Add line for driver name to Connection Information dialog
13179
13180         * src/nm-dbus-device.c
13181                 - (nm_dbus_device_get_driver): new function to return driver name
13182                 - (nm_dbus_device_methods): hook up driver name function to dbus
13183
13184         * test/nm-tool.c
13185                 - (get_driver_name): new function
13186                 - (detail_device): grab and show driver name
13187
13188 2006-01-30  Robert Love  <rml@novell.com>
13189
13190         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13191           does not parse the markup if it is not part of the format.
13192
13193 2006-01-30  Robert Love  <rml@novell.com>
13194
13195         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13196           FALSE, we have no security options for this dialog, so we throw up
13197           an error dialog instead of a broken passphrase dialog.  Fixes
13198           Novell #138404.
13199         * gnome/applet/wireless-security-manager.c,
13200           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13201           does not add any security options, not even NONE, print a warning
13202           and return FALSE.  This let's functions constructing a dialog bail
13203           out if the device's capabilities and the network's requirements have
13204           zero overlap.
13205
13206 2006-01-27  Robert Love  <rml@novell.com>
13207
13208         * configure.in: Require wpa_supplicant.  Detect location of binary and
13209           use it.  Override with "--with-wpa_supplicant=foo".
13210         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13211           path to wpa_supplicant but use the auto-detected or user-provided
13212           value from configure.
13213
13214 2006-01-27  Robert Love  <rml@novell.com>
13215
13216         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13217           but the DHCP server did not return a hostname, try to look up our
13218           name via DNS and set the system hostname to that.
13219
13220 2006-01-27  Dan Williams  <dcbw@redhat.com>
13221
13222         * src/backends/NetworkManagerRedHat.c
13223                 - Add NM_CONTROLLED system network script support for RH/Fedora
13224
13225 2006-01-27  Dan Williams  <dcbw@redhat.com>
13226
13227         * src/backends/NetworkManagerGentoo.c
13228                 - (nm_system_device_get_disabled): add missing function.
13229                         Gnome BZ #328780
13230
13231 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13232
13233         * configure.in: Added vi in ALL_LINGUAS line.
13234         
13235 2006-01-26  Robert Love  <rml@novell.com>
13236
13237         * src/Makefile.am, src/kernel-types.h: Now that two different source
13238           files are feeling the crack-addled leakage of kernel types such as
13239           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13240           types in user-space -- define a header and include it as needed.
13241         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13242         * src/nm-device-802-3-ethernet.h: Remove defines.
13243         * src/wpa.c: Remove defines and include kernel-types.h.
13244
13245 2006-01-26  Robert Love  <rml@novell.com>
13246
13247         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13248           work.
13249
13250 2006-01-26  Robert Love  <rml@novell.com>
13251
13252         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13253         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13254           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13255           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13256           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13257           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13258           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13259           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13260           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13261           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13262           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13263           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13264           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13265           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13266           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13267           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13268           Kill unused variables, labels, and static functions.  Don't pass
13269           string literals as the format string for printf-like functions.
13270
13271 2006-01-25  Dan Williams  <dcbw@redhat.com>
13272
13273         * gnome/applet/wireless-applet.glade
13274                 - Remove WPA2 Checkbox
13275
13276         * gnome/applet/wireless-security-manager.c
13277                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13278                         This means the Wireless Security menu now has two WPA options,
13279                         one for "WPA Personal" and one for "WPA2 Personal"
13280
13281         * gnome/applet/wso-wpa-psk.[ch]
13282                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13283                         'wpa2' argument to determine WPA version to use
13284                 - (append_dbus_params_func): pass stored WPA version to cipher
13285                         rather than using the (removed) checkbox
13286
13287 2006-01-24  Robert Love  <rml@novell.com>
13288
13289         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13290           before we g_strdup(), not the ultimate string.
13291
13292 2006-01-23  Dan Williams  <dcbw@redhat.com>
13293
13294         * src/NetworkManagerAP.[ch]
13295                 - (nm_ap_new_from_ap): copy original essid too
13296                 - (nm_ap_unref): free original essid
13297                 - (nm_ap_get_orig_essid): new function
13298                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13299                         but keep original essid around too
13300
13301         * src/nm-device-802-11-wireless.c
13302                 - (supplicant_send_network_config): send wpa_supplicant the
13303                         _original_ essid, and not as a string, but in hex.  Should
13304                         allow us to connect to more APs that use wierd character
13305                         encodings for their essids
13306
13307         * utils/nm-utils.[ch]
13308                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13309                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13310                         use the current locale as a hint for what encoding the essid
13311                         might be in.  Obviously not 100% accurate, but the idea here is
13312                         that if a user's locale is ex. ja_JP, they are more likely than
13313                         not to be in Japan, where access points will likely be in some
13314                         Japanese encoding.
13315
13316 2006-01-23  Dan Williams  <dcbw@redhat.com>
13317
13318         * libnm-util/cipher-private.h
13319           libnm-util/cipher.c
13320           libnm-util/cipher.h
13321                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13322
13323 2006-01-23  Robert Love  <rml@novell.com>
13324
13325         Patch by Timo Hoenig <thoenig@suse.de>:
13326         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13327           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13328           by DHCP and pass it to the backends, allowing distribution-specific
13329           behavior with respect to the DHCP-supplied hostname (if nothing else,
13330           some distributions might not want to set the hostname).
13331         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13332           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13333           Also update our NIS behavior.
13334         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13335           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13336           Add stub functions.
13337
13338 2006-01-23  Robert Love  <rml@novell.com>
13339
13340         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13341           gnome-session does autostart.  TODO: We need to install this to
13342           $prefix/share/autostart/.
13343
13344 2006-01-22  Dan Williams  <dcbw@redhat.com>
13345
13346         * src/NetworkManagerAP.[ch]
13347           src/nm-dbus-nmi.c
13348           src/nm-device-802-11-wireless.c         
13349                 - Make nm_ap_get_essid return "const char *"
13350
13351 2006-01-22  Dan Williams  <dcbw@redhat.com>
13352
13353         * src/NetworkManagerAP.[ch]
13354                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13355
13356         * src/NetworkManagerAPList.[ch]
13357                 - (nm_ap_list_diff): removed
13358                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13359                         deal with access points changing essids on us
13360
13361         * src/nm-device-802-11-wireless.c
13362                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13363                         src/NetworkManagerAPList.c
13364                 - (real_can_interrupt_activation): new function; allow interruption
13365                         of device activation if we are waiting for a network key
13366
13367         * src/NetworkManagerPolicy.c
13368                 - (nm_policy_device_change_check): allow interruption of currently
13369                         activating devices if the device allows it.  Previous behavior
13370                         would refuse to activate a just-plugged wired device if a
13371                         wireless device was waiting for a key.
13372
13373         * src/nm-device.[ch]
13374                 - (nm_device_can_interrupt_activation): new function; ask devices
13375                         whether their activation can be interrupted
13376
13377 2006-01-20  Robert Love  <rml@novell.com>
13378
13379         * Makefile.am, configure.in: Add new man subdirectory.
13380         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13381           man/Makefile.am: Add man pages for NetworkManager and its
13382           crime-solving bumbling buddy, NetworkManagerDispatcher.
13383         * man/.cvsignore: Add.
13384         * initscript/Debian/NetworkManager,
13385           initscript/Gentoo/NetworkManager.in,
13386           initscript/RedHat/NetworkManager.in,
13387           initscript/RedHat/NetworkManagerDispatcher.in,
13388           initscript/SUSE/networkmanager-dispatcher.in,
13389           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13390
13391 2006-01-20  Robert Love  <rml@novell.com>
13392
13393         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13394           instead of queuing.  This prevents the running of multiple NM
13395           daemons concurrently, which does not work whatsoever and results in
13396           neither daemon working correctly.  Also, we don't handle queuing and
13397           name-owner-changes, anyhow.
13398
13399 2006-01-20  Robert Love  <rml@novell.com>
13400
13401         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13402         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13403           to sbin, not bin.
13404
13405 2006-01-19  Robert Love  <rml@novell.com>
13406
13407         * configure.in: Require hal 0.5.0 or later.
13408
13409 2006-01-18  Robert Love  <rml@novell.com>
13410
13411         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13412           Allow backends to flag a device (in whatever distro-dependent way
13413           they so desire) as disabled.  NM will ignore any such device.
13414         * src/backends/NetworkManagerDebian.c,
13415           src/backends/NetworkManagerRedHat.c,
13416           src/backends/NetworkManagerSlackware.c: Add stub function
13417           nm_system_device_get_disabled() that always returns FALSE (enabled).
13418         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13419           SUSE-specific configuration structure.  Fill it in from the
13420           NM_CONTROLLED variable in the system networking scripts.  If this var
13421           exists and is "no", we ignore the device.
13422
13423 2006-01-17  Robert Love  <rml@novell.com>
13424
13425         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13426           identical for NM.  For a full discussion, see the thread at
13427           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13428
13429 2006-01-17  Dan Williams  <dcbw@redhat.com>
13430
13431         * src/nm-device.c
13432                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13433                         function.  Fixes crash when wired DHCP fails.
13434
13435 2006-01-16  Robert Love  <rml@novell.com>
13436
13437         * src/Makefile.am: Don't install NMLoadModules
13438         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13439           from src/ to test/ as no one uses it anymore.  Note that I would be
13440           fine with removing it altogether.
13441
13442 2006-01-16  Robert Love  <rml@novell.com>
13443
13444         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13445           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13446           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13447           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13448           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13449           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13450           declarations, ever.
13451         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13452           NM_STATE_DISCONNECTED is zero).
13453
13454 2006-01-16  Robert Love  <rml@novell.com>
13455
13456         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13457           uninitialized parameter and buffer overflow.  Novell #143496.
13458
13459 2006-01-16  Dan Williams  <dcbw@redhat.com>
13460
13461         Apply the PtP Address bits of a patch from Tim Niemueller
13462
13463         * src/nm-ip4-config.[ch]
13464                 - Add ip4_ptp_address member to object
13465                 - (nm_ip4_config_copy): copy ptp address too
13466                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13467                         new functions
13468                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13469                         rather than local tunnel ip address
13470
13471         * src/vpn-manager/nm-vpn-service.c
13472                 - (print_vpn_config): update for PtP address
13473                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13474                         DBusMessageIters in preparation for getting routes from the VPN
13475                         service daemons too
13476
13477         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13478                 - (send_config_info): update for PtP address, clean up code
13479                 - (main): update for PtP address, clean up code, fix typo
13480
13481         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13482                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13483
13484         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13485                 - (pptp_ip_up): update for PtP address
13486
13487         * vpn-daemons/pptp/src/nm-pptp-service.c
13488                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13489
13490         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13491                 - (print_vpn_config): update for PtP address
13492                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13493
13494 2006-01-16  Dan Williams  <dcbw@redhat.com>
13495
13496         * gnome/applet/applet.c
13497                 - (nmwa_add_networks_helper): don't indicate an active network
13498                         if NM is disconnected or asleep
13499
13500 2006-01-16  Dan Williams  <dcbw@redhat.com>
13501
13502         * src/NetworkManagerPolicy.c
13503                 - (nm_policy_device_change_check): switch devices if we lose the link
13504                         on an ethernet device. 
13505
13506 2006-01-16  Dan Williams  <dcbw@redhat.com>
13507
13508         * gnome/applet/wso-wpa-psk-hex.[ch]
13509                 - Renamed -> wso-wpa-psk.[ch]
13510
13511         * gnome/applet/wso-wpa-psk.[ch]
13512                 - New files
13513
13514         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13515                 - Removed, rolled into wso-wpa-psk.[ch]
13516
13517         * gnome/applet/Makefile.am
13518                 - Updated for above changes
13519
13520         * gnome/applet/wireless-applet.glade
13521                 - Consolidate WPA-PSK options into one notebook
13522                         widget, and make dialogs invisible by default
13523                         to fix screen oddities
13524
13525         * gnome/applet/wireless-security-manager.c
13526                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13527                         than both the old hex & passphrase ones
13528
13529 2006-01-16  Dan Williams  <dcbw@redhat.com>
13530
13531         * gnome/applet/other-network-dialog.c
13532                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13533
13534 2006-01-16  Dan Williams  <dcbw@redhat.com>
13535
13536         * gnome/applet/applet.c
13537                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13538                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13539                         prevention to realize window before trying to get server
13540                         time
13541
13542         * gnome/applet/other-network-dialog.c
13543                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13544                         prevention to realize window before trying to get server
13545                         time
13546
13547         * gnome/applet/passphrase-dialog.c
13548                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13549                         prevention to realize window before trying to get server
13550                         time
13551
13552 2006-01-16  Robert Love  <rml@novell.com>
13553
13554         Patch from Timo Hoenig  <thoenig@suse.de:
13555         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13556           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13557           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13558           libnm-util/dbus-helpers.h: add checks whether headers are used
13559           within a C++ build.
13560
13561 2006-01-16  Dan Williams  <dcbw@redhat.com>
13562
13563         * gnome/applet/wireless-security-option.c
13564                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13565
13566 2006-01-16  Dan Williams  <dcbw@redhat.com>
13567
13568         * libnm-util/cipher-wpa-psk-passphrase.c
13569                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13570                         be 8 - 63 characters inclusive
13571
13572 2006-01-16  Dan Williams  <dcbw@redhat.com>
13573
13574         * src/nm-dbus-nm.c
13575                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13576
13577 2006-01-13  Robert Love  <rml@novell.com>
13578
13579         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13580         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13581           modules that do not use an interface.
13582
13583 2006-01-13  Dan Williams  <dcbw@redhat.com>
13584
13585         * src/nm-device.c
13586           src/nm-device.h
13587                 - Allow subclasses to implement deactivate_quickly()
13588                 - (nm_device_deactivate_quickly): call subclass
13589                         deactivate_quickly() methods
13590                 - (nm_device_set_active_link): small cleanups, and don't
13591                         deactivate the device right away because we risk a deadlock
13592                         when called from device thread, waiting for the device
13593                         thread to cancel activation
13594
13595         * src/nm-device-802-11-wireless.c
13596                 - (real_deactivate_quickly): new function
13597                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13598                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13599                         so that we kill the supplicant when we sleep too
13600                 - (supplicant_interface_init): work around naive naming attempts of
13601                         wpa_ctrl when naming sockets
13602
13603 2006-01-13  Dan Williams  <dcbw@redhat.com>
13604
13605         * src/nm-device-802-11-wireless.c
13606                 - (supplicant_cleanup): delete old device control sockets too
13607                 - (supplicant_get_device_socket_path): new function to consolidate
13608                         locations that need a path to a device's control socket
13609
13610 2006-01-12  Robert Love  <rml@novell.com>
13611
13612         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13613           description so that the description is unique for each
13614           pair (device,provider).  Fixes Novell #142773.
13615
13616 2006-01-12  Dan Williams  <dcbw@redhat.com>
13617
13618         * src/nm-device-802-11-wireless.c
13619                 - (supplicant_exec): ensure GError is correctly initialized
13620                         Reported by Diego González (gnome.org #326708)
13621
13622 2006-01-11  Robert Love  <rml@novell.com>
13623
13624         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13625           define if_mii(), open code the same results, and do so without any
13626           type punning.
13627
13628 2006-01-11  Robert Love  <rml@novell.com>
13629
13630         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13631           that wso_foo_new() returned non-NULL.  Instead, only append the new
13632           wso to wsm->options if the wso is non-NULL.  The crux is that we
13633           assume that the relevant key types are implied by WEP and WPA as
13634           appropriate.  To be sure, they should be, but we should not expect
13635           drivers to not be oozing piles of wolf fecal matter.
13636
13637 2006-01-11  Robert Love  <rml@novell.com>
13638
13639         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13640         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13641           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13642           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13643           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13644           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13645           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13646         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13647           comparing values within DBL_EPSILON.  Also fix shadowed variable
13648           usage.
13649
13650 2006-01-11  Dan Williams  <dcbw@redhat.com>
13651
13652         Add options for WPA2 and WPA1+CCMP (AES).
13653
13654         * gnome/applet/wireless-applet.glade
13655                 - Add UI bits for WPA+CCMP
13656
13657         * gnome/applet/other-network-dialog.c
13658                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13659                         and don't allow creation of WPA2 Ad-Hoc networks since
13660                         wpa_supplicant doesn't support them
13661
13662         * gnome/applet/wireless-security-manager.c
13663                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13664                         on to the specific wireless security option being created
13665
13666         * gnome/applet/wireless-security-option.[ch]
13667                 - (wso_wpa_create_key_type_model): new utility function to create
13668                         the model required for WPA Key Type combo box
13669
13670         * gnome/applet/wso-private.h
13671           gnome/applet/wireless-security-option.h
13672                 - Move private function prototypes into wso-private.h
13673
13674         * gnome/applet/wso-wpa-psk-hex.[ch]
13675           gnome/applet/wso-wpa-psk-passphrase.[ch]
13676                 - (append_dbus_params_func): get WPA version from checkbox and pass
13677                         it to the dbus serialization helper
13678                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13679                         key type combo changes
13680                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13681                         model and options
13682
13683         * libnm-util/cipher-wpa-psk-hex.c
13684           libnm-util/cipher-wpa-psk-passphrase.c
13685                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13686                         new function; allow the cipher to be changed after object creation
13687
13688         * src/nm-ap-security-wpa-psk.c
13689                 - (set_description): Do WPA2 descriptions too
13690
13691         * src/nm-ap-security.c
13692                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13693
13694 2006-01-11  Robert Love  <rml@novell.com>
13695
13696         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13697           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13698           from the ifreq structure in lieu of an open coded solution.  Removes
13699           a life-threatening type-punning.
13700         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13701           types, ever, whatsoever, baby.
13702
13703 2006-01-11  Robert Love  <rml@novell.com>
13704
13705         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13706           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13707           assignments to applet->nm_state into a new nmwa_set_state() function
13708           for both cleanliness and to help debugging.
13709
13710 2006-01-10  Robert Love  <rml@novell.com>
13711
13712         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13713           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13714           seconds, exclusive.  That is, we want to sleep x seconds such that
13715           1 < x < 2.
13716
13717 2006-01-10  Robert Love  <rml@novell.com>
13718
13719         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13720           the attr fields according to the example in the email available at
13721           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13722           Conversely, we do have to free 'name', so we do so, fixing a leak.
13723
13724 2006-01-10  Robert Love  <rml@novell.com>
13725
13726         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13727           sure that we close the socket!
13728
13729 2006-01-10  Robert Love  <rml@novell.com>
13730
13731         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13732           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13733           src/nm-device.c: Fix a FIXME!  Reimplement the function
13734           nm_device_update_hw_address() in device subclass variants,
13735           nm_device_802_3_ethernet_set_address() and
13736           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13737           This fixes the existing bug where MAC addresses are all zeros.
13738
13739 2006-01-10  Robert Love  <rml@novell.com>
13740
13741         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13742           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13743           option to give users ability to globally disconnect and put NM to
13744           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13745           clean disconnect.
13746
13747 2006-01-09  Robert Love  <rml@novell.com>
13748
13749         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13750           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13751           User-space does not supply these types, so we have to define them
13752           ourselves.  The relevant kernel maintainer refused to accept a patch
13753           switching these headers to the proper C99 types.
13754
13755 2006-01-09  Dan Williams  <dcbw@redhat.com>
13756
13757         Apply Robert's 'tray icon redo' patch with fixes
13758         * gnome/applet/applet.c
13759           gnome/applet/applet.h
13760                 - Instead of using a menu bar + menu item, simulate menu
13761                         behavior using a popup menu.  Highlight the area around
13762                         the icon more like a menu too, by playing with the
13763                         applet's size requisition
13764
13765 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13766         * libnm-util/dbus-helpers.c
13767           libnm-util/dbus-helpers.h
13768                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13769                         to 'exception_namespace' (:namespace is a keyword in
13770                         C++)
13771
13772 2006-01-09  Dan Williams  <dcbw@redhat.com>
13773
13774         * src/NetworkManagerPolicy.c
13775                 - (nm_policy_device_change_check): don't autoswitch away from
13776                         Ad-Hoc networks, since there's really no concept of
13777                         "link"
13778
13779         * src/nm-dbus-nm.c
13780                 - (nm_dbus_nm_create_wireless_network): mark created networks
13781                         as Ad-Hoc networks
13782
13783         * src/nm-device-802-11-wireless.c
13784                 - (real_activation_success_handler): add user-created Ad-Hoc
13785                         networks to the device's scan list
13786
13787 2006-01-08  Dan Williams  <dcbw@redhat.com>
13788
13789         We now require a patch for wpa_supplicant to support Ad-Hoc
13790         networks:
13791           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13792
13793         * src/nm-device-802-11-wireless.c
13794                 - (supplicant_send_network_config): turn off wpa_supplicant's
13795                         scanning.  Fixes Ad-Hoc networks.
13796
13797 2006-01-08  Dan Williams  <dcbw@redhat.com>
13798
13799         * src/nm-ap-security.c
13800           src/nm-ap-security.h
13801                 - Add a user_created argument to the write_supplicant_config
13802                         functions
13803
13804         * src/nm-ap-security-wep.c
13805           src/nm-ap-security-wpa-psk.c
13806           src/nm-device-802-11-wireless.c
13807                 - Make Ad-Hoc mode somewhat work, at least write the
13808                         correct options to wpa_supplicant
13809
13810 2006-01-08  Dan Williams  <dcbw@redhat.com>
13811
13812         * src/nm-device-802-11-wireless.c
13813                 - Remove unused code from the old device activation path
13814
13815 2006-01-08  Dan Williams  <dcbw@redhat.com>
13816
13817         * libnm-util/dbus-helpers.c
13818                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13819                         dbus when key == NULL
13820
13821 2006-01-08  Dan Williams  <dcbw@redhat.com>
13822
13823         * gnome/applet/nm-gconf-wso-wpa-psk.c
13824                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13825                         correct arguments to nmu_security_deserialize_wpa_psk()
13826
13827         * src/nm-ap-security-wpa-psk.c
13828                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13829                         arguments to nmu_security_deserialize_wpa_psk()
13830
13831 2006-01-08  Dan Williams  <dcbw@redhat.com>
13832
13833         * gnome/applet/wso-wpa-psk-hex.c
13834           gnome/applet/wso-wpa-psk-passphrase.c
13835                 - Hook up the append_dbus_params_func() function
13836
13837 2006-01-08  Dan Williams  <dcbw@redhat.com>
13838
13839         * src/nm-device-802-11-wireless.c
13840                 - (get_wireless_capabilities): correctly detect driver WPA
13841                         capabilities
13842
13843 2006-01-08  Dan Williams  <dcbw@redhat.com>
13844
13845         * gnome/applet/Makefile.am
13846           gnome/applet/wso-wpa-psk-hex.c
13847           gnome/applet/wso-wpa-psk-hex.h
13848                 - New files, implement WPA-PSK Hex key input
13849
13850         * gnome/applet/wireless-applet.glade
13851                 - Change existing wpa-psk stuff to wpa-psk-hex
13852                 - Add new widgets for wpa-psk-passphrase
13853
13854         * gnome/applet/wireless-security-manager.c
13855                 - (wsm_set_capabilities): enable WPA options
13856
13857         * gnome/applet/wso-wpa-psk-passphrase.c
13858                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13859                         for WPA-PSK passphrase
13860
13861 2006-01-08  Dan Williams  <dcbw@redhat.com>
13862
13863         * include/NetworkManager.h
13864                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13865                         applet/info-daemons
13866
13867         * gnome/applet/passphrase-dialog.c
13868                 - Use the constant.  Fixes a bug where the arguments to
13869                         dbus_message_new_error() were incorrect
13870
13871         * src/nm-dbus-nmi.c
13872                 - Use the constant
13873
13874 2006-01-07  Dan Williams  <dcbw@redhat.com>
13875
13876         * src/nm-device-802-11-wireless.c
13877                 - Add a link timeout so we allow the supplicant time to
13878                         reassociate if it can, before we deactivate the card
13879                 - Fix up link status and link updating so things work better
13880
13881 2006-01-07  Dan Williams  <dcbw@redhat.com>
13882
13883         * src/nm-device-802-11-wireless.c
13884                 - Switch over to using wpa_supplicant
13885                 - Add a timeout of 10s for association of the supplicant
13886                 - Start the monitor callback of the supplicant
13887
13888 2006-01-07  Dan Williams  <dcbw@redhat.com>
13889
13890         * src/NetworkManagerUtils.c
13891                 - (nm_utils_supplicant_request,
13892                   nm_utils_supplicant_request_with_check):
13893                         pass correct buffer length to wpa_ctrl_request()
13894
13895 2006-01-07  Dan Williams  <dcbw@redhat.com>
13896
13897         * src/nm-device-private.h
13898           src/nm-device.c
13899                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13900                         this function available to subclasses
13901
13902 2006-01-06  Robert Love  <rml@novell.com>
13903
13904         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13905           user plugging in a network cable signals their preference for to
13906           switch, unless the user explicitly selected a wireless network and
13907           therefore signaled their preference for said wireless network over
13908           wired.  In other words, do exactly what makes sense.
13909
13910 2006-01-06  Robert Love  <rml@novell.com>
13911
13912         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13913           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13914           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13915           showing up in my greps.
13916
13917 2006-01-06  Robert Love  <rml@novell.com>
13918
13919         * gnome/applet/applet-dbus-devices.c,
13920           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13921           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13922           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13923           New Network' both failed in the non-encrypted case because we were
13924           not appending the security options to the DBUS message.  And
13925           'Connect to Other' was also failing in the encrypted case because
13926           we were not incrementing to the next DBUS parameter.  All fixed.
13927           Thanks to dcdw for some debugging help.
13928
13929 2006-01-06  Robert Love  <rml@novell.com>
13930
13931         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13932           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13933           hangup code and add per-device hangup.  Tie last commit into the
13934           GNOME applet.  TODO:  Save, understand, and respond to the state of
13935           each dialup device.
13936
13937 2006-01-06  Robert Love  <rml@novell.com>
13938
13939         Patch by Timo Hoenig <thoenig@suse.de>:
13940         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13941           hangup specific dialup devices.
13942         * src/backends/NetworkManagerDebian.c,
13943           src/backends/NetworkManagerGentoo.c,
13944           src/backends/NetworkManagerRedHat.c,
13945           src/backends/NetworkManagerSlackware.c: Add stub backend.
13946         * src/backends/NetworkManagerRedHat.c,
13947           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13948           hangup specific dialup devices.
13949
13950 2006-01-04  Robert Love  <rml@novell.com>
13951
13952         * gnome/applet/applet-dbus-devices.c,
13953           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13954           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13955           connections.
13956
13957 2006-01-04  Dan Williams  <dcbw@redhat.com>
13958
13959         First dump of wpa_supplicant-related code.  It's not hooked up to
13960         anything yet though.  Thanks to Kay Sievers for
13961         wpa_supplicant_wrapper.c, which formed the basis for this work,
13962         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13963
13964         * src/Makefile.am
13965           src/wpa_ctrl.[ch]
13966                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13967
13968         * src/NetworkManagerUtils.[ch]
13969                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13970                         Add convenience functions for talking to wpa_supplicant
13971
13972         * src/nm-ap-security.[ch]
13973           src/nm-ap-security-wep.c
13974           src/nm-ap-security-wpa-psk.[ch]
13975                 - Update and implement real_write_supplicant_config functions
13976                         in all security types
13977                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13978                         nm-ap-security-wpa-psk.c
13979
13980         * src/nm-device-802-11-wireless.c
13981                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13982                    wpa_supplicant_start, wpa_supplicant_interface_init,
13983                    wpa_supplicant_send_network_config): add functions to talk to
13984                         wpa_supplicant and write network config to it
13985
13986 2006-01-04  Robert Love  <rml@novell.com>
13987
13988         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13989           values so that distribution-backends can differentiate between the
13990           various types (modem, ISDN, et cetera) of dialup device that they
13991           support.
13992         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13993           needed.
13994
13995 2006-01-03  Dan Williams  <dcbw@redhat.com>
13996
13997         * src/NetworkManagerPolicy.c
13998           src/nm-device.[ch]
13999           src/nm-device-802-11-wireless.c
14000                 - Move wireless-specific activation failure and success code
14001                         into wireless device class
14002
14003 2006-01-03  Robert Love  <rml@novell.com>
14004
14005         Patch by Preggna S:
14006         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14007           IPsec does not require that a VPN client be bound to an interface,
14008           due to the use of the in-kernel IPSec bits.  So make the tunnel
14009           device optional.
14010
14011 2006-01-03  Dan Williams  <dcbw@redhat.com>
14012
14013         * src/NetworkManagerAP.c
14014                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14015                         the WPA IE specifies that WEP is supported
14016
14017         * src/nm-device-802-11-wireless.c
14018                 - (process_scan_results): don't mark an AP as supporting WEP
14019                         if there's already other encryption capability info
14020
14021 2006-01-03  Dan Williams  <dcbw@redhat.com>
14022
14023         * src/dhcp-manager/nm-dhcp-manager.c
14024                 - Recognize activation cancellation when waiting for DHCP
14025                         configuration from dhcdbd
14026                 - Ignore non-dhcdbd messages
14027
14028         * src/nm-device.c
14029                 - (real_act_stage3_ip_config_start): return to correct behavior
14030                         of letting the dhcp-manager notify us of failure or
14031                         success rather than incorrectly doing that ourselves
14032                 - (nm_device_activate_stage4_ip_config_get): deal with
14033                         activation cancellation a bit earlier
14034
14035 2006-01-03  Dan Williams  <dcbw@redhat.com>
14036
14037         * src/nm-device-802-11-wireless.c
14038           src/nm-device.[ch]
14039                 - Add hooks to subclasses for stage3_ip_config_start and
14040                         stage4_ip_config_timeout
14041
14042         * src/nm-device-802-3-ethernet.c
14043                 - (real_get_generic_capabilities): make devices NM-supported
14044                         by default
14045
14046 2006-01-03  Robert Love  <rml@novell.com>
14047
14048         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14049           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14050           latter cannot differentiate between error and the address -1; misc.
14051           clean up.
14052
14053 2006-01-03  Dan Williams  <dcbw@redhat.com>
14054
14055         * src/NetworkManager.c
14056                 - Move link-checking/probing into the device subclasses
14057                         themselves
14058
14059         * src/nm-device.[ch]
14060           src/nm-device-802-11-wireless.c
14061           src/nm-device-802-3-ethernet.c
14062                 - Do periodic link checking in device subclasses rather
14063                         than being triggered from NetworkManager.c
14064                 - discover_wireless_capabilities -> get_wireless_capabilities
14065                 - discover_generic_capabilities -> get_generic_capabilities
14066                 - Device subclass activation routines now return a value of type
14067                         NMActStageReturn to indicate what step to perform next
14068                 - Devices now override stage4_get_ip4_config if they choose
14069
14070 2006-01-01  Dan Williams  <dcbw@redhat.com>
14071
14072         * src/nm-device-802-11-wireless.c
14073                 - (real_init): don't chain up to parent init because we don't
14074                         need to do that anymore
14075
14076         * src/nm-device.c
14077                 - (discover_device_type): fix arguments to ioctl() to correctly
14078                         pass interface name
14079                 - (nm_device_new): consolidate generic device initialization into
14080                         nm_device_new()
14081                 - (real_init): remove, consolidated to nm_device_new()
14082                 - (nm_device_deactivate, real_deactivate): consolidate
14083
14084 2006-01-01  Dan Williams  <dcbw@redhat.com>
14085
14086         * src/nm-activation-request.c
14087                 - Change dhcp_state member of the NMActRequest structure
14088                         from guint8 to guint32
14089
14090         * src/dhcp-manager/nm-dhcp-manager.[ch]
14091                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14092                         than guint8 to match the dbus argument.  Turns out we were
14093                         overwriting memory since we were passing in only a guint8
14094
14095 2005-12-31  Dan Williams  <dcbw@redhat.com>
14096
14097         * refactor NMDevice into a GObject-based framework with separate
14098                 objects for wired and wireless.  The following files are no
14099                 longer used but should stick around for a bit so we don't
14100                 loose code through the cracks:
14101                         NetworkManagerDevice.c
14102                         NetworkManagerDevice.h
14103                         NetworkManagerWireless.c
14104                         NetworkManagerWireless.h
14105
14106         The intent here is to allow each device type to manage its own
14107         connection & activation life-cycle, ie to allow wireless devices
14108         to interface with wpa_supplicant, etc.  There's a fair bit of
14109         encapsulation breakage right now that should gradually get pulled
14110         back into each device, along with things like periodic property
14111         updates and link probing.
14112
14113 2005-12-29  Dan Williams  <dcbw@redhat.com>
14114
14115         * include/NetworkManager.h
14116                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14117                         between networks that don't have any encryption at all
14118
14119 2005-12-29  Dan Williams  <dcbw@redhat.com>
14120
14121         * test/test-common.c
14122           test/test-common.h
14123           test/Makefile.am
14124                 - Move to a test-common subdirectory
14125
14126         * test/libnm-util/test-ciphers.c
14127                 - Move test data to test-inputs.h
14128                 - Test WPA ciphers too
14129
14130         * test/libnm-util/test-dbus-helpers.c
14131                 - Test serialization/deserialization of ciphers
14132
14133 2005-12-29  Dan Williams  <dcbw@redhat.com>
14134
14135         * gnome/applet/applet-dbus-devices.c
14136                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14137                         in dbus calls to NM
14138                 - Set capabilities on WirelessNetwork objects
14139                 - Receive and save type-specific device capabilities too
14140
14141         * gnome/applet/applet-dbus-info.c
14142           gnome/applet/applet-dbus.c
14143                 - Passphrase dialog no longer a singleton; new instance gets created
14144                         on each request.  Updates to deal with that.
14145
14146         * gnome/applet/applet.c
14147                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14148                         than single 'encrypted' flag
14149                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14150                         menu items
14151                 - Passphrase dialog updates per above
14152
14153         * gnome/applet/menu-items.c
14154                 - (network_menu_item_update): use AP capabilities to determine
14155                         encryption
14156
14157         * gnome/applet/nm-device.[ch]
14158                 - Add accessors for type-specific device capabilities
14159
14160         * gnome/applet/other-network-dialog.c
14161                 - Rework to respect device capabilities.  i.e., if the device doesn't
14162                         support WPA, remove that option from the security dropdown
14163
14164         * gnome/applet/passphrase-dialog.c
14165                 - Massive rework so that a new instance is created each time
14166                         it's used, to support wireless network capabilities
14167
14168         * gnome/applet/wireless-network.[ch]
14169                 - Add accessors and members for wireless network capabilities
14170
14171         * gnome/applet/wireless-security-manager.[ch]
14172                 - (wsm_set_capabilities): called after creation to set which
14173                         security options get shown to the user
14174
14175 2005-12-29  Dan Williams  <dcbw@redhat.com>
14176
14177         * libnm-util/cipher-wpa-psk-passphrase.c
14178                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14179                         like other ciphers
14180
14181 2005-12-23  Dan Williams  <dcbw@redhat.com>
14182
14183         * gnome/applet/applet-dbus-info.c
14184                 - (nmi_dbus_get_key_for_network): if there's no entry in
14185                         GConf for a network, assume we want a new key
14186                 - (nmi_save_network_info): serialize wireless security info
14187                         into GConf so its saved
14188
14189         * src/nm-dbus-nm.c
14190                 - Fix warning as we may not be passed security info when
14191                         connecting to a wireless network
14192
14193 2005-12-23  Dan Williams  <dcbw@redhat.com>
14194
14195         * gnome/applet/applet-compat.c
14196                 - Fix bugs in GConf entry conversion
14197
14198         * gnome/applet/applet-dbus-info.c
14199                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14200                         list being zero-length
14201
14202         * libnm-util/cipher-*
14203           libnm-util/dbus-helpers.c
14204                 - All ciphers must now return hashed keys as UTF-8 valid
14205                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14206                         through dbus as strings too.
14207                 - Consolidate various functions that do bin->hex and hex->bin
14208                         conversion into cipher.c
14209
14210         * src/nm-ap-security-wep.c
14211           src/nm-ap-security-wpa-psk.c
14212                 - Handle NULL keys since we may not know keys right away
14213
14214         * src/nm-dbus-nmi.c
14215                 - (nm_dbus_get_network_data_cb): actually advance to the start
14216                         of the wireless security info before we try to deserialize it
14217
14218         * libnm-util/test-ciphers.c
14219                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14220
14221 2005-12-22  Dan Williams  <dcbw@redhat.com>
14222
14223         * gnome/applet/applet-compat.[ch]
14224                 - Convert old-format GConf and keyring entries
14225                         when the applet starts up.
14226
14227         * gnome/applet/applet.c
14228                 - (nmwa_get_instance): Call the conversion function
14229                         on startup before dbus is initialized
14230
14231 2005-12-22  Dan Williams  <dcbw@redhat.com>
14232
14233         * gnome/applet/applet-dbus-info.c
14234                 - Remove nmi_dbus_create_error_message() in favor of
14235                         nmu_create_dbus_error_message()
14236                 - (nmi_dbus_get_network_properties): Error message cleanups
14237                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14238                         gconf key rather than 'addresses', since they really are BSSIDs
14239                 - (nmi_dbus_get_network_properties): Dispose of the security
14240                         object when we're done with it
14241
14242 2005-12-21  Dan Williams  <dcbw@redhat.com>
14243
14244         * Consolidate the info-daemon's "updateNetworkInfo" and
14245                 "addNetworkAddress" calls into just "updateNetworkInfo"
14246
14247 2005-12-21  Dan Williams  <dcbw@redhat.com>
14248
14249         * Make connection after key retrieval work again
14250
14251 2005-12-21  Dan Williams  <dcbw@redhat.com>
14252
14253         * gnome/applet/nm-gconf-wso*
14254                 - Make the serialize functions return gboolean
14255                         rather than int
14256
14257         * gnome/applet/nm-gconf-wso.c
14258                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14259                         parent class handling so we don't segfault
14260
14261         * src/NetworkManagerAP.[ch]
14262                 - (nm_ap_get_capabilities): new function, return capabilities
14263                         now that something can use them
14264                 - (nm_ap_set_encrypted): assume that an access point supports
14265                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14266                         we even tell whether it just supports WEP40?
14267
14268         * src/NetworkManagerDevice.c
14269                 - (ap_need_key): resurrect and update for the New World Order
14270                 - (nm_device_wireless_get_activation_ap): if we're not given
14271                         security info to use, create some based on access point
14272                         capabilities
14273
14274         * src/nm-ap-security-wep.c
14275                 - (nm_ap_security_wep_new_from_ap): create a new object
14276                         based on a certain access point's capabilities
14277
14278         * src/nm-ap-security.c
14279                 - (nm_ap_security_new_from_ap): delegate creation of a new
14280                         object based on access point capabilities to a subclass
14281                 - (nm_ap_security_copy_properties): don't segfault if we
14282                         don't have a key yet
14283
14284         * src/nm-dbus-nm.c
14285                 - (nm_dbus_nm_set_active_device): provide more informative
14286                         output when errors occur.  Also construct security info
14287                         for a given access point if we weren't given any
14288
14289 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14290
14291         * configure.in: Added Lithuanian to ALL_LINGUAS.
14292
14293 2005-12-21  Dan Williams  <dcbw@redhat.com>
14294
14295         * test/libnm-util
14296                 - Add some testcases for WEP ciphers
14297
14298 2005-12-17  Dan Williams  <dcbw@redhat.com>
14299
14300         * Fix bugs
14301
14302 2005-12-17  Dan Williams  <dcbw@redhat.com>
14303
14304         * include/NetworkManager.h
14305                 - Finally kill NMEncKeyType
14306
14307         * gnome/applet/applet-dbus-info.c
14308                 - (nmi_save_network_info): convert to NMGConfWSO
14309
14310         * gnome/applet/nm-gconf-wso-*.c
14311                 - Implement gconf serialization functions
14312
14313         * src/NetworkManagerPolicy.c
14314                 - (nm_policy_activation_finish): fix up meaning of
14315                         automatic/user_requested
14316
14317 2005-12-17  Dan Williams  <dcbw@redhat.com>
14318
14319         * gnome/applet/*
14320                 - More applet cleanups
14321                 - Use the dbus-method-dispatcher
14322
14323         * libnm-util/dbus-method-dispatcher.[ch]
14324                 - Generalize the implementation from NM in
14325                         NetworkManagerUtils.c
14326
14327 2005-12-16  Dan Williams  <dcbw@redhat.com>
14328
14329         * gnome/applet/*
14330                 - Fix up the passphrase dialog to use all the
14331                         WirelessSecurityOption stuff (untested)
14332
14333 2005-12-16  Dan Williams  <dcbw@redhat.com>
14334
14335         * Move nm_gconf_get_*_helper() functions to separate files,
14336                 gconf-helpers.c & gconf-helpers.h
14337
14338         * New NMGConfWSO objects for managing the gconf side of things.
14339                 Eventually these should be merged with the
14340                 WirelessSecurityOption objects and a common base (that can
14341                 serialize/deserialize from dbus & gconf) should be
14342                 refactored out, but for now they are separate.
14343
14344 2005-12-16  Robert Love  <rml@novell.com>
14345
14346         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14347           binaries unless they exist (nm_spawn_process() emits a warning if
14348           asked to spawn a non-existant process).
14349
14350 2005-12-16  Dan Williams  <dcbw@redhat.com>
14351
14352         * gnome/applet/applet-dbus-info.c
14353                 - Clean up lots of gconf-related code
14354
14355 2005-12-16  Robert Love  <rml@novell.com>
14356
14357         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14358
14359 2005-12-16  Dan Williams  <dcbw@redhat.com>
14360
14361         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14362
14363         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14364                 bits still to be done)
14365
14366 2005-12-16  Dan Williams  <dcbw@redhat.com>
14367
14368         * Finally move info-daemon related stuff out of
14369                 NetworkManagerDbus.c to nm-dbus-nmi.c
14370
14371 2005-12-16  Dan Williams  <dcbw@redhat.com>
14372
14373         * Kill auth_method for access points, since that's now done
14374                 by NMAPSecurity objects
14375
14376         * Add a copy-constructor of sorts to NMAPSecurity
14377                 (how do you do this properly in glib???)
14378
14379 2005-12-15  Dan Williams  <dcbw@redhat.com>
14380
14381         * Exorcise encryption key hashing on APs
14382         * Use libnm-util's serialization/deserialization in both the
14383                 applet and NM
14384         * Random other stuff
14385
14386 2005-12-15  Robert Love  <rml@novell.com>
14387
14388         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14389           is being added to the icon naming spec, so let's use that (Tango CVS
14390           has the icon).  Because it is new, however, we fall back to the
14391           current "gnome-lockscreen" if the new icon is not around, thus
14392           behavior is the same.
14393         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14394           factory junk.
14395
14396 2005-12-15  Robert Love  <rml@novell.com>
14397
14398         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14399           well, help to give.  Couple other misc. bits.
14400
14401 2005-12-15  Dan Williams  <dcbw@redhat.com>
14402
14403         * libnm-util/dbus-helpers.[ch]
14404                 - Make this the one-stop-shop for serializing/deserializing
14405                         AP & connection security settings over dbus.  Both NM
14406                         and applets should use this to ensure consistent dbus
14407                         API going forwared.
14408
14409 2005-12-15  Robert Love  <rml@novell.com>
14410
14411         Patch by Timo Hoenig  <thoenig@suse.de>:
14412         * src/NetworkManagerDbus.c
14413                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14414                         if HAL jumps off the system bus.  Otherwise libdbus
14415                         (dbus_connection_dispatch) will try to run the filter
14416                         function of our libhal context which is already freed.
14417
14418 2005-12-15  Alexander Shopov  <ash@contact.bg>
14419
14420         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14421
14422 2005-12-14  Dan Williams  <dcbw@redhat.com>
14423
14424         * include/NetworkManager.h
14425           src/NetworkManagerWireless.c
14426                 - Rearrange 802.11 wireless-specific capabilities again
14427
14428         * src/Makefile.am
14429                 - Forgot to add wpa.c/wpa.h to the makefiles
14430
14431         * src/NetworkManagerAP.[ch]
14432                 - Implement access point capabilities and parse the
14433                         WPA/RSN IEs into the capability bitfield
14434                 - Switch the "encrypted" attribute to utilize the bitfield
14435                         and capabilities rather than being independent
14436
14437         * src/NetworkManagerDevice.c
14438                 - (nm_device_wireless_get_activation_ap): break it horribly
14439                         until we can push NMAPSecurity objects into access point
14440                         objects and through the activation chain
14441                 - Stuff WPA & RSN IEs into AP capabilities
14442
14443         * src/nm-dbus-nm.c
14444                 - Take a shot at actually making setActiveDevice work
14445
14446         * src/wpa.[ch]
14447                 - Make the API a bit saner
14448
14449 2005-12-14  Dan Williams  <dcbw@redhat.com>
14450
14451         * include/NetworkManager.h
14452                 - Add 802.11-specific capability for 802.1x key
14453                         management
14454
14455         * src/wpa.[ch]
14456                 - Pull in WPA IE and RSN IE parsing code from
14457                         wpa_supplicant so we can determine access point
14458                         capabilities
14459                 - Move WPA-related constants here from NetworkManagerAP.h
14460                         and NetworkManagerDevice.c
14461
14462         * src/NetworkManagerDevice.c
14463           src/NetworkManagerAP.[ch]
14464                 - Use WPA-related constants from wpa.h
14465
14466 2005-12-14  Dan Williams  <dcbw@redhat.com>
14467
14468         * include/NetworkManager.h
14469                 - Update and split 802.11 wireless-specific capabilities from
14470                         generic device capabilities
14471
14472         * src/NetworkManagerDevice.c
14473           src/NetworkManagerDevicePrivate.h
14474                 - (nm_device_wireless_discover_capabilities): Move 802.11
14475                         wireless-specific capability checks to
14476                         NetworkManagerWireless.c
14477                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14478                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14479
14480         * src/NetworkManagerWireless.[ch]
14481                 - (nm_802_11_wireless_discover_capabilities): Check extended
14482                         802.11 wireless-specific capabilities of the driver
14483
14484 2005-12-14  Robert Love  <rml@novell.com>
14485
14486         Patch from Stefan Scheler <sscheler@suse.de>:
14487         * src/NetworkManagerDevice.c: call backend code to activate and
14488           deactivate NIS.
14489         * src/NetworkManagerSystem.h: add new NIS interfaces.
14490         * src/backends/NetworkManagerDebian.c,
14491           src/backends/NetworkManagerGentoo.c,
14492           src/backends/NetworkManagerRedHat.c,
14493           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14494           support.
14495         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14496
14497 2005-12-14  Dan Williams  <dcbw@redhat.com>
14498
14499         * src/nm-ap-security*.[ch]
14500                 - Add AP security abstractions to NetworkManager
14501
14502         * src/nm-dbus-device.c
14503                 - Begin to parse new format dbus messages from the applet
14504                         and construct an AP security object from the message
14505
14506         * libnm-util/dbus-helpers.c
14507                 - Use message iters so we can append the key as a fixed
14508                         array of bytes, which actually works rather than
14509                         using dbus_message_append_args() as we were before
14510
14511 2005-12-14  Dan Williams  <dcbw@redhat.com>
14512
14513         * src/NetworkManagerDbus.c
14514           gnome/applet/applet-dbus.c
14515                 - Fix up dbus service replacement options.  The applet
14516                         should allow replacement, NM itself should not.
14517
14518 2005-12-13  Robert Love  <rml@novell.com>
14519
14520         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14521           Instead, fail silently if config is NULL by not asserting and not
14522           returning FALSE.  Also, make sure we always fclose() the file.
14523
14524 2005-12-13  Robert Love  <rml@novell.com>
14525
14526         Patch by Stefan Scheler <sscheler@suse.de>:
14527         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14528            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14529            via DHCP.  Still need the backends to commit the NIS domain name and
14530            and servers to yp.conf as needed.
14531
14532 2005-12-13  Robert Love  <rml@novell.com>
14533
14534         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14535           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14536
14537 2005-12-13  Robert Love  <rml@novell.com>
14538
14539         * src/named-manager/nm-named-manager.c: Don't unref the config until
14540           after we call rewrite_resolv_conf(), because get_last_default_domain()
14541           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14542           `config != NULL' failed" assertion failures and "Could not commit DNS
14543           changes" warnings.
14544
14545 2005-12-12  Dan Williams  <dcbw@redhat.com>
14546
14547         * libnm-util/dbus-helpers.[ch]
14548           libnm-util/Makefile.am
14549                 - new helper calls to consolidate locations where
14550                         NM's setDevice method is called
14551
14552         * gnome/applet/applet-dbus-devices.c
14553           gnome/applet/wireless-security-option.c
14554           gnome/applet/wso-*
14555                 - Implement dbus message param append function for
14556                         all wireless security options
14557
14558 2005-12-12  Robert Love  <rml@novell.com>
14559
14560         * libnm-util/cipher-wep-passphrase.c,
14561           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14562           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14563           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14564           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14565           When handling keys, we don't care what the sign is.  The compiler
14566           guarantees us that we get our 8-bits, which is all we care about.
14567         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14568
14569 2005-12-12  Dan Williams  <dcbw@redhat.com>
14570
14571         * gnome/applet/applet-dbus-devices.[ch]
14572           gnome/applet/applet.c
14573           gnome/applet/other-network-dialog.c
14574           gnome/applet/wireless-security-manager.[ch]
14575           gnome/applet/wireless-security-option.[ch]
14576           gnome/applet/wso-*
14577                 - Push the wireless security options further into the applet
14578
14579 2005-12-12  Robert Love  <rml@novell.com>
14580
14581         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14582           return any name servers.  That is perfectly valid.  (Novell #134369).
14583
14584 2005-12-11  Dan Williams  <dcbw@redhat.com>
14585
14586         * gnome/applet/wso-*
14587           gnome/applet/wireless-security-option.*
14588           gnome/applet/Makefile.am
14589                 - split each security option out so we can eventually
14590                         have each one build up their own dbus message
14591                         arguments to send to NM
14592
14593 2005-12-11  Dan Williams  <dcbw@redhat.com>
14594
14595         * Make validation of the key work correctly
14596
14597 2005-12-11  Dan Williams  <dcbw@redhat.com>
14598
14599         * Hook more bits of the Other Network Dialog up to the
14600                 wireless security manager stuff, and restructure
14601                 bits of the dialog so there's less code.
14602
14603 2005-12-10  Dan Williams  <dcbw@redhat.com>
14604
14605         * gnome/applet/Makefile.am
14606                 - Add libnm-util to includes
14607                 - Add libnm-util to link list
14608                 - Add wireless-security-common.* to compile list
14609
14610         * gnome/applet/other-network-dialog.c
14611                 - Convert to using the WirelessSecurityManager code and
14612                         widgets
14613
14614         * gnome/applet/passphrase-dialog.c
14615                 - Comment out references to stuff in the glade file that
14616                         cause runtime errors until it can be fixed up
14617                         to use the WirelessSecurityManager code
14618
14619         * gnome/applet/wireless-applet.glade
14620                 - Rename some widgets
14621                 - Add widgets for the WirelessSecurityManager code
14622                 - Remove passphrase-related stuff since that's now
14623                         handled by the WirelessSecurityManager code
14624
14625 2005-12-10  Dan Williams  <dcbw@redhat.com>
14626
14627         * gnome/applet/applet-dbus-devices.c
14628                 - Print out error message details for dbus pending call callbacks
14629                 - Move nmwa_dbus_update_devices() up
14630
14631         * gnome/applet/applet-dbus-vpn.c
14632                 - Print out error message details for dbus pending call callbacks
14633
14634 2005-12-10  Dan Williams  <dcbw@redhat.com>
14635
14636         * libnm-util/*
14637                 - More fixups
14638                 - Remove cipher-manager.* because we don't need it
14639                 - Forgot to add gnome-keyring-md5 files to compile list
14640
14641 2005-12-09  Dan Williams  <dcbw@redhat.com>
14642
14643         * libnm-util/*
14644           configure.in
14645           Makefile.am
14646                 - Add a utility library for clients of NetworkManager.  It's
14647                         only targetted at applets for the moment, and contains
14648                         a generalized 802.11 cipher framework for different
14649                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14650
14651 2005-12-09  Robert Love  <rml@novell.com>
14652
14653         * src/NetworkManagerDevice.c: handle error better in
14654           nm_device_set_mode().
14655
14656 2005-12-08  Robert Love  <rml@novell.com>
14657
14658         * include/NetworkManager.h: add WPA capabilities constants
14659         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14660           or WPA2 and add the capabilities bits as appropriate.
14661
14662 2005-12-08  Robert Love  <rml@novell.com>
14663
14664         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14665           NetworkManagerDispatcher.
14666         * configure.in, initscript/SUSE/.cvsignore,
14667           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14668           initscript.
14669
14670 2005-12-08  Robert Love  <rml@novell.com>
14671
14672         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14673
14674 2005-12-08  Robert Love  <rml@novell.com>
14675
14676         * src/NetworkManagerDevice.c: We want to fall back on and default to
14677           IW_MODE_AUTO, not -1, which is more in line with our previous
14678           behavior.  Otherwise, we try to set the wireless mode to -1 in
14679           nm_device_set_mode().
14680
14681 2005-12-07  Robert Love  <rml@novell.com>
14682
14683         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14684           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14685           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14686           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14687           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14688           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14689           zero.
14690
14691 2005-12-07  Robert Love  <rml@novell.com>
14692
14693         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14694           supplied IP is invalid, fall back to DHCP.
14695
14696 2005-12-07  Dan Williams  <dcbw@redhat.com>
14697
14698         * Convert NETWORK_MODE_* constants to IW_MODE_*
14699         * Make all the get_mode/set_mode functions take and return 'int'
14700         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14701
14702 2005-12-07  Robert Love  <rml@novell.com>
14703
14704         * src/NetworkManagerDevice.c: strncpy() buffer check.
14705         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14706
14707 2005-12-06  Dan Williams  <dcbw@redhat.com>
14708
14709         * gnome/applet/applet-dbus.c
14710                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14711
14712         * gnome/applet/applet-dbus-vpn.c
14713                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14714                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14715                         to TRUE here if stage was ACTIVATED
14716
14717 2005-12-06  Dan Williams  <dcbw@redhat.com>
14718
14719         * Change nm_device_is_* functions to better names:
14720                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14721                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14722
14723 2005-12-06  Dan Williams  <dcbw@redhat.com>
14724
14725         * Change naming of NMDeviceType to something more sensible:
14726                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14727                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14728                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14729
14730 2005-12-06  Dan Williams  <dcbw@redhat.com>
14731
14732         * Move NetworkManager.h -> include/NetworkManager.h
14733         * Split out VPN stuff into include/NetworkManagerVPN.h
14734         * Fix up makefiles to include new location
14735         * Fix up sources to include NetworkManagerVPN.h
14736
14737 2005-12-06  Dan Williams  <dcbw@redhat.com>
14738
14739         Various changes in the applet to move VPN connection "state" -> "stage",
14740         which it actually is.  I'd like to change the signal as well when we
14741         break compat in the near future.
14742
14743 2005-12-06  Dan Williams  <dcbw@redhat.com>
14744
14745         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14746         * initscript/Slackware/rc.networkmanager
14747                 - Cosmetic fix
14748
14749         * src/backends/NetworkManagerSlackware.c
14750                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14751                         interfaces
14752
14753 2005-12-05  Robert Love  <rml@novell.com>
14754
14755         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14756           to free, particularly here as it just barfs.
14757
14758 2005-12-05  Dan Williams  <dcbw@redhat.com>
14759
14760         * gnome/applet/applet-dbus.c
14761                 - Work with dbus 0.6 too
14762
14763 2005-12-03  Dan Williams  <dcbw@redhat.com>
14764
14765         * src/NetworkManagerUtils.[ch]
14766           src/nm-ip4-config.c
14767                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14768                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14769
14770 2005-12-01  Robert Love  <rml@novell.com>
14771
14772         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14773           need a NULL for the '...' parameter, too, to fill the so-called
14774           sentinel.
14775
14776 2005-12-01  Robert Love  <rml@novell.com>
14777
14778         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14779           interface is already gone, so don't call rtnl_link_change() to down
14780           it (which will segfault, anyhow).
14781
14782 2005-11-22  Robert Love  <rml@novell.com>
14783
14784         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14785           gateway is not set, just print a little note.  Configurations without
14786           gateways are valid.
14787
14788 2005-11-22  Robert Love  <rml@novell.com>
14789
14790         * README: update
14791
14792 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14793
14794         * configure.in: Added Finnish translation to ALL_LINGUAS
14795
14796 2005-11-14  Robert Love  <rml@novell.com>
14797
14798         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14799           Niemueller <tim@niemueller.de>.
14800
14801 2005-11-08  Dan Williams  <dcbw@redhat.com>
14802
14803         Patch from Bill Moss <bmoss@clemson.edu>
14804         * src/NetworkManagerDevice.c
14805                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14806                         of nm_policy_schedule_activation_finish() to prevent a
14807                         race condition that causes the link to be dropped
14808
14809 2005-11-08  Dan Williams  <dcbw@redhat.com>
14810
14811         Patch from Bill Moss <bmoss@clemson.edu>
14812         * src/NetworkManagerAPList.c
14813           src/NetworkManagerDevice.c
14814           src/NetworkManagerDbus.c
14815                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14816                         we get more readable ether/mac addresses
14817
14818 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14819
14820         * gnome/applet/main.c: Don't set the restart command.  This fixes
14821         the issue where the restart command was getting copies of all its
14822         arguments for each time the applet was restarted.
14823
14824 2005-11-02  Robert Love  <rml@novell.com>
14825
14826         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14827           if the widget state differs from our saved state.  This ensures we
14828           do not enter an endless loop of death and destruction.  Also, this
14829           guarantees us that we enforce the widget state.
14830
14831 2005-11-02  Robert Love  <rml@novell.com>
14832
14833         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14834         * gnome/applet/applet-dbus-devices.c: invoke the new function
14835           nmwa_enable_wireless_set_active() to ensure that the state of the
14836           'Enable Wireless' checkbox matches the daemon's state.  This is a
14837           concern because the daemon remembers the state.
14838
14839 2005-11-02  Robert Love  <rml@novell.com>
14840
14841         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14842           Enabled", as checkboxes should be actions/commands not positive
14843           statements, otherwise they are confusing in the unselected case.  See
14844           examples in GNOME HIG, Chapter 6.
14845
14846 2005-11-02  Robert Love  <rml@novell.com>
14847
14848         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14849           show a list of wireless networks or the wireless devices or the
14850           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14851           a bad bug: If wireless is disabled and the user picks a wireless
14852           network, NM will switch to the network, only to immediately switch
14853           back, as wireless is disabled.  This also reassures people that NM
14854           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14855
14856 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14857
14858         * gnome/applet/applet.c:
14859         * gnome/applet/applet.h:
14860         Partial backout of Dan's timeout animation patch.
14861         Timeout IDs cannot legally be 0, so revert the code in place to handle
14862         a timeout ID of 0 to denote the timeout isn't running.
14863
14864 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14865
14866         * src/NetworkManagerPolicy.c:
14867         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14868
14869 2005-10-28  Robert Love  <rml@novell.com>
14870
14871         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14872           "Import Saved Configuration..." to make it clear that importing is
14873           not the next step, but an option.  As an aside, a nice TODO would be
14874           to move Importing out of the vpn-specific dialog and into the main
14875           property editor, as Importing goes with Adding, but that will require
14876           some rearchitecting of the VPN stuff I suspect.
14877
14878 2005-10-27  Dan Williams  <dcbw@redhat.com>
14879
14880         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14881         we should replace most of the distro-specific backend code
14882         with libnl stuff.
14883
14884         Get it here:  http://people.suug.ch/~tgr/libnl/
14885
14886         * configure.in
14887           src/Makefile.am
14888                 - Add checks for libnl pkgconfig file
14889                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14890
14891         * src/NetworkManagerSystem.c
14892           src/nm-ip4-config.[ch]
14893                 - Use libnl rather than ioctl() for most things
14894                 - Remove unused functions
14895
14896 2005-10-27  Robert Love  <rml@novell.com>
14897
14898         * src/backends/NetworkManagerSuSE.c: fix warning message text
14899
14900 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14901
14902         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14903
14904 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14905
14906         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14907         project page <http://www.gnome.org/projects/NetworkManager/>
14908
14909 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14910
14911         * gnome/applet.c: Also use translator credits if we don't have
14912         the new GtkAboutDialog (older versions of GTK+)
14913
14914 2005-10-26  Robert Love  <rml@novell.com>
14915
14916         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14917           failure; correct usage text for "--no-daemon"
14918
14919 2005-10-25  Dan Williams  <dcbw@redhat.com>
14920
14921         * src/NetworkManagerDevice.c
14922                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14923                         no scan results
14924                 - (free_process_scan_cb_data): unref the device when freeing results
14925                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14926                         so we don't unref the device underneath ourselves
14927
14928 2005-10-25  Dan Williams  <dcbw@redhat.com>
14929
14930         * Back out 2005-10-24 commit from Tor Krill.  Patch
14931                 causes nameservers never to be removed from named.
14932
14933 2005-10-24  Dan Williams  <dcbw@redhat.com>
14934
14935         Clean up wireless scanning and wireless link probing.
14936
14937         * src/NetworkManagerDevice.c
14938                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14939                         just see if there's an activation request on the device, and check the
14940                         current link against the activation request access point's ESSID.
14941                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14942                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14943                         don't call process_scan_results() on zero-length data
14944                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14945                         15 seconds (from 10)
14946
14947 2005-10-24  Dan Williams  <dcbw@redhat.com>
14948
14949         Cleanup some applet stuff:
14950
14951         - Animation timeouts.  If NM died while the applet was animating,
14952                 the applet would not hide itself.  This is now fixed.
14953
14954         - Remove some dead code
14955
14956         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14957                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14958
14959         - Track animation timeout using a gboolean rather than the timeout's
14960                 ID, since timeout IDs can legally be 0.
14961
14962 2005-10-24  Dan Williams  <dcbw@redhat.com>
14963
14964         * src/backends/interface_parser.c
14965                 - Add void to function declarations that need it
14966                         to match patch from Engin AYDOGAN
14967
14968         * src/backends/interface_parser.h
14969                 - Remove unused prototype for ifparser_interfaces()
14970
14971         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14972         * src/backends/interface_parser.h:
14973                 - Compile fixes for gcc 4.0.2 (add void)
14974
14975 2005-10-24  Dan Williams  <dcbw@redhat.com>
14976
14977         Patch from Tor Krill <tor@krill.nu>
14978         * src/named-manager/nm-named-manager.c
14979                 - Write more than just the first nameserver to /etc/resolv.conf
14980                 - Write out valid /etc/resolv.conf on exit
14981
14982 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14983
14984         * gnome/applet/applet-dbus-vpn.c:
14985         Get rid of spurious newlines in debug console output
14986
14987 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14988
14989         * src/backends/NetworkManagerGentoo.c:
14990         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14991
14992 2005-10-20  Robert Love  <rml@novell.com>
14993
14994         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14995           direct comparison of floating point values, which is never correct.
14996           Also some misc. cleanup.
14997
14998 2005-10-19  Robert Love  <rml@novell.com>
14999
15000         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15001
15002 2005-10-19  Robert Love  <rml@novell.com>
15003
15004         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15005           sensitivity of the buttons.  Specificaly, do the right thing if
15006           there are no entries.
15007
15008 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15009
15010         * configure.in: Update check for adequate wireless-tools
15011         with an AC_TRY_COMPILE for the new symbols we use.
15012
15013 2005-10-19  Dan Williams  <dcbw@redhat.com>
15014
15015         * src/NetworkManagerDevice.c
15016                 - (process_scan_results): don't drop the last (or only)
15017                         access point we see
15018
15019 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15020
15021         * src/backends/NetworkManagerSlackware.c:
15022         Patch from Nico <lordllucifer@gmail.com>
15023                 - Update the Slackware backend.
15024
15025 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15026
15027         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15028         if we've got GLib 2.8.0
15029
15030 2005-10-18  Robert Love  <rml@novell.com>
15031
15032         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15033           function nm_schedule_state_change_signal_broadcast() when we
15034           deactivate a device, too.
15035
15036 2005-10-18  Robert Love  <rml@novell.com>
15037
15038         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15039           be used uninitialized.
15040
15041 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15042
15043         * test/libnm_glib_test.c: Test unregistering, too.
15044
15045 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15046
15047         * configure.in: Bump to 0.5.0
15048
15049 2005-10-17  Dan Williams  <dcbw@redhat.com>
15050
15051         * NetworkManager.h
15052                 - Remove WPA-related constants so they aren't part of the
15053                         upcoming release.
15054
15055 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15056
15057         * gnome/applet/applet.c:
15058         * gnome/applet/applet.h:
15059         Desensitize the 'Connection Information' menu item when there is
15060         no active connection.
15061
15062 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15063
15064         * gnome/libnm_glib/libnm_glib.c:
15065         Make libnm_glib_unregister_callback () actually unregister the callback
15066
15067 2005-10-17  Robert Love  <rml@novell.com>
15068
15069         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15070           two seconds -- tries is updated every 1/10 of a second, not every
15071           second..
15072
15073 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15074
15075         * gnome/applet/applet-dbus-info.c:
15076         Let D-BUS know that we haven't handled a message when we haven't.
15077
15078 2005-10-17  Robert Love  <rml@novell.com>
15079
15080         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15081           in order to remain 64-bit clean.
15082
15083 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15084
15085         * gnome/applet/applet-dbus-info.c:
15086         Find network encryption keys asynchronously
15087
15088 2005-10-17  Robert Love  <rml@novell.com>
15089
15090         * src/backends/NetworkManagerDebian.c,
15091           src/backends/NetworkManagerRedHat,
15092           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15093           comment delimiter.
15094
15095 2005-10-17  Robert Love  <rml@novell.com>
15096
15097         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15098           "/etc"
15099
15100 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15101
15102         * src/NetworkManagerDevice.c: (process_scan_results)
15103         Fix logic that checks to see whether we have an ESSID.
15104
15105 2005-10-15  Dan Williams  <dcbw@redhat.com>
15106
15107         Move scanning code into NetworkManager rather than use iwlib's
15108         iw_scan() function, so that we can figure out AP capabilities.
15109
15110         * NetworkManager.h
15111                 - Add AP capability bits
15112
15113         * src/NetworkManagerAP.[ch]
15114                 - Add capability field to NMAccessPoint structure
15115                 - Add WPA & RSN Information Element fields and accessor
15116                         functions to NMAccessPoint
15117
15118         * src/NetworkManagerDevice.c
15119                 - Remove usage of iw_scan
15120                 - Add scanning code to NetworkManager rather than use
15121                         iw_scan() from iwlib
15122
15123         * src/NetworkManagerUtils.[ch]
15124                 - (nm_dispose_scan_results): remove, unused
15125
15126 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15127
15128         * gnome/libnm_glib/libnm_glib.c:
15129         * gnome/libnm_glib/libnm_glib.h:
15130         Use guint instead of gint for callback IDs.
15131
15132 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15133
15134         * gnome/applet/applet.c:
15135         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15136         every 1000ms.  It will unconditionally call nmwa_update_state which
15137         kills the existing animation timeout and registers a new one with a
15138         callback to draw a new frame every 100ms.  There are 11 connecting
15139         icon frames, so the last 2 frames kept getting dropped.  Only reset
15140         the animation timeout if we aren't animating.
15141
15142 2005-10-11  Dan Williams  <dcbw@redhat.com>
15143
15144         * gnome/applet/applet-dbus-devices.c
15145                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15146                         We want to grab the product & vendor from net.physical_dev
15147                         rather than info.parent.
15148
15149 2005-10-11  Dan Williams  <dcbw@redhat.com>
15150
15151         * src/NetworkManagerDevice.c
15152                 - Use the driver's WE version for scanning rather than
15153                         the WE version NM was compiled with.  Fixes random
15154                         crashes in iw_scan () in iwlib.
15155
15156 2005-10-10  Dan Williams  <dcbw@redhat.com>
15157
15158         * Remove nm_system_load_device_modules() from backend files
15159                 and from NetworkManager.c
15160
15161 2005-10-10  Dan Williams  <dcbw@redhat.com>
15162
15163         * src/NetworkManagerPolicy.c
15164                 - Fix some bugs introduced by the capabilities patch
15165
15166 2005-10-10  Dan Williams  <dcbw@redhat.com>
15167
15168         * gnome/applet/applet-dbus-info.c
15169                 - (nmi_dbus_get_network_key): hide the menu when putting up
15170                         the keyring dialog.  (not sure if the code is right...)
15171
15172 2005-10-09  Dan Williams  <dcbw@redhat.com>
15173
15174         Patch from Bill Moss <bmoss@clemson.edu>
15175         * src/NetworkManagerDevice.c
15176                 - (nm_device_set_user_key_for_network): don't try to set auth
15177                         mode on the AP from the allowed list if it's NULL
15178
15179 2005-10-09  Dan Williams  <dcbw@redhat.com>
15180
15181         * Replace the "driver support level" stuff with capabilities.  The
15182                 capability field is a bitfield that is more flexible than the
15183                 old driver support level thing.  It's mostly so we can easily
15184                 figure out what supports WPA and what doesn't, but should be
15185                 quite useful later.
15186
15187 2005-10-09  Dan Williams  <dcbw@redhat.com>
15188
15189         * test/nmtest.c
15190                 - Removed
15191
15192         * test/nm-tool.c
15193           test/Makefile.am
15194                 - Added new "nm-tool" tool that gives quite a bit more
15195                         information
15196
15197 2005-10-07  Robert Love  <rml@novell.com>
15198
15199         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15200           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15201           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15202           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15203           appropriate
15204
15205 2005-10-07  Robert Love  <rml@novell.com>
15206
15207         * configure.in: Change our compile flags for the betterment of mankind.
15208           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15209           prototype is very bad on 64-bit platforms as types default to int but
15210           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15211           "-Wmissing-declarations" to warn if we define an exported function
15212           but fail to put it in a header.
15213
15214 2005-10-07  Robert Love  <rml@novell.com>
15215
15216         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15217           by the name nm_update_device_wireless_timeouts() and once tried,
15218           without success, to steal my pet turtle.
15219
15220 2005-10-07  Robert Love  <rml@novell.com>
15221
15222         * Cleanup prototypes: put some functions in header files and mark
15223           others as 'static' -- feel free to invert
15224         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15225           nm_vpn_manager_vpn_connection_list_copy()
15226         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15227           nm_vpn_service_get_dbus_connection()
15228         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15229           nm_vpn_manager_vpn_connection_list_copy()
15230         * src/vpn-manager/nm-vpn-service.c: make
15231           nm_vpn_service_act_request_failed() and
15232           nm_vpn_service_stage2_daemon_wait() static
15233         * src/vpn-manager/nm-vpn-service.h: add prototype for
15234           nm_vpn_service_get_dbus_connection()
15235
15236 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15237
15238         * gnome/applet/applet.c:
15239         * gnome/applet/applet.h:
15240         * gnome/applet/icons/Makefile.am:
15241         Convey information about the current connection stage in the
15242         icons themselves instead of creating a separate progress bar.
15243
15244 2005-10-04  Robert Love  <rml@novell.com>
15245
15246         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15247           convert an ether_addr structure's MAC into a string, because the
15248           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15249           versus 07:3B:04, while the former will not.
15250
15251 2005-10-04  Robert Love  <rml@novell.com>
15252
15253         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15254           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15255           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15256           default route in the 'Connection Information' dialog, send primary
15257           and secondary name servers in in "getProperties" DBUS method, add
15258           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15259           secondary domain name servers are crucial pieces of information
15260           that a user might need in debugging a network problem.
15261
15262 2005-10-04  Robert Love  <rml@novell.com>
15263
15264         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15265           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15266           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15267           default route in the 'Connection Information' dialog, send default
15268           route in "getProperties" DBUS method, add network_device_set_route(),
15269           and network_device_get_route().  The Gateway is a crucial piece of
15270           connection-related information that a user might need in debugging a
15271           network problem.
15272
15273 2005-10-03  Robert Love  <rml@novell.com>
15274
15275         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15276           NULL.
15277
15278 2005-10-02  Dan Williams  <dcbw@redhat.com>
15279
15280         * Shorten time taken to sleep by fastpathing bits of device deactivation
15281                 necessary for sleep.
15282
15283         * Fix issue where deactivating a device might deactivate the active
15284                 VPN connection, even if the VPN was not using the device.
15285
15286 2005-10-02  Dan Williams  <dcbw@redhat.com>
15287
15288         * gnome/applet/applet.c
15289                 - Adjust signal strength -> icon mapping values slightly
15290                         (so that 51% signal doesn't show a 75% icon) by adding
15291                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15292                         shows 50% icon, etc.
15293
15294 2005-09-29  Robert Love  <rml@novell.com>
15295
15296         * src/NetworkManager.c: removed unused variable.
15297
15298 2005-09-28  Dan Williams  <dcbw@redhat.com>
15299
15300         Support for named + DBus, using Red Hat DBus patches for named.  You
15301         can find those patches here, with "dbus" in the patch's filename:
15302
15303                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15304
15305         Don't forget the named dbus service file either.
15306
15307         Instead of writing a config file and spawing a named process, NM will
15308         use an already-running dbus-enabled named if it finds one.  NM will
15309         update named's forwarder configuration on the fly using dbus.
15310
15311         If there is no dbus-enabled named running, NM will automatically fall
15312         back to writing the most-recent DNS server information to /etc/resolv.conf
15313         and calling nm_system_update_dns() to kick the system's resolver.
15314
15315         Accordingly, all named-related configure-time options have been removed.
15316
15317 2005-09-26  Robert Love  <rml@novell.com>
15318
15319         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15320           ISDN support!
15321         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15322           bug in error path if "ASKPASSWORD" is "no".
15323
15324 2005-09-26  Robert Love  <rml@novell.com>
15325
15326         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15327           comment in /etc/resolv.conf -- ';' is not.
15328
15329 2005-09-19  Dan Williams  <dcbw@redhat.com>
15330
15331         * src/backends/NetworkManagerRedHat.c:
15332         * src/backends/NetworkManagerDebian.c:
15333         * src/backends/NetworkManagerSlackware.c:
15334         * src/backends/NetworkManagerGentoo.c:
15335         * src/backends/NetworkManagerSUSE.c:
15336         Fix invocations of "/sbin/ip address" to use short form instead
15337
15338 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15339
15340         * src/nm-dbus-device.c: Don't assert when getting
15341         addresses of a not yet connected interface.
15342
15343         * gnome/applet/applet.c: Free icons if loading fails.
15344         Use translator-credits so translators can make themselves known.
15345
15346 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15347
15348         * src/NetworkManagerAP.c:
15349         * src/NetworkManagerAP.h:
15350         * src/NetworkManagerDevice.c:
15351         Set a blacklist for certain common manufacturer default ESSIDs:
15352         APs with these ESSIDs are extremely likely to be completely
15353         different networks: connecting to one should not make NM
15354         auto-connect to every other AP with the same default ESSID.
15355
15356 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15357
15358         * gnome/applet/wireless-applet.glade:
15359         The passphrase entry should also activate the default
15360
15361         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15362
15363         * gnome/applet/applet-dbus-devices.c:
15364         * gnome/applet/applet.c:
15365         * gnome/applet/nm-device.c:
15366         * gnome/applet/nm-device.h:
15367         * src/NetworkManagerUtils.c:
15368         * src/NetworkManagerUtils.h:
15369         * src/nm-dbus-device.c:
15370         I've got a fever, and the only cure for it is less ioctl.
15371         Make NM push IP data rather than make the applet open a socket
15372         to the device.
15373
15374 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15375
15376         * gnome/applet/applet.c:
15377         * gnome/applet/applet-dbus-devices.c:
15378         * gnome/applet/applet-dbus-info.c:
15379         * gnome/applet/passphrase-dialog.c:
15380         * gnome/libnm_glib/libnm_glib.c:
15381         * gnome/vpn-properties/nm-vpn-properties.c:
15382         * src/autoip.c:
15383         * src/backends/NetworkManagerRedHat.c:
15384         * src/named-manager/nm-named-manager.c:
15385         * src/NetworkManagerAPList.c:
15386         * src/NetworkManager.c:
15387         * src/NetworkManagerDbus.c:
15388         * src/NetworkManagerDevice.c:
15389         * src/NetworkManagerPolicy.c:
15390         * src/NetworkManagerSystem.c:
15391         * src/nm-dbus-device.c:
15392         * src/nm-dbus-nm.c:
15393         * src/vpn-manager/nm-vpn-manager.c:
15394         * src/vpn-manager/nm-vpn-service.c:
15395         * test/libnm_glib_test.c:
15396         * test/nminfotest.c:
15397         * test/nmtestdevices.c:
15398         Fix a bunch of 'unused variable' compiler warnings
15399
15400         * NetworkManager.h:
15401         * gnome/applet/applet-dbus-info.c:
15402         * gnome/applet/applet-dbus-info.h:
15403         * gnome/applet/applet.c:
15404         * gnome/applet/applet.h:
15405         * src/NetworkManager.c:
15406         * src/NetworkManagerDbus.c:
15407         * src/NetworkManagerDbus.h:
15408         * src/NetworkManagerDevice.c:
15409         * src/NetworkManagerDevice.h:
15410         * src/NetworkManagerMain.h:
15411         * src/NetworkManagerWireless.c:
15412         * src/NetworkManagerWireless.h:
15413         * src/nm-dbus-nm.c:
15414         Make NetworkManager be smart about how frequently to scan
15415         based on its current state.  Remove the UI for choosing when
15416         to scan.  Scanning still may disabled completely by the user
15417         via the "Wireless Enabled" menu item.
15418
15419 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15420
15421         * gnome/applet/applet.c:
15422         Also overlay the vpn connecting icons onto the wired icon,
15423         when appropriate.
15424
15425         * gnome/vpn-properties/nm-vpn-properties.glade:
15426         Clean up a few strings to use better grammar and proper casing.
15427
15428 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15429
15430         * gnome/applet/vpn-connection.c:
15431         * gnome/applet/vpn-connection.h:
15432         Add nmwa_vpn_connection_is_activating ()
15433
15434         * gnome/applet/applet.c:
15435         * gnome/applet/applet.h:
15436         * gnome/applet/icons/nm-vpn-connecting*.png:
15437         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15438         the user know something's happening between clicking the VPN item and it
15439         actually being connected.
15440
15441 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15442
15443         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15444         failure case as well.
15445
15446 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15447
15448         * gnome/panel/eggtrayicon.[ch]:
15449         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15450
15451 2005-09-07  Dan Williams  <dcbw@redhat.com>
15452
15453         Patch from Bill Moss <bmoss@clemson.edu>
15454         * src/applet-dbus.c
15455                 - (nmwa_dbus_filter): strip whitespace from beginning
15456                         and end of VPN login banner
15457
15458 2005-09-07  Dan Williams  <dcbw@redhat.com>
15459
15460         * The great VPN Manager rewrite of 2005
15461
15462 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15463
15464         * gnome/applet/menu-items.c:
15465         * gnome/applet/nm-device.c:
15466         * gnome/applet/wireless-network.c:
15467         * gnome/libnm_glib/libnm_glib.c:
15468         * src/NetworkManagerDbusUtils.c:
15469         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15470         g_malloc0 doesn't return NULL
15471
15472 2005-09-06  Dan Williams  <dcbw@redhat.com>
15473
15474         Patch from Tomislav Vujec <tvujec@redhat.com>
15475         * src/NetworkManagerDevice.c
15476                 - (nm_get_device_by_udi): don't return a device when we
15477                         actually didn't find what we were looking for
15478
15479 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15480
15481         * gnome/applet/applet-dbus-devices.c:
15482         * gnome/applet/applet-dbus-devices.h:
15483         * gnome/applet/applet-dbus.c:
15484         * src/NetworkManagerDbus.c:
15485         * src/NetworkManagerDbus.h:
15486         * src/NetworkManagerDevice.c:
15487         * src/nm-dbus-device.c:
15488         Make NM push updates about active device strength when it changes,
15489         rather than having the applet poll every 2s.
15490
15491 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15492
15493         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15494         network_device_set_strength
15495
15496 2005-09-04  Dan Williams  <dcbw@redhat.com>
15497
15498         Patch from Bill Nottingham <notting@redhat.com>
15499         * src/NetworkManagerDevice.c
15500                 - (nm_device_activation_cancel): reset the quit_activation flag
15501
15502 2005-09-04  Dan Williams  <dcbw@redhat.com>
15503
15504         * src/nm-activation-request.c
15505                 - (nm_act_request_unref): actually free the structure,
15506                         which we didn't seem to be doing before
15507
15508 2005-09-04  Dan Williams  <dcbw@redhat.com>
15509
15510         Patch from John Palmieri <johnp@redhat.com>
15511         * gnome/applet/applet-dbus-devices.c
15512                 - Fix up unreffing of DBusMessage objects
15513
15514 2005-09-04  Dan Williams  <dcbw@redhat.com>
15515
15516         Patch from John Palmieri <johnp@redhat.com>
15517         * gnome/applet/nm-device.c
15518                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15519
15520 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15521
15522         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15523
15524 2005-09-02  Bill Nottingham  <notting@redhat.com>
15525
15526         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15527
15528 2005-09-01  Dan Williams  <dcbw@redhat.com>
15529
15530         * src/NetworkManager.c
15531                 - (nm_remove_device_from_list): rename to nm_remove_device
15532                 - (nm_hal_device_removed): call nm_remove_device()
15533
15534         * src/NetworkManagerDevice.c
15535                 - Change the NMWirelessScanCB member 'reschedule' which
15536                         wasn't used to 'force' to indicate that we need to
15537                         force a scan when adding a device
15538
15539         * src/nm-dbus-nm.c
15540                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15541                         from the device list
15542                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15543
15544 2005-09-01  Robert Love  <rml@novell.com>
15545
15546         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15547           and the check "!iface" in the error case is probably never true.
15548
15549 2005-09-01  Dan Williams  <dcbw@redhat.com>
15550
15551         Patch from Bill Nottingham <notting@redhat.com>
15552         * src/backends/NetworkManagerRedHat.c
15553                 - Add initial dialup support to Red Hat/Fedora backend
15554
15555 2005-09-01  Dan Williams  <dcbw@redhat.com>
15556
15557         * gnome/applet/applet-dbus-devices.c
15558                 - Sort both wireless networks and devices again, which got
15559                         broken when removing threading
15560
15561 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15562
15563         * gnome/applet/applet.c:
15564         Only show the "Stop/Start All Wireless Devices" menuitem
15565         if we actually have wireless devices.
15566
15567         * gnome/applet/applet-dbus-info.c:
15568         * gnome/applet/applet.c:
15569         * gnome/applet/other-network-dialog.c:
15570         * gnome/applet/vpn-password-dialog.c:
15571         Drop the gtk_dialog_run () calls in favor of connecting to
15572         "response" signals, needed now that the applet is not threaded.
15573
15574 2005-08-31  Dan Williams  <dcbw@redhat.com>
15575
15576         Patch from Bill Moss <bmoss@clemson.edu>
15577         * src/NetworkManagerDevice.c
15578                 - (nm_device_wireless_scan): fix scan timeout values
15579
15580 2005-08-30  Dan Williams  <dcbw@redhat.com>
15581
15582         * gnome/applet/wireless-applet.glade
15583                 - HIG-ify the Other Wireless Networks dialog a bit more
15584                 - Fix some potential segfaults in the info dialog
15585
15586 2005-08-30  Dan Williams  <dcbw@redhat.com>
15587
15588         * gnome/applet/applet-dbus-devices.c
15589                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15590
15591 2005-08-30  Dan Williams  <dcbw@redhat.com>
15592
15593         * gnome/applet/applet-dbus.[ch]
15594                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15595                         they weren't being used anyway
15596
15597 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15598
15599         * test/nmtestdevices.c: (print_usage), (main):
15600         Check the number of arguments, and fix a typo
15601
15602 2005-08-29  Dan Williams  <dcbw@redhat.com>
15603
15604         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15605         * gnome/applet/applet.c
15606                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15607
15608 2005-08-29  Dan Williams  <dcbw@redhat.com>
15609
15610         * gnome/applet/*
15611                 - Don't use threads any more.  Anything that blocks
15612                         (like gtk_dialog_run()) will  have to get fixed up which
15613                         should happen quickly.  We really only had threads to make
15614                         the animation smooth, and when everything got converted over
15615                         to DBus Pending Calls, the need for threads kind of went away
15616
15617 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15618
15619         * gnome/applet/applet.c: Draw VPN connections as radio items
15620         since we don't yet support multiple VPNs.
15621         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15622         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15623
15624 2005-08-29  Dan Williams  <dcbw@redhat.com>
15625
15626         Patch from j@bootlab.org
15627         - Make --without-named work
15628         - Make --with-dhcdbd work correctly
15629
15630 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15631
15632         * configure.in: Added "ca" to ALL_LINGUAS.
15633
15634 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15635
15636         * Fix up VPN state handling between the applet and NetworkManager,
15637                 so that the applet doesn't show a VPN as connected when one
15638                 really is not
15639                         - The applet no longer has a pointer to the active VPN's
15640                                 name, but tracks each VPNs state individually
15641                         - NM no longer has a "getActiveVPNConnection" method
15642                         - NM no longer broadcasts the "VPNConnectionChange" signal
15643                         - NM now broadcasts a "VPNConnectionStateChange" signal
15644                                 whenever the state of a VPN changes
15645
15646 2005-08-26  Dan Williams <dcbw@redhat.com>
15647
15648         * gnome/applet/applet-dbus-devices.c
15649           gnome/applet/applet-dbus-vpn.c
15650                 - Remove calls to dbus_pending_call_ref() because we already
15651                         "own" the pending call
15652                 - Remove calls to dbus_pending_call_get_completed() because
15653                         when we are in the callback, the pending call is completed
15654                         by definition
15655
15656 2005-08-22  Dan Williams <dcbw@redhat.com>
15657
15658         Patch by Bill Moss <bmoss@clemson.edu>
15659         * src/dhcp-manager/nm-dhcp-manager.c
15660                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15661                         some time to send out a RELEASE if they like
15662
15663 2005-08-22  Dan Williams <dcbw@redhat.com>
15664
15665         Noticed by Bill Moss <bmoss@clemson.edu>
15666         * src/NetworkManagerDbus.c
15667                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15668                         instead of just cancelling its activation
15669
15670         * src/NetworkManagerDevice.c
15671                 - (nm_device_deactivate): some small cleanups
15672                 - (nm_device_set_user_key_for_network): deactivate the device
15673                         instead of just cancelling its activation
15674
15675 2005-08-22  Dan Williams <dcbw@redhat.com>
15676
15677         Noticed by Bill Moss <bmoss@clemson.edu>
15678         * src/NetworkManagerDevice.c
15679                 - (nm_device_wireless_scan): fix scan timeout, we were
15680                         waiting way too long for scans to complete
15681
15682 2005-08-22  Dan Williams <dcbw@redhat.com>
15683
15684         Patch from j@bootlab.org:
15685         * src/backends/NetworkManagerDebian.c
15686                 - Make the Debian backend work for static IP again
15687
15688 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15689
15690         * gnome/applet/other-network-dialog.c:
15691         The "Create New Network" and "Connect to Other Network"
15692         dialogs share alot of code, but shouldn't share a window
15693         title.  Give them different ones.
15694
15695         * gnome/applet/wireless-applet.glade:
15696         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15697         Some more minor UI tweaks.
15698
15699 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15700
15701         * gnome/applet/other-network-dialog.c:
15702         * gnome/applet/wireless-applet.glade:
15703         Also need mnemonic widgets, and underline enabled.
15704
15705 2005-08-19  Dan Williams <dcbw@redhat.com>
15706
15707         * vpn-daemons/vpnc/nm-vpnc-service.c
15708                 - (vpnc_watch_cb): remove no-longer-relevant comment
15709                 - (write_config_option): new function, helper to write
15710                         config options to vpnc's stdin
15711                 - (nm_vpnc_config_write): use the new helper, make the
15712                         code shorter
15713
15714 2005-08-19  Christopher Aillon <caillon@redhat.com>
15715
15716         * gnome/applet/passphrase-dialog.c:
15717         * gnome/applet/wireless-applet.glade:
15718         Make the passphrase dialog response based, and treat
15719         responses other than OK (such as Esc, [X]) as a cancel.
15720
15721 2005-08-18  Christopher Aillon <caillon@redhat.com>
15722
15723         * initscript/Gentoo/NetworkManager:
15724         * initscript/RedHat/NetworkManager:
15725         * initscript/RedHat/NetworkManagerDispatcher:
15726         * initscript/SUSE/networkmanager:
15727         CVS remove these in place of .in replacements
15728
15729         * configure.in:
15730         * initscript/Gentoo/NetworkManager.in:
15731         * initscript/RedHat/NetworkManager.in:
15732         * initscript/RedHat/NetworkManagerDispatcher.in:
15733         * initscript/SUSE/networkmanager.in:
15734         These scripts now are generated so they work still when
15735         NM is built using a bindir other than /usr/bin
15736
15737 2005-08-18  Dan Williams <dcbw@redhat.com>
15738
15739         * gnome/applet/main.c
15740                 - Revert previous change for --no-session since
15741                         --sm-disable does the same thing
15742
15743 2005-08-18  Dan Williams <dcbw@redhat.com>
15744
15745         * gnome/applet/applet-dbus-info.c
15746                 - (nmi_dbus_create_error_message): new function
15747                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15748                         functions.  Also don't check for both device _and_ network before
15749                         asking for a user's key, because we may not have gotten all our
15750                         networks back from NM quite yet (due to the dbus pending calls
15751                         coming in later).  Fixes a hang in NM/nm-applet.
15752
15753         * src/NetworkManagerDbus.c
15754                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15755                         slightly more sane manner, even though we are still broken for
15756                         certain other error conditions.
15757                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15758                         to the info-daemon too
15759
15760         * src/NetworkManagerDevice.c
15761                 - Fix some debug messages to be info messages instead
15762
15763 2005-08-18  Dan Williams <dcbw@redhat.com>
15764
15765         * gnome/applet/main.c
15766                 - Add new "--no-session" parameter that disables applet
15767                         session management, ie for testing
15768
15769 2005-08-18  Christopher Aillon <caillon@redhat.com>
15770
15771         * gnome/applet/other-network-dialog.c:
15772         * gnome/applet/wireless-applet.glade: More mnemonics
15773
15774 2005-08-17  Robert Love  <rml@novell.com>
15775
15776         * initscript/SUSE/networkmanager: update
15777
15778 2005-08-17  Dan Williams  <dcbw@redhat.com>
15779
15780         * Tag NM_0_4_1_RELEASE
15781
15782 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15783
15784         * gnome/applet/applet.c: More translatable string cleanup
15785
15786
15787 2005-08-17  Dan Williams  <dcbw@redhat.com>
15788
15789         * gnome/applet/applet-dbus-info.c
15790                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15791                         from the dbus message, which tells us to unconditionally
15792                         ask the user for a new key.  Otherwise, we pull the key from
15793                         the keyring and return it.  If we fail to get the key from the
15794                         keyring, we ask the user for a new key.
15795                 - (nmi_dbus_get_network_key): new function to grab the key for
15796                         an essid from the keyring.
15797                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15798                         Also, don't return any key in the dbus message.
15799
15800         * src/NetworkManagerDbus.[ch]
15801                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15802                         indicate that we unconditionally want a new key.  This function
15803                         is now also used to get keys from the info-daemon which are
15804                         pre-stored, not just for asking the user for a new key.  The
15805                         "new_key" parameter indicates whether or not we wish to ask the
15806                         user for a new key.
15807                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15808                         info-daemon in the return message, so use NULL instead.  The
15809                         key will be filled in at connect time by calling
15810                         nm_dbus_get_user_key_for_network()
15811
15812         * src/NetworkManagerDevice.c
15813                 - (nm_device_wireless_configure): update for "new_key" param to
15814                         nm_dbus_get_user_key_for_network().  We initially set new_key
15815                         to FALSE to see if we have a stored key in the info-daemon, but
15816                         if the connection is unsuccessful at this stage we request a
15817                         new one
15818
15819 2005-08-17  Dan Williams  <dcbw@redhat.com>
15820
15821         * gnome/applet/icons/nm-no-connection.png
15822           gnome/applet/icons/nm-device-wired.png
15823                 - Use Diana's new RJ45 connector icons
15824
15825 2005-08-17  Dan Williams  <dcbw@redhat.com>
15826
15827         * src/NetworkManagerPolicy.c
15828                 - (nm_policy_device_change_check): clarify switching rules if
15829                         both new and old devices are valid; mainly, don't switch
15830                         away from user-requested wireless connection back to a wired
15831                         one
15832
15833 2005-08-17  Dan Williams  <dcbw@redhat.com>
15834
15835         * gnome/applet/Makefile.am
15836                 - Relocate the applet to /usr/bin since it is no longer
15837                         executed by anything, but directly by the user
15838
15839 2005-08-17  Dan Williams  <dcbw@redhat.com>
15840
15841         Patch from Bill Moss <bmoss@clemson.edu>
15842
15843         * gnome/applet/applet-dbus-info.[ch]
15844                 - (nmi_save_network_info): save timestamp for network if it
15845                         was a change requested by the user
15846                 - (nmi_dbus_update_network_info): get user_requested from dbus
15847                         message and pass to nmi_save_network_info()
15848
15849         * gnome/applet/applet.c
15850                 - (nmwa_update_network_timestamp): remove
15851                 - (nmwa_menu_item_activate): don't set timestamp on networks
15852                         here, only after a successful connect in nmi_save_network_info()
15853
15854         * src/NetworkManagerDbus.[ch]
15855                 - (nm_dbus_update_network_info): pass user_requested into the 
15856                         dbus message
15857
15858         * src/NetworkManagerPolicy.c
15859                 - (nm_policy_activation_finish): pass user_requested to
15860                         nm_dbus_update_network_info()
15861
15862 2005-08-16  Robert Love  <rml@novell.com>
15863
15864         * gnome/applet/applet.c: Better "Dial Up" menu item.
15865
15866 2005-08-16  Robert Love  <rml@novell.com>
15867
15868         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15869           "Connection Information" menu item.
15870
15871 2005-08-16  Dan Williams  <dcbw@redhat.com>
15872
15873         Patch from j@bootlab.org
15874         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15875
15876         * configure.in: allow specifying the path to dhcdbd
15877
15878 2005-08-16  Robert Love  <rml@novell.com>
15879
15880         Patch from j@bootlab.org
15881         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15882           src/backends/interface_parser.h: Debian dialup support.
15883
15884 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15885
15886         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15887         * gnome/applet/applet.c: Add some mnemonics for VPNC
15888
15889         * vpn-daemons/.cvsignore: fix this up a little bit
15890
15891 2005-08-16  Robert Love  <rml@novell.com>
15892
15893         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15894           support.
15895
15896 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15897
15898         * gnome/applet/applet.c: Split markup out of translatable strings
15899         and clean up logic a little bit.  (fixes #309012)
15900
15901 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15902
15903         * gnome/vpn-properties/nm-vpn-properties.c:
15904         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15905         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15906         Makeshift fix to remove newlines from translatable strings.
15907         Note that we now return an allocated string, so callers of
15908         get_confirmation_details () must now call g_free () on the
15909         result. (fixes #309033).
15910
15911 2005-08-12  Robert Love  <rml@novell.com>
15912
15913         * gnome/applet/applet-dbus.c: remove newlines from translatable
15914           strings--not needed here anyway. (fix b.g.o #309011)
15915         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15916
15917 2005-08-11  Robert Love  <rml@novell.com>
15918
15919         * gnome/applet/applet.c: mark string as translatable.
15920
15921 2005-08-11  Robert Love  <rml@novell.com>
15922
15923         * initscript/SUSE/networkmanager: update.
15924
15925 2005-08-11  Dan Williams  <dcbw@redhat.com>
15926
15927         * src/nm-dhcp-manager.c
15928                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15929                         an gateway returned from DHCP, try to use the address of the DHCP
15930                         server as the gateway instead.  Found by Ralf Ertzinger.
15931
15932 2005-08-10  Robert Love  <rml@novell.com>
15933
15934         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15935           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15936
15937 2005-08-10  Dan Williams  <dcbw@redhat.com>
15938
15939         Patch from Bill Moss <bmoss@clemson.edu>
15940         * Consolidate writes of access point information updates to the info daemon
15941                 so that we only do it when the connection to the access point was
15942                 successful.  Also consolidates updates to GConf in the Gnome applet.
15943
15944         * src/nm-netlink-monitor.c
15945                 - Silence compile warning when calling g_object_new()
15946
15947 2005-08-08  Dan Williams  <dcbw@redhat.com>
15948
15949         Patch from Steev <steev@steev.net>:
15950         * src/backends/NetworkManagerGentoo.c
15951                 - Stub new dialup backend functions
15952
15953 2005-08-08  Dan Williams  <dcbw@redhat.com>
15954
15955         Patch from Colin Slater:
15956         * src/backends/NetworkManagerGentoo.c
15957                 - (nm_system_update_dns): Fix exit status check for restarting
15958                         nscd
15959
15960 2005-08-05  Robert Love  <rml@novell.com>
15961
15962         * NetworkManager.h,
15963           gnome/applet/applet-dbus-devices.c,
15964           gnome/applet/applet-dbus-devices.h,
15965           gnome/applet/applet-dbus.c,
15966           gnome/applet/applet.c,
15967           gnome/applet/applet.h,
15968           src/NetworkManager.c,
15969           src/NetworkManagerMain.h,
15970           src/NetworkManagerSystem.h,
15971           src/backends/NetworkManagerRedHat.c,
15972           src/backends/NetworkManagerSuSE.c,
15973           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15974
15975 2005-08-05  Robert Love  <rml@novell.com>
15976
15977         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15978           machine's hostname to make adhoc creation idiot-proof.
15979
15980 2005-08-04  Robert Love  <rml@novell.com>
15981
15982         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15983           freed.
15984
15985 2005-08-04  Dan Williams  <dcbw@redhat.com>
15986
15987         * gnome/applet/applet-dbus-info.c
15988           gnome/applet/applet-dbus-info.h
15989                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15990                         to store key, key type, and auth method rather than just auth method
15991                 - (nmi_dbus_update_network_info): new function
15992                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15993
15994         * gnome/applet/passphrase-dialog.c
15995                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15996                         of saving the info ourselves
15997
15998         * gnome/libnm_glib/libnm_glib.c
15999                 - Remove the stupid version check for dbus
16000
16001         * src/NetworkManagerAP.c
16002           src/NetworkManagerAP.h
16003                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16004
16005         * src/NetworkManagerDbus.c
16006           src/NetworkManagerDbus.h
16007                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16008                         more than just the auth method
16009
16010         * src/NetworkManagerDevice.c
16011                 - Update network info at the appropriate times
16012
16013 2005-07-29  Ray Strode  <rstrode@redhat.com>
16014
16015         * src/NetworkManager.c (nm_info_handler): don't use input as format
16016         string (Spotted by Ian Jackson).
16017
16018 2005-07-27  Dan Williams  <dcbw@redhat.com>
16019
16020         * src/nm-dbus-nm.c
16021           src/nm-dbus-net.c
16022                 - Random cleanups of spacing
16023
16024         * gnome/applet/applet.h
16025           gnome/applet/other-network-dialog.c
16026           gnome/applet/passphrase-dialog.c
16027                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16028
16029         Patch from Bill Moss:
16030                 - Make Other Wireless Networks work again with encryption keys
16031
16032 2005-07-26  Dan Williams  <dcbw@redhat.com>
16033
16034         Patch from Steev <steev@steev.net>:
16035         * src/backends/NetworkManagerGentoo.c
16036           src/backends/Makefile.am
16037                 - Fix up Gentoo backend
16038
16039 2005-07-26  Robert Love  <rml@novell.com>
16040
16041         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16042
16043 2005-07-25  Robert Love  <rml@novell.com>
16044
16045         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16046           in the same group as the wireless networks, since they are all
16047           mutually exclusive.
16048
16049 2005-07-24  Ray Strode  <rstrode@redhat.com>
16050
16051         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16052         remove unneeded NULL arg from g_object_new().  Any
16053         warnings caused by not having the extra NULL are just a
16054         result of a bug in glib 2.7.0 - 2.7.2.
16055
16056 2005-07-22  Robert Love  <rml@novell.com>
16057
16058         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16059
16060 2005-07-22  Robert Love  <rml@novell.com>
16061
16062         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16063           parameters (gcc 4.0.2 warning fix).
16064
16065 2005-07-18  Robert Love  <rml@novell.com>
16066
16067         Suggested by Aaron Bockover (abockover@novell.com)
16068         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16069           s/Ascii/ASCII
16070         * gnome/applet/passphrase-dialog.c: ditto
16071         * gnome/applet/wireless-applet.glade: ditto
16072
16073 2005-07-13  Dan Williams  <dcbw@redhat.com>
16074
16075         Patch from Ray Strode <halfline@gmail.com>
16076         * vpn-daemons/vpnc/nm-vpnc-service.c
16077                 - Don't let vpnc daemonize, fixes some races with PID file reading
16078
16079 2005-07-13  Dan Williams  <dcbw@redhat.com>
16080
16081         Patch from Ray Strode <halfline@gmail.com>
16082         * Random cleanups for strict CFLAGS
16083
16084 2005-07-07  Dan Williams  <dcbw@redhat.com>
16085
16086         Patch from Derek Atkins <warlord@MIT.EDU>
16087         * src/nm-dbus-net.c:
16088                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16089
16090 2005-07-07  Dan Williams  <dcbw@redhat.com>
16091
16092         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16093         * src/backends/NetworkManagerGentoo.c
16094                 - Gentoo backend Static IP nameserver fixes
16095                 - General Gentoo backend goodness
16096
16097 2005-07-07  Dan Williams  <dcbw@redhat.com>
16098
16099         Patch from Bastien Nocera:
16100         * gnome/applet/applet.c
16101                 - Fix up error reporting when icons or glade files are missing
16102
16103 2005-07-07  Robert Love  <rml@novell.com>
16104
16105         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16106           are not any VPN connections above it.
16107
16108 2005-07-07  Robert Love  <rml@novell.com>
16109
16110         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16111
16112 2005-07-05  Robert Love  <rml@novell.com>
16113
16114         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16115           zero.
16116
16117 2005-07-05  Robert Love  <rml@novell.com>
16118
16119         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16120           on wired or unencrypted wireless.
16121
16122 2005-07-01  Robert Love  <rml@novell.com>
16123
16124         * src/NetworkManagerSystem.c: Print the error via strerror().
16125
16126 2005-06-30  Robert Love  <rml@novell.com>
16127
16128         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16129           then exit if the glade file is not found.  currently the application
16130           just hangs.
16131
16132 2005-06-30  Robert Love  <rml@novell.com>
16133
16134         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16135           explicitly up all interfaces on wake from sleep.
16136
16137 2005-06-30  Robert Love  <rml@novell.com>
16138
16139         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16140           with information about the currently active connection.
16141         * gnome/applet/applet.h: (ditto)
16142         * gnome/applet/wireless-applet.glade: (ditto), new file
16143
16144 2005-06-30  Robert Love  <rml@novell.com>
16145
16146         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16147         * src/nm-dbus-nm.c: print when we sleep and wake up.
16148         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16149         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16150           in /sbin unless D-BUS is, folks).
16151         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16152
16153 2005-06-27  Robert Love  <rml@novell.com>
16154
16155         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16156           case.
16157
16158 2005-06-27  Robert Love  <rml@novell.com>
16159
16160         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16161           items radios.
16162
16163 2005-06-26  Robert Love  <rml@novell.com>
16164
16165         * src/NetworkManagerDevice.c: be specific about which device in
16166           nm_info() message.
16167
16168 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16169
16170         * src/nm-netlink-monitor.c: correct spelling error.
16171
16172 2005-06-23  Robert Love  <rml@novell.com>
16173
16174         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16175         * gnome/applet/passphrase-dialog.c: more of that keyring!
16176
16177 2005-06-23  Robert Love  <rml@novell.com>
16178
16179         * configure.in: remove extraneous GNOMEKEYRING directives.
16180         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16181         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16182         * gnome/applet/passphrase-dialog.c: whitespace.
16183
16184 2005-06-23  Robert Love  <rml@novell.com>
16185
16186         * src/NetworkManagerDevice.c: division in assignment was flipped.
16187
16188 2005-06-23  David Zeuthen  <david@fubar.dk>
16189
16190         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16191         signal to the child to indicate that we got what we wanted when we
16192         see two new-lines right after each other.
16193         (nmwa_vpn_request_password): Pass a structure with several members
16194         instead of just the passwords
16195
16196 2005-06-23  Dan Williams <dcbw@redhat.com>
16197
16198         * src/NetworkManager.c
16199           src/NetworkManagerMain.h
16200                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16201                 - (nm_hal_init): new function, init libhal context then add devices
16202                 - (nm_hal_deinit): new function, clean up libhal context
16203                 - (nm_data_free): Move Hal cleanup here
16204                 - (main): check whether Hal is running, and if so, get a list of
16205                         network devices from it
16206
16207         * src/NetworkManagerDbus.c
16208                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16209                         and when it appears, get a list of network devices from it.  If
16210                         Hal goes away, clean up the libhal context
16211
16212 2005-06-22  Robert Love  <rml@novell.com>
16213
16214         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16215           permissions of scripts before executing.
16216
16217 2005-06-21  Robert Love  <rml@novell.com>
16218
16219         * initscript/SUSE/networkmanager: update.
16220         * src/backends/NetworkManagerSuSE.c: cleanup.
16221
16222 2005-06-21  Robert Love <rml@novell.com>
16223
16224         * gnome/applet/applet.c: use menu mnemonics.
16225         * gnome/applet/menu-items.c: (ditto)
16226
16227 2005-06-21  Robert Love  <rml@novell.com>
16228
16229         * applet/applet-dbus-devices.c: mark non-static functions static.
16230         * applet/applet-dbus-vpn.c: (ditto)
16231         * applet/applet.c: (ditto)
16232         * applet/nm-device.h: (ditto)
16233         * applet/other-network-dialog.c: (ditto)
16234         * applet/passphrase-dialog.c: (ditto)
16235         * NetworkManager.c: (ditto)
16236         * NetworkManagerDbus.c: (ditto)
16237         * NetworkManagerDevice.c: (ditto)
16238         * NetworkManagerPolicy.c: (ditto)
16239         * NetworkManagerUtils.c: (ditto)
16240         * NetworkManagerWireless.c: (ditto)
16241         * NetworkManagerWireless.h: (ditto)
16242         * nm-netlink-monitor.c: (ditto)
16243         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16244         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16245         * autoip.c: include autoip.h.
16246         * autoip.h: new file.  define get_autoip().
16247         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16248         * NetworkManagerDbus.h: remove duplicate definitions.
16249
16250 2005-06-20  Robert Love  <rml@novell.com>
16251
16252         * Makefile.am: Add missing intltool-foo.in generated files to
16253           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16254           with the start of stuff to cleanup on 'distclea'.
16255         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16256           stuff right and 'distcheck' works.
16257         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16258           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16259           Makefile.am for each.  And systray/Makefile needs to be redone.
16260
16261 2005-06-19  Dan Williams <dcbw@redhat.com>
16262
16263         * src/NetworkManagerDevice.c
16264         - (nm_device_wireless_process_scan_results): scan every 20s when
16265           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16266
16267 2005-06-19  Dan Williams <dcbw@redhat.com>
16268
16269         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16270
16271 2005-06-18  Ray Strode <rstrode@redhat.com>
16272
16273         * src/nm-netlink-monitor.c 
16274         (nm_netlink_monitor_event_handler): check for the presence
16275         of either error condition not both. 
16276         
16277         (nm_netlink_monitor_error_handler): emit error signal if
16278         error occurs.
16279
16280         (nm_netlink_monitor_event_handler),
16281         (nm_netlink_monitor_error_handler),
16282         (nm_netlink_monitor_disconnect_handler): if an 
16283         assertion fails disconnect the event handler to prevent 
16284         infinite loops.
16285
16286         * src/nm-netlink-monitor.h: add new error condition
16287         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16288
16289 2005-06-18  Ray Strode <rstrode@redhat.com>
16290
16291         * src/nm-netlink-monitor.c 
16292         (nm_netlink_monitor_event_handler): remove bogus < 0
16293         check on unsigned value and return early if the kernel
16294         didn't send any bytes.
16295
16296 2005-06-17  Robert Love  <rml@novell.com>
16297
16298         * initscript/SUSE/networkmanager: Change the Provides and default
16299         run levels
16300
16301 2005-06-16  Dan Williams <dcbw@redhat.com>
16302
16303         Patch from Robert Love:
16304         * gnome/applet/applet.c
16305                 - Beautify some applet menu item names
16306
16307 2005-06-17  David Zeuthen  <davidz@redhat.com>
16308
16309         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16310         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16311         Also add new methods can_export, import_file and export.
16312
16313         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16314         to the main UI
16315
16316         * gnome/vpn-properties/nm-vpn-properties.c:
16317         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16318         nm-vpn-ui-interface.h.
16319         (update_edit_del_sensitivity): Also update "Export" sensitivity
16320         (add_vpn_connection): Also add new SVC_NAME column
16321         (import_settings): New function
16322         (retrieve_data_from_selected_connection): New function
16323         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16324         this function
16325         (export_cb): New function
16326         (init_app): Also setup the "export" widget
16327         (main): Support the --import-service and --import-file commandline
16328         arguments
16329
16330         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16331         D-BUS 0.34
16332
16333 2005-06-16  Dan Williams <dcbw@redhat.com>
16334
16335         Patch from Robert Love:
16336         * gnome/applet/menu-items.c
16337                 - (network_menu_item_new): pass -1 as wireless network
16338                         menu items height size request rather than ascent / 2
16339
16340 2005-06-16  Dan Williams <dcbw@redhat.com>
16341
16342         * Clean up wording in Wireless Scan Methods menu items and constants
16343
16344 2005-06-16  Robert Love  <rml@novell.com>
16345
16346         * po/POTFILES.in
16347                 - remove gtkcell* files
16348
16349 2005-06-15  Dan Williams <dcbw@redhat.com>
16350
16351         Patch from Robert Love: make the applet stetic
16352
16353         * gnome/applet/Makefile.am
16354                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16355
16356         * gnome/applet/gtkcellview.h
16357           gnome/applet/gtkcellview.c
16358           gnome/applet/gtkcellrendererprogress.h
16359           gnome/applet/gtkcellrendererprogress.c
16360                 - Removed
16361
16362         * gnome/applet/menu-items.c
16363                 - Progress bars are 5:1 size ratio
16364                 - Use GTK progress bars rather than internal ones
16365
16366 2005-06-15  Dan Williams <dcbw@redhat.com>
16367
16368         Patch from Robert Love:
16369         * initscript/SUSE/networkmanager
16370                 - Fix typo
16371
16372 2005-06-15  Dan Williams <dcbw@redhat.com>
16373
16374         * src/backends/NetworkManagerSuSE.c
16375           src/backends/NetworkManagerRedHat.c
16376           src/backends/NetworkManagerDebian.c
16377                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16378
16379 2005-06-15  Dan Williams <dcbw@redhat.com>
16380
16381         * src/backends/NetworkManagerDebian.c
16382                 - Add nm_system_device_get_use_dhcp() to debian backend
16383
16384         Patch from Kay Sievers:
16385         * src/backends/NetworkManagerSuSE.c
16386                 - Update debian backend for static IP nameservers
16387
16388         * src/NetworkManagerDevice.c
16389                 - Actually set the device to use static IP or DHCP rather
16390                         than always DHCP
16391
16392 2005-06-15  Dan Williams <dcbw@redhat.com>
16393
16394         Patch from Thom May:
16395         * src/backends/NetworkManagerDebian.c
16396                 - Update debian backend for static IP nameservers
16397
16398 2005-06-15  Dan Williams <dcbw@redhat.com>
16399
16400         Patches from Robert Love:
16401         * gnome/applet/wireless-applet.glade
16402                 - Tighten up wording
16403
16404         * src/NetworkManagerDevice.c
16405                 - Remove misplaced ';'
16406
16407         * configure.in
16408           initscript/Makefile.am
16409           initscript/SUSE/Makefile.am
16410           initscript/SUSE/networkmanager
16411                 - Add SUSE initscript
16412
16413 2005-06-12  David Zeuthen  <davidz@redhat.com>
16414
16415         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16416
16417         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16418
16419         * gnome/vpn-properties/nm-vpn-properties.c: New file
16420
16421         * gnome/vpn-properties/Makefile.am: New file
16422
16423         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16424         array of passwords
16425
16426         * src/vpn-manager/nm-vpn-manager.c
16427         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16428         instead of just a single one
16429
16430         * src/vpn-manager/nm-dbus-vpn.c:
16431         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16432         here
16433         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16434
16435         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16436         Change the interface here to give a list of passwords. Also, don't
16437         require username, but do require service
16438
16439         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16440         the binary for the auth-dialog and use that instead of putting up a
16441         dialog asking for a single password
16442
16443         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16444         however do remember the service
16445
16446         * gnome/applet/main.c (main): Setup i18n
16447
16448         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16449         connection to '%s'" to the tooltip if we are connected using VPN
16450         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16451         key to determine whether we the auth-dialog needs to
16452         reprompt. Also cope with the fact that the auth-dialog now returns
16453         an array of passwords.
16454         (nmwa_menu_configure_vpn_item_activate): New handler for
16455         "Configure VPN..." menu item
16456         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16457         (is_vpn_available): New function to determine if we got any
16458         NM-compatible VPN software installed
16459         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16460         items only if we have NM-compatible VPN software installed
16461         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16462         logic for detecting when VPN connections are removed
16463
16464         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16465         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16466         since these are defined elsewhere
16467
16468         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16469         function used to keep track of whether the last attempt succeded
16470         (nmwa_dbus_filter): Update last_attempt according to whether the
16471         VPN connection could be established or not
16472
16473         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16474         Change prototype to take an array of passwords, not just a single
16475         password
16476
16477         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16478         update service, not user
16479         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16480         dbus_active_vpn_name is not NULL before using it
16481         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16482         string array instead of assuming a single password
16483
16484         * gnome/applet/applet-dbus-info.c:
16485         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16486         user name; don't read from gconf
16487
16488         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16489         VPN_NAME_FILES_DIR
16490
16491         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16492
16493         * configure.in: Add checks for gmodule-2.0.
16494         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16495         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16496         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16497         for details
16498
16499         * vpn-daemons/Makefile.am: Removed
16500
16501         * vpn-daemons/README: New file to describe extensions points for VPN
16502         software
16503
16504 2005-06-10  Dan Williams <dcbw@redhat.com>
16505
16506         * src/backends/NetworkManagerRedHat.c
16507                 - (get_current_profile_name): new function, grab current network profile name from
16508                         /etc/sysconfig/network
16509                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16510                         update an IP4 Config structure's settings from it
16511                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16512                         get DNS info from current network profile
16513
16514 2005-06-09  Dan Williams <dcbw@redhat.com>
16515
16516         Patch from Robert Love:
16517         * src/NetworkManagerDevice.c
16518           src/NetworkManagerUtils.c
16519                 - 64-bit build fixes
16520
16521 2005-06-09  Dan Williams <dcbw@redhat.com>
16522
16523         Patch from Kay Sievers and Robert Love:
16524         * configure.in
16525           src/backends/Makefile.am
16526           src/backends/NetworkManagerSuSE.c
16527                 - Add SuSE support
16528
16529 2005-06-09  Dan Williams <dcbw@redhat.com>
16530
16531         * NetworkManager.h
16532                 - Add NMWirelessScanMethod enum for scan methods
16533
16534         * gnome/applet/applet-dbus-devices.c
16535                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16536                 - (nmwa_dbus_update_scanning_enabled): remove
16537                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16538                         since it got removed
16539                 - (nmwa_dbus_enable_scanning): remove
16540
16541         * gnome/applet/applet-dbus-info.c
16542                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16543                         update the wireless scanning method from NMI
16544                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16545                         method value to NetworkManager
16546                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16547
16548         * gnome/applet/applet-dbus-info.h
16549                 - Add prototype for nmi_dbus_signal_update_scan_method
16550
16551         * gnome/applet/applet.c
16552                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16553                         Wireless Scanning menu based on current wireless scan method
16554                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16555                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16556                         and update our menu items to make sure the right one is checked
16557                 - (nmwa_set_scanning_enabled_cb): remove
16558                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16559                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16560                         Scanning menu item
16561                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16562                         from GConf
16563                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16564                         so we get notified of preference values too
16565                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16566
16567         * gnome/applet/applet.h
16568                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16569                 - Add wireless scan method member to applet data
16570                 - Remove pause_scanning_item, add Wireless Scanning submenu
16571
16572         * src/NetworkManager.c
16573                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16574                 - (main): grab scanning method from NMI if we can
16575
16576         * src/NetworkManagerDbus.c
16577                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16578                         nm_dbus_update_wireless_scan_method()
16579                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16580                         from NMI
16581                 - (nm_dbus_nmi_is_running): redundant function, removed
16582                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16583                         when NMI comes back
16584
16585         * src/NetworkManagerDevice.c
16586                 - (nm_device_is_activated): return TRUE if the device is activated
16587                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16588                         and we are activated
16589
16590         * src/nm-dbus-nm.c
16591                 - (nm_dbus_nm_set_scanning_enabled): removed
16592                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16593                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16594
16595 2005-06-09  Dan Williams <dcbw@redhat.com>
16596
16597         * NetworkManager.h
16598           src/vpn-manager/nm-vpn-service.c
16599                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16600
16601 2005-05-27  Dan Williams <dcbw@redhat.com>
16602
16603         * vpn-daemons/vpnc/nm-vpnc-service.c
16604                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16605                         Should fix the bug where the VPN connection terminates the first time.
16606
16607 2005-05-20  Dan Williams <dcbw@redhat.com>
16608
16609         * NetworkManager.h
16610                 - Differentiate VPN config signals between bad VPN config options
16611                         and bad IP config
16612
16613         * gnome/applet/applet-dbus-info.h
16614                 - Add prototypes for wireless network and vpn connection update functions
16615
16616         * gnome/applet/applet-dbus.c
16617                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16618
16619         * gnome/applet/applet.c
16620                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16621                         error signals
16622                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16623                         propogation to NetworkManager
16624                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16625                         notify propogation to NetworkManager
16626
16627         * src/NetworkManagerDbus.c
16628                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16629                         are updating so a network can be removed from it if necessary
16630
16631         * src/vpn-manager/nm-vpn-manager.c
16632                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16633
16634         * vpn-daemons/vpnc/nm-vpnc-service.c
16635                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16636                 - (nm_vpnc_dbus_signal_launch_failed): remove
16637                 - (nm_vpnc_dbus_signal_connect_failed): remove
16638                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16639                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16640                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16641                         for new generalized error signal function, remove config file stuff
16642                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16643                         we can write configuration options to it
16644                 - (nm_vpnc_config_file_generate): removed
16645                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16646                 - (nm_vpnc_config_options_validate): validate the config options we receive
16647                         from NetworkManager to block potential exploits
16648                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16649                         starting vpnc
16650                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16651                         to NetworkManager
16652
16653 2005-05-16  Dan Williams  <dcbw@redhat.com>
16654
16655         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16656                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16657                         is not "connect"
16658
16659 2005-05-16  Dan Williams  <dcbw@redhat.com>
16660
16661         Patch from Tomislav Vujec <tvujec@redhat.com>
16662         * gnome/applet/applet-dbus-info.c
16663                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16664                         GConf and pass them to NetworkManager.  New key is 'routes' under
16665                         the VPN connection, and should be a string list
16666
16667         * src/NetworkManagerSystem.c
16668                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16669                         set them on the device when we set the rest of the VPN config.  Ensure
16670                         they are in the correct format since they are passed directly to the
16671                         command line.
16672
16673         * src/backends/NetworkManagerRedHat.c
16674           src/backends/NetworkManagerDebian.c
16675                 - (nm_system_device_add_route_via_device_with_iface): new function
16676
16677         * src/vpn-manager/nm-dbus-vpn.c
16678                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16679
16680         * src/vpn-manager/nm-vpn-manager.c
16681                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16682                         them into the IP4 config functions
16683
16684 2005-05-15  Dan Williams  <dcbw@redhat.com>
16685
16686         From Filip Miletic:
16687         * po/sr.po
16688           po/sr@Latn.po
16689           configure.in
16690                 - Serbian translation added
16691
16692 2005-05-15  Dan Williams  <dcbw@redhat.com>
16693
16694         * dispatcher-daemon/NetworkManagerDispatcher.c
16695                 - (main): sync arguments with NetworkManager and the applet, now use
16696                         "--no-daemon" rather than "daemon=no"
16697                 - (nmd_print_usage): Fix script path in usage message
16698
16699 2005-05-15  Dan Williams  <dcbw@redhat.com>
16700
16701         * src/NetworkManagerDevice.[ch]
16702           src/NetworkManagerPolicy.c
16703           src/NetworkManager.c
16704           src/nm-dbus-nm.c
16705                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16706                         longer send the DeviceNoLongerActive signal unconditionally, but only
16707                         when the device is actually active.
16708
16709         * dispatcher-daemon/NetworkManagerDispatcher.c
16710                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16711                         and simplify the logic
16712                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16713                         we free it later on
16714
16715         * initscript/RedHat/Makefile.am
16716           initscript/RedHat/NetworkManagerDispatcher
16717                 - Add initscript for NetworkManagerDispatcher
16718
16719
16720         Patch from Bill Moss:
16721         * dispatcher-daemon/NetworkManagerDispatcher.c
16722                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16723
16724         * src/NetworkManagerDbus.c
16725                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16726                         and DeviceNowActive gets signaled, then the device has a new IP address
16727                         anyway.  There's no need for a separate signal.
16728
16729         * src/NetworkManagerDevice.c
16730                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16731
16732         * src/NetworkManagerPolicy.c
16733                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16734                         activates successfully.  This kind of went missing when I reworked the
16735                         activation code.
16736
16737 2005-05-15  Dan Williams  <dcbw@redhat.com>
16738
16739         * configure.in
16740                 - Check for dhcdbd and error if its not found
16741
16742         * src/dhcp-manager/Makefile.am
16743           src/dhcp-manager/nm-dhcp-manager.c
16744                 - Use path to dhcdbd that configure found
16745
16746 2005-05-14  Dan Williams  <dcbw@redhat.com>
16747
16748         * gnome/applet/nm-device.c
16749                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16750                         sort wireless networks alphabetically
16751
16752         * gnome/applet/applet-dbus-devices.c
16753                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16754                         before copying them over to the GUI
16755
16756 2005-05-14  Dan Williams  <dcbw@redhat.com>
16757
16758         * src/NetworkManager.c
16759                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16760                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16761                         the device list, as does nm_get_active_device() which is called from
16762                         nm_vpn_manager_deactivate_vpn_connection().
16763
16764 2005-05-14  Dan Williams  <dcbw@redhat.com>
16765
16766         * NetworkManager.h
16767                 - Add signals for VPN Launch and Connect failures
16768
16769         * gnome/applet/applet-dbus.c
16770                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16771
16772         * gnome/applet/applet.c
16773                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16774                         function to handle all VPN failure messages
16775                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16776                         function to hanlde all VPN failure  messages
16777                 - (show_warning_dialog): work around focus-stealing prevention
16778
16779         * gnome/applet/other-network-dialog.c
16780           gnome/applet/passphrase-dialog.c
16781                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16782                         problem where it never enabled for ASCII Key and Hex Key types
16783
16784         * gnome/applet/wireless-applet.glade
16785                 - Add window title to Other Wireless Network Dialog
16786
16787         * src/vpn-manager/nm-dbus-vpn.c
16788                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16789                         function to handle all VPN failure messages
16790
16791         * src/vpn-manager/nm-vpn-manager.c
16792                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16793
16794         * vpn-daemons/vpnc/nm-vpnc-service.c
16795                 - (nm_vpnc_dbus_signal_launch_failed): new function
16796                 - (nm_vpnc_dbus_signal_connect_failed): new function
16797                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16798                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16799                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16800                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16801
16802 2005-05-11  Dan Williams  <dcbw@redhat.com>
16803
16804         * vpn-daemons/vpnc/nm-vpnc-service.c
16805                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16806                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16807                         file exists before trying to write it out.
16808
16809 2005-05-10  Dan Williams  <dcbw@redhat.com>
16810
16811     * gnome/applet/applet-dbus-device.c
16812         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16813             prevented just entering ESSID and leaving key and key type up to
16814             NetworkManager (which should have them already cached)
16815
16816 2005-05-08  Dan Williams  <dcbw@redhat.com>
16817
16818         * src/NetworkManagerPolicy.c
16819                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16820                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16821                         fix a situation where NM is told to terminate and the device stops activation,
16822                         but the main thread isn't aware of that because it would never have run
16823                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16824                         had already quit.
16825
16826         * src/NetworkManagerDevice.c
16827                 - (nm_device_probe_wired_link_state): cosmetic fixes
16828                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16829                         we've failed to activate or been canceled.
16830                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16831
16832 2005-05-08  Dan Williams  <dcbw@redhat.com>
16833
16834         * src/NetworkManagerWireless.c
16835                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16836                         value of WEXT quality structures, and add a debug message when we cannot
16837                         determine any quality % at all
16838
16839 2005-05-08  Dan Williams  <dcbw@redhat.com>
16840
16841         * src/dhcp-manager/nm-dhcp-manager.c
16842                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16843                         it goes down.
16844
16845 2005-05-06  Dan Williams  <dcbw@redhat.com>
16846
16847         * gnome/applet/applet-dbus-device.c
16848           gnome/applet/applet-dbus-info.c
16849           gnome/applet/applet-dbus.c
16850           gnome/applet/applet.c
16851           gnome/applet/applet.h
16852                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16853
16854         * gnome/applet/applet-dbus.c
16855                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16856                         so we notice when wired device's carriers come back on.  Should
16857                         fix issue with wired devices being grayed out even if the cable
16858                         is in, for devices that support carrier detection.
16859
16860         * gnome/applet/applet.c
16861                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16862                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16863                         tooltip message
16864                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16865                         Fix situation where applet wouldn't respond to menu selections
16866
16867         * src/NetworkManager.c
16868           src/NetworkManagerDevice.c
16869           src/NetworkManagerDbus.c
16870           src/NetworkManagerDbus.h
16871                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16872
16873         * src/NetworkManagerDbus.c
16874                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16875                         Remove, no longer used or relevant
16876                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16877                 - (nm_dbus_schedule_device_status_change_signal): add
16878
16879         * src/NetworkManagerDevice.c
16880                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16881                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16882                         ie don't deactivate them unless explicitly told to by the user.  Also send
16883                         CARRIER_OFF / CARRIER_ON signals when link changes
16884                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16885                         Don't print error message when device is no longer around
16886                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16887                         not just during activation
16888
16889         * src/NetworkManagerPolicy.c
16890                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16891                         auto-device-selection.
16892                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16893
16894         * src/NetworkManagerSystem.c
16895                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16896                         is no longer present (Bill Moss)
16897
16898         * src/backends/shvar.c
16899                 - (svOpenFile): Open read-only to make SELinux happy
16900
16901         * src/backends/NetworkManagerRedHat.c
16902                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16903                         the path to the ifcfg-* files
16904
16905 2005-05-05  Dan Williams  <dcbw@redhat.com>
16906
16907         * Expose activation stages to NetworkManager clients, like the applet
16908         * Add Diana's progress icons to the applet, cued off NM activation stage
16909         * Use more descriptive tooltips, cued off NM activation stage
16910
16911 2005-05-05  Ray Strode  <rstrode@redhat.com>
16912
16913         * src/nm-netlink-monitor.c:
16914                 - Use clear_event_source instead of g_nullify_pointer() again.
16915
16916 2005-05-05  Dan Williams  <dcbw@redhat.com>
16917
16918         * gnome/applet/main.c
16919                 - Fix session management so the applet is actually managed now
16920
16921         * gnome/applet/passphrase-dialog.c
16922                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16923
16924 2005-05-05  Dan Williams  <dcbw@redhat.com>
16925
16926         Patch from Bill Moss:
16927         * gnome/libnm_glib/libnm_glib.c
16928                 - Fix for dbus-0.33
16929
16930 2005-05-05  Dan Williams  <dcbw@redhat.com>
16931
16932         Suggestion from Bill Moss:
16933         * src/NetworkManagerSystem.c
16934                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16935
16936
16937         * src/NetworkManager.c
16938                 - (nm_data_free): move destruction of the various managers after
16939                         release of device list, because deactivating and freeing a device
16940                         requires at least the named manager
16941                 - (nm_poll_and_update_wireless_link_state):
16942                   (nm_device_link_activated):
16943                   (nm_device_link_deactivated):
16944                         don't grab the device list lock when actually updating device
16945                         link status or strength, since nm_device_set_link_active()
16946                         needs to call nm_get_active_device(), which also locks the device list.
16947
16948         * src/NetworkManagerDevice.c
16949                 - (nm_device_set_link_active): if a device's link switches from off->on,
16950                         and it's wired, and the active device is wireless (or there is no
16951                         active device), activate the new device whose link just came on
16952                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16953                         my only calling the link to the current ap "failed" when more than 2
16954                         consecutive link checks have failed
16955
16956 2005-05-04  Dan Williams  <dcbw@redhat.com>
16957
16958         * src/NetworkManagerDevice.c
16959                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16960                         but let link_to_specific_ap() do the locking where it needs
16961
16962         Patch from Bill Moss:
16963         * src/NetworkManagerSystem.c
16964                 - Set MTU of VPN devices to 1412
16965
16966 2005-05-04  Dan Williams  <dcbw@redhat.com>
16967
16968         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16969
16970         * Fix some holes in device activation and retaining the currently connected
16971                 access point
16972
16973 2005-05-03  Dan Williams  <dcbw@redhat.com>
16974
16975         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16976           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16977           means you need dhcdbd, which you can get here (get the latest one):
16978
16979                 http://people.redhat.com/jvdias/dhcdbd/
16980
16981           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16982           interface as dhcdbd.
16983
16984         * Rewrite device activation to facilitate the new DHCP infrastructure and
16985           future improvements.  Its now "activation request" based, ie there is a single
16986           activation request composed of the device, access point, and other info which
16987           follows the entire activation process.  There are 5 stages of the activation
16988           process which correspond to:
16989
16990                 1) Device preparation
16991                 2) Device configuration (bring it up, set ESSID/Key/etc)
16992                 3) IP Config Start (fire off DHCP if we're using it)
16993                 4) IP Config Get (grab config from DHCP or static config files)
16994                 5) IP Config Commit (set device's IP address, DNS, etc)
16995
16996           Note that there is no longer a "scanning" step, since the access point must
16997           be known _before_ activation starts.  If the access point drops out or does
16998           not exist for some reason, the entire activation process fails and must be
16999           restarted for a different access point or device.
17000
17001         Patch from Bill Moss:
17002         * gnome/applet/applet.c
17003                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17004
17005 2005-04-27  Dan Williams  <dcbw@redhat.com>
17006
17007         * gnome/applet/applet-dbus-vpn.c
17008           gnome/applet/applet.c
17009           gnome/applet/applet.h
17010                 - Fix up active VPN handling so that we reliably know when a VPN
17011                         connection has been deactivated
17012
17013         * src/vpn-manager/nm-vpn-manager.c
17014                 - Remove duplicate VPNConnectionChange signal
17015
17016 2005-04-27  Dan Williams  <dcbw@redhat.com>
17017
17018         Patch from Peter Jones:
17019         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17020
17021         Patch from Bill Moss:
17022         * src/NetworkManagerSystem.c
17023                 - Fix checking of return value from ioctl()
17024
17025 2005-04-27  Dan Williams  <dcbw@redhat.com>
17026
17027         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17028         * Warn and exit if icons cannot be found
17029
17030 2005-04-27  Dan Williams  <dcbw@redhat.com>
17031
17032         Patch from Tom Parker:
17033         * Update debian backend
17034
17035 2005-04-27  Dan Williams  <dcbw@redhat.com>
17036
17037         * Merge the applet and the info-daemon, and move the converged
17038                 applet under gnome/applet
17039         * Move libnm_glib to gnome/libnm_glib
17040         * Convert most dbus calls between the applet, info-daemon, and NM
17041                 into async calls
17042         * Fix a few things valgrind noticed
17043         * Make NM broadcast state more reliably
17044
17045 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17046
17047         * configure.in: Added ne in ALL_LINGUAS
17048
17049 2005-04-15  Dan Williams  <dcbw@redhat.com>
17050
17051         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17052                 code for dbus 0.2x versions
17053
17054 2005-04-15  Dan Williams  <dcbw@redhat.com>
17055
17056         Patches from Tom Parker:
17057         - Fix memleaks
17058         - Join with worker thread rather than polling for its exit
17059
17060         Patch from Bill Moss:
17061         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17062
17063 2005-04-15  Dan Williams  <dcbw@redhat.com>
17064
17065         - Fixes to pass 'make distcheck'
17066
17067 2005-04-15  Dan Williams  <dcbw@redhat.com>
17068
17069         Initial VPN Support
17070                 - supports 'vpnc'
17071                 - reworks device IP configuration, backend files have changed and will need
17072                         to be updated for all distributions.  I will try to do what I can for
17073                         them, but I cannot test them.
17074
17075         - Move named directory to src/named-manager
17076         - Make backends directory self-contained
17077
17078 2005-04-06  Dan Williams  <dcbw@redhat.com>
17079
17080         Add debug code for socket/file descriptor leaks.  We register every socket
17081         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17082         list of sockets that we forgot to close on shutdown.  This also consolidates
17083         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17084
17085 2005-04-06  Dan Williams  <dcbw@redhat.com>
17086
17087         * dhcpcd/dhcpcd.c
17088                 - (dhcp_interface_free): fix a file descriptor leak that may have
17089                         caused network drivers to not unload due to refcounts > 0
17090
17091 2005-04-04  Dan Williams  <dcbw@redhat.com>
17092
17093         * panel-applet/NMWirelessAppletDbus.c
17094                 - (nmwa_dbus_call_nm_method): remove some commented code
17095
17096         * src/NetworkManagerAPList.[ch]
17097                 - (nm_ap_list_remove_ap_by_essid): new function
17098
17099         * src/NetworkManagerDevice.c
17100                 - (nm_device_wireless_force_use): remove access points from the ignore list
17101                         when the user forces them
17102
17103         * src/nm-dbus-device.c
17104                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17105
17106 2005-04-04  Dan Williams  <dcbw@redhat.com>
17107
17108         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17109
17110 2005-04-04  Dan Williams  <dcbw@redhat.com>
17111
17112         * src/NetworkManagerDevice.c:
17113                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17114                         of only erroring after the second consecutive scan times out.  Also
17115                         don't exit when the card requires more time than we can give it, just
17116                         log the event and continue.
17117
17118 2005-04-01  Steve Murphy  <murf@e-tools.com>
17119
17120         * configure.in: Added "rw" to ALL_LINGUAS.
17121
17122 2005-04-01  Dan Williams <dcbw@redhat.com>
17123
17124         Perform scans during device activation, if needed.  Both activation 
17125         and scans run in the same GMainContext.  Therefore, if an access point
17126         is not found by the time the device starts activation, it will not
17127         be available until after activation.  We now try to scan during
17128         activation (in nm_wa_test) every 15s so that all available access
17129         points are more likely to be found and available for the activation
17130         procedure.
17131
17132         Also change nm_wireless_link_state_handle() to only update the "best"
17133         AP if we are not forcing a device and if we are not about to change
17134         state.  This attempts to work around a race when forcing a device,
17135         where the forced AP would get cleared out too soon by the link state
17136         checking timeout in the main thread, and the activation attempt with
17137         that AP would fail.
17138
17139 2005-04-01  Dan Williams <dcbw@redhat.com>
17140
17141         * po/POTFILES.in
17142                 - Update with new translatables
17143
17144 2005-03-31  Dan Williams <dcbw@redhat.com>
17145
17146         * panel-applet/NMWirelessAppletDbus.c
17147                 - Fix device names now that hal has changed device parenting for
17148                         network devices.
17149
17150 2005-03-31  Dan Williams <dcbw@redhat.com>
17151
17152         Tighten up handling of wireless devices that don't support wireless
17153         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17154         hadn't been doing pseudo-scanning for a while either and would just
17155         spin waiting for an access point.  They are now manual devices where
17156         the user must choose the access point from the menu every time.  All
17157         "allowed" access points are listed in the applet's menu regardless
17158         of whether or not they can be seen by the card, since it can't scan
17159         anyway.
17160
17161         * src/NetworkManager.c
17162                 - (nm_wireless_link_state_handle): new function, but only update
17163                         the "best" ap for non-scanning devices when its not activating,
17164                         and when no device is being forced on the card
17165                 - (nm_link_state_monitor): split wireless link state handling out
17166                         into separate function
17167
17168         * src/NetworkManagerDevice.c
17169                 - (nm_device_copy_allowed_to_dev_list): new function
17170                 - (nm_device_new): populate non-scanning cards' AP lists with
17171                         access points from the "allowed" list
17172                 - (nm_device_new): don't start a scanning timeout for devices that
17173                         can't scan
17174                 - (nm_device_activation_schedule_finish): new parameter, should be
17175                         the AP that failed to be connected to, pass it on to the
17176                         activation finish function in NetworkManagerPolicy.c
17177                 - (nm_device_activate_wireless): don't ever try to get a new AP
17178                         for non-scanning devices, just fail.  The user must choose
17179                         a new access point manually.
17180                 - (nm_device_activate): grab the AP that failed connection and
17181                         pass it on
17182                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17183                         a link to it, user must manually choose a new one
17184                 - (nm_device_do_pseudo_scan): remove function
17185                 - (nm_device_wireless_process_scan_results): remove bits for non-
17186                         scanning cards since they never get here
17187                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17188                         and fake the scan list for test devices a bit earlier
17189
17190         * src/NetworkManagerPolicy.c
17191                 - (nm_policy_activation_finish): use the failed_ap that we get
17192                         passed rather than getting the best_ap from the card, which
17193                         may have changed since we were scheduled
17194                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17195                         update their scan list directly from the allowed list when
17196                         we get updates to the allowed list from NetworkManagerInfo
17197
17198         * src/NetworkManagerPolicy.h
17199                 - New member for failed access point in NMActivationResult
17200
17201   -------------------------------------
17202
17203         Driver Notification patch: notifies the user when their driver
17204                 sucks.  Gives them the option to ignore further insertions
17205                 of the card that has the sucky driver.
17206
17207         * NetworkManager.h
17208                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17209                         enum and replace it with NO_CARRIER_DETECT and
17210                         NO_WIRELESS_SCAN
17211
17212         * panel-applet/NMWirelessApplet.[ch]
17213                 - Merge essid.glade -> wireless-applet.glade
17214                 - Implement the "Your driver sucks" notification dialog
17215
17216         * panel-applet/NMWirelessAppletDbus.c
17217                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17218                 - Grab hardware address for each device from NM too
17219                 - Check whether the driver for each device sucks or not whenever
17220                         a new device is noticed
17221
17222         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17223                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17224
17225         * src/NetworkManager.c
17226                 - Fix a double-unref on device removal
17227
17228         * src/NetworkManagerUtils.c
17229                 - Set appropriate driver support level on a device that doesn't
17230                         support scanning or carrier detection
17231
17232         * src/nm-dbus-device.c
17233                 - New "getHWAddress" dbus method on devices
17234                 - getSupportsCarrierDetect -> getDriverSupportLevel
17235
17236 2005-03-31  Dan Williams <dcbw@redhat.com>
17237
17238         * src/NetworkManagerDevice.c
17239                 - (nm_device_wireless_scan): Fix leak of scan results in some
17240                         instances
17241
17242 2005-03-29  Dan Williams <dcbw@redhat.com>
17243
17244         * src/NetworkManager.c
17245                 - (nm_poll_and_update_wireless_link_state): make code less indented
17246
17247         Patch from Bill Moss:
17248         * src/NetworkManager.c
17249                 - (nm_device_update_link_state): Update signal strength on wireless
17250                         devices every time we update link state too.
17251
17252 2005-03-29  Dan Williams <dcbw@redhat.com>
17253
17254         * src/NetworkManagerDevice.c
17255                 - (nm_device_set_essid): Work around Orinoco cards which need
17256                         extra time after setting the ESSID
17257
17258 2005-03-29  Dan Williams <dcbw@redhat.com>
17259
17260         * src/NetworkManagerDevice.c
17261                 - Merge one more bit of Peter Jones' completion patch
17262
17263 2005-03-29  Dan Williams <dcbw@redhat.com>
17264
17265         * src/NetworkManagerDevice.c
17266                 - (nm_device_force_use): Fix possible segfault
17267
17268 2005-03-29  Dan Williams <dcbw@redhat.com>
17269
17270         * src/NetworkManagerDevice.c
17271                 - Use iw_get_ext() where we should rather than iw_set_ext()
17272
17273 2005-03-29  Dan Williams <dcbw@redhat.com>
17274
17275         * src/NetworkManagerDevice.c
17276                 - (nm_device_set_up_down): remove check for unsupported devices
17277                         that caused NM to not bring devices up when they were
17278                         added to the device list.
17279
17280 2005-03-28  Dan Williams <dcbw@redhat.com>
17281
17282         * src/NetworkManagerDevice.c
17283                 - (mdio_read): Fix two bugs that caused all devices to fail
17284                         the MII carrier detection support checks
17285
17286 2005-03-26  Dan Williams <dcbw@redhat.com>
17287
17288         * src/NetworkManagerDevice.c
17289                 - (nm_device_wireless_scan): Remove duplicated scanning code
17290
17291 2005-03-25  Dan Williams <dcbw@redhat.com>
17292
17293         * panel-applet/NMWirelessApplet.c
17294                 - (nmwa_about_cb): Add some more contributors
17295                 - (nmwa_update_state): show the applet when there's no connection
17296                 - Enable the "Stop/Resume all wireless devices" option in the
17297                         context menu
17298                 - New "no connection" icon
17299
17300         * src/NetworkManager.c
17301                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17302                         wireless is disabled or we're asleep
17303
17304         * src/NetworkManagerDHCP.c
17305                 - Remove trailing "\n" on debug messages
17306
17307         * src/NetworkManagerDbus.c
17308                 - (nm_dbus_network_status_from_data): new state "asleep"
17309
17310         * src/NetworkManagerDevice.c
17311                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17312                         latency and wait times for most operations
17313                 - (nm_device_wireless_scan): Don't scan when asleep
17314
17315         * src/NetworkManagerPolicy.c
17316                 - (nm_policy_get_best_device): return no device when asleep
17317                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17318                         for all wireless devices on update, not just active device
17319
17320         * src/NetworkManagerUtils.c
17321                 - Merge Peter Jones' "completion" patch
17322
17323         * src/nm-dbus-nm.c
17324                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17325                         we're told to disable them
17326                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17327
17328         * utils/nm-utils.h
17329                 - New variants of the warn/info/error/debug print functions that can take
17330                         variables rather than static strings
17331
17332 2005-03-24  Dan Williams <dcbw@redhat.com>
17333
17334         * src/NetworkManagerUtils.c
17335                 - (nm_get_device_driver_name): driver names are now on the parents of
17336                         "Network Interface" objects, so look for them there
17337
17338 2005-03-24  Dan Williams <dcbw@redhat.com>
17339
17340         * test/nmtest.c
17341                 - Escape some forgotten object paths before we shove them through dbus
17342
17343 2005-03-24  Dan Williams <dcbw@redhat.com>
17344
17345         * dhcpcd/dhcpcd.[ch]
17346           src/NetworkManagerDHCP.c
17347                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17348                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17349
17350         * src/NetworkManagerDbus.c
17351                 - spacing cleanups
17352
17353         * src/nm-dbus-dhcp.c
17354                 - Make the API suck less.  There is now only 1 type of each function,
17355                         ie only "getInteger" and no longer also "getIntegerv".  All types
17356                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17357                         that will never have more than 1 element.  This should simplify
17358                         things greatly.
17359
17360         * test/nm-dhcp-opt-test.c
17361                 - Make the tool not segfault
17362                 - adapt to new DHCP Options API
17363
17364 2005-03-22  Dan Williams <dcbw@redhat.com>
17365
17366         * src/NetworkManager.c
17367                 - (nm_wired_link_deactivated): actually ignore netlink events from
17368                         wireless devices.
17369
17370 2005-03-22  Dan Williams <dcbw@redhat.com>
17371
17372         * src/NetworkManager.c
17373                 - (nm_wired_link_activated): actually ignore netlink events from
17374                         wireless devices.
17375
17376 2005-03-17  Dan Williams <dcbw@redhat.com>
17377
17378         Patch from Tom Parker:
17379         * src/nm-netlink-monitor.c
17380                 - Include unistd.h
17381         * info-daemon/NetworkManagerInfoDbus.c
17382                 - (nmi_dbus_update_network_auth_method): free GConf values
17383
17384         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17385         * src/NetworkManagerDevice.c
17386                 - (nm_device_set_wireless_config): wait for successful
17387                         association longer for some cards (Atheros a/b/g)
17388
17389 2005-03-15  Ray Strode  <rstrode@redhat.com>
17390
17391         * src/NetworkManager.c:
17392         (sigterm_pipe_handler):
17393         remove bogus FIXME
17394
17395 2005-03-15  Ray Strode  <rstrode@redhat.com>
17396
17397         * src/NetworkManagerDbus.c:
17398         Fix some sign weirdness that gcc4 doesn't like,
17399         and add a header file so PPC can hopefully find
17400         SIGTRAP
17401
17402 2005-03-14  Ray Strode  <rstrode@redhat.com>
17403         
17404         Fourth (probably working) cut at porting to
17405         dbus 0.30 api and new hal. This cut adds
17406         some new logging macros to make debugging
17407         easier.
17408
17409         * dispatcher-daemon/NetworkManagerDispatcher.c:
17410         * info-daemon/NetworkmanagerInfo.c:
17411         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17412         * info-daemon/NetworkManagerInfoVPN.c:
17413         * src/NetworkManager.c:
17414         * src/NetworkManagerAP.c:
17415         * src/NetworkManagerAPList.c:
17416         * src/NetworkManagerDHCP.c:
17417         * src/NetworkManagerDbus.c:
17418         * src/NetworkManagerDevice.c:
17419         * src/NetworkManagerPolicy.c:
17420         * src/NetworkManagerSystem.c:
17421         * src/NetworkManagerUtils.c:
17422         * src/NetworkManagerWireless.c:
17423         * src/autoip.c:
17424         * src/nm-dbus-nm.c:
17425         * src/backends/NetworkManagerDebian.c:
17426         * src/backends/NetworkManagerGentoo.c:
17427         * src/backends/NetworkManagerRedHat.c:
17428         * src/backends/NetworkManagerSlackware.c:
17429         use new logging macros.
17430
17431         * dispatcher-daemon/NetworkManagerDispatcher.c:
17432         (nmd_dbus_filter): s/dbus_free/g_free/
17433
17434         * info-daemon/Makefile.am: link in utils library.
17435         * info-daemon/NetworkmanagerInfo.c: use new logging 
17436         macros.
17437         (nmi_dbus_get_network): don't assume enumerations
17438         are 32-bit.
17439         (nmi_dbus_nmi_message_handler): don't free what 
17440         doesn't belong to us.
17441
17442         * libnm_glib/libnm_glib.c:
17443         (libnm_glib_get_nm_status): 
17444         (libnm_glib_init): don't free what doesn't
17445         belong to us.
17446         (libnm_glib_dbus): strdup result, so it doesn't get
17447         lost when message is unref'd.
17448
17449         * panel-applet/NMWirelessAppletDbus.c:
17450         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17451
17452         * src/NetworkManager.c:
17453         (nm_monitor_wired_link_state): request initial status 
17454         dump of all cards when we start up, instead of relying
17455         on /sys/.../carrier.
17456         (nm_info_handler), (nm_set_up_log_handlers): 
17457         log handlers to specify what syslog priorites 
17458         the logging macros default to.
17459
17460         * src/NetworkManagerAPList.c: 
17461         (nm_ap_list_populate_from_nmi):
17462         s/dbus_free_string_array/g_strfreev/
17463
17464         * src/NetworkManagerDbus.c:
17465         (nm_dbus_get_network_object):
17466         validate d-bus message argument types.
17467         Advance message iterator after reading argument,
17468         prepend instead of append to GSList.
17469
17470         * src/NetworkManagerDevice.c:
17471         (nm_device_probe_wired_link_status):
17472         remove redundant /sys in /sys path. remove wrong
17473         contents == NULL means has carrier assumption.
17474
17475         * src/nm-netlink-monitor.c 
17476         (nm_netlink_monitor_request_status): implement
17477         function to ask kernel to dump interface link
17478         status over netlink socket.
17479
17480         * test/*.c: s/dbus_free/g_free/
17481
17482         * utils/nm-utils.h:
17483         (nm_print_backtrace): new macro to print backtrace.
17484         (nm_get_timestamp): new macro to get sub-second precise
17485         unix timestamp.
17486         (nm_info), (nm_debug), (nm_warning), (nm_error):
17487         new logging functions. nm_info just prints,
17488         nm_debug includes timestamp and function,
17489         nm_warning includes function, nm_error includes
17490         backtrace and sigtrap.
17491
17492 2005-03-11  Ray Strode  <rstrode@redhat.com>
17493
17494         Third (unfinished, partially working) cut at porting to 
17495         dbus 0.30 api and new hal.
17496
17497         * info-daemon/NetworkManagerInfoDbus.c:
17498                 don't free null arrays.
17499
17500         * panel-applet/NMWirelessAppletDbus.c: 
17501         * src/nm-dbus-device.c:
17502         * src/nm-dbus-net.c: 
17503         * src/NetworkManagerDbus.c: more 
17504         STRING -> OBJECT_PATH fun
17505         * src/NetworkManagerDevice.c:
17506         * src/NetworkManagerDevice.h:
17507         (rename nm_device_get_link_active): rename to 
17508         nm_device_has_active_link
17509         (nm_device_wireless_link_active): rename to
17510         nm_device_probe_wireless_link_state
17511         (nm_device_wired_link_active): rename to
17512         nm_device_probe_wired_link_state.  Rewrite to
17513         use carrier file since hal doesn't maintain
17514         link state anymore.
17515         (nm_device_update_link_active): rename to
17516         nm_device_update_link_state
17517         * src/NetworkManagerPolicy.c 
17518           (nm_policy_activation_finish): check for NULL
17519           MAC address.
17520
17521         * src/Makefile.am:
17522         * src/NetworkManagerMain.h: 
17523         * src/NetworkManager.c:
17524         * src/nm-netlink-monitor.c:
17525         * src/nm-netlink-monitor.h: New class to support
17526         monitoring wired ethernet link status, since HAL
17527         doesn't export that information anymore.
17528
17529 2005-03-09  Ray Strode  <rstrode@redhat.com>
17530
17531         Second (unfinished, unworking) cut at porting to 
17532         dbus 0.30 api.
17533
17534         * dispatcher-daemon/NetworkManagerDispatcher.c:
17535         * info-daemon/NetworkManagerInfoDbus.c:
17536         * panel-applet/NMWirelessAppletDbus.c:
17537         * src/NetworkManagerDbusUtils.c:
17538         * src/NetworkManagerDbusUtils.h:
17539         * src/nm-dbus-device.c:
17540         * src/nm-dbus-nm.c:
17541         * test/nmtest.c: support dbus "object path" type
17542
17543         * configure.in: 
17544         * Makefile.am:
17545         * info-daemon/Makefile.am:
17546         * libnm_glib/Makefile.am:
17547         * panel-applet/Makefile.am:
17548         * dispatcher-daemon/Makefile.am
17549         * src/Makefile.am:
17550         * test/Makefile.am:
17551         * utils/Makefile.am: 
17552         * utils/nm-utils.c: 
17553         * utils/nm-utils.h: new utils static lib
17554
17555 2005-03-07  Ray Strode  <rstrode@redhat.com>
17556
17557         * info-daemon/NetworkManagerInfoDbus.c:
17558         * libnm_glib/libnm_glib.c:
17559         * panel-applet/NMWirelessAppletDbus.c:
17560         * src/NetworkManager.c:
17561         * src/NetworkManagerDbus.c:
17562         * src/NetworkManagerDevice.c:
17563         * src/NetworkManagerUtils.c:
17564         * src/nm-dbus-device.c:
17565         * src/nm-dbus-dhcp.c:
17566         * src/nm-dbus-net.c:
17567         * src/nm-dbus-nm.c:
17568         * test/nminfotest.c:
17569         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17570
17571 2005-03-04  Dan Williams  <dcbw@redhat.com>
17572
17573         * configure.in
17574                 - Mark HEAD as 0.4
17575
17576 2005-03-04  Dan Williams  <dcbw@redhat.com>
17577
17578         Patch from Peter Jones:
17579         - Make stuff work with gcc 4.0
17580
17581 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17582
17583         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17584
17585 2005-02-27  Jim Huang  <jserv@kaffe.org>
17586
17587         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17588
17589 2005-02-27  Dan Williams  <dcbw@redhat.com>
17590
17591         Patch from Bill Moss:
17592         * panel-applet/NMWirelessAppletDbus.c
17593                 - Make sure strength for current access point is up-to-date when we
17594                         update the gui data model
17595
17596 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17597
17598         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17599
17600 2005-02-27  Dan Williams  <dcbw@redhat.com>
17601
17602         * src/backends/NetworkManagerRedHat.c
17603                 - (nm_system_init): Kill any dhclient processes lying around as well
17604                         as stopping 'nifd' if its already been started.  NetworkManager
17605                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17606
17607 2005-02-27  Dan Williams  <dcbw@redhat.com>
17608
17609         * panel-applet/NMWirelessApplet.c
17610                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17611                         dbus data model, not the GUI data model twice.
17612
17613 2005-02-27  Dan Williams  <dcbw@redhat.com>
17614
17615         * panel-applet/NMWirelessApplet.[ch]
17616           panel-applet/NMWirelessAppletDbus.[ch]
17617                 - Move to incremental network updates.  Instead of blowing away our list
17618                         of devices every time we get a signal from NetworkManager, we now
17619                         incrementally add/remove networks when NetworkManager notifies us that
17620                         a new network has appeared or disappered.  Strength updates now happen
17621                         on-the-fly for each access point as well.  There are now two copies of
17622                         data from NetworkManager: one for the dbus side, and one for the gui side.
17623                         When the dbus side data is modified, it is copied over to the gui side
17624                         so we don't have to hold the data_mutex for long periods of time (and
17625                         therefore block animation of the applet's icon).
17626                 - Clean up some memleaks too
17627
17628         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17629                 - Minor code beautification
17630
17631         * src/NetworkManagerAPList.c
17632                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17633                         completely new and whether or not an existing one's strength was updated.
17634                         Try to fix multiple access points and signal strength by using the highest
17635                         signal strength in each scan for any given ESSID.
17636
17637         * src/NetworkManagerDbus.[ch]
17638                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17639                         wireless networks; now we have only WirelessNetworkUpdate which includes
17640                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17641                 - Kill usage of DbusMessageIter
17642
17643         * src/NetworkManagerDevice.c
17644                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17645                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17646                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17647                         currently associated with from the network list.
17648                 - Update for new signals during scan, send out Appeared, Disappeared, or
17649                         StrengthChanged when necessary.
17650
17651 2005-02-25  Dan Williams  <dcbw@redhat.com>
17652
17653         * README
17654                 - Line break the README
17655
17656 2005-02-25  Dan Williams  <dcbw@redhat.com>
17657
17658         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17659                 - Remove usage of gtk_window_set_default_size()
17660
17661         * panel-applet/essid.glade
17662                 - Stick default size here
17663                 - Add in random crap that current glade wants to add in now
17664
17665 2005-02-25  Dan Williams  <dcbw@redhat.com>
17666
17667         * src/backends/NetworkManagerRedHat.c
17668                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17669                         and that we actually tell nscd to reload the hosts cache when it changes
17670
17671 2005-02-25  Dan Williams  <dcbw@redhat.com>
17672
17673         * info-daemon/NetworkManagerInfoDbus.c
17674                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17675
17676         * test/nminfotest.c
17677                 - Whack usage of DbusMessageIter
17678                 - Clean up DbusError and DbusMessage handling and freeing
17679                 - Remove unused unregister handler
17680
17681         * test/nmtest.c
17682                 - Whack usage of DbusMessageIter
17683
17684         * test/nmtestdevices.c
17685                 - Whack usage of DbusMessageIter
17686
17687 2005-02-25  Dan Williams  <dcbw@redhat.com>
17688
17689         * NetworkManager.h
17690                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17691                         signal
17692
17693 2005-02-25  Dan Williams  <dcbw@redhat.com>
17694
17695         * named/nm-named-manager.c
17696                 - Ensure that pid and watch variables for child named process get cleared out
17697                         when the child goes away.
17698
17699 2005-02-22  Dan Williams  <dcbw@redhat.com>
17700
17701         * src/NetworkManagerPolicy.c
17702                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17703                         and NULL out data->active_device so that we have to choose another one.
17704                         This may make NetworkManager keep attempting to connect to a wired network
17705                         if it fails, but if it keeps failing the wired network has more problems than
17706                         just NetworkManager.
17707
17708         * src/backends/NetworkManagerRedHat.c
17709                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17710                         is already running
17711
17712         * named/nm-named-manager.c
17713                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17714                         named so that the distro can flush whatever name service caching
17715                         daemon it uses
17716
17717 2005-02-21  Dan Williams  <dcbw@redhat.com>
17718
17719         * src/NetworkManagerDHCP.[ch]
17720                 - (nm_device_dhcp_remove_timeouts): new function
17721
17722         * src/NetworkManagerDevice.c
17723                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17724                         remove the DHCP timeouts.
17725
17726 2005-02-21  Dan Williams  <dcbw@redhat.com>
17727
17728         * panel-applet/NMWirelessApplet.[ch]
17729           panel-applet/menu-info.[ch]
17730                 - Give the panel applet some major love: menu items are no longer
17731                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17732                         This allows the applet to actually reflect theme changes correctly,
17733                         since themeing of subclassed items in GTK _sucks_.
17734
17735 2005-02-18  Dan Williams  <dcbw@redhat.com>
17736
17737         * libnm_glib/libnm_glib.[ch]
17738           test/libnm_glib_test.c
17739                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17740                         and its data, and doesn't have to free the callback data anymore
17741
17742 2005-02-18  Dan Williams  <dcbw@redhat.com>
17743
17744         * panel-applet/NMWirelessApplet.c
17745                 - Revert 2005-02-18 William Jon McCann fix for standard
17746                         copyright string until it passes 'make distcheck'.
17747                         With standard copyright string, xgettext complains
17748                         about "Non-ASCII string at ...".
17749
17750 2005-02-18  Dan Williams  <dcbw@redhat.com>
17751
17752         * panel-applet/essid.glade
17753           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17754                 - Correct spelling of "adaptor"->"adapter"
17755
17756 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17757
17758         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17759         (nmwa_about_cb): Use standard copyright string.  Update comment
17760         text to reflect that it is a notification area applet.  Remove
17761         leading newline in authors list.
17762         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17763         instead of on parent menu item activation.  Fixes #167550.
17764
17765 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17766
17767         * panel-applet/essid.glade: Capitalize items as per HIG.
17768           Fixes #167632
17769
17770 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17771
17772         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17773         files for GTK 2.4 or lower, since now public in GTK 2.6.
17774
17775         * panel-applet/essid.glade: Don't specify window size.
17776         
17777 2005-02-17  Dan Williams  <dcbw@redhat.com>
17778
17779         Caught by Bill Moss:
17780         * dhcpcd/client.c
17781                 - Time remaining for DHCP transaction calculation was incorrectly
17782                         inside a #ifdef DEBUG
17783
17784 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17785
17786         * configure.in: Added fr (French) to ALL_LINGUAS.
17787
17788 2005-02-14  Dan Williams  <dcbw@redhat.com>
17789
17790         * src/NetworkManagerDHCP.c
17791                 - (set_domain_searches): Fix free of invalid pointer
17792
17793 2005-02-14  Dan Williams  <dcbw@redhat.com>
17794
17795         Patch from Peter Jones:
17796         * dhcpcd/client.c
17797                 - Ensure we return RET_DHCP_CEASED everywhere we should
17798         * dhcpcd/udpipgen.c
17799                 - Use faster TOS for IP packets
17800                 - Don't set ip_id since we're UDP
17801
17802         Patch from Tomislav Vujec:
17803         * src/nm-dbus-dhcp.c
17804           test/nm-dhcp-opt-test.c
17805                 - Clean up warnings to enable cvs tree compilation.
17806
17807 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17808
17809         * configure.in
17810           po/hr.po
17811                 - Add the Croatian locale.
17812
17813 2005-02-14  Colin Walters  <walters@verbum.org>
17814
17815         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17816         list of domains to search.
17817         
17818         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17819
17820 2005-02-13  Dan Williams  <dcbw@redhat.com>
17821
17822         * dhcpcd/client.c
17823                 - Debug output cleanups of DHCP option printing and parsing.
17824
17825 2005-02-13  Dan Williams  <dcbw@redhat.com>
17826
17827         Patch from Dan Reed:  DHCP options D-BUS API
17828                 Exposes the DHCP options that a device receives to clients over D-BUS.
17829
17830         * configure.in
17831                 - A few cleanups
17832
17833         * dhcpcd/client.h
17834                 - Correct names, option length, and types for DHCP options
17835
17836         * dhcpcd/dhcpcd.[ch]
17837                 - Clarify function names that access DHCP options & data
17838
17839         * src/NetworkManagerDHCP.c
17840                 - Use new DHCP data access functions
17841
17842         * src/NetworkManagerDbus.c
17843                 - Message handler for DHCP functions
17844
17845         * src/nm-dbus-dhcp.[ch] (new)
17846                 - DHCP dbus methods
17847
17848         * test/nm-dhcp-opt-test.c
17849                 - Test DHCP D-BUS API and return all present DHCP options
17850
17851 2005-02-12  Dan Williams  <dcbw@redhat.com>
17852
17853         * test/Makefile.am
17854           test/nmclienttest.c
17855           test/nmtest.c
17856                 - Move nmclienttest.c -> nmtest.c
17857
17858 2005-02-12  Dan Williams  <dcbw@redhat.com>
17859
17860         * dhcpcd/buildmsg.c
17861                 - Pad DHCP packets until they are at least 300 bytes in size.
17862
17863 2005-02-11  Dan Williams  <dcbw@redhat.com>
17864
17865         * dhcpcd/client.c
17866                 - (dhcp_init): only print out client ID and class ID if they are specified
17867
17868         * src/NetworkManagerDbus.[ch]
17869           src/nm-dbus-nm.[ch]
17870           src/nm-dbus-device.[ch]
17871           src/nm-dbus-net.[ch]
17872                 - Move NM, Device, and Net functions to separate files and use the
17873                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17874                         method dispatching
17875
17876         * src/NetworkManagerDbusUtils.c
17877                 - Add new validate_method called before each dispatch (if present)
17878                         that can validate the method call
17879
17880         * src/NetworkManagerWireless.c
17881                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17882                         levels never to be evaluated
17883
17884         Patch from j@bootlab.org
17885         * src/NetworkManagerDevice.c
17886                 - Add typedef for "u64"
17887
17888         * src/backends/NetworkManagerDebian.c
17889                 - Copy in Dave Woodhouse's fixes for IPv6
17890
17891 2005-02-11  Dan Williams  <dcbw@redhat.com>
17892
17893         Patch from Dave Woodhouse for IPv6:
17894         * src/NetworkManagerUtils.c
17895                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17896                         and multicast addresses
17897
17898         * src/NetworkManagerDevice.c
17899                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17900                         after bringing up a card.
17901
17902 2005-02-10  Dan Williams  <dcbw@redhat.com>
17903
17904         Patch from Dave Woodhouse:
17905         * src/NetworkManagerSystem.h
17906           src/backends/NetworkManagerDebian.c
17907           src/backends/NetworkManagerGentoo.c
17908           src/backends/NetworkManagerSlackware.c
17909                 - New nm_system_device_add_ip6_link_address() function to add link-local
17910                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17911
17912         * src/backends/NetworkManagerRedHat.c
17913                 - (nm_system_device_add_ip6_link_address): implement
17914                 - (nm_system_device_flush_addresses): revert to previous behavior of
17915                         flushing all addresses
17916
17917 2005-02-10  Dan Williams  <dcbw@redhat.com>
17918
17919         Patch from Tom Parker:
17920         * src/NetworkManagerDevice.c
17921                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17922                         mii.h headers are broken, and instead use our own typedefs
17923
17924 2005-02-10  Dan Williams  <dcbw@redhat.com>
17925
17926         * dhcpcd/buildmsg.c
17927                 - (fill_host_and_class_id): only fill in client and class IDs if
17928                         they are set by callers.
17929
17930         * dhcpcd/client.c
17931                 - (class_id_setup): don't autogenerate a class ID, only use one
17932                         we're given, if any.
17933                 - (client_id_setup): don't autogenerate a client ID, only use one
17934                         we're given, if any.
17935
17936         * dhcpcd/dhcpcd.c
17937                 - (dhcp_interface_init): ensure that client options are correctly
17938                         NULL terminated
17939
17940         * src/NetworkManagerDHCP.c
17941                 - (nm_device_dhcp_request): pass hostname to dhcp library
17942
17943 2005-02-10  Dan Williams  <dcbw@redhat.com>
17944
17945         * dhcpcd/client.c
17946                 - #rh147661# Don't send kernel version in DHCP requests
17947
17948         * src/NetworkManagerSystem.h
17949           src/backends/NetworkManagerDebian.c
17950           src/backends/NetworkManagerGentoo.c
17951           src/backends/NetworkManagerRedHat.c
17952           src/backends/NetworkManagerSlackware.c
17953                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17954                         functions, they are no longer used anyway
17955
17956         * src/backends/NetworkManagerRedHat.c
17957                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17958                         addresses in an attempt to keep IPv6 local-scope addresses around
17959
17960 2005-02-10  Dan Williams  <dcbw@redhat.com>
17961
17962         * src/NetworkManager.c
17963                 - (nm_create_device_and_add_to_list): change the add message slightly
17964
17965         * src/NetworkManagerUtils.c
17966                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17967                         Return driver name to calling function
17968                 - (nm_get_driver_support_level): print out the driver a device is using
17969                         during the support check
17970
17971         Patch from Dave Woodhouse:
17972         * dhcpcd/udpipgen.c
17973                 - (in_cksum): copy last byte of odd-sized packets into a
17974                         'u_short' rather than a 'u_char', should fix wrong checksums
17975                         on big-endian platforms
17976
17977 2005-02-09  Dan Williams  <dcbw@redhat.com>
17978
17979         * Clean up usage of GSList objects and looping through their members
17980         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17981                 now.
17982         * Fix problem where even if scanning was turned off, card would still
17983                 cycle through frequencies.
17984
17985 2005-02-08  Dan Williams  <dcbw@redhat.com>
17986
17987         * panel-applet/NMWirelessApplet.c
17988                 - Fix for gtk 2.4
17989
17990 2005-02-08  Dan Williams  <dcbw@redhat.com>
17991
17992         Patch from Bill Moss
17993         * panel-applet/NMWirelessApplet.c
17994                 - Restore correct ESSID in tooltips
17995
17996 2005-02-07  Dan Williams  <dcbw@redhat.com>
17997
17998         * panel-applet/NMWirelessApplet.[ch]
17999                 - Add a context menu that contains:
18000                         Pause/Resume Wireless Scanning
18001                         Stop/Start All Wireless Devices
18002                         About...
18003                 - Grab active device strength off active device,
18004                         not its network
18005
18006         * panel-applet/NMWirelessAppletDbus.[ch]
18007                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18008                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18009                 - Update active device strength every 2 seconds, not every 1 second
18010
18011         * panel-applet/menu-info.c
18012                 - Only disable wired devices in the menu when they support carrier detection,
18013                         and don't currently have a link.  Non-carrier-detect devices will always
18014                         remain choosable
18015
18016         * src/Makefile.am
18017           src/NetworkManagerDbusUtils.[ch]
18018                 - Add new new dbus utils sources
18019
18020         * src/NetworkManager.c
18021                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18022                         with the boolean parameter
18023                 - Set scanning_enabled & wireless_enabled to TRUE
18024
18025         * src/NetworkManagerDbus.c
18026                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18027                 - Implement scanning & wireless enable/disable calls
18028                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18029
18030         * src/NetworkManagerDevice.c
18031                 - New link detection stuff again...
18032                         o  Create device's mainloop earlier (but don't run it earlier)
18033                         o  Hook up new carrier-detect support stuff
18034                         o  Add in the ethtool & mii support detection code
18035                 - Don't scan if scanning is disabled
18036
18037         * src/NetworkManagerPolicy.c
18038                 - Never automatically choose a device that doesn't support carrier detection
18039                 - Don't automatically choose a wireless device if wireless is disabled
18040
18041 2005-02-07  Dan Williams  <dcbw@redhat.com>
18042
18043         * libnm_glib/libnm_glib.c
18044                 - Small cleanup in element list iteration
18045
18046 2005-02-07  Dan Williams  <dcbw@redhat.com>
18047
18048         * src/NetworkManagerWireless.c
18049                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18050                         to be in line with the WEXT quality specification
18051
18052 2005-02-02  Dan Williams  <dcbw@redhat.com>
18053
18054         Patch from Nathan Fredrickson <nathan@silverorange.com>
18055         * Fix up compile for deprecation of libgnomeui
18056                 - Switch to <glib/gi18n.h> from <libintl.h>
18057                 - Remove <libgnomeui/libgnomeui.h> includes
18058                 - Use gtk_window_set_default_icon_from_file() rather than
18059                         gnome_window_set_default_icon_from_file()
18060
18061         * named/nm-named-manager.c
18062                 - (generate_named_conf): Fix return-nothing in non-void
18063                         function
18064
18065 2005-02-02  Dan Williams  <dcbw@redhat.com>
18066
18067         * Clean up unused variables and the like
18068
18069 2005-02-02  Dan Williams  <dcbw@redhat.com>
18070
18071         * src/NetworkManagerAPList.c
18072                 - (nm_ap_list_merge_scanned_ap): merge strength too
18073
18074         * src/NetworkManagerUtils.c
18075                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18076                         of locking issues by printing out prettier information than g_mutex_lock
18077                 - Print out names of mutexes registered with nm_register_mutex_desc()
18078                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18079                         us to seemingly block here for too long
18080
18081         * src/NetworkManager.c
18082           src/NetworkManagerAPList.c
18083           src/NetworkManagerDevice.c
18084                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18085                         so we get better debug information printed
18086
18087         * src/NetworkManagerDbus.c
18088                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18089                         since it sometimes has locking side effects
18090                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18091                         from 10s
18092                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18093                         we don't need a switch.  This gets called often enough that we can't block
18094                         until the scan mutex is acquired, because we'll block on device activation
18095                         and a few other things, which hangs main thread for too long.
18096
18097         * src/NetworkManagerPolicy.c
18098                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18099                         nm_device_need_ap_switch() will be called               
18100
18101 2005-02-02  Dan Williams  <dcbw@redhat.com>
18102
18103         * panel-applet/NMWirelessApplet.c
18104                 - Display name of wireless network we are connecting to or connected to
18105                         in the tooltip of the applet
18106
18107 2005-02-02  Dan Williams  <dcbw@redhat.com>
18108
18109         * src/NetworkManagerDHCP.c
18110                 - Hopefully fix double-default-route problem by cleaning up the default
18111                         route added by DHCP code right before the DHCP transaction begins
18112
18113 2005-02-02  Dan Williams  <dcbw@redhat.com>
18114
18115         * named/nm-named-manager.c
18116                 - Write out valid resolv.conf when we exit
18117
18118 2005-02-01  Dan Williams  <dcbw@redhat.com>
18119
18120         Patch from Colin Walters:
18121         * named/nm-named-manager.c
18122                 - Make multi-domain search options work
18123
18124 2005-01-31  Dan Williams  <dcbw@redhat.com>
18125
18126         * info-daemon/NetworkManagerInfoDbus.c
18127                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18128
18129         * src/NetworkManagerDevice.c
18130                 - (nm_device_new): Don't store the entire range struct, use only what we need
18131                         (which is currently avg_quality, max_quality, and frequencies).  Also
18132                         zero device structure when we've free'd it to maybe expose errors down
18133                         the line.
18134                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18135                         quality data from the card since quality will be useless during a scan.
18136                         Call updated wireless qual-to-percent function with values stored in
18137                         nm_device_new() earlier.
18138                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18139                         nm_device_get_bad_crypt_packets())
18140                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18141                         nm_device_new()
18142                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18143                         list if available.  Problem was this: when the WEP key is wrong, NM will
18144                         try OS then SK modes, and then get stuck in SK mode after that.  This
18145                         should reset it.
18146                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18147                         function
18148
18149         * src/NetworkManagerWireless.c
18150                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18151                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18152                         if that's all present, otherwise fall back to signal-to-noise ratios.
18153
18154 2005-01-29  Dan Williams  <dcbw@redhat.com>
18155
18156         * initscript/RedHat/NetworkManager
18157                 - Don't spit out sysctl stuff to console
18158
18159         * libnm_glib/libnm_glib.c
18160                 - (libnm_glib_init): call dbus_g_thread_init()
18161
18162         * panel-applet/NMWirelessAppletDbus.c
18163                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18164
18165         * src/NetworkManager.c
18166                 - (main): call dbus_g_thread_init()
18167
18168         * src/NetworkManagerAPList.c
18169                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18170                         so we can actually see what's there in a normal syslog
18171
18172         * src/NetworkManagerDevice.c
18173                 - (nm_device_activate_wireless): print out the "waiting for access point"
18174                         message only once, then say what access point we actually got after
18175                         the wait.
18176                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18177                         function, wait until the scan is done.  Scans may change the ESSID of
18178                         the card, making this function think we need to switch access points
18179                 - (nm_device_wireless_process_scan_results): for artificial access points
18180                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18181                         prevents collisions with the scanning code, which may change the card's
18182                         ESSID and cause the access point to get dropped from the device's AP
18183                         list.  Also increase the keep-around time to 2m from 60s since the max
18184                         scan interval could be 60s in some cases.
18185
18186         * src/NetworkManagerPolicy.c
18187                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18188                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18189                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18190                         between NM and NMI.
18191
18192 2005-01-27  Dan Williams  <dcbw@redhat.com>
18193
18194         * info-daemon/NetworkManagerInfoDbus.c
18195                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18196                         GConf, make a minimal entry for it (essid & timestamp)
18197
18198         * src/NetworkManagerAPList.c
18199                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18200                         NetworkManagerInfo isn't running
18201
18202         * src/NetworkManagerDbus.[ch]
18203                 - (nm_dbus_nmi_is_running): new function
18204
18205         * src/NetworkManagerDevice.c
18206                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18207                         address to garbage.
18208
18209         * src/NetworkManagerPolicy.c
18210                 - (nm_policy_activation_finish): On successful activation, make sure
18211                         the "best" AP has a MAC address, and don't tell NMI to add the
18212                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18213                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18214                         access point after refreshing our allowed list if it doesn't already
18215                         have a "best" access point.
18216
18217 2005-01-25  Dan Williams  <dcbw@redhat.com>
18218
18219         * panel-applet/NMWirelessAppletDbus.c
18220                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18221                         so we check for NM_DBUS_SERVICE rather than not for it
18222
18223         * libnm_glib/libnm_glib.c
18224                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18225                         ServiceOwnerChanged signal
18226
18227 2005-01-25  Dan Williams  <dcbw@redhat.com>
18228
18229         * configure.in
18230                 - Check DBUS version in configure, and set the C macros
18231                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18232
18233         * info-daemon/NetworkManagerInfoDbus.c
18234                 - Remove #if 0-d section of code that quit NMI if NM went away.
18235
18236         * panel-applet/NMWirelessAppletDbus.c
18237                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18238
18239         * src/NetworkManager.c
18240           src/NetworkManagerMain.h
18241           src/NetworkManagerDbus.c
18242                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18243                 - Make updating of our Allowed Wireless Network lists from NMI
18244                         an idle function in the main thread now, with a high priority.
18245
18246 2005-01-24  Dan Williams  <dcbw@redhat.com>
18247
18248         * panel-applet/gtkcellview.[ch]
18249           panel-applet/menu-info.c
18250                 - Fix GTK version checks to be <= rather than <
18251
18252         * test/Makefile.am
18253                 - Include the libtool archive of libnm_glib rather than
18254                         trying to pull in the .so
18255
18256 2005-01-24  Dan Williams  <dcbw@redhat.com>
18257
18258         * src/NetworkManagerDevice.c
18259           src/NetworkManagerDevicePrivate.h
18260                 - Block nm_device_new() until our device's worker thread has had a
18261                         chance to start up.  Fixes a race between main thread and worker
18262                         thread starting that caused activation requests to get lost.
18263
18264 2005-01-24  Dan Williams  <dcbw@redhat.com>
18265
18266         * initscript/RedHat/NetworkManager
18267                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18268                         to add the NM startup script at priority 50, which was
18269                         way too early
18270
18271 2005-01-24  Colin Walters  <walters@redhat.com>
18272
18273         * named/named.conf: Use any port for query source instead of
18274         restricting to port 53.
18275
18276 2005-01-24  Dan Williams  <dcbw@redhat.com>
18277
18278         * initscript/RedHat/NetworkManager
18279                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18280                         to add the NM startup script at priority 50, which was
18281                         way too early
18282
18283 2005-01-24  Dan Williams  <dcbw@redhat.com>
18284
18285         Patch from Tom Parker <palfrey@tevp.net>
18286         * Fix up compile warnings & errors in the wireless applet
18287
18288 2005-01-24  Dan Williams  <dcbw@redhat.com>
18289
18290         * panel-applet/NMWirelessApplet.c
18291                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18292
18293 2005-01-24  Dan Williams  <dcbw@redhat.com>
18294
18295         * panel-applet/gtkcellview.[ch]
18296                 - Only compile these files for GTK 2.4 or lower, since 
18297                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18298                         when choosing "Other Wireless Networks" from the panel
18299                         applet menu
18300
18301 2005-01-21  Dan Williams  <dcbw@redhat.com>
18302
18303         * src/NetworkManager.c
18304                 - Daemonize earlier so that glib doesn't get confused (?)
18305
18306 2005-01-21  Dan Williams  <dcbw@redhat.com>
18307
18308         * panel-applet/NMWirelessApplet.[ch]
18309           panel-applet/NMWirelessAppletDbus.c
18310           panel-applet/menu-info.c
18311           src/NetworkManagerDevice.c
18312                 - Disable wired devices in the menu when they have no link.
18313
18314 2005-01-21  Dan Williams  <dcbw@redhat.com>
18315
18316         * Cache last-known-good wireless authentication method in
18317                 NetworkManagerInfo, and use that method first during
18318                 wireless device activation.  Should speed up devices that
18319                 need Shared Key authentication method since Open System is
18320                 now the default.
18321
18322         * Remove the hack to not do full activation on wired connections
18323                 that are active when we launch, it causes too many problems
18324                 with name resolution and was a hack in the first place.
18325
18326         * Re-work wireless device activation again somewhat to have a
18327                 clearer chain of events and to use last-known-good
18328                 authentication method of the access point.  Also provide
18329                 better status throughout activation to ensure the applet
18330                 can tell the user exactly what's going on.
18331
18332         * Remove the "find wireless network" code and now simply attempt
18333                 to activate with that access point.  This reduces the delay
18334                 between selecting "Other wireless Network" and actually
18335                 connecting to that network.
18336
18337         * Correctly stop the device's worker thread when its removed.
18338
18339 2005-01-21  Dan Williams  <dcbw@redhat.com>
18340
18341         * dhcpcd/client.c
18342                 - Clean up some of the debug messages
18343
18344 2005-01-21  Dan Williams  <dcbw@redhat.com>
18345
18346         * Add new icons, more frames of animation
18347         * Remove some hacks to get the panel applet to display correct
18348                 status, an NM update will soon follow that will fix the
18349                 real issue.
18350
18351 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18352
18353         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18354         the first include for working i18n. Also, don't include it in .h files
18355         * panel-applet/NMWirelessApplet.h: Same
18356         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18357         * panel-applet/menu-info.c: Same
18358
18359 2005-01-18  Dan Williams <dcbw@redhat.com>
18360
18361         * dhcpcd/client.c
18362                 - Remove some debug messages
18363                 - Wrap others in #ifdef DEBUG/#endif
18364
18365         * src/NetworkManager.c
18366                 - Remove some debug messages
18367                 - Clarify some debug messages
18368                 - Remove code related to old single-thread wireless scanning
18369
18370         * src/NetworkManagerAP.[ch]
18371                 - New AP property "last_seen" to track how recently an AP was
18372                         found in a scan
18373                 - Start using 'const' more in function arguments
18374
18375         * src/NetworkManagerAPList.[ch]
18376                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18377                         of an AP found in an AP list from a source AP, or if not found
18378                         in the list add the source AP
18379                 - (nm_ap_list_combine): remove, no longer needed
18380
18381         * src/NetworkManagerDevice.c
18382                 - Each device now has a "worker" thread from start to end of its life.
18383                         Scanning for wireless devices now happens in that thread,
18384                         not in a single "wireless scanning thread" for all devices as
18385                         previously.  Activation consists of adding an idle handler to the
18386                         thread's main loop/context, which gets run at the next available
18387                         opportunity.
18388                 - Wireless scanning is also simplified, there is now only one list of
18389                         access points per wireless device, and APs older than 60s are
18390                         removed from the list.  Previously, we kept results for the last
18391                         3 scans and merged whole lists, which was complicated.
18392                 - Cleaned up activation debug messages.
18393                 - Wireless activation and access-point search routines now use Open System
18394                         authentication before trying Shared Key.
18395                 - Removed some code in nm_device_update_best_ap() that could cause cards
18396                         to loose their link to the access point.
18397                 - Scanning now uses a backoff algorithm, where the inverval becomes
18398                         progressively longer between scans when the list of scanned access
18399                         points doesn't change.  A change will revert to the shortest scan
18400                         interval (20s).
18401
18402         * src/NetworkManagerWireless.[ch]
18403                 - Remove code related to old single-thread wireless scanning
18404
18405 2005-01-18  Colin Walters  <walters@redhat.com>
18406
18407         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18408         of older nameservers.
18409
18410 2005-01-18  Colin Walters  <walters@redhat.com>
18411
18412         * named/nm-named-manager.c (generate_named_conf): Many fixes
18413         to config file generation.
18414         (safer_kill): Remove, was too much trouble for little gain.
18415         (nm_named_manager_start): Run named as NM_NAMED_USER.
18416
18417         * configure.in: Add option --with-named-user.
18418
18419 2005-01-14  Colin Walters  <walters@redhat.com>
18420
18421         Patch from ed@catmur.co.uk (Ed Catmur)
18422
18423         * named/nm-named-manager.c: Add "context" property.
18424         Use it to add child watch source in specific GMainContext.
18425
18426         * src/NetworkManager.c (nm_data_new): Initialize
18427         named with correct main context.  Start named only
18428         after forking.
18429
18430 2005-01-14  Colin Walters  <walters@redhat.com>
18431
18432         * named/nm-named-manager.c (generate_named_conf): Write config
18433         and pid files into NM_NAMED_DATA_DIR; this allows things to
18434         work better with FC3 named SELinux policy.  Also fix up silly
18435         format error.
18436
18437         * configure.in: Add --with-named-dir option.
18438
18439 2005-01-14  Colin Walters  <walters@redhat.com>
18440
18441         * configure.in: Make named support require passing --with-named.
18442
18443         * named/nm-named-manager.c: Support writing resolv.conf directly
18444         without running named.
18445
18446 2005-01-13  Dan Williams <dcbw@redhat.com>
18447
18448         * named/nm-named-manager.c
18449                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18450
18451         * src/NetworkManagerDevice.c
18452                 - Rework wireless link detection code to be more reliable
18453
18454 2005-01-12  Dan Williams <dcbw@redhat.com>
18455
18456         * initscripts/RedHat/NetworkManager
18457                 - Change initial level to "-" rather than "345" so that
18458                         we don't activate ourselves by default on install
18459
18460 2005-01-12  Dan Williams <dcbw@redhat.com>
18461
18462         * libnm_glib/
18463                 - Client library for applications using glib
18464
18465         * configure.in
18466           various Makefiles
18467                 - Split NM_CFLAGS and NM_LIBS into separate variables
18468                         like DBUS_*, HAL_* and GLIB_*
18469
18470         * src/NetworkManager.c
18471           src/NetworkManagerMain.h
18472                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18473                         broadcast a status changed signal over DBUS from the main thread.
18474                         Still unused anywhere for the moment.
18475
18476         Patch from j@bootlab.org
18477         * panel_applet/NMWirelessAppletDbus.c
18478           src/NetworkManagerDbus.c
18479                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18480                         for the "getMode" method call
18481
18482 2005-01-10  Dan Williams <dcbw@redhat.com>
18483
18484         * src/NetworkManagerDevice.c
18485                 - Minor fixups & corrections to "auto" frequency mode, make it
18486                         less chatty with syslog
18487
18488 2005-01-10  Dan Williams <dcbw@redhat.com>
18489
18490         * src/NetworkManagerDevice.c
18491                 - Implement "auto" frequency/channel support, since cards like Atheros
18492                         can't use other frequencies at all when you've told it to use a
18493                         specific one, even for scanning.
18494                 - Grab the scan mutex around places where we can't tolerate wireless
18495                         settings changing underneath us, like nm_device_wireless_network_exists()
18496                         and nm_device_activate_wireless()
18497
18498         * src/NetworkManagerWireless.c
18499                 - Back scan interval off to 20s instead of 14s
18500
18501 2005-01-09  Dan Williams <dcbw@redhat.com>
18502
18503         * src/NetworkManagerDevice.c
18504                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18505                         already set.  Stops some drivers like Atmel from continually
18506                         reloading the firmware, which they do upon every configuration
18507                         change.
18508
18509 2005-01-09  Dan Williams <dcbw@redhat.com>
18510
18511         * dhcpcd/client.c
18512                 - Use correct timeout value
18513
18514         * info-daemon/NetworkManagerInfoDbus.c
18515           src/NetworkManagerDbus.c
18516                 - Consolidate communication between NM and NMI by doing only 1 dbus
18517                         method call to get Wireless Network info from NMI instead of 6
18518
18519         * src/NetworkManager.c
18520                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18521                         when we didn't have an AP to use, we'd wait for one forever without
18522                         quitting
18523
18524         * src/NetworkManagerDevice.c
18525                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18526                         activation, dhcp might not have started yet but we don't quit activation
18527                         before starting it, so the quit signal gets lost
18528
18529 2005-01-07  Dan Williams <dcbw@redhat.com>
18530
18531         * dhcpcd/client.c
18532                 - Rework the DHCP client code to be much less chatty when
18533                         it receives non-DHCP UDP packets during the DHCP run
18534                         (reported by and preliminary patches from Bill Moss)
18535
18536         * Move wireless scanning to a separate thread.  This thread forwards the
18537                 results to the main thread when done where they are integrated into
18538                 the device's access point lists.  This keeps the main thread (which
18539                 does all the DBUS communication) from being blocked for long periods
18540                 of time by wireless scanning.
18541
18542         * Make state modification an idle routine in the main loop, and trigger
18543                 state changes rather than polling for them.
18544
18545         * src/backends/NetworkManagerGentoo.c
18546                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18547
18548         * src/NetworkManagerDevice.c
18549                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18550                         router advertisements, causing problems and infinite loop
18551                         during "best" device determination due to link going up/down
18552                         (reported by Bill Moss)
18553
18554         Apply patch from Peter Jones
18555         * src/NetworkManagerDevice.c
18556                 - Shortcut for link-checking for ipw2x00 cards
18557                 - Split out association check into separate routine
18558
18559 2004-01-05  Colin Walters  <walters@redhat.com>
18560
18561         * named/named.conf: Add PID_FILE.
18562
18563         * named/nm-named-manager.c: Always generate a pid
18564         file, since older BIND versions don't support
18565         "pid-file none".
18566
18567 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18568
18569         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18570
18571 2004-12-22  Dan Williams <dcbw@redhat.com>
18572
18573         * src/NetworkManagerDevice.c
18574                 - Silently fail when setting bitrate doesn't work
18575
18576
18577         Patches from j@bootlab.org:
18578         * src/backends/NetworkManagerDebian
18579                 - Update backend to match functionality in RedHat backend
18580         * src/NetworkManagerDevice.c
18581                 - Take down then bring up wired devices after connection so
18582                 they send out ipv6 router advertisements
18583
18584 2004-12-21  Colin Walters  <walters@verbum.org>
18585
18586         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18587         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18588
18589 2004-12-21  Colin Walters  <walters@redhat.com>
18590
18591         * configure.in: Correct named detection.
18592
18593 2004-12-21  Colin Walters  <walters@redhat.com>
18594
18595         * src/NetworkManager.c (nm_data_new): Initialize named.
18596         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18597         the mainloop when these signals are received.
18598         (nm_data_free): Unref named.
18599         (sigterm_handler, sigterm_pipe_handler): New functions for
18600         exiting mainloop.
18601         
18602         * src/NetworkManagerMain.h (NMData): Add signal handling and
18603         nameserver bits.
18604
18605         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18606         unref.
18607
18608         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18609         set nameservers from DHCP response data.
18610         (set_domain_search): Set domain search from DHCP response.
18611         (nm_device_dhcp_configure): Invoke them.
18612
18613         * src/NetworkManagerSystem.c
18614         (nm_system_device_update_resolv_conf): Delete.  Deleting
18615         code is totally sweet.
18616
18617         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18618
18619         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18620         implements an object which controls a nameserver.  Currently
18621         uses bind 9.
18622
18623         * configure.in: Check for named.
18624
18625         * Makefile.am (SUBDIRS): Add named dir.
18626
18627         * named/named.conf: New template config file.
18628
18629 2004-12-20  Colin Walters  <walters@redhat.com>
18630
18631         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18632         instead of '='.
18633
18634 2004-12-17  Dan Williams  <dcbw@redhat.com>
18635
18636         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18637                 link-local addresses instead of doing DHCP.
18638
18639         * In the panel applet, there's a new "Create new Wireless Network..." item
18640
18641         * The panel applet also sticks around now even if NetworkManager dies, but
18642                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18643                 a bug, I'll fix that later.
18644
18645         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18646                 lookups after a switch rather than actually doing them.
18647
18648         * Clean up some of those warnings in nm_ap_list_* functions
18649
18650         * Delay between scans changed to 15s instead of 10s
18651
18652 2004-12-15  Dan Williams  <dcbw@redhat.com>
18653
18654         Patch from Tom Parker
18655         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18656                 address
18657
18658         * Longer pause after setting ESSID on cards that support a larger number
18659                 of channels to give the card time to find the right channel
18660
18661         * Add system hook to restart mDNSResponder (or whatever the local implementation
18662                 of Multicast DNS is) when we activate interfaces
18663
18664 2004-12-15  Dan Williams  <dcbw@redhat.com>
18665
18666         * Rework the DHCP code again to revert to sending full ethernet frames
18667                 rather then relying on the kernel to do the right thing with our
18668                 packets.
18669
18670 2004-12-06  Dan Williams  <dcbw@redhat.com>
18671
18672         * dhcpcd/client.c
18673                 - Fix some minor errors in dhcp_handle_transaction() that caused
18674                         unexpected early timeouts of DHCP transactions
18675
18676         * dhcpcd/client.h
18677                 - DHCP retransmit time from 4s -> 5s
18678
18679 2004-12-05  Dan Williams  <dcbw@redhat.com>
18680
18681         * Major rework of the DHCP code, taking some cues from pump.  We don't
18682                 write raw Ethernet packets anymore, which simplifies the code quite
18683                 a bit.  The new code should be more robust, not hang in recvfrom()
18684                 as much, and generally work better.  This also means that we need
18685                 to force HAL/dbus to use a created GMainContext rather than the
18686                 default context, since having the DHCP renew/rebind thread using
18687                 its own GMainContext seemed to give dbus a fit.  There is also more
18688                 debugging information printed from the DHCP loop to help with future
18689                 problems.
18690
18691         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18692                 assume that the default gateway should be the DHCP server.
18693
18694         Patch from Matthew Schick <matt oss-institute org>
18695         * src/backends/NetworkManagerGentoo.c
18696                 - Fix compilation error due to missing "ip4_broadcast"
18697
18698 2004-12-03  Dan Williams  <dcbw@redhat.com>
18699
18700         * initscript/Makefile.am
18701         * initscript/Debian/NetworkManager
18702         * initscript/Gentoo/NetworkManager
18703         * initscript/RedHat/NetworkManager
18704         * initscript/NMLaunchHelper.c
18705                 - Remove NMLaunchHelper, if you need to wait until the network
18706                         comes up, use the dead code from CVS.
18707
18708 2004-12-01  Colin Walters  <walters@redhat.com>
18709         
18710         * configure.in: Suck in gcc warnings code from Rhythmbox,
18711         but use fewer default flags, and in particular add -Wno-unused,
18712         since the codebase has a lot of unused variables.
18713
18714         * test/nmtestdevices.c (create_device): 
18715         * test/nminfotest.c (get_network_string_property) 
18716         (get_networks_of_type): 
18717         * test/nmclienttest.c (main): 
18718         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18719         * initscript/NMLaunchHelper.c (get_nm_status): 
18720         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18721         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18722         Fix declarations after statements.
18723
18724 2004-12-01  Colin Walters  <walters@redhat.com>
18725
18726         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18727         (nmi_dbus_get_vpn_userpass): New method.
18728         (nmi_dbus_nmi_message_handler): Invoke it.
18729
18730         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18731
18732         * info-daemon/NetworkManagerInfoVPN.h,
18733         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18734         to requests for VPN passwords.
18735
18736         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18737
18738 2004-12-01  Colin Walters  <walters@redhat.com>
18739
18740         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18741         includes.
18742
18743 2004-12-01  Colin Walters  <walters@redhat.com>
18744
18745         * panel-applet/NMWirelessAppletDbus.c
18746         (nmwa_dbus_update_active_device_strength): Fix missing
18747         return value.
18748
18749 2004-12-01  Colin Walters  <walters@redhat.com>
18750
18751         * panel-applet/NMWirelessApplet.c: Add missing include.
18752
18753 2004-12-01  Colin Walters  <walters@redhat.com>
18754
18755         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18756         Remove useless CLAMP (); the value is unsigned, and the case tests
18757         qual->qual < 100, so the value must always be between 0 and 100.
18758
18759 2004-12-01  Colin Walters  <walters@redhat.com>
18760
18761         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18762
18763 2004-11-22  Colin Walters  <walters@verbum.org>
18764
18765         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18766         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18767         which is essentially a noop since nscd caches hosts on disk too.
18768         
18769 2004-11-22  Colin Walters  <walters@redhat.com>
18770
18771         * src/Makefile.am (NetworkManager_SOURCES): Add
18772         NetworkManagerDevicePrivate.h.
18773
18774 2004-11-22  Dan Williams <dcbw@redhat.com>
18775
18776         * src/NetworkManagerDevicePrivate.h
18777                 - Split out the NMDevice struct to a different file so that stuff like
18778                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18779
18780         * dhcpcd/client.c
18781                 - fprintf->syslog
18782                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18783                         need to cancel the dhcp request during the send and recv
18784
18785         * dhcpcd/client.h
18786                 - Move the DHCP option enum to dhcpcd.h
18787
18788         * src/NetworkManagerDHCP.c
18789                 - Split out the actual IP/netmask/etc setting code
18790                 - New Renew/Rebind functions
18791                 - New timer setup function for renew/rebind operations
18792
18793         * src/NetworkManagerDevice.c
18794                 - For device activation, if we are using DHCP then keep the activation thread
18795                         alive until device deactivation.  We need to renew/rebind the DHCP address
18796                         after the T1 (renew) and T2 (rebind) times have expired.
18797                 - Increase some timeouts after bringing wireless cards up/down
18798
18799 2004-11-17  Dan Williams <dcbw@redhat.com>
18800
18801         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18802                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18803                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18804                 show known access points that don't broadcast their ESSID in the menus without
18805                 any user intervention whatsoever.
18806
18807         * info-daemon/NetworkManagerInfoDbus.c
18808                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18809                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18810
18811         * src/NetworkManagerAP.[ch]
18812                 - Add a "user_addresses" data member to the NMAccessPoint structure
18813                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18814                         the user_addresses data member
18815
18816         * src/NetworkManagerAPList.c
18817                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18818                         the AP's reported address
18819                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18820
18821         * src/NetworkManagerDHCP.c
18822                 - Increase DHCP timeout from 25s -> 30s
18823
18824         * src/NetworkManagerDbus.[ch]
18825                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18826                         user addresses
18827
18828         * src/NetworkManagerDevice.c
18829                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18830                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18831                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18832                         So, we take the card down to clear it out.
18833                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18834                         too, since that's where the user_addresses are
18835
18836         * src/NetworkManagerPolicy.c
18837                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18838                         that wireless networks' user_addresses list upon successful activation
18839
18840 2004-11-16  Dan Williams <dcbw@redhat.com>
18841
18842         * src/NetworkManagerDevice.[ch]
18843                 - (nm_device_clear_activation_fail): new function
18844
18845         * src/NetworkManagerPolicy.c
18846                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18847                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18848
18849 2004-11-16  Dan Williams <dcbw@redhat.com>
18850
18851         * src/NetworkManagerDevice.c
18852                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18853                         leak the structure, better updating of now_scanning status
18854                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18855
18856 2004-11-15  Dan Williams <dcbw@redhat.com>
18857
18858         Major rework of link detection code.  We now use DHCP
18859         as part of the link detection which proves to be much more robust,
18860         and also supports Open System authentication for wireless networks.
18861
18862         We no longer use external DHCP client programs.  Instead, we use 
18863         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18864         which was written by:
18865                 Yoichi Hariguchi <yoichi@fore.com>
18866                 Sergei Viznyuk <sv@phystech.com>
18867                 http://www.phystech.com/download/
18868         It resides in the "dhcpcd" directory and was refactored into a general
18869         purpose DHCP client library by me.
18870
18871         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18872         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18873
18874 2004-11-15  Dan Williams <dcbw@redhat.com>
18875
18876         Patch from Tom Parker <palfrey@tevp.net>:
18877
18878         * src/NetworkManagerDevice.c
18879                 - Less output to console when no access
18880                         points are found during a scan
18881
18882 2004-11-15  Dan Williams <dcbw@redhat.com>
18883
18884         Patch from Tom Parker <palfrey@tevp.net>:
18885
18886         * src/backends/interface_parser.c
18887                 - Use g_strdup ()
18888                 - Check for inp == NULL
18889                 - use syslog ()
18890
18891 2004-11-13  Colin Walters  <walters@redhat.com>
18892
18893         Patch from Tom Parker <palfrey@tevp.net>:
18894
18895         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18896         
18897         * src/backends/NetworkManagerRedHat.c: Switch to
18898         including shvar.h instead of shvar.c.
18899
18900         * src/backends/NetworkManagerDebian.c: Don't include
18901         interface_parser.c in source file.
18902
18903         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18904         and interface_parser.[ch].
18905         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18906         Include shvar.c and shvar.h here.
18907         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18908         interface_parser.c and interface_parser.h here.
18909
18910 2004-11-12  Colin Walters  <walters@redhat.com>
18911
18912         * configure.in: Strip out TARGET_DISTRO and
18913         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18914         conditionals.
18915
18916         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18917         (libnmbackend_la_SOURCES): Use Automake conditionals
18918         to add distro-specific files.
18919
18920         * initscript/Makefile.am (SUBDIRS): Update to
18921         use conditionals.
18922
18923 2004-11-12  Colin Walters  <walters@redhat.com>
18924
18925         Patches from j bootlab org
18926
18927         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18928         Add interface_parser.[ch].
18929
18930         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18931         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18932
18933 2004-11-12  Colin Walters  <walters@redhat.com>
18934
18935         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18936         call to nmi_dbus_is_running too, not necessary anymore.
18937         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18938         pick up exit().
18939
18940 2004-11-11  Colin Walters  <walters@verbum.org>
18941
18942         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18943         Delete.
18944         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18945         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18946         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18947         This avoids a race condition that made it pretty easily
18948         possible to get two NetworkManagerInfo daemons running.
18949
18950 2004-11-11  Colin Walters  <walters@verbum.org>
18951         
18952         * src/NetworkManager.c (main): Use daemon(3).
18953
18954         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18955
18956         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18957
18958 2004-11-10 Dan Williams <dcbw@redhat.com>
18959
18960         Patches from j bootlab org
18961         * src/NetworkManagerDevice.c
18962                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18963                         whether the card has a link or not, some cards are slow
18964                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18965
18966         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18967                 - Disable the "Login" button on the passphrase dialog until the user
18968                         enters a valid passphrase or key
18969
18970         Patches from Tom Parker <palfrey tevp net>
18971         * src/backends/NetworkManagerDebian.c
18972                 - Add static IP support to the debian backend
18973
18974         * src/backends/interface_parser.[ch]
18975                 - Parse debian interface config files
18976
18977 2004-11-08 Dan Williams <dcbw@redhat.com>
18978
18979         * src/NetworkManagerDevice.c
18980                 - Some random fprintf->syslog conversions
18981                 - (nm_device_wireless_network_exists): double-check for network
18982                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18983
18984         * src/NetworkManagerWireless.[ch]
18985                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18986                         so that the binary->ascii conversion works (if unsigned, the bitshift
18987                         will fill with zeros, which is what's required).  Also mask bitshift
18988                         result with 0xF for futher assurance.
18989
18990 2004-11-06 Dan Williams <dcbw@redhat.com>
18991
18992         * src/NetworkManagerUtils.c
18993                 - (nm_get_wireless_driver_support_level): default to
18994                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18995                         flip this when changing from whitelist->blacklist of
18996                         wireless drivers
18997
18998 2004-11-05 Dan Williams <dcbw@redhat.com>
18999
19000         Patch from Robert Paskowitz:
19001         * src/backends/NetworkManagerGentoo.c
19002                 - Update static IP config code
19003
19004 2004-11-05 Dan Williams <dcbw@redhat.com>
19005
19006         * info-daemon/NetworkManagerInfoDbus.c
19007           src/NetworkManagerDbus.[ch]
19008           src/NetworkManagerDevice.c
19009                 - Keep track of the # of attempts to get the WEP key
19010                         from the user and pass that along to the info daemon
19011
19012 2004-11-05 Dan Williams <dcbw@redhat.com>
19013
19014         * src/NetworkManagerUtils.c
19015                 - Blacklist wireless cards rather than whitelisting them.
19016                 - Grab driver name from HAL rather than trying to find it
19017                         ourselves.
19018
19019 2004-11-03 Dan Williams <dcbw@redhat.com>
19020
19021         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19022                 - Disable OK button until valid data is entered
19023                         for encryption stuff too
19024
19025         * panel-applet/NMWirelessApplet.c
19026                 - Report card strength for current AP if the card
19027                         doesn't report strength data for scanned access
19028                         points
19029
19030         * src/NetworkManagerDevice.c
19031                 - Smooth out cards reported quality, Atmel card was
19032                         intermittently reporting no quality data but soon
19033                         recovers
19034
19035         * src/NetworkManagerWireless.c
19036                 - Better quality data percentage calculation.  Atmel
19037                         cards (mine at least) seem to report the quality
19038                         in percentage format already, so honor that
19039
19040         Patch from <j@bootlab.org>
19041         * NetworkManager.h
19042           info-daemon/NetworkManagerInfoPassphraseDialog.c
19043           info-daemon/passphrase.glade
19044           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19045           panel-applet/essid.glade
19046           src/NetworkManagerAP.c
19047           src/NetworkManagerDevice.c
19048           src/NetworkManagerWireless.[ch]
19049                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19050
19051 2004-11-03 Dan Williams <dcbw@redhat.com>
19052
19053         * src/NetworkManagerDevice.[ch]
19054                 - (nm_device_set_enc_key): Add parameter to set Authentication
19055                         Mode (Open System, Shared Key, or None).  We're still using
19056                         Shared Key for now though.
19057
19058 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19059
19060         * panel-applet/menu-info.c: change from bold text to light
19061         colored, may cause problems with some themes, i've tested a lot
19062         and they seem fine. 
19063
19064         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19065
19066 2004-11-01  Colin Walters  <walters@verbum.org>
19067
19068         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19069         (nm_wireless_128bit_key_from_passphrase): Add const.
19070
19071         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19072         (nm_ap_set_enc_key_source): Add const.
19073         
19074 2004-11-01  Colin Walters  <walters@verbum.org>
19075
19076         * .cvsignore: Update.
19077
19078 2004-10-29 Dan Williams <dcbw@redhat.com>
19079
19080         * src/NetworkManagerDevice.c
19081                 - (nm_device_wireless_network_exists): Actually use the encryption
19082                         key we got from the applet when attempting to find a wireless network
19083                 - Don't bring devices down so much since on some cards it triggers
19084                         firmware hotplugs each time
19085
19086         * src/NetworkManagerDbus.c
19087                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19088                         from the caller
19089
19090 2004-10-29 Dan Williams <dcbw@redhat.com>
19091
19092         * src/NetworkManager.c
19093                 - (nm_hal_device_property_modified): unlock a locked active
19094                         wireless device when a wired connection gets a link.
19095                         (Means you'll switch to wired whenever you plug in no
19096                         matter what).
19097
19098 2004-10-29 Dan Williams <dcbw@redhat.com>
19099
19100         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19101                 - New files, implement the "Other wireless network" dialog
19102
19103         * panel-applet/NMWirelessApplet.c
19104                 - Move "other wireless network" dialog to separate file
19105
19106         * panel-applet/NMWirelessAppletDbus.[ch]
19107                 - Take key and key_type paramaters for the set_device function
19108
19109         * panel-applet/essid.glade
19110                 - Add UI bits for encryption settings
19111
19112         * src/NetworkManagerDbus.c
19113                 - Retrieve key and key_type params for "setActiveDevice" method call
19114                         and pass them on
19115                 - unref AP returned from nm_device_get_best_ap() when needed
19116
19117         * src/NetworkManagerDevice.c
19118                 - (nm_device_get_best_ap): ref the ap before returning it
19119                 - unref AP returned from nm_device_get_best_ap() when needed
19120                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19121                         need to call nm_device_get_best_ap() here, it was pretty much
19122                         redundant anyway
19123                 - (AP_NEED_KEY): break second link check condition out into separate
19124                         function, and fix segfault when ap->enc_key_source was NULL
19125                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19126                         pass them along to nm_device_wireless_network_exists().  If the
19127                         network does exist, set the passed-in key+key_type on the AP
19128
19129         * src/NetworkManagerPolicy.c
19130                 - unref AP returned from nm_device_get_best_ap() when needed
19131
19132 2004-10-28 Dan Williams <dcbw@redhat.com>
19133
19134         * src/NetworkManagerUtils.c
19135                 - (nm_spawn_process): Fix a potential dereference of NULL
19136
19137         Patches from Peter Jones:
19138
19139         * src/NetworkManagerDevice.c
19140                 - (nm_device_test_wireless_extensions): Better check for
19141                         wireless devices
19142
19143         * src/NetworkManagerUtils.c
19144                 - (nm_spawn_process): Pass in valid stdout and stderr so
19145                         executed programs don't randomly SIGPIPE and fail
19146                 - (nm_get_wired_driver_support_level): quash hal warning
19147                         when checking for USB ethernet device
19148
19149 2004-10-27 Dan Williams <dcbw@redhat.com>
19150
19151         * info-daemon/NetworkManagerInfo.c
19152           info-daemon/NetworkManagerInfoDbus.c
19153           info-daemon/NetworkManagerInfoPassphraseDialog.c
19154           panel-applet/NMWirelessApplet.c
19155                 - Properly escape gconf keys
19156
19157         * src/NetworkManager.c
19158                 - remove unused variables
19159
19160         * src/NetworkManagerAP.c
19161                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19162                         refcount since it got set in nm_ap_new()
19163
19164         * src/NetworkManagerAPList.c
19165                 - (nm_ap_list_combine): Give up ownership of newly created
19166                         access points to the ap list, fixes memleak
19167
19168         * src/NetworkManagerDevice.c
19169                 - Remove cached_ap_list4 member since its not really needed
19170                 - (nm_device_wireless_network_exists): Try to get correct
19171                         encryption status of a found AP if its already in our
19172                         device list
19173                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19174                         memory allocs/deallocs a bit clearer and shorter-lived
19175
19176 2004-10-26 Ray Strode <rstrode@redhat.com>
19177
19178         * panel-applet/NMWirelessApplet.c:
19179           (custom_essid_item_selected):  kill some compiler
19180         warnings 
19181
19182 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19183
19184         * info-daemon/NetworkManagerInfoDbus.c
19185                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19186                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19187
19188 2004-10-23 Dan Williams <dcbw@redhat.com>
19189
19190         * info-daemon/NetworkManagerInfoDbus.c
19191                 - Trap the "DeviceActivationFailed" signal
19192
19193         * docs/NetworkManager DBUS API.txt
19194                 - Add "DeviceActivationFailed" signal
19195
19196         * panel-applet/NMWirelessAppletDbus.c
19197                 - Quash the "NetworkManager service not available" message
19198
19199         * src/NetworkManagerDbus.[ch]
19200                 - Add the "DeviceActivationFailed" signal
19201
19202         * src/NetworkManagerDevice.c
19203                 - Add support for activation_failed flag
19204                 - Fix deadlock where activation thread didn't clean itself up, making
19205                         main thread still believe it was alive forever (didn't reset activation
19206                         flags like activating, just_activated, etc when IP configuration
19207                         failed)
19208
19209         * src/NetworkManagerPolicy.c
19210                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19211                         for wireless networks, try to fall back to some other access point
19212
19213 2004-10-23 Dan Williams <dcbw@redhat.com>
19214
19215         * panel-applet/NMWirelessApplet.[ch]
19216                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19217                         to the applet object, so we can get tooltips
19218                 - Add tooltips (RH #136866)
19219
19220         * src/NetworkManagerDevice.c
19221                 - When trying to find a wireless network, try to connect with encryption
19222                         turned on first, so that we can more accurately detect whether or not
19223                         we need to use encryption for the actual association later on
19224
19225 2004-10-21 Dan Williams <dcbw@redhat.com>
19226
19227         * Add some support for telling NetworkManagerInfo to tell the user
19228                 that they are using a device that's not fully supported
19229
19230         * Fix some assertions in debug messages due to null access point args
19231
19232 2004-10-21 Dan Williams <dcbw@redhat.com>
19233
19234         * src/NetworkManagerDevice.c
19235                 - Don't try to activate/bring up/down unsupported
19236                         devices
19237
19238         * src/NetworkManagerUtils.c
19239                 - Fix case of PCI ID checks for driver support levels
19240
19241 2004-10-21 Dan Williams <dcbw@redhat.com>
19242
19243         * NetworkManager.h
19244                 - New file, now contains commonly used structures and bits
19245                         for the dbus API of NetworkManager
19246
19247         * Makefile.am
19248                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19249
19250         * src/NetworkManager.h
19251                 - Rename -> src/NetworkManagerMain.c
19252
19253         * Various fixups all around to use NetworkManager.h and new
19254                 src/NetworkManagerMain.h, remove redundant bits that got
19255                 moved into NetworkManager.h
19256
19257         * src/NetworkManagerDevice.[ch]
19258           src/NetworkManagerUtils.[ch]
19259           src/NetworkManagerPolicy.c
19260           src/NetworkManagerDbus.c
19261                 - Whitelist wireless drivers, and blacklist some wired
19262                         drivers.  Also blacklist cipsec and ethernet-over-usb
19263                         devices at this time (RH #135722, RH #135648)
19264                 - Don't leak unsupported devices out over dbus, or allow
19265                         them to be set as the active device.  Skip over them
19266                         during automatic device picking
19267
19268         * test/nmclienttest.c
19269                 - Clean up the dbus code a lot
19270
19271 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19272
19273         * configure.in: post release bump.
19274
19275 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19276
19277         * configure.in:
19278         * NEWS: Released NetworkManager-0.3.1
19279
19280 2004-10-18 Dan Williams <dcbw@redhat.com>
19281
19282         Patches from Thom May:
19283         * test/nmtestdevices.c
19284                 - Include <string.h>
19285         * src/backends/NetworkManagerDebian.c:
19286                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19287                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19288                         Move to using g_strdup_printf rather than arbitrary buffers
19289                 - (nm_system_device_setup_static_ip4_config) Implement function.
19290                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19291
19292 2004-10-17 Dan Williams <dcbw@redhat.com>
19293
19294         * info-daemon/NetworkManagerInfoDbus.c
19295                 - Display name of network in the "network not found" dialog
19296
19297         * panel-applet/NMWirelessAppletDbus.c
19298                 - (nmwa_dbus_call_nm_method): new function replaces all other
19299                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19300                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19301                         consolidated into nmwa_dbus_get_object_name()
19302
19303 2004-10-15 Dan Williams <dcbw@redhat.com>
19304
19305         * src/NetworkManagerDbus.c
19306           info-daemon/NetworkManagerInfoDbus.c
19307                 - Display an error dialog when the user tries to use an
19308                         "Other wireless network" that's not found.
19309
19310 2004-10-15 Dan Williams <dcbw@redhat.com>
19311
19312         * panel-applet/NMWirelessApplet.[ch]
19313                 - Fix up corner cases in applet state, making it
19314                         look more responsive.  Change state to "connecting" when
19315                         the user is forcing a device too.
19316
19317 2004-10-15 Dan Williams <dcbw@redhat.com>
19318
19319         * src/NetworkManagerAPList.c
19320                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19321
19322         * src/NetworkManagerDbus.c
19323                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19324
19325         * src/NetworkManagerDevice.c
19326                 - Disown APs after the device's AP list takes ownership
19327
19328 2004-10-15 Dan Williams <dcbw@redhat.com>
19329
19330         * panel-applet/NMWirelessApplet.c
19331                 - Update our applet state from the GUI thread
19332
19333         * panel-applet/NMWirelessAppletDbus.c
19334                 - Greatly simplify the locking to make the GUI thread
19335                         smoother.  Update a private copy of the device list
19336                         and active device and only when done talking to
19337                         NetworkManager turn it over to the GUI thread.
19338
19339 2004-10-15 Dan Williams <dcbw@redhat.com>
19340
19341         * src/NetworkManagerAP.[ch]
19342                 - Add "artificial" get/set functions, set for APs that
19343                         aren't discovered as part of a scan but instead
19344                         discovered by force-setting the ESSID
19345
19346         * src/NetworkManagerDevice.[ch]
19347                 - (nm_device_wireless_network_exists): pass back whether
19348                         or not the discovered AP was encrypted.  Also, try
19349                         falling back to encrypted mode on the card if unencrypted
19350                         association doesn't work
19351                 - (nm_device_find_and_use_essid): If the network requested
19352                         did in fact exists, but it wasn't in our scan list, add
19353                         an "artificial" entry for it.  Some Cisco cards don't
19354                         see non-ESSID-broadcasting APs in their scan but can still
19355                         associate with them if you know the ESSID, this works around
19356                         that behavior
19357                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19358                         to scan if the card is currently associated with that AP
19359
19360 2004-10-15 Dan Williams <dcbw@redhat.com>
19361
19362         ---- We have a website ----
19363         http://people.redhat.com/dcbw/NetworkManager
19364
19365         Patch from Robert Paskowitz:
19366         * src/NetworkManager.c
19367                 - (main): Make sure we are run as root
19368         * src/NetworkManagerDevice.c
19369                 - Fix type in ad-hoc setting function
19370
19371         Patch from Thom May:
19372         * src/backends/NetworkManagerDebian.c
19373                 - Make Debian backend compile again
19374
19375 2004-10-14 Dan Williams <dcbw@redhat.com>
19376
19377         * Tagged NetworkManager-0_3
19378
19379 2004-10-14 Dan Williams <dcbw@redhat.com>
19380
19381         Patch from Robert Paskowitz:
19382         * NEWS
19383           src/NetworkManagerDevice.[ch]
19384           src/backends/NetworkManagerDebian.c
19385           src/backends/NetworkManagerGentoo.c
19386           src/backends/NetworkManagerRedHat.c
19387           src/backends/NetworkManagerSlackware.c
19388                 - Add support for grabbing and using a broadcast address
19389                         from system config files
19390                 - Some Gentoo backend fixes for grabbing network config
19391                 - Fix LOG_WARN->LOG_WARNING
19392
19393 2004-10-14 Dan Williams <dcbw@redhat.com>
19394
19395         * NEWS: a few small fixes in the credits
19396
19397 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19398
19399         * NEWS: prep for release.
19400
19401 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19402
19403         * panel-applet/NMWirelessAppletDbus.c
19404         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19405
19406 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19407
19408         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19409         applet->state == APPLET_STATE_NO_NM animation.
19410
19411         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19412         set the text correctly.
19413
19414 2004-10-14 Dan Williams <dcbw@redhat.com>
19415
19416         * src/NetworkManager.c
19417                 - Only accept and manager 802.3 and 802.11 devices
19418
19419         * src/NetworkManagerDbus.[ch]
19420                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19421                         logic into NetworkManagerDevice.c
19422                 - (nm_dbus_network_status_from_data): new function
19423                 - (nm_dbus_signal_network_status_change): new function, unused for now
19424                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19425
19426         * src/NetworkManagerDevice.[ch]
19427                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19428                         a random ESSID.
19429
19430 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19431
19432         * info-daemon/NetworkManagerInfo.c 
19433                 - (main): Added session management
19434
19435 2004-10-14 Dan Williams <dcbw@redhat.com>
19436
19437         * panel-applet/NMWirelessAppletDbus.[ch]
19438                 - Expose network_device_[un]ref()
19439                 - Expose wireless_network_[un]ref()
19440                 - (wireless_network_new_with_essid): new function, create and return
19441                         a wireless network with a particular essid
19442
19443         * panel-applet/NMWirelessApplet.c
19444                 - Hook up the "other network" dialog to do something
19445
19446 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19447
19448         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19449         doesn't work yet, but it looks okay.
19450
19451         * panel-applet/icons/*png: Resize to 22x22 and install in the
19452         right place.
19453
19454 2004-10-13 Dan Williams <dcbw@redhat.com>
19455
19456         * panel-applet/NMWirelessApplet.c
19457                 - Add function to print out applet_state in a readable
19458                         manner
19459
19460         * src/NetworkManager.c
19461                 - (main): Don't segfault when nm_dbus_init() fails, we had
19462                         a left-over call to hal_shutdown() into which we passed NULL
19463
19464         * src/NetworkManagerAP.c
19465                 - (nm_ap_set_essid): Allow NULL essids
19466
19467         * src/NetworkManagerAPList.[ch]
19468                 - More use of nm_ap_list_[un]lock ()
19469                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19470                         network/essid, just return nothing.  Also skip over NULL
19471                         essid access points in the list when searching
19472                 - (nm_ap_list_get_ap_by_address): new function
19473                 - (nm_ap_list_update_network): set the access point's key source to
19474                         NULL when the key returned from NetworkManagerInfo is NULL or
19475                         of 0 length
19476                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19477                         copy timestamp over too
19478                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19479                         find the correct ESSID for a blank-essid access point by searching
19480                         through another list and matching access point MAC addresses
19481                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19482
19483         * src/NetworkManagerDbus.c
19484                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19485                         may specify.  This is mainly for access points that don't
19486                         broadcast their essid.  So if the user tells us to associate with
19487                         some random ESSID that's not in our access point list, we find
19488                         out if the access point does in fact exist (by attempting association
19489                         and then matching that access point's MAC address with the essid the
19490                         user gave us) and then we switch to it.
19491                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19492                         to the returned list of networks for the "getNetworks" method
19493
19494         * src/NetworkManagerDevice.[ch]
19495                 - Extra debugging info for link detection
19496                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19497                         based on MAC address
19498                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19499                 - (nm_device_wireless_network_exists): new function, find out whether
19500                         a random ESSID exists by attempting to associate with it
19501                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19502                         device list as long as they have an AP MAC address we can use.
19503                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19504                         devices too.  Lets the applet update more frequently.
19505
19506         * src/backends/NetworkManagerGentoo.c
19507                 - Patch from: Robert Paskowitz
19508                         - Update backend code for Gentoo
19509                         - Implement nm_system_device_update_config_info ()
19510
19511         * test/nmclienttest.c
19512                 - (set_network_device): new function, takes a command-line argument
19513                         and tells NetworkManager to use that wireless network
19514
19515 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19516
19517         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19518         if the notification icon crashes 5 times within 5 seconds of each respawn 
19519
19520 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19521
19522         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19523         g_print.
19524
19525 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19526
19527         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19528
19529         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19530         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19531         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19532         Change the name of the icons.
19533
19534         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19535         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19536         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19537         (nm_menu_wireless_expose_event): Really bad hack to get the style
19538         to draw in the right color.
19539
19540 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19541
19542         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19543         Notification if it crashes
19544
19545 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19546
19547         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19548         (nmwa_dbus_get_string): remove unused functions
19549
19550         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19551         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19552         remove unused functions
19553
19554         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19555
19556 2004-10-12 Dan Williams <dcbw@redhat.com>
19557
19558         * panel-applet/NMWirelessAppletDbus.c
19559                 - New functions:
19560                         wireless_network_new
19561                         wireless_network_copy
19562                         network_device_new
19563                         network_device_copy
19564
19565         * src/NetworkManagerDevice.[ch]
19566                 - New functions:
19567                         nm_device_set_mode_managed
19568                         nm_device_set_mode_adhoc
19569                 - Use these functions where appropriate
19570                 - When creating a new wireless device, force the card
19571                         to managed/Infrastructure mode as soon as possible
19572
19573 2004-10-12 Dan Williams <dcbw@redhat.com>
19574
19575         * src/NetworkManagerDevice.c
19576                 - Force wireless cards into Infrastructure mode before we use them
19577
19578 2004-10-12 Dan Williams <dcbw@redhat.com>
19579
19580         * TODO
19581                 - Remove bit about static IP address support
19582
19583         * src/NetworkManagerUtils.c
19584                 - (nm_spawn_process): Add some error reporting
19585
19586         * src/NetworkManagerDevice.c
19587                 - (nm_device_activation_configure_ip): hook up to the static config
19588                         routines in the backends
19589
19590         * src/backends/NetworkManagerRedHat.c
19591                 - (nm_system_device_update_config_info): use shvar.c routines to
19592                         parse the config file iformation, not our own
19593                 - (nm_system_device_setup_static_ip4_config): new function, based
19594                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19595                         with a static IP address and gateway
19596
19597         * src/backends/shvar.[ch]
19598                 - Parser (filched from initscripts package) for ifcfg-* files
19599
19600         * src/backends/NetworkManagerSystem.h
19601           src/backends/NetworkManagerGentoo.c
19602           src/backends/NetworkManagerDebian.c
19603           src/backends/NetworkManagerSlackware.c
19604                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19605
19606 2004-10-11 Dan Williams <dcbw@redhat.com>
19607
19608         * TODO
19609                 - Remove bit about more robust AP diffing since I just implemented it
19610
19611 2004-10-11 Dan Williams <dcbw@redhat.com>
19612
19613         * src/NetworkManagerAP.c
19614                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19615                         enough RAM to allocate new AP structures, but return NULL instead
19616
19617         * src/NetworkManagerAPList.[ch]
19618                 - (nm_ap_list_is_empty): new function
19619                 - (nm_ap_list_combine): new function, combine two access point lists
19620                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19621                         into another
19622
19623         * src/NetworkManagerDevice.[ch]
19624                 - Rename some functions to be clearer:
19625                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19626                         nm_device_just_activated     -> nm_device_is_just_activated
19627                         nm_device_activating         -> nm_device_is_activating
19628                         nm_device_now_scanning       -> nm_device_is_scanning
19629                 - Cache the last 4 scans so that the access point list is more stable.
19630                         We combine the lastest two scans and use that as the AP list,
19631                         and diff that combined list against the combination of the earliest
19632                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19633
19634 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19635
19636         * info-daemon/NWManagerInfo.h
19637                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19638
19639         * info-daemon/NWManagerInfoDbus.c
19640                 - (shutdown_callback): new function
19641                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19642                         if NetworkManager goes away.  Kill the timeout
19643                         if NetworkManager restarts before the 30 seconds
19644                         are up.
19645                 - (nmi_dbus_service_init): 
19646                         - call gtk_main_quit if NetworkManager is not running
19647                         - add filters to monitor dbus service creations and
19648                                 deletions
19649         
19650 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19651
19652         * panel-applet/NMWirelessApplet.c
19653                 - (nmwa_update_state): Hide notification icon if we are only
19654                         showing one wired card and no wireless interfaces 
19655                         (Red Hat Bug #134895)
19656
19657         * panel-applet/NMWirelessAppletDbus.c
19658                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19659
19660         * info-daemon/NWManagerInfo.c
19661                 - (main): Terminated the notification_icon_cmd array with a NULL
19662
19663 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19664
19665         * configure.in (ALL_LINGUAS): Added de (German).
19666
19667 2004-10-08 Dan Williams <dcbw@redaht.com>
19668
19669         * src/NetworkManagerDevice.c
19670                 - Be a bit more robust about link checking, ie make sure that
19671                         the WEP key we were given actually has some data in it
19672
19673 2004-10-08 Dan Williams <dcbw@redhat.com>
19674
19675         * info-daemon/NetworkManagerInfo.c (main):
19676                 - Initialize GError object to NULL
19677
19678 2004-10-08 Dan Williams <dcbw@redhat.com>
19679
19680         * panel-applet/NMWirelessAppletDbus.c
19681                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19682
19683 2004-10-08 Dan Williams <dcbw@redhat.com>
19684
19685         * info-daemon/NetworkManagerInfo.[ch]
19686           info-dameon/NetworkManagerInfoDbus.[ch]
19687           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19688                 - Preserve original label text in the passphrase dialog so that
19689                         it actually gets updated with the new network name the next
19690                         time around.  Previously, we were overwriting it so you'd get
19691                         the wrong network name to enter a key for
19692                 - Add a "Key Type" combo to the passphrase dialog, user selects
19693                         encryption key type now, type is stored in GConf too
19694                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19695
19696         * src/NetworkManagerAP.[ch]
19697                 - Remove all the encyption method magic.  It's now set by the user
19698                         and NetworkManager retrieves the type of encryption key from
19699                         NetworkManagerInfo
19700
19701         * src/NetworkManagerAPList.[ch]
19702           src/NetworkManagerDbus.[ch]
19703                 - Adjust to new way of setting encryption key and method
19704                 - Pull encryption method down from NMI along with key
19705
19706         * src/NetworkManagerDevice.[ch]
19707                 - Removed encryption method fallback magic as the method is now
19708                         determined by the user.  This greatly simplifies the connection
19709                         logic.
19710                 - More robust connection/link logic.  Besides removing the encryption
19711                         method fallback magic, check whether or not the card is receiving
19712                         invalidly encrypted packets, which usually indicates that we have
19713                         a bad WEP key set.
19714                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19715
19716         * test/nminfotest.c
19717                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19718
19719 2004-10-07 Dan Williams <dcbw@redhat.com>
19720
19721         * info-daemon/NetworkManagerInfo.conf
19722                 - Allow root user to run NMI too
19723
19724 2004-10-06 Dan Williams <dcbw@redhat.com>
19725
19726         * src/NetworkManagerDevice.[ch]
19727           src/NetworkManagerDbus.c
19728           doc/NetworkManager DBUS API.txt
19729                 - Add a new status tag "scanning", which is set when there
19730                         is no active network connection, but NetworkManager is
19731                         looking for an access point to associate with
19732
19733         * panel-applet/main.c
19734                 - Cast the applet appropriately for gtk_widget_show_all ()
19735
19736 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19737
19738         * panel-applet/eggtrayicon.[ch]:
19739         * panel-applet/main.c: Add missing file
19740
19741 2004-10-04 Dan Williams <dcbw@redhat.com>
19742
19743         * src/NetworkManagerDevice.[ch]
19744                 - Add a slightly more robust method of determining if the WEP key
19745                         is correct or not, by checking the WEP-discarded packet count
19746                         on the card
19747
19748         * info-daemon/NetworkManagerInfo.c
19749                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19750                         un-escape values we pull out rather than escaping them
19751
19752 2004-10-03  Marcel Telka  <marcel@telka.sk>
19753
19754         * configure.in (ALL_LINGUAS): Added sk.
19755
19756 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19757
19758         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19759         and feel.  We should be back to working, and have a good, clean
19760         look.
19761
19762 2004-09-30 Dan Williams <dcbw@redhat.com>
19763
19764         * info-daemon/NetworkManagerInfo.c
19765           info-daemon/NetworkManagerInfoDbus.c
19766           test/nminfotest.c
19767                 - Escape ESSIDs in gconf
19768
19769         * src/NetworkManagerDevice.c
19770                 - Fix pseudo-scanning to use netowrk list from info daemon
19771
19772 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19773
19774         * configure.in: Add a temporary --enable-notification-icon.  This
19775         will prolly go away.
19776
19777         * info-daemon/Makefile.am:
19778         * info-daemon/NetworkManagerInfo.c:
19779         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19780
19781         * panel-applet/Makefile.am:
19782         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19783         * panel-applet/NMWirelessApplet.h:
19784
19785 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19786
19787         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19788         before 'select custom ESSID'.
19789
19790         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19791         fully complete, but syncing in prep for merge.
19792
19793         * panel-applet/icons/*png: New images
19794
19795 2004-09-28 Dan Williams <dcbw@redhat.com>
19796
19797         * src/NetworkManager.c
19798           src/NetworkManagerDevice.c
19799           src/NetworkManagerPolicy.c
19800                 - Don't blow away an active wired connection on startup
19801
19802 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19803
19804         Changes from J5
19805         
19806         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19807
19808         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19809         syslog output
19810
19811 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19812
19813         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19814         have a wireless card.
19815
19816 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19817
19818         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19819         Also, get the right device strings.
19820
19821 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19822
19823         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19824         the logic to make this right.
19825
19826         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19827         devices so that wired networks are always first.
19828
19829 2004-09-22    <clarkbw@cvs.gnome.org>
19830
19831         * initscript/Debian/.cvsignore:
19832         * initscript/Slackware/.cvsignore:
19833         Added new cvsignores for Makefile, Makefile.in
19834         
19835         * test/.cvsignore:
19836         Added nmtestdevices
19837         
19838         * src/NetworkManagerDevice.c: 
19839         * src/NetworkManager.c: 
19840         Updated the wireless/wired HAL device strings from net.ethernet to
19841         net.80203 or net.80211 depending on wired or wireless respectively
19842         
19843         * examples/python/NetworkManager.py: 
19844         s/Quality/Strength/
19845
19846         * examples/python/systray/network_tray.py:
19847         Lots of little changes and fixes.  been rotting for a while so I
19848         figured I'd finally sync them all with CVS
19849
19850 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19851
19852         * configure.in: Add graphics
19853
19854         * panel-applet/Makefile.am: Add graphics
19855
19856         * panel-applet/icons/*: Add graphics
19857
19858         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19859         the icons fully lined up.
19860
19861         * panel-applet/menu-info.c: 
19862         * panel-applet/menu-info.h: Add another menu type.
19863
19864 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19865
19866         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19867
19868         * panel-applet/menu-item.[ch]: Wireless menu item.
19869
19870 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19871
19872         * info-daemon/NetworkManagerInfo.conf
19873                 - Created a more robust security policy for the DBus service
19874                         - everything is denied by default
19875                         - root can own and send to the service
19876                         - users logged in at the console can send to the service
19877
19878 2004-09-13  Dan Williams <dcbw@redhat.com>
19879
19880         * src/NetworkManagerDevice.c
19881                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19882                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19883                         the latter
19884
19885 2004-09-13  Dan Williams <dcbw@redhat.com>
19886
19887         * TODO: fix typo
19888
19889         * docs/NetworkManager DBUS API.txt
19890                 - Update for new signal strength changes
19891
19892         * panel-applet/NMWirelessApplet.c
19893                 - Make panel icon show strength of the current connection
19894                 - Cleanups and memleak fixes
19895
19896         * panel-applet/NMWirelessApplet.h
19897                 - Add data members for signal strength on devices and networks
19898
19899         * panel-applet/NMWirelessAppletDbus.c
19900                 - Free more DBusErrors
19901                 - Update for new signal strength changes
19902                 - Make devices and networks more like real objects, use ref/unref methods
19903                 - Actually unlock the mutex when updating the active device
19904
19905         * src/NetworkManagerAP.c
19906                 - Change AP functions and data members from "quality"->"strength"
19907
19908         * src/NetworkManagerDbus.c
19909                 - Kill "getMaxQuality" and "getQuality" methods
19910                 - Add "getStrength" methods for Networks and Devices
19911
19912         * src/NetworkManagerDevice.[ch]
19913                 - Add accessors for device strength
19914                 - Add functions to update strength for a device.  Note that not all drivers
19915                         actually support signal strength for scanned access points (Atmel drivers
19916                         being one)
19917                 - Calculate signal strength for each AP during scan
19918
19919         * src/NetworkManagerWireless.[ch]
19920                 - Add function to return signal strength % from a device and a raw quality struct
19921
19922         * test/nmclienttest.c
19923                 - Update for new signal strength changes
19924
19925 2004-09-11  Dan Williams <dcbw@redhat.com>
19926
19927         * src/NetworkManager.c
19928                 - Fix race condition between initscripts and NM on card insertion
19929                         which could cause a card to keep an IP address and routes around
19930                         even when it was not the active device
19931
19932         * src/NetworkManagerDbus.c
19933                 - Fix compile errors, free more DBusErrors
19934
19935 2004-09-11  Dan Williams <dcbw@redhat.com>
19936
19937         * docs/NetworkManager DBUS API.txt
19938                 - Add an explanation of NM's API
19939
19940         * src/NetworkManagerDbus.c
19941                 - Free some more DBusErrors if needed
19942
19943 2004-09-11  Dan Williams <dcbw@redhat.com>
19944
19945         * panel-applet/NMWirelessApplet.c
19946           panel-applet/NMWirelessAppletDbus.c
19947                 - Start using NetworkDevice/WirelessNetwork structures in more places
19948                 - Update for unified device/network forcing in NetworkManager
19949
19950         * src/NetworkManager.c
19951                 - some code consolidation
19952
19953         * src/NetworkManagerDbus.c
19954                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19955                         or two arguments:  the first is the NM ID of the device to switch to,
19956                         and the second (optional) argument is the ESSID of a wireless network
19957                         to use as well.
19958                 - Get rid of "setNetwork" method due to above change
19959
19960         * src/NetworkManagerDevice.c
19961                 - (nm_device_new): perform scan and update best AP on device creation
19962                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19963                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19964                         spin waiting for cancellation to finish before returning
19965
19966         * src/NetworkManagerPolicy.c
19967                 - Changes here clarify the situations in which a device switch occurs, and 
19968                         make sure to keep using a forced device and network if the user gives
19969                         us one
19970                 - Remove old unused code
19971
19972 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19973
19974         * configure.in: Added Danish (da) to ALL_LINGUAS.
19975
19976 2004-09-09  Dan Williams <dcbw@redhat.com>
19977
19978         * panel-applet/NMWirelessAppletDbus.c
19979                 - Pull fresh devices and networks from NM when wireless networks
19980                         change.  Provides faster feedback of a forced wireless network
19981
19982         * src/NetworkManagerDbus.c
19983                 - Return error when "getMaxQuality" is called on a wired device
19984                 - Make best_ap freezing actually work again, and signal cancellation
19985                         of activation if there's already a device activation when the user
19986                         freezes the best_ap
19987
19988         * src/NetworkManagerDevice.c
19989                 - Don't clear out the best_ap for wireless devices when the link goes
19990                         down, that's done elsewhere
19991                 - Kill any dhcp daemons when cancelling device activation since they
19992                         may be stuck waiting for a DHCP address, and since we're cancelling
19993                         activation we don't care about that anymore
19994
19995         * src/NetworkManagerPolicy.c
19996                 - Make sure to unref the device we ref earlier (we refed it to make sure
19997                         it stuck around during device activation and such)
19998                 - If we were going to change the best device, but its activating currently
19999                         (and therefore the change didn't occur due to the check earlier)
20000                         we mark the state changed to we come back to it later when device
20001                         activation has canceled and its no longer activating
20002
20003         * src/backends/NetworkManagerRedHat.c
20004                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20005
20006 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20007
20008         * info-daemon/passphrase.glade: 
20009         set passphrase input to activates_default : True
20010
20011         * examples/python/systray/network_tray.py
20012         (network_tray.sort_networks):
20013
20014         Added support for having wireless always scanning
20015
20016 2004-09-09  Dan Williams <dcbw@redhat.com>
20017
20018         NOTE: this commit changes the behavior of wireless devices in
20019         NetworkManager.  They are now up all the time, scanning all
20020         the time.  Only the active device has an IP address and routing
20021         information set up however.  Also, NetworkManager will no longer
20022         opportunistically switch wireless networks when a better one
20023         comes in range, it will remain associated with one wireless network
20024         until that one drops out.
20025
20026         * panel-applet/NMWirelessApplet.c
20027           panel-applet/NMWirelessAppletDbus.c
20028                 - List all wireless cards and their respective networks
20029
20030         * src/NMLoadModules
20031                 - Use full path to /sbin/ip
20032
20033         * src/NetworkManager.c
20034                 - Keep wireless devices up all the time so they can scan
20035
20036         * src/NetworkManagerDbus.c
20037                 - On a WirelessNetworkUpdate signal from NMI, don't update
20038                         the "best" AP
20039
20040         * src/NetworkManagerDevice.c
20041                 - (nm_device_set_link_active): clear out the best ap for
20042                         wireless devices when the link is set to FALSE
20043                 - Scan on all wireless cards, all the time
20044                 - (nm_device_activation_worker): split out the wireless card
20045                         link-waiting code to a separate function
20046                 - Keep wireless cards up even if device activation fails
20047                 - Don't update the "best" ap as much
20048
20049         * src/NetworkManagerPolicy.c
20050                 - Don't update the best ap when checking if its frozen,
20051                         let link checking clear out a frozen best ap for us
20052
20053         * src/NetworkManagerWireless.c
20054                 - Scan on all wireless cards, all the time
20055
20056 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20057
20058         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20059
20060 2004-09-09  Ankit Patel <ankit@redhat.com>
20061
20062         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20063
20064 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20065
20066         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20067
20068 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20069
20070         * examples/python/NetworkManager.py: 
20071         added CONNECTED, CONNECTING, and DISCONNECTED states
20072         added methods to return number of devices of a single type
20073
20074         * examples/python/systray/network_tray.py: 
20075         did some tweaks to get the menu looking near what it is supposed
20076         to look like.  Also did a Airo card hack to make it show the
20077         correct AP quality
20078
20079 2004-09-08  Dan Williams <dcbw@redhat.com>
20080
20081         * panel-applet/no-networkmanager.png
20082           panel-applet/Makefile.am
20083           panel-applet/NMWirelessApplet.c
20084                 - Add a "NetworkManager not running" icon and use it
20085                 - Use new consolidated GConf keys rather than Preferred/Trusted
20086
20087         * TODO: update
20088
20089         * info-daemon/NetworkManagerInfo.c
20090           info-daemon/NetworkManagerInfoDbus.[ch]
20091           info-daemon/NetworkManagerInfoPassphraseDialog.c
20092                 - There are now no longer two separate lists of wireless networks,
20093                         but one list where each network is "trusted" or not trusted
20094                 - Add a "getNetworkTrusted" dbus method
20095                 - "WirelessNetworkUpdate" signal now sent rather than
20096                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20097                 - Start freeing some dbus errors (not completed yet)
20098
20099         * info-daemon/passphrase.glade
20100                 - Remove the "don't show" hints for pager and taskbar
20101                 - Add a title since its going to be in the taskbar
20102
20103         * src/NetworkManager.[ch]
20104           src/NetworkManagerAPList.[ch]
20105                 - There are now no longer two separate lists of wireless networks,
20106                         but one list where each network is "trusted" or not trusted
20107
20108         * src/NetworkManagerAP.[ch]
20109                 - Add get/set "trusted" accessors and data bit
20110
20111         * src/NetworkManagerDbus.[ch]
20112                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20113                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20114
20115         * src/NetworkManagerDevice.[ch]
20116                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20117                 - (nm_device_new): Get device config from backend when initializing devices
20118                 - (nm_device_activation_worker): Split out device configuration on
20119                         activation to deal with static/dynamic IP differences, and try encryption
20120                         fallbacks on a device if the encryption method for the best AP is not good
20121                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20122                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20123
20124         * src/NetworkManagerWireless.c
20125                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20126
20127         * src/backends/NetworkManagerRedHat.c
20128           src/backends/NetworkManagerSystem.h
20129                 - (nm_system_device_update_config_info): Add function to get device configuration
20130                         from system data in ifcfg-* files
20131
20132         * src/backends/NetworkManagerDebian.c
20133           src/backends/NetworkManagerGentoo.c
20134           src/backends/NetworkManagerSlackware.c
20135                 - Add stub functions for getting device configuration
20136
20137 2004-09-07  Dan Williams <dcbw@redhat.com>
20138
20139         * src/backends/NetworkManagerRedhat.c
20140           src/backends/NetworkManagerSlackware.c
20141                 - Use full path to /sbin/ip everywhere
20142
20143 2004-09-07  Dan Williams <dcbw@redhat.com>
20144
20145         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20146
20147         * configure.in
20148           initscript/Makefile.am
20149           initscript/Slackware/Makfile.am
20150           initscript/Slackware/rc.networkmanager
20151           src/Makefile.am
20152           src/backends/NetworkManagerSlackware.c
20153                 - Add Slackware support
20154
20155 2004-09-07  Dan Williams <dcbw@redhat.com>
20156
20157         Patches below from:
20158                 <j@bootlab.org>
20159                 Mark Roach <mrroach@okmaybe.com>
20160                 Thom May <thom@debian.org>
20161
20162         * configure.in
20163           initscript/Debian/NetworkManager
20164           initscript/Debian/Makefile.am
20165                 - Initscript for Debian
20166
20167         * src/backends/NetworkManagerDebian.c
20168                 - Add missing system init function to allow compilation
20169                         on Debian
20170
20171 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20172
20173         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20174
20175 2004-09-03  Akagic Amila <bono@linux.org.ba>
20176
20177         * configure.in: Added 'bs' to ALL_LINGUAS.
20178
20179 2004-09-02  Colin Walters  <walters@verbum.org>
20180
20181         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20182         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20183         g_strdup_printf instead of arbitrarily sized buffers.
20184
20185 2004-09-01  Colin Walters  <walters@verbum.org>
20186
20187         * NetworkManager.pc.in: New file.
20188
20189         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20190
20191 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20192         
20193         * configure.in: Punjabi(pa) is added to po/.
20194
20195 2004-08-31  Dan Williams <dcbw@redhat.com>
20196
20197         * Remove 'debug' extern global from all files since we now
20198                 use syslog()
20199
20200         * src/NetworkManager.[ch]
20201                 - Break out routine that get the net.interface property from HAL,
20202                         removing that logic from nm_create_device_and_add_to_list()
20203                 - (nm_create_device_and_add_to_list): make this a bit more general so
20204                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20205                         the create of test devices.
20206                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20207                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20208                         which makes NetworkManager listen for dbus commands to create test
20209                         devices, which have no backing hardware.  Use when you're on a plane
20210                         for example, and/or forgot your wireless card at home.  Test devices
20211                         _cannot_ be created unless NM is started with --enable-test-devices.
20212
20213         * src/NetworkManagerDbus.[ch]
20214                 - New "getLinkActive" method for devices
20215                 - New "setLinkActive" method for devices (only works on test devices)
20216                 - New "createTestDevice" method on NetworkManager object to create a test
20217                         device of a specified type (ie wired, wireless).  UDI is created from
20218                         scratch, as is the interface name.  Only works when NM is started with
20219                         --enable-test-devices switch.
20220                 - New "removeTestDevice" method on NetworkManager object which removes a
20221                         test device.  Only works when NM is started with --enable-test-devices
20222
20223         * src/NetworkManagerDevice.[ch]
20224                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20225                         whether a device is a test device or not, and what its link status is.
20226                 - Deal with test devices in most functions.  For those that work directly on hardware
20227                         special-case test devices.
20228                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20229                         command-line.
20230                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20231                         checking to separate functions to facilitate test device link checking.
20232                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20233                         don't make a distinction between System Authentication and Encryption
20234                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20235                         on the card.  We don't deal with Shared Key auth yet.
20236                 - (nm_device_activation_worker): split the activation cancel check logic out into
20237                         a separate routine nm_device_activation_cancel_if_needed()
20238                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20239                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20240                         a list of fake access points that they can "see"
20241                 - (nm_device_is_test_device): return whether or not a device is a test device
20242
20243         * src/NetworkManagerPolicy.c
20244                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20245                         previously if you "locked"/forced NM to use a wireless device but then
20246                         selected a wireless network for NM to use, it would switch to a wired device.
20247                         So, if the active device is wireless and it has a "forced" best AP, use it
20248                         if the "forced" best AP is still valid
20249                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20250                         there were no usable network devices, or the last one was removed
20251
20252         * src/backends/NetworkManager*.c
20253                 - Deal with test devices, mostly just return success for operations like getting
20254                         a DHCP address
20255
20256         * test/nmtestdevices.c
20257                 - Test tool to create/remove/link-switch test devices
20258
20259 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20260
20261         * examples/python/NetworkManager.py: 
20262         added convience functions has_wired_device and has_wireless_device
20263
20264         * examples/python/systray/network_tray.py: 
20265         cleaned up a bunch of cruft, added support for listing wireless
20266         networks just like the real applet.  This is probably all I'm
20267         going to work on this applet from now on.
20268         TODO: add support for actually changing networks and devices
20269
20270         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20271         changed "nm.networks" into a dict from a list so I can store all
20272         the cool information about networks in there
20273
20274         * examples/python/systray/network_tray.py: 
20275         Added nice message when you try to run without running make first
20276
20277         * examples/python/NetworkManager.py: 
20278         Bug fixes to the code so we get all the device information
20279         that we need in get_device()
20280         
20281         * examples/python/NMTester.py: 
20282         Fixed _print_device_list to print_device_list
20283
20284 2004-08-29  Seth Nickell  <seth@gnome.org>
20285
20286         * configure.in:
20287
20288         Actually properly setup the Debian backend in configure.
20289         
20290 2004-08-29  Colin Walters  <walters@verbum.org>
20291
20292         * test/nminfotest.c: Include string.h and stdlib.h.
20293         (get_network_string_property, get_networks_of_type): Return NULL.
20294
20295         * test/nmclienttest.c (get_device_name, get_active_device): Return
20296         NULL.
20297
20298         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20299         use strlen, fgets always NULL-terminates the string.
20300
20301         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20302         dbus_message_get_member): Remove /* in comment.
20303
20304         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20305
20306         * src/NetworkManager.c (quit): Unused, delete.
20307         (nm_data_free): Cast arg to GFunc.
20308
20309         * panel-applet/NMWirelessAppletDbus.c: Need to include
20310         string.h, and dbus-glib-lowlevel.h (the latter is needed
20311         for dbus_connection_setup_with_g_main at present).
20312         (nmwa_dbus_update_wireless_network_list): Parenthesize
20313         assignment in conditional.
20314         (nmwa_dbus_worker): Return NULL.
20315
20316         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20317         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20318         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20319         (nmwa_populate_menu): Return NULL on failure, instead of just
20320         return;
20321
20322         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20323
20324         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20325         variables.
20326
20327         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20328         delete.
20329         
20330 2004-08-29  Colin Walters  <walters@verbum.org>
20331
20332         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20333         a GTimeVal instead of time_t.  This is easier to work with,
20334         since time_t may be a long or double, we don't know.
20335
20336         * src/NetworkManagerDbus.h: Update prototype.
20337         
20338         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20339         instead of time_t.
20340         (nm_ap_get_timestamp): Update to return GTimeVal.
20341         (nm_ap_set_timestamp): Update to take GTimeVal.
20342         
20343         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20344         to handle GTimeVal.
20345
20346         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20347         GTimeVal change.
20348         (nm_ap_list_print_members): Fix warnings in printf format.
20349
20350 2004-08-29  Colin Walters  <walters@verbum.org>
20351         
20352         * panel-applet/NMWirelessApplet.c: Include config.h.
20353
20354 2004-08-29  Colin Walters  <walters@verbum.org>
20355
20356         * configure.in: Generate config.h.
20357
20358         * configure.in: Dump dependency on OpenSSL; we can't
20359         use it since this package is GPL:
20360         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20361         Instead, check for libgcrypt, use it if available,
20362         otherwise use included MD5 code.
20363
20364         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20365         Suck in from gnome-keyring, munge a bit.
20366         
20367         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20368         gnome-keyring-md5.h gnome-keyring-md5.c.
20369         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20370
20371         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20372         libgcrypt or included gnome-keyring md5 bits.
20373         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20374
20375 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20376
20377         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20378
20379 2004-08-27  Bryan Clark  <bclark@redhat.com>
20380
20381         * examples/python/systray/Makefile: 
20382
20383         Updated the clean section
20384         
20385         * examples/python/systray/trayiconmodule.c: 
20386         * examples/python/systray/trayicon.override: 
20387         * examples/python/systray/network_tray.py: 
20388         * examples/python/systray/eggtrayicon.h: 
20389         * examples/python/systray/eggtrayicon.c: 
20390         * examples/python/systray/Makefile: 
20391         * examples/python/README: 
20392         * examples/python/NetworkManager.py: 
20393         * examples/python/NMTester.py: 
20394
20395         Initial commit of these python example files
20396
20397 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20398
20399         * panel-applet/NMWirelessApplet.c
20400                 - Make current device bold
20401                 - Show more user-friendly device name if we got one from hal
20402
20403         * panel-applet/NMWirelessAppletDbus.c
20404                 - Grab "info.product" key from hal for network devices
20405                 - Cache the current active device
20406
20407 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20408
20409         * configure.in: Added en_CA to ALL_LINGUAS.
20410
20411 2004-08-27  Christian Rose  <menthos@menthos.com>
20412
20413         * configure.in: Added "sv" to ALL_LINGUAS.
20414
20415 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20416
20417         * Tag NetworkManager-0.2
20418
20419 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20420
20421         * initscripts/Makefile.am
20422         * configure.in: Make pass distcheck
20423
20424         * po/ChangeLog: added
20425
20426 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20427
20428         * panel-applet/NMWirelessApplet.c
20429                 - Remove debugging code
20430                 - Enable device switching from menus
20431
20432         * panel-applet/NMWirelessAppletDbus.[ch]
20433                 - Method for asking NM to switch devices
20434
20435         * src/NetworkManagerDevice.c
20436                 - Set dev->activating earlier, avoids race between
20437                         the dbus signal of "DeviceActivating" and setting
20438                         dev->activating (which is what NM's "status" method call
20439                         looks at)
20440
20441 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20442
20443         * panel-applet/NMWirelessApplet.[ch]
20444                 - Rework menu code to add devices to menu, and to show
20445                         signal strength for each access point.  Code cleanups
20446                         too.
20447
20448         * panel-applet/NMWirelessAppletDbus.c
20449                 - Grab network devices from NetworkManager too
20450                 - Grab quality information from NM for wireless networks
20451
20452         * src/NetworkManagerDbus.[ch]
20453                 - Add dbus methods for getting the HAL UDI from a device and
20454                         for getting its base quality, if its wireless
20455                 - Consolidate some functions (wireless network notifications,
20456                         device notifications)
20457                 - Add method for requesting NM to use a particular device
20458
20459         * src/NetworkManager.c
20460                 - Change for function consolidations from NetworkManagerDbus.c
20461                 - Implement active device locking and user-requested devices
20462                         (ie, tell NM to use a particular device instead of the one
20463                         it autochose)
20464
20465         * src/NetworkManagerDevice.c
20466                 - Add method for getting the base quality of a device, if its
20467                         wireless
20468                 - Grab device base quailty info from iwlib during scans
20469
20470         * src/NetworkManagerPolicy.c
20471                 - Use a user-requested device rather than the auto-chosen device
20472                         if we are told to
20473
20474 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20475
20476         * Makefile.am: add po as a supdir
20477
20478         * autogen.sh: use gnome-autogen.sh
20479
20480         * initscript/Gentoo/.cvsignore:
20481         * initscript/RedHat/.cvsignore: Shut up cvs
20482
20483         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20484
20485         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20486         (nmwa_fill): Use gettext.
20487
20488         * configure.in: add gettext support
20489         * po/.cvsignore:
20490         * po/NetworkManager.pot:
20491         * po/POTFILES.in:
20492
20493 2004-08-26  Seth Nickell  <seth@gnome.org>
20494
20495         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20496         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20497         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20498         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20499         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20500         * panel-applet/NMWirelessApplet.h:
20501
20502         Use a menu bar instead of a button for the main clickable
20503         thingy.
20504         
20505 2004-08-25  Dan Williams <dcbw@redhat.com>
20506
20507         * src/NetworkManagerDevice.c
20508                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20509                         turning encryption off, because the Cisco driver doesn't associate
20510                         with WEP-enabled access points unless we are in "open"
20511
20512 2004-08-25  Dan Williams <dcbw@redhat.com>
20513
20514         * src/NetworkManagerWireless.c
20515                 - Don't try to defererence blank passphrases
20516
20517 2004-08-25  Dan Williams <dcbw@redhat.com>
20518
20519         * panel-applet/NMWirelessApplet.c
20520                 - Rebuild the menu whenever a user clicks
20521
20522 2004-08-25  Dan Williams <dcbw@redhat.com>
20523
20524         * panel-applet/NMWirelessApplet.c
20525                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20526                         when NM isn't around or when its not connected
20527
20528         * src/NetworkManagerDevice.c
20529                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20530                         canceled.
20531
20532 2004-08-25  Dan Williams <dcbw@redhat.com>
20533
20534         * panel-applet/NMWirelessAppletDbus.c
20535                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20536                         for getting encryption, and don't stop on "val" once we've gotten it
20537                         from NetworkManager.  Short form:  encryption should now show up.
20538
20539 2004-08-25  Dan Williams <dcbw@redhat.com>
20540
20541         * panel-applet/NMWirelessApplet.c
20542                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20543                         network to associate with
20544
20545 2004-08-25  Dan Williams <dcbw@redhat.com>
20546
20547         * panel-applet/*
20548                 - Rework the panel applet to do all DBUS communication in a separate
20549                         thread
20550
20551 2004-08-25  Dan Williams <dcbw@redhat.com>
20552
20553         * info-daemon/NetworkManagerInfo.[ch]
20554                 - Remove "get_next_priority" function
20555
20556         * info-daemon/NetworkManagerInfoDbus.[ch]
20557                 - Convert "priority" functions to "timestamp"
20558
20559 2004-08-25  Dan Williams <dcbw@redhat.com>
20560
20561         * src/NetworkManagerAP.[ch]
20562                 - Add a "enc_method_good" member and accessors to an Access Point
20563                         to signal when we've found the correct encryption method
20564                         for an access point
20565                 - Add a "timestamp" member and accessors, remove "priority" member
20566                         and accessors (use timestamps instead)
20567                 - Rename "wep_key"->"enc_key"
20568                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20569                         for a specified encryption method using the access points
20570                         source encryption key/passphrase
20571
20572         * src/NetworkManagerAPList.c
20573                 - When updating a network with dbus, grab timestamp now instead of
20574                         priority
20575
20576         * src/NetworkManagerDBus.[ch]
20577                 - Add signal for "DeviceActivating"
20578                 - Switch priority->timestamp
20579
20580         * src/NetworkManagerDevice.c
20581                 - Change references of "wep_key" -> "enc_key" or "key"
20582                 - Signal DeviceActivating when starting activation
20583                 - When activating a wireless device, if the access point we are connecting
20584                         to is encrypted, and we have a source key, try to generate a mangled
20585                         key and use that (ie, generate real WEP key from a passphrase)
20586                 - Rework device activation to fallback to other encryption methods if
20587                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20588                         first, then if that doesn't work fall back to direct hex key).
20589                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20590                         priority.  We now prefer the latest access point used, rather than using
20591                         a priority scheme
20592                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20593                         points we've just discovered, and merge in correct info from the global
20594                         access point lists
20595
20596 2004-08-25  Seth Nickell  <seth@gnome.org>
20597
20598         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20599         Debian support.
20600         
20601         * src/Makefile.am:
20602         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20603         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20604         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20605         (nm_system_delete_default_route),
20606         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20607         (nm_system_load_device_modules):
20608
20609 2004-08-24  Dan Willemsen <dan@willemsen.us>
20610
20611         * src/NetworkManager.c
20612           src/backends/NetworkManagerGentoo.c
20613           src/backends/NetworkManagerRedHat.c
20614           src/backends/NetworkManagerSystem.h
20615                 - Implement preliminary Gentoo support, adding a
20616                         nm_system_init function to the backend specification
20617
20618         * configure.in
20619                 - Distribution auto-detection, lowercase any user-fed
20620                         distribution names
20621
20622         * initscript/.cvsignore
20623           initscript/Makefile.am
20624           initscript/RedHat/Makefile.am
20625           initscript/RedHat/NetworkManager
20626           initscript/Gentoo/Makefile.am
20627           initscript/Gentoo/NetworkManager
20628                 - Refactored initscript code separately for each
20629                         distribution
20630
20631 2004-08-23  Dan Williams <dcbw@redhat.com>
20632
20633         * configure.in
20634           src/Makefile.am
20635           src/NetworkManagerDevice.c
20636           src/NetworkManager.c
20637           src/NetworkManagerUtils.[ch]
20638           src/backends/NetworkManagerSystem.h
20639           src/backends/NetworkManagerRedHat.c
20640           src/backends/NetworkManagerGentoo.c
20641                 - Refactor system-specific code into separate backends for
20642                         each distribution
20643
20644 2004-08-23  Dan Willemsen <dan@willemsen.us>
20645
20646         * dispatcher-daemon/NetworkManagerDispatcher.c
20647           info-daemon/NetworkManagerInfo.[ch]
20648           info-daemon/NetworkManagerInfoDbus.c
20649           info-daemon/NetworkManagerInfoPassphraseDialog.c
20650           src/NetworkManager.c
20651           src/NetworkManagerAP.c
20652           src/NetworkManagerAPList.c
20653           src/NetworkManagerDbus.c
20654           src/NetworkManagerDevice.c
20655           src/NetworkManagerPolicy.c
20656           src/NetworkManagerUtils.[ch]
20657           src/NetworkManagerWireless.c
20658                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20659
20660         * src/NetworkManager.c
20661                 - Fixed usage wording for --no-daemon
20662
20663 2004-08-23  Dan Williams <dcbw@redhat.com>
20664
20665         * panel-applet/NMWirelessApplet.c
20666                 - Update our state every second to get more responsive panel icon
20667                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20668                         was causing our marching ants status blips to never move when
20669                         looking for a wireless network
20670
20671         * src/NetworkManagerDevice.c
20672                 - (nm_device_activation_begin): return if activation has already begun
20673                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20674                         trusted/preferred network into the device's access point when the
20675                         scan list is processed
20676
20677 2004-08-23  Dan Williams <dcbw@redhat.com>
20678
20679         * initscript/NetworkManager
20680                 - Use NMLaunchHelper rather than sleeping
20681
20682         * initscript/NMLaunchHelper.c
20683           Makefile.am
20684                 - Add helper program that exits only when NM activates a device,
20685                         or 10 seconds have passed, whichever happens first.  This
20686                         stops the boot processes until we have a network connection,
20687                         which NM can't do because it daemonizes and brings the connection
20688                         up in the background.  Allows stuff like NFS to not die.
20689
20690 2004-08-20  Dan Williams <dcbw@redhat.com>
20691
20692         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20693                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20694                         for a network, set the essid as well since it may not exist yet
20695                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20696                         since WEP keys/passphrases are long and prone to entry-error
20697
20698         * panel-applet/Makefile.am
20699           panel-applet/wired.png
20700                 - Add (pulled from system-config-network temporarily)
20701
20702         * panel-applet/NMWirelessApplet.[ch]
20703                 - Show wired picture when a wired connection is used
20704                 - Rename wireless icon enums, adding WIRELESS
20705
20706         * src/NetworkManagerDevice.c
20707                 - (nm_device_activate_wireless): unset encryption before bringing
20708                         down the card and setting the essid
20709                 - (nm_device_activatin_worker): request a key from the user if the
20710                         AP we are connecting to is encrypted but we don't have a key
20711                         for it yet
20712                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20713                         strcmp() that prevented a user-entered key from actually getting
20714                         used
20715
20716 2004-08-16  Dan Williams <dcbw@redhat.com>
20717
20718         * initscript/NetworkManager
20719                 - Check for /sbin/ip
20720                 - Do sysctl magic that network service does
20721                 - sleep 4s after start to allow network time to come up [hack]
20722
20723         * src/Makefile.am
20724           src/NMLoadModules
20725                 - Load all network device kernel modules (hal doesn't know devices
20726                         are ethernet until the module is loaded, and therefore we don't know)
20727
20728         * src/NetworkManager.c
20729                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20730                         network devices, and bring up the loopback device explicitly
20731
20732         * src/NetworkManagerUtils.[ch]
20733                 - (nm_enable_loopback): new function
20734
20735 2004-08-13  Dan Williams <dcbw@redhat.com>
20736
20737         * configure.in
20738           panel-applet/Makefile.am
20739                 - Fix up cleanfiles and server_DATA/server_in_files
20740
20741         * README
20742                 - Update with some comments on theory of operation
20743
20744         * CONTRIBUTING
20745           Makefile.am
20746                 - Add CONTRIBUTING
20747
20748 2004-08-12  Dan Williams <dcbw@redhat.com>
20749
20750         * info-daemon/passphrase.glade
20751                 - Set window title to " "
20752
20753         * panel-applet/Makefile.am
20754           panel-applet/keyring.png
20755                 - Deliver to correct place
20756
20757         * panel-applet/NMWirelessApplet.[ch]
20758                 - Add comments
20759                 - Remove applet->have_active_device as its no longer used
20760                 - (nmwa_load_theme): load keyring.png too
20761                 - (error_dialog): remove
20762                 - (show_warning_dialog): subsume functionality of error dialog too
20763                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20764                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20765                         the networks menu
20766                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20767                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20768                         and when we get broadcasts of changed wireless access points only, not when the
20769                         user clicks on the button to display the menu (too long of a wait)
20770                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20771                         networks that are encrypted
20772                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20773                         menu item with g_object_set_data()
20774
20775         * panel-applet/NMWirelessAppletDbus.[ch]
20776                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20777                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20778                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20779                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20780                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20781                         activation/deactivation signals and rebuild the menu when they happen
20782
20783         * src/NetworkManager.c
20784                 - (main): use new nm_spawn_process() rather than system()
20785
20786         * src/NetworkManagerDbus.c
20787                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20788                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20789                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20790                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20791                         to freeze the best_ap.
20792
20793         * src/NetworkManagerDevice.[ch]
20794                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20795                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20796                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20797                         ap list
20798
20799         * src/NetworkManagerUtils.[ch]
20800                 - (nm_spawn_process): add replacement for system() usage
20801
20802 2004-08-11  Dan Williams <dcbw@redhat.com>
20803
20804         * panel-applet/NMWirelessApplet.[ch]
20805                 - Fix up copyright and credits to include Bastien and Eskil,
20806                         who created the gnome-applets wireless applet, from whose
20807                         skeleton this one was created
20808                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20809                         pixmap to draw is computed during nmwa_update_state()
20810                 - Applet now shows itself all the time due to panel packing issues
20811                         which caused the applet to previously never come back after hiding.
20812                         When a wired device is the active device, the applet shows "not connected"
20813
20814         * panel-applet/NMWirelessAppletDbus.[ch]
20815                 - Clean up error messages and show what function they are from
20816                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20817                 - Add new device type getters, and a status getter
20818
20819         * src/NetworkManagerDbus.c
20820                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20821                         network is actually in the device's ap list
20822                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20823
20824         * src/NetworkManagerDevice.c
20825                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20826                         card
20827
20828         * test/nmclienttest.c
20829                 - Report status of NetworkManager too
20830
20831 2004-08-11  Dan Williams <dcbw@redhat.com>
20832
20833         * info-daemon/NetworkManagerInfo.c:
20834                 - (main): clean up Seth's code style
20835
20836         * info-daemon/NetworkManagerInfoDbus.c:
20837                 - Use the more aptly-named path/service/interface constants from NetworkManager
20838                 - Don't return empty strings ("") as object paths ever, instead return errors
20839
20840         * panel-applet/NMWirelessApplet.c:
20841                 - Clean up Seth's code style
20842
20843         * src/NetworkManager.[ch]
20844                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20845                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20846
20847         * src/NetworkManagerAPList.[ch]
20848                 - Move Iter struct right above the iter functions to preserve opacity
20849                 - (nm_ap_list_remove_ap): implement
20850                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20851                         remove AP if NetworkManagerInfo doesn't know anything about it
20852                 - (nm_ap_list_diff): user NMAPList iterators
20853                 - (nm_ap_list_print_members): implement debugging function
20854
20855         * src/NetworkManagerDbus.[ch]
20856                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20857                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20858                         and move the actual key setting stuff into NetworkManagerDevice.c
20859                 - (nm_dbus_get_network_priority): return -1 now on errors
20860                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20861                         get lost, and force the active device to update its "best" ap when AP lists change
20862                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20863                         method call due to pending_device member removal
20864
20865         * src/NetworkManagerDevice.[ch]
20866                 - Move NMDevice structure to the top
20867                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20868                 - Remove Pending Action stuff from everywhere
20869                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20870                         activation for us.  This thread blocks until all conditions for activation have
20871                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20872                         then setup up the interface and runs dhclient.  We have to do this because there
20873                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20874                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20875                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20876                         can tell nm_device_activation_worker() that we've got a key
20877                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20878                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20879                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20880                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20881
20882         * src/NetworkManagerPolicy.c
20883                 - Remove anything to do with pending_device
20884                 - Adjust device activation to deal with activation-in-worker-thread
20885
20886         * src/NetworkManagerUtils.c
20887                 - Clean up locking debugging a bit
20888
20889         * src/NetworkManagerWireless.[ch]
20890                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20891                         was badly named and is better as a device function
20892
20893         * panel-applet/.cvsignore: add
20894
20895 2004-08-09  Seth Nickell  <seth@gnome.org>
20896
20897         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20898         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20899         (nmwa_new):
20900         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20901
20902         Don't load the menus until clicked on (also removes a call outside
20903         normal code paths at first load).
20904
20905         Hide applet when NM is not present.
20906         
20907         Improve printf debugging stuff.
20908         
20909 2004-08-09  Dan Williams <dcbw@redhat.com>
20910
20911         * dispatcher-daemon/NetworkManagerDispatcher.c:
20912                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20913                 - Use constants for NetworkManager interface, service, and path
20914
20915 2004-08-09  Dan Williams <dcbw@redhat.com>
20916
20917         * src/NetworkManagerDbus.c:
20918                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20919                         instead return an error message
20920                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20921                         on a wired device.  Also never return an empty object path, instead return an error message
20922
20923 2004-08-06  Seth Nickell  <seth@gnome.org>
20924
20925         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20926
20927         Check the error code when getting a connection.
20928         
20929         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20930
20931         Check if the NM service exists when initializing (rather than
20932         assuming it does not).
20933         
20934         * src/NetworkManagerDbus.c: (nm_dbus_init):
20935
20936         Don't acquire the well-known service name until we have
20937         registered object/path handlers and can actually receive
20938         calls.
20939         
20940 2004-08-06  Dan Williams <dcbw@redhat.com>
20941
20942         * panel-applet/*
20943                 - Add panel applet
20944
20945         * src/NetworkManagerPolicy.c
20946           src/NetworkManager.c
20947                 - Get access point lists from NetworkManagerInfo on-demand,
20948                         and look for ServiceCreate/ServiceDeleted signals to see when
20949                         we should query NMI for lists
20950         * src/NetworkManagerAPList.c
20951                 - Make sure to init the list's mutex
20952                 - Convert traversals of the list over to the list iter functions
20953
20954         * src/NetworkManagerDbus.[ch]
20955                 - Use more aptly-named path/service/interface constants
20956                 - Treat both active and pending devices the same for "getActiveDevice"
20957                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20958
20959         * src/NetworkManagerDevice.c
20960                 - Honor "ignored" network list when picking best ap to use
20961
20962 2004-08-06  Seth Nickell  <seth@gnome.org>
20963
20964         * aclocal.m4:
20965
20966         Autogenerated, remove from CVS.
20967         
20968         * autogen.sh:
20969
20970         Don't hardcode automake version.
20971         
20972         * configure.in:
20973         * info-daemon/Makefile.am:
20974         * info-daemon/NetworkManagerInfo.c: (main):
20975
20976         Use GnomeProgram et al. for doing session management.
20977         Use popt stuff for argument parsing rather than doing
20978         it manugally.
20979         
20980 2004-08-05  Dan Williams <dcbw@redhat.com>
20981
20982         * test/nminfotest.c
20983                 - Update to new NMI dbus API, check different network types
20984
20985         * info-daemon/NetworkManagerInfoDbus.c
20986                 - Update to new NM dbus API, ie network type sent in query message
20987
20988 2004-08-05  Dan Williams <dcbw@redhat.com>
20989
20990         * An assload of changes
20991
20992 2004-08-02  Dan Williams <dcbw@redhat.com>
20993
20994         * TODO
20995                 - new task: proper logging support
20996
20997         * info-daemon/NetworkManagerInfo.c
20998                 - Correct spelling of "canceled"
20999                 - Correct casting of objects for g_signal_connect()
21000
21001         * info-daemon/NetworkManagerInfoDbus.c
21002                 - Add defines for NetworkManager namespace and object path, and use them
21003                 - Add filter function to trap new signals from NetworkManager:
21004                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21005
21006         * info-daemon/passphrase.glade
21007                 - Change name of "ok" button to "Login to Network..."
21008                 - Mark invisible
21009
21010         * src/NetworkManager.c
21011                 - Code and debug message cleanups
21012                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21013                 - (nm_add_initial_devices) Check returned string array of devices
21014                         and don't try to add devices if array is NULL
21015                 - (main) Initialize libhal a bit later, make code a bit clearer
21016
21017         * src/NetworkManagerAP.[ch]
21018                 - New accessor and data member "matched": used to speed up AP list
21019                         diffing
21020                 - New accessor and data member "enc_method": will be used during key
21021                         fallback to cache which passphrase->key conversion actually works
21022                         so we don't have to do it every time
21023
21024         * src/NetworkManagerAPList.[ch]
21025                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21026                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21027                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21028                         dbus in response to those differences
21029
21030         * src/NetworkManagerDbus.[ch]
21031                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21032                         make an object path for that access point (NOTE that we don't yet check to
21033                         make sure that access point is actually in the device's AP list yet)
21034                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21035                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21036                         New: signal appearance/disappearance of wireless networks
21037                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21038                         key entry
21039
21040         * src/NetworkManagerDevice.[ch]
21041                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21042                 - (nm_device_ap_list_get) New: return the AP list (static function)
21043                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21044                         new one resulting from the scan with the old one
21045
21046         * src/NetworkManagerWireless.c
21047                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21048
21049         * test/nminfotest.c
21050                 - #define object paths and namespaces and use the #defines rather than static strings
21051                 - Test out user-key functionality of NetworkManagerInfo too
21052
21053 2004-07-29  Dan Williams <dcbw@redhat.com>
21054
21055         * info-daemon/NetworkManagerInfoDbus.c
21056           src/NetworkManagerDbus.c
21057                 - Update to current DBus (ie don't use decomposed paths when registering
21058                         object paths/fallbacks)
21059
21060 2004-07-27  Dan Williams <dcbw@redhat.com>
21061
21062         * Remove various Makefile.in files
21063
21064         * TODO
21065                 - Add some more items
21066
21067         * configure.in
21068                 - Add checks for OpenSSL/md5 headers and libs
21069
21070         * src/Makefile.am
21071                 - Use OpenSSL CFLAGS
21072
21073         * src/NetworkManagerAP.[ch]
21074                 - Remove 'stamp' functions, replace with 'invalid' functions
21075                         to support user cancelling WEP key entry
21076
21077         * src/NetworkManagerDbus.c
21078                 - Remove 'stamp' return functions
21079                 - Treat returned user key as a passphrase and convert to a WEP key,
21080                         but don't actually use the WEP key yet.  We use the returned user
21081                         key as a hexadecimal WEP key until we can figure out a UI for
21082                         passphrase-vs-hex key
21083
21084         * src/NetworkManagerWireless.[ch]
21085                 - Add passphrase-to-128bit-key function
21086
21087 2004-07-27  Dan Williams <dcbw@redhat.com>
21088
21089         * TODO
21090                 - Add a couple of items
21091
21092 2004-07-27  Dan Williams <dcbw@redhat.com>
21093
21094         * info-daemon/NetworkManagerInfo.c
21095                 - Update allowed network's GConf key when user enters a WEP key explicitly
21096
21097         * info-daemon/NetworkManagerDbus.c
21098                 - Fix some comments
21099                 - nmi_dbus_get_allowed_networks(): kill warning
21100
21101 2004-07-27  Dan Williams <dcbw@redhat.com>
21102
21103         * initscript/Makefile.in
21104                 - Remove
21105
21106         * initscript/Makefile.am
21107                 - Add correct rules to install the init.d initscript
21108
21109         * info-daemon/NetworkManagerInfoDbus.c
21110                 - Remove debug fprintf
21111
21112         * src/NetworkManagerDbus.[ch]
21113                 - Remove debug fprintfs
21114                 - Add macros for NetworkManagerInfo object path/namespace
21115                 - Use said macros instead of constant strings
21116
21117 2004-07-27  Dan Williams <dcbw@redhat.com>
21118
21119         * initscript/.cvsignore
21120                 - Add
21121
21122         * info-daemon/Makefile.am
21123                 - Install .glade files and keyring.png
21124                 - Fix stupid omission of a \ that caused half the flags not to be
21125                         passed to gcc
21126
21127         * info-daemon/NetworkManagerInfo.c
21128                 - gtk_signal_connect->g_signal_connect
21129                 - Alert NetworkManagerInfo to new glade file location
21130
21131 2004-07-27  Dan Williams <dcbw@redhat.com>
21132
21133         * test/nmclienttest.c
21134           test/nminfotest.c
21135                 - Add missing <dbus/dbus.h> headers
21136                 - Add GPL message at top
21137
21138 2004-07-27  Dan Williams <dcbw@redhat.com>
21139
21140         * src/NetworkManagerAPList.[ch]
21141           src/Makefile.am
21142                 - Add.  Deal with allowed network list additions, deletions, and updates
21143
21144         * dispatcher-daemon/NetworkManagerDispatcher.c
21145                 - Add missing <dbus/dbus.h> header
21146
21147         * info-daemon/NetworkManagerInfo.[ch]
21148                 - Add missing <dbus/dbus.h> header
21149                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21150                         network change
21151                 - Better error checking
21152
21153         * info-daemon/NetworkManagerInfoDbus.[ch]
21154                 - Add missing <dbus/dbus.h> header
21155                 - Convert to using dbus_message_append_args/dbus_message_get_args
21156                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21157                         that an allowed network changed.  We don't want to signal on individual
21158                         keys _inside_ an allowed network really, just want NM to query the info
21159                         daemon for updated info on all keys.
21160                 - Better error checking
21161
21162         * src/NetworkManager.[ch]
21163                 - Add missing <dbus/dbus.h> header
21164                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21165                 - Zero out NMData structure on free
21166                 - No longer use a thread for allowed_ap_list updating, instead its now done
21167                         through dbus queries against NetworkManagerInfo
21168                 - Populate allowed_ap_list initially before adding existing network devices
21169                         to the device list, so wireless devices can get their "best" AP
21170
21171         * src/NetworkManagerDbus.[ch]
21172                 - Convert to using dbus_message_append_args/dbus_message_get_args
21173                 - Better error checking
21174                 - Implement Allowed Network info functions to request allowed network
21175                         info from NetworkManagerInfo
21176                 - Implement the filter function to process signals from NetworkManagerInfo
21177                         about changing allowed networks
21178
21179         * src/NetworkManagerDevice.c
21180                 - Fix file descriptor leak in nm_device_update_ip4_address()
21181
21182 2004-07-27  Dan Williams <dcbw@redhat.com>
21183
21184         * .cvsignore
21185           src/.cvsignore
21186           test/.cvsignore
21187           dispatcher-daemon/.cvsignore
21188           info-daemon/.cvsignore
21189                 - Add .cvsignore files to reduce noise when diffing
21190
21191 2004-07-24  Dan Williams <dcbw@redhat.com>
21192
21193         * src/NetworkManager.[ch]
21194           src/NetworkManagerDbus.[ch]
21195           src/NetworkManagerDevice.[ch]
21196           src/NetworkManagerPolicy.c
21197           src/NetworkManagerWireless.[ch]
21198                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21199                 - Pass the NMData application data structure through all calls
21200                         that need it so we can get rid of nm_get_global_data()
21201                 - Change deallocation of the allowed_ap_list GSList in preparation
21202                         for not completely clearing it every time we get an update,
21203                         but instead getting incremental updates via GConf/dbus
21204
21205 2004-07-22  Dan Williams <dcbw@redhat.com>
21206
21207         * configure.in
21208                 - Add checks for GConf libs & headers & flags
21209
21210         * info-daemon/Makefile.am
21211                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21212
21213         * info-daemon/NetworkManagerInfo.[ch]
21214                 - Don't use gquarks for data storage, just use normal data storage
21215                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21216
21217         * info-daemon/NetworkManagerDbus.[ch]
21218                 - Add method call for getting allowed networks
21219                 - Add method calls for getting an allowed network's essid, priority, and key
21220                 - Hook the method calls up to GConf
21221                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21222                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21223                 
21224         * src/NetworkManagerDbus.[ch]
21225                 - Switch for enumeration of networks to using essid instead
21226
21227         * test/Makefile.am
21228           test/nminfotest.c
21229                 - Add test program for NetworkManagerInfo
21230
21231 2004-07-19  Dan Williams <dcbw@redhat.com>
21232
21233         * src/NetworkManagerDbus.c
21234                 - Switch from indexed device paths to names.  Less code, more efficient.
21235                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21236
21237 2004-07-19  Dan Williams <dcbw@redhat.com>
21238
21239         * dispatcher-daemon/NetworkManagerDispatcher.c
21240                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21241
21242 2004-07-19  Dan Williams <dcbw@redhat.com>
21243
21244         * Makefile.am
21245                 - Add info-daemon directory
21246
21247         * configure.in
21248                 - Check for glade libs and headers
21249                 - Add info-daemon directory
21250
21251         * src/NetworkManagerAP.c
21252                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21253                         copied over to the new AP.
21254
21255         * src/NetworkManagerDbus.c
21256           src/NetworkManagerDbus.h
21257                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21258                 - Remove nm_dbus_signal_need_key_for_network()
21259                 - Add disabled code for asynchronous user wep key callbacks
21260                 - Add functions for getting, setting, and cancelling user key operations
21261                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21262                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21263
21264         * src/NetworkManagerDevice.c
21265           src/NetworkManagerDevice.h
21266                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21267                         logic is in device activation now
21268                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21269                         key is wrong) trigger get-user-key pending action
21270                 - Implement get-user-key pending action stuff, tie to dbus messages
21271                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21272                 - Add nm_device_ap_list_get_ap_by_essid()
21273                 - Instead of copying "best" access points, ref them instead so that the key we set
21274                         sticks around
21275
21276         * src/NetworkManagerPolicy.c
21277                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21278                 - Don't cancel pending actions on a device if its the same device as last iteration
21279                 - Only promote pending_device->active_device if activation was successfull
21280
21281         * src/Makefile.am
21282                 - Rename nmclienttest->nmtest
21283
21284         * info-daemon/Makefile.am
21285           info-daemon/NetworkManagerInfo.c
21286           info-daemon/NetworkManagerInfo.h
21287           info-daemon/NetworkManagerInfoDbus.c
21288           info-daemon/NetworkManagerInfoDbus.h
21289           info-daemon/passphrase.glade
21290           info-daemon/NetworkManagerInfo.conf
21291           info-daemon/keyring.png
21292                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21293                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21294                         lists to NetworkManager by proxying user's GConf
21295           
21296
21297 2004-07-15  Dan Williams <dcbw@redhat.com>
21298
21299         * src/Makefile.am
21300                 - Turn on warnings
21301
21302         * src/NetworkManager.c
21303                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21304                         that doing the deactivation ourselves
21305                 - Cancel an pending actions on a device if its being removed
21306                 - Break up link state checking a bit, make non-active wireless cards
21307                         deactivated to save power
21308                 - Remove unused variables
21309
21310         * src/NetworkManager.h
21311                 - Add support for "pending" device
21312
21313         * src/NetworkManagerAP.h
21314           src/NetworkManagerAP.c
21315                 - Add support for determining whether and AP has encryption enabled or not
21316                 - AP address is now "struct ether_addr" rather than a string
21317
21318         * src/NetworkManagerDbus.h
21319           src/NetworkManagerDbus.c
21320                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21321                 - Changes for AP address from struct ether_addr->string
21322
21323         * src/NetworkManagerDevice.h
21324           src/NetworkManagerDevice.c
21325                 - Remove unused variables, fix warnings
21326                 - Add support for Pending Actions (things that block a device from being "active"
21327                         until they are completed).
21328                 - First pending action:  Get a WEP key from the user
21329                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21330                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21331                 - Update wireless link checking to try to determine if the AP we are associated
21332                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21333                         trigger the GetUserKey pending action on the device
21334                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21335                         up in that case, otherwise we can't scan or link-check on it
21336                 - Add IP address change notifications at appropriate points (still needs some work)
21337                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21338
21339         * src/NetworkManagerPolicy.h
21340           src/NetworkManagerPolicy.c
21341                 - Split out "best" access point determiniation into separate function
21342                 - Make device activation 2-stage:  first the device is pending, then
21343                         in the next iteration through it becomes "active" unless it has
21344                         pending actions
21345
21346         * src/NetworkManagerUtils.h
21347           src/NetworkManagerUtils.c
21348                 - Clean up unused variables and warnings
21349                 - Wrap our debug macros in {} to prevent possible confusion
21350
21351         * src/NetworkManagerWireless.c
21352                 - Forgot to return current best priority, which lead to last available AP always
21353                         being chosen no matter what its priority was.  Corrected.
21354
21355 2004-07-15  Dan Williams <dcbw@redhat.com>
21356
21357         * dispatcher-daemon/Makefile.am
21358                 - Turn on warnings
21359
21360         * dispatcher-daemon/NetworkManagerDispatcher.c
21361                 - Remove unused variables due to warnings
21362                 - Fix some comments
21363                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21364
21365 2004-07-06  Dan Williams <dcbw@redhat.com>
21366
21367         * src/NetworkManager.c
21368                 - Add IPv4 address update for active device during link state check
21369                 - Don't allow wireless cards to be powered up when they are not the
21370                         active device
21371
21372         * src/NetworkManagerDbus.c
21373           src/NetworkManagerDbus.h
21374                 - Add DBUS IPv4 address change signal
21375                 - Add DBUS IPv4 address get method for devices
21376
21377         * src/NetworkManagerDevice.c
21378                 - Make setting the WEP key actually work
21379                 - Move IP address get/set/update stuff here, per-device
21380                 - Power down/bring down wireless device when deactivated
21381                 - For scanning wireless devices, if first scan returned ENODATA, try again
21382
21383         * src/NetworkManagerPolicy.c
21384                 - Only set the WEP key for an allowed access point if there is one.
21385                         We were setting it to be blank if one wasn't specified.
21386
21387         * src/NetworkManagerUtils.h
21388           src/NetworkManagerUtils.c
21389                 - Move the IP address stuff to NetworkManagerDevice.c
21390
21391         * dispatcher-daemon/NetworkManagerDispatcher.c
21392                 - Add device IPv4 address change notification stuff
21393
21394 2004-07-05  Dan Williams <dcbw@redhat.com>
21395
21396         * dispatcher-daemon/NetworkManagerDispatcher.c
21397                 - A bit more descriptive state message
21398                 - Don't segfault when reading directory
21399
21400         * src/NetworkManager.h
21401                 - Remove NMData desired_ap member, its now
21402                         per-device rather than global
21403
21404         * src/NetworkManager.c
21405                 - Remove references to desired_ap
21406                 - Move the allowed AP list refresh stuff into a thread
21407
21408         * src/NetworkManagerDevice.c
21409           src/NetworkManagerDevice.h
21410                 - Each wireless device now has a "best ap"
21411                 - Make device activate/deactivate functions per-device
21412                 - Make wireless scanning per-device
21413                 - Add IPv4 address discover functions, stub IPv6 ones
21414                 - Move ethernet address validation functions to NetworkManagerUtils.c
21415                 - Add wireless access point accessor function
21416                 - Get/Set functions for "best ap"
21417
21418         * src/NetworkManagerPolicy.c
21419                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21420                 - Deal with per-device "best ap" rather than data->desired_apa
21421                 - Implement allowed access point worker thread
21422                 - Add nm_policy_essid_is_allowed() function
21423
21424         * src/NetworkManagerUtils.c
21425           src/NetworkManagerUtils.h
21426                 - Add nm_ethernet_address_is_valid() function
21427                 - Add IPv4/IPv6 address get functions
21428
21429         * src/NetworkManagerWireless.c
21430           src/NetworkManagerWireless.h
21431                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21432
21433 2004-06-29  Dan Williams <dcbw@redhat.com>
21434
21435         * dispatcher-daemon/NetworkManagerDispatcher.c
21436                 - Implement script callout functionality
21437
21438 2004-06-24  Dan Williams <dcbw@redhat.com>
21439
21440         * NetworkManager.c
21441             - Spacing cleanups
21442             - Flush device routes and ip addresses when added to the device list
21443
21444         * NetworkManagerDbus.c
21445             - Spacing cleanups
21446             - Add missing returns in the two signal functions
21447         
21448         * NetworkManagerPolicy.c
21449             - Spacing and variable cleanups
21450
21451 2004-06-24  Dan Williams <dcbw@redhat.com>
21452
21453         * Makefile.am
21454           Makefile.in
21455           configure.in
21456           dispatcher-daemon/Makefile.am
21457           dispatcher-daemon/Makefile.in
21458           dispatcher-daemon/NetworkManagerDispatcher.c
21459             - Add a daemon that receives signals from NetworkManager
21460                         and will (eventually) call scripts in /etc/somewhere
21461                         when devices go up or down.
21462         
21463         * NetworkManager.c
21464             - Spacing cleanups
21465             - Flush device routes and ip addresses when added to the device list
21466
21467         * NetworkManagerDbus.c
21468             - Spacing cleanups
21469             - Add missing returns in the two signal functions
21470         
21471         * NetworkManagerPolicy.c
21472             - Spacing and variable cleanups
21473             - Rename nm_policy_switch_interface->nm_policy_switch_device
21474             - nm_policy_switch_device():
21475                                 Use kill (pid) instead of system ("kill <pid>")
21476             - nm_state_modification_monitor():
21477                                 Add wireless essid to output of debug statements
21478                                 Correct typo in device compare to switch or not (should be !=)
21479                                 Don't sleep after sending "no longer active" signal, was useless
21480
21481 2004-06-24  Dan Williams <dcbw@redhat.com>
21482
21483         * Initial import