2008-10-27 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-27  Dan Williams  <dcbw@redhat.com>
2
3         Patch from Tambet Ingo <tambet@gmail.com>
4
5         * libnm-util/libnm-util.ver
6           libnm-util/nm-setting-ppp.c
7           libnm-util/nm-setting-ppp.h
8                 - Make properties private and add accessor functions
9
10         * src/ppp-manager/nm-ppp-manager.c
11                 - Use ppp setting accessors
12
13 2008-10-27  Dan Williams  <dcbw@redhat.com>
14
15         Patch from Tambet Ingo <tambet@gmail.com>
16
17         * libnm-util/nm-setting.h
18           libnm-util/nm-setting.c
19                 - Make properties private and add accessor functions
20
21         * libnm-util/nm-connection.c
22           libnm-util/nm-setting-8021x.c
23           libnm-util/nm-setting-cdma.c
24           libnm-util/nm-setting-connection.c
25           libnm-util/nm-setting-gsm.c
26           libnm-util/nm-setting-ip4-config.c
27           libnm-util/nm-setting-ip6-config.c
28           libnm-util/nm-setting-ppp.c
29           libnm-util/nm-setting-pppoe.c
30           libnm-util/nm-setting-serial.c
31           libnm-util/nm-setting-template.c
32           libnm-util/nm-setting-vpn.c
33           libnm-util/nm-setting-wired.c
34           libnm-util/nm-setting-wireless-security.c
35           libnm-util/nm-setting-wireless.c
36           system-settings/plugins/keyfile/reader.c
37           system-settings/plugins/keyfile/writer.c
38                 - Use setting accessors
39
40 2008-10-27  Dan Williams  <dcbw@redhat.com>
41
42         * libnm-util/libnm-util.ver
43           libnm-util/nm-setting-connection.c
44           libnm-util/nm-setting-connection.h
45                 - Add a 'read-only' property that indicates the connection cannot be
46                         modified
47
48         * system-settings/plugins/ifcfg-fedora/reader.c
49           system-settings/plugins/ifcfg-suse/parser.c
50           system-settings/plugins/ifupdown/parser.c
51                 - These plugins are read-only at the moment
52
53         * system-settings/plugins/keyfile/reader.c
54           system-settings/plugins/keyfile/writer.c
55                 - Read-only shouldn't get saved out to files or read in from them
56
57 2008-10-27  Tambet Ingo  <tambet@gmail.com>
58
59         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
60         correct speed reporting for fast devices (kernel >= 2.6.27).
61
62 2008-10-26  Dan Williams  <dcbw@redhat.com>
63
64         Attempt to compensate for modems that don't enable full AT parsing before
65         the PIN has been entered.
66
67         * src/nm-gsm-device.c
68                 - (init_modem): accept different init strings
69                 - (init_done): try different init strings on failure
70                 - (check_pin_done): on PIN success, do full modem init
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-connection.c
78           libnm-util/nm-setting-connection.h
79                 - Make properties private and add accessor functions
80
81         * src/NetworkManagerPolicy.c
82           src/nm-cdma-device.c
83           src/nm-device-ethernet.c
84           src/nm-device-interface.c
85           src/nm-device-wifi.c
86           src/nm-gsm-device.c
87           src/nm-manager.c
88           src/ppp-manager/nm-ppp-manager.c
89           src/vpn-manager/nm-vpn-connection.c
90           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
91           system-settings/plugins/ifcfg-fedora/plugin.c
92           system-settings/plugins/ifcfg-fedora/reader.c
93           system-settings/plugins/ifcfg-suse/parser.c
94           system-settings/plugins/ifupdown/parser.c
95           system-settings/plugins/keyfile/nm-keyfile-connection.c
96           system-settings/plugins/keyfile/plugin.c
97           system-settings/plugins/keyfile/writer.c
98           system-settings/src/main.c
99                 - Use those accessors
100
101 2008-10-26  Dan Williams  <dcbw@redhat.com>
102
103         Patch from Tambet Ingo <tambet@gmail.com>
104
105         * libnm-util/libnm-util.ver
106           libnm-util/nm-setting-gsm.c
107           libnm-util/nm-setting-gsm.h
108                 - Make properties private and add accessor functions
109
110         * src/nm-gsm-device.c
111           src/nm-hso-gsm-device.c
112           src/ppp-manager/nm-ppp-manager.c
113                 - Use those accessors
114
115 2008-10-26  Dan Williams  <dcbw@redhat.com>
116
117         Patch from Tambet Ingo <tambet@gmail.com>
118
119         * libnm-util/libnm-util.ver
120           libnm-util/nm-setting-cdma.c
121           libnm-util/nm-setting-cdma.h
122                 - Make properties private and add accessor functions
123
124         * src/nm-cdma-device.c
125           src/ppp-manager/nm-ppp-manager.c
126                 - Use those accessors
127
128 2008-10-26  Dan Williams  <dcbw@redhat.com>
129
130         Patch from Tambet Ingo <tambet@gmail.com>
131
132         * libnm-util/libnm-util.ver
133           libnm-util/nm-setting-pppoe.c
134           libnm-util/nm-setting-pppoe.h
135                 - Make properties private and add accessor functions
136
137         * src/nm-device-ethernet.c
138           src/ppp-manager/nm-ppp-manager.c
139                 - Use those accessors
140
141 2008-10-26  Dan Williams  <dcbw@redhat.com>
142
143         Patch from Tambet Ingo <tambet@gmail.com>
144
145         * libnm-util/libnm-util.ver
146           libnm-util/nm-setting-wired.c
147           libnm-util/nm-setting-wired.h
148                 - Make properties private and add accessor functions
149
150         * src/nm-device-ethernet.c
151           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
152           system-settings/plugins/ifcfg-suse/parser.c
153           system-settings/src/main.c
154                 - Use those accessors
155
156 2008-10-26  Dan Williams  <dcbw@redhat.com>
157
158         Patch from Tambet Ingo <tambet@gmail.com>
159
160         * libnm-util/libnm-util.ver
161           libnm-util/nm-setting-serial.c
162           libnm-util/nm-setting-serial.h
163           src/nm-serial-device.c
164                 - Make properties private and use accessors instead
165
166 2008-10-26  Dan Williams  <dcbw@redhat.com>
167
168         * src/supplicant-manager/nm-supplicant-interface.c
169           src/supplicant-manager/nm-supplicant-interface.h
170           src/supplicant-manager/nm-supplicant-manager.c
171           src/supplicant-manager/nm-supplicant-manager.h
172                 - Add state-to-string conversion functions
173
174         * src/nm-device-wifi.c
175           src/nm-device-ethernet.c
176                 - Normalize state info logging and use strings instead of numbers
177
178 2008-10-26  Dan Williams  <dcbw@redhat.com>
179
180         * src/NetworkManagerPolicy.c
181                 - (update_routing_and_dns): ignore host routes when determining whether
182                         a VPN connection should own the default route (bgo #552594)
183
184 2008-10-24  Dan Williams  <dcbw@redhat.com>
185
186         * src/nm-gsm-device.c
187                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
188
189 2008-10-23  Dan Williams  <dcbw@redhat.com>
190
191         * src/ppp-manager/nm-ppp-manager.c
192                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
193                         add really important stuff to the command line to ensure that NM
194                         overrides /etc/ppp/options (bgo #556781)
195
196 2008-10-22  Dan Williams  <dcbw@redhat.com>
197
198         * src/NetworkManagerSystem.c
199           src/nm-device.c
200                 - Use the device's IP interface where appropriate (Per Hallsmark)
201
202 2008-10-22  Dan Williams  <dcbw@redhat.com>
203
204         * src/nm-gsm-device.c
205                 - (schedule_automatic_registration_again): use a short timeout here
206                         instead of an idle handler to avoid using too much CPU polling for
207                         something we should be waiting a bit for anyway
208
209 2008-10-22  Dan Williams  <dcbw@redhat.com>
210
211         * include/NetworkManager.h
212           introspection/nm-device.xml
213                 - Add device state change reason for carrier changes
214
215         * src/nm-device-ethernet.c
216                 - (set_carrier): use the carrier change reason when changing device
217                         state in response to carrier changes
218
219 2008-10-21  Dan Williams  <dcbw@redhat.com>
220
221         * src/NetworkManagerPolicy.c
222                 - (update_etc_hosts): don't leak errors, and ensure that
223                         g_file_set_contents() gets a valid error placeholder (rh #461933)
224
225 2008-10-21  Dan Williams  <dcbw@redhat.com>
226
227         * src/nm-manager.c
228                 - (free_get_settings_info): don't use the DBusGProxy which could be
229                         disposed of by the time the function is called
230                 - (internal_new_connection_cb): save connection scope
231                 - (connection_get_settings_cb): don't replace a connection unless it's
232                         actually different from the existing one; fixes an issue where
233                         killing the settings service wouldn't deactivate an active connection
234                         provided by that settings service, because it was using a connection
235                         that had already been replaced in the system or user hash
236
237 2008-10-21  Dan Williams  <dcbw@redhat.com>
238
239         * src/NetworkManager.c
240                 - (main): keep the DHCP manager around since it's a singleton; fixes
241                         a use-after-free exposed by r4196 since the DHCP manager singleton
242                         variable isn't cleared when the DHCP manager object is finalized
243
244 2008-10-20  Dan Williams  <dcbw@redhat.com>
245
246         * libnm-util/nm-setting-wireless-security.c
247                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
248
249 2008-10-20  Dan Williams  <dcbw@redhat.com>
250
251         * src/supplicant-manager/nm-supplicant-config.c
252                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
253
254 2008-10-20  Dan Williams  <dcbw@redhat.com>
255
256         * src/dhcp-manager/nm-dhcp-manager.c
257                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
258                         manager object already refs it once
259                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
260                         also get cleaned up by nm_dhcp_device_destroy() to prevent
261                         double-frees
262
263 2008-10-20  Dan Williams  <dcbw@redhat.com>
264
265         * src/nm-manager.c
266                 - (initial_get_connections): use private dbus manager, don't keep
267                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
268                         manager object.
269
270 2008-10-18  Dan Williams  <dcbw@redhat.com>
271
272         * libnm-glib/nm-settings.c
273           libnm-glib/nm-settings.h
274                 - Rename the "get_secrets" virtual function "service_get_secrets" to
275                         clarify when it's used; NMExportedConnetion is a base-class for both
276                         the client and service side, which is sort of confusing, and
277                         get_secrets only makes sense on the service side.
278
279         * libnm-glib/nm-dbus-connection.c
280                 - (get_secrets): remove, unused, and clients need to do extra work to
281                         get secrets anyway since the call can block on the remote side
282
283         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
284           system-settings/plugins/keyfile/nm-keyfile-connection.c
285                 - Fix up for get_secrets -> service_get_secrets
286
287 2008-10-16  Dan Williams  <dcbw@redhat.com>
288
289         * src/nm-device-wifi.c
290                 - (constructor): correctly determine encryption capabilities
291
292 2008-10-15  Dan Williams  <dcbw@redhat.com>
293
294         * src/nm-device-wifi.c
295                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
296                         (Johannes Berg)
297
298 2008-10-15  Dan Williams  <dcbw@redhat.com>
299
300         * src/NetworkManagerSystem.c
301                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
302                         if the ip4_dest is in a smaller subnet contained within a subnet
303                         the machine is currently on, the destination is in the same subnet
304                 - (nm_system_device_set_ip4_route): move subnet checks to callers
305                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
306                         subnet as the parent device, and if so, don't add the direct
307                         host route via the parent device's gateway (bgo #481620)
308                 - (nm_system_apply_ip4_config): check whether the route to be added
309                         is contained within a subnet the device is already on
310
311 2008-10-11  Dan Williams  <dcbw@redhat.com>
312
313         * include/NetworkManager.h
314           introspection/nm-device.xml
315           include/NetworkManagerVPN.h
316                 - Add a few more state reasons for the device deactivated state
317
318         * src/nm-device-interface.c
319           src/nm-device-interface.h
320                 - (nm_device_interface_deactivate): add a 'reason' argument
321
322         * src/nm-device.c
323           src/nm-device.h
324                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
325                 - (nm_device_state_changed): pass the state change reason to
326                         nm_device_take_down()
327                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
328                         to the state change function
329
330         * src/nm-manager.c
331           src/nm-manager.h
332                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
333                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
334                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
335                         something reasonable along to VPN deactivation
336
337         * src/vpn-manager/nm-vpn-manager.c
338           src/vpn-manager/nm-vpn-manager.h
339                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
340                         pass that along to nm_vpn_connection_disconnect()
341
342 2008-10-11  Dan Williams  <dcbw@redhat.com>
343
344         * src/nm-device-wifi.c
345                 - (can_scan): remove old madwifi hack for not scanning while connected
346
347 2008-10-11  Dan Williams  <dcbw@redhat.com>
348
349         Add support for VPN subnet gateways (bgo #549196)
350
351         * include/NetworkManager.h
352                 - Add key for internal VPN subnet gateway
353
354         * src/vpn-manager/nm-vpn-connection.c
355                 - (ip_address_to_string): return a const from a static buffer so we
356                         don't leak a lot of strings
357                 - (print_vpn_config): print internal VPN gateway as well
358                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
359                         VPN service too
360                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
361
362         * src/NetworkManagerSystem.c
363           src/NetworkManagerSystem.h
364                 - (nm_system_device_replace_default_ip4_route): split into two, one for
365                         VPN connections and one for normal devices
366                 - (replace_default_ip4_route): break out route stuff into its own function
367                 - (nm_system_replace_default_ip4_route_vpn,
368                    nm_system_replace_default_ip4_route): simplify by having two cases,
369                         one for VPNs and one for normal devices
370
371         * src/NetworkManagerPolicy.c
372                 - (update_routing_and_dns): simplify, use split default route replacement
373                         functions
374
375 2008-10-10  Dan Williams  <dcbw@redhat.com>
376
377         Rework default route handling to consolidate decisions in the policy,
378         and to take active VPN connections into account when changing the default
379         route (bgo #545912)
380
381         * src/NetworkManager.c
382                 - (main): pass the vpn_manager to the policy so it knows about active
383                         VPN connections; clean up the named manager which wasn't done before
384
385         * src/NetworkManagerPolicy.c
386           src/NetworkManagerPolicy.h
387                 - (nm_policy_new): get a clue about the vpn_manager
388                 - (update_default_route): remove, fold into update_routing_and_dns()
389                 - (update_routing_and_dns): handle active VPN connections too; an
390                         active VPN connection becomes the default route if it does not have
391                         server-specified or user-specified custom routes.  Otherwise, the
392                         best active device gets the default route
393                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
394                    nm_policy_destroy): track VPN connection activation and deactivation
395                         and update the default route when appropriate
396
397         * src/NetworkManagerSystem.c
398           src/NetworkManagerSystem.h
399                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
400                         in the VPN connection itself
401                 - (nm_system_vpn_device_set_from_ip4_config,
402                    nm_system_device_set_from_ip4_config): merge together to make
403                         nm_system_apply_ip4_config()
404                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
405                         via the parent device
406                 - (nm_system_apply_ip4_config): simplify
407                 - (add_ip4_route_to_gateway): new function; add a direct route to the
408                         gateway if needed
409                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
410                         route stuff out into add_ip4_route_to_gateway() for clarity
411
412         * src/nm-device.c
413                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
414
415         * src/vpn-manager/nm-vpn-connection.c
416           src/vpn-manager/nm-vpn-connection.h
417                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
418                    nm_vpn_connection_get_parent_device): add
419                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
420                         device explicit
421                 - (connection_state_changed): update the named manager now that
422                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
423                         useful on errors
424
425         * src/vpn-manager/nm-vpn-manager.c
426           src/vpn-manager/nm-vpn-manager.h
427                 - Add a 'connection-activated' signal
428                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
429                         policy to find out about active VPN connections
430
431 2008-10-10  Tambet Ingo  <tambet@gmail.com>
432
433         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
434         a daemon to prevent NM logging spew on console on startup and shutdown (due
435         to dependency loop between NM and syslog).
436
437 2008-10-10  Alexander Sack  <asac@ubuntu.com>
438
439         Implement managed mode. We bind devices configured in /etc/network/interfaces
440         to their connections by updating wired/wireless setting with the
441         mac address of the device.
442
443         * system-settings/plugins/ifupdown/plugin.c
444                 - (get_net_address_for_udi): implement function to retrieve MAC
445                         address of udi from hal in GByteArray format
446                 - (bind_device_to_connection): bind mac address of device to
447                         wired/wireless system connection
448                 - (hal_device_added_cb): call bind_device_to_connection for
449                         system connections with a matching interface.name
450                 - (hal_device_added_cb): ensure that all code paths
451                         properly free the "iface" string.
452
453 2008-10-10  Alexander Sack  <asac@ubuntu.com>
454
455         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
456         mode of the ifupdown system config plugin.
457
458         * system-settings/plugins/ifupdown/plugin.c
459                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
460                         private unmanage_well_known state field accordingly
461
462 2008-10-10  Alexander Sack  <asac@ubuntu.com>
463
464         Implement unmanaged mode that will prevent all devices in the
465         well_known_udis set from being touched by NetworkManager
466
467         * system-settings/plugins/ifupdown/plugin.c
468                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
469                         unmanage_well_known field used to turn on/off unmanaged
470                         mode
471                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
472                         signal when well_known_udis get added/removed
473                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
474                         if we are in unmanaged mode
475
476 2008-10-10  Alexander Sack  <asac@ubuntu.com>
477
478         Add support to track network devices that have a configuration
479         with a matching interface.name in /etc/network/interfaces
480
481         * system-settings/plugins/ifupdown/plugin.c
482                 - (typedef struct SCPluginIfupdownPrivate): add hash table
483                         to track |well_known_udis|
484                 - (get_iface_for_udi): helper function to get interface.name
485                         for a udi
486                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
487                         that add and remove devices to and from the well_known_udis
488                         set depending on whether their |interface.name| matches
489                         any interface definition in /etc/network/interfaces
490                 - (SCPluginIfupdown_init): connect callbacks from above with
491                         hal_mgr and setup well_known_udis hashtable
492                 - (GObject__dispose): destroy well_known_udis hashtable
493                 - (hal_device_added_cb2): implement wrapper callback with GFunc
494                         signature. user_data is supposed to be a triple (hal_mgr,
495                         config and devtype)
496                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
497                         startup and call hal_device_added_cb2
498
499 2008-10-10  Alexander Sack  <asac@ubuntu.com>
500
501         Remove implementation for not used NMSystemConfigInterface callback functions
502         in ifupdown plugin
503
504         * system-settings/plugins/ifupdown/plugin.c
505                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
506                 - (SCPluginIfupdown_connection_added): removed
507
508 2008-10-08  Dan Williams  <dcbw@redhat.com>
509
510         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
511
512         * src/NetworkManagerUtils.c
513                 - (nm_utils_call_dispatcher): add a 'hostname' action
514
515         * src/NetworkManagerPolicy.c
516                 - (set_system_hostname): dispatch hostname changes
517
518         * callouts/nm-dispatcher-action.c
519                 - (nm_dispatcher_action): handle 'hostname' actions
520
521 2008-10-08  Dan Williams  <dcbw@redhat.com>
522
523         * src/NetworkManagerSystem.c
524                 - (find_route): ref the route so it doesn't get destroyed when the cache
525                         is cleared
526                 - (nm_system_device_set_priority): unref the route here after it's done
527                         being used
528
529 2008-10-08  Dan Williams  <dcbw@redhat.com>
530
531         * src/nm-serial-device.c
532                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
533
534 2008-10-08  Tambet Ingo  <tambet@gmail.com>
535
536         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
537         connection with new settings before saving it.
538
539 2008-10-06  Dan Williams  <dcbw@redhat.com>
540
541         * src/nm-ip4-config.c
542           src/nm-ip4-config.h
543                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
544
545         * src/nm-device-interface.c
546                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
547                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
548                         by using '/' for the object path
549
550         * src/nm-device.c
551                 - (src/nm-device.c): marshal missing/unexported ip4-config through
552                         dbus as '/' since dbus-glib can't handle NULL objects nor can
553                         dbus handle NULL object paths
554
555 2008-10-03  Alexander Sack  <asac@ubuntu.com>
556
557         Implement system hostname support for debian/ubuntu
558
559         * system-settings/plugins/ifupdown/plugin.c
560                 - (GObject__get_property): extend announced capabilities; add
561                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
562                 - (GObject__set_property,write_system_hostname): implement
563                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
564                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
565                    update_system_hostname, get_hostname):
566                         implement hostname property that watches and
567                         parses /etc/hostname
568
569 2008-10-03  Alexander Sack  <asac@ubuntu.com>
570
571         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
572           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
573           system-settings/plugins/ifcfg-fedora/Makefile.am
574           system-settings/src/nm-inotify-helper.c
575           system-settings/src/nm-inotify-helper.h
576           src/Makefile.am
577                 - Move ifcfg-fedora inotify helpers to the system settings service so
578                         they are available to all plugins
579
580 2008-10-03  Alexander Sack  <asac@ubuntu.com>
581
582         Implement support for wep-tx-keyidx in ifupdown system
583         config plugin.
584
585         * system-settings/plugins/ifupdown/parser.c
586                 - (update_wireless_security_setting_from_if_block): introduce
587                         free_type_mapping func table; rename a few local
588                         variables to improve readability; add wpa security mapping
589                         for wep-tx-keyidx property
590                 - (string_to_gpointerint): new function used for the auto_type_mapping
591                         of new wep-tx-keyidx property
592                 - (slist_free_all): free func used for mapped slist types
593
594 2008-10-03  Alexander Sack  <asac@ubuntu.com>
595
596         * system-settings/src/main.c:
597                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
598                         always used as the hash key; fixes a crash when removing wired
599                         devices
600
601 2008-10-02  Dan Williams  <dcbw@redhat.com>
602
603         * src/nm-gsm-device.c
604                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
605                         pass the required GSM secret along via user_data rather than keeping
606                         it around in the private data where it sometimes didn't get cleared
607                 - (real_get_ppp_name): implement using the GSM username
608
609 2008-10-02  Dan Williams  <dcbw@redhat.com>
610
611         * src/ppp-manager/nm-ppp-manager.c
612           src/ppp-manager/nm-ppp-manager.h
613                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
614                         the settings daemon for completely new ones
615                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
616                         local PPP peer name; allow PPP debuging by launching NM with
617                         the environment variable NM_PPP_DEBUG defined
618                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
619                         create_pppd_cmd_line()
620
621         * src/nm-serial-device.c
622           src/nm-serial-device.h
623                 - New 'get_ppp_name' function for subclasses to implement to return the
624                         local PPP peer name
625                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
626                         and pass that name to the PPP manager
627
628         * src/nm-device-ethernet.c
629                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
630                         the local peer name
631
632         * src/nm-cdma-device.c
633                 - (real_get_ppp_name): implement using the CDMA username
634
635 2008-10-02  Dan Williams  <dcbw@redhat.com>
636
637         Patch from Alexander Sack <asac ubuntu com>
638
639         * system-settings/plugins/ifupdown/parser.c
640                 - Implement more graceful ip4 config parsing for cases where
641                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
642                   by using default values
643
644 2008-10-02  Dan Williams  <dcbw@redhat.com>
645
646         * src/NetworkManagerPolicy.c
647                 - (device_state_changed): when marking a connection invalid, clear its
648                         secrets too so that fresh secrets get requested the next time
649
650 2008-10-01  Dan Williams  <dcbw@redhat.com>
651
652         * system-settings/src/dbus-settings.c
653                 - (nm_sysconfig_settings_init): cache system hostname on startup as
654                         a fallback if no plugin provides a hostname
655                 - (get_property): fall back to cached hostname if no plugin provides
656                         a hostname
657
658 2008-10-01  Dan Williams  <dcbw@redhat.com>
659
660         Fix setting value comparison issue that caused some settings to look the
661         same when they were really different (rh #464417)
662
663         * libnm-util/nm-param-spec-specialized.c
664                 - (type_is_fixed_size): return fundamental size of the fixed type too
665                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
666                         in the comparison so that the _entire_ fixed type collection gets
667                         compared rather than just the first 'len1' bytes
668
669 2008-09-30  Dan Williams  <dcbw@redhat.com>
670
671         * src/NetworkManagerPolicy.c
672                 - (lookup_thread_worker): don't store the idle handler ID becuase the
673                         idle handler could have already run and freed the LookupThread
674                         structure
675
676 2008-09-30  Tambet Ingo  <tambet@gmail.com>
677
678         * src/nm-device.c (nm_device_get_priority): Implement.
679         (nm_device_set_ip4_config): Send the device priority to system ip4 
680         config setter.
681
682         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
683         Add priority argument and if it's >= 0, set the priority of the network
684         route added automatically by netlink (or kernel?).
685         (nm_system_device_set_priority): Implement.
686
687         * src/NetworkManagerPolicy.c (get_best_device): Use 
688         nm_device_get_priority() instead of home-grown version. Revert the
689         meaning, best priority is the lowest one.
690
691 2008-09-29  Dan Williams  <dcbw@redhat.com>
692
693         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
694         when it returns EAGAIN (rh #362421)
695
696         * src/nm-device-wifi.c
697                 - (wireless_get_range): try GIWRANGE a few times until the card responds
698                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
699
700 2008-09-28  Dan Williams  <dcbw@redhat.com>
701
702         * src/nm-serial-device.c
703           src/nm-serial-device.h
704                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
705                         cleaned at the right times when subclasses close the serial port too
706                 - (nm_serial_device_send_command): use a default send delay; don't
707                         spin forever on EAGAIN
708                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
709                         remove, no longer used
710                 - (find_response): return the matched response if any
711                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
712                         while doing so
713                 - (wait_for_reply_done): pass the matched response to the callback
714                 - (wait_for_reply_got_data): save the matched response; simplify timeout
715                         handling
716                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
717                         const since they never get modified
718                 - (cleanup_device): split out common cleanup stuff to a new function
719                 - (real_deactivate_quickly, finalize): use cleanup_device()
720
721         * src/nm-gsm-device.c
722                 - (modem_get_reply): remove, unused
723                 - (set_apn): give the card a bit more time to respond
724                 - (manual_registration_again, schedule_manual_registration_again,
725                    manual_registration_response, manual_registration): handle manual
726                         registration timeouts better by retrying registration a few times
727                         because cards are a bit slow after CFUN=1
728                 - (automatic_registration_get_network, get_network_response): use
729                         modem_wait_for_reply() because it interacts better with the serial
730                         buffer and does more intelligent matching; need to wait for 'OK'
731                         rather than just matching terminators
732                 - (schedule_automatic_registration_again,
733                    automatic_registration_response, automatic_registration): retry
734                         registration a few times on timeout or "searching" because cards
735                         take a bit to find a network after being powered up with CFUN=1
736                 - (power_up_response, power_up, init_full_done, enter_pin,
737                    check_pin_done): power up the card with CFUN=1 before trying to
738                         register with the network
739                 - (init_modem_full, init_modem): use more standard 3G init strings
740
741         * src/nm-hso-gsm-device.c
742                 - (modem_get_reply): remove, unused
743                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
744                         modem_wait_for_reply() to match actual responses instead of single
745                         termination characters; it doesn't leave stuff in the serial buffer
746                         that might confuse later calls
747                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
748                         to ensure that the call is really disconnected and not leave extra
749                         stuff in the serial buffer
750
751         * src/nm-cdma-device.c
752                 - (power_up_response, power_up, init_done): try Sierra-style modem
753                         power up before attempting to connect
754
755 2008-09-27  Dan Williams  <dcbw@redhat.com>
756
757         * libnm-util/nm-setting-gsm.c
758                 - (verify): verify GSM network ID
759
760 2008-09-25  Dan Williams  <dcbw@redhat.com>
761
762         * libnm-util/nm-setting-gsm.c
763           libnm-util/nm-setting-gsm.h
764                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
765                         technology terms (bgo #551361)
766
767 2008-09-25  Dan Williams  <dcbw@redhat.com>
768
769         Fix bgo #549401 (inspired by patch from Alexander Sack)
770
771         * src/nm-device-ethernet.c
772                 - (finish_supplicant_task): clean up scheduled tasks and free memory
773                 - (remove_supplicant_interface_error_handler): remove the supplicant
774                         error idle callback too
775                 - (supplicant_interface_release): rename from supplicant_interface_clean
776                         to match nm-device-wifi.c; clean up supplicant interface-related
777                         state tasks when the supplicant interface is disposed of
778                 - (schedule_state_handler): add scheduled tasks to a list so they can
779                         be cleaned up later
780                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
781                    supplicant_iface_connection_state_cb_handler): use
782                         finish_supplicant_task() to clean up each completed task
783                 - (supplicant_iface_connection_error_cb_handler,
784                    supplicant_connection_timeout_cb): clear source id when the task is
785                         complete
786                 - (supplicant_iface_connection_error_cb): save scheduled task id for
787                         later cleanup
788                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
789                         tasks
790
791         * src/nm-device-wifi.c
792                 - (finish_supplicant_task): clean up scheduled tasks and free memory
793                 - (remove_supplicant_interface_error_handler): remove the supplicant
794                         error idle callback too
795                 - (supplicant_interface_release): clean up supplicant interface-related
796                         state tasks when the supplicant interface is disposed of
797                 - (schedule_state_handler): add scheduled tasks to a list so they can
798                         be cleaned up later
799                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
800                    supplicant_iface_connection_state_cb_handler): use
801                         finish_supplicant_task() to clean up each completed task
802                 - (supplicant_iface_connection_error_cb_handler): clear source id when
803                         the task is complete
804                 - (supplicant_iface_connection_error_cb): save scheduled task id for
805                         later cleanup
806                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
807
808 2008-09-24  Tambet Ingo  <tambet@gmail.com>
809
810         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
811         method and get/set hostname property.
812
813 2008-09-24  Tambet Ingo  <tambet@gmail.com>
814
815         * src/supplicant-manager/nm-supplicant-interface.c
816         (nm_supplicant_interface_disconnect): Don't increment the reference 
817         count when disconnecting. The problem is on shutdown, when the replies
818         to these commands do not arrive before NM exits, resulting on never
819         calling supplicant interface's dispose(), which removes the interface
820         from supplicant.
821
822 2008-09-24  Tambet Ingo  <tambet@gmail.com>
823
824         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
825         all the public function arguments.
826
827 2008-09-22  Tambet Ingo  <tambet@gmail.com>
828
829         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
830         "Failure" signal from VPN plugins, store the failure reason, and
831         use it when the state is changed to failure.
832
833         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
834         description.
835
836         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
837         reason to the end of the list to not break the API.
838         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
839         so it can be shared by plugins and daemon.
840
841 2008-09-18  Dan Williams  <dcbw@redhat.com>
842
843         Patch from Alexander Sack <asac@ubuntu.com>
844
845         * configure.in
846           system-settings/plugins/Makefile.am
847           system-settings/plugins/ifupdown/Makefile.am
848           system-settings/plugins/ifupdown/interface_parser.c
849           system-settings/plugins/ifupdown/interface_parser.h
850           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
851           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
852           system-settings/plugins/ifupdown/parser.c
853           system-settings/plugins/ifupdown/parser.h
854           system-settings/plugins/ifupdown/plugin.c
855           system-settings/plugins/ifupdown/plugin.h
856                 - Implement a Debian/Ubuntu legacy network configuration plugin
857                         (gnome.org #551941)
858
859 2008-09-18  Dan Williams  <dcbw@redhat.com>
860
861         Implement support for honoring configured and automatic hostnames, and for
862         setting the configured hostname.
863
864         * introspection/nm-ip4-config.xml
865           src/nm-ip4-config.c
866           src/nm-ip4-config.h
867           src/dhcp-manager/nm-dhcp-manager.c
868                 - Remove useless hostname property; it's not really part of the IPv4
869                         config
870
871         * introspection/nm-settings-system.xml
872           libnm-glib/nm-dbus-settings-system.c
873           libnm-glib/nm-dbus-settings-system.h
874                 - Add SetHostname() call to system settings D-Bus interface
875                 - Add Hostname property to system settings D-Bus interface
876                 - (nm_dbus_settings_system_save_hostname,
877                    nm_dbus_settings_system_get_hostname): implement
878
879         * src/nm-device.c
880           src/nm-device.h
881                 - (nm_device_get_dhcp4_config): implement
882
883         * src/nm-manager.c
884           src/nm-manager.h
885                 - Fetch and track system settings service hostname changes, and proxy
886                         the changes via a GObject property of the manager
887
888         * system-settings/src/nm-system-config-interface.c
889           system-settings/src/nm-system-config-interface.h
890                 - Replace nm_system_config_interface_supports_add() with a capabilities
891                         bitfield
892
893         * system-settings/src/nm-system-config-error.c
894           system-settings/src/nm-system-config-error.h
895                 - Add additional errors
896
897         * system-settings/src/dbus-settings.c
898           system-settings/src/dbus-settings.h
899                 - (get_property, nm_sysconfig_settings_class_init): add hostname
900                         property; first plugin returning a hostname wins
901                 - (impl_settings_add_connection): use plugin capabilities instead of
902                         nm_system_config_interface_supports_add()
903                 - (impl_settings_save_hostname): implement hostname saving
904
905         * src/NetworkManagerPolicy.c
906                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
907                    lookup_thread_die): implement an asynchronous hostname lookup thread
908                         which given an IPv4 address tries to look up the hostname for that
909                         address with reverse DNS
910                 - (get_best_device): split out best device code from
911                         update_routing_and_dns()
912                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
913                         to preserve the 127.0.0.1 reverse mapping that so many things require
914                 - (set_system_hostname): set a given hostname
915                 - (update_system_hostname): implement hostname policy; a configured
916                         hostname (from the system settings service) is used if available,
917                         otherwise an automatically determined hostname from DHCP, VPN, etc.
918                         If there was no automatically determined hostname, reverse DNS of
919                         the best device's IP address will be used, and as a last resort the
920                         hostname 'localhost.localdomain' is set.
921                 - (update_routing_and_dns): use get_best_device(); update the system
922                         hostname when the network config changes
923                 - (hostname_changed): update system hostname if the system settings
924                         service signals a hostname change
925                 - (nm_policy_new): list for system settings service hostname changes
926                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
927                         gets told to die
928
929         * system-settings/plugins/keyfile/plugin.c
930           system-settings/plugins/ifcfg-suse/plugin.c
931                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
932                         capabilities properties
933
934         * system-settings/plugins/ifcfg-fedora/shvar.c
935                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
936                         writes out /etc/sysconfig/network now
937
938         * system-settings/plugins/ifcfg-fedora/plugin.c
939                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
940                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
941                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
942                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
943                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
944                         hostname get/set and capabilities get
945
946 2008-09-18  Dan Williams  <dcbw@redhat.com>
947
948         * libnm-util/nm-setting-wireless.c
949                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
950                         group ciphers if the wireless-security setting explicitly specified
951                         them, effectively making the default be "all ciphers"  (idea from
952                         Alexander Sack)
953
954 2008-09-15  Dan Williams  <dcbw@redhat.com>
955
956         Patch from Alexander Sack <asac@ubuntu.com>
957
958         * src/named-manager/nm-named-manager.c
959                 - (dispatch_resolvconf): respect resolvconf exit code
960
961 2008-09-12  Tambet Ingo  <tambet@gmail.com>
962
963         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
964         again. Add some debugging.
965
966 2008-09-11  Dan Williams  <dcbw@redhat.com>
967
968         * system-settings/plugins/keyfile/plugin.c
969                 - (update_connection_settings): update connection manually, since
970                         nm_exported_connection_update() does authentication
971                 - (dir_changed): update_connection_settings() doesn't need to return
972                         an error
973
974 2008-09-09  Dan Williams  <dcbw@redhat.com>
975
976         * libnm-glib/nm-vpn-plugin-ui-interface.c
977           libnm-glib/nm-vpn-plugin-ui-interface.h
978           libnm-glib/libnm_glib_vpn.ver
979                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
980                         should clean up resources related to the connection (like keyring
981                         secrets)
982                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
983                         should save user-scope secrets (like to the keyring)
984
985 2008-09-08  Dan Williams  <dcbw@redhat.com>
986
987         Patch from Alexander Sack <asac@ubuntu.com>
988
989         * libnm-util/crypto_gnutls.c
990           libnm-util/crypto_nss.c
991                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
992
993         * libnm-util/nm-utils.c
994           libnm-util/nm-utils.h
995           libnm-util/libnm-util.ver
996                 - (nm_utils_init): initialize libnm-util
997                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
998
999         * libnm-util/nm-setting-8021x.c
1000                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1001
1002 2008-09-05  Dan Williams  <dcbw@redhat.com>
1003
1004         Patch from Roy Marples <roy@marples.name> and others
1005
1006         * configure.in
1007           src/named-manager/nm-named-manager.c
1008                 - Add support for resolvconf; use --with-resolvconf at configure time
1009                         to enable it
1010
1011 2008-09-05  Dan Williams  <dcbw@redhat.com>
1012
1013         * libnm-util/crypto_nss.c
1014           libnm-util/crypto_gnutls.c
1015           libnm-util/crypto.h
1016                 - (crypto_init): return error when init fails
1017
1018 2008-09-05  Dan Williams  <dcbw@redhat.com>
1019
1020         * libnm-glib/nm-device-wifi.c
1021                 - (access_point_removed_proxy): clean up the active access point too
1022                         just in case the active ap changed signal didn't come through yet
1023                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1024
1025 2008-09-05  Dan Williams  <dcbw@redhat.com>
1026
1027         * libnm-glib/nm-client.c
1028                 - (constructor): get initial state after we know whether NM is running
1029                         or not
1030
1031 2008-09-05  Dan Williams  <dcbw@redhat.com>
1032
1033         * libnm-glib/nm-ip4-config.c
1034           libnm-glib/nm-dhcp4-config.c
1035                 - (finalize): clean up the DBusGProxy
1036
1037 2008-09-04  Dan Williams  <dcbw@redhat.com>
1038
1039         * src/nm-ip4-config.c
1040           src/nm-ip4-config.h
1041                 - (nm_ip4_config_new): don't export over D-Bus here
1042                 - (nm_ip4_config_export): new function; export the config over D-Bus
1043                 - (nm_ip4_config_is_exported): new function
1044
1045         * src/nm-device.c
1046                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1047                         objects by balancing the IP4Config constructor; the device holds
1048                         a reference to the IP4Config already
1049                 - (nm_device_set_ip4_config): export the IP4Config when needed
1050
1051 2008-09-04  Dan Williams  <dcbw@redhat.com>
1052
1053         * src/supplicant-manager/nm-supplicant-settings-verify.c
1054                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1055
1056 2008-09-04  Dan Williams  <dcbw@redhat.com>
1057
1058         * libnm-util/nm-setting-vpn.c
1059           libnm-util/nm-setting-vpn.h
1060                 - Split VPN secrets from VPN data so that settings services can actually
1061                         figure out that they are secrets and store them accordingly
1062
1063         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1064           system-settings/plugins/keyfile/reader.c
1065           system-settings/plugins/keyfile/reader.h
1066           system-settings/plugins/keyfile/writer.c
1067                 - Store VPN secrets separately from VPN data so that they can be fetched
1068                         on demand
1069                 - Implement the get_secrets() call so that (a) secrets don't leak out
1070                         to unprivileged callers, and (b) secrets can be sent to privileged
1071                         callers when needed
1072
1073         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1074                 - Handle split VPN secrets
1075
1076 2008-08-27  Dan Williams  <dcbw@redhat.com>
1077
1078         * system-settings/plugins/ifcfg-fedora/reader.c
1079                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1080
1081 2008-08-27  Dan Williams  <dcbw@redhat.com>
1082
1083         Ensure zombie children get cleaned up.  To get notifications when children
1084         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1085         that requires calling waitpid() yourself if you've removed the child watch
1086         handler before the process has actually died, which NM needs to do in a few
1087         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1088         cleans up after the child when required.  Should fix problems trying to
1089         activate mobile broadband connections after a previous failure.
1090
1091         * src/dhcp-manager/nm-dhcp-dhclient.c
1092           src/dhcp-manager/nm-dhcp-dhcpcd.c
1093                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1094
1095         * src/dhcp-manager/nm-dhcp-manager.c
1096                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1097                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1098                         block on child quitting, since the non-blocking functionality was
1099                         never actually used
1100
1101         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1102                 - (dm_watch_cb): child is already reaped here
1103                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1104
1105         * src/nm-device.c
1106                 - (aipd_cleanup): block until child is dead
1107
1108         * src/named-manager/nm-named-manager.c
1109                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1110                         event bothering to watch the child
1111
1112         * src/ppp-manager/nm-ppp-manager.c
1113                 - (ppp_watch_cb): child is already reaped here
1114                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1115
1116         * src/vpn-manager/nm-vpn-service.c
1117                 - (vpn_service_watch_cb): child is already reaped here
1118                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1119                         status of the child is actually tracked
1120                 - (ensure_killed, finalize): block until child is dead
1121
1122 2008-08-26  Dan Williams  <dcbw@redhat.com>
1123
1124         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1125                 - (update): Update filename of the connection if the connection id
1126                         was changed
1127
1128         * system-settings/plugins/keyfile/plugin.c
1129                 - (dir_changed): first pass at handling connection renames correctly
1130
1131         * system-settings/plugins/keyfile/writer.c
1132           system-settings/plugins/keyfile/writer.h
1133                 - (write_connection): replace '/' with '*' when writing out the filename
1134                         from the connection id
1135
1136 2008-08-26  Dan Williams  <dcbw@redhat.com>
1137
1138         Add connection UUIDs, since connection names can be changed, and since
1139         old-style connection IDs could change over the life of the connection.  The
1140         UUID should be assigned at connection creation time, be stable for a given
1141         connection, and should be unique among all connections for a given settings
1142         service.
1143
1144         * configure.in
1145           libnm-util/Makefile.am
1146                 - Require libuuid
1147
1148         * introspection/nm-exported-connection.xml
1149                 - Remove "GetID" method
1150
1151         * libnm-glib/nm-dbus-connection.c
1152           libnm-glib/nm-settings.c
1153           libnm-glib/nm-settings.h
1154                 - Remove id-related stuff
1155
1156         * libnm-util/nm-utils.c
1157           libnm-util/nm-utils.h
1158           libnm-util/libnm-util.ver
1159                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1160                         utility functions to generate UUIDs
1161
1162         * libnm-util/nm-setting-connection.c
1163           libnm-util/nm-setting-connection.h
1164                 - Add 'uuid' member to the connection setting
1165                 - (verify): require valid 'uuid' for a valid connection
1166
1167         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1168           system-settings/plugins/ifcfg-fedora/reader.c
1169           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1170           system-settings/plugins/ifcfg-suse/parser.c
1171           system-settings/plugins/keyfile/nm-keyfile-connection.c
1172           system-settings/src/main.c
1173                 - Remove id-related stuff
1174                 - Give connections UUIDs where needed
1175
1176 2008-08-25  Dan Williams  <dcbw@redhat.com>
1177
1178         * libnm-util/crypto_gnutls.c
1179           libnm-util/crypto_nss.c
1180                 - (crypto_init, crypto_deinit): refcount init/deinit
1181                 - (crypto_md5_hash): allow NULL salt
1182
1183 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1184
1185         * libnm-glib/Makefile.am
1186           libnm-util/Makefile.am
1187           libnm-glib/libnm_glib.ver
1188           libnm-glib/libnm_glib_vpn.ver
1189           libnm-util/libnm-util.ver
1190                 - Use linker version scripts to control the list of exported 
1191                 symbols. List each exported symbol explicitely.
1192         * libnm-util/Makefile.am
1193                 - Fix compilation of the test-crypto binary. The crypto
1194                 functions are no longer part of the libnm-util API. Add 
1195                 crypto_*.c to test_crypto_SOURCES and link against the correct
1196                 crypto libraries.
1197
1198 2008-08-19  Dan Williams  <dcbw@redhat.com>
1199
1200         * configure.in
1201           test/Makefile.am
1202                 - Don't build test/test-common
1203                 - Remove unused stuff
1204
1205         * test/nm-set-fallback
1206           test/nmtestdevices.c
1207           test/test-common/.cvsignore
1208           test/test-common/Makefile.am
1209           test/test-common/test-common.c
1210           test/test-common/test-common.h
1211                 - delete
1212
1213 2008-08-18  Dan Williams  <dcbw@redhat.com>
1214
1215         * libnm-util/nm-utils.c
1216           libnm-util/nm-utils.h
1217                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1218                         export anything that needs to be converted with this function
1219
1220         * src/dhcp-manager/nm-dhcp-manager.c
1221                 - (garray_to_string): convert a byte array to a UTF-8 string with
1222                         minimal validation; the DHCP client sends it in ASCII anyway
1223                 - (get_option, copy_option): use garray_to_string()
1224
1225 2008-08-18  Dan Williams  <dcbw@redhat.com>
1226
1227         * include/NetworkManager.h
1228           introspection/nm-device.xml
1229                 - Add a "missing firmware" device state reason
1230
1231         * src/NetworkManagerSystem.c
1232           src/NetworkManagerSystem.h
1233                 - (nm_system_device_set_up_down): add a no_firmware argument
1234                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1235                         IFF_UP is ENOENT, that almost always means missing firmware
1236
1237         * src/backends/NetworkManagerGeneric.c
1238           src/nm-device-ethernet.c
1239           src/nm-device-private.h
1240           src/nm-device-wifi.c
1241           src/nm-device.c
1242           src/nm-device.h
1243           src/nm-hso-gsm-device.c
1244           src/vpn-manager/nm-vpn-connection.c
1245                 - Pass no_firmware along; check it where appropriate
1246
1247 2008-08-18  Dan Williams  <dcbw@redhat.com>
1248
1249         Patch from Robert Buchholz <rbu@gentoo.org>
1250
1251         * autogen.sh
1252           configure.in
1253                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1254                         1003.1-1988, allowing for file names longer than 99 characters
1255
1256 2008-08-17  Dan Williams  <dcbw@redhat.com>
1257
1258         * include/NetworkManager.h
1259           introspection/nm-device.xml
1260           src/nm-gsm-device.c
1261                 - Finer-grained GSM registration failure error codes
1262
1263 2008-08-17  Dan Williams  <dcbw@redhat.com>
1264
1265         * callouts/Makefile.am
1266           src/Makefile.am
1267                 - Move dispatcher directory creation to callouts/Makefile.am
1268
1269         * system-settings/plugins/keyfile/Makefile.am
1270                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1271
1272 2008-08-15  Dan Williams  <dcbw@redhat.com>
1273
1274         Do connection sharing in a cleaner manner; all required iptables rules
1275         are now stored in the activation request and pertain only to the device
1276         which is being shared to other computers. (rh #458625)
1277
1278         * src/nm-activation-request.c
1279           src/nm-activation-request.h
1280                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1281                         the activation request which will get torn down automatically when
1282                         the activation request dies
1283                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1284                         is started, and tear them down when sharing is stopped
1285
1286         * src/nm-device.c
1287                 - (start_sharing): start up sharing by doing the required iptables magic
1288                 - (share_init): poke the right bits of the kernel and load the right
1289                         modules for NAT
1290                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1291                         connection if it's a 'shared' connection
1292
1293         * src/NetworkManagerPolicy.c
1294                 - Remove all sharing stuff; done in the device code itself
1295
1296 2008-08-15  Dan Williams  <dcbw@redhat.com>
1297
1298         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1299                 - (create_dm_cmd_line): send the right router address
1300
1301 2008-08-15  Dan Williams  <dcbw@redhat.com>
1302
1303         * src/ppp-manager/nm-ppp-manager.c
1304                 - (pppd_timed_out): ensure timeouts fail the connection
1305
1306 2008-08-14  Dan Williams  <dcbw@redhat.com>
1307
1308         * src/nm-properties-changed-signal.c
1309           src/nm-properties-changed-signal.h
1310                 - Add a property spec flag for "don't export this property" in
1311                         property changed signals
1312
1313         * src/nm-hso-gsm-device.c
1314           src/nm-gsm-device.c
1315           src/nm-cdma-device.c
1316                 - Don't export monitor interface or netdev interface properties
1317
1318 2008-08-14  Dan Williams  <dcbw@redhat.com>
1319
1320         * src/NetworkManagerPolicy.c
1321                 - (update_routing_and_dns): 'hso' devices can be default even if they
1322                         don't have a gateway
1323
1324 2008-08-14  Dan Williams  <dcbw@redhat.com>
1325
1326         * src/nm-device.c
1327                 - (nm_device_deactivate_quickly): tear down activation request after
1328                         calling device-specific deactivation
1329
1330         * src/nm-hso-gsm-device.c
1331                 - (real_deactivate_quickly): terminate connection when deactivating
1332
1333 2008-08-14  Dan Williams  <dcbw@redhat.com>
1334
1335         * src/nm-activation-request.h
1336                 - Add HSO secrets caller
1337
1338         * src/nm-gsm-device.c
1339           src/nm-gsm-device.h
1340                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1341                         something to the callback function
1342                 - (set_apn, set_apn_done): call class dial function, not a static one
1343                 - (nm_gsm_device_class_init): add a class 'dial' function
1344
1345         * src/nm-hal-manager.c
1346                 - (get_hso_netdev): find the hso-driven hardware's net device
1347                 - (modem_device_creator): recognize hso-driven hardware and create the
1348                         right type of device object for it
1349
1350         * src/Makefile.am
1351           src/nm-hso-gsm-device.c
1352           src/nm-hso-gsm-device.h
1353                 - Implement support for devices driven by the 'hso' driver as a subclass
1354                         of NMGsmDevice
1355
1356 2008-08-14  Dan Williams  <dcbw@redhat.com>
1357
1358         * src/NetworkManagerSystem.c
1359                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1360                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1361                         success if the operation really was successful
1362
1363 2008-08-14  Dan Williams  <dcbw@redhat.com>
1364
1365         * src/nm-netlink-monitor.c
1366           src/nm-netlink-monitor.h
1367           src/nm-device-ethernet.c
1368                 - (nm_netlink_monitor_request_status): return an error on failure
1369                 - (constructor): don't segfault on missing error
1370
1371 2008-08-13  Dan Williams  <dcbw@redhat.com>
1372
1373         * callouts/nm-dispatcher-action.c
1374                 - Add IP4 config info to script environment
1375
1376 2008-08-12  Dan Williams  <dcbw@redhat.com>
1377
1378         * src/nm-device.c
1379                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1380                         that want to use DHCP hostnames should use dispatcher scripts
1381                         for that
1382
1383         * src/NetworkManagerSystem.h
1384           src/backends/NetworkManagerArch.c
1385           src/backends/NetworkManagerDebian.c
1386           src/backends/NetworkManagerFrugalware.c
1387           src/backends/NetworkManagerGeneric.c
1388           src/backends/NetworkManagerGeneric.h
1389           src/backends/NetworkManagerGentoo.c
1390           src/backends/NetworkManagerMandriva.c
1391           src/backends/NetworkManagerPaldo.c
1392           src/backends/NetworkManagerRedHat.c
1393           src/backends/NetworkManagerSlackware.c
1394           src/backends/NetworkManagerSuSE.c
1395                 - Remove nm_system_set_hostname(), no longer used
1396           
1397         * src/backends/Makefile.am
1398           src/backends/shvar.c
1399           src/backends/shvar.h
1400                 - Remove shvar.*; no longer used
1401
1402 2008-08-12  Dan Williams  <dcbw@redhat.com>
1403
1404         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1405         hostname is updated at runtime.  Distros or users who want hostname updates
1406         can use dispatcher scripts to update the hostname if they need it.
1407
1408 2008-08-12  Dan Williams  <dcbw@redhat.com>
1409
1410         * introspection/nm-settings-system.xml
1411           system-settings/src/dbus-settings.c
1412           system-settings/src/dbus-settings.h
1413                 - Add a 'Hostname' property (rw) which represents the configured
1414                         hostname and domain of the system, if any
1415
1416         * system-settings/src/nm-system-config-error.c
1417           system-settings/src/nm-system-config-error.h
1418           system-settings/src/nm-system-config-interface.c
1419           system-settings/src/nm-system-config-interface.h
1420                 - Add a 'hostname' property to the plugin interface
1421                 - Add a method to send updated hostname to plugins to save in their
1422                         backing configuration store
1423
1424         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1425           system-settings/plugins/keyfile/plugin.c
1426           system-settings/plugins/keyfile/writer.c
1427           system-settings/plugins/keyfile/writer.h
1428           system-settings/plugins/ifcfg-suse/plugin.c
1429                 - Add minimal hostname support
1430
1431         * system-settings/plugins/ifcfg-fedora/plugin.c
1432                 - Add support for updating system hostname in /etc/sysconfig/network
1433
1434 2008-08-12  Dan Williams  <dcbw@redhat.com>
1435
1436         * system-settings/plugins/ifcfg-fedora/shvar.c
1437           system-settings/plugins/ifcfg-fedora/shvar.c
1438                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1439
1440 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1441
1442         * Makefile.am: Fix distcheck.
1443
1444 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1445
1446         * libnm-glib/*.c. Document some more.
1447
1448 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1449
1450         Start documenting libnm-glib public API using gtk-doc.
1451
1452         * libnm-glib/nm-serial-device.c: 
1453         * libnm-glib/nm-object.c: 
1454         * libnm-glib/nm-gsm-device.c: 
1455         * libnm-glib/nm-device.c: 
1456         * libnm-glib/nm-device-wifi.c: 
1457         * libnm-glib/nm-device-ethernet.c: 
1458         * libnm-glib/nm-client.c: 
1459         * libnm-glib/nm-cdma-device.c: Document the public API.
1460
1461         * docs/libnm-glib/libnm-glib.types: Implement.
1462
1463         * docs/libnm-glib/Makefile.am: Implement.
1464
1465         * autogen.sh: 
1466         * configure.in: 
1467         * Makefile.am: Add gtk-doc support.
1468
1469 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1470
1471         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1472
1473         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1474         the composite result of all the IP4 configurations and call a distro
1475         specific update_resolv_conf().
1476         (update_resolv_conf): Implement one for directly writing to 
1477         /etc/resolv.conf and one for opensuse to call netconfig.
1478
1479 2008-08-11  Dan Williams  <dcbw@redhat.com>
1480
1481         * src/ppp-manager/nm-ppp-manager.c
1482                 - (impl_ppp_manager_need_secrets): pass interface as required
1483
1484 2008-08-11  Dan Williams  <dcbw@redhat.com>
1485
1486         Merge the vpn-properties setting with the vpn setting since it was pointless
1487         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1488         of string:string (instead of string:variant) so that system settings plugins
1489         can have an easier time dealing with the arbitrary key/value pairs.
1490
1491 2008-08-11  Dan Williams  <dcbw@redhat.com>
1492
1493         * libnm-util/nm-utils.c
1494                 - (nm_utils_register_value_transformations): add value transform for
1495                         a hash table of string:string
1496
1497 2008-08-10  Dan Williams  <dcbw@redhat.com>
1498
1499         * libnm-glib/nm-vpn-plugin.c
1500                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1501                         an idle handler so the Connect reply gets delivered before the
1502                         stop StateChanged signal
1503
1504 2008-08-10  Dan Williams  <dcbw@redhat.com>
1505
1506         * src/nm-ip4-config.c
1507                 - (get_property): use common ip4 address/route conversion functions
1508                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1509                         copy the new route here, not take ownership
1510
1511 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1512
1513         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1514         Update the IP4 setting's method name.
1515
1516 2008-08-07  Dan Williams  <dcbw@redhat.com>
1517
1518         * introspection/nm-ip4-config.xml
1519           libnm-glib/libnm-glib-test.c
1520           libnm-glib/nm-ip4-config.c
1521           libnm-glib/nm-ip4-config.h
1522           src/NetworkManagerSystem.h
1523           src/backends/NetworkManagerArch.c
1524           src/backends/NetworkManagerDebian.c
1525           src/backends/NetworkManagerFrugalware.c
1526           src/backends/NetworkManagerGeneric.c
1527           src/backends/NetworkManagerGeneric.h
1528           src/backends/NetworkManagerGentoo.c
1529           src/backends/NetworkManagerMandriva.c
1530           src/backends/NetworkManagerPaldo.c
1531           src/backends/NetworkManagerRedHat.c
1532           src/backends/NetworkManagerSlackware.c
1533           src/backends/NetworkManagerSuSE.c
1534           src/dhcp-manager/nm-dhcp-manager.c
1535           src/nm-device.c
1536           src/nm-ip4-config.c
1537           src/nm-ip4-config.h
1538                 - Remove NIS logic; should be done from dispatcher scripts instead
1539
1540 2008-08-07  Dan Williams  <dcbw@redhat.com>
1541
1542         * src/dhcp-manager/nm-dhcp-manager.c
1543                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1544                         mis-handling of DHCP responses that returned more than one router
1545                         (found by Grant Williamson)
1546
1547 2008-08-07  Dan Williams  <dcbw@redhat.com>
1548
1549         * callouts/nm-dispatcher-action.c
1550                 - (nm_dispatcher_action): grab device path and create the device; pass
1551                         the device's DHCP4 config to script caller
1552                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1553                         scripts
1554
1555         * libnm-glib/nm-dhcp4-config.c
1556           libnm-glib/nm-dhcp4-config.h
1557                 - (nm_dhcp4_config_get_options): expose
1558                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1559
1560 2008-08-07  Dan Williams  <dcbw@redhat.com>
1561
1562         * include/NetworkManager.h
1563                 - Add the DHCP4Config D-Bus interface
1564
1565         * libnm-glib/Makefile.am
1566           libnm-glib/nm-dhcp4-config.c
1567           libnm-glib/nm-dhcp4-config.h
1568                 - Handle DHCP4 config objects exported by NM over D-Bus
1569
1570         * libnm-glib/nm-device.c
1571           libnm-glib/nm-device.h
1572                 - Add a 'dhcp4-config' property
1573
1574         * libnm-glib/libnm-glib-test.c
1575                 - Print out DHCP4 config for devices
1576                 - Fix some crashes when no connections are active
1577
1578         * src/nm-device-interface.c
1579           src/nm-device.c
1580           src/nm-dhcp4-config.c
1581           src/nm-dhcp4-config.h
1582                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1583                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1584                         doesn't let us do when the property type is G_TYPE_OBJECT
1585
1586 2008-08-07  Dan Williams  <dcbw@redhat.com>
1587
1588         * src/NetworkManager.c
1589           src/NetworkManagerSystem.h
1590           src/backends/NetworkManagerArch.c
1591           src/backends/NetworkManagerDebian.c
1592           src/backends/NetworkManagerFrugalware.c
1593           src/backends/NetworkManagerGeneric.c
1594           src/backends/NetworkManagerGeneric.h
1595           src/backends/NetworkManagerGentoo.c
1596           src/backends/NetworkManagerMandriva.c
1597           src/backends/NetworkManagerPaldo.c
1598           src/backends/NetworkManagerRedHat.c
1599           src/backends/NetworkManagerSlackware.c
1600           src/backends/NetworkManagerSuSE.c
1601                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1602
1603 2008-08-06  Dan Williams  <dcbw@redhat.com>
1604
1605         * libnm-glib/nm-ip4-config.c
1606           libnm-glib/nm-ip4-config.h
1607                 - Add 'routes' property
1608
1609         * libnm-util/nm-setting-vpn.c
1610           libnm-util/nm-setting-vpn.h
1611                 - Remove 'routes' property
1612
1613         * libnm-util/nm-setting-ip4-config.c
1614           libnm-util/nm-setting-ip4-config.h
1615                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1616                 - Add 'ignore-auto-routes' property
1617                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1618                         accomodate route metrics
1619                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1620
1621         * libnm-util/nm-utils.c
1622           libnm-util/nm-utils.h
1623                 - Add helpers for marshalling IP4 routes
1624
1625         * src/NetworkManagerUtils.c
1626                 - (nm_utils_merge_ip4_config): handle property renames and new route
1627                         structure
1628
1629         * src/NetworkManagerSystem.c
1630                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1631                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1632
1633         * src/dhcp-manager/nm-dhcp-manager.c
1634                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1635
1636         * system-settings/plugins/ifcfg-fedora/reader.c
1637           system-settings/plugins/ifcfg-fedora/writer.c
1638                 - Handle routes separately from addresses now that routes have a different
1639                         format
1640
1641         * introspection/nm-ip4-config.xml
1642           src/nm-ip4-config.c
1643           src/nm-ip4-config.h
1644                 - Rename internal routing functions
1645                 - 'static-routes' renamed to 'routes'
1646
1647 2008-08-04  Dan Williams  <dcbw@redhat.com>
1648
1649         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1650
1651         * src/NetworkManager.c
1652           src/nm-manager.c
1653           src/nm-manager.h
1654                 - More explicitly make the NMManager a singleton
1655
1656 2008-08-04  Dan Williams  <dcbw@redhat.com>
1657
1658         * libnm-util/nm-connection.c
1659           libnm-util/nm-connection.h
1660                 - (nm_connection_verify): return error on missing 'connection' setting
1661                         (found by Sjoerd Simons)
1662
1663 2008-08-04  Dan Williams  <dcbw@redhat.com>
1664
1665         Handle multiple concurrent PPP connections.
1666
1667         * src/ppp-manager/nm-ppp-manager.c
1668           src/ppp-manager/nm-ppp-manager.h
1669                 - (constructor): only PPP Manager request bus name once; each
1670                         NMPPPManager object gets a unique object path
1671                 - (nm_ppp_manager_class_init, get_property, set_property,
1672                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1673                         at construct time
1674                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1675                         remove timeout until PPP manager gets an IP4 config
1676                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1677                         the plugin can call back to this specific PPP manager instance
1678
1679         * src/nm-device-ethernet.c
1680           src/nm-serial-device.c
1681                 - Pass parent device in nm_ppp_manager_new()
1682
1683         * src/nm-gsm-device.c
1684           src/nm-cdma-device.c
1685                 - (device_state_changed): don't close serial device on NEED_AUTH
1686                         state changed, that's not a failure case like the rest are
1687
1688         * src/ppp-manager/nm-pppd-plugin.c
1689                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1690                         binds one interface to any pppd process, thus the correct index
1691                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1692                         problems; try harder to get a peer address in spite of pppd
1693                 - (plugin_init): use 'ipparam' as the object path back to our specific
1694                         PPP manager instance
1695
1696 2008-08-04  Dan Williams  <dcbw@redhat.com>
1697
1698         * src/ppp-manager/nm-ppp-manager.c
1699                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1700                         since the GSM and CDMA settings now implement need_secrets, we can
1701                         rely on them to do the right thing.  Where secrets are not required,
1702                         just pass empty strings back to the pppd plugin.
1703                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1704                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1705                         on successful IP4 config receipt
1706
1707 2008-08-04  Dan Williams  <dcbw@redhat.com>
1708
1709         * libnm-util/nm-setting-cdma.c
1710           libnm-util/nm-setting-gsm.c
1711                 - (verify): validate username & password if they exist
1712                 - (need_secrets): if username given, require a password too
1713
1714 2008-08-04  Dan Williams  <dcbw@redhat.com>
1715
1716         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1717                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1718                         manpage says about --listen-address without --interface
1719                         (bgo #546033)
1720
1721 2008-08-01  Dan Williams  <dcbw@redhat.com>
1722
1723         * libnm-glib/nm-device.c
1724                 - (proxy_get_string): util function for querying a HAL property
1725                 - (get_ancestor_device): split out from get_product_and_vendor()
1726                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1727                         from PCI devices by querying subsys properties
1728                 - (nm_device_update_description): simplify
1729
1730 2008-08-01  Dan Williams  <dcbw@redhat.com>
1731
1732         * libnm-util/nm-setting-ip4-config.c
1733           libnm-util/nm-setting-ip4-config.h
1734                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1735                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1736                         settings, and they don't necessarily use DHCP.
1737
1738         * src/NetworkManagerPolicy.c
1739           src/nm-device.c
1740           system-settings/plugins/ifcfg-fedora/reader.c
1741           system-settings/plugins/ifcfg-suse/parser.c
1742                 - Fixup for method changes
1743
1744 2008-07-31  Dan Williams  <dcbw@redhat.com>
1745
1746         * src/nm-activation-request.c
1747           src/vpn-manager/nm-vpn-connection.c
1748                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1749                         itself should be attached to the activation request or the VPN
1750                         connection, not the NMConnection object, since the call is not
1751                         expected to live as long as the NMConnection itself
1752
1753 2008-07-31  Dan Williams  <dcbw@redhat.com>
1754
1755         * src/nm-device-wifi.c
1756                 - (real_act_stage2_config): fix issue where association would continue
1757                         even though secrets were needed; 'goto out' was in wrong scope and
1758                         result of handle_auth_or_fail() should have been dumped directly to
1759                         'ret' to ensure that the association was postponed until secrets
1760                         are available
1761
1762 2008-07-31  Dan Williams  <dcbw@redhat.com>
1763
1764         * system-settings/plugins/ifcfg-fedora/plugin.c
1765           system-settings/plugins/ifcfg-fedora/reader.c
1766                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1767                         valid NM connection
1768
1769 2008-07-29  Dan Williams  <dcbw@redhat.com>
1770
1771         * src/nm-gsm-device.c
1772                 - (automatic_registration_response, automatic_registration): recognize
1773                         denied registration and reorder responses
1774
1775 2008-07-29  Dan Williams  <dcbw@redhat.com>
1776
1777         * src/nm-serial-device.c
1778                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1779                         time(2) is used for current time, which returns seconds, we shouldn't
1780                         be multiplying by 1000.
1781
1782 2008-07-28  Dan Williams  <dcbw@redhat.com>
1783
1784         Patch from Fabrice Bellet <fabrice@bellet.info>
1785
1786         * src/NetworkManagerSystem.c
1787                 - (route_in_same_subnet): mask addresses and compare them so that the
1788                         function actually does what it says it's going to do (rh #456685)
1789
1790 2008-07-27  Dan Williams  <dcbw@redhat.com>
1791
1792         * libnm-util/nm-setting-ip6-config.c
1793                 - (set_property): add missing break that caused routes to be overwritten
1794                         with addresses
1795
1796         * libnm-util/nm-setting-ip6-config.c
1797                 - (verify): validate routes and return GError everywhere on invalid setting
1798                 - (finalize): don't leak routes
1799                 - (set_property): add missing break that caused routes to be overwritten
1800                         with addresses
1801
1802 2008-07-27  Dan Williams  <dcbw@redhat.com>
1803
1804         * libnm-util/*
1805                 - Relicense to LGPLv2+
1806
1807 2008-07-27  Dan Williams  <dcbw@redhat.com>
1808
1809         * system-settings/plugins/ifcfg-fedora/reader.c
1810                 - (make_ip4_setting): fix parsing automatic configs
1811
1812 2008-07-27  Dan Williams  <dcbw@redhat.com>
1813
1814         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1815           src/nm-device.c
1816           src/ppp-manager/nm-ppp-manager.c
1817                 - Ensure child process gets reaped.  The child watch function may be
1818                         removed from the mainloop before the child gets killed, so we have
1819                         to make sure the child is reaped when it's told to die intentionally
1820
1821 2008-07-27  Dan Williams  <dcbw@redhat.com>
1822
1823         Patch from Roy Marples <roy@marples.name>
1824
1825         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1826                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1827
1828 2008-07-27  Dan Williams  <dcbw@redhat.com>
1829
1830         * src/nm-gsm-device.c
1831                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1832                         Huawei devices turn echo back on after CPIN (rh #456770)
1833
1834 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1835
1836         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1837         format argument to g_set_error() call.
1838
1839         * src/backends/interface_parser.[ch]: Remove.
1840
1841         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1842
1843 2008-07-21  Dan Williams  <dcbw@redhat.com>
1844
1845         * src/ppp-manager/nm-ppp-manager.c
1846                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1847                         to prevent pppd from picking up some random local address from an
1848                         interface that doesn't have anything to do with the one we're
1849                         interested in (rh #455348)
1850
1851 2008-07-17  Dan Williams  <dcbw@redhat.com>
1852
1853         * libnm-util/nm-utils.c
1854                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1855                         by locale
1856                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1857                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1858
1859 2008-07-17  Dan Williams  <dcbw@redhat.com>
1860
1861         * introspection/Makefile.am
1862           introspection/nm-device.xml
1863           introspection/nm-dhcp4-config.xml
1864                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1865                         itself
1866         * src/nm-device-interface.c
1867           src/nm-device-interface.h
1868                 - Add the DHCP4Config property
1869
1870         * src/nm-device.c
1871                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1872                         D-Bus clients when it changes
1873
1874         * src/nm-dhcp4-config.c
1875           src/nm-dhcp4-config.h
1876                 - Simple object to store DHCP4 options, export them over D-Bus, and
1877                         notify when they change
1878
1879         * src/dhcp-manager/nm-dhcp-manager.c
1880           src/dhcp-manager/nm-dhcp-manager.h
1881                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1882                         filter server-returned DHCP options into an NMDHCP4Config object
1883
1884 2008-07-16  Dan Williams  <dcbw@redhat.com>
1885
1886         * introspection/nm-device.xml
1887                 - Add device state reasons
1888
1889 2008-07-16  Dan Williams  <dcbw@redhat.com>
1890
1891         Patch from Roy Marples <roy@marples.name>
1892
1893         * configure.in
1894                 - Add --with-dhcp-client option
1895
1896         * src/dhcp-manager/Makefile.am
1897                 - pass DHCP_CLIENT_PATH on compile line
1898
1899         * src/dhcp-manager/nm-dhcp-manager.c
1900           src/dhcp-manager/nm-dhcp-manager.h
1901                 - Genericize for both dhcpcd and dhclient
1902
1903         * src/dhcp-manager/nm-dhcp-dhclient.c
1904                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1905
1906         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1907                 - Implement support for dhcpcd too
1908
1909 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1910
1911         * system-settings/src/nm-system-config-interface.c 
1912         (nm_system_config_interface_supports_add): Implement.
1913         (nm_system_config_interface_add_connection): Return a boolean to notify
1914         of errors.
1915
1916         * system-settings/src/nm-polkit-helpers.c: 
1917         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1918         a separate file.
1919
1920         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1921         Return an error when none of the plugins support add or if addition
1922         failed for some reason.
1923
1924         * system-settings/src/nm-system-config-error.h: 
1925         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1926         here from nm-polkit-helpers.[ch].
1927
1928         * system-settings/src/Makefile.am: Build new files.
1929
1930         * system-settings/plugins/keyfile/reader.c 
1931         (read_array_of_array_of_uint): Make it more general so that it would
1932         work for routes as well.
1933
1934         * system-settings/plugins/keyfile/writer.c
1935         (write_array_of_array_of_uint): Ditto.
1936         Fix the netmask/prefix writing.
1937
1938         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1939         boolean to notify errors.
1940
1941         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1942         Return more specific error.
1943         (delete): Ditto.
1944
1945 2008-07-11  Dan Williams  <dcbw@redhat.com>
1946
1947         Modify the NMDevice::state-changed signal to include the previous state
1948         and reason. Enables the applet to provide more information why device
1949         activation failed.
1950
1951 2008-07-09  Dan Williams  <dcbw@redhat.com>
1952
1953         * callouts/Makefile.am
1954           callouts/nm-avahi-autoipd-action.c
1955           callouts/nm-avahi-autoipd.conf
1956                 - avahi-autoipd callout to send options back to NM
1957
1958         * src/autoip.c
1959           src/autoip.h
1960                 - remove
1961
1962         * src/nm-device.c
1963           src/nm-device-private.h
1964           src/nm-manager.c
1965                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1966                         old custom stuff
1967
1968 2008-07-07  Dan Williams  <dcbw@redhat.com>
1969
1970         * system-settings/plugins/ifcfg-fedora/reader.c
1971                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1972                         handle PREFIX too; clean up
1973
1974 2008-07-07  Dan Williams  <dcbw@redhat.com>
1975
1976         Convert to using IPv4 prefixes instead of netmasks.
1977
1978 2008-07-03  Dan Williams  <dcbw@redhat.com>
1979
1980         * libnm-util/nm-setting-ip4-config.c
1981           libnm-util/nm-setting-ip4-config.h
1982                 - Add properties for DHCP Client Identifier and DHCP Hostname
1983
1984         * src/dhcp-manager/nm-dhcp-manager.c
1985           src/dhcp-manager/nm-dhcp-manager.h
1986                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1987                         setting as an argument to pass on to the dhclient config file
1988                         creation function
1989                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1990                         DHCP is torn down
1991                 - (dhclient_run): punt config file handling to create_dhclient_config()
1992                 - (create_dhclient_config): create an interface-specific dhclient
1993                         config file since there may need to be interface-specific options
1994                         passed to dhclient
1995                 - (merge_dhclient_config): merge normal distro dhclient config file and
1996                         add options from the connection
1997                 - (nm_dhcp_device_new): generate the interface specific dhclient
1998                         config file path once
1999                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2000                         dhclient config file path
2001
2002         * src/nm-device.c
2003                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2004                         DHCP manager when starting DHCP
2005
2006 2008-07-02  Dan Williams  <dcbw@redhat.com>
2007
2008         * libnm-util/nm-setting-8021x.c
2009                 - (verify): allow forcing the PEAP label to 0
2010
2011 2008-07-02  Dan Williams  <dcbw@redhat.com>
2012
2013         * introspection/nm-active-connection.xml
2014           introspection/nm-vpn-connection.xml
2015           libnm-glib/nm-active-connection.c
2016           src/nm-activation-request.c
2017           src/nm-active-connection.h
2018           src/vpn-manager/nm-vpn-connection.c
2019                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2020                         and libnm-glib API since sharing didn't get implemented that way
2021
2022 2008-07-02  Dan Williams  <dcbw@redhat.com>
2023
2024         * src/nm-device-wifi.c
2025                 - (can_scan): don't scan when a shared connection is activated since
2026                         that makes drivers mad (causing disconnects); also NM doesn't need
2027                         to hedge against disconnects by keeping up-to-date network topology
2028                         because the connection originates from the local machine, and thus
2029                         there should be no disconnects
2030
2031 2008-07-01  Dan Williams  <dcbw@redhat.com>
2032
2033         Fix mobile broadband username/password issues.  NM was never requesting
2034         mobile broadband secrets, nor was it passing back the username and password
2035         if it had them.
2036
2037         * marshallers/nm-marshal.list
2038                 - Add some new types for activation request objects
2039
2040         * src/nm-activation-request.c
2041           src/nm-activation-request.h
2042                 - (get_secrets_cb): pass the caller type in the signal
2043                 - (nm_act_request_request_connection_secrets): take a caller type, so
2044                         that GetSecrets() reply handlers know who asked for the secrets in
2045                         the first place; use secret hints too so the settings service can
2046                         figure out exactly what NM wants (ie, PIN or the PPP password)
2047
2048         * src/ppp-manager/nm-ppp-manager.c
2049           src/ppp-manager/nm-ppp-manager.h
2050                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2051                         detect needed secrets when the secret could be blank, like GSM/CDMA
2052                         passwords.  So always ask for secrets, and send a hint as to what
2053                         secret we really want.
2054                 - (nm_ppp_manager_update_secrets): make function more generic by making
2055                         the device specific class figure out the username and password, and
2056                         accept an error argument to return back over D-Bus
2057
2058         * src/nm-device-wifi.c
2059                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2060                         nm_act_request_request_connection_secrets()
2061                 - (real_connection_secrets_updated): update for 'caller' changes
2062
2063         * src/nm-device.c
2064           src/nm-device.h
2065                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2066                         for 'caller' changes
2067
2068         * src/nm-device-ethernet.c
2069                 - (real_connection_secrets_updated): update for 'caller' changes and
2070                         move logic for getting PPPoE username and password here before
2071                         calling nm_ppp_manager_update_secrets()
2072                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2073                         nm_act_request_request_connection_secrets()
2074
2075         * src/nm-cdma-device.c
2076                 - (real_connection_secrets_updated): pass username and password back
2077                         to the PPP manager when required
2078
2079         * src/nm-gsm-device.c
2080                 - (enter_pin): send the required secret name to the settings service
2081                 - (real_connection_secrets_updated): pass username and password back
2082                         to the PPP manager when required
2083
2084 2008-06-30  Dan Williams  <dcbw@redhat.com>
2085
2086         * src/nm-device-wifi.c
2087                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2088
2089 2008-06-30  Dan Williams  <dcbw@redhat.com>
2090
2091         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2092         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2093         priv->supplicant.iface.  When either condition is false, the device should
2094         transition back to UNAVAILABLE because it cannot be used.
2095
2096         * src/nm-device-wifi.c
2097                 - (constructor): cleanup; connect to supplicant manager here since the
2098                         supplicant manager is always around
2099                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2100                         ensure the supplicant manager is in the IDLE state
2101                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2102                         cancel any pending scans too
2103                 - (real_bring_up): don't set up the supplicnat interface here, because
2104                         we need the supplicant interface at times when the device may not
2105                         be "up"
2106                 - (real_take_down): just remove the periodic source
2107                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2108                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2109                         do anything if there's no supplicant interface
2110                 - (cleanup_association_attempt): cleanup
2111                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2112                         the interface enters the READY state; transition to UNAVAILABLE
2113                         state when the interface goes down because the device can't be used
2114                         without a supplicant interface
2115                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2116                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2117                         acquire the supplicant interface and transition to DISCONNECTED
2118                         if the radio isn't killed
2119                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2120                 - (state_changed_cb): release any existing supplicant interface; if the
2121                         radio is enabled then try to acquire a new supplicant interface;
2122                         if the radio is enabled and a supplicant interface has been acquired,
2123                         we can transition to DISCONNECTED
2124                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2125                         don't enable the radio, because HAL probably lied to us about the
2126                         killswitch being off.  If bringing the hardware up worked, then
2127                         try to grab a supplicant interface, and if that was successful,
2128                         transition to DISCONNECTED
2129
2130 2008-06-30  Dan Williams  <dcbw@redhat.com>
2131
2132         * src/supplicant-manager/nm-supplicant-interface.c
2133                 - (request_scan_results, nm_supplicant_interface_dispose,
2134                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2135                         the id of the timeout, not a GSource
2136
2137 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2138
2139         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2140         bunch of typoes introduced by "Patch from David Cantrell 
2141         <dcantrell@redhat.com> and me".
2142
2143 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2144
2145         * src/nm-serial-device.c: 
2146         * src/nm-gsm-device.c: 
2147         * src/nm-cdma-device.c: Move the pending call handling to a common location
2148         in serial device. Handle setting device state to failed in one place as well.
2149
2150 2008-06-29  Dan Williams <dcbw@redhat.com>
2151
2152         * src/nm-hal-manager.c
2153                 - Rework killswitch handling to query killswitch status immediately
2154                         when the first killswitch is added, so that rfkill state is
2155                         known as early as possible
2156                 - Also treat failure of GetPower() as rfkill when the dbus method
2157                         call times out (but not when the HAL callout returns an error)
2158
2159 2008-06-26  Dan Williams <dcbw@redhat.com>
2160
2161         Patch from David Cantrell <dcantrell@redhat.com> and me
2162
2163         * include/nm-dbus-glib-types.h
2164                 - Add IP6 address types
2165
2166         * libnm-util/Makefile.am
2167           libnm-util/nm-setting-ip6-config.c
2168           libnm-util/nm-setting-ip6-config.h
2169                 - Add IP6 settings object
2170
2171         * libnm-util/nm-connection.c
2172                 - (register_default_settings): register ip6 settings object
2173
2174         * libnm-util/nm-utils.c
2175           libnm-util/nm-utils.h
2176                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2177                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2178                         ip6 address conversion functions
2179         
2180 2008-06-26  Dan Williams <dcbw@redhat.com>
2181
2182         Patch from David Cantrell <dcantrell@redhat.com>
2183         
2184         * Use inet_ntop() and inet_pton() everwhere and check for errors
2185
2186 2008-06-26  Dan Williams <dcbw@redhat.com>
2187
2188         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2189
2190 2008-06-26  Dan Williams <dcbw@redhat.com>
2191
2192         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2193
2194         * src/nm-device-wifi.c
2195                 - (link_timeout_cb): don't ignore disconnects due to scanning
2196                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2197                         a longer timeout when scanning; avoids case where supplicant can't
2198                         find the AP and just keeps scanning forever but isn't connected
2199
2200 2008-06-26  Dan Williams <dcbw@redhat.com>
2201
2202         Patch from Michael Biebl <biebl@debian.org>
2203
2204         * Clean up build system stuff
2205
2206 2008-06-23  Christian Persch  <chpe@gnome.org>
2207
2208         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2209         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2210         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2211         (impl_get_object):
2212         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2213         (impl_get_object):
2214         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2215         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2216         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2217         (impl_get_object):
2218         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2219         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2220         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2221         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2222         * vpn-daemons/pptp/properties/vpnui_opt.c:
2223         (vpnui_opt_connect_signals):
2224         * vpn-daemons/pptp/properties/vpnui_opt.h:
2225         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2226         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2227         deprecated gtk type macros. Bug #539325.
2228
2229 2008-06-20  Dan Williams  <dcbw@redhat.com>
2230
2231         * libnm-glib/nm-vpn-plugin-ui-interface.c
2232           libnm-glib/nm-vpn-plugin-ui-interface.h
2233                 - 'validity-changed' -> 'changed' to work better with the connection
2234                         editor.  Plugin UI widgets should emit 'changed' whenever their
2235                         UI values change in a meaningful way.
2236                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2237                         update_connection member now returns validity of the UI widget
2238
2239 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2240
2241         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2242
2243 2008-06-17  Dan Williams  <dcbw@redhat.com>
2244
2245         * libnm-glib/nm-vpn-plugin-ui-interface.c
2246           libnm-glib/nm-vpn-plugin-ui-interface.h
2247                 - Add "desc" property for longer descriptions of the VPN plugin
2248
2249 2008-06-16  Dan Williams  <dcbw@redhat.com>
2250
2251         * configure.in
2252           libnm-glib/libnm_glib_vpn.pc.in
2253                 - add a .pc file for libnm_glib_vpn
2254
2255         * libnm-glib/nm-vpn-plugin-ui-interface.c
2256           libnm-glib/nm-vpn-plugin-ui-interface.h
2257                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2258                         rework it substantially
2259
2260 2008-06-12  Dan Williams  <dcbw@redhat.com>
2261
2262         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2263         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2264         returns a descriptive GError when verification fails.
2265
2266 2008-06-11  Dan Williams  <dcbw@redhat.com>
2267
2268         Patch from Tambet Ingo <tambet@gmail.com>
2269
2270         * libnm-util/nm-setting-gsm.c
2271                 - (verify): validate APN
2272
2273         * src/nm-gsm-device.c
2274                 - (manual_registration_done): start setting APN if needed
2275                 - (set_apn, set_apn_done): set the APN
2276                 - (do_dial): use the APN when dialing
2277
2278 2008-06-11  Dan Williams  <dcbw@redhat.com>
2279
2280         * src/NetworkManagerSystem.c
2281                 - (nm_system_device_set_ip4_route,
2282                    nm_system_device_replace_default_ip4_route): check for the right
2283                         return value from rtnl_route_add() to know when to add a gateway
2284                         route (from Tambet)
2285
2286 2008-06-11  Dan Williams  <dcbw@redhat.com>
2287
2288         * src/NetworkManagerPolicy.c
2289                 - do_ipt_cmd -> do_cmd
2290                 - (sharing_init): use do_cmd() instead of system()
2291
2292 2008-06-10  Dan Williams  <dcbw@redhat.com>
2293
2294         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2295         and use "wifi" everwhere instead.
2296
2297 2008-06-10  Dan Williams  <dcbw@redhat.com>
2298
2299         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2300
2301 2008-06-10  Dan Williams  <dcbw@redhat.com>
2302
2303         Patch from Tambet Ingo <tambet@gmail.com>
2304
2305         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2306                 changes.
2307
2308         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2309                 a signal to emit these changes over dbus.
2310
2311         * src/Makefile.am: Genereate nm-serial-device-glue.
2312
2313         * libnm-glib/nm-serial-device.[ch]: Implement.
2314
2315         * libnm-glib/nm-cdma-device.[ch]
2316           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2317
2318         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2319
2320         * introspection/nm-device-serial.xml: Implement.
2321
2322         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2323
2324         * introspection/Makefile.am: Add nm-device-serial.xml.
2325
2326         * include/NetworkManager.h: Add a DBus interface for serial device.
2327
2328 2008-06-10  Dan Williams  <dcbw@redhat.com>
2329
2330         * configure.in
2331                 - Add TARGET_* define to config.h to distinguish distros
2332
2333         * src/dhcp-manager/nm-dhcp-manager.c
2334                 - (dhclient_run): use distro-specific path for dhclient config file
2335
2336 2008-06-09  Dan Williams  <dcbw@redhat.com>
2337
2338         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2339           src/dnsmasq-manager/nm-dnsmasq-manager.h
2340                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2341                         calculate the addresses passed to dnsmasq instead of hard-coding
2342                         them
2343
2344         * src/nm-device.c
2345                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2346                         IP addresses for shared connections to guard against shared
2347                         connection address collisions
2348                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2349                         error conditions
2350                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2351                         the dnsmasq manager
2352
2353 2008-06-09  Dan Williams  <dcbw@redhat.com>
2354
2355         * src/NetworkManagerPolicy.c
2356                 - (update_routing_and_dns): set the default connection _after_ unsetting
2357                         default on all non-default connections so that two connections can
2358                         never be default at the same time
2359                 - (device_state_changed): start and stop connection sharing when
2360                         needed
2361                 - (active_connection_default_changed): restart or stop sharing when
2362                         the default connection changes to keep shared connections always
2363                         NAT-ed through the default connection
2364                 - (check_sharing): handle activation/deactivation of shared connections
2365                 - (sharing_restart): atom-bomb approach to connection sharing until we
2366                         can use libnl; reinit all sharing when the default connection or
2367                         shared connections change
2368                 - (sharing_init, sharing_stop): evil functions that init and deinit
2369                         iptables
2370
2371 2008-06-09  Dan Williams  <dcbw@redhat.com>
2372
2373         * src/nm-activation-request.c
2374           src/nm-activation-request.h
2375                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2376                    nm_act_request_get_device): new functions to facilitate connection
2377                         sharing
2378
2379 2008-06-09  Dan Williams  <dcbw@redhat.com>
2380
2381         * src/nm-device.c
2382                 - (clear_act_request): unset the 'default' property of the activation
2383                         request when clearing it to ensure the property changed signal gets
2384                         delivered and handled
2385
2386 2008-06-09  Dan Williams  <dcbw@redhat.com>
2387
2388         * libnm-glib/nm-device-802-11-wireless.c
2389                 - (access_point_removed_proxy): actually unref the AP after removing
2390                         it from the device's AP list.  Fixes refcounting bug for APs that
2391                         caused them to get mixed up in the applet's menu.
2392
2393 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2394
2395         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2396         (nm_dhcp_device_destroy): Destroy the device options hash table.
2397
2398 2008-06-06  Dan Williams <dcbw@redhat.com>
2399
2400         * system-settings/src/nm-polkit-helpers.c
2401                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2402                         unref the context if the initialization fails; also avoid spew when
2403                         the error isn't set
2404
2405 2008-06-06  Dan Williams <dcbw@redhat.com>
2406
2407         Patch from Tambet Ingo  <tambet@gmail.com>
2408
2409         * src/NetworkManagerSystem.c
2410           src/NetworkManagerSystem.h
2411                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2412                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2413                 - (nm_system_device_set_ip4_route): clean up
2414                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2415
2416         * src/nm-device.c
2417                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2418
2419         * src/vpn-manager/nm-vpn-connection.c
2420                 - (ip_address_to_string): new function
2421                 - (print_vpn_config): use ip_address_to_string
2422                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2423                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2424
2425         * include/NetworkManagerVPN.h
2426                 - Add 'routes' key
2427
2428 2008-06-05  Dan Williams <dcbw@redhat.com>
2429
2430         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2431
2432         * test/nm-tool.c
2433                 - Show which device is the default device
2434
2435 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2436
2437         Fix memory leaks.
2438
2439         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2440         Free data returned from dbus method call.
2441
2442         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2443         dbus_g_method_get_sender() returns a duplicated string, free it 
2444         when done.
2445         (check_polkit_privileges): Looks like policykit sometimes returns
2446         error and non-null return value, don't leak errors in that case.
2447
2448         * system-settings/src/main.c (find_plugin): Don't leak existing 
2449         plugin names.
2450         (load_stuff): Don't leak device list and list items.
2451         (have_connection_for_device): Don't leak connection list.
2452
2453         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2454         Free the data received from g_keyfile_get_*.
2455
2456         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2457         the key when the security object is updated.
2458
2459         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2460         Free data returned from dbus method call.
2461         (iface_state_cb): Ditto.
2462         (add_network_cb): Ditto.
2463         (nm_supplicant_interface_add_cb): Don't make another copy of already
2464         duplicated object path.
2465         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2466         when done.
2467
2468         * src/supplicant-manager/nm-supplicant-config.c 
2469         (ADD_STRING_LIST_VAL): Fix a memory leak.
2470
2471         * src/nm-manager.c (free_get_settings_info): Free the allocated
2472         memory slice.
2473         (list_connections_cb): Free data returned from dbus method call.
2474         (system_settings_get_unmanaged_devices_cb): Ditto.
2475
2476         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2477
2478         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2479         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2480         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2481         of the GList.
2482
2483         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2484         arguments after the object is created.
2485
2486 2008-06-04  Dan Williams <dcbw@redhat.com>
2487
2488         * libnm-util/Makefile.am
2489                 - Don't distribute nm-param-spec-specialized.h
2490
2491 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2492
2493         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2494
2495         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2496         NMIP4Address, update the getters and setters.
2497
2498         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2499         Use the updated NMIP4Config routes api.
2500
2501         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2502         static routes as well.
2503
2504         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2505         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2506         routes api.
2507
2508 2008-05-30  Dan Williams <dcbw@redhat.com>
2509
2510         * src/named-manager/nm-named-manager.c
2511           src/named-manager/nm-named-manager.h
2512                 - Remove stale/obsolete bits for controlling bind over DBus
2513
2514 2008-05-29  Dan Williams <dcbw@redhat.com>
2515
2516         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2517           src/dnsmasq-manager/nm-dnsmasq-manager.h
2518                 - (nm_dnsmasq_manager_new): move iface argument here
2519                 - (constructor): remove, not needed
2520                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2521                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2522
2523         * src/nm-device.c
2524                 - (real_act_stage4_get_ip4_config,
2525                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2526                         changes
2527
2528 2008-05-29  Dan Williams <dcbw@redhat.com>
2529
2530         * src/nm-device.c
2531                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2532                         something happens to dnsmasq
2533                 - (nm_device_new_ip4_shared_config): new function; create a new
2534                         ip4-config for shared connections.  Shared connections always use a
2535                         fixed static IP address.
2536                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2537                         autoip connections by actually using the returned ip4-config and
2538                         not leaking it
2539                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2540                         connections
2541                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2542                         if its active
2543
2544 2008-05-29  Dan Williams <dcbw@redhat.com>
2545
2546         * src/nm-device-802-11-wireless.c
2547                 - (real_get_best_auto_connection): auto-activate 'shared' method
2548                         connections too
2549
2550 2008-05-29  Dan Williams <dcbw@redhat.com>
2551
2552         * libnm-util/nm-setting-ip4-config.c
2553           libnm-util/nm-setting-ip4-config.h
2554                 - Add a 'shared' method to indicate that this connection should be
2555                         brought up with a DHCP and proxy DNS server to facilitate
2556                         connection sharing.
2557                 - (verify): 'shared' method doesn't allow DNS or searches either
2558
2559 2008-05-29  Dan Williams <dcbw@redhat.com>
2560
2561         * configure.in
2562           src/Makefile.am
2563           src/dnsmasq-manager/Makefile.am
2564           src/dnsmasq-manager/nm-dnsmasq-manager.c
2565           src/dnsmasq-manager/nm-dnsmasq-manager.h
2566                 - Add a dnsmasq daemon manager to facilitate connection sharing
2567
2568 2008-05-29  Dan Williams <dcbw@redhat.com>
2569
2570         * src/nm-device-private.h
2571                 - Remove unused prototypes and clean up
2572
2573         * src/nm-device.c
2574                 - Remove anything related to system_config_data, which is no longer used
2575                 - (nm_device_new_ip4_autoip_config): make static
2576
2577 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2578
2579         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2580         (file_changed): Fix a bug where suse system settings plugin didn't
2581         update the connections automatically when the files changed.
2582
2583 2008-05-28  Dan Williams  <dcbw@redhat.com>
2584
2585         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2586
2587 2008-05-28  Dan Williams  <dcbw@redhat.com>
2588
2589         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2590
2591         * src/NetworkManagerSystem.c
2592                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2593                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2594                         was causing -EINVAL errors since the libnl code actually does flush
2595                         the routes on VPN interfaces now
2596
2597         * src/backends/NetworkManagerArch.c
2598           src/backends/NetworkManagerDebian.c
2599           src/backends/NetworkManagerFrugalware.c
2600           src/backends/NetworkManagerGeneric.c
2601           src/backends/NetworkManagerGentoo.c
2602           src/backends/NetworkManagerMandriva.c
2603           src/backends/NetworkManagerPaldo.c
2604           src/backends/NetworkManagerRedHat.c
2605           src/backends/NetworkManagerSlackware.c
2606           src/backends/NetworkManagerSuSE.c
2607                 - (nm_system_device_flush_ip4_routes,
2608                    nm_system_device_flush_ip4_routes_with_iface): remove
2609
2610 2008-05-28  Dan Williams  <dcbw@redhat.com>
2611
2612         * libnm-util/nm-setting-wireless.c
2613           libnm-util/nm-setting-wireless.h
2614                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2615                         'adhoc-create' property, which when TRUE indicates that NM should
2616                         create this connection as an adhoc wifi network if it's not found
2617                         as an adhoc network during scanning.  Can be used to auto-create
2618                         adhoc networks when used in combination with autoconnect.
2619
2620 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2621
2622         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2623
2624         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2625         checked, it doesn't work on some devices.
2626
2627 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2628
2629         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2630         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2631
2632         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2633         Use inet_aton() everywhere to improve error detection.
2634         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2635         provided.
2636
2637 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2638
2639         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2640         Fix a typo.
2641
2642 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2643
2644         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2645         reference counting issue.
2646
2647 2008-05-23  Dan Williams  <dcbw@redhat.com>
2648
2649         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2650
2651         * src/backends/NetworkManagerGeneric.c
2652                 - (nm_generic_enable_loopback): use libnl
2653
2654 2008-05-23  Dan Williams  <dcbw@redhat.com>
2655
2656         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2657
2658         * src/NetworkManagerSystem.h
2659           src/backends/NetworkManagerArch.c
2660           src/backends/NetworkManagerDebian.c
2661           src/backends/NetworkManagerFrugalware.c
2662           src/backends/NetworkManagerGentoo.c
2663           src/backends/NetworkManagerMandriva.c
2664           src/backends/NetworkManagerPaldo.c
2665           src/backends/NetworkManagerRedHat.c
2666           src/backends/NetworkManagerSlackware.c
2667           src/backends/NetworkManagerSuSE.c
2668                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2669                    nm_system_flush_arp_cache): remove, unused
2670
2671         * src/backends/NetworkManagerGeneric.c
2672           src/backends/NetworkManagerGeneric.h
2673                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2674                    nm_generic_flush_arp_cache): remove, unused
2675
2676 2008-05-23  Dan Williams  <dcbw@redhat.com>
2677
2678         * system-settings/plugins/ifcfg-fedora/reader.c
2679                 - (make_ip4_setting): honor PEERDNS setting
2680
2681 2008-05-23  Dan Williams  <dcbw@redhat.com>
2682
2683         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2684
2685         * src/NetworkManagerSystem.c
2686                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2687                         libnl
2688
2689         * src/backends/NetworkManagerArch.c
2690           src/backends/NetworkManagerDebian.c
2691           src/backends/NetworkManagerFrugalware.c
2692           src/backends/NetworkManagerGentoo.c
2693           src/backends/NetworkManagerMandriva.c
2694           src/backends/NetworkManagerPaldo.c
2695           src/backends/NetworkManagerRedHat.c
2696           src/backends/NetworkManagerSlackware.c
2697           src/backends/NetworkManagerSuSE.c
2698                 - (nm_system_device_flush_ip4_addresses,
2699                    nm_system_device_flush_ip4_addresses_with_iface): remove
2700
2701         * src/backends/NetworkManagerGeneric.c
2702                 - (nm_generic_device_flush_ip4_addresses,
2703                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2704
2705 2008-05-23  Dan Williams  <dcbw@redhat.com>
2706
2707         * src/supplicant-manager/nm-supplicant-settings-verify.c
2708                 - Switch 'bssid' from bytes to keyword type
2709                 - (validate_type_keyword): allow NULL keyword lists
2710
2711         * src/supplicant-manager/nm-supplicant-config.c
2712                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2713                         a byte array to string form, which is what the supplicant expects
2714
2715 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2716
2717         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2718         information received from DHCP.
2719
2720         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2721         to make it possible to ignore the DNS information (both servers and 
2722         searches) returned by DHCP server.
2723
2724         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2725         name servers and searches if "ignore_dhcp_dns" is set.
2726
2727         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2728         (nm_ip4_config_reset_searches): Implement.
2729
2730 2008-05-22  Dan Williams  <dcbw@redhat.com>
2731
2732         Remove anything mDNS related.  This is better done from a distro-specific
2733         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2734         avahi, since avahi can handle interface changes just fine using netlink.
2735
2736         * configure.in
2737                 - Remove --with-mdns-provider
2738
2739         * src/NetworkManagerPolicy.c
2740                 - (global_state_changed): don't restart the mdns provider
2741
2742         * src/NetworkManagerSystem.h
2743           src/backends/NetworkManagerArch.c
2744           src/backends/NetworkManagerDebian.c
2745           src/backends/NetworkManagerFrugalware.c
2746           src/backends/NetworkManagerGentoo.c
2747           src/backends/NetworkManagerMandriva.c
2748           src/backends/NetworkManagerPaldo.c
2749           src/backends/NetworkManagerRedHat.c
2750           src/backends/NetworkManagerSlackware.c
2751           src/backends/NetworkManagerSuSE.c
2752                 - (nm_system_restart_mdns_responder): remove
2753
2754         * src/backends/NetworkManagerGeneric.c
2755           src/backends/NetworkManagerGeneric.h
2756                 - (nm_generic_restart_mdns_responder): remove
2757
2758 2008-05-22  Dan Williams  <dcbw@redhat.com>
2759
2760         * configure.in
2761                 - clean up crypto options; just use --with-crypto=nss or
2762                         --with-crypto=gnutls
2763
2764 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2765
2766         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2767         anymore, do it right away.
2768
2769 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2770
2771         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2772         serial device open when we're not connecting or connected.
2773
2774         * src/nm-cdma-device.c (device_state_changed): Ditto.
2775
2776 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2777
2778         Don't remove all devices on waking up, sync with HAL.
2779
2780         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2781         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2782         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2783
2784 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2785
2786         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2787         If the default gateway is unreachable, add a route to gateway and try
2788         again.
2789
2790 2008-05-20  Dan Williams  <dcbw@redhat.com>
2791
2792         * system-settings/plugins/ifcfg-fedora/reader.c
2793                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2794
2795 2008-05-19  Dan Williams  <dcbw@redhat.com>
2796
2797         * system-settings/plugins/ifcfg-fedora/reader.c
2798                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2799                         if the ifcfg doesn't specify one (rh #446527)
2800
2801 2008-05-19  Dan Williams  <dcbw@redhat.com>
2802
2803         Make the system settings service exit when the bus goes away.  Since it's
2804         a bus-activated service, it's lifetime is limited to the bus that activated
2805         it (rh #444976).
2806
2807         * system-settings/src/Makefile.am
2808           system-settings/src/nm-system-config-hal-manager-private.h
2809                 - Remove nm-system-config-hal-manager-private.h
2810
2811         * system-settings/src/nm-system-config-hal-manager.c
2812                 - (nm_system_config_hal_manager_reinit_dbus,
2813                    nm_system_config_hal_manager_deinit_dbus): remove
2814
2815         * system-settings/src/main.c
2816                 - (dbus_reconnect): remove
2817                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2818                 - (destroy_cb): just quit when the bus goes away
2819                 - (start_dbus_service, dbus_init): simplify
2820                 - (main): destroy the wired devices hash table after destroying
2821                         the HAL manager so we don't have to disconnect signals from the
2822                         HAL manager
2823
2824 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2825
2826         Move crypto functions from nm-applet to libnm-util.
2827
2828         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2829         (nm_setting_802_1x_set_client_cert)
2830         (nm_setting_802_1x_set_phase2_ca_cert)
2831         (nm_setting_802_1x_set_phase2_client_cert)
2832         (nm_setting_802_1x_set_private_key)
2833         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2834         file (or private key and it's password), read the certificate data.
2835
2836         * libnm-util/crypto_nss.c: 
2837         * libnm-util/crypto_gnutls.c: 
2838         * libnm-util/crypto.[ch]: Move here from nm-applet.
2839
2840         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2841
2842         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2843         Imlement WPA-EAP configuration reading from sysconfig.
2844
2845 2008-05-16  Dan Williams  <dcbw@redhat.com>
2846
2847         * src/nm-device-802-11-wireless.c
2848                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2849                         wireless
2850
2851 2008-05-14  Dan Williams  <dcbw@redhat.com>
2852
2853         Fix Linus' bug in rh #134886
2854
2855         * src/nm-device-802-3-ethernet.c
2856                 - (constructor): request initial carrier state
2857
2858         * src/nm-netlink-monitor.c
2859                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2860                         signals after refilling the link cache.  Because the refill is a 
2861                         synchronous operation, the normal message hander won't get called
2862                         since libnl has already consumed the messages.
2863                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2864
2865 2008-05-14  Dan Williams  <dcbw@redhat.com>
2866
2867         * src/NetworkManagerSystem.c
2868                 - (nm_system_device_is_up_with_iface): clean up
2869
2870 2008-05-13  Dan Williams  <dcbw@redhat.com>
2871
2872         Fix refcounting issues over sleep/wake when a VPN connection was active that
2873         caused NM to try registering an object path for a device upon wake that was
2874         the same as an already registered object path.
2875
2876         * src/nm-device.c
2877                 - (nm_device_take_down): properly handle cases where the device is
2878                         no longer active but was just active, and therefore must be
2879                         deactivated.  When a device moves to unmanaged mode, this function
2880                         previously would not deactivate the device, because the state was
2881                         already unmanaged by the time this function was called.
2882
2883         * src/vpn-manager/nm-vpn-connection.c
2884                 - (device_state_changed): properly handle multiple devices states in
2885                         which the device is now deactivated.  Code previously didn't handle
2886                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2887                         UNMANAGED states.
2888
2889 2008-05-13  Dan Williams  <dcbw@redhat.com>
2890
2891         * src/nm-device-private.h
2892           src/nm-device.c
2893                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2894
2895         * src/nm-device-802-11-wireless.c
2896                 - (nm_device_802_11_wireless_set_enabled): take devices up
2897                         and down as appropriate for the rfkill state
2898
2899 2008-05-13  Dan Williams  <dcbw@redhat.com>
2900
2901         * marshallers/nm-marshal.list
2902                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2903
2904         * system-settings/plugins/ifcfg-fedora/Makefile.am
2905           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2906           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2907                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2908                         events.  Solely for use watching ifcfg files to pick up changes
2909                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2910
2911         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2912                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2913                         file contents change
2914                 - (finalize): clean up inotify watches
2915                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2916                         and the connection ifcfg for changes on their hardlinks
2917                 - (files_changed_cb): proxy the changed signal back out to listeners
2918
2919         * system-settings/plugins/ifcfg-fedora/plugin.c
2920                 - (dir_changed): 
2921                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2922                         changes
2923                 - (read_one_connection): connect to change signals on the new connection
2924                 - (dir_changed, connection_changed_handler,
2925                    handle_connection_remove_or_new): break out connection change
2926                         handling and connection new/remove handling so it can be used from
2927                         both the GFileMonitor callback and the NMIfcfgConnection changed
2928                         signals
2929
2930         * system-settings/plugins/ifcfg-fedora/reader.c
2931           system-settings/plugins/ifcfg-fedora/reader.h
2932                 - (connection_from_file): return the keyfile path the connection would use
2933
2934 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2935
2936         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2937         single PolKitContext which is shared by all. PolKitContext::unref leaks
2938         just about everything, including all open file descriptiors and results
2939         in 99% cpu usage when data arrives to any of the fds that don't belong
2940         to any context anymore.
2941
2942 2008-05-12  Dan Williams  <dcbw@redhat.com>
2943
2944         * gfilemonitor/glocaldirectorymonitor.c
2945           gfilemonitor/glocaldirectorymonitor.h
2946                 - (g_local_directory_monitor_constructor): actually subscribe to the
2947                         watch
2948                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2949
2950         * gfilemonitor/glocalfilemonitor.c
2951           gfilemonitor/glocalfilemonitor.h
2952                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2953                 - (_g_local_file_monitor_new): ensure that inotify is started up
2954
2955 2008-05-11  Dan Williams  <dcbw@redhat.com>
2956
2957         * configure.in
2958                 - record PolicyKit version
2959
2960         * system-settings/src/nm-polkit-helpers.c
2961                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2962                         with PolicyKit <= 0.6
2963
2964 2008-05-11  Dan Williams  <dcbw@redhat.com>
2965
2966         Update Fedora system-settings plugin to support latest API and use
2967         GFileMonitor rather than home-rolled inotify code.
2968
2969         * system-settings/plugins/ifcfg-fedora/Makefile.am
2970           system-settings/plugins/ifcfg-fedora/common.h
2971           system-settings/plugins/ifcfg-fedora/plugin.c
2972                 - Update to latest system settings plugin API; use GIO instead of
2973                         custom inotify code; use NMIfcfgConnection objects instead of
2974                         ConnectionData structures tacked onto NMConnection objects
2975
2976         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2977           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2978                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2979                         connections
2980
2981         * system-settings/plugins/ifcfg-fedora/reader.c
2982           system-settings/plugins/ifcfg-fedora/reader.h
2983                 - Move ifcfg parsing bits here from parser.c
2984
2985         * system-settings/plugins/ifcfg-fedora/parser.c
2986           system-settings/plugins/ifcfg-fedora/parser.h
2987                 - Remove; most code moved to reader.c
2988
2989 2008-05-11  Dan Williams  <dcbw@redhat.com>
2990
2991         * configure.in
2992           Makefile.am
2993           gfilemonitor/*
2994                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2995                         implementation, so that the same change monitoring code can be used
2996                         on systems without glib-2.14 (like Fedora 8)
2997
2998         * system-settings/plugins/keyfile/Makefile.am
2999           system-settings/plugins/keyfile/plugin.c
3000           system-settings/plugins/ifcfg-suse/Makefile.am
3001           system-settings/plugins/ifcfg-suse/plugin.c
3002                 - Use private gfilemonitor code if GIO is not present
3003
3004 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3005
3006         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3007         NMExportedConnection's 'update' and 'delete' and return error with
3008         descriptive message.
3009
3010 2008-05-08  Dan Williams  <dcbw@redhat.com>
3011
3012         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3013
3014         * src/nm-gsm-device.c
3015           src/nm-cdma-device.c
3016                 - (real_get_best_auto_connection): implement; allow autoconnection
3017                         to GSM & CDMA devices
3018
3019 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3020
3021         Use PolicyKit to authorize the system settings' AddConnection method
3022         and the system settings connections' Update and Delete methods.
3023         
3024         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3025         (impl_exported_connection_delete, nm_exported_connection_update)
3026         (nm_exported_connection_delete): Return boolean and fill GError
3027         to notify the callers of the reasons why it might have failed.
3028
3029         * libnm-glib/nm-dbus-settings-system.c
3030         (nm_dbus_settings_system_add_connection): Return the error from dbus
3031         call so that the callers can see why it failed.
3032
3033         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3034         signatures.
3035
3036         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3037
3038         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3039         abstract base class that checks PolicyKit permissions.
3040
3041         * system-settings/src/dbus-settings.c:
3042         (impl_settings_add_connection): Check the policy before carring out
3043         the request.
3044
3045         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3046         Inherit from NMSysconfigConnection, check the policies before
3047         allowing updating or removing.
3048
3049         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3050         Inherit from NMSysconfigConnection.
3051
3052         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3053         "Delete" methods with async flag so that the implementations can get
3054         access to DBusGMethodInvocation.
3055
3056         * system-settings/src/dbus-settings.c 
3057         (settings_add_connection_check_privileges): Implement.
3058         (impl_settings_add_connection): Check the privileges before adding a new
3059         connection. Improve error reporting.
3060
3061         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3062         async so that the implementation can access DBusGMethodInvocation.
3063
3064         * configure.in: Check for PolicyKit.
3065
3066         * policy/org.freedesktop.network-manager-settings.system.policy: 
3067         New file.
3068
3069         * policy/Makefile.am: Install the policy file.
3070
3071         * configure.in: Add 'policy' subdir.
3072
3073 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3074
3075         Rewrite the suse system settings plugin.
3076
3077         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3078
3079         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3080
3081         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3082
3083         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3084
3085         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3086
3087         * system-settings/src/main.c (load_plugins): Improve error reporting.
3088
3089         * system-settings/src/sha1.[ch] Add.
3090
3091         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3092
3093 2008-05-07  Dan Williams  <dcbw@redhat.com>
3094
3095         * system-settings/plugins/keyfile/reader.c
3096                 - (read_one_setting_value): handle IP address items separately
3097                 - (read_array_of_uint): read IPv4 DNS option as a string array
3098                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3099                         array
3100
3101         * system-settings/plugins/keyfile/writer.c
3102                 - (write_setting_value): handle IP address items separately
3103                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3104                         not an array of uint, so that it's user-editable
3105                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3106                         arrays, so they are user-editable
3107
3108 2008-05-07  Dan Williams  <dcbw@redhat.com>
3109
3110         * system-settings/plugins/keyfile/Makefile.am
3111                 - Change location of the keyfile plugin settings to
3112                         /etc/NetworkManager/system-connections
3113
3114 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3115
3116         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3117
3118         * system-settings/plugins/keyfile/plugin.c: Work with
3119         NMKeyfileConnections.
3120
3121         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3122         Plugins are supposed to return NMExportedConnections now and handle the
3123         updated(), removed(), and GetSecrets().
3124         Store the internal list of connections in hash table to make it easier
3125         to find duplicates.
3126
3127 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3128
3129         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3130         for multiple IP addresses.
3131
3132 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3133
3134         Patch from André Lemos.
3135
3136         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3137         corruption.
3138
3139 2008-05-06  Dan Williams  <dcbw@redhat.com>
3140
3141         * src/dhcp-manager/nm-dhcp-manager.c
3142                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3143                         NMIP4Config to support multiple IP addresses
3144
3145         * src/NetworkManagerUtils.c
3146                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3147
3148         * src/nm-ip4-config.c
3149           src/nm-ip4-config.h
3150                 - Store a list of IPv4 address/netmask/gateway tuples
3151                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3152                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3153                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3154                    nm_ip4_config_set_address): remove
3155                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3156                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3157                         new functions; handle multiple IPv4 addresses
3158
3159         * src/nm-device.c
3160           src/ppp-manager/nm-ppp-manager.c
3161           src/vpn-manager/nm-vpn-connection.c
3162           src/NetworkManagerPolicy.c
3163           test/nm-tool.c
3164           libnm-glib/libnm-glib-test.c
3165                 - update for changes to NMIP4Config for multiple IPv4 addresses
3166
3167         * src/NetworkManagerSystem.c
3168                 - (nm_system_device_set_ip4_route): don't add the route if any address
3169                         is on the same subnet as the destination
3170                 - (check_one_address): ignore the exact match, just match family and
3171                         interface index
3172                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3173                         an interface
3174                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3175                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3176
3177         * introspection/nm-ip4-config.xml
3178                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3179                 - Add 'addresses' property which is an array of (uuu) tuples of
3180                         address/netmask/gateway
3181
3182         * libnm-util/nm-setting-ip4-config.c
3183                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3184
3185         * libnm-glib/nm-ip4-config.c
3186           libnm-glib/nm-ip4-config.h
3187                 - Handle D-Bus interface changes to support multiple IP addresses
3188
3189 2008-05-06  Dan Williams  <dcbw@redhat.com>
3190
3191         * libnm-util/nm-utils.c
3192           libnm-util/nm-utils.h
3193                 - (nm_utils_ip4_addresses_from_gvalue,
3194                    nm_utils_ip4_addresses_to_gvalue): new functions
3195
3196 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3197
3198         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3199         the returned connection paths.
3200
3201 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3202
3203         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3204         "PropertiesChanged" signal signature.
3205
3206         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3207         defined in nm-dbus-glib-types.h.
3208         Don't register the connection on dbus, we're a proxy class to 
3209         communicate with an already registered connection over dbus.
3210
3211 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3212
3213         Implement new subclasses of NMSettings and NMExportedConnection to make
3214         it easier for the applet to access and modify system settings.
3215
3216         * libnm-glib/nm-dbus-connection.[ch]:
3217         * libnm-glib/nm-dbus-settings.[ch]:
3218         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3219
3220         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3221         bindings and glue.
3222
3223         * include/NetworkManager.h: Define the system settings DBus interface.
3224
3225 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3226
3227         Implement additional C API for exported connections to make them identical
3228         with the DBus API. Change the (list_connections) virtual function to be
3229         more usable from C - instead of requiring implementers to return a GPtrArray
3230         of dbus paths, return a list of connections.
3231
3232         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3233         (nm_settings_list_connections):
3234         (nm_exported_connection_new):
3235         (nm_exported_connection_update):
3236         (nm_exported_connection_delete): Implement.
3237
3238         (impl_settings_list_connections):
3239         (impl_exported_connection_update):
3240         (impl_exported_connection_delete): Use the new public functions to make 
3241         sure the C and dbus interfaces stay in sync.
3242
3243         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3244         connections.
3245
3246 2008-05-02  Dan Williams  <dcbw@redhat.com>
3247
3248         * system-settings/plugins/ifcfg-fedora/plugin.c
3249                 - (dispose): use right unref call on the DBusGConnection
3250
3251 2008-05-02  Dan Williams  <dcbw@redhat.com>
3252
3253         * src/nm-serial-device.c
3254                 - (find_terminator): don't compare the whole line, just the size of the
3255                         terminator, since some modems put stuff after the terminator, like
3256                         "CONNECT 9600"
3257
3258 2008-05-01  Dan Williams  <dcbw@redhat.com>
3259
3260         Patch from Michael Biebl <biebl@debian.org>
3261
3262         * callouts/Makefile.am
3263           callouts/org.freedesktop.nm_dispatcher.service.in
3264           system-settings/src/Makefile.am
3265           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3266                 - use the right install location for dbus-activated stuff
3267
3268 2008-04-30  Dan Williams  <dcbw@redhat.com>
3269
3270         * src/nm-gsm-device.c
3271                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3272                         PIN or PUK
3273
3274 2008-04-30  Dan Williams  <dcbw@redhat.com>
3275
3276         * src/nm-manager.c
3277                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3278
3279 2008-04-30  Dan Williams  <dcbw@redhat.com>
3280
3281         * src/nm-device-802-3-ethernet.c
3282           src/nm-device-802-11-wireless.c
3283                 - (real_is_up): return true instead of chaining up to unimplemented
3284                         parent method
3285
3286 2008-04-30  Dan Williams  <dcbw@redhat.com>
3287
3288         * src/NetworkManagerSystem.c
3289           src/NetworkManagerSystem.h
3290                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3291                         functions to check device flags for IFF_UP
3292
3293         * src/nm-serial-device.c
3294                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3295                         implement is_up
3296
3297         * src/nm-device-802-3-ethernet.c
3298           src/nm-device-802-11-wireless.c
3299                 - (real_hw_is_up): call nm_system_device_is_up()
3300
3301         * src/nm-device.c
3302                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3303                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3304                         does not implement
3305
3306 2008-04-29  Dan Williams  <dcbw@redhat.com>
3307
3308         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3309
3310         * marshallers/nm-marshal.list
3311                 - Add marshaller
3312
3313         * src/NetworkManager.c
3314                 - (main): let the NMManager handle the NMHalManager
3315
3316         * src/nm-hal-manager.c
3317           src/nm-hal-manager.h
3318                 - convert to a GObject, and emit singals when stuff changes.  Let the
3319                         NMManager handle the signals, instead of the NMHalManager calling
3320                         into the NMManager.  
3321
3322         * src/nm-manager.c
3323           src/nm-manager.h
3324                 - (remove_one_device): consolidate device removals here
3325                 - (dispose): use remove_one_device()
3326                 - (nm_manager_get_device_by_udi): make static
3327                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3328                         manager for devices at startup or wakeup time
3329                 - (nm_manager_new): create and monitor the HAL manager
3330                 - (hal_manager_udi_added_cb): new function; do what
3331                         nm_manager_add_device() used to do when signalled by the hal manager
3332                 - (hal_manager_udi_removed_cb): new function; do what
3333                         nm_manager_remove_device() used to do when signalled by the hal
3334                         manager
3335                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3336                         hal manager
3337                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3338                         in our device list that aren't known to HAL
3339                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3340                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3341                         commits ago
3342                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3343                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3344                    nm_manager_wireless_hardware_enabled,
3345                    nm_manager_set_wireless_hardware_enabled): remove, unused
3346
3347 2008-04-28  Dan Williams  <dcbw@redhat.com>
3348
3349         Fix the device up/down ambiguities.  Up/down state used to be a
3350         conglomeration of hardware state (IFF_UP) and any device-specific things
3351         (supplicant, periodic timers, etc) that the device used to indicate
3352         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3353         reason, then the device specific stuff wouldn't get run, and the device
3354         would be stuck.
3355
3356         * src/nm-device.c
3357           src/nm-device.h
3358                 - Create hw_is_up, hw_bring_up, and hw_take_down
3359                 - Rename bring_down -> take_down
3360                 - (real_hw_is_up): check interface flags for IFF_UP
3361                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3362                 - (nm_device_is_up): make static; only used locally
3363                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3364                         if the device is already up; if the device isn't up, bring it up
3365                 - (nm_device_hw_take_down): just take down hardware
3366                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3367                 - (nm_device_take_down): always deactivate device when called; always
3368                         try to take hardware down too
3369                 - (nm_device_state_changed): take device down when entering unmanaged
3370                         state from a higher state
3371
3372         * src/nm-device-802-11-wireless.c
3373                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3374                         check IFF_UP really
3375                 - (real_take_down, supplicant_iface_state_cb_handler, 
3376                    supplicant_iface_connection_state_cb_handler,
3377                    supplicant_mgr_state_cb_handler): fix some messages
3378
3379         * src/nm-device-802-3-ethernet.c
3380                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3381                         check IFF_UP really
3382
3383 2008-04-28  Dan Williams  <dcbw@redhat.com>
3384
3385         * src/nm-manager.c
3386           src/nm-manager.h
3387                 - (nm_manager_error_get_type): add new error
3388                 - (nm_manager_remove_device): don't bother taking down the device here,
3389                         the state change from unmanaging the device will do it
3390                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3391                         uses it; when going to sleep, just unmanage the device instead of
3392                         taking it down, because stuff will cleaned up correctly when the
3393                         device gets unmanaged
3394
3395 2008-04-28  Dan Williams  <dcbw@redhat.com>
3396
3397         * src/nm-hal-manager.c
3398                 - (add_initial_devices): convert to a GSourceFunc prototype
3399                 - (nm_manager_state_changed): when coming out of sleep, punt the
3400                         device re-addition to an idle handler to let D-Bus events go out
3401                         first, fixing a potential dbus-glib assert if the old device was
3402                         not yet disposed (due to references held while emitting the D-Bus
3403                         signals) but the new device was found, because the mainloop didn't
3404                         run between signal emission and add_initial_devices()
3405
3406 2008-04-27  Dan Williams  <dcbw@redhat.com>
3407
3408         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3409
3410         * initscript/paldo/NetworkManager.in
3411           initscript/SUSE/networkmanager.in
3412                 - Remove last bits of dhcdbd
3413
3414 2008-04-27  Dan Williams  <dcbw@redhat.com>
3415
3416         * src/nm-device-802-11-wireless.c
3417                 - (link_timeout_cb): don't ask for secrets when disconnected during
3418                         association/authentication phase, drivers are still just too crappy
3419
3420 2008-04-27  Dan Williams  <dcbw@redhat.com>
3421
3422         * Makefile.am
3423           configure.in
3424           dispatcher-daemon/Makefile.am
3425           dispatcher-daemon/NetworkManagerDispatcher.c
3426           initscript/Arch/Makefile.am
3427           initscript/Arch/networkmanager-dispatcher.in
3428           initscript/Gentoo/Makefile.am
3429           initscript/Gentoo/NetworkManagerDispatcher.in
3430           initscript/Mandriva/Makefile.am
3431           initscript/Mandriva/networkmanagerdispatcher.in
3432           initscript/RedHat/Makefile.am
3433           initscript/RedHat/NetworkManagerDispatcher.in
3434           initscript/SUSE/Makefile.am
3435           initscript/SUSE/networkmanager-dispatcher.in
3436           initscript/Slackware/Makefile.am
3437           initscript/Slackware/rc.networkmanager-dispatcher.in
3438           initscript/paldo/Makefile.am
3439           initscript/paldo/NetworkManagerDispatcher.in
3440           man/Makefile.am
3441           man/NetworkManagerDispatcher.8.in
3442                 - Remove the dispatcher daemon
3443
3444 2008-04-27  Dan Williams  <dcbw@redhat.com>
3445
3446         * callouts/Makefile.am
3447           callouts/nm-dispatcher-action.c
3448           callouts/nm-dispatcher-action.h
3449           callouts/nm-dispatcher.conf
3450           callouts/nm-dispatcher.xml
3451           callouts/org.freedesktop.nm_dispatcher.service
3452                 - Re-implement the dispatcher as a system-bus activated service that
3453                         NM calls on-demand, rather than an always running daemon
3454
3455         * src/Makefile.am
3456                 - Add callouts dir to includes to pick up dispatcher defines
3457
3458         * src/nm-device.c
3459                 - (nm_device_state_changed): call dispatcher on device activated/
3460                         deactivated
3461
3462         * src/vpn-manager/nm-vpn-connection.c
3463                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3464                         go up and down
3465
3466         * src/NetworkManagerUtils.c
3467           src/NetworkManagerUtils.h
3468                 - (nm_utils_call_dispatcher): helper to call dispatcher
3469
3470 2008-04-27  Dan Williams  <dcbw@redhat.com>
3471
3472         * src/NetworkManagerUtils.c
3473           src/NetworkManagerUtils.h
3474                 - remove unneeded includes
3475                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3476                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3477                    nm_timeval_cmp, nm_timeval_add): remove, unused
3478                 - clean up formatting
3479                 - (nm_spawn_process): de-uglify
3480
3481         * src/nm-device-802-11-wireless.c
3482                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3483
3484 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3485
3486         * initscript/Gentoo/NetworkManager.in:
3487                 Fix for starting the daemon.
3488
3489 2008-04-25  Dan Williams  <dcbw@redhat.com>
3490
3491         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3492
3493         * src/NetworkManagerSystem.c
3494                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3495
3496 2008-04-25  Dan Williams  <dcbw@redhat.com>
3497
3498         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3499
3500         * src/NetworkManagerSystem.c
3501                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3502                         implementation of nm_system_device_replace_default_route()
3503
3504         * src/NetworkManagerPolicy.c
3505                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3506
3507         * src/backends/NetworkManagerArch.c
3508           src/backends/NetworkManagerDebian.c
3509           src/backends/NetworkManagerFrugalware.c
3510           src/backends/NetworkManagerGeneric.c
3511           src/backends/NetworkManagerGeneric.h
3512           src/backends/NetworkManagerGentoo.c
3513           src/backends/NetworkManagerMandriva.c
3514           src/backends/NetworkManagerPaldo.c
3515           src/backends/NetworkManagerRedHat.c
3516           src/backends/NetworkManagerSlackware.c
3517           src/backends/NetworkManagerSuSE.c
3518                 - (nm_system_device_replace_default_route): remove
3519
3520 2008-04-25  Dan Williams  <dcbw@redhat.com>
3521
3522         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3523
3524         * src/NetworkManagerSystem.c
3525                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3526                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3527                         replace nm_system_device_add_route_via_device_with_iface() in the
3528                         backends
3529
3530         * src/backends/NetworkManagerArch.c
3531           src/backends/NetworkManagerDebian.c
3532           src/backends/NetworkManagerFrugalware.c
3533           src/backends/NetworkManagerGeneric.c
3534           src/backends/NetworkManagerGeneric.h
3535           src/backends/NetworkManagerGentoo.c
3536           src/backends/NetworkManagerMandriva.c
3537           src/backends/NetworkManagerPaldo.c
3538           src/backends/NetworkManagerRedHat.c
3539           src/backends/NetworkManagerSlackware.c
3540           src/backends/NetworkManagerSuSE.c
3541                 - Remove nm_system_device_add_route_via_device_with_iface()
3542
3543 2008-04-25  Dan Williams  <dcbw@redhat.com>
3544
3545         * system-settings/plugins/ifcfg-fedora/parser.c
3546                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3547
3548 2008-04-24  Dan Williams  <dcbw@redhat.com>
3549
3550         * dispatcher-daemon/NetworkManagerDispatcher.c
3551                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3552
3553 2008-04-24  Dan Williams  <dcbw@redhat.com>
3554
3555         * initscript/RedHat/NetworkManager.in
3556           initscript/RedHat/NetworkManagerDispatcher.in
3557                 - Be active at runlevel 2
3558                 - Adjust priorities earlier
3559
3560 2008-04-22  Dan Williams  <dcbw@redhat.com>
3561
3562         * src/NetworkManagerPolicy.c
3563                 - (update_routing_and_dns): when checking for a gateway, look at the
3564                         composite IP4 config, not the connection's ip4-config setting, which
3565                         doesn't include DHCP-returned information
3566
3567 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3568
3569         Implement GKeyFile system settings plugin.
3570         Implement writing system settings (currently supported only by GKeyFile plugin).
3571
3572         * system-settings/src/main.c: 
3573         * system-settings/src/dbus-settings.c: Move the communication with plugins
3574         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3575         plugins for adding/updating/removing connections.
3576
3577         * system-settings/src/nm-system-config-interface.c
3578         (nm_system_config_interface_add_connection): Implement
3579         (nm_system_config_interface_update_connection): Implement.
3580         (nm_system_config_interface_remove_connection): Implement.
3581
3582         * system-settings/plugins/keyfile/Makefile.am:
3583         * system-settings/plugins/keyfile/plugin.[ch]:
3584         * system-settings/plugins/keyfile/writer.[ch]:
3585         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3586
3587         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3588
3589         * configure.in: Generate GKeyFile Makefile.
3590
3591         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3592         corruption, need to duplicate the returned string.
3593         (impl_exported_connection_update): Implement.
3594         (impl_exported_connection_delete): Implement.
3595
3596         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3597
3598         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3599
3600 2008-04-22  Dan Williams  <dcbw@redhat.com>
3601
3602         Patch from Charles R. Anderson (cra@wpi.edu)
3603
3604         * src/NetworkManagerPolicy.c
3605                 - (update_routing_and_dns): don't select devices without a gateway
3606                         as having the default route (rh #437338)
3607
3608 2008-04-21  Dan Williams  <dcbw@redhat.com>
3609
3610         * src/nm-activation-request.c
3611           src/nm-activation-request.h
3612                 - (dispose): ensure to disconnect from the device's state-changed signal
3613                         when appropriate so the signal doesn't get handled by an already
3614                         disposed NMActRequest
3615                 - (device_state_changed): update is_default here too just to make sure
3616                         default is only True when the child device is activated
3617                 - (nm_act_request_set_default): new function
3618
3619         * src/NetworkManagerPolicy.c
3620                 - (update_routing_and_dns): set 'default' on the active connection which
3621                         has the default route and DNS
3622
3623 2008-04-21  Dan Williams  <dcbw@redhat.com>
3624
3625         * src/NetworkManagerPolicy.c
3626                 - (device_state_changed): update routing and DNS when a device goes
3627                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3628
3629 2008-04-21  Dan Williams  <dcbw@redhat.com>
3630
3631         * include/NetworkManager.h
3632                 - Add NMActiveConnectionState enum
3633
3634         * introspection/nm-active-connection.xml
3635           introspection/nm-vpn-connection.xml
3636                 - Add 'State' property for overall active connection state
3637                 - Add 'Default' property, when True means this active connection
3638                         has the default route
3639                 - Add PropertyChanged signals so changes actually go out over the bus
3640
3641         * src/nm-active-connection.h
3642                 - Add defines for State & Default properties
3643
3644         * src/nm-activation-request.c
3645                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3646                         signal to determine active connection state
3647
3648         * src/vpn-manager/nm-vpn-connection.c
3649           src/vpn-manager/nm-vpn-connection.h
3650           src/vpn-manager/nm-vpn-manager.c
3651           src/vpn-manager/nm-vpn-service.c
3652                 - Rename old 'state' to 'vpn-state'
3653                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3654                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3655                         'vpn-state-changed' signal
3656
3657         * libnm-glib/nm-active-connection.c
3658           libnm-glib/nm-active-connection.h
3659                 - Add new 'state' and 'default' properties and accessors
3660
3661         * libnm-glib/nm-vpn-connection.c
3662           libnm-glib/nm-vpn-connection.h
3663                 - Rename old 'state' property to 'vpn-state'
3664                 - Add new 'state' and 'default' properties and accessors
3665
3666 2008-04-21  Dan Williams  <dcbw@redhat.com>
3667
3668         * src/nm-ip4-config.c
3669                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3670                         not specified (rh #443474)
3671
3672 2008-04-20  Dan Williams  <dcbw@redhat.com>
3673
3674         * src/NetworkManagerUtils.c
3675           src/NetworkManagerUtils.h
3676                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3677                         NMSettingIP4Config to an NMIP4Config object
3678
3679         * src/nm-device.c
3680                 - (merge_ip4_config): move to NetworkManagerUtils.c
3681
3682         * src/vpn-manager/nm-vpn-connection.c
3683                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3684                         too
3685
3686 2008-04-18  Dan Williams  <dcbw@redhat.com>
3687
3688         * libnm-util/nm-setting-ppp.c
3689           libnm-util/nm-setting-ppp.h
3690                 - Add 'no-vj-comp' option for TCP header compression
3691                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3692                         uint32
3693
3694 2008-04-18  Dan Williams  <dcbw@redhat.com>
3695
3696         * libnm-util/nm-setting-ppp.c
3697           libnm-util/nm-setting-ppp.h
3698           src/ppp-manager/nm-ppp-manager.c
3699                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3700
3701 2008-04-18  Dan Williams  <dcbw@redhat.com>
3702
3703         * libnm-util/nm-setting-ppp.c
3704           libnm-util/nm-setting-ppp.h
3705           src/ppp-manager/nm-ppp-manager.c
3706                 - Remove the 'usepeerdns' option and always request DNS servers from
3707                         the PPP server; the connection chooses to use/override/ignore the
3708                         DNS servers returned from the PPP server
3709
3710 2008-04-18  Dan Williams  <dcbw@redhat.com>
3711
3712         * libnm-util/nm-setting-ppp.c
3713           libnm-util/nm-setting-ppp.h
3714           src/ppp-manager/nm-ppp-manager.c
3715                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3716                         it seems to have been an erroneous addition to the PPTP plugin in
3717                         the first place (from which the ppp-manager is derived)
3718
3719 2008-04-17  Dan Williams  <dcbw@redhat.com>
3720
3721         * libnm-util/nm-setting-pppoe.c
3722                 - (verify): require a PPP setting too
3723
3724         * src/ppp-manager/nm-ppp-manager.c
3725                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3726                         segfaulting
3727
3728 2008-04-17  Dan Williams  <dcbw@redhat.com>
3729
3730         * src/nm-device.c
3731                 - (nm_device_state_changed): do deactivation and and promotion to
3732                         unavailable here, so that the device gets cleaned up before the
3733                         manager runs and starts emitting signals; do the
3734                         FAILED->DISCONNECTED transition from an idle handler rather than
3735                         immediately to guard against recursion
3736                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3737                         FAILED->DISCONNECTED handler if it's scheduled
3738
3739 2008-04-17  Dan Williams  <dcbw@redhat.com>
3740
3741         * src/nm-device-802-11-wireless.c
3742                 - (state_changed_cb): clear AP list when device transitions to
3743                         unavailable or unmanaged
3744                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3745                         since this is already done in device_cleanup()
3746                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3747                         isn't available or managed
3748                 - (device_cleanup): use remove_all_aps()
3749                 - (remove_all_aps): consolidate code removing all APs
3750
3751 2008-04-17  Dan Williams  <dcbw@redhat.com>
3752
3753         * src/nm-serial-device.c
3754           src/nm-serial-device.h
3755                 - (wait_for_reply_got_data): break input into lines, and search each
3756                         line for responses _and_ terminator strings; also make sure that
3757                         the read loop doesn't continue after the timeout is supposed to fire
3758                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3759
3760         * src/nm-gsm-device.c
3761           src/nm-cdma-device.c
3762                 - Send terminators to nm_serial_device_wait_for_reply()
3763
3764 2008-04-16  Dan Williams  <dcbw@redhat.com>
3765
3766         Patch from 陈鑫 <znscnchen@gmail.com>
3767
3768         * src/ppp-manager/nm-pppd-plugin.c
3769                 - (get_credentials): return correct value for success; handle case where
3770                         pppd just does some checking but doesn't want a password
3771                 - (plugin_init): make CHAP work too
3772
3773 2008-04-16  Dan Williams  <dcbw@redhat.com>
3774
3775         Patch from 陈鑫 <znscnchen@gmail.com>
3776
3777         * src/ppp-manager/nm-ppp-manager.c
3778                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3779
3780 2008-04-16  Dan Williams  <dcbw@redhat.com>
3781
3782         Patch from 陈鑫 <znscnchen@gmail.com>
3783
3784         * src/nm-device-802-3-ethernet.c
3785                 - (real_deactivate_quickly): clear the IP interface name on
3786                         deactivation, otherwise the wrong interface might get used later
3787                         for routing and IP management
3788
3789 2008-04-15  Dan Williams  <dcbw@redhat.com>
3790
3791         * libnm-glib/nm-device.c
3792                 - (get_product_and_vendor): handle serial devices correctly
3793                 - (nm_device_update_description): pass device to get_product_and_vendor()
3794
3795 2008-04-15  Dan Williams  <dcbw@redhat.com>
3796
3797         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3798
3799         * src/NetworkManagerSystem.h
3800           src/backends/NetworkManagerArch.c
3801           src/backends/NetworkManagerDebian.c
3802           src/backends/NetworkManagerFrugalware.c
3803           src/backends/NetworkManagerGeneric.c
3804           src/backends/NetworkManagerGeneric.h
3805           src/backends/NetworkManagerGentoo.c
3806           src/backends/NetworkManagerMandriva.c
3807           src/backends/NetworkManagerPaldo.c
3808           src/backends/NetworkManagerRedHat.c
3809           src/backends/NetworkManagerSlackware.c
3810           src/backends/NetworkManagerSuSE.c
3811           src/nm-device.c
3812                 - (nm_generic_device_add_ip6_link_address,
3813                    nm_system_device_add_ip6_link_address): remove
3814
3815 2008-04-15  Dan Williams  <dcbw@redhat.com>
3816
3817         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3818
3819         * src/backends/NetworkManagerArch.c
3820           src/backends/NetworkManagerDebian.c
3821           src/backends/NetworkManagerFrugalware.c
3822           src/backends/NetworkManagerGeneric.c
3823           src/backends/NetworkManagerGeneric.h
3824           src/backends/NetworkManagerGentoo.c
3825           src/backends/NetworkManagerMandriva.c
3826           src/backends/NetworkManagerPaldo.c
3827           src/backends/NetworkManagerRedHat.c
3828           src/backends/NetworkManagerSlackware.c
3829           src/backends/NetworkManagerSuSE.c
3830           src/NetworkManagerSystem.h
3831                 - flush_routes -> flush_ip4_routes
3832                 - flush_addresses -> flush_ip4_addresses
3833
3834         * src/NetworkManagerSystem.c
3835           src/nm-device.c
3836           src/vpn-manager/nm-vpn-connection.c
3837                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3838
3839 2008-04-15  Dan Williams  <dcbw@redhat.com>
3840
3841         Remove exposure of wireless-tools mode types in the API.
3842
3843         * include/NetworkManager.h
3844                 - Define NM80211Mode enum
3845
3846         * introspection/generic-types.xml
3847                 - Describe NM_802_11_MODE enum
3848                 - Remove IW_MODE_* enum
3849
3850         * introspection/nm-access-point.xml
3851           libnm-glib/nm-access-point.c
3852           libnm-glib/nm-access-point.h
3853                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3854
3855         * introspection/nm-device-802-11-wireless.xml
3856           libnm-glib/nm-device-802-11-wireless.c
3857           libnm-glib/nm-device-802-11-wireless.h
3858                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3859
3860         * libnm-util/nm-setting-wireless.c
3861           src/NetworkManagerAP.c
3862           src/NetworkManagerAP.h
3863           src/nm-device-802-11-wireless.c
3864           src/nm-device-802-11-wireless.h
3865           test/nm-tool.c
3866                 - Use NM80211Mode not IW_MODE_*
3867
3868 2008-04-15  Dan Williams  <dcbw@redhat.com>
3869
3870         Enhance nm-online based on a patch from Bill Nottingham.
3871
3872         * test/nm-online.c
3873                 - Add a '-q' option
3874                 - Add help messages and option summary
3875                 - Add long-format options
3876                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3877
3878 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3879
3880         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3881
3882         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3883
3884 2008-04-15  Dan Williams  <dcbw@redhat.com>
3885
3886         * nm-setting-ip4-config.c
3887                 - (ip4_addresses_from_gvalue): handle NULL address array
3888
3889         * nm-setting-8021x.c
3890                 - (verify_tls, verify_ttls): warn on failed verification
3891
3892 2008-04-10  Dan Williams  <dcbw@redhat.com>
3893
3894         * src/nm-gsm-device.c
3895                 - (automatic_registration): accept "+CREG: 0,0"
3896                 - (automatic_registration_response): fail on "+CREG: 0,0"
3897
3898 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3899
3900         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3901
3902 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3903
3904         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3905         Make it compile again by commenting out broken code that at first didn't work and
3906         now didn't compile either.
3907
3908 2008-04-08  Dan Williams  <dcbw@redhat.com>
3909
3910         * libnm-glib/nm-object-cache.c
3911           libnm-glib/nm-settings.c
3912           src/dhcp-manager/nm-dhcp-manager.c
3913           system-settings/plugins/ifcfg-fedora/plugin.c
3914           system-settings/plugins/ifcfg-suse/plugin.c
3915           system-settings/src/nm-system-config-hal-manager.c
3916           libnm-util/nm-utils.c
3917                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3918                         not threadsafe anyway
3919
3920 2008-04-08  Dan Williams  <dcbw@redhat.com>
3921
3922         * system-settings/src/main.c
3923                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3924                         callbacks take a device type too
3925
3926 2008-04-08  Dan Williams  <dcbw@redhat.com>
3927
3928         The system settings service will now create a new default DHCP connection
3929         for wired devices that have no existing applicable connection.
3930
3931         * system-settings/src/nm-system-config-hal-manager.c
3932           system-settings/src/nm-system-config-hal-manager.h
3933                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3934
3935         * system-settings/src/dbus-settings.c
3936           system-settings/src/dbus-settings.h
3937                 - (nm_sysconfig_settings_get_connections): new function
3938                 - (nm_sysconfig_settings_is_device_managed): new function
3939
3940         * system-settings/src/main.c
3941                 - (load_stuff): check for wired devices that need a default connection
3942                 - (get_details_for_udi): get interface and MAC address from HAL
3943                 - (add_default_dhcp_connection): add a default connection for a wired
3944                         device if needed
3945                 - (device_added_cb, device_removed_cb): do the right thing with
3946                         wired devices and their default connections on HAL device events
3947
3948 2008-04-07  Dan Williams  <dcbw@redhat.com>
3949
3950         * libnm-glib/nm-device.c
3951           libnm-glib/nm-device.h
3952                 - Proxy the 'managed' property
3953
3954 2008-04-07  Dan Williams  <dcbw@redhat.com>
3955
3956         * src/nm-gsm-device.c
3957           src/nm-cdma-device.c
3958                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3959                         handler to transition to DISCONNECTED
3960
3961 2008-04-07  Dan Williams  <dcbw@redhat.com>
3962
3963         Patch from Bill Nottingham
3964
3965         * dispatcher-daemon/NetworkManagerDispatcher.c
3966                 - ignore backup/packaging crufy (rh #440143)
3967
3968 2008-04-07  Dan Williams  <dcbw@redhat.com>
3969
3970         * include/NetworkManager.h
3971                 - Remove the DOWN and CANCELLED device states
3972                 - Add UNMANAGED and UNAVAILABLE device states
3973                 - Document the device states
3974
3975         * introspection/nm-device.xml
3976           src/nm-device-interface.c
3977           src/nm-device-interface.h
3978                 - Add the 'managed' property
3979
3980         * test/nm-tool.c
3981                 - (detail_device): print out device state
3982
3983         * src/NetworkManagerSystem.h
3984           src/backends/NetworkManagerArch.c
3985           src/backends/NetworkManagerDebian.c
3986           src/backends/NetworkManagerFrugalware.c
3987           src/backends/NetworkManagerGentoo.c
3988           src/backends/NetworkManagerMandriva.c
3989           src/backends/NetworkManagerPaldo.c
3990           src/backends/NetworkManagerRedHat.c
3991           src/backends/NetworkManagerSlackware.c
3992           src/backends/NetworkManagerSuSE.c
3993                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3994                    nm_system_device_free_system_config): remove; they were unused and
3995                         their functionality should be re-implemented in each distro's
3996                         system settings service plugin 
3997
3998         * src/nm-gsm-device.c
3999           src/nm-gsm-device.h
4000           src/nm-cdma-device.c
4001           src/nm-cdma-device.h
4002                 - (*_new): take the 'managed' argument
4003
4004         * src/nm-device.c
4005                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4006                 - (nm_device_init): start in unmanaged state, not disconnected
4007                 - (constructor): don't start device until the system settings service
4008                         has had a chance to figure out if the device is managed or not
4009                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4010                         don't set device state here, let callers handle that as appropriate
4011                 - (nm_device_dispose): don't touch the device if it's not managed
4012                 - (set_property, get_property, nm_device_class_init): implement the
4013                         'managed' property
4014                 - (nm_device_state_changed): bring the device up if its now managed,
4015                         and deactivate it if it used to be active
4016                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4017                         with the managed state
4018
4019         * src/nm-hal-manager.c
4020                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4021                         take initial managed state and pass it along to device constructors
4022                 - (create_device_and_add_to_list): get managed state and pass to
4023                         type creators
4024
4025         * src/nm-device-802-11-wireless.c
4026                 - (real_can_activate): fold in most of
4027                         nm_device_802_11_wireless_can_activate()
4028                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4029                 - (link_timeout_cb): instead of deactivating, change device state and
4030                         let the device state handler to it
4031                 - (real_update_hw_address): clean up
4032                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4033                         handler to transition to DISCONNECTED if the device isn't rfkilled
4034
4035         * src/nm-device-802-3-ethernet.c
4036                 - (set_carrier): move above callers and get rid of prototype
4037                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4038                         idle handler to transition to DISCONNECTED if the device has a
4039                         carrier
4040                 - (real_update_hw_address): clean up
4041                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4042                         deactivation directly as deactivation doesn't change state anymore
4043
4044         * src/NetworkManagerPolicy.c
4045                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4046                         the NMManager and wireless devices work that out themselves now
4047                 - (device_state_changed): change to a switch and update for new device
4048                         states
4049                 - (device_carrier_changed): remove; device handles this now through
4050                         state changes
4051                 - (device_added): don't care about carrier any more; the initial
4052                         activation check will happen when the device transitions to
4053                         DISCONNECTED
4054
4055         * src/nm-manager.c
4056                 - (dispose): clear unmanaged devices
4057                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4058                         the managed property on each device when needed
4059                 - (system_settings_properties_changed_cb): handle signals from the
4060                         system settings service
4061                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4062                         getting the unmanaged device list method call
4063                 - (query_unmanaged_devices): ask the system settings service for its
4064                         list of unmanaged devices
4065                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4066                         devices
4067                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4068                         devices directly and let them handle the necessary state transitions
4069                 - (manager_device_state_changed): update for new device states
4070                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4071                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4072                 - (nm_manager_activate_connection): return error if the device is
4073                         unmanaged
4074                 - (nm_manager_sleep): handle new device states correctly; don't change
4075                         the state of unavailable/unmanaged devices
4076
4077         * libnm-glib/nm-device-802-11-wireless.c
4078                 - (state_changed_cb): update for new device states
4079
4080 2008-04-07  Dan Williams  <dcbw@redhat.com>
4081
4082         * marshallers/nm-marshal.list
4083                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4084
4085 2008-04-07  Dan Williams  <dcbw@redhat.com>
4086
4087         * system-settings/src/main.c
4088                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4089                         plugins to the dbus settings object
4090                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4091                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4092                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4093                 - (main): switch default logging to syslog with a 'debug' option to
4094                         output to console; start up the HAL manager
4095
4096 2008-04-07  Dan Williams  <dcbw@redhat.com>
4097
4098         * introspection/nm-settings-system.xml
4099           introspection/Makefile.am
4100                 - Define the unmanaged devices interface for the system settings service
4101
4102         * system-settings/src/nm-system-config-hal-manager.c
4103           system-settings/src/nm-system-config-hal-manager.h
4104           system-settings/src/nm-system-config-hal-manager-private.h
4105           system-settings/src/Makefile.am
4106                 - Add a lightweight HAL manager object for tracking network devices for
4107                         the purpose of determining unmanaged devices and which devices need
4108                         the default DHCP connections
4109
4110         * system-settings/src/nm-system-config-interface.c
4111           system-settings/src/nm-system-config-interface.h
4112                 - (nm_system_config_interface_init): add the HAL manager as an argument
4113                 - (nm_system_config_interface_get_unmanaged_devices): implement
4114                 - Define 'unmanaged-devices-changed' signal
4115
4116         * system-settings/src/dbus-settings.c
4117           system-settings/src/dbus-settings.h
4118                 - Implement the unmanaged devices interface; some cleanups
4119
4120         * system-settings/plugins/ifcfg-suse/plugin.c
4121                 - Fixup for plugin interface changes
4122
4123         * system-settings/plugins/ifcfg-fedora/plugin.c
4124                 - (get_ether_device_udi): new function; find the device that has
4125                         a specified MAC address and return its UDI
4126                 - (get_udi_for_connection): new function; try to find the specific
4127                         device a connection is locked to, if any
4128                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4129                         response to HAL events
4130                 - (get_unmanaged_devices): new function; return unmanaged device list
4131                 - (build_one_connection): set the connection's locked device, if any
4132                 - (write_auto_wired_connection): remove
4133                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4134                 - (handle_connection_changed): alert listeners that the unmanaged device
4135                         list has changed
4136                 - (init): fixup for plugin interface changes, implement unmanaged devices
4137
4138         * system-settings/plugins/ifcfg-fedora/parser.c
4139           system-settings/plugins/ifcfg-fedora/parser.h
4140                 - (connection_data_free): clean up connection UDI
4141
4142 2008-04-07  Dan Williams  <dcbw@redhat.com>
4143
4144         * system-settings/plugins/ifcfg-fedora/parser.c
4145                 - (make_ip4_setting): fix parsing of DNS servers
4146
4147 2008-04-05  Dan Williams  <dcbw@redhat.com>
4148
4149         * Makefile.am
4150           configure.in
4151           marshallers/Makefile.am
4152           marshallers/nm-marshal-main.c
4153           marshallers/nm-marshal.list
4154                 - Consolidate marshallers
4155
4156         * libnm-glib/nm-marshal-main.c
4157           libnm-glib/nm-marshal.list
4158           src/marshallers/Makefile.am
4159           src/marshallers/nm-marshal-main.c
4160           src/marshallers/nm-marshal.list
4161                 - Remove
4162
4163         * libnm-glib/Makefile.am
4164           src/Makefile.am
4165           src/dhcp-manager/Makefile.am
4166           src/ppp-manager/Makefile.am
4167           src/supplicant-manager/Makefile.am
4168           src/vpn-manager/Makefile.am
4169                 - Use consolidated marshallers
4170
4171 2008-04-04  Dan Williams  <dcbw@redhat.com>
4172
4173         * src/nm-hal-manager.c
4174           src/nm-hal-manager.h
4175                 - (hal_init): don't look for hardware here
4176                 - (nm_hal_manager_start): new function; look for hardware here instead,
4177                         which can be done at a later time than hal_init()
4178
4179         * src/NetworkManager.c
4180                 - (main): start HAL manager after entering the main loop
4181
4182 2008-04-03  Dan Williams  <dcbw@redhat.com>
4183
4184         * libnm-glib/nm-settings.c
4185           libnm-glib/nm-settings.h
4186             - (nm_exported_connection_get_id): new function
4187                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4188
4189 2008-04-02  Dan Williams  <dcbw@redhat.com>
4190
4191         * src/nm-device-interface.c
4192           src/nm-device-interface.h
4193           src/nm-device.c
4194           src/nm-device.h
4195                 - Rename check_connection_conflicts() to check_connection_compatible()
4196
4197         * src/nm-device-802-11-wireless.c
4198                 - (real_check_connection_conflicts): remove
4199                 - (real_check_connection_compatible): implement; match MAC address
4200
4201         * src/nm-device-802-3-ethernet.c
4202                 - (real_check_connection_conflicts): remove
4203                 - (real_check_connection_compatible): implement; match MAC address
4204                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4205
4206         * src/nm-manager.c
4207                 - (check_connection_allowed): remove; unused until PolicyKit integration
4208                 - (internal_activate_device): check whether the connection is compatible
4209                         with the device before trying to activate it
4210
4211 2008-04-02  Dan Williams  <dcbw@redhat.com>
4212
4213         * system-settings/plugins/ifcfg-fedora/parser.c
4214                 - (read_mac_address): new function; read in MAC address and stuff it
4215                         into the connection
4216                 - (add_one_wep_key): remove debug spew
4217                 - (make_wireless_security_setting): validate the default TX key; don't
4218                         add the wireless-security setting if the connection doesn't need
4219                         security; don't leak the keys shvarFile on error cases
4220                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4221                         address
4222
4223 2008-04-02  Dan Williams  <dcbw@redhat.com>
4224
4225         * libnm-util/nm-setting-connection.c
4226           libnm-util/nm-setting-connection.h
4227                 - (set_property, get_property, nm_setting_connection_class_init): remove
4228                         the 'lockdown' property; it's functionality will be replaced by
4229                         PolicyKit instead
4230
4231 2008-04-01  Dan Williams  <dcbw@redhat.com>
4232
4233         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4234
4235         * configure.in
4236           initscript/Makefile.am
4237           initscript/Mandriva/Makefile.am
4238           initscript/Mandriva/networkmanager.in
4239           initscript/Mandriva/networkmanagerdispatcher.in
4240           src/backends/Makefile.am
4241           src/backends/NetworkManagerMandriva.c
4242           system-settings/plugins/Makefile.am
4243                 - Add Mandriva support
4244
4245 2008-03-31  Dan Williams  <dcbw@redhat.com>
4246
4247         * src/vpn-manager/nm-vpn-service.c
4248                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4249                         errors can be passed back to the caller; also no longer scheduled
4250                         as an idle handler, but called directly; and bump up VPN service
4251                         spawn timeout, 2s is really short
4252                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4253                         but call it directly so that errors are reported on return from
4254                         ActivateConnection() and don't get lost.  If scheduled as an idle
4255                         handler, clients don't have the time to query NM for the new VPN
4256                         connection's properties before the VPN connection is torn down again
4257                         if the service couldn't be launched, and therefore launch errors
4258                         get lost.
4259
4260 2008-03-31  Dan Williams  <dcbw@redhat.com>
4261
4262         * src/vpn-manager/nm-vpn-connection.c
4263                 - (device_state_changed): send correct state on device failure too
4264                 - (plugin_state_changed): failed state means unexpected disconnection,
4265                         thus if the service goes away while the VPN connection is activated
4266                         that's a failure too
4267
4268 2008-03-31  Dan Williams  <dcbw@redhat.com>
4269
4270         * src/vpn-manager/nm-vpn-manager.c
4271           src/vpn-manager/nm-vpn-manager.h
4272                 - Make VPNManager errors more available; add a service-start-failed error
4273
4274 2008-03-31  Dan Williams  <dcbw@redhat.com>
4275
4276         * libnm-glib/nm-client.c
4277           libnm-glib/nm-client.h
4278                 - (activate_cb): pass the new active connection to callback; fix
4279                         message when no callback is specified
4280
4281 2008-03-30  Dan Williams  <dcbw@redhat.com>
4282
4283         * libnm-util/nm-setting-wireless-security.c
4284                 - (need_secrets): only require key0 if the transmit key index is also
4285                         0
4286                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4287
4288 2008-03-29  Dan Williams  <dcbw@redhat.com>
4289
4290         * libnm-util/nm-setting-8021x.c
4291           libnm-util/nm-setting-ip4-config.c
4292           libnm-util/nm-setting-vpn-properties.c
4293           libnm-util/nm-setting-vpn.c
4294           libnm-util/nm-setting-wireless-security.c
4295           libnm-util/nm-setting-wireless.c
4296           libnm-util/nm-utils.c
4297           src/dhcp-manager/nm-dhcp-manager.c
4298           src/nm-activation-request.c
4299           src/nm-ip4-config.c
4300           src/nm-manager.c
4301           src/nm-properties-changed-signal.c
4302           src/ppp-manager/nm-pppd-plugin.c
4303           src/supplicant-manager/nm-supplicant-interface.c
4304           src/vpn-manager/nm-vpn-connection.c
4305                 - consistently use nm-dbus-glib-types.h
4306
4307 2008-03-29  Dan Williams  <dcbw@redhat.com>
4308
4309         * src/vpn-manager/nm-vpn-connection.c
4310                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4311                         not string
4312
4313         * src/nm-activation-request.c
4314                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4315                         not string
4316
4317 2008-03-29  Dan Williams  <dcbw@redhat.com>
4318
4319         * libnm-glib/nm-device-802-11-wireless.c
4320                 - (access_point_added_proxy): create new APs if not found
4321
4322 2008-03-29  Dan Williams  <dcbw@redhat.com>
4323
4324         * libnm-glib/nm-client.c
4325                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4326                         before freeing them
4327
4328 2008-03-29  Dan Williams  <dcbw@redhat.com>
4329
4330         * system-settings/plugins/ifcfg-fedora/parser.c
4331                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4332                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4333
4334 2008-03-29  Dan Williams  <dcbw@redhat.com>
4335
4336         * system-settings/plugins/ifcfg-fedora/parser.c
4337                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4338
4339 2008-03-27  Dan Williams  <dcbw@redhat.com>
4340
4341         * nm-object.c
4342                 - (nm_object_queue_notify): don't notify multiple times for the same
4343                         property
4344
4345         * nm-object-private.h
4346                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4347                         if it has zero elements
4348
4349         * nm-ip4-config.c
4350                 - (finalize): use g_ptr_array_foreach() when freeing domains
4351                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4352
4353         * nm-active-connection.c
4354                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4355
4356         * nm-device-802-11-wireless.c
4357           nm-device-802-11-wireless.h
4358                 - (nm_device_802_11_wireless_get_access_points): return const; use
4359                         handle_ptr_array_return()
4360
4361         * nm-types.c
4362                 - (nm_object_array_demarshal): always create an array, even of length
4363                         zero, to distinguish between "NM returned no items" and "haven't
4364                         asked NM yet"
4365
4366         * nm-client.c
4367                 - (dispose): free active connections too
4368                 - (proxy_name_owner_changed): free active connections too when NM goes
4369                         away
4370                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4371                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4372
4373 2008-03-26  Dan Williams  <dcbw@redhat.com>
4374
4375         Rework VPN connection handling for a more consistent D-Bus API.  The
4376         VPNManager object has been removed, and active VPN connections are now the
4377         same as any other active connection.  The Manager object's ActivateConnection
4378         and DeactivateConnection methods are used to start and stop a VPN connection,
4379         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4380         When activating a VPN connection, pass the path of the active connection
4381         to which the VPN connection is tied in the 'specific_object' argument.
4382
4383         Consequently, the libnm-glib API has been reworked to match this arrangement,
4384         with the VPNManager object removed, and the NMVPNConnection objects now
4385         being subclasses of NMActiveConnection.
4386
4387 2008-03-25  Dan Williams  <dcbw@redhat.com>
4388
4389         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4390
4391         * initscript/Arch/networkmanager.in
4392           initscript/Arch/networkmanager-dispatcher.in
4393                 - Updates for Arch Linux (gnome.org #523701)
4394
4395 2008-03-25  Dan Williams  <dcbw@redhat.com>
4396
4397         * libnm-glib/nm-ip4-config.c
4398           libnm-glib/nm-active-connection.c
4399           libnm-glib/nm-access-point.c
4400                 - Use nm_object_queue_notify() instead of g_object_notify()
4401
4402         * libnm-glib/nm-device.c
4403                 - (demarshal_ip4_config): distinguish between successful but missing
4404                         ip4-config request, and unsuccessful and missing ip4-config request
4405                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4406                         path
4407                 - Use nm_object_queue_notify() instead of g_object_notify()
4408
4409         * libnm-glib/nm-device-802-11-wireless.c
4410                 - (demarshal_active_ap): distinguish between successfull but missing
4411                         active-ap request, and unsuccessful and missing active-ap request
4412                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4413                         code
4414                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4415                         for the NMClient to notify the device that wireless is disabled,
4416                         and therefore to clear the AP list and active AP
4417                 - Use nm_object_queue_notify() instead of g_object_notify()
4418
4419         * libnm-glib/nm-client.c
4420                 - (poke_wireless_devices_with_rf_status): new function
4421                 - (update_wireless_status): notify wireless devices of the rfkill status
4422                         so they can clean up if needed
4423                 - Use nm_object_queue_notify() instead of g_object_notify()
4424
4425 2008-03-25  Dan Williams  <dcbw@redhat.com>
4426
4427         * libnm-glib/nm-object.c
4428           libnm-glib/nm-object-private.h
4429                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4430                         signals to an idle handler
4431                 - (nm_object_get_property): add a timeout to the D-Bus method call
4432
4433 2008-03-25  Dan Williams  <dcbw@redhat.com>
4434
4435         * introspection/nm-device-cdma.xml
4436           introspection/nm-device-gsm.xml
4437           introspection/Makefile.am
4438           introspection/all.xml
4439                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4440
4441         * src/nm-gsm-device.h
4442           src/nm-gsm-device.c
4443           src/nm-cdma-device.h
4444           src/nm-cdma-device.c
4445           src/Makefile.am
4446                 - Implement PropertiesChanged signals
4447
4448         * libnm-glib/nm-cdma-device.c
4449           libnm-glib/nm-cdma-device.c
4450                 - Attach to PropertiesChanged signals
4451
4452 2008-03-24  Dan Williams  <dcbw@redhat.com>
4453
4454         * libnm-glib/nm-client.c
4455                 - (client_device_added_proxy): add new devices to the internal device
4456                         list so they appear to clients
4457
4458 2008-03-24  Dan Williams  <dcbw@redhat.com>
4459
4460         Massive fixup of libnm-glib to:
4461         a) have all objects (with the exception of VPN) cache their properties and
4462                 update them asynchronously on PropertiesChanged signals from NM
4463         b) return internal const data for most attributes/properties instead of
4464                 allocated values that the caller must free
4465         c) cache wrapped objects such that a given D-Bus path will always map to the
4466                 same GObject returned by libnm-glib
4467         d) remove a few signals and move them to GObject property notifications
4468         e) match recent NM D-Bus API changes for activation/deactivation
4469         f) remove some private functions from libnm-glib headers
4470
4471 2008-03-20  Dan Williams  <dcbw@redhat.com>
4472
4473         * src/nm-manager.c
4474                 - (nm_manager_update_state, manager_device_state_changed,
4475                    nm_manager_activate_device, connection_added_default_handler,
4476                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4477                         queue PropertyChanged singals when the active connections change
4478
4479 2008-03-20  Dan Williams  <dcbw@redhat.com>
4480
4481         * introspection/nm-manager.xml
4482           introspection/nm-manager-client.xml
4483                 - (ActivateConnection): return the object path of the active connection
4484                         on success
4485                 - (GetActiveConnections): remove
4486                 - (DeactivateConnection): new function; deactivate a currently active
4487                         connection
4488                 - Add an ActiveConnections property which returns an array of
4489                         active connection object paths
4490
4491         * introspection/nm-device.xml
4492                 - (Deactivate): remove
4493
4494         * introspection/all.xml
4495                 - Add ActiveConnection introspection
4496
4497         * introspection/nm-active-connection.xml
4498                 - Add the ActiveConnection object
4499
4500         * include/NetworkManager.h
4501                 - Add the Connection.Active D-Bus interface
4502
4503         * src/nm-device-interface.c
4504                 - (impl_device_deactivate): remove
4505
4506         * src/nm-activation-request.c
4507           src/nm-activation-request.c
4508           src/Makefile.am
4509                 - Implement the Connection.Active D-Bus interface
4510
4511         * src/nm-manager.c
4512                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4513                 - (nm_manager_activate_device): return the active connection path
4514                 - (connection_added_default_handler, impl_manager_activate_connection):
4515                         return the active connection to the caller
4516                 - (add_one_connection_element, impl_manager_get_active_connections):
4517                         remove
4518                 - (impl_manager_deactivate_connection): new function; deactivate an
4519                         active connection
4520
4521         * libnm-glib/nm-device.c
4522           libnm-glib/nm-device.h
4523                 - Remove Deactivate() function
4524
4525 2008-03-19  Dan Williams  <dcbw@redhat.com>
4526
4527         * introspection/nm-manager.xml
4528           introspection/nm-manager-client.xml
4529                 - Rename the ActivateDevice method to ActivateConnection to better
4530                         reflect it's usage; it's arguments get reordered a bit too
4531                 - Convert GetActiveConnections method return from a struct to a dict
4532
4533         * include/NetworkManager.h
4534                 - Define the dict keys for return value of GetActiveConnections
4535
4536         * src/nm-manager.c
4537                 - impl_manager_activate_device -> impl_manager_activate_connection
4538                 - (add_one_connection_element): return a populated hash table, not
4539                         a structure
4540
4541         * libnm-glib/nm-client.c
4542           libnm-glib/nm-client.h
4543                 - nm_client_activate_device -> nm_client_activate_connection
4544                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4545                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4546                         instead of the custom structures.  Each element of the returned list
4547                         must be freed with nm_client_free_active_connections_element()
4548
4549 2008-03-18  Dan Williams  <dcbw@redhat.com>
4550
4551         * system-settings/plugins/ifcfg-fedora/parser.c
4552           system-settings/plugins/ifcfg-fedora/parser.h
4553           system-settings/plugins/ifcfg-fedora/plugin.c
4554                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4555                         profiles.  DNS servers and searches must now be stored in the ifcfg
4556                         files themselves
4557
4558 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4559
4560         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4561         print out username and password, it's supposed to be a secret.
4562
4563         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4564         request and set the device state accordingly.
4565
4566 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4567
4568         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4569
4570         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4571
4572 2008-03-18  Dan Williams  <dcbw@redhat.com>
4573
4574         * src/vpn-manager/nm-vpn-connection.c
4575                 - (get_secrets_cb): handle new GetSecrets return format
4576
4577 2008-03-18  Dan Williams  <dcbw@redhat.com>
4578
4579         Adapt system settings service for split 802.1x.
4580
4581         * system-settings/src/nm-system-config-interface.h
4582                 - clarify return value of get_secrets()
4583
4584         * system-settings/src/dbus-settings.c
4585                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4586                 - (check_for_secrets): check if there actually secrets returned by a
4587                         plugin
4588                 - (exported_connection_get_secrets): just return the plugin-returned
4589                         hash of settings' secrets if it looks valid
4590
4591         * system-settings/plugins/ifcfg-fedora/plugin.c
4592                 - (get_secrets): add split secrets with correct format to reply hash
4593
4594         * system-settings/plugins/ifcfg-fedora/parser.c
4595           system-settings/plugins/ifcfg-fedora/parser.h
4596                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4597                    connection_data_free, connection_data_add): keep secrets for
4598                         different settings in different hashes
4599
4600 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4601
4602         Clean up activating device deactivation.
4603
4604         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4605         should be done whether the device activation gets cancelled or the device
4606         is just getting deactivated.
4607         (nm_device_activation_cancel): Remove.
4608         (nm_device_deactivate_quickly): Handle the case where device is activating.
4609
4610         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4611         It does the exact same thing as real_deactivate_quickly().
4612
4613 2008-03-17  Dan Williams  <dcbw@redhat.com>
4614
4615         Split the 802.1x bits out of the wireless-security setting so they are
4616         generalized enough for wired 802.1x to use too.
4617
4618         * introspection/nm-exported-connection.xml
4619                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4620                         of just a hash of the secrets for one setting
4621
4622         * libnm-util/nm-setting-wireless-security.c
4623           libnm-util/nm-setting-wireless-security.h
4624                 - Remove 802.1x-specific stuff
4625                 - Added leap-username and leap-password properties for old-school LEAP
4626
4627         * src/nm-device.c
4628           src/nm-device.h
4629                 - (connection_secrets_updated_cb): take a list of updated settings names,
4630                         not just one
4631
4632         * src/supplicant-manager/nm-supplicant-config.c
4633           src/supplicant-manager/nm-supplicant-config.h
4634                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4635                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4636                         to nm_supplicant_config_add_setting_8021x()
4637                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4638                         the supplicant config
4639
4640         * src/nm-device-802-11-wireless.c
4641                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4642                 - (real_connection_secrets_updated): take a list of updated settings
4643                         names, not just one
4644
4645         * src/nm-device-802-3-ethernet.c
4646           src/nm-cdma-device.c
4647           src/nm-gsm-device.c
4648                 - (real_connection_secrets_updated_cb): take a list of updated settings
4649                         names, not just one
4650
4651         * src/nm-activation-request.c
4652           src/nm-activation-request.h
4653                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4654                         now passes a list of updated settings names, not just one
4655                 - (update_one_setting): new function; handle one updated setting
4656                 - (get_secrets_cb): handle multiple settings returned from the
4657                         settings service; have to be careful of ordering here as there are
4658                         some dependencies between settings (ex. wireless-security and 802.1x
4659                         in some cases)
4660
4661         * src/marshallers/nm-marshal.list
4662                 - new marshaller for connection-secrets-updated signal
4663
4664         * libnm-util/nm-setting-8021x.c
4665                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4666                         methods
4667                 - (verify): a valid 'eap' property is now required
4668
4669         * libnm-util/nm-connection.c
4670                 - (register_default_settings): add priorities to settings; there are
4671                         some dependencies between settings, and during the need_secrets
4672                         calls this priority needs to be respected.  For example, only the
4673                         wireless-security setting knows whether or not the connection is
4674                         going to use 802.1x or now, so it must be asked for secrets before
4675                         any existing 802.1x setting is
4676                 - (nm_connection_lookup_setting_type): expose
4677
4678         * libnm-util/nm-setting-wireless.c
4679                 - (verify): should verify even if all_settings is NULL; otherwise won't
4680                         catch the case where there is missing security
4681
4682         * libnm-util/nm-setting-wireless-security.c
4683                 - Remove everything to do with 802.1x
4684                 - Add old-school LEAP specific properties for username and password
4685                 - (need_secrets): rework LEAP secrets checking
4686                 - (verify): rework for LEAP and 802.1x verification
4687
4688 2008-03-17  Dan Williams  <dcbw@redhat.com>
4689
4690         * src/NetworkManagerPolicy.c
4691                 - (auto_activate_device): always remove the current activation check
4692                         from the pending activation list, otherwise when the policy gets
4693                         destroyed on NM exit it will attempt to free the already freed
4694                         activation check
4695
4696 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4697
4698         * src/backends/NetworkManagerSlackware.c 
4699         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4700
4701         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4702
4703 2008-03-14  Dan Williams  <dcbw@redhat.com>
4704
4705         * src/nm-manager.c
4706                 - (nm_device_interface_get_iface): g_object_get() will return an
4707                         allocated value, so this function must not return const
4708                 - (nm_device_interface_activate): free returned iface
4709
4710 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4711
4712         * libnm-util/Makefile.am: Add new files to build.
4713
4714         * libnm-util/nm-connection.c: Register NMSetting8021x.
4715
4716         * libnm-util/nm-setting-8021x.c
4717         * libnm-util/nm-setting-8021x.h: Implement.
4718
4719 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4720
4721         * libnm-util/Makefile.am: Add new files to build.
4722
4723         * libnm-util/nm-connection.c: Register NMSetting8021x.
4724
4725         * libnm-util/nm-setting-8021x.c
4726         * libnm-util/nm-setting-8021x.h: Implement.
4727
4728 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4729
4730         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4731         data.
4732
4733 2008-03-14  Dan Williams  <dcbw@redhat.com>
4734
4735         * include/wireless-helper.h
4736           include/Makefile.am
4737                 - One place for all the junk needed for #including wireless.h
4738
4739         * test/nm-tool.c
4740           src/NetworkManagerAP.c
4741           src/wpa.c
4742           src/Makefile.am
4743           libnm-util/nm-utils.c
4744           libnm-util/nm-setting-wireless.c
4745           libnm-glib/nm-device-802-11-wireless.c
4746           libnm-glib/nm-access-point.c
4747           libnm-glib/libnm-glib-test.c
4748                 - include wireless-helper.h, not iwlib.h
4749
4750         * configure.in
4751                 - Don't need libiw really, just need to check for wireless.h
4752
4753         * src/kernel-types.h
4754                 - Remove; used types moved into wpa.c
4755
4756         * src/nm-device-802-11-wireless.c
4757                 - (nm_device_802_11_wireless_update_signal_strength,
4758                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4759                    nm_device_802_11_wireless_set_mode,
4760                    nm_device_802_11_wireless_get_frequency,
4761                    nm_device_802_11_wireless_get_ssid,
4762                    nm_device_802_11_wireless_set_ssid,
4763                    nm_device_802_11_wireless_get_bitrate,
4764                    nm_device_802_11_wireless_get_bssid,
4765                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4766                         instead of iwlib functions
4767
4768 2008-03-14  Dan Williams  <dcbw@redhat.com>
4769
4770         * src/ppp-manager/nm-ppp-manager.c
4771                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4772                         should only take the DBusGMethodInvocation argument, not user/pass
4773                         too.  With dbus-glib, async functions only take 2 C arguments since
4774                         the real dbus method arguments get passed back with
4775                         dbus_g_method_return()
4776
4777 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4778
4779         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4780         Adapt the changes of NMSettingIP4Config.
4781
4782 2008-03-13  Dan Williams  <dcbw@redhat.com>
4783
4784         * src/NetworkManagerUtils.c
4785           src/NetworkManagerUtils.h
4786                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4787
4788         * src/NetworkManagerAP.c
4789           src/nm-device-802-11-wireless.c
4790           src/nm-device-802-3-ethernet.c
4791                 - s/iw_ether_ntop/nm_ether_ntop/g
4792
4793 2008-03-13  Dan Williams  <dcbw@redhat.com>
4794
4795         * src/NetworkManagerPolicy.c
4796                 - (update_routing_and_dns): never set the default route through an
4797                         IPv4LL addressed device
4798
4799 2008-03-13  Dan Williams  <dcbw@redhat.com>
4800
4801         * NetworkManagerUtils.c
4802           NetworkManagerUtils.h
4803                 - Remove NMSock stuff
4804                 - Remove the completion stuff
4805
4806         * nm-device.c
4807           nm-device.h
4808           NetworkManager.c
4809           NetworkManagerSystem.c
4810           autoip.c
4811           nm-device-802-11-wireless.c
4812           nm-device-802-3-ethernet.c
4813                 - Remove NMSock and completion stuff
4814                 - Remove nm_ioctl_info()
4815
4816 2008-03-12  Dan Williams  <dcbw@redhat.com>
4817
4818         * src/nm-device.c
4819                 - (merge_ip4_config): avoid duplicates
4820
4821 2008-03-12  Dan Williams  <dcbw@redhat.com>
4822
4823         * libnm-util/nm-setting-ip4-config.c
4824           libnm-util/nm-setting-ip4-config.h
4825                 - Remove 'manual' and 'autoip' properties
4826                 - Add 'method' property
4827                 - (verify): fix verification with 'method'
4828                 - (finalize): free 'method'
4829                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4830                         up for 'method'
4831
4832         * src/nm-device.c
4833                 - (real_act_stage3_ip_config_start): check IP4Config method
4834                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4835                         the future
4836                 - (merge_ip4_config): IP settings are valid with DHCP too
4837                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4838                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4839
4840         * src/nm-device-802-11-wireless.c
4841                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4842                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4843                         only on demand
4844
4845         * system-settings/plugins/ifcfg-fedora/parser.c
4846           system-settings/plugins/ifcfg-suse/parser.c
4847                 - (make_ip4_setting): fix up for 'method'
4848
4849 2008-03-12  Dan Williams  <dcbw@redhat.com>
4850
4851         * system-settings/plugins/ifcfg-fedora/parser.c
4852           system-settings/plugins/ifcfg-fedora/parser.h
4853                 - (get_ifcfg_name): ignore more file suffixes
4854                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4855
4856 2008-03-12  Dan Williams  <dcbw@redhat.com>
4857
4858         * configure.in
4859                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4860
4861 2008-03-12  Dan Williams  <dcbw@redhat.com>
4862
4863         * system-settings/plugins/ifcfg-fedora/plugin.c
4864                 - (write_auto_wired_connection): new function; write out an auto
4865                         wired connection file since the applet isn't doing it any more
4866                 - (reload_all_connections): write out the auto wired connection file
4867                         if there aren't any wired connections already
4868                 - (init): don't leak a GError
4869
4870 2008-03-12  Dan Williams  <dcbw@redhat.com>
4871
4872         * src/nm-device-interface.c
4873                 - (nm_device_interface_activate): print the ID of the connection
4874                         that's about to be activated
4875
4876 2008-03-12  Dan Williams  <dcbw@redhat.com>
4877
4878         Harmonize the 802.11 bitrate API
4879
4880         * introspection/nm-access-point.xml
4881                 - 'Rate' -> 'MaxBitrate'; clarify units
4882
4883         * introspection/nm-device-802-11-wireless.xml
4884                 - Clarify units of 'Bitrate'
4885
4886         * src/NetworkManagerAP.c
4887           src/NetworkManagerAP.h
4888                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4889                         property to 'max-bitrate'
4890                 - (foreach_property_cb): convert rate to Kb/s
4891
4892         * src/nm-device-802-11-wireless.c
4893                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4894
4895         * libnm-glib/nm-access-point.c
4896           libnm-glib/nm-access-point.h
4897                 - 'rate' -> 'max-bitrate'
4898
4899         * test/nm-tool.c
4900           libnm-glib/libnm-glib-test.c
4901                 - Fix up for these changes
4902
4903 2008-03-12  Dan Williams  <dcbw@redhat.com>
4904
4905         * src/nm-device.c
4906                 - (nm_device_set_ip4_config): don't send property notifications when
4907                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4908                         which dbus-glib can't parse because the value is NULL, which isn't
4909                         a legal object path.  Setting the IP4 config to NULL is only
4910                         valid when deactivating a device anyway, so the device state change
4911                         will alert listeners that the ip4 config is invalid.
4912
4913 2008-03-12  Dan Williams  <dcbw@redhat.com>
4914
4915         * src/nm-properties-changed-signal.c
4916                 - (add_to_string): better handling of NULL objects
4917
4918 2008-03-12  Dan Williams  <dcbw@redhat.com>
4919
4920         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4921         convert the libnm-glib NMDevice8023Ethernet to cached properties
4922
4923         * introspection/nm-device-802-3-ethernet.xml
4924                 - New 'Carrier' property
4925                 - New 'PropertiesChanged' signal
4926
4927         * introspection/nm-device.xml
4928                 - Remove 'Carrier' property
4929                 - Remove 'CarrierChanged' signal
4930
4931         * src/nm-device-interface.c
4932           src/nm-device-interface.h
4933                 - (nm_device_interface_init): remove 'carrier' property and
4934                         'carrier-changed' signal
4935
4936         * src/nm-device.c
4937           src/nm-device.h
4938                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4939                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4940                         the link here; wired device will handle that
4941                 - (handle_dhcp_lease_change): don't bother updating link here
4942                 - (get_property, nm_device_class_init): remove carrier property
4943
4944         * src/nm-device-802-11-wireless.c
4945                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4946                         real_update_link(); wireless devices don't use carrier at all
4947                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4948                    supplicant_iface_connection_state_cb_handler,
4949                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4950
4951         * src/nm-device-802-3-ethernet.c
4952           src/nm-device-802-3-ethernet.h
4953                 - (nm_device_802_3_ethernet_carrier_on,
4954                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4955                         instead of nm_device_set_carrier()
4956                 - (device_state_changed): update link from sysfs on activation;
4957                         replaces real_update_link()
4958                 - (real_update_link): remove, replaced by device_state_changed()
4959                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4960                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4961                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4962                         new get_carrier function
4963                 - (get_property): add 'carrier' property
4964                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4965                         hook into property-changed signal helper
4966
4967         * src/NetworkManagerPolicy.c
4968                 - (device_carrier_changed): will only ever be called with a wired device
4969                 - (device_added): only hook up to carrier-changed for wired devices
4970
4971         * libnm-glib/nm-device.c
4972           libnm-glib/nm-device.h
4973                 - (constructor, nm_device_class_init): remove carrier-changed signal
4974                 - (device_carrier_changed_proxy): remove; unused
4975                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4976
4977         * libnm-glib/nm-device-802-3-ethernet.c
4978           libnm-glib/nm-device-802-3-ethernet.h
4979                 - Convert to cached properties like AP and Wireless objects
4980                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4981                         instead of a 'char *', return value should not be freed
4982                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4983                 - (constructor): hook into properties-changed helper
4984                 - (set_property, get_property): new functions
4985                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4986
4987         * test/nm-tool.c
4988                 - (detail_device): strdup the wired hardware address too since it's
4989                         cached now
4990
4991         * libnm-glib/libnm-glib-test.c
4992                 - (dump_wired): strdup the wired hardware address too since it's
4993                         cached now
4994
4995 2008-03-12  Dan Williams  <dcbw@redhat.com>
4996
4997         * libnm-util/nm-setting-ip4-config.c
4998           libnm-util/nm-setting-ip4-config.h
4999                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5000                         the 'autoip' property from the spec
5001
5002 2008-03-11  Dan Williams  <dcbw@redhat.com>
5003
5004         * src/backends/NetworkManagerGeneric.c
5005           src/backends/NetworkManagerGeneric.h
5006                 - (nm_generic_device_get_use_dhcp): remove
5007
5008 2008-03-11  Dan Williams  <dcbw@redhat.com>
5009
5010         * src/nm-device.c
5011                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5012                         already in nm_device_set_ip4_config()
5013                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5014                         due to a DHCP rebind fails
5015                 - (nm_device_set_ip4_config): send property notifications when the
5016                         ip4 config changes
5017                 - (get_property): only report IP4Config property during valid states
5018
5019         * src/NetworkManagerPolicy.c
5020                 - (update_routing_and_dns): ignore devices that don't have an ip4
5021                         config; add parameter 'force_update' to allow callers to specify
5022                         that changes should be made even if the default device doesn't change
5023                 - (device_ip4_config_changed): update DNS and routing when the device's
5024                         IP4Config changes, like for DHCP updates
5025                 - (device_added): listen for ip4-config property changes
5026
5027 2008-03-11  Dan Williams  <dcbw@redhat.com>
5028
5029         Fix address handling as a result of DHCP rebind/renew/reboot.
5030
5031         * src/NetworkManagerSystem.c
5032                 - (check_one_address): delete an address if it doesn't match a given
5033                         one for the same interface
5034                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5035                         be smarter about flushing addresses (only flush ones that don't
5036                         match the one we're about to apply)
5037
5038         * src/backends/NetworkManagerDebian.c
5039           src/backends/NetworkManagerSuSE.c
5040           src/backends/NetworkManagerArch.c
5041           src/backends/NetworkManagerSlackware.c
5042           src/backends/NetworkManagerRedHat.c
5043           src/backends/NetworkManagerPaldo.c
5044           src/backends/NetworkManagerFrugalware.c
5045           src/backends/NetworkManagerGentoo.c
5046                 - (nm_system_delete_default_route): remove
5047
5048         * src/backends/NetworkManagerGeneric.c
5049           src/backends/NetworkManagerGeneric.h
5050                 - (nm_generic_enable_loopback): fix the loopback device label
5051                 - (nm_generic_delete_default_route): remove; no longer used
5052
5053 2008-03-11  Dan Williams  <dcbw@redhat.com>
5054
5055         * src/nm-device-interface.h
5056                 - Delimit property name words with '-', otherwise g_object_notify()
5057                         doesn't work the way we expect
5058
5059 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5060
5061         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5062
5063 2008-03-11  Dan Williams  <dcbw@redhat.com>
5064
5065         * src/NetworkManagerPolicy.c
5066                 - (update_routing_and_dns): don't change anything if the default device
5067                         hasn't changed; print something out when switching the default route
5068                         and DNS
5069
5070 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5071
5072         Implement PPPoE.
5073
5074         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5075         setting. Use "nic-$eth".
5076
5077         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5078         the device is activating here to fix a race condition.
5079
5080         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5081
5082         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5083         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5084         (nm_ppp_manager_start): Take activation request instead of connection, we might
5085         need it for asking secrets.
5086         (nm_ppp_manager_update_secrets): Implement.
5087
5088         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5089         ppp manager start. It might be needed for asking secrets.
5090
5091         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5092         (ppp_state_changed): Handle pppd daemon disappearing.
5093         (pppoe_stage2_config): Send activation request to ppp manager start.
5094
5095         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5096
5097         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5098         username and password.
5099         
5100 2008-03-10  Dan Williams  <dcbw@redhat.com>
5101
5102         * src/nm-device.c
5103                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5104                         response to a DHCP lease change
5105                 - (dhcp_state_changed): handle DHCP lease changes while activated
5106                 - (nm_device_set_ip4_config): remove a previously set named config
5107                         when setting an ip4 config
5108
5109 2008-03-10  Dan Williams  <dcbw@redhat.com>
5110
5111         * src/nm-serial-device.c
5112                 - (nm_serial_device_send_command): report errno on error
5113                 - (get_reply_got_data): limit the size of the overall buffer
5114                 - (wait_for_reply_info_destroy): destroy result string
5115                 - (wait_for_reply_got_data): append received data to an overall buffer
5116                         until timeout, filled buffer, or error instead of keeping a per-call
5117                         buffer.  Some devices send data slowly enough that this function
5118                         gets called multiple times for the same command stream.
5119                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5120                         wait_for_reply_got_data() here
5121
5122 2008-03-10  Dan Williams  <dcbw@redhat.com>
5123
5124         * src/nm-cdma-device.c
5125                 - (do_dial, init_modem): handle errors from
5126                         nm_serial_device_send_command_string()
5127
5128         * src/nm-gsm-device.c
5129                 - (do_dial, manual_registration, automatic_registration_get_network,
5130                    automatic_registration, enter_pin, check_pin, init_modem): handle
5131                         errors from nm_serial_device_send_command_string()
5132
5133 2008-03-10  Dan Williams  <dcbw@redhat.com>
5134
5135         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5136
5137         * src/named-manager/nm-named-manager.c
5138                 - (compute_searches): prefer searches before domains
5139                 - (compute_domain): new function
5140                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5141                 - (merge_one_ip4_config): if there are no searches in the source config,
5142                         merge domains of the source config into the target config
5143                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5144
5145 2008-03-10  Dan Williams  <dcbw@redhat.com>
5146
5147         * src/nm-serial-device.c
5148                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5149                 - (wait_for_reply_got_data): try to handle slower serial devices where
5150                         the reply is broken up into multiple reads by concatenating replies
5151                         together until either an error is received or the search string is
5152                         found
5153
5154 2008-03-10  Dan Williams  <dcbw@redhat.com>
5155
5156         * src/nm-device.c
5157                 - (nm_device_bring_down): deactivate the device if it's activating too,
5158                         not just if it's already activated.  This makes sure that everything
5159                         from an association attempt is cleaned up (like DHCP for example)
5160
5161 2008-03-10  Dan Williams  <dcbw@redhat.com>
5162
5163         * src/nm-serial-device.c
5164                 - (config_fd): report error from TCSETA
5165                 - (nm_serial_device_open): fail when config_fd() fails
5166
5167 2008-03-10  Dan Williams  <dcbw@redhat.com>
5168
5169         * src/nm-ip4-config.c
5170                 - (nm_ip4_config_init): allocate searches list
5171                 - (finalize): free searches list
5172
5173 2008-03-09  Dan Williams  <dcbw@redhat.com>
5174
5175         Patch from Bas Zoetekouw <bas@debian.org>
5176
5177         * src/dhcp-manager/nm-dhcp-manager.c
5178                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5179
5180 2008-03-09  Dan Williams  <dcbw@redhat.com>
5181
5182         Patch from Bas Zoetekouw <bas@debian.org>
5183
5184         * src/nm-ip4-config.c
5185           src/nm-ip4-config.h
5186                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5187                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5188                         domains.  'searches' is the correct way to store multiple search
5189                         domains, whereas 'domains' is really just supposed to store one
5190                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5191                         search domains to the client.
5192                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5193
5194 2008-03-09  Dan Williams  <dcbw@redhat.com>
5195
5196         * src/dhcp-manager/nm-dhcp-manager.c
5197                 - (dhclient_run): send interface-specific config files to dhclient
5198
5199 2008-03-07  Dan Williams  <dcbw@redhat.com>
5200
5201         * system-settings/plugins/ifcfg-fedora/parser.c
5202                 - (is_wireless_device): new function; test a device for wireless
5203                         extensions
5204                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5205                         test the device for wireless extensions to determine the type
5206
5207 2008-03-07  Dan Williams  <dcbw@redhat.com>
5208
5209         Change manager's StateChange signal to StateChanged for consistency.
5210
5211         * introspection/nm-manager.xml
5212                 - Add 'StateChanged' signal
5213                 - Move 'StateChange' down to the deprecated section
5214
5215         * src/nm-hal-manager.c
5216                 - (nm_hal_manager_new): connect to 'state-changed' instead
5217
5218         * src/NetworkManagerPolicy.c
5219                 - (nm_policy_new): connect to 'state-changed' instead
5220
5221         * src/nm-manager.c
5222           src/nm-manager.h
5223                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5224                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5225                         of 'state-change'
5226
5227         * libnm-glib/nm-client.c
5228           libnm-glib/nm-client.h
5229                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5230                         track and proxy 'state-changed' instead of 'state-change'
5231
5232 2008-03-07  Dan Williams  <dcbw@redhat.com>
5233
5234         First pass of multiple active device support.  Expect bugs.
5235
5236         * src/nm-ip4-config.c
5237           src/nm-ip4-config.h
5238                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5239                         there are better ways to do this in the named manager
5240
5241         * src/nm-device.c
5242           src/nm-device.h
5243                 - (nm_device_can_activate): return whether the device can activate a
5244                         connection right now; taking into account things like carrier state
5245                         and rfkill state
5246                 - (nm_device_get_best_auto_connection): renamed from
5247                         nm_device_get_best_connection
5248                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5249                         device subclasses themselves, so that each device can override the
5250                         MTU from it's NMSetting subclass if needed
5251                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5252                         in NetworkManagerSystem.c, not here
5253
5254         * src/named-manager/nm-named-manager.c
5255           src/named-manager/nm-named-manager.h
5256                 - (nm_named_manager_name_owner_changed,
5257                    nm_named_manager_dbus_connection_changed): fix for changes to
5258                         rewrite_resolv_conf()
5259                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5260                         from parameter list
5261                 - (merge_one_ip4_config): new function; merge ip4 configs together
5262                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5263                         ip4 configs; the VPN config takes precedence, then the best
5264                         device config, then the rest of the configs
5265                 - (get_domain_for_config): take the NMNamedManager as an argument
5266                         to check whether the config is the VPN config
5267                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5268                         attribute from ip4 configs
5269                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5270                 - (remove_ip4_config_from_named): fix for changes to
5271                         get_domain_for_config()
5272                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5273                         based on its type; callers must pass in the type now
5274                 - (get_last_default_domain): remove, unused
5275                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5276
5277         * src/nm-device-802-11-wireless.c
5278                 - (real_can_activate): new function
5279                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5280                 - (real_act_stage4_get_ip4_config): handle MTU override
5281
5282         * src/nm-device-802-3-ethernet.c
5283                 - (real_can_activate): new function
5284                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5285                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5286
5287         * src/vpn-manager/nm-vpn-connection.c
5288                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5289                         attribute on the ip4 config
5290
5291         * src/NetworkManagerPolicy.c
5292                 - (nm_policy_auto_get_best_device): remove
5293                 - (nm_policy_device_change_check): remove
5294                 - (update_default_route): new function; set the default route via
5295                         the specified device
5296                 - (get_device_priority): new function; return the priority number of
5297                         a device type WRT which one should have the default route.  Order is
5298                         (highest to lowest)  wired, wireless, GSM, CDMA.
5299                 - (update_routing_and_dns): new function; determine which device should
5300                         have the default route, then update the routing table and DNS
5301                 - (maybe_auto_activate_device): new function; if a device is now
5302                         available for activation, find out what connection it would like to
5303                         activate and do it
5304                 - (schedule_activate_check): new function; if a device can be activated
5305                         now, schedule the activation.  Each device may have only one
5306                         pending activation at a given time.
5307                 - (device_state_changed): if activation was canceled, try again,
5308                         possibly with another connection; if the device was activated,
5309                         update routing and DNS; if the device was deactivated, try again
5310                         with another connection
5311                 - (device_carrier_changed): if there is no carrier, deactivate the
5312                         device; otherwise schedule an activation check for the device
5313                 - (wireless_networks_changed): schedule an activation check for the
5314                         device
5315                 - (device_added): keep track of the signal handler IDs so they can
5316                         be removed when the device goes away
5317                 - (device_removed): remove any signal handlers that might be attached
5318                         to the device; update routing and DNS
5319                 - (schedule_activate_all): new function
5320                 - (connections_added, connection_added, connection_updated): when
5321                         connections change, schedule all devices for an activation check
5322                 - (connection_removed): when a device is deactivated because its
5323                         connection was removed, schedule another activation check for it
5324                 - (nm_policy_destroy): destroy pending activations and disconnect
5325                         all device signal handlers
5326
5327         * src/nm-manager.c
5328                 - (nm_manager_activate_device): if the device was already actived,
5329                         deactivate it
5330                 - (deactivate_old_device): remove
5331                 - (connection_added_default_handler, impl_manager_activate_device):
5332                         don't deactivate other devices when activating this one
5333
5334         * src/backends/NetworkManagerGentoo.c
5335           src/backends/NetworkManagerFrugalware.c
5336           src/backends/NetworkManagerPaldo.c
5337           src/backends/NetworkManagerRedHat.c
5338           src/backends/NetworkManagerSlackware.c
5339           src/backends/NetworkManagerArch.c
5340           src/backends/NetworkManagerSuSE.c
5341           src/backends/NetworkManagerDebian.c
5342                 - (nm_system_get_mtu): remove; MTU should be provided through the
5343                         distro's system settings service plugin instead
5344                 - (nm_system_device_add_default_route_via_device): remove
5345                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5346                 - (nm_system_device_replace_default_route): new function; call
5347                         generic implementation
5348
5349         * src/backends/NetworkManagerGeneric.c
5350           src/backends/NetworkManagerGeneric.h
5351                 - (nm_generic_device_add_default_route_via_device,
5352                    nm_generic_device_add_default_route_via_device_with_iface): remove
5353                 - (nm_generic_device_replace_default_route): replace the default route
5354                         with the given route via some gateway
5355
5356         * src/NetworkManagerSystem.c
5357           src/NetworkManagerSystem.h
5358                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5359                         to routing and DNS; but set the MTU here
5360                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5361                         ip_iface of the active device; use the standard MTU setting function
5362                 - (nm_system_set_mtu): remove
5363                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5364
5365 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5366
5367         Rework the interaction between ppp manager and pppd plugin. Register a well
5368         known DBUS service in manager and let the plugin call it's methods instead
5369         of listening plugin's signals.
5370
5371         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5372         of emitting signals.
5373
5374         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5375
5376         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5377
5378         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5379         nm_ppp_manager_start().
5380
5381         * introspection/nm-ppp-manager.xml: New file.
5382
5383         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5384         the case correctly where driver is trying to send -1 for the speed, which gets
5385         casted to u16 and thus is always > 0.
5386
5387 2008-03-07  Dan Williams  <dcbw@redhat.com>
5388
5389         * src/nm-hal-manager.c
5390                 - (nm_get_device_driver_name): use net.originating_device first, fall
5391                         back to physical device.  HAL has deprecated physical_device.
5392
5393         * libnm-glib/nm-device.c
5394                 - (get_product_and_vendor): use net.originating_device first, fall
5395                         back to physical device.  HAL has deprecated physical_device.
5396                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5397
5398 2008-03-07  Dan Williams  <dcbw@redhat.com>
5399
5400         * src/nm-netlink.c
5401                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5402                         last commit; fix that
5403                 - (get_link_cache): print error string
5404
5405 2008-03-07  Dan Williams  <dcbw@redhat.com>
5406
5407         * src/nm-netlink.c
5408                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5409                         don't need this hack any more (Benoit Boissinot)
5410
5411 2008-03-06  Dan Williams  <dcbw@redhat.com>
5412
5413         * autogen.sh
5414                 - Die gnome-common, die
5415
5416 2008-03-04  Dan Williams  <dcbw@redhat.com>
5417
5418         Patch from Michael Biebl <biebl@debian.org>
5419
5420         * NetworkManager.pc.in
5421                 - doesn't actually depend on dbus-1
5422
5423         * libnm-util/nm-utils.h
5424                 - remove unused #include <dbus/dbus.h>
5425
5426         * libnm-glib/libnm_glib.pc.in
5427                 - depends on glib and dbus-glib
5428
5429 2008-03-02  Dan Williams  <dcbw@redhat.com>
5430
5431         * src/NetworkManagerPolicy.c
5432                 - s/device_state_changed_idle_id/update_state_id/
5433
5434 2008-03-02  Dan Williams  <dcbw@redhat.com>
5435
5436         * src/nm-device.c
5437           src/nm-device.h
5438           src/nm-device-802-11-wireless.c
5439           src/nm-device-802-3-ethernet.c
5440           src/NetworkManagerPolicy.c
5441                 - s/link_active/carrier
5442                 - nm_device_set_active_link() -> nm_device_set_carrier()
5443                 - nm_device_has_active_link() -> nm_device_get_carrier()
5444
5445 2008-03-02  Dan Williams  <dcbw@redhat.com>
5446
5447         * system-settings/plugins/ifcfg-fedora/parser.c
5448                 - (make_wireless_setting): fail connection creation on missing SSID
5449
5450 2008-02-29  Dan Williams  <dcbw@redhat.com>
5451
5452         * src/NetworkManagerPolicy.c
5453                 - (nm_policy_device_change_check): ensure that a previously active
5454                         device with a system connection has a link before denying a switch
5455                         to a user connection
5456
5457 2008-02-29  Dan Williams  <dcbw@redhat.com>
5458
5459         * src/nm-device-802-11-wireless.c
5460                 - (link_timeout_cb): try again if scanning; deactivate the device when
5461                         activated if the link dies
5462                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5463                         15 seconds
5464
5465 2008-02-29  Dan Williams  <dcbw@redhat.com>
5466
5467         * src/nm-device-802-11-wireless.c
5468           src/nm-device-802-11-wireless.h
5469                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5470                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5471                 - (device_cleanup): reset the scan interval lower when the device
5472                         deactivates
5473                 - (can_scan): base decision mostly off device state, not supplicant
5474                         interface state since the supplicant interface state isn't a
5475                         great indicator of whether the device is active or not
5476                 - (request_wireless_scan): clean up; schedule the next scan here
5477                 - (schedule_scan): only back the scan interval off if a new scan
5478                         actually gets scheduled; and make scan intervals tighter when the
5479                         device is disconnected
5480                 - (supplicant_iface_state_cb_handler): fold in the bits of
5481                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5482                         interval to minimum
5483                 - (activation_success_handler): reset scan interval to something
5484                         reasonable 
5485
5486 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5487
5488         reviewed by: Steev <steev@steev.net>
5489
5490         * configure.in:
5491         * src/backends/NetworkManagerGentoo.c:
5492         (nm_system_restart_mdns_responder):
5493                 Howl is no longer a supported mDNS provider
5494
5495 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5496
5497         Get rid of a bunch of unused distro specific functions.
5498
5499 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5500
5501         Implement suse plugin for system settings daemon.
5502
5503         * system-settings/plugins/ifcfg-suse/*: Implement.
5504
5505         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5506         suse.
5507
5508         * configure.in: Check (without failing) for gio.
5509         Create ifcfg-suse plugin's Makefile.
5510
5511 2008-02-20  Dan Williams  <dcbw@redhat.com>
5512
5513         * libnm-util/nm-connection.c
5514           libnm-util/nm-connection.h
5515                 - (nm_connection_compare): accept compare flags and pass them to the
5516                         setting compare function
5517
5518         * libnm-util/nm-setting.c
5519           libnm-util/nm-setting.h
5520                 - (nm_setting_compare): accept compare flags; ignore properties that are
5521                         marked fuzzy
5522
5523         * libnm-util/nm-setting-connection.c
5524           libnm-util/nm-setting-wireless.c
5525           libnm-util/nm-setting-ppp.c
5526           libnm-util/nm-setting-wired.c
5527                 - Mark some setting properties as ignorable when doing a fuzzy compare
5528
5529         * src/nm-device.c
5530                 - (device_activation_precheck): use exact compare
5531
5532 2008-02-20  Dan Williams  <dcbw@redhat.com>
5533
5534         * src/NetworkManagerPolicy.c
5535                 - (nm_policy_device_change_check): get scope off the connection, not
5536                         using the manager helper
5537
5538         * src/nm-manager.c
5539           src/nm-manager.h
5540                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5541                 - (connection_get_settings_cb): set scope and path on connection, not
5542                         using GObject data items
5543                 - (get_connection_for_proxy): don't need to return path, since that
5544                         can be gotten from the connection
5545                 - (get_connection_for_proxy): get path off the connection, not from
5546                         parameters
5547                 - (connection_removed_cb, connection_updated_cb): don't need to get
5548                         path from get_connection_for_proxy(); get scope off the connection
5549                         instead of using GObject data items
5550                 - (connection_added_default_handler, add_one_connection_element): use
5551                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5552                 - (nm_manager_get_connection_dbus_path): remove
5553                 - (nm_manager_get_connection_scope): remove
5554
5555 2008-02-20  Dan Williams  <dcbw@redhat.com>
5556
5557         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5558                 on confusing names
5559
5560         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5561                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5562                 NMExportedConnection
5563
5564         * Internally rename NMConnectionType -> NMConnectionScope
5565
5566         * Provide default implementations of the 'get_id' and 'get_settings' methods
5567                 of NMExportedConnection
5568
5569 2008-02-15  Dan Williams  <dcbw@redhat.com>
5570
5571         * src/nm-device-802-11-wireless.c
5572                 - (device_cleanup): release the AP list here too so that the AP list
5573                         doesn't survive across suspend/resume and up/down.  There is some
5574                         room for optimization, for example blow the list away when the card
5575                         brought back up, but only if the device has only been down for a
5576                         minute or more.
5577
5578 2008-02-15  Dan Williams  <dcbw@redhat.com>
5579
5580         * src/nm-hal-manager.c
5581                 - (modem_device_creator): recognize new HAL modem capabilities
5582
5583 2008-02-12  Dan Williams  <dcbw@redhat.com>
5584
5585         * system-settings/plugins/ifcfg-fedora/plugin.c
5586                 - (watch_path): handle IN_DELETE_SELF too
5587                 - (handle_connection_changed): notify when removing a connection
5588                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5589                         case of a file moving out of the profile directory
5590
5591 2008-02-12  Dan Williams  <dcbw@redhat.com>
5592
5593         * system-settings/plugins/ifcfg-fedora/parser.c
5594                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5595
5596 2008-02-12  Dan Williams  <dcbw@redhat.com>
5597
5598         * libnm-util/nm-utils.c
5599                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5600                         just any empty array
5601
5602 2008-02-12  Dan Williams  <dcbw@redhat.com>
5603
5604         * system-settings/src/nm-system-config-interface.c
5605           system-settings/src/nm-system-config-interface.h
5606                 - (load_connections): get_connections() should now return an allocated
5607                         GSList that the system settings service will free
5608
5609         * system-settings/plugins/ifcfg-fedora/plugin.c
5610           system-settings/plugins/ifcfg-fedora/parser.h
5611           system-settings/plugins/ifcfg-fedora/parser.c
5612                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5613                         in the profile directory, handle resolv.conf file changes
5614
5615 2008-02-10  Dan Williams  <dcbw@redhat.com>
5616
5617         * src/nm-device-802-3-ethernet.c
5618                 - (real_bring_up): save the supplicant interface state signal id
5619                 - (real_bring_down): disconnect from the supplicant interface state
5620                         signal
5621
5622 2008-02-07  Dan Williams  <dcbw@redhat.com>
5623
5624         * initscript/RedHat/NetworkManager.in
5625           initscript/RedHat/NetworkManagerDispatcher.in
5626                 - Add new-style LSB init headers
5627
5628 2008-02-07  Dan Williams  <dcbw@redhat.com>
5629
5630         * system-settings/src/dbus-settings.c
5631           system-settings/src/dbus-settings.h
5632                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5633                         table of secrets
5634                 - (connection_settings_get_secrets): consolidate error returns into
5635                         one place; use the new get_secrets() plugin interface function to
5636                         get secrets from the plugin itself rather than using GObject data
5637                         magic
5638
5639         * system-settings/src/main.c
5640                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5641                    load_connections): keep a private list of the plugin-returned
5642                         connections, don't use the plugin's GSList
5643
5644         * system-settings/plugins/ifcfg-fedora/plugin.c
5645                 - (watch_path): watch the path, not the filename (duh)
5646                 - (reload_all_connections): use the direct hash/equal functions; the
5647                         ones for int aren't appropriate here
5648                 - (get_secrets, system_config_interface_init): implement the
5649                         get_secrets() function
5650                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5651                         now in the connection's ConnectionData instead of being a GObject
5652                         data property
5653                 - (handle_profile_item_changed): ifcfg file path is now in the
5654                         connection's ConnectionData instead of being a GObject data property;
5655                         be sure to copy secrets over from the new connection to the existing
5656                         connection when updating the connection's settings
5657                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5658                         file descriptor
5659
5660         * system-settings/plugins/ifcfg-fedora/parser.c
5661           system-settings/plugins/ifcfg-fedora/parser.h
5662                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5663                    connection_data_copy_secrets, connection_data_free,
5664                    connection_data_add): new functions; connection data manipulation
5665                 - (make_wireless_security_setting): stuff secrets into the
5666                         connection data, not as GObject data items; make sure to close
5667                         the keys ifcfg file
5668                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5669                         connection data to the connection
5670
5671 2008-02-07  Dan Williams  <dcbw@redhat.com>
5672
5673         * system-settings/src/nm-system-config-interface.c
5674           system-settings/src/nm-system-config-interface.h
5675                 - Add a get_secrets() interface function to retrieve secrets for a
5676                         specific setting of a specific connection.  Document the interface
5677                         a bit more too.
5678
5679 2008-02-07  Dan Williams  <dcbw@redhat.com>
5680
5681         * src/nm-device-802-11-wireless.c
5682                 - (handle_auth_or_fail): new function; consolidate device activation
5683                         failure check after a certain number of failures getting secrets
5684                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5685                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5686                         the connection if secrets were requested more than a few times
5687                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5688                         tries here; otherwise they are cleared before the IP configure
5689                         timeout, which happens with open system WEP when key is wrong
5690                 - (activation_success_handler): clear wireless secrets tries here too
5691
5692 2008-02-07  Dan Williams  <dcbw@redhat.com>
5693
5694         * src/NetworkManagerPolicy.c
5695                 - (connection_updated): clear invalid tag when connection gets updated
5696                         to allow that connection to be tried again
5697                 - (nm_policy_new): save signal ids so they can be disconnected when
5698                         the policy is destroyed
5699                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5700                         and disconnect all signals from the manager object so that none
5701                         of the policy functions gets called after the policy is destroyed
5702
5703 2008-02-06  Dan Williams  <dcbw@redhat.com>
5704
5705         * src/nm-manager.c
5706                 - (finalize): remove devices a bit earlier; clean up system settings
5707                         poke
5708                 - (nm_manager_name_owner_changed): clean up system settings poke when
5709                         the service appears, and try to restart it if it fails
5710                 - (poke_system_settings_daemon_cb): try to get the system settings
5711                         service started through D-Bus service activation
5712                 - (initial_get_connections): start the system settings daemon if it's
5713                         not already running
5714
5715 2008-02-05  Dan Williams  <dcbw@redhat.com>
5716
5717         * src/supplicant-manager/nm-supplicant-config.c
5718                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5719                         broadcast networks too
5720
5721 2008-02-04  Dan Williams  <dcbw@redhat.com>
5722
5723         * system-settings/plugins/ifcfg-fedora/parser.c
5724                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5725                         need key_mgmt set too
5726                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5727                         .bak files; ensure that an error is set whenever NULL gets returned
5728
5729 2008-02-04  Dan Williams  <dcbw@redhat.com>
5730
5731         * system-settings/src/Makefile.am
5732                 - Install D-Bus service activation file for the system settings
5733                         service
5734
5735         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5736                 - D-Bus service activation file for system settings service
5737
5738 2008-02-04  Dan Williams  <dcbw@redhat.com>
5739
5740         * system-settings/src/main.c
5741                 - (parse_config_file): parse a config file
5742                 - (main): accept --config option and read plugins from config file
5743
5744 2008-02-04  Dan Williams  <dcbw@redhat.com>
5745
5746         * system-settings/plugins/ifcfg-fedora/plugin.c
5747                 - Change reported name to 'ifcfg-fedora'
5748                 - Use IFCFG_PLUGIN_NAME
5749
5750         * system-settings/plugins/ifcfg-fedora/plugin.c
5751                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5752
5753 2008-02-04  Dan Williams  <dcbw@redhat.com>
5754
5755         * system-settings/plugins/ifcfg-fedora/parser.c
5756                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5757                 - (make_connection_setting): use get_ifcfg_name()
5758                 - (make_wireless_security_setting): handle shadow key files
5759                 - (get_one_wep_key): treat empty string as NULL
5760
5761 2008-02-04  Dan Williams  <dcbw@redhat.com>
5762
5763         * src/supplicant-manager/nm-supplicant-manager.c
5764                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5765                         glib automatically reschedule
5766                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5767                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5768                         the supplicant
5769
5770 2008-02-01  Dan Williams  <dcbw@redhat.com>
5771
5772         * src/NetworkManagerPolicy.c
5773                 - (device_state_changed): schedule a change check when a device gets
5774                         deactivated so something happens if you disconnect GSM/CDMA
5775
5776 2008-01-31  Dan Williams  <dcbw@redhat.com>
5777
5778         * src/nm-device-802-11-wireless.h
5779           src/nm-device-802-11-wireless.c
5780                 - (ap_list_get_ap_by_ssid, is_associated,
5781                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5782                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5783                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5784                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5785                         function
5786
5787 2008-01-30  Dan Williams  <dcbw@redhat.com>
5788
5789         * system-settings/plugins/ifcfg
5790         * system-settings/plugins/ifcfg-fedora
5791                 - Move the ifcfg plugin to ifcfg-fedora
5792
5793 2008-01-24  Dan Williams  <dcbw@redhat.com>
5794
5795         * libnm-glib/nm-device-802-11-wireless.c
5796                 - (get_access_point): move the "/" check here; check for invalid path
5797                         too
5798                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5799                         to get_access_point()
5800                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5801                         to send signals for non-existent access points
5802
5803 2008-01-24  Dan Williams  <dcbw@redhat.com>
5804
5805         * libnm-glib/nm-device-802-11-wireless.c
5806                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5807
5808 2008-01-23  Dan Williams  <dcbw@redhat.com>
5809
5810         * libnm-glib/libnm_glib.c
5811                 - (libnm_glib_init): make thread joinable
5812                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5813
5814 2008-01-23  Dan Williams  <dcbw@redhat.com>
5815
5816         * test/libnm_glib_test.c
5817                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5818                 - (main): set up signal handlers; call libnm_glib_shutdown
5819
5820 2008-01-21  Dan Williams  <dcbw@redhat.com>
5821
5822         * include/NetworkManager.h
5823                 - Add CDMA mobile broadband card device type
5824
5825         * src/nm-hal-manager.c
5826                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5827                         must now be tagged with 'cdma' or 'gsm' capability
5828
5829         * src/nm-cdma-device.c
5830           src/nm-cdma-device.h
5831           src/Makefile.am
5832                 - Add the CDMA mobile broadband card device class
5833
5834         * libnm-util/nm-connection.c
5835                 - (register_default_settings): add NMSettingCdma
5836
5837         * libnm-util/nm-setting-cdma.c
5838           libnm-util/nm-setting-cdma.h
5839           libnm-util/Makefile.am
5840                 - Add the CDMA mobile broadband card setting class
5841
5842         * libnm-glib/nm-cdma-device.c
5843           libnm-glib/nm-cdma-device.h
5844           libnm-glib/Makefile.am
5845                 - Add the CDMA mobile broadband card GLib proxy class
5846
5847         * libnm-glib/nm-client.c
5848                 - (get_device): handle CDMA devices too
5849
5850 2008-01-21  Dan Williams  <dcbw@redhat.com>
5851
5852         * src/ppp-manager/nm-ppp-manager.c
5853                 - (ip4_config_get): set peer address too
5854
5855         * src/ppp-manager/nm-pppd-plugin.c
5856                 - (nm_ip_up): try harder to get the peer's address
5857
5858         * src/NetworkManagerSystem.c
5859                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5860                         address, use that too.  Otherwise, some PPP connections won't work.
5861
5862 2008-01-19  Dan Williams  <dcbw@redhat.com>
5863
5864         * src/NetworkManagerPolicy.c
5865                 - (nm_policy_device_change_check): system connections override user
5866                         connections; don't activate a user connection if there's a currently
5867                         active system connection, and new, better system connections always
5868                         interrupt user connections
5869
5870 2008-01-19  Dan Williams  <dcbw@redhat.com>
5871
5872         * src/nm-manager.h
5873                 - (nm_manager_get_connection_type): new function
5874
5875 2008-01-19  Dan Williams  <dcbw@redhat.com>
5876
5877         * src/nm-device-802-11-wireless.c
5878                 - (real_get_best_connection): collapse find_best_connection() into this
5879                         function
5880
5881 2008-01-19  Dan Williams  <dcbw@redhat.com>
5882
5883         * src/nm-device-802-3-ethernet.c
5884                 - (real_get_best_connection): collapse find_best_connection() into this
5885                         function
5886
5887 2008-01-18  Dan Williams  <dcbw@redhat.com>
5888
5889         * src/nm-device-802-3-ethernet.c
5890                 - (find_best_connection): check MAC address too
5891                 - (real_get_best_connection): let autoconnect=True connections activate
5892                         for devices that don't have carrier detection
5893
5894         * src/nm-device-802-11-wireless.c
5895                 - (find_best_connection): check MAC address too
5896
5897 2008-01-18  Dan Williams  <dcbw@redhat.com>
5898
5899         * system-settings/plugins/ifcfg/parser.c
5900                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5901
5902 2008-01-17  Dan Williams  <dcbw@redhat.com>
5903
5904         * src/nm-device-802-3-ethernet.c
5905                 - (nm_device_802_3_ethernet_carrier_on,
5906                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5907                         carrier events that might come in for devices that don't support
5908                         carrier detect
5909
5910 2008-01-17  Dan Williams  <dcbw@redhat.com>
5911
5912         * src/nm-device-interface.c
5913                 - (nm_device_interface_check_connection_conflicts): need to actually
5914                         get the interface, not cast to the object
5915
5916         * src/nm-device.c
5917                 - (nm_device_check_connection_conflicts): need to get the device class,
5918                         not cast the device to the device class
5919
5920 2008-01-17  Dan Williams  <dcbw@redhat.com>
5921
5922         * src/nm-device-802-11-wireless.c
5923                 - (real_check_connection_conflicts): ignore connections that aren't
5924                         wireless connections
5925
5926 2008-01-17  Dan Williams  <dcbw@redhat.com>
5927
5928         * src/NetworkManagerPolicy.c
5929                 - (nm_policy_device_change_check): clear change check idle here
5930                 - (device_change_check_done): remove
5931                 - (schedule_change_check): simplify
5932
5933 2008-01-17  Dan Williams  <dcbw@redhat.com>
5934
5935         * src/nm-manager.c
5936                 - (check_connection_allowed): take an NMDeviceInterface instead of
5937                         an NMDevice object as an argument
5938                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5939                         check_connection_allowed()
5940
5941 2008-01-13  Dan Williams  <dcbw@redhat.com>
5942
5943         * libnm-glib/nm-device-802-11-wireless.c
5944                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5945
5946 2008-01-12  Dan Williams  <dcbw@redhat.com>
5947
5948         * src/nm-device-802-11-wireless.c
5949                 - (activation_success_handler): if a match was found in the scan list
5950                         and that match is a hidden AP, update that AP's SSID
5951
5952 2008-01-11  Dan Williams  <dcbw@redhat.com>
5953
5954         * src/NetworkManagerAP.c
5955                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5956
5957         * src/nm-device-802-11-wireless.c
5958                 - (get_active_ap): do two passes over the scan list if the caller
5959                         requests that hidden APs get matched too; during the second pass
5960                         when matching hidden APs, ignore the SSID since hidden APs in the
5961                         scan list don't have an SSID yet
5962                 - (periodic_update): move some checks to
5963                         nm_device_802_11_periodic_update() because not all callers need them
5964                 - (nm_device_802_11_periodic_update): move some checks here from
5965                         perodic_update()
5966                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5967                         matching on incoming scan results, because the fake AP's flags
5968                         might be slightly different (yet still compatible) with the incoming
5969                         scan result's flags and they might actually be the same AP; update
5970                         the rate on merged APs too
5971                 - (activation_success_handler): update the frequency of the fake AP
5972                         on successful connection; match hidden APs too since if the
5973                         current AP is fake, there might already be a scan result in the
5974                         scan list for the desired AP, just without it's SSID filled in yet
5975
5976 2008-01-10  Dan Williams  <dcbw@redhat.com>
5977
5978         * src/NetworkManagerAP.c
5979                 - (foreach_property_cb): catch more hidden SSID formats
5980
5981 2008-01-10  Dan Williams  <dcbw@redhat.com>
5982
5983         Fix gnome.org #464215.  Requires the kernel patch titled
5984         "Introduce WEXT scan capabilities" but will handle the patch not being
5985         present, you'll just continue to have problems with hidden SSIDs when
5986         using mac80211-based drivers.
5987
5988         * src/supplicant-manager/nm-supplicant-config.h
5989           src/supplicant-manager/nm-supplicant-config.c
5990                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5991                         whether the driver supports SSID scans or not.  If it does, and if
5992                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5993
5994         * src/nm-device-802-11-wireless.c
5995                 - (constructor): check whether or not the driver supports SSID scans
5996                 - (build_supplicant_config): pass driver SSID scan capability when
5997                         building the wireless bits of the supplicant config
5998
5999 2008-01-09  Dan Williams  <dcbw@redhat.com>
6000
6001         * src/nm-device.c
6002           src/nm-device.h
6003                 - (device_activation_precheck, check_connection_complete): remove this
6004                         virtual function; incomplete connections should be invalid by
6005                         definition, complete-ness should be checked in the setting's
6006                         verify function
6007
6008         * src/nm-serial-device.c
6009           src/nm-gsm-device.c
6010                 - (real_check_connection_complete): remove
6011
6012         * libnm-util/nm-setting-serial.c
6013                 - (verify): new function; ensure there is a PPP setting too
6014
6015         * libnm-util/nm-setting-gsm.c
6016                 - (verify): ensure there is a serial setting too
6017
6018 2008-01-06  Dan Williams  <dcbw@redhat.com>
6019
6020         * src/dhcp-manager/nm-dhcp-manager.c
6021                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6022                         (gnome.org #332953)
6023
6024 2008-01-04  Dan Williams  <dcbw@redhat.com>
6025
6026         * src/named-manager/nm-named-manager.c
6027                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6028                         nameservers if the secondary config doesn't have any
6029                         (gnome.org #346833)
6030
6031 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6032
6033         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6034         with G_PARAM_CONSTRUCT so that they get the default values.
6035
6036         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6037         the monitoring device and prints out the output for now. Or more precicely, doesn't
6038         do absolutely anything right now since the montoring device argument is never set.
6039
6040         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6041         requires it's own knob to turn it on.
6042         (config_fd): Add NMSettingSerial to the arguments list.
6043         (nm_serial_device_open): Ditto.
6044         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6045         (nm_serial_device_get_io_channel): Implement.
6046
6047         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6048         a new reference every time (and forgetting to release it sometimes) is a pain and
6049         it's not like NMManager could work without dbus.
6050         (nm_manager_add_device): Register the added device on dbus here.
6051
6052         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6053         device.
6054
6055         * src/nm-device.c (constructor): Don't export the device here, instead export
6056         it when it's added to the NMManager's device list.
6057
6058 2007-12-31  Dan Williams  <dcbw@redhat.com>
6059
6060         * src/nm-device-interface.c
6061           src/nm-device-interface.h
6062                 - (nm_device_interface_check_connection_conflicts): new function
6063
6064         * src/nm-device.c
6065           src/nm-device.h
6066                 - (nm_device_check_connection_conflicts): new function
6067                 - (device_activation_precheck): don't require subclasses to implement
6068                         check_connection_complete()
6069                 - check_connection() -> check_connection_complete()
6070
6071         * src/nm-device-802-11-wireless.c
6072                 - (real_check_connection): remove; unused
6073                 - (real_check_connection_conflicts): implement, handle lockdown for
6074                         system connections
6075
6076         * src/nm-device-802-3-ethernet.c
6077                 - (real_check_connection): remove; unused
6078
6079         * src/nm-manager.c
6080                 - (check_connection_allowed): new function
6081                 - (nm_manager_activate_device): ensure the connection being requested
6082                         is allowed to be activated
6083
6084         * src/nm-serial-device.c
6085           src/nm-gsm-device.c
6086                 - real_check_connection() -> real_check_connection_complete()
6087
6088 2007-12-27  Dan Williams  <dcbw@redhat.com>
6089
6090         * src/nm-device-interface.c
6091           src/nm-device-interface.h
6092                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6093                         normalize and expand errors
6094                 - (nm_device_interface_init): register errors so they can be marshalled
6095                         through dbus-glib
6096                 - (nm_device_interface_activate): ensure that failure of activation
6097                         returns an error
6098
6099         * src/nm-device.c
6100           src/nm-device.h
6101                 - (device_activation_precheck): implementations of check_connection()
6102                         now take a GError and must fill it in if the check fails.  Return
6103                         more descriptive error if the requested connection is already
6104                         activating
6105                 - (nm_device_activate): actually try to return descriptive errors on
6106                         failures
6107
6108         * src/nm-device-802-11-wireless.c
6109           src/nm-device-802-3-ethernet.c
6110           src/nm-serial-device.c
6111           src/nm-gsm-device.c
6112                 - (real_check_connection): return more descriptive errors on failure
6113
6114         * src/NetworkManagerPolicy.c
6115                 - (nm_policy_device_change_check): print activation errors in the logs
6116
6117         * src/nm-manager.c
6118                 - (nm_manager_error_quark, nm_manager_error_get_type,
6119                    nm_manager_class_init): new errors
6120                 - (nm_manager_activate_device): handle errors
6121                 - (nm_manager_error_new): removed
6122                 - (wait_for_connection_expired, connection_added_default_handler,
6123                    impl_manager_activate_device): better error handling
6124
6125 2007-12-27  Dan Williams  <dcbw@redhat.com>
6126
6127         Fixes gnome.org #466954
6128
6129         * src/supplicant-manager/nm-supplicant-settings-verify.c
6130                 - Allow 'frequency' network property
6131
6132         * src/supplicant-manager/nm-supplicant-config.c
6133           src/supplicant-manager/nm-supplicant-config.h
6134                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6135                         for callers to specify the frequency an Ad-Hoc network should operate
6136                         on.  Some drivers require this to successfully create an Ad-Hoc
6137                         network.
6138
6139         * src/nm-device-802-11-wireless.c
6140                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6141                         guint32 value in MHz
6142                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6143                         iw_freq_to_uint32()
6144                 - (find_supported_frequency): new function; find a free supported
6145                         frequency for a user-created Ad-Hoc network
6146                 - (build_supplicant_config): if no frequency was specified for a user-
6147                         created Ad-Hoc network, find a free one to use
6148                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6149                         a specific object as user-created
6150
6151 2007-12-27  Dan Williams  <dcbw@redhat.com>
6152
6153         * libnm-util/nm-utils.c
6154           libnm-util/nm-utils.h
6155                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6156                         for adhoc networks
6157
6158 2007-12-24  Dan Williams  <dcbw@redhat.com>
6159
6160         * libnm-util/nm-setting-wireless.c
6161                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6162                         185, 187, 188, 192, and 196
6163
6164 2007-12-24  Dan Williams  <dcbw@redhat.com>
6165
6166         * src/nm-device-802-11-wireless.c
6167                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6168                         a channel # instead of a frequency
6169
6170 2007-12-24  Dan Williams  <dcbw@redhat.com>
6171
6172         * src/NetworkManagerAP.c
6173           src/NetworkManagerAP.h
6174                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6175                 - (freq_to_channel): handle split band tables
6176                 - (channel_to_freq): handle split band tables, take a band argument
6177
6178 2007-12-24  Dan Williams  <dcbw@redhat.com>
6179
6180         * libnm-util/nm-setting-connection.h
6181           libnm-util/nm-setting-connection.c
6182                 - Add 'lockdown' member
6183
6184 2007-12-22  Dan Williams  <dcbw@redhat.com>
6185
6186         * libnm-util/nm-setting-wireless.c
6187                 - (nm_setting_wireless_class_init): add missing 'rate' property
6188                         specification
6189
6190 2007-12-18  Dan Williams  <dcbw@redhat.com>
6191
6192         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6193
6194         * src/nm-netlink-monitor.c
6195           src/nm-netlink-monitor.h
6196                 - Remove handrolled netlink, use libnl instead
6197
6198         * src/nm-device-802-3-ethernet.c
6199                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6200                    nm_device_802_3_ethernet_carrier_on): use new names
6201
6202 2007-12-17  Dan Williams  <dcbw@redhat.com>
6203
6204         * configure.in
6205                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6206                         and fixes memory leaks)
6207
6208         * src/nm-netlink.c
6209                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6210                         automatically handle the netlink PID
6211
6212 2007-12-17  Dan Williams  <dcbw@redhat.com>
6213
6214         Patch from Michael Biebl <biebl@debian.org>
6215
6216         * configure.in
6217           src/ppp-manager/Makefile.am
6218                 - fix up install dir of pppd plugin
6219                 - clean up configure.in a bit
6220
6221 2007-12-12  Dan Williams  <dcbw@redhat.com>
6222
6223         * system-settings/src/nm-system-settings.conf
6224                 - Allow non-root clients (like the applet) to read settings
6225
6226 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6227
6228         * Replace all occurences of 'UMTS' with 'GSM'.
6229
6230 2007-12-07  Dan Williams  <dcbw@redhat.com>
6231
6232         * src/nm-serial-device.c
6233                 - (real_is_up): serial devices are always "up"
6234
6235 2007-12-07  Dan Williams  <dcbw@redhat.com>
6236
6237         * src/nm-netlink.c
6238           src/NetworkManagerSystem.c
6239                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6240                         twice (gnome.org #491047)
6241                 - Make more robust against allocation-related failures should they occur
6242
6243 2007-12-07  Dan Williams  <dcbw@redhat.com>
6244
6245         Noticed by Christian Persch <chpe@gnome.org>
6246
6247         Always chain up to parent object in dispose and finalize handlers.
6248                 (gnome.org #433112)
6249
6250 2007-12-07  Dan Williams  <dcbw@redhat.com>
6251
6252         * src/nm-device-802-11-wireless.c
6253                 - Wrap #include of linux/mii.h to fix redefined structures due to
6254                         incorrect kernel headers (gnome.org #350061)
6255
6256 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6257
6258         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6259         before doing anything else.
6260         (init_modem): Move modem initialization here.
6261
6262         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6263         (nm_serial_device_flash): Implement.
6264
6265         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6266         changes signal is "StateChanged" and not "Status".
6267         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6268
6269 2007-12-06  Dan Williams  <dcbw@redhat.com>
6270
6271         * src/supplicant-manager/nm-supplicant-config.c
6272                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6273                         to only send some options when they make sense; also send phase2
6274                         option to the supplicant (possible fix for rh #399631)
6275
6276 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6277
6278         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6279         arguments: This whole file shouldn't really know anything about NMDevices, it
6280         should deal only with device interfaces. Devices might have different ifaces for
6281         different stuff and this place shouldn't know anything about it.
6282
6283         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6284         (global_state_changed): Implement. In the current NM it's not really important,
6285         but will be required in the case of multiple active devices. (Or even better,
6286         if stuff like that gets moved out from NM).
6287
6288         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6289         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6290         instead.
6291
6292         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6293         devices like serial devices (ttyS0 and ppp0 for example).
6294         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6295         set.
6296         (nm_device_set_ip_iface): Implement.
6297         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6298         after setting ip4_config from here ...
6299         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6300         than this function should call nm_system_device_set_from_ip4_config() because no
6301         other code has enough information on which arguments to use. So instead, other code
6302         could just set the new ip4 config using this function and everyone is happy.
6303
6304         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6305         if we happen to get deactivated while something is pending.
6306         (automatic_registration): Handle the response that indicates pending network
6307         registration and wait until the pending registration is done.
6308         (real_deactivate_quickly): If there's a pending operation, cancel it.
6309
6310         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6311         (real_deactivate_quickly): ... and remove it when it's down.
6312         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6313         it if needed.
6314         (nm_serial_device_wait_for_reply): Ditto.
6315
6316 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6317
6318         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6319         (get_network_done): Remove newline, nm_info() does it already.
6320         (real_act_stage1_prepare): Turn the modem echo off.
6321
6322         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6323         device, set the route to the device interface. This is a hack.
6324
6325         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6326         return, no need for a new-line.
6327         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6328         Change the device iface here (ugh).
6329         (real_act_stage4_get_ip4_config): Implement.
6330         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6331         Restore the device iface.
6332
6333         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6334         device is not wired or wireless (eg, automatically upped) device.
6335
6336         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6337         it isn't.
6338         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6339
6340         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6341         before calling it's is_device_fn().
6342
6343 2007-12-05  Dan Williams  <dcbw@redhat.com>
6344
6345         * libnm-util/nm-utils.c
6346                 - (nm_utils_register_value_transformations,
6347                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6348                         GHashTables of GValues too
6349
6350 2007-12-04  Dan Williams  <dcbw@redhat.com>
6351
6352         * initscript/RedHat/NetworkManager.in
6353                 - No longer start named; it's D-Bus interface is going away
6354
6355 2007-12-04  Dan Williams  <dcbw@redhat.com>
6356
6357         Patch from Michael Biebl <biebl@debian.org>
6358
6359         * system-settings/plugins/ifcfg/Makefile.am
6360           system-settings/src/main.c
6361           system-settings/src/Makefile.am
6362                 - Put system settings plugins in NM plugins dir
6363
6364         * src/ppp-manager/Makefile.am
6365           src/ppp-manager/nm-ppp-manager.c
6366                 - Move pppd plugin to NM plugins dir
6367
6368 2007-12-04  Dan Williams  <dcbw@redhat.com>
6369
6370         * libnm-util/nm-setting-vpn-properties.h
6371                 - Clarify usage of the 'data' member of the setting
6372
6373         * libnm-util/nm-setting-vpn-properties.c
6374                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6375                 - (set_property): just remove all the settings; don't recreate the has
6376                 - (update_one_secret): don't need to create the hash table here since
6377                         it should always be present
6378
6379 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6380
6381         Implement PIN and PUK requesting.
6382
6383         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6384         (enter_pin): Handle PIN and PUK requests.
6385         (real_act_stage1_prepare): Clear the secret type.
6386         (real_connection_secrets_updated): Implement this class method to get
6387         notified when new secrets arrive.
6388         (nm_umts_device_class_init): Add private data back to the umts device class
6389         to store the required secret type.
6390
6391 2007-12-01  Dan Williams  <dcbw@redhat.com>
6392
6393         * system-settings/plugins/ifcfg/parser.c
6394                 - (parser_parse_file): don't try to verify NULL connections
6395
6396 2007-12-01  Dan Williams  <dcbw@redhat.com>
6397
6398         * system-settings/src/main.c
6399                 - (load_connections, add_connection_to_settings): actually export
6400                         plugin-provided connections over D-Bus so NM can get them
6401
6402 2007-12-01  Dan Williams  <dcbw@redhat.com>
6403
6404         * system-settings/plugins/ifcfg/parser.c
6405           system-settings/plugins/ifcfg/parser.h
6406           system-settings/plugins/ifcfg/plugin.c
6407                 - Hook up more inotify bits (untested)
6408
6409 2007-11-29  Dan Williams  <dcbw@redhat.com>
6410
6411         * system-settings/src/nm-system-config-interface.h
6412           system-settings/src/nm-system-config-interface.c
6413                 - (nm_system_config_interface_init,
6414                    nm_system_config_interface_get_connections): add
6415
6416         * system-settings/src/main.c
6417                 - (load_plugins, load_connections, main): use a GSList for plugins
6418                         to ensure priority ordering
6419
6420         * system-settings/plugins/ifcfg/parser.c
6421                 - (ifcfg_error_quark): move to plugin.c, and rename
6422
6423         * system-settings/plugins/ifcfg/plugin.h
6424           system-settings/plugins/ifcfg/plugin.c
6425                 - (ifcfg_plugin_error_quark): move here from parser.c
6426                 - rework connection loading and initialization
6427                 - Add preliminary inotify support for network profile config file
6428
6429 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6430
6431         Merge the beginnings of the new GSM card support.
6432
6433         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6434         ppp watch source before killing pppd - If this happens from g_object_unref()
6435         then the ppp manager is already destroyed by the time the watch callback runs.
6436
6437         * src/nm-hal-manager.c: Add a device_type_name string to the device
6438         creators, so that we can print a nice human readable string when a
6439         device is added.
6440
6441         * src/nm-umts-device.c (automatic_registration_get_network): Query
6442         for the activated network, not much is done with the result thought.
6443
6444         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6445         (ppp_ip4_config): Change the device state to activated here for now.
6446         (real_check_connection): Make sure the connection includes ppp setting.
6447
6448         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6449
6450         * libnm-glib/Makefile.am: Add the new files to build.
6451
6452         * libnm-glib/nm-umts-device.c: 
6453         * libnm-glib/nm-umts-device.h: Implement.
6454
6455 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6456
6457         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6458         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6459
6460         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6461         the timeout source - this function is only called when the timeout source has
6462         been removed.
6463         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6464         to be big enough to contain the terminating zero element as well.
6465         The timeout argument is meant to be in seconds now.
6466         (real_deactivate_quickly): Implement.
6467
6468         * src/NetworkManager.conf: Allow root to own 
6469         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6470
6471         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6472         (not unsigned ints).
6473
6474         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6475         small issue with parity bounds - capital letters have lower ascii codes
6476         than lower case letters.
6477
6478         * libnm-util/nm-connection.c (register_default_settings): Register serial
6479         and umts settings.
6480
6481 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6482
6483         Remove the "index" property from devices as not all device types have this.
6484
6485         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6486
6487         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6488         (wired_device_creator): Get the device interface from hal to create the device.
6489         (wireless_device_creator): Ditto.
6490
6491         * src/nm-device.c (nm_device_init): Remove the index member.
6492         (constructor): Remove the checks for index property, make interface property
6493         a require constructor property.
6494         Use the HAL udi for DBus path for devices.
6495         (nm_device_get_index): Remove.
6496         (set_property): Remove index handling.
6497         (get_property): Ditto.
6498         (nm_device_get_dbus_path): Remove.
6499
6500         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6501         property.
6502
6503         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6504         Access the device index through it's interface.
6505         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6506         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6507         index argument. Add interface argument.
6508
6509         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6510         the useless test_dev argument. Remove index argument. Add interface arugment.
6511
6512         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6513         device index through interface.
6514         (nm_system_set_mtu): Ditto.
6515
6516         * introspection/nm-device.xml: Remove the "Index" property.
6517
6518 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6519
6520         * src/nm-serial-device.c: 
6521         * src/nm-serial-device.c: 
6522         * src/nm-umts-device.c:
6523         * src/nm-umts-device.h: Implement.
6524
6525         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6526         allocated by libhal.
6527         (modem_device_creator): Implement.
6528         (register_built_in_creators): Register the modem creator.
6529
6530         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6531         Remove the unused test_dev argument.
6532
6533         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6534
6535         * src/Makefile.am: Add new files to build.
6536         Link in ppp-manager.
6537
6538         * libnm-util/nm-setting-umts.c: 
6539         * libnm-util/nm-setting-umts.h: 
6540         * libnm-util/nm-setting-serial.c: 
6541         * libnm-util/nm-setting-serial.h: Implement.
6542
6543         * libnm-util/Makefile.am: Add new files to build.
6544
6545 2007-11-28  Dan Williams  <dcbw@redhat.com>
6546
6547         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6548
6549         Support DHCP-provided static routes.
6550
6551         * src/nm-ip4-config.h
6552           src/nm-ip4-config.c
6553                 - Add get/set functions for static routes
6554
6555         * src/dhcp-manager/nm-dhcp-manager.c
6556                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6557                         DHCP response
6558
6559         * src/NetworkManagerSystem.c
6560                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6561                         interface when applying the IP4Config
6562
6563 2007-11-28  Dan Williams  <dcbw@redhat.com>
6564
6565         * src/nm-device-802-11-wireless.c
6566                 - (real_act_stage1_prepare): mark APs created for hidden networks
6567                         as non-broadcasting
6568
6569 2007-11-27  Dan Williams  <dcbw@redhat.com>
6570
6571         * system-settings/src/nm-system-config-interface.h
6572                 - Note how to store secrets on NMSetting objects
6573
6574         * system-settings/src/dbus-settings.c
6575                 - (connection_settings_get_secrets): implement
6576
6577 2007-11-27  Dan Williams  <dcbw@redhat.com>
6578
6579         * system-settings/plugins/ifcfg/Makefile.am
6580           system-settings/plugins/ifcfg/parser.c
6581           system-settings/plugins/ifcfg/parser.h
6582           system-settings/plugins/ifcfg/plugin.c
6583                 - Parse wireless connections too
6584
6585         * system-settings/src/dbus-settings.c
6586           system-settings/src/dbus-settings.h
6587           system-settings/src/main.c
6588                 - Handle connection update/removal if the plugin supports it
6589
6590 2007-11-27  Dan Williams  <dcbw@redhat.com>
6591
6592         * src/nm-dbus-manager.h
6593           src/nm-hal-manager.c
6594                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6595                         do it for them
6596
6597         * src/Makefile.am
6598           src/NetworkManagerDbusUtils.c
6599           src/NetworkManagerDbusUtils.h
6600                 - Remove these two source files; they are unused
6601
6602 2007-11-27  Dan Williams  <dcbw@redhat.com>
6603
6604         * src/vpn-manager/nm-vpn-manager.c
6605                 - (impl_vpn_manager_connect): fix system settings check (found by
6606                         James M. Leddy)
6607
6608 2007-11-26  Dan Williams  <dcbw@redhat.com>
6609
6610         * Fix warnings so everything compiles with --enable-more-warnings
6611
6612 2007-11-25  Dan Williams  <dcbw@redhat.com>
6613
6614         * system-settings/*
6615                 - Rework structure and code to use GModule-loaded plugins and a plugin
6616                         interface that plugins export to the system settings service
6617
6618 2007-11-21  Dan Williams  <dcbw@redhat.com>
6619
6620         * system-settings/*
6621                 - Add Soren's system settings service.  Needs work for distros other
6622                         than Fedora; the backends from NM should mostly migrate to here
6623                         and be converted to GObjects
6624
6625 2007-11-21  Dan Williams  <dcbw@redhat.com>
6626
6627         * libnm-util/nm-setting-vpn-properties.c
6628                 - (set_property): must deep-copy the given settings hash, otherwise
6629                         double-free errors occur when the setting is disposed of
6630
6631 2007-11-21  Dan Williams  <dcbw@redhat.com>
6632
6633         * src/vpn-manager/nm-vpn-act-request.h
6634           src/vpn-manager/nm-vpn-act-request.c
6635                 - Remove; unused
6636
6637 2007-11-20  Dan Williams  <dcbw@redhat.com>
6638
6639         * libnm-util/nm-utils.c
6640                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6641                    nm_utils_convert_ip4_addr_struct_array_to_string,
6642                    nm_utils_register_value_transformations): print out the readable
6643                         values of more types of properties of NMSettings subclasses
6644
6645 2007-11-20  Dan Williams  <dcbw@redhat.com>
6646
6647         * libnm-util/nm-setting-ip4-config.c
6648                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6649                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6650                         marshal GValueArrays inside collections, so switch to types that it
6651                         can actually marshal/demarshal
6652
6653 2007-11-16  Dan Williams  <dcbw@redhat.com>
6654
6655         * libnm-util/nm-setting-wireless-security.c
6656                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6657                         minimal verification of EAP methods too
6658                 - (verify): verify phase1 eap methods too
6659
6660 2007-11-15  Dan Williams  <dcbw@redhat.com>
6661
6662         * libnm-glib/nm-device.h
6663           libnm-glib/nm-device.c
6664                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6665                         const char *
6666
6667 2007-11-15  Dan Williams  <dcbw@redhat.com>
6668
6669         * libnm-glib/nm-device.c
6670                 - (get_product_and_vendor): don't try to free things that should be
6671                         freed
6672
6673 2007-11-15  Dan Williams  <dcbw@redhat.com>
6674
6675         * src/NetworkManagerUtils.c
6676                 - (nm_ethernet_address_is_valid): unbreak previous fix
6677
6678 2007-11-15  Dan Williams  <dcbw@redhat.com>
6679
6680         * src/supplicant-manager/nm-supplicant-config.c
6681                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6682                         options
6683
6684 2007-11-15  Dan Williams  <dcbw@redhat.com>
6685
6686         * src/NetworkManagerUtils.c
6687                 - (nm_ethernet_address_is_valid): fix style, clarify
6688                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6689
6690         * src/nm-device-802-11-wireless.c
6691                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6692                 - (nm_device_802_11_wireless_get_ssid,
6693                    nm_device_802_11_wireless_get_bssid,
6694                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6695                         before calling the ioctl; fixes valgrind-reported jump depends on
6696                         uninitialized value errors
6697
6698 2007-11-15  Dan Williams  <dcbw@redhat.com>
6699
6700         * libnm-util/nm-setting.c
6701                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6702                         unecessary to serialize 'name'
6703
6704         * src/nm-activation-request.c
6705                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6706                         the GetSecrets call
6707
6708 2007-11-15  Dan Williams  <dcbw@redhat.com>
6709
6710         * libnm-util/nm-setting-connection.h
6711           libnm-util/nm-setting-connection.c
6712                 - Rename the 'name' property to 'id', because it conflicted with the
6713                         NMSetting superclass' 'name' property.
6714
6715         * libnm-util/nm-setting.c
6716                 - (nm_setting_to_hash): serialize the 'name' property
6717                 - (one_property_cb): ignore 'name' on deserialization of a connection
6718
6719         * src/nm-device-802-11-wireless.c
6720           src/vpn-manager/nm-vpn-connection.c
6721           src/NetworkManagerPolicy.c
6722                 - Fix up for NMSettingConnection 'name'->'id' changes
6723
6724 2007-11-13  Dan Williams  <dcbw@redhat.com>
6725
6726         * libnm-glib/nm-device-802-11-wireless.h
6727           libnm-glib/nm-device-802-11-wireless.c
6728                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6729
6730         * test/nm-tool.c
6731           libnm-glib/libnm-glib-test.c
6732                 - Fixes for above change
6733
6734 2007-11-12  Dan Williams  <dcbw@redhat.com>
6735
6736         * src/supplicant-manager/nm-supplicant-settings-verify.c
6737                 - Allow fragment_size option
6738
6739         * src/supplicant-manager/nm-supplicant-settings-verify.c
6740                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6741                         EAP fragment size than the default to help some TLS connections
6742
6743 2007-11-12  Dan Williams  <dcbw@redhat.com>
6744
6745         Make certs actually work.  The private key is now a secret, and should be
6746         decrypted when requested by NM.  The private key and phase2 private key
6747         passwords are no longer interesting to NM because they should be used by
6748         the settings service to decrypt the private key itself before passing it
6749         to NM, and hence have been removed as fields.
6750
6751         * libnm-util/nm-setting-wireless-security.h
6752           libnm-util/nm-setting-wireless-security.c
6753                 - Remove private-key-passwd and phase2-private-key-passwd from
6754                         properties
6755                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6756                    need_secrets): use property #defines instead strings to keep things
6757                         consistent
6758                 - (need_secrets_tls): if a client certificate is present but no
6759                         private key, request the private key
6760                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6761                         remove private key password stuff, mark private keys as secret
6762
6763         * src/supplicant-manager/nm-supplicant-settings-verify.c
6764                 - Remove private_key_passwd and private_key2_passwd from opt_table
6765
6766 2007-11-09  Dan Williams  <dcbw@redhat.com>
6767
6768         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6769         Since the vpn-properties are managed and known by the VPN daemons themselves,
6770         libnm-util doesn't know what's secret and what's in the setting's 'data'
6771         member.
6772
6773         * libnm-util/nm-setting.h
6774           libnm-util/nm-setting.c
6775                 - Add the ability for subclasses to override update_one_secret
6776
6777         * libnm-util/nm-setting-vpn-properties.c
6778                 - Override update_one_secret and just copy the values into the
6779                         internal table
6780
6781 2007-11-09  Dan Williams  <dcbw@redhat.com>
6782
6783         * libnm-glib/nm-settings.h
6784           libnm-glib/nm-settings.c
6785                 - (nm_settings_new_error): remove
6786                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6787                         clients should use g_set_error() with NM_SETTINGS_ERROR
6788
6789 2007-11-09  Dan Williams  <dcbw@redhat.com>
6790
6791         * src/supplicant-manager/nm-supplicant-config.c
6792                 - (nm_supplicant_config_add_setting_wireless_security): private key
6793                         passwords are never sent to wpa_supplicant, because the supplicant
6794                         should never be reading random files from the disk.  Clients like
6795                         the applet are required to decrypt the private keys and send NM
6796                         the decrypted blobs.
6797
6798 2007-11-08  Dan Williams  <dcbw@redhat.com>
6799
6800         * libnm-util/nm-setting-wireless-security.h
6801           libnm-util/nm-setting-wireless-security.c
6802                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6803                         members to 802-11-wireless-security structure.  This should be used
6804                         to indicate that the values in private-key and phase2-private-key
6805                         are already decrypted by the user agent, and that no
6806                         private-key-passwd or phase2-private-key-passwd should be expected.
6807                         It is not meant to be a stored configuration value, but meant to
6808                         be set when the conneciton is sent to NM over dbus.
6809
6810 2007-11-08  Dan Williams  <dcbw@redhat.com>
6811
6812         * libnm-util/nm-connection.h
6813           libnm-util/nm-connection.c
6814                 - (nm_connection_need_secrets): add argument to return hints
6815
6816         * src/nm-device-802-11-wireless.c
6817                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6818                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6819                         nm_connection_need_secrets() change
6820
6821 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6822
6823         Rework NMSetting structures: Move each setting to it's own file.
6824         Convert to GObject. Remove home grown setting types and use GTypes.
6825         Use GObject property introspection for hash conversion, enumerating
6826         properties, etc.
6827
6828         * libnm-util/nm-setting-connection.[ch]
6829         * libnm-util/nm-setting-ip4-config.[ch]
6830         * libnm-util/nm-setting-ppp.[ch]
6831         * libnm-util/nm-setting-vpn.[ch]
6832         * libnm-util/nm-setting-vpn-properties.[ch]
6833         * libnm-util/nm-setting-wired.[ch]
6834         * libnm-util/nm-setting-wireless.[ch]
6835         * libnm-util/nm-setting-wireless-security.[ch]
6836
6837         New files, each containing a setting.
6838
6839         * libnm-util/nm-setting-template.[ch]: A template for creating new
6840         settings. To use it, just replace 'template' with the new setting
6841         name, and you're half-way done.
6842
6843         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6844         introspection instead of internal types and tables.
6845
6846         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6847
6848         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6849         GValue types defined by dbus-glib for composed types like collections,
6850         structures and maps.
6851
6852         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6853         a setting from connection takes the setting type now. Also, since
6854         the settings are in multiple files, include relevant settings.
6855
6856 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6857
6858         * configure.in:
6859         * src/backends/NetworkManagerGentoo.c:
6860         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6861         providers in Gentoo.
6862
6863 2007-10-31  Dan Williams  <dcbw@redhat.com>
6864
6865         * libnm-util/nm-connection.c
6866                 - (gvalue_to_string): handle UINT32 arrays
6867
6868 2007-10-31  Dan Williams  <dcbw@redhat.com>
6869
6870         * libnm-glib/nm-device.h
6871           libnm-glib/nm-device.c
6872                 - (nm_device_get_description): remove
6873                 - (nm_device_get_product, nm_device_get_vendor): add
6874                 - (nm_device_update_description): new function (private); walk HAL
6875                         devices to get product and vendor IDs for a specific device
6876
6877 2007-10-31  Dan Williams  <dcbw@redhat.com>
6878
6879         * src/nm-device-802-11-wireless.c
6880                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6881
6882 2007-10-29  Dan Williams  <dcbw@redhat.com>
6883
6884         * src/nm-hal-manager.c
6885                 - (device_added, device_new_capability): ignore device additions while
6886                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6887                         kernel module is unloaded and reloaded and recognized by NM again.
6888
6889 2007-10-26  Dan Williams  <dcbw@redhat.com>
6890
6891         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6892
6893         * src/NetworkManagerAP.c
6894           src/NetworkManagerAP.h
6895           libnm-glib/nm-access-point.c
6896           libnm-glib/nm-access-point.h
6897                 - Make 'rate' property a guint32 to better match with WEXT and
6898                         wpa_supplicant and to allow representation of higher bitrates
6899
6900         * src/nm-device-802-11-wireless.c
6901           introspection/nm-device-802-11-wireless.xml
6902           libnm-glib/nm-device-802-11-wireless.c
6903           libnm-glib/nm-device-802-11-wireless.h
6904                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6905
6906         * src/nm-device-802-3-ethernet.c
6907           src/nm-device-802-3-ethernet.h
6908           introspection/nm-device-802-3-ethernet.xml
6909           libnm-glib/nm-device-802-3-ethernet.c
6910           libnm-glib/nm-device-802-3-ethernet.h
6911                 - Make 'speed' property a guint32 to match other speed/rate types
6912                 - Make nm_device_802_3_ethernet_get_speed() static
6913
6914         * test/nm-tool.c
6915                 - Update for the changes above
6916
6917 2007-10-26  Dan Williams  <dcbw@redhat.com>
6918
6919         * src/named-manager/nm-named-manager.c
6920                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6921                     not calling fclose() twice on some error conditions
6922
6923 2007-10-26  Dan Williams  <dcbw@redhat.com>
6924
6925         * src/nm-activation-request.c
6926                 - (dispose): clean up indentation; get the right DBusGProxy object to
6927                         cancel the GetSecrets pending call on.  Need to use the Secrets
6928                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6929                         pending call doesn't get canceled, and pressing Cancel in the
6930                         applet's password dialog could cause get_secrets_cb() to be called
6931                         after the activation request has already been destroyed
6932
6933 2007-10-24  Dan Williams  <dcbw@redhat.com>
6934
6935         * src/supplicant-manager/nm-supplicant-config.c
6936                 - (nm_supplicant_config_add_blob): pass blob data and length for
6937                         verification
6938                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6939
6940 2007-10-24  Dan Williams  <dcbw@redhat.com>
6941
6942         * src/supplicant-manager/nm-supplicant-settings-verify.c
6943                 - (opt_table): max length for certificates should be 65536
6944
6945 2007-10-24  Dan Williams  <dcbw@redhat.com>
6946
6947         * src/supplicant-manager/nm-supplicant-interface.c
6948                 - (blob_free): correctly free blob data after use
6949                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6950
6951 2007-10-24  Dan Williams  <dcbw@redhat.com>
6952
6953         * libnm-util/nm-setting.c
6954                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6955                         EAP method need secrets
6956
6957 2007-10-24  Dan Williams  <dcbw@redhat.com>
6958
6959         * src/backends/NetworkManagerRedHat.c
6960                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6961
6962 2007-10-23  Dan Williams  <dcbw@redhat.com>
6963
6964         * libnm-util/nm-setting.c
6965           libnm-util/nm-setting.c
6966                 - (nm_setting_compare): implement
6967                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6968                    compare_one_hash_gvalue): compare the contents of a setting
6969
6970         * libnm-util/nm-connection.c
6971                 - (nm_connection_compare): implement
6972
6973 2007-10-23  Dan Williams  <dcbw@redhat.com>
6974
6975         * src/nm-activation-request.c
6976                 - (get_secrets_cb): handle getting a setting back that is more than
6977                         just secrets (ie, user changed auth or EAP method or something)
6978
6979 2007-10-23  Dan Williams  <dcbw@redhat.com>
6980
6981         * libnm-util/nm-setting.c
6982           libnm-util/nm-setting.h
6983                 - (nm_setting_verify): new function; verify one setting
6984                 - (nm_settings_verify_all): rename from nm_settings_verify()
6985                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6986                         all_settings
6987
6988         * libnm-util/nm-connection.c
6989                 - (nm_connection_replace_settings, nm_connection_verify,
6990                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6991
6992 2007-10-23  Dan Williams  <dcbw@redhat.com>
6993
6994         * src/nm-device-802-11-wireless.c
6995                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6996                         desired behavior
6997
6998 2007-10-23  Dan Williams  <dcbw@redhat.com>
6999
7000         * src/supplicant-manager/nm-supplicant-settings-verify.c
7001                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7002                         nm-settings.c
7003
7004 2007-10-23  Dan Williams  <dcbw@redhat.com>
7005
7006         * src/nm-device-802-11-wireless.c
7007                 - (real_act_stage2_config): after the first association failure,
7008                         if the connection still needs secrets ask the user for them
7009                         explicitly.  After the fourth association failure due to bad
7010                         secrets, fail the connection entirely.  Handles the GetSecrets
7011                         loop that NM gets into when the provided secrets don't match up
7012                         with the connection details.
7013
7014 2007-10-23  Dan Williams  <dcbw@redhat.com>
7015
7016         * src/supplicant-manager/nm-supplicant-config.c
7017                 - (nm_supplicant_config_add_setting_wireless_security): only add
7018                         WPA-specific options when WPA is in use
7019
7020 2007-10-23  Dan Williams  <dcbw@redhat.com>
7021
7022         * src/supplicant-manager/nm-supplicant-config.c
7023                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7024                         secret doesn't need to be unhexified
7025
7026 2007-10-23  Dan Williams  <dcbw@redhat.com>
7027
7028         * libnm-util/nm-setting.c
7029                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7030                         before trying to do something with it
7031
7032 2007-10-23  Dan Williams  <dcbw@redhat.com>
7033
7034         * src/nm-device-802-11-wireless.c
7035                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7036
7037 2007-10-23  Dan Williams  <dcbw@redhat.com>
7038
7039         * src/nm-device-802-11-wireless.c
7040                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7041                         non-SSID-broadcasting APs
7042
7043 2007-10-23  Dan Williams  <dcbw@redhat.com>
7044
7045         * src/NetworkManagerAP.c
7046                 - (match_cipher, security_compatible): remove
7047                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7048                         libnm-util instead
7049
7050 2007-10-23  Dan Williams  <dcbw@redhat.com>
7051
7052         * libnm-util/nm-utils.c
7053           libnm-util/nm-utils.h
7054                 - (nm_utils_ap_security_compatible): common function for checking
7055                         whether a specific AP is compatible with an NMConnection
7056
7057 2007-10-23  Dan Williams  <dcbw@redhat.com>
7058
7059         * libnm-util/nm-setting.c
7060                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7061                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7062                    need_secrets_password, setting_wireless_security_verify): fix
7063                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7064                         secrets logic for each supported EAP method
7065
7066 2007-10-23  Dan Williams  <dcbw@redhat.com>
7067
7068         * src/supplicant-manager/nm-supplicant-config.c
7069                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7070                         config option name, should be "private_key2_passwd"
7071
7072 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7073
7074         Implement support for static IP addresses, additional/overridden DNS and
7075         DNS domain search lists.
7076
7077         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7078         (ip4_addresses_to_gvalue): Implement.
7079         (convert_array_to_byte_array): Implement.
7080         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7081         NM_S_TYPE_IP4_ADDRESSES.
7082         (nm_setting_hash): Ditto.
7083         (default_setting_clear_secrets): Add a default case for the switch: IP address
7084         shouldn't be secret, ever.
7085         (setting_ip4_config_verify): Update, requires addresses in case of manual
7086         configurations.
7087         (setting_ip4_config_destroy): Free stuff.
7088
7089         * src/nm-device.c (merge_ip4_config): Implement.
7090         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7091
7092 2007-10-22  Dan Williams  <dcbw@redhat.com>
7093
7094         * libnm-util/nm-setting.c
7095                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7096                         pairwise cipher options for Dynamic WEP
7097
7098 2007-10-21  Dan Williams  <dcbw@redhat.com>
7099
7100         * src/NetworkManagerAP.c
7101           src/NetworkManagerAP.h
7102                 - Rename 'articifical' -> 'fake' since that's what they are until
7103                         noticed in scans
7104                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7105                         from the attributes in an NMConnection object
7106                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7107                         WPA Enterprise
7108                 - (nm_ap_match_in_list): find a matching AP in a scan list
7109
7110         * src/nm-device-802-11-wireless.c
7111                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7112                         AP when searching the scan list; match on frequency and mode too
7113                 - (nm_device_802_11_wireless_get_frequency): implement
7114                 - (merge_scanned_ap): replace duplicate matching logic with
7115                         nm_ap_match_in_list()
7116                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7117                         the user is trying to connect to a hidden network that is not yet
7118                         known from the scan list
7119                 - (activation_success_handler): now that the card knows the AP's BSSID,
7120                         there may already be a scanned AP in the scan list that is what
7121                         we really wanted to connect to, but didn't know at the time.  Use
7122                         that instead of the 'fake' AP created at activation start and get
7123                         rid of the 'fake' AP 
7124                 - (cull_scan_list): don't remove fake APs
7125
7126 2007-10-21  Dan Williams  <dcbw@redhat.com>
7127
7128         * src/nm-activation-request.h
7129           src/nm-activation-request.c
7130                 - (nm_act_request_set_specific_object): new function; allow setting the
7131                         specific object if one isn't set yet
7132
7133 2007-10-20  Dan Williams  <dcbw@redhat.com>
7134
7135         * src/supplicant-manager/nm-supplicant-config.h
7136           src/supplicant-manager/nm-supplicant-config.c
7137                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7138                         table to store blobs
7139                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7140                         blob hash table
7141                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7142                 - (nm_supplicant_config_add_setting_wireless_security): handle
7143                         options that use certificates (ie, blobs)
7144
7145         * src/nm-device-802-11-wireless.c
7146                 - (build_supplicant_config): pass a UID (just use the connection path)
7147                         to the supplicant config as now required
7148
7149         * src/supplicant-manager/nm-supplicant-interface.c
7150                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7151                         there are any blobs to send to wpa_supplicant, send those first
7152                         before sending the network configuration
7153
7154 2007-10-19  Dan Williams  <dcbw@redhat.com>
7155
7156         Split the GetSecrets() call off to a separate D-Bus interface so that it
7157         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7158         should be able to call GetSecrets().
7159
7160         * include/NetworkManager.h
7161                 - Define the connection secrets D-Bus interface
7162
7163         * src/vpn-manager/nm-vpn-connection.c
7164                 - (clear_need_auth): get the right proxy object for the connection
7165                         secrets interface
7166                 - (get_connection_secrets): use the connection secrets proxy; send
7167                         empty hints in get secrets request
7168
7169         * src/nm-activation-request.c
7170                 - (nm_act_request_request_connection_secrets): use the connection
7171                         secrets proxy; send empty hints in get secrets request
7172
7173         * src/nm-manager.c
7174           src/nm-manager.h
7175                 - (connection_get_settings_cb): set the connection secrets proxy on
7176                         the connection object too
7177                 - (internal_new_connection_cb): create the connection secrets proxy
7178
7179         * introspection/nm-settings-connection.xml
7180                 - Define Connection.Secrets interface and move GetSecrets there
7181                 - Add a 'hints' argument to GetSecrets
7182
7183         * libnm-glib/nm-settings.c
7184           libnm-glib/nm-settings.h
7185                 - (impl_connection_settings_get_secrets): add 'hints' argument
7186
7187 2007-10-19  Dan Williams  <dcbw@redhat.com>
7188
7189         * src/nm-device.c
7190                 - (constructor): add message about what path a device is exported as
7191                         to help in debugging rh #339011
7192
7193 2007-10-17  Dan Williams  <dcbw@redhat.com>
7194
7195         * libnm-util/nm-utils.h
7196           libnm-util/nm-utils.c
7197                 - (nm_utils_security_valid): common function to help find the intersection
7198                         of capabilities of devices and (optionally) access points
7199
7200 2007-10-17  Dan Williams  <dcbw@redhat.com>
7201
7202         * src/nm-device-802-11-wireless.c
7203                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7204                         don't get erroneously cleared
7205
7206 2007-10-17  Dan Williams  <dcbw@redhat.com>
7207
7208         * src/nm-manager.h
7209           src/nm-manager.c
7210           src/nm-hal-manager.c
7211                 - (device_removed, finalize, nm_manager_remove_device,
7212                    nm_manager_sleep): add a 'deactivate' argument to 
7213                    nm_manager_remove_device() to fully deactivate devices when necessary
7214                    (ie, always except when waking up)
7215
7216 2007-10-16  Dan Williams  <dcbw@redhat.com>
7217
7218         * libnm-util/nm-setting.c
7219                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7220                         also isn't valid phase2 autheap method
7221
7222 2007-10-16  Dan Williams  <dcbw@redhat.com>
7223
7224         * libnm-glib/nm-client.c
7225                 - (update_wireless_status): consolidate updates of wireless status
7226                 - (constructor): use update_wireless_status()
7227                 - (manager_running): set wireless status off when NM goes away; requery
7228                         the wireless status when NM comes back
7229
7230 2007-10-16  Dan Williams  <dcbw@redhat.com>
7231
7232         * libnm-glib/nm-client.c
7233                 - (nm_client_activate_device): actually use the fixed-up specific
7234                         object path
7235
7236 2007-10-16  Dan Williams  <dcbw@redhat.com>
7237
7238         * src/nm-hal-manager.c
7239                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7240                         killswitch error messages once
7241
7242 2007-10-16  Dan Williams  <dcbw@redhat.com>
7243
7244         * src/nm-manager.c
7245                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7246                         if it's disabled in hardware; don't touch network devices while
7247                         NM is asleep
7248
7249 2007-10-16  Dan Williams  <dcbw@redhat.com>
7250
7251         * libnm-util/nm-client.c
7252                 - (nm_client_activate_device): convert NULL specific_object to "/",
7253                         which is used in place of NULL
7254
7255         * src/nm-manager.c
7256                 - (impl_manager_activate_device): convert "/" specific_object back into
7257                         NULL
7258
7259 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7260
7261         Implement a generic NMSetting creator from setting name.
7262         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7263         add a virtual function 'populate_fn'.
7264
7265         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7266         (register_default_creators): Register setting creators instead of functions
7267         that create and then populate.
7268         (parse_one_setting): Use the common setting creator and then setting specific
7269         poplulation function.
7270
7271         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7272         they all looked exactly the same.
7273         Add a 'populate_fn' virtual function to NMSetting.
7274         Use default virtual functions in case they are not overriden.
7275         (nm_setting_populate_from_hash): Implement.
7276
7277         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7278         name, use a defined string.
7279         (real_act_stage4_get_ip4_config): Ditto.
7280
7281 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7282
7283         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7284         HAL is int, not uint.
7285
7286 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7287
7288         Implement killswitch polling through HAL.
7289
7290         * src/nm-manager.c: Add wireless hardware status property. Add 
7291         'properties-changed' signal for changes in wireless and wireless hardware
7292         state changes.
7293
7294         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7295         and update NMManager's wireless hardware state when it has changed.
7296         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7297         already does that.
7298
7299         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7300         values of wireless state and wireless hardware state. Listen for the
7301         'properties-changed' signals, update the cached values and emit notify.
7302
7303         * include/NetworkManager.h: Fix a typo in a comment.
7304
7305 2007-10-14  Dan Williams  <dcbw@redhat.com>
7306
7307         * libnm-util/nm-setting.c
7308                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7309
7310 2007-10-13  Dan Williams  <dcbw@redhat.com>
7311
7312         * libnm-util/nm-setting.h
7313           libnm-util/nm-setting.c
7314           src/supplicant-manager/nm-supplicant-config.c
7315                 - Make the 'proto' field of the 802-11-wireless-security field a
7316                         string list
7317
7318 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7319
7320         Rework the "properties-changed" signal listening implementation.
7321         Add a generic implementation to NMObject class that listens for
7322         the signal and calls property setters of the target NMObject.
7323
7324         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7325
7326         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7327         code to the end of file so that all the static functions are available
7328         without extra declarations.
7329         Remove the "properties-changed" signal handling and use the framework from
7330         NMObject.
7331         Implement property setters for properties that change with 
7332         "properties-changed" signal.
7333
7334         * libnm-glib/nm-access-point.c: Ditto.
7335
7336 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7337
7338         Rework the "properties-changed" signal implementation.
7339         In classes that need to use it, just emit "GObject::notify" and the new
7340         framework takes care of the rest to make the signal available on dbus.
7341         The framework queues the notifications and tries to send as many together
7342         in one signal as possible.
7343
7344         * src/nm-properties-changed-signal.c:
7345         * src/nm-properties-changed-signal.h: Implement.
7346
7347         * src/Makefile.am: Add new files to build.
7348
7349         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7350         signal.
7351
7352         * src/nm-device-802-11-wireless.c: Ditto.
7353
7354 2007-10-10  Dan Williams  <dcbw@redhat.com>
7355
7356         * src/nm-manager.c
7357                 - (wait_for_connection_expired): ensure info is valid
7358                 - (connection_added_default_handler): Should only remove pending
7359                         connection info when the manager has the connection that it's
7360                         waiting for.  Fixes segfault in wait_for_connection_info().  
7361
7362 2007-10-10  Dan Williams  <dcbw@redhat.com>
7363
7364         * libnm-util/nm-setting.c
7365           libnm-util/nm-setting.h
7366                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7367                         can use if they choose.  Should be filled in by the settings service
7368                         on-the-fly with the currently logged in user's username
7369
7370 2007-10-10  Dan Williams  <dcbw@redhat.com>
7371
7372         * src/nm-device-802-11-wireless.c
7373                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7374                         as such, because even if the manager fills in the SSID, NM still
7375                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7376                         its SSID
7377
7378 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7379
7380         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7381         code that used NM's own version of dbus signal handling and custom dictionary
7382         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7383         and we get to maintain over 2000 lines less code.
7384
7385         * libnm-util/dbus-dict-helpers.c:
7386         * libnm-util/dbus-dict-helpers.h: Remove.
7387
7388         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7389
7390         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7391
7392         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7393         handlers.
7394
7395         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7396
7397         * configure.in: Remove test/libnm-util/Makefile creation.
7398
7399         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7400
7401         * test/libnm-util/: Remove the whole directory.
7402
7403 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7404
7405         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7406         device_state_changed_idle_id variable or it would contain some random value and the
7407         schedule_change_check calls would not do anything.
7408
7409 2007-10-09  Dan Williams  <dcbw@redhat.com>
7410
7411         * src/nm-device-802-11-wireless.c
7412                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7413                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7414                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7415                         merging of non-SSID-broadcasting APs
7416
7417 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7418
7419         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7420         "guint8 *" since it's usually used with GByteArray->data.
7421         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7422
7423 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7424
7425         * src/NetworkManagerUtils.c
7426         (nm_utils_is_empty_ssid):
7427         (nm_utils_escape_ssid):
7428         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7429         lot of places, so they belong to libnm-utils instead.
7430
7431         Now with 100% less compiler warnings:
7432
7433         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7434         (nm_dbus_unescape_object_path): Ditto.
7435         (nm_utils_ssid_to_utf8): Ditto.
7436         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7437         (nm_utils_escape_ssid): Ditto.
7438         (nm_utils_same_ssid): Ditto.
7439
7440         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7441         (add_one_connection_element): Remove an unused variable.
7442         (impl_manager_get_active_connections): Ditto.
7443
7444         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7445         variable.
7446
7447         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7448         from the previous commit.
7449
7450         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7451         (real_act_stage1_prepare): Ditto.
7452         (activation_success_handler): Ditto.
7453         (get_property): Ditto.
7454
7455         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7456         variable.
7457
7458         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7459         it's always set.
7460
7461         * src/supplicant-manager/nm-supplicant-config.c 
7462         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7463         to expected "char *".
7464         (nm_supplicant_config_add_setting_wireless): Ditto.
7465         (nm_supplicant_config_remove_option): Remove, not used.
7466
7467         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7468         not double.
7469         (test_wireless_enabled): Ifdef out unused function.
7470         (device_deactivate): Ditto.
7471         (device_state_changed): Ditto.
7472         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7473         (nm_utils_escape_ssid): Ditto.
7474
7475         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7476         (nm_utils_is_empty_ssid): Ditto.
7477
7478         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7479         unused variable.
7480
7481         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7482         (setting_vpn_properties_update_secrets): Ditto.
7483         (int_to_gvalue): Ifdef out for now, not used.
7484         (byte_to_gvalue): Ditto.
7485
7486         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7487         Unused, remove.
7488
7489 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7490
7491         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7492         about dbus manager, not named manager.
7493         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7494
7495         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7496         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7497         However, the same signal is emitted when we destroy it and there's 
7498         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7499
7500         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7501         releasing the DBusGConnection, since proxy needs a conneciton.
7502         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7503
7504 2007-10-08  Dan Williams  <dcbw@redhat.com>
7505
7506         * src/NetworkManager.c
7507                 - (main): error on unknown command-line options
7508
7509 2007-10-08  Dan Williams  <dcbw@redhat.com>
7510
7511         Reimplement the invalid connection list.  Don't try to re-activate a
7512         connection that just failed or was canceled.
7513
7514         * src/nm-device.c
7515                 - (connection_secrets_failed_cb): fail device activation, don't just
7516                         deactivate the device.  Listeners have to know about the failure.
7517
7518         * src/NetworkManagerPolicy.c
7519                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7520                         the connection list given to a device's get_best_connection()
7521                         method
7522                 - (device_state_changed): tag failed connections as invalid; clear the
7523                         tag from successful connections
7524
7525 2007-10-08  Dan Williams  <dcbw@redhat.com>
7526
7527         Fix problems with interrupted activation.  Previously, choosing an AP
7528         from the menu, then choosing another one before the first connection was
7529         successful wouldn't deactivate the device before starting the new connection
7530         on that same device.
7531
7532         * src/NetworkManagerPolicy.c
7533                 - (deactivate_old_device, device_state_changed, state_changed,
7534                    nm_policy_new): wrong place to deactivate old devices
7535
7536         * src/nm-manager.c
7537                 - (pending_connection_info_destroy, finalize,
7538                    wait_for_connection_expired): decouple destruction of the pending
7539                         connection info from the manager device
7540                 - (connection_added_default_handler): deactivate any active or
7541                         activating device before starting a new activation
7542                 - (impl_manager_activate_device): deactivate any active or activating
7543                         device before starting a new activation; be sure not to leak
7544                         pending connection info if a new activation request arrives but
7545                         there's already a pending one in-process
7546
7547 2007-10-08  Dan Williams  <dcbw@redhat.com>
7548
7549         * src/NetworkManagerAP.h
7550           src/NetworkManagerAP.c
7551                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7552                         should handle default SSIDs and whether or not to autoconnect
7553                         to them
7554
7555 2007-10-08  Dan Williams  <dcbw@redhat.com>
7556
7557         * src/NetworkManagerPolicy.c
7558                 - (nm_policy_device_change_check): print out connection name where
7559                         possible
7560
7561 2007-10-08  Dan Williams  <dcbw@redhat.com>
7562
7563         * src/nm-device-802-11-wireless.c
7564           src/nm-device-802-11-wireless.h
7565                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7566                         'hidden-ap-found' signal (for internal use only) that allows the
7567                         NMManager to fill in the AP's SSID if a connection has that AP's
7568                         BSSID in its seen-bssids list
7569
7570         * src/nm-manager.c
7571                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7572                         wireless device's hidden-ap-found signal and fill in the APs SSID
7573                         if possible
7574
7575 2007-10-07  Dan Williams  <dcbw@redhat.com>
7576
7577         * src/nm-manager.c
7578           src/nm-manager.h
7579                 - Add a 'connections-added' signal to batch together updates of large
7580                         numbers of connections, like when reading from a settings service
7581                         the first time.  Otherwise, the policy would just activate the first
7582                         suitable connection it saw rather than waiting for the full list
7583                         to arrive.
7584                 - (nm_manager_class_init): register new signal
7585                 - (get_type_for_proxy, connection_get_settings_cb,
7586                    get_connection_for_proxy): centralize places where a proxy's setting
7587                         service is determined
7588                 - (free_get_settings_info): if the call being freed is the last call
7589                         in a pending call group, fire off the connections-added signal
7590                 - (internal_new_connection_cb): add call to a pending call group if
7591                         requested
7592                 - (list_connections_cb): always create a call group here, because this
7593                         call results in a batch of new connections
7594                 - (initial_get_connections): start getting system connections first
7595                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7596                         removed signal when destroying connections
7597
7598         * src/NetworkManagerPolicy.c
7599                 - (nm_policy_new, connections_added): handle connections-added signal
7600                         from the manager
7601
7602 2007-10-06  Dan Williams  <dcbw@redhat.com>
7603
7604         * src/nm-device-802-11-wireless.c
7605                 - (constructor): fix leaked socket
7606
7607 2007-10-06  Dan Williams  <dcbw@redhat.com>
7608
7609         * src/NetworkManagerPolicy.c
7610                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7611                         connection in the list returned by nm_manager_get_connections() is
7612                         reffed, but they weren't getting unreffed before returning
7613
7614 2007-10-06  Dan Williams  <dcbw@redhat.com>
7615
7616         * src/nm-manager.c
7617                 - (connections_to_slist): sort connections first on autoconnect, then
7618                         on timestamp
7619
7620 2007-10-06  Dan Williams  <dcbw@redhat.com>
7621
7622         * libnm-util/nm-connection.c
7623                 - (gvalue_to_string): handle UINT64
7624
7625 2007-10-06  Dan Williams  <dcbw@redhat.com>
7626
7627         * src/NetworkManagerPolicy.c
7628                 - (connection_updated, nm_policy_new): recheck state when a connection
7629                         gets updated
7630
7631 2007-10-06  Dan Williams  <dcbw@redhat.com>
7632
7633         * src/nm-manager.c
7634           src/nm-manager.h
7635                 - (nm_manager_get_connection_dbus_path): make static
7636                 - (nm_manager_update_connections): remove; unused
7637                 - Add a connection-updated signal
7638                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7639                         handle connection object updates
7640
7641 2007-10-06  Dan Williams  <dcbw@redhat.com>
7642
7643         * src/NetworkManagerPolicy.c
7644                 - (connection_removed): deactivate removed connections
7645
7646 2007-10-06  Dan Williams  <dcbw@redhat.com>
7647
7648         * libnm-util/nm-connection.c
7649           libnm-util/nm-connection.h
7650                 - (nm_connection_replace_settings): new function
7651
7652 2007-10-06  Dan Williams  <dcbw@redhat.com>
7653
7654         * libnm-glib/nm-device-802-11-wireless.c
7655                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7656                         on error when getting the active access point over D-Bus from NM
7657
7658 2007-10-05  Dan Williams  <dcbw@redhat.com>
7659
7660         * libnm-util/nm-setting.c
7661                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7662                         to the NMSettingWireless table; it's now a string array not an array
7663                         of byte arrays
7664
7665 2007-10-05  Dan Williams  <dcbw@redhat.com>
7666
7667         * libnm-glib/nm-device-802-11-wireless.c
7668                 - Cache properties and update cached properties on D-Bus signals from NM
7669
7670 2007-10-05  Dan Williams  <dcbw@redhat.com>
7671
7672         * src/nm-device-802-11-wireless.c
7673                 - (set_current_ap): consolidate current_ap handling code into one place
7674                         to ensure that PropertiesChanged signals are emitted in all cases
7675                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7676                    nm_device_802_11_wireless_dispose): use set_current_ap()
7677
7678 2007-10-05  Dan Williams  <dcbw@redhat.com>
7679
7680         * libnm-glib/nm-access-point.c
7681           libnm-glib/nm-access-point.h
7682                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7683                         because the value is cached internally now.  Callers should not
7684                         free the internal value.
7685                 - Make signal name defines private
7686
7687         * test/nm-tool.c
7688           libnm-glib/libnm-glib-test.c
7689                 - Don't free value returned from nm_access_point_get_hw_address()
7690
7691 2007-10-04  Dan Williams  <dcbw@redhat.com>
7692
7693         * introspection/nm-device-802-11-wireless.xml
7694           src/nm-device-802-11-wireless.h
7695           src/nm-device-802-11-wireless.c
7696                 - Add a PropertiesChanged signal for wireless device
7697                 - Store currently associated access point
7698                 - (periodic_update): generalize; update rate here too and emit the
7699                         correct PropertiesChanged signal when stuff changes
7700                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7701                    real_activation_cancel_handler): clear current_ap when device is
7702                         deactivated
7703                 - (link_to_specific_ap, get_ap_blacklisted,
7704                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7705                         code
7706                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7707                         outside this file
7708                 - (real_set_hw_address): emit property changed signal if the card's
7709                         MAC address changes
7710                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7711                         the card is supposed to be connecting to
7712                 - (activation_success_handler): send out property updates on successful
7713                         activation
7714                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7715                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7716                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7717                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7718                         is now boxed; add PropertiesChanged signal
7719
7720 2007-10-04  Dan Williams  <dcbw@redhat.com>
7721
7722         * libnm-util/nm-connection.c
7723           libnm-util/nm-connection.h
7724                 - (nm_connection_verify): new function
7725
7726 2007-10-04  Dan Williams  <dcbw@redhat.com>
7727
7728         * libnm-util/nm-setting.c
7729                 - (nm_settings_verify): use #defines when possible rather than strings
7730                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7731                 - (setting_vpn_verify): tighter validity check on 'service_type'
7732
7733 2007-10-04  Dan Williams  <dcbw@redhat.com>
7734
7735         * libnm-glib/nm-settings.c
7736                 - (nm_connection_settings_class_init): provide correct type for argument
7737                         to the Updated signal so that dbus-glib knows how to marshal it
7738
7739 2007-10-03  Dan Williams  <dcbw@redhat.com>
7740
7741         * src/nm-device-802-3-ethernet.c
7742                 - (real_get_best_connection): don't create automatic connections
7743                         internally; clients should provide a setting that applies to
7744                         the device with 'autoconnect: True'.  Problem was that these
7745                         internally auto-created connections don't have a proxy or service
7746                         name becuase they weren't created by a settings daemon, and therefore
7747                         clients have no idea what to do with them.
7748
7749 2007-10-03  Dan Williams  <dcbw@redhat.com>
7750
7751         * src/nm-device-802-11-wireless.c
7752           src/nm-device-802-11-wireless.h
7753           introspection/nm-device-802-11-wireless.xml
7754                 - GetActiveNetworks -> GetAccessPoints
7755                 - ActiveNetwork -> ActiveAccessPoint
7756                 - NetworkAdded -> AccessPointAdded
7757                 - NetowrkRemoved -> AccessPointRemoved
7758
7759         * libnm-glib/nm-device-802-11-wireless.c
7760           libnm-glib/nm-device-802-11-wireless.h
7761                 - network-added signal -> access-point-added
7762                 - network-removed signal -> access-point-removed
7763                 - nm_device_802_11_wireless_get_active_network() ->
7764                         nm_device_802_11_wireless_get_active_access_point()
7765                 - nm_device_802_11_wireless_get_network_by_path() ->
7766                         nm_device_802_11_wireless_get_access_point_by_path()
7767                 - nm_device_802_11_wireless_get_networks() ->
7768                         nm_device_802_11_wireless_get_access_points()
7769
7770         * libnm-glib/libnm-glib-test.c
7771           test/nm-tool.c
7772           src/NetworkManagerPolicy.c
7773                 - Fixups for Network -> AccessPoint
7774
7775 2007-10-03  Dan Williams  <dcbw@redhat.com>
7776
7777         Add a GetActiveConnections() method on the Manager object.
7778
7779         * src/nm-manager.c
7780           src/nm-manager.h
7781           introspection/nm-manager.xml
7782                 - (connection_get_settings_cb): keep connection type around too
7783                 - (impl_manager_get_active_connections, add_one_connection_element):
7784                         implement; returns all active connections and what devices they
7785                         apply to
7786
7787         * libnm-glib/nm-client.c
7788           libnm-glib/nm-client.h
7789           introspection/nm-manager-client.xml
7790                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7791                         by the caller; free here to avoid memory leak
7792                 - (nm_client_get_active_connections): implement; return the list of
7793                         active connections
7794                 - (nm_client_free_active_connection_element): implement; free an element
7795                         of the GSList returned by nm_client_get_active_connections()
7796
7797 2007-10-03  Dan Williams  <dcbw@redhat.com>
7798
7799         * src/nm-device-802-11-wireless.c
7800                 - (nm_device_802_11_wireless_update_bssid): remove
7801                 - (get_active_ap): new function; find the AP in the scan list which
7802                         matches the current BSSID and SSID of the wireless device
7803                 - (nm_device_802_11_periodic_update): get current AP using
7804                         get_active_ap() and print AP roam messages
7805
7806 2007-10-01  Dan Williams  <dcbw@redhat.com>
7807
7808         * libnm-util/nm-setting.h
7809                 - Add a 'timestamp' option to NMSettingConnection
7810                 - Add a UINT64 type
7811
7812         * libnm-util/nm-setting.c
7813                 - (uint64_to_gvalue): new function
7814                 - (nm_setting_populate_from_hash, nm_setting_hash,
7815                    default_setting_clear_secrets): handle UINT64 type
7816                 - con_table: add 'timestamp' member
7817
7818 2007-10-01  Dan Williams  <dcbw@redhat.com>
7819
7820         * src/nm-manager.c
7821                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7822                         value when the connection can be activated immediately
7823
7824 2007-10-01  Dan Williams  <dcbw@redhat.com>
7825
7826         * libnm-glib/nm-device.c
7827                 - (nm_device_class_init): actually tell glib about the carrier-changed
7828                         signal
7829
7830 2007-10-01  Dan Williams  <dcbw@redhat.com>
7831
7832         * configure.in
7833           src/marshallers/Makefile.am
7834           src/marshallers/nm-marshal.list
7835           src/marshallers/nm-marshal-main.c
7836                 - Consolidate glib marshallers into one place
7837
7838         * src/dhcp-manager/Makefile.am
7839           src/dhcp-manager/nm-dhcp-manager.c
7840           src/supplicant-manager/Makefile.am
7841           src/supplicant-manager/nm-supplicant-manager.c
7842           src/supplicant-manager/nm-supplicant-interface.c
7843           src/ppp-manager/Makefile.am
7844           src/ppp-manager/nm-ppp-manager.c
7845           src/vpn-manager/Makefile.am
7846           src/vpn-manager/nm-vpn-connection.c
7847           src/Makefile.am
7848                 - Use consolidated marshallers
7849
7850         * src/dhcp-manager/nm-dhcp-marshal.list
7851           src/dhcp-manager/nm-dhcp-marshal-main.c
7852           src/supplicant-manager/nm-supplicant-marshal-main.c
7853           src/supplicant-manager/nm-supplicant-marshal.list
7854           src/nm-marshal-main.c
7855           src/nm-marshal.list
7856           src/ppp-manager/nm-ppp-marshal-main.c
7857           src/ppp-manager/nm-ppp-marshal.list
7858           src/vpn-manager/nm-vpn-marshal-main.c
7859           src/vpn-manager/nm-vpn-marshal.list
7860                 - Remove
7861
7862 2007-10-01  Dan Williams  <dcbw@redhat.com>
7863
7864         * include/NetworkManagerVPN.h
7865                 - define VPN connection state change reason codes
7866
7867         * src/vpn-manager/Makefile.am
7868           src/vpn-manager/nm-vpn-marshal.list
7869           src/vpn-manager/nm-vpn-marshal-main.c
7870                 - Add marshallers for StateChanged signal
7871
7872         * introspection/nm-vpn-connection.xml
7873                 - New Banner property
7874                 - StateChanged signal now includes a 'reason' argument
7875
7876         * src/vpn-manager/nm-vpn-connection.c
7877           src/vpn-manager/nm-vpn-connection.h
7878                 - Add a "Banner" property that contains the returned VPN server login
7879                         banner (if any); valid only in the ACTIVATED state
7880                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7881                         a 'reason' argument and emits that reason along with the
7882                         state-changed signal
7883                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7884                 - (nm_vpn_connection_ip4_config_get): save banner for later
7885                 - (nm_vpn_connection_get_banner, get_property,
7886                    nm_vpn_connection_class_init): implement Banner property
7887
7888         * src/vpn-manager/nm-vpn-service.c
7889                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7890                         connection list because elements may get added/removed from it
7891                         while iterating over the list
7892                 - (connection_state_changed): signal now includes the 'reason' argument
7893
7894         * libnm-glib/nm-vpn-connection.c
7895           libnm-glib/nm-vpn-connection.h
7896                 - (nm_vpn_connection_get_banner): new function
7897                 - (state_changed_proxy): handle reason argument
7898
7899 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7900
7901         * src/nm-manager.c:
7902         * src/nm-manager.h:
7903         Implement device activation through NMManager.
7904         Implement "pending device activation" here - If the connection isn't found,
7905         we try to wait for up to 5 seconds for the connection to be provided.
7906         Add NMConnectionType argument to "connection-added" and "connection-removed"
7907         signals.
7908         (nm_manager_get): Remove. Finally.
7909
7910         * src/nm-activation-request.c: 
7911         * src/nm-activation-request.h: 
7912         Remove all the deferred activation code.
7913
7914         * src/nm-device.c: Remove all the deferred activation code. Once the device
7915         activation is started, it's started. Update the activation virtual function
7916         signature.
7917
7918         * src/nm-device-interface.c:
7919         * src/nm-device-interface.h:
7920         Device activation now takes only NMActRequest argument.
7921         Don't expose device activation directly on dbus, it's supposed to go through
7922         NMManager now.
7923
7924         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7925         a bit more compact.
7926         Use the new device activation methods through NMManager.
7927
7928         * introspection/nm-manager-client.xml: 
7929         * introspection/nm-manager.xml: 
7930         * libnm-glib/nm-client.c:
7931         * libnm-glib/nm-client.h:
7932         Add device activation method.
7933         
7934         * libnm-glib/nm-device.c: 
7935         * libnm-glib/nm-device.h: 
7936         * introspection/nm-device.xml: 
7937         Remove device activation method. It's done through NMManager now.
7938
7939         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7940         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7941
7942 2007-09-28  Dan Williams  <dcbw@redhat.com>
7943
7944         * libnm-glib/nm-vpn-connection.c
7945                 - (nm_vpn_connection_get_state): try to update state if the current
7946                         state is UNKNOWN
7947
7948 2007-09-27  Dan Williams  <dcbw@redhat.com>
7949
7950         Patch from Bill Nottingham
7951
7952         * src/supplicant-manager/nm-supplicant-config.c
7953                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7954                         data to the supplicant
7955
7956 2007-09-27  Dan Williams  <dcbw@redhat.com>
7957
7958         * src/NetworkManagerSystem.c
7959                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7960                         and all address manipulation here should be happening on the
7961                         _VPN_ device, not the active device
7962
7963 2007-09-26  Dan Williams  <dcbw@redhat.com>
7964
7965         * src/nm-manager.c
7966           src/nm-manager.h
7967           src/nm-activation-request.c
7968           src/nm-activation-request.h
7969                 - Move the GetSecrets stuff out of the NMManager instance because it
7970                         doesn't really need to be there and complicates things
7971
7972         * src/nm-device.c
7973                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7974                         connection-secrets-failed signal and deactivate the device if
7975                         the GetSecrets call fails
7976
7977         * src/nm-device-802-11-wireless.c
7978                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7979                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7980                         secrets and give correct hints about whether new secrets should be
7981                         asked for by the client or not
7982
7983 2007-09-26  Dan Williams  <dcbw@redhat.com>
7984
7985         * src/vpn-manager/nm-vpn-connection.c
7986                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7987                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7988                         to the secrets-updated signal of the NMConnection since updating
7989                         the secrets is done within the scope of the NMVPNConnection object
7990                         already
7991                 - (get_connection_secrets): fix an uninialized variable usage error
7992
7993 2007-09-26  Dan Williams  <dcbw@redhat.com>
7994
7995         * libnm-util/nm-setting.c
7996                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7997                         actually get updated when the user enters them
7998
7999 2007-09-26  Dan Williams  <dcbw@redhat.com>
8000
8001         * libnm-glib/nm-vpn-plugin.c
8002                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8003
8004 2007-09-26  Dan Williams  <dcbw@redhat.com>
8005
8006         * include/NetworkManagerVPN.h
8007                 - Add a NEED_AUTH state
8008
8009         * src/vpn-manager/nm-vpn-connection.c
8010                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8011                         the connection needs secrets, and if so, then ask the settings
8012                         service to fill in the secrets.  Then start the connection.
8013
8014 2007-09-26  Dan Williams  <dcbw@redhat.com>
8015
8016         * src/vpn-manager/nm-vpn-manager.c
8017                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8018
8019 2007-09-26  Dan Williams  <dcbw@redhat.com>
8020
8021         * introspection/nm-vpn-plugin.xml
8022           libnm-glib/nm-vpn-plugin.c
8023           libnm-glib/nm-vpn-plugin.h
8024                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8025                         the name of the NMSetting in an NMConnection that may require
8026                         secrets specific to that VPN plugin
8027
8028 2007-09-26  Dan Williams  <dcbw@redhat.com>
8029
8030         * src/nm-manager.c
8031           src/nm-manager.h
8032                 - (nm_manager_get_connection_secrets): make static, unused outside
8033                         the file
8034                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8035
8036 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8037
8038         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8039         method.
8040         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8041         unreference the connection.
8042
8043         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8044         passing properties hash and routes string list, pass NMConnection (in hashed form).
8045
8046         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8047         as GSList, no need to copy stuff around anymore.
8048         (nm_vpn_connection_activate): Update the plugin activation method.
8049
8050         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8051         routes argument to GSList.
8052
8053 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8054
8055         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8056         state and try to get the secrets.
8057
8058         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8059         connections from NMManager and let the device to choose the best from the list.
8060         Since the connection list is sorted by system ones first and user ones later,
8061         the devices still prefer system connections like they did before.
8062         (deactivate_old_device): Implement. When a device starts activation, we have a
8063         policy (for now at least) to deactivate any other device that might be either
8064         active or still activating.
8065
8066         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8067         It's set on construction, there will be no other way to access it.
8068
8069         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8070         device events and drive the device, not the other way around.
8071
8072         * src/nm-device-802-3-ethernet.c: Ditto.
8073
8074         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8075         sent along, pass it on to virtual functions.
8076
8077         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8078         for now, but should really be public instead of nm_device_get_iface() since iface
8079         is a property of the DeviceInterface, not Device.
8080         (impl_device_activate): Don't touch NMManager!
8081
8082 2007-09-26  Jürg Billeter  <j@bitron.ch>
8083
8084         * initscript/paldo/NetworkManager.in:
8085         * initscript/paldo/NetworkManagerDispatcher.in:
8086         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8087         (nm_system_flush_loopback_routes): update paldo backend
8088
8089 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8090
8091         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8092         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8093         which means none of the devices get brought down properly, which in turn leaves
8094         DHCP client running.
8095
8096         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8097         (supplicant_connection_timeout_cb): Ditto.
8098
8099 2007-09-25  Dan Williams  <dcbw@redhat.com>
8100
8101         * src/nm-device.c
8102                 - (device_activation_go): small hack to work around race when
8103                         activating deferred connections; should solve this in a better way
8104
8105 2007-09-25  Dan Williams  <dcbw@redhat.com>
8106
8107         * introspection/nm-device.xml
8108           libnm-glib/nm-device.c
8109           libnm-glib/nm-device.h
8110                 - Add 'Carrier' property to exported NMDevice objects
8111
8112         * src/nm-device-interface.h
8113           src/nm-device-interface.c
8114           src/nm-device.c
8115                 - Add a 'carrier' property to internal NMDevice objects
8116
8117 2007-09-25  Dan Williams  <dcbw@redhat.com>
8118
8119         * src/nm-device-802-11-wireless.c
8120                 - (ap_auth_enforced): also return the encryption status of the AP so
8121                         that callers can differentiate easily between unencrypted APs
8122                         and encrypted ones, in addition to whether the AP has an
8123                         authenticator
8124                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8125                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8126                         previously would request secrets from unencrypted APs at times
8127
8128 2007-09-25  Dan Williams  <dcbw@redhat.com>
8129
8130         * src/nm-manager.c
8131                 - (nm_manager_update_state): new function; updates state and emits
8132                         appropriate signals ensuring a state-change signal for the same state
8133                         never gets emitted twice in a row.
8134                 - (manager_device_state_changed): handle more device state to get a
8135                         better picture of the overall NM state
8136
8137 2007-09-25  Dan Williams  <dcbw@redhat.com>
8138
8139         * libnm-glib/nm-settings.c
8140           libnm-glib/nm-settings.h
8141                 - (new_error -> nm_settings_new_error): make public so that subclasses
8142                         can use the same error domain.  Also pass a valid error code to
8143                         g_error_new_literal() so that libdbus doesn't assert when converting
8144                         the GError into a DBusError
8145                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8146                    impl_connection_settings_get_settings,
8147                    impl_connection_settings_get_secrets): use new error creator
8148                         function
8149
8150 2007-09-25  Dan Williams  <dcbw@redhat.com>
8151
8152         * src/NetworkManager.c
8153                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8154
8155 2007-09-25  Dan Williams  <dcbw@redhat.com>
8156
8157         * src/supplicant-manager/nm-supplicant-manager.c
8158                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8159                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8160                    nm_supplicant_manager_startup): when the supplicant isn't running,
8161                         try to start it periodically via system bus activation.  Fixes
8162                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8163                         for the supplicant to come back
8164
8165 2007-09-25  Dan Williams  <dcbw@redhat.com>
8166
8167         Ensure that old activation requests are forgotten about; previously
8168         hitting Cancel in the password dialog would deactivate whatever device
8169         that password was requested for, even if that wasn't the currently
8170         activating connection.
8171
8172         * src/nm-manager.c
8173           src/nm-manager.h
8174                 - (nm_manager_get_connection_secrets): track the pending call
8175                         object so it can be canceled later if needed
8176                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8177                         GetSecrets call for a particular connection
8178
8179         * src/nm-activation-request.c
8180                 - (dispose): cancel any outstanding GetSecrets calls on the
8181                         connection
8182
8183 2007-09-25  Dan Williams  <dcbw@redhat.com>
8184
8185         * src/NetworkManagerPolicy.c
8186                 - (nm_policy_device_change_check): handle devices that have a
8187                         deferred activation.  These devices are not really active _yet_,
8188                         but need to be treated as such here.  Don't interrupt them
8189                         automatically.
8190
8191         * src/nm-device-interface.c
8192                 - (impl_device_activate): handle devices that have a deferred activation
8193                         like activating or active devices.  When multiple active devices
8194                         get committed, the device shouldn't be deactivated until the
8195                         connection details are available to avoid DoS and such.  Currently,
8196                         any active, activating, or deferred activation device is deactivated
8197                         here before starting the new activation request.
8198
8199 2007-09-25  Dan Williams  <dcbw@redhat.com>
8200
8201         Properly re-query secrets from the settings daemon when stuff fails.
8202
8203         * src/nm-device-802-11-wireless.c
8204                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8205                         between Shared Key and Open System auth modes
8206                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8207                    real_act_stage4_ip_config_timeout): clear existing secrets and
8208                         request new ones when something fails due to a suspected wrong key
8209                 - (real_act_stage2_config): fix for new request_new argument to
8210                         nm_manager_get_connection_secrets()
8211
8212         * src/nm-manager.c
8213           src/nm-manager.h
8214                 - (nm_manager_get_connection_secrets): return error status; pass
8215                         new request_new argument on to the settings daemon
8216
8217         * introspection/nm-settings-connection.xml
8218                 - New 'request_new' argument to the GetSecrets call that hints to the
8219                         settings daemon to ask the user for completely new secrets
8220
8221         * libnm-glib/nm-settings.c
8222           libnm-glib/nm-settings.h
8223                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8224                         argument
8225
8226 2007-09-25  Dan Williams  <dcbw@redhat.com>
8227
8228         * libnm-util/nm-connection.c
8229           libnm-util/nm-connection.h
8230                 - (nm_connection_clear_secrets): new function; clear secrets out of
8231                         each NMSetting in an NMConnection
8232
8233         * libnm-util/nm-setting.h
8234           libnm-util/nm-setting.c
8235                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8236                         secrets out of an NMSetting
8237                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8238                    nm_setting_wired_new, nm_setting_wireless_new,
8239                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8240                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8241                         to default handler default_setting_clear_secrets()
8242
8243 2007-09-25  Dan Williams  <dcbw@redhat.com>
8244
8245         * src/nm-activation-request.c
8246           src/nm-activation-request.h
8247                 - (nm_act_request_is_deferred): new function
8248
8249 2007-09-24  Dan Williams  <dcbw@redhat.com>
8250
8251         * src/nm-device-802-11-wireless.c
8252                 - (activation_success_handler): update signal strength immediately
8253                         after activation
8254
8255 2007-09-24  Dan Williams  <dcbw@redhat.com>
8256
8257         * libnm-util/nm-setting.c
8258                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8259
8260 2007-09-24  Dan Williams  <dcbw@redhat.com>
8261
8262         * src/NetworkManagerPolicy.c
8263                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8264                         device by deactivating it because it doesn't have a "best connection".
8265                         Since autoconnect=False connections aren't automatically chosen,
8266                         NM would interrupt activation of such a connection because it
8267                         would never be "best" due to autoconnect=False.
8268
8269 2007-09-24  Dan Williams  <dcbw@redhat.com>
8270
8271         * src/nm-manager.c
8272                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8273                         actually has some time to enter a key before the GetSecrets call
8274                         times out
8275
8276 2007-09-24  Dan Williams  <dcbw@redhat.com>
8277
8278         * introspection/nm-manager.xml
8279           src/nm-manager.c
8280                 - (impl_manager_legacy_state): fix 'state' method call return value
8281
8282 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8283
8284         * test/Makefile.am: Install nm-tool
8285
8286 2007-09-24  Dan Williams  <dcbw@redhat.com>
8287
8288         Patch from Ross Burton <ross@burtonini.com>
8289
8290         * test/nm-tool.c
8291           callouts/nm-dhcp-client-action.c
8292           src/nm-netlink.c
8293           src/vpn-manager/nm-vpn-connection.c
8294           libnm-glib/libnm-glib-test.c
8295                 - warning fixes
8296
8297 2007-09-24  Dan Williams  <dcbw@redhat.com>
8298
8299         * libnm-util/nm-utils.h
8300           libnm-util/nm-utils.c
8301                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8302                         remove, unused
8303
8304 2007-09-23  Dan Williams  <dcbw@redhat.com>
8305
8306         * vpn-daemons/vpnc/properties/nm-vpnc.c
8307                 - Update for new VPN properties API bits; instead of passing around
8308                         a lot of random things, everything goes into the NMConnection
8309                         object.
8310
8311 2007-09-23  Dan Williams  <dcbw@redhat.com>
8312
8313         * libnm-util/nm-setting.c
8314                 - Correctly dispose of settings objects if creating them from a hash
8315                         table fails
8316
8317 2007-09-23  Dan Williams  <dcbw@redhat.com>
8318
8319         * libnm-util/nm-setting.c
8320                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8321                         the hash table in a standard manner.  Clients of libnm-util should
8322                         only call g_hash_table_remove_all(), never destroy the hash table
8323                         and recreate it.
8324
8325 2007-09-22  Dan Williams  <dcbw@redhat.com>
8326
8327         * src/nm-device-802-11-wireless.c
8328                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8329                         real reason to do it so often, and reduces wakeups for clients.
8330
8331 2007-09-21  Dan Williams  <dcbw@redhat.com>
8332
8333         * src/nm-device-802-11-wireless.c
8334                 - (build_supplicant_config): wpa_supplicant requires the option
8335                         key_mgmt=NONE for unencrypted networks
8336                 - (real_act_stage2_config): clarify log message on activation
8337
8338 2007-09-21  Dan Williams  <dcbw@redhat.com>
8339
8340         * test/nm-supplicant-test.c
8341           test/Makefile.am
8342                 - Remove supplicant test binary; no longer applicable
8343
8344 2007-09-21  Dan Williams  <dcbw@redhat.com>
8345
8346         * src/supplicant-manager/nm-supplicant-manager.c
8347                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8348                         activate it on the system bus
8349
8350 2007-09-20  Dan Williams  <dcbw@redhat.com>
8351
8352         * initscript/RedHat/NetworkManager.in
8353                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8354
8355 2007-09-20  Dan Williams  <dcbw@redhat.com>
8356
8357         * src/nm-device.c
8358                 - (nm_device_is_activating): work around a race between auto-activation
8359                         and the user activating the same device that is being auto-activated
8360
8361 2007-09-20  Dan Williams  <dcbw@redhat.com>
8362
8363         * src/nm-device-interface.c
8364                 - (impl_device_activate): until multiple active device support lands,
8365                         ensure only one device can be active at a time
8366
8367 2007-09-20  Dan Williams  <dcbw@redhat.com>
8368
8369         * src/supplicant-manager/nm-supplicant-config.c
8370           src/supplicant-manager/nm-supplicant-config.h
8371                 - (nm_supplicant_config_add_option): hide secrets from system logs
8372
8373 2007-09-20  Dan Williams  <dcbw@redhat.com>
8374
8375         * src/NetworkManagerPolicy.c
8376                 - (nm_policy_device_change_check): re-enable the wireless device change
8377                         checking code; insted of checking for SSIDs, check for the same
8378                         connection instead
8379
8380 2007-09-20  Dan Williams  <dcbw@redhat.com>
8381
8382         * src/nm-device-802-11-wireless.c
8383                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8384                         composite link state when determining when to start the disconnection
8385                         timer; that link state is already based on the supplicant interface's
8386                         status which is exactly what's already being examined, plus the link
8387                         state is a conglomeration of various things that we don't want here
8388
8389 2007-09-20  Dan Williams  <dcbw@redhat.com>
8390
8391         * libnm-glib/nm-access-point.c
8392                 - (handle_property_changed): strength is a UCHAR
8393
8394 2007-09-20  Dan Williams  <dcbw@redhat.com>
8395
8396         * src/supplicant-manager/nm-supplicant-config.c
8397                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8398                         string list keywords too since that's what wpa_supplicant wants
8399
8400 2007-09-20  Dan Williams  <dcbw@redhat.com>
8401
8402         * libnm-util/nm-setting.c
8403                 - (convert_strv_to_slist): dupe the values in the list because since
8404                         the list is a boxed value, it'll get destroyed when it's container
8405                         (like a hash table or whatever) gets destroyed
8406
8407 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8408
8409         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8410         GSList.
8411
8412         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8413
8414         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8415         just use (g_object_set_data_full).
8416
8417         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8418         that NMSettingVPN->routes is a GSList, convert it to char **.
8419         (nm_vpn_connection_ip4_config_get): Free routes when done.
8420         (nm_vpn_connection_activate): Ditto.
8421
8422         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8423         (real_act_stage2_config): Use defined setting names.
8424
8425 2007-09-20  Dan Williams  <dcbw@redhat.com>
8426
8427         * src/nm-device-802-11-wireless.c
8428           src/nm-manager.c
8429           src/nm-manager.h
8430                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8431                         so that the device can be deactivated if secrets are wrong
8432
8433 2007-09-20  Dan Williams  <dcbw@redhat.com>
8434
8435         * introspection/nm-settings-connection.xml
8436           libnm-glib/nm-settings.c
8437           libnm-glib/nm-settings.h
8438                 - Make GetSecrets asynchronous on the server side
8439
8440 2007-09-20  Dan Williams  <dcbw@redhat.com>
8441
8442         * src/nm-manager.h
8443           src/nm-device.c
8444                 - (nm_device_activate): actually check if a given connection
8445                         exists before assuming it doesn't
8446
8447 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8448
8449         * libnm-util/nm-connection.c (register_default_creators): Use defined
8450         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8451
8452         * libnm-util/nm-setting.c: Define property name strings, use them.
8453         Implement NMSettingVPN and NMSettingVPNProperties settings.
8454         Implement NM_S_TYPE_GVALUE_HASH.
8455         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8456         (setting_connection_verify): Rename 'devtype' property to 'type'.
8457
8458         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8459         properties.
8460
8461         * src/vpn-manager/nm-vpn-service.c: Ditto.
8462
8463         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8464
8465         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8466         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8467
8468         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8469         names. NMSettingConnection->devtype got renamed to 'type'.
8470
8471         * src/nm-device-802-3-ethernet.c (find_best_connection):
8472         (real_get_best_connection): Ditto.
8473
8474         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8475
8476         * libnm-glib/nm-vpn-manager.[ch]: Update.
8477
8478 2007-09-19  Dan Williams  <dcbw@redhat.com>
8479
8480         * src/NetworkManagerAP.c
8481           src/NetworkManagerAP.h
8482           introspection/nm-access-point.xml
8483                 - Change strength-changed signal into a properties-changed signal
8484                         for all properties, not just strength.  Export that signal over dbus
8485                         so listeners don't have to poll NM for changes.
8486                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8487                         get exported over D-Bus, so break up the logic and let other bits
8488                         decided when to export the AP
8489                 - (nm_ap_new_from_ap): remove, unused
8490
8491         * src/nm-device-802-11-wireless.c
8492                 - (merge_scanned_ap): only export APs that are actually on the device
8493                         list, not every AP created internally
8494
8495         * libnm-glib/nm-access-point.c
8496           libnm-glib/nm-access-point.h
8497                 - Cache properties internally and only hit DBus when needed.  Get
8498                         property updates from NM signals
8499
8500 2007-09-16  Dan Williams  <dcbw@redhat.com>
8501
8502         * libnm-util/nm-connection.c
8503           libnm-util/nm-connection.h
8504                 - (nm_connection_for_each_setting_value): new function; iterate over
8505                         each setting's value and call a user-provided function with details
8506                         about that value
8507
8508         * libnm-util/nm-setting.c
8509           libnm-util/nm-setting.h
8510                 - (nm_setting_enumerate_values): new function; enumerate the values
8511                         of a specific NMSetting subclass for a user-provided function with
8512                         details about that value
8513                 - Change wep_tx_keyidx to a uint32
8514                 - Create settings value tables for each setting defining their type,
8515                         key name, offset into the NMSetting subclass' structure, and whether
8516                         they are required and/or a secret
8517                 - (nm_setting_populate_from_hash): generic function to populate an
8518                         NMSetting from a GHash table, make all settings use it
8519                 - (nm_setting_hash): generic function to derive a GHashTable from
8520                         an NMSetting object, make all settings use it
8521
8522 2007-09-14  Dan Williams  <dcbw@redhat.com>
8523
8524         Remove unused stuff in libnm-util
8525
8526         * configure.in
8527           libnm-util/Makefile.am
8528           libnm-util/cipher-private.h
8529           libnm-util/cipher-wep-ascii.c
8530           libnm-util/cipher-wep-ascii.h
8531           libnm-util/cipher-wep-hex.c
8532           libnm-util/cipher-wep-hex.h
8533           libnm-util/cipher-wep-passphrase.c
8534           libnm-util/cipher-wep-passphrase.h
8535           libnm-util/cipher-wpa-psk-hex.c
8536           libnm-util/cipher-wpa-psk-hex.h
8537           libnm-util/cipher-wpa-psk-passphrase.c
8538           libnm-util/cipher-wpa-psk-passphrase.h
8539           libnm-util/cipher.c
8540           libnm-util/cipher.h
8541           libnm-util/dbus-helpers.c
8542           libnm-util/dbus-helpers.h
8543           libnm-util/gnome-keyring-md5.c
8544           libnm-util/gnome-keyring-md5.h
8545           libnm-util/sha1.c
8546           libnm-util/sha1.h
8547           src/nm-device-802-11-wireless.c
8548           test/libnm-util/Makefile.am
8549           test/libnm-util/test-ciphers.c
8550           test/libnm-util/test-dbus-helpers.c
8551           test/libnm-util/test-inputs.h
8552                 - Removed
8553
8554 2007-09-14  Dan Williams  <dcbw@redhat.com>
8555
8556         * libnm-util/dbus-method-dispatcher.c
8557           libnm-util/dbus-method-dispatcher.h
8558                 - Remove, unused
8559
8560 2007-09-14  Dan Williams  <dcbw@redhat.com>
8561
8562         Implement deferred activation support in the device class.
8563
8564         * src/nm-device-interface.c
8565           src/nm-device-interface.h
8566                 - (nm_device_interface_activate): take more arguments to support
8567                         deferred activation; callers must pass one of (connection) OR
8568                         (service_name, connection_path)
8569                 - (impl_device_activate): connection validation is punted to the device
8570                         to be able to handle deferred activation.  Yes, this means errors
8571                         don't get returned from the Activate() dbus call, and yes, that
8572                         should be fixed somehow later.
8573
8574         * src/nm-device.c
8575           src/nm-device.h
8576                 - (clear_act_request): clear additional deferred activation stuff too
8577                 - (deferred_activation_timeout_cb): new function; clean up when
8578                         deferred activation times out.
8579                 - (deferred_activation_start_cb): new function; when the connection
8580                         finally becomes available, start device activation
8581                 - (nm_device_activate): attach to the right signals of the activation
8582                         request if we need to defer activation until the connection is valid
8583
8584         * src/NetworkManagerPolicy.c
8585                 - (nm_policy_device_change_check): update for additional arguments
8586                         required for nm_device_interface_activate().  Pass NULL for these
8587                         though because this function already knows exactly which
8588                         NMConnection to use
8589
8590 2007-09-14  Dan Williams  <dcbw@redhat.com>
8591
8592         Implement deferred activation handling in the NMActRequest class.  When a
8593         client wants to activate a device but must create the NMConnection details
8594         on the fly, there likely hasn't been enough time yet for NM to receive the
8595         new connection signal and grab all the connection details.  So the
8596         activation is deferred (and bounded by a timer) for a while, and if the
8597         connection appears within the window, it is activated.
8598
8599         * src/nm-activation-request.c
8600           src/nm-activation-request.h
8601                 - (nm_act_request_class_init): two new signals to support deferred
8602                         activation, to allow the listener to handle both timeout and success
8603                 - (nm_act_request_new_deferred): new function, starts the deferred
8604                         activation timeout handler and listens to the NMManager for
8605                         new-connection signals to notice when the connection comes in
8606
8607 2007-09-14  Dan Williams  <dcbw@redhat.com>
8608
8609         * src/nm-manager.h
8610           src/nm-manager.c
8611                 - (nm_manager_get_connection_service_name,
8612                    nm_manager_get_connection_dbus_path): get details about a connection
8613                         known internally by the NMManager
8614                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8615                         because NMConnection is now a GObject subclass
8616                 - Use constant for the gobject data tag used on NMConnection objects for
8617                         storing the associated DBusGProxy
8618
8619 2007-09-14  Dan Williams  <dcbw@redhat.com>
8620
8621         * utils/Makefile.am
8622           utils/nm-utils.c
8623           utils/nm-utils.h
8624           src/supplicant-manager/Makefile.am
8625           src/dhcp-manager/Makefile.am
8626           src/backends/Makefile.am
8627           src/named-manager/Makefile.am
8628           src/ppp-manager/Makefile.am
8629           src/vpn-manager/Makefile.am
8630           test/libnm-util/Makefile.am
8631           test/test-common/Makefile.am
8632                 - Remove utils/; it was unused
8633
8634 2007-09-13  Dan Williams  <dcbw@redhat.com>
8635
8636         * libnm-glib/nm-vpn-manager.h
8637           libnm-glib/nm-vpn-manager.c
8638                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8639
8640 2007-09-13  Dan Williams  <dcbw@redhat.com>
8641
8642         * src/nm-device-802-3-ethernet.c
8643                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8644                         netlink monitor carrier signals on dispose, not bring down.  The
8645                         carrier signals should be handled over the entire lifetime of the
8646                         device anyway, not created/destroyed on up or down.
8647
8648 2007-09-13  Dan Williams  <dcbw@redhat.com>
8649
8650         * libnm-glib/nm-device.c
8651           libnm-glib/nm-device.h
8652                 - (nm_device_activate): take a connection object path rather than an
8653                         NMConnection because NMConnection isn't exported over D-Bus and
8654                         therefore it dbus-glib can't automatically get an object path from it
8655
8656 2007-09-13  Dan Williams  <dcbw@redhat.com>
8657
8658         * libnm-util/nm-setting.c
8659                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8660
8661 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8662
8663         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8664
8665 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8666
8667         * src/vpn-manager/nm-vpn-connection.[ch]: 
8668         * src/vpn-manager/nm-vpn-manager.[ch]:
8669         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8670         dbus-glib, GObjects, signals etc.
8671
8672         * libnm-glib/nm-vpn-manager.[ch]: 
8673         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8674         so much, rewrite these too.
8675
8676         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8677         the new introspection files.
8678
8679         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8680
8681         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8682         the header with the same name from libnm-utils.
8683
8684         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8685
8686         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8687
8688         * introspection/nm-vpn-plugin.xml: Implement.
8689
8690         * introspection/nm-vpn-connection.xml: Implement.
8691
8692         * introspection/nm-vpn-manager.xml: Implement.
8693
8694         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8695         the named manager argument, it can just as easily get it as the caller.
8696         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8697
8698         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8699
8700         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8701
8702         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8703         libnm-utils.
8704
8705         * libnm-util/nm-connection.c: Ditto.
8706
8707         * src/NetworkManagerMain.h: Remove, it's finally empty.
8708
8709         * configure.in: Remove utils/ from build.
8710
8711         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8712         of hard-coded strings.
8713
8714         * utils/: Move it over to libnm-util.
8715
8716         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8717
8718         * dispatcher-daemon/Makefile.am: Ditto.
8719
8720         * src/Makefile.am: Ditto.
8721
8722 2007-09-12  Dan Williams  <dcbw@redhat.com>
8723
8724         Wireless connections can be made with config data from the applet now.
8725         
8726         Yay.
8727
8728         * src/supplicant-manager/nm-supplicant-config.h
8729           src/supplicant-manager/nm-supplicant-config.c
8730                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8731                 - (nm_supplicant_config_add_setting_wireless,
8732                    nm_supplicant_config_add_setting_wireless_security): new functions;
8733                         add key/value pairs from the settings objects to the supplicant
8734                         config
8735
8736         * src/nm-device-802-11-wireless.c
8737                 - (cull_scan_list): fix check to not prune currently associated AP
8738                 - (build_supplicant_config, real_act_stage2_config): call the functions
8739                         of the NMSupplicantConfig that parse settings objects rather than
8740                         doing it manually here
8741
8742 2007-09-12  Dan Williams  <dcbw@redhat.com>
8743
8744         * src/supplicant-manager/nm-supplicant-interface.c
8745           src/supplicant-manager/nm-supplicant-marshal.list
8746                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8747                         "connection-error" signal arguments should be STRING not CHAR
8748
8749 2007-09-12  Dan Williams  <dcbw@redhat.com>
8750
8751         * src/NetworkManagerUtils.c
8752           src/NetworkManagerUtils.h
8753                 - (nm_utils_hexstr2bin): new function
8754
8755 2007-09-11  Dan Williams  <dcbw@redhat.com>
8756
8757         * src/nm-manager.c
8758                 - (connection_get_settings_cb): emit connection-added signal
8759                 - (connection_removed_cb): uncomment bits for system settings service,
8760                         send connection-removed when appropriate
8761                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8762                         the stack by trying to g_object_set_data() on something that's
8763                         not a GObject; handle case where settings service returns
8764                         empty settings hash table
8765
8766 2007-09-11  Dan Williams  <dcbw@redhat.com>
8767
8768         * src/NetworkManagerPolicy.c
8769                 - (connection_added, connection_removed): trigger device change checks
8770                         on connection changes
8771
8772 2007-09-11  Dan Williams  <dcbw@redhat.com>
8773
8774         * src/nm-activation-request.c
8775                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8776
8777 2007-09-11  Dan Williams  <dcbw@redhat.com>
8778
8779         * src/nm-device-802-11-wireless.c
8780                 - (real_connection_secrets_updated): fix erroneous check
8781
8782 2007-09-11  Dan Williams  <dcbw@redhat.com>
8783
8784         * introspection/nm-device.xml
8785           libnm-glib/nm-device.c
8786           libnm-glib/nm-device.c
8787                 - Fix Activate call argument borkage; Activate takes 3 arguments
8788
8789 2007-09-11  Dan Williams  <dcbw@redhat.com>
8790
8791         * libnm-glib/nm-access-point.c
8792           libnm-glib/nm-access-point.c
8793                 - (nm_access_point_get_frequency): now returns guint32 to match
8794                         property change on 2007-09-10
8795
8796 2007-09-11  Dan Williams  <dcbw@redhat.com>
8797
8798         * src/nm-device-802-11-wireless.c
8799                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8800                         somewhere defines 'index' and I missed this one when I fixed the
8801                         shadow declaration errors earlier
8802
8803 2007-09-11  Dan Williams  <dcbw@redhat.com>
8804
8805         * libnm-util/nm-connection.c
8806                 - (nm_connection_update_secrets, need_secrets_check): move
8807                         802-11-wireless-security need_secrets checks to the setting object
8808                         itself, where it belongs
8809
8810         * libnm-util/nm-setting.c
8811           libnm-util/nm-setting.h
8812                 - (nm_setting_need_secrets): new function
8813                 - (setting_wireless_security_verify,
8814                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8815                 - (setting_wireless_security_need_secrets): mostly copy code over
8816                         from nm-connection.c
8817
8818 2007-09-11  Dan Williams  <dcbw@redhat.com>
8819
8820         * libnm-util/nm-setting.c
8821           libnm-util/nm-setting.h
8822                 - (nm_setting_update_secrets): new function; add a virtual function that
8823                         subclasses can implement to update their secrets
8824                 - (setting_wireless_security_update_secrets): implement that function
8825                         for the 802-11-wireless-security subclass
8826
8827         * libnm-util/nm-connection.c
8828           libnm-util/nm-connection.h
8829                 - (nm_connection_update_secrets): update secrets for a Setting and
8830                         emit a signal on success
8831
8832         * src/nm-manager.c
8833           src/nm-manager.h
8834           src/nm-marshal.list
8835                 - (connection_get_settings_cb): enable system settings bits
8836                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8837                         to request secrets from the settings dbus service and to
8838                         push those secrets to the NMConnection itself
8839
8840         * src/nm-activation-request.c
8841           src/nm-activation-request.h
8842                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8843                         currently being activated, and proxy that signal to other listeners.
8844                         Goes through the activation request because the activation request
8845                         is the thing that manages the lifetime of the NMConnection that's
8846                         being activated.
8847
8848         * src/nm-device-802-11-wireless.c
8849                 - (real_connection_secrets_updated): implement the connection secrets
8850                         updated notification and restart activation when secrets are
8851                         received
8852                 - (real_act_stage2_config): request secrets from the settings dbus
8853                         service if secrets are needed
8854
8855         * src/nm-device.c
8856           src/nm-device.h
8857                 - (clear_act_request, nm_device_activation_cancel,
8858                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8859                         where the activation request is cleared
8860                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8861                         updated secrets signal of activation request and add a function
8862                         that subclasses can override to handle it easily
8863
8864 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8865
8866         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8867         removal of NetworkManagerAPList.
8868
8869 2007-09-10  Dan Williams  <dcbw@redhat.com>
8870
8871         * src/NetworkManagerAP.c
8872           src/NetworkManagerAP.h
8873           introspection/nm-access-point.xml
8874                 - Change 'freq' property to a guint32 instead of a double since we
8875                         weren't using the floating point bits anyway
8876
8877 2007-09-10  Dan Williams  <dcbw@redhat.com>
8878
8879         * NetworkManagerAP.c
8880           NetworkManagerAP.h
8881           NetworkManagerPolicy.c
8882           NetworkManagerSystem.c
8883           NetworkManagerUtils.c
8884           NetworkManagerUtils.h
8885           nm-device-802-11-wireless.c
8886           nm-device-802-3-ethernet.c
8887           nm-hal-manager.c
8888           nm-manager.c
8889           vpn-manager/nm-dbus-vpn.c
8890                 - Warning fixes; casts and removal of unused variables
8891
8892 2007-09-10  Dan Williams  <dcbw@redhat.com>
8893
8894         * include/NetworkManager.h
8895                 - Kill NMNetworkType; AP types don't matter any more
8896
8897         * src/NetworkManagerAPList.c
8898           src/NetworkManagerAPList.h
8899           src/Makefile.am
8900                 - Kill; NMAccessPointList has outlived it's usefulness
8901
8902         * src/NetworkManagerAP.c
8903           src/NetworkManagerAP.h
8904                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8905                         functions; check if an NMConnection object is compatible with the
8906                         settings of this AP
8907                 - (freq_to_channel, channel_to_freq): utility functions for
8908                         channel <-> frequency conversion
8909
8910         * src/nm-device.c
8911           src/nm-device.h
8912                 - (nm_device_get_best_connection): pass the specific object around
8913                          (which might be the object path of a specific AP to connect to).
8914                          The get_best_connection() call should populate this on return
8915                          if needed (wireless does).
8916
8917         * src/nm-device-802-3-ethernet.c
8918                 - (real_get_best_connection): handle specific_object argument
8919
8920         * src/NetworkManager.c
8921           src/NetworkManagerMain.h
8922                 - Remove unused includes
8923
8924         * src/nm-device-802-11-wireless.c
8925           src/nm-device-802-11-wireless.h
8926                 - Convert the ap_list into a GSList from an NMAccessPointList
8927                 - No need for caching the 'activation_ap' since this is now determined
8928                         from the specific_object of the activation request, which is
8929                         populated from the get_best_connection() call or from a user request
8930                 - (nm_device_802_11_wireless_update_bssid): fix warning
8931                 - (get_wireless_capabilities): fix error message format arguments
8932                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8933                 - (find_best_connection, real_get_best_connection): implement
8934                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8935                         move here from NetworkManagerAPList
8936                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8937                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8938                         already verified earlier
8939                 - (real_act_stage2_config): use nm_connection_need_secrets()
8940
8941         * src/NetworkManagerPolicy.c
8942                 - (nm_policy_auto_get_best_device): handle specific objects
8943                 - (create_connection): remove; automatic connection creation functionality
8944                         is handled by the Connection objects
8945                 - (nm_policy_device_change_check): handle specific_object
8946
8947         * libnm-util/nm-connection.c
8948                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8949
8950 2007-09-10  Dan Williams  <dcbw@redhat.com>
8951
8952         * src/nm-manager.c
8953                 - (query_connections): fix uninitialized variable problem that caused
8954                         segfault
8955                 - (nm_manager_add_device): take devices down on startup so that we can
8956                         be assured that nm_device_is_up() won't short-circuit the init
8957                         process.  Hack until the is_up check gets split into two pieces
8958                         that aren't behaviorally confusing.
8959
8960 2007-09-09  Dan Williams  <dcbw@redhat.com>
8961
8962         * introspection/nm-device.xml
8963                 - The 'Activate' method now takes 3 arguments, a service name for the
8964                 settings service (user or system), the object path of the connection
8965                 to activate, and the specific object to activate, if any
8966
8967         * src/nm-device-interface.c
8968                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8969                 Add error bits
8970                 - (impl_device_activate): adapt to new Activate arguments; validate
8971                 the service name and get the Connection object from the NMManager
8972                 before starting to activate the device with the specified connection
8973
8974         * src/nm-device-802-3-ethernet.c
8975                 - (real_get_best_connection): find the best connection, or create a
8976                 default one if no existing connections can be used
8977
8978         * src/NetworkManagerPolicy.c
8979                 - (nm_policy_auto_get_best_device): Get the device's best connection
8980                 and only pick the device if it has one
8981                 - (nm_policy_device_change_check): disable wireless bits for now until
8982                 wireless get_best_connection() can be implemented (replacing "best_ap");
8983                 don't create a default connection here as the device subclass will do
8984                 that if needed
8985
8986         * src/nm-manager.h
8987           src/nm-manager.c
8988                 - (nm_manager_get): make NMManager a singleton and expose the getter
8989                 internally
8990                 - Rework internal NMManager connection handling to use the same
8991                 routines for both the system and user settings services.  Most calls
8992                 take a new NMConnectionType argument specifying either system or user
8993                 connections
8994                 - (nm_manager_get_connection_by_object_path): new function; get a
8995                 connection keyed on its object path
8996
8997         * src/NetworkManager.c
8998                 - (main): use nm_manager_get()
8999
9000 2007-09-09  Dan Williams  <dcbw@redhat.com>
9001
9002         * src/nm-device.h
9003           src/nm-device.c
9004                 - (nm_device_get_best_connection): new function; get best connection
9005                         for the device at that time
9006
9007 2007-09-09  Dan Williams  <dcbw@redhat.com>
9008
9009         * src/nm-device-interface.h
9010                 - Add NMDeviceInterfaceError with an UnknownConnection error
9011
9012 2007-09-09  Dan Williams  <dcbw@redhat.com>
9013
9014         Stupid mistake on my part; object path and interface for settings service
9015         and connection objects can be the same, only the service name must be
9016         different for the system and user settings services.
9017
9018         * include/NetworkManager.h
9019           src/nm-manager.c
9020           introspection/nm-settings-connection.xml
9021           introspection/nm-settings.xml
9022           libnm-glib/nm-settings.c
9023                 - (nm_connection_settings_init, query_user_connections,
9024                    new_connection_cb): Unify NetworkManagerSettings and Connection
9025                    interface name and object path
9026
9027 2007-09-06  Dan Williams  <dcbw@redhat.com>
9028
9029         * libnm-glib/nm-object.c
9030                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9031                    nm_object_get_int_property, nm_object_get_uint_property,
9032                    nm_object_get_boolean_property, nm_object_get_byte_property,
9033                    nm_object_get_double_property, nm_object_get_byte_array_property):
9034                         clear GValues after copying their contents, fixes memory leaks
9035                         after every property access because dbus-glib copies the values
9036                         from the DBusMessage into the GValue already.
9037
9038 2007-09-06  Dan Williams  <dcbw@redhat.com>
9039
9040         * introspection/nm-access-point.xml
9041                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9042                         them to be.  There's some magic property name parsing going on in
9043                         dbus-glib that breaks up property names based on studly-caps and
9044                         puts - between words.
9045
9046         * libnm-glib/nm-access-point.c
9047                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9048                         Fix property names
9049
9050 2007-09-06  Dan Williams  <dcbw@redhat.com>
9051
9052         * src/nm-manager.c
9053                 - (nm_manager_user_connections_destroy): clear the user connections hash
9054                         table, don't destroy it
9055                 - (finalize): only destroy the hash table on NMManager finalization
9056
9057 2007-09-02  Dan Williams  <dcbw@redhat.com>
9058
9059         * include/NetworkManager.h
9060           libnm-glib/nm-settings.c
9061                 - defines for the user settings daemon D-Bus bits
9062
9063         * src/NetworkManager.c
9064                 - Remove stuff that referred to the old NetworkManagerInfo service
9065
9066         * src/vpn-manager/nm-dbus-vpn.h
9067                 - Move old NMI defines to the only place they are used still
9068
9069         * libnm-util/nm-connection.c
9070           libnm-util/nm-connection.h
9071           src/nm-activation-request.c
9072                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9073
9074         * src/nm-manager.c
9075           src/nm-manager.h
9076                 - Get connections and their settings from the user settings daemon
9077                         at the appropriate times
9078
9079 2007-09-02  Dan Williams  <dcbw@redhat.com>
9080
9081         * libnm-util/nm-setting.c
9082                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9083                 - (setting_wireless_hash): set the right value on the item
9084
9085 2007-09-02  Dan Williams  <dcbw@redhat.com>
9086
9087         * test/Makefile.am
9088           test/nminfotest.c
9089                 - Remove, no longer useful
9090
9091 2007-08-30  Dan Williams  <dcbw@redhat.com>
9092
9093         * src/Makefile.am
9094           src/NetworkManagerDbus.c
9095           src/NetworkManagerDbus.h
9096           src/vpn-manager/nm-dbus-vpn.c
9097                 - Remove, no longer necessary.  Move last bits to the only place its
9098                 used, in nm-dbus-vpn.c
9099
9100         * src/NetworkManagerAPList.c
9101           src/nm-device.c
9102           src/NetworkManager.c
9103           src/nm-device-802-11-wireless.c
9104           src/vpn-manager/nm-vpn-manager.c
9105           src/vpn-manager/nm-vpn-service.c
9106           src/NetworkManagerPolicy.c
9107           src/nm-manager.c
9108                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9109                 that was message_is_error()
9110
9111 2007-08-30  Dan Williams  <dcbw@redhat.com>
9112
9113         * libnm-util/sha1.c
9114                 - Include config.h to get defines for endiannes (gnome.org #420216)
9115
9116 2007-08-30  Dan Williams  <dcbw@redhat.com>
9117
9118         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9119
9120         * src/ppp-manager/Makefile.am
9121                 - use -fPIC (gnome.org #471825)
9122
9123 2007-08-29  Dan Williams  <dcbw@redhat.com>
9124
9125         * include/NetworkManager.h
9126                 - Keep NMConnection object path in sync
9127
9128         * libnm-glib/nm-settings.c
9129           libnm-glib/nm-settings.h
9130                 - Break D-Bus object registration out of the init function, because
9131                 every object that's exported over D-Bus needs to use the _same_
9132                 DBusConnection.  Otherwise, each object would get a different object
9133                 path tree and wouldn't be callable.
9134
9135 2007-08-29  Dan Williams  <dcbw@redhat.com>
9136
9137         * libnm-util/nm-setting.h
9138           libnm-util/nm-setting.c
9139           libnm-util/nm-connection.c
9140           src/NetworkManagerPolicy.c
9141                 - 'info' settings object should be 'connection' says the spec
9142                 at NetworkManagerConfigurationSpecification
9143
9144 2007-08-29  Dan Williams  <dcbw@redhat.com>
9145
9146         * libnm-glib/nm-settings.c
9147           libnm-glib/nm-settings.h
9148                 - make the dbus path a property of the object, and autogenerate it.
9149                 It can't be composed of the 'id' field becuase that's not available
9150                 yet during the GObject creation in nm_connection_settings_init()
9151
9152 2007-08-29  Dan Williams  <dcbw@redhat.com>
9153
9154         * introspection/nm-settings-connection.xml
9155           introspection/nm-settings.xml
9156                 - Service name -> NetworkManagerUserSettings because two services
9157                 can't share part of the same path.  I'm not really sure how we'll use
9158                 the same code with the system-settings daemon...
9159
9160 2007-08-28  Dan Williams  <dcbw@redhat.com>
9161
9162         * src/nm-device-interface.c
9163           src/nm-device-interface.h
9164                 - Kill one more bit of NMData
9165
9166 2007-08-28  Dan Williams  <dcbw@redhat.com>
9167
9168         * src/NetworkManagerSystem.h
9169           src/nm-device.c
9170           src/nm-device.h
9171           src/nm-hal-manager.c
9172           src/NetworkManager.c
9173           src/nm-device-802-11-wireless.c
9174           src/nm-hal-manager.h
9175           src/nm-device-802-3-ethernet.c
9176           src/vpn-manager/nm-vpn-service.h
9177           src/vpn-manager/nm-vpn-manager.c
9178           src/vpn-manager/nm-vpn-manager.h
9179           src/vpn-manager/nm-vpn-service.c
9180           src/nm-device-802-11-wireless.h
9181           src/NetworkManagerMain.h
9182           src/nm-device-802-3-ethernet.h
9183           src/backends/NetworkManagerGentoo.c
9184           src/backends/NetworkManagerPaldo.c
9185           src/backends/NetworkManagerFrugalware.c
9186           src/backends/NetworkManagerRedHat.c
9187           src/backends/NetworkManagerSlackware.c
9188           src/backends/NetworkManagerGeneric.c
9189           src/backends/NetworkManagerArch.c
9190           src/backends/NetworkManagerSuSE.c
9191           src/backends/NetworkManagerGeneric.h
9192           src/backends/NetworkManagerDebian.c
9193                 - Kill NMData
9194
9195 2007-08-28  Dan Williams  <dcbw@redhat.com>
9196
9197         * src/NetworkManagerMain.h
9198           src/nm-device-802-11-wireless.c
9199           src/NetworkManager.c
9200                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9201                 for now we should set the 'invalid' property on individual APs, and when
9202                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9203                 that ESS
9204
9205 2007-08-28  Dan Williams  <dcbw@redhat.com>
9206
9207         * src/NetworkManagerAP.c
9208           src/NetworkManagerAP.h
9209                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9210                         'autoconnect' property instead
9211
9212         * src/NetworkManager.c
9213           src/NetworkManagerMain.h
9214           src/NetworkManagerPolicy.c
9215           src/NetworkManagerPolicy.h
9216                 - Remove the 'allowed_ap_list', which should be replaced by 
9217                         NMConnection/NMSettings instead, since _those_ are the allowed
9218                         things that NM can connect to
9219
9220         * src/nm-device-802-11-wireless.c
9221                 - Remove both allowed_ap_list usage and 'fallback' checking
9222
9223 2007-08-28  Dan Williams  <dcbw@redhat.com>
9224
9225         * src/nm-device.c
9226           src/named-manager/nm-named-manager.c
9227           src/named-manager/nm-named-manager.h
9228           src/NetworkManager.c
9229           src/vpn-manager/nm-vpn-manager.c
9230           src/NetworkManagerMain.h
9231           src/NetworkManagerSystem.c
9232                 - Remove the named-manager object from NMData structure in preparation
9233                 for NMData's timely death.  Make the NMNamedManager the singleton that
9234                 it really is
9235
9236 2007-08-28  Dan Williams  <dcbw@redhat.com>
9237
9238         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9239         each AP's capabilities, and by NMConnection/NMSettings objects for user
9240         defined connections.
9241
9242         * include/NetworkManager.h
9243                 - Redefine 802.11 security properties.  There are now device capabilities
9244                         and AP flags and AP security flags.  It was way to unclear before.
9245
9246         * src/Makefile.am
9247           src/nm-ap-security-leap.h
9248           src/nm-ap-security-leap.c
9249           src/nm-ap-security-wpa-eap.c
9250           src/nm-ap-security-wpa-eap.h
9251           src/nm-ap-security-private.h
9252           src/nm-ap-security-wpa-psk.c
9253           src/nm-ap-security-wpa-psk.h
9254           src/nm-ap-security-wep.c
9255           src/nm-ap-security-wep.h
9256           src/nm-ap-security.c
9257           src/nm-ap-security.h
9258                 - Removed, to be replaced with NMConnection/NMSettings objects
9259
9260         * src/nm-dbus-nmi.c
9261           src/nm-dbus-nmi.h
9262                 - Removed, to be replaced by code that talks to the new info daemon
9263                         interface and gets NMConnection/NMSettings objects
9264
9265         * src/backends/NetworkManagerSuSE.c
9266                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9267                         info-daemon that does the same thing but talks the new info-daemon
9268                         D-Bus interface
9269
9270         * src/NetworkManagerAP.h
9271           src/NetworkManagerAP.c
9272           src/NetworkManagerAPList.c
9273           libnm-glib/libnm-glib-test.c
9274                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9275                         WPA/RSN
9276
9277         * libnm-glib/nm-access-point.c
9278           libnm-glib/nm-access-point.h
9279           introspection/nm-access-point.xml
9280           test/nm-tool.c
9281                 - Adjust to new flags for AP security
9282
9283         * utils/nm-utils.c
9284           utils/nm-utils.h
9285           src/vpn-manager/nm-dbus-vpn.c
9286                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9287                         stuff which is the only place it's used
9288
9289         * src/nm-device-interface.c
9290           src/nm-device-interface.h
9291           introspection/nm-device.xml
9292           src/nm-activation-request.c
9293           src/nm-activation-request.h
9294           src/nm-device.c
9295                 - Add a new 'specific_object' argument that hints to NM what actual
9296                         AP or other device-specific thing the connection should apply to.
9297                         NMConnection objects can apply to more than one actual device/AP.
9298
9299         * libnm-util/nm-connection.c
9300         * libnm-util/nm-connection.h
9301                 - Add 'have_secrets" call stubs
9302
9303         * libnm-util/cipher.h
9304                 - Move NM_AUTH_TYPE_* defines here for now
9305
9306         * src/nm-device-802-11-wireless.c
9307                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9308                         NMSettings objects
9309
9310         * src/NetworkManagerDbus.c
9311         * src/NetworkManagerPolicy.c
9312                 - Remove usage of update_allowed_networks, should be pushing data in
9313                         a different manner
9314
9315 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9316
9317         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9318         dbus-glib frees it when the call is done.
9319
9320 2007-08-26  Dan Williams  <dcbw@redhat.com>
9321
9322         * introspection/nm-device.xml
9323                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9324
9325 2007-08-26  Dan Williams  <dcbw@redhat.com>
9326
9327         * src/nm-device-802-3-ethernet.c
9328                 - (constructor): move connection of interface-connected/disconnected
9329                         signals here from real_bring_up().  Should be listening to netlink
9330                         for carrier events no matter what the initial state of the device
9331                         is.
9332
9333 2007-08-26  Dan Williams  <dcbw@redhat.com>
9334
9335         * src/nm-netlink-monitor.c
9336                 - (nm_netlink_monitor_class_init): fix marshalling types for
9337                         interface-connected/interface-disconnected
9338                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9339                         check
9340
9341 2007-08-26  Dan Williams  <dcbw@redhat.com>
9342
9343         Convert to using interface indexes as the primary method of identifying
9344         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9345         be renamed at any time.  Device object paths now refer to the device
9346         index rather than the name, and you can map those two manually if you like
9347         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9348         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9349         to use interface indexes rather than names.
9350
9351 2007-08-26  Dan Williams  <dcbw@redhat.com>
9352
9353         * src/nm-netlink-monitor.h
9354                 - Remove one last bit of wireless-event signal
9355
9356 2007-08-26  Dan Williams  <dcbw@redhat.com>
9357
9358         * src/nm-netlink-monitor.c
9359                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9360                         don't need the 'wireless-event' signal anymore since that's all
9361                         handled by wpa_supplicant
9362
9363 2007-08-25  Dan Williams  <dcbw@redhat.com>
9364
9365         It's 2007. Remove support for drivers that don't support wireless scanning.
9366
9367         * test/nm-tool.c
9368           include/NetworkManager.h
9369           src/NetworkManagerUtils.c
9370           src/NetworkManagerPolicy.c
9371           src/nm-device-802-11-wireless.c
9372                 - Remove special handling for non-scanning devices and mark them
9373                         as unsupported/unhandled
9374
9375 2007-08-20  Dan Williams  <dcbw@redhat.com>
9376
9377         * src/nm-device-802-11-wireless.c
9378           src/nm-device-802-3-ethernet.c
9379                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9380                         because when the card is pulled or the module removed, the device
9381                         is already !IFF_UP and then device-specific cleanup (removing
9382                         the supplicant interface, periodic checks, etc) never gets done
9383
9384 2007-08-20  Dan Williams  <dcbw@redhat.com>
9385
9386         * src/nm-manager.c
9387                 - (nm_manager_remove_device): bring device down before disconnecting
9388                         signal handlers, so that the 'state' signal will get broadcast when
9389                         the device enters the DOWN state
9390                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9391                         of states that cause the NMManager to recheck its state
9392
9393 2007-08-20  Dan Williams  <dcbw@redhat.com>
9394
9395         * src/supplicant-manager/nm-supplicant-interface.c
9396                 - (interface_disconnect_done): don't try to dispose of the net proxy
9397                         when it may already have been disposed of
9398
9399 2007-08-20  Dan Williams  <dcbw@redhat.com>
9400
9401         * src/nm-device-802-11-wireless.c
9402                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9403                         the SSID isn't available; this can happen when the card is pulled
9404                         or the module unloaded, during the post-removal deactivation
9405                         paths, when the ioctl returns ENODEV
9406
9407 2007-08-20  Dan Williams  <dcbw@redhat.com>
9408
9409         * src/nm-device-802-11-wireless.c
9410                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9411                         frequency, and mode match.  Applets are now responsible for grouping
9412                         access points
9413
9414 2007-08-20  Dan Williams  <dcbw@redhat.com>
9415
9416         * src/NetworkManagerAP.c
9417         * src/NetworkManagerAP.h
9418                 - (nm_ap_print_self): new function
9419
9420         * src/NetworkManagerAPList.c
9421                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9422                         to do it all here
9423         
9424 2007-08-17  Dan Williams  <dcbw@redhat.com>
9425
9426         * src/nm-device-802-3-ethernet.c
9427                 - (real_bring_down): don't try to dispose of stuff that might not
9428                         exist
9429
9430 2007-08-17  Dan Williams  <dcbw@redhat.com>
9431
9432         * src/NetworkManagerAP.c
9433                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9434                         applet.  This ensures that the case between the seen-bssids and
9435                         the bssids reported by the driver match.
9436
9437 2007-08-17  Dan Williams  <dcbw@redhat.com>
9438
9439         * src/nm-device-802-11-wireless.c
9440                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9441                         we dispose of the interface proxy in NM
9442
9443 2007-08-16  Dan Williams  <dcbw@redhat.com>
9444
9445         * libnm-glib/nm-client.c
9446                 - (nm_client_init): create VPN connections hash table with key free
9447                         function
9448                 - (proxy_vpn_connection_added): VPN connections hash table key should
9449                         be a duplicated value, not the same memory address as the VPN
9450                         connection name.  This is because the VPN connection name could
9451                         potentially be freed and set to something else during the lifetime
9452                         of the NMVPNConnection object.
9453
9454 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9455
9456         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9457         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9458         with the file descriptors. Send a child setup function to change the pppd
9459         progress group.
9460
9461 2007-08-15  Dan Williams  <dcbw@redhat.com>
9462
9463         * src/supplicant-manager/nm-supplicant-interface.c
9464                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9465                         an interface
9466                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9467                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9468                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9469                         the interface internally
9470
9471 2007-08-15  Dan Williams  <dcbw@redhat.com>
9472
9473         * src/nm-device-802-11-wireless.c
9474                 - (real_bring_down): move most of this function into device_cleanup()
9475                         so that it can be called from elsewhere
9476                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9477                         and stuff on dispose.  These would normally get cleaned up when
9478                         the device is marked down and deactivated, but when the device is
9479                         hot-unplugged, it's already down and real_down() never gets run
9480
9481 2007-08-15  Dan Williams  <dcbw@redhat.com>
9482
9483         * src/nm-dbus-nmi.c
9484                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9485                         caused a reference leak on device for which NM requested a key
9486
9487 2007-08-15  Dan Williams  <dcbw@redhat.com>
9488
9489         * libnm-glib/nm-client.c
9490                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9491
9492 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9493
9494         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9495         nothing is using it at the moment, but it'll be all useful and stuff later on.
9496
9497         * libnm-util/nm-setting.h: Define NMSettingPPP.
9498
9499         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9500
9501         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9502
9503         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9504
9505         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9506
9507         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9508
9509 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9510
9511         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9512
9513         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9514         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9515         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9516         name and different arguments and it won't compile anymore. To fix this, we now have
9517         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9518         that is new API + compatibility API and used by the daemon. The other, 
9519         nm-manager-client.xml is only the new API without compatibility bits and is used
9520         by libnm-glib to make it compile.
9521
9522         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9523
9524         * src/nm-manager.c (impl_manager_legacy_sleep)
9525         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9526         interface functions for 0.6 branch.
9527
9528 2007-08-14  Dan Williams  <dcbw@redhat.com>
9529
9530         * src/NetworkManagerAP.c
9531                 - (nm_ap_new_from_properties): fix mistaken check of return value
9532                         from memcmp (should expect 0)
9533
9534 2007-08-14  Dan Williams  <dcbw@redhat.com>
9535
9536         (force-commit to fix wrong comment and partial commit of r2685; this
9537          commit actually applies to r2685)
9538
9539         * src/NetworkManagerUtils.c
9540                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9541                         ignores trailing nulls in the SSID to work around mismatches in
9542                         expectations between WEXT and what the info-daemon passes back.  The
9543                         info-daemon would pass back the correct length, but due to the
9544                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9545                         the device would always have an SSID + 1 depending on what versions
9546                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9547                         visible by just quitting the applet and relaunching, which caused
9548                         NM to reassociated to the same network over again when reloading
9549                         the save networks.
9550
9551         * src/NetworkManagerPolicy.c
9552           src/NetworkManagerUtils.h
9553           src/nm-device-802-11-wireless.c
9554                 - Update for new parameter to nm_utils_same_ssid()
9555
9556 2007-08-14  Dan Williams  <dcbw@redhat.com>
9557
9558         * src/NetworkManagerAP.c
9559                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9560                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9561                         setting the BSSID to all 0s.  That confused the heck out of NM,
9562                         plus it's useless and probably out-of-spec.
9563
9564 2007-08-14  Dan Williams  <dcbw@redhat.com>
9565
9566         * callouts/Makefile.am
9567           src/dhcp-manager/nm-dhcp-manager.c
9568           src/dhcp-manager/nm-dhcp-manager.h
9569           src/dhcp-manager/Makefile.am
9570                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9571
9572 2007-08-14  Dan Williams  <dcbw@redhat.com>
9573
9574         * src/dhcp-manager/nm-dhcp-manager.c
9575                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9576                         it's really needed, get rid of unused xtra_args parameter
9577
9578 2007-08-14  Dan Williams  <dcbw@redhat.com>
9579
9580         * include/NetworkManagerVPN.h
9581           src/vpn-manager/nm-dbus-vpn.c
9582           src/vpn-manager/nm-dbus-vpn.h
9583           src/vpn-manager/nm-vpn-act-request.c
9584           src/vpn-manager/nm-vpn-act-request.h
9585           src/vpn-manager/nm-vpn-service.c
9586           src/vpn-manager/nm-vpn-service.h
9587           libnm-glib/nm-vpn-connection.c
9588           libnm-glib/nm-vpn-connection.h
9589           libnm-glib/nm-client.h
9590                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9591                         NMVPNServiceState to clarify what they apply to
9592                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9593                         NMVPNActStage -> NMVPNConnectionState for the same reason
9594
9595         * libnm-glib/nm-client.c
9596                 - Constant + type renames from above
9597                 - Properly handle NameOwnerChanged/manager_running signals
9598                         for NM service; only emit when state really changes
9599                 - Use hash tables correctly so that the key (which was previously owned
9600                         by the D-Bus message) now has the same lifetime as the value, since
9601                         the key is now taken from the the NMVPNConnection itself.  This
9602                         really fixes the double-VPN names in the applet
9603
9604 2007-08-13  Dan Williams  <dcbw@redhat.com>
9605
9606         Patch from Michael Biebl <biebl@debian.org>
9607
9608         * po/POTFILES.in
9609           po/POTFILES.skip
9610                 - Update for vpn-properties move
9611
9612 2007-08-13  Dan Williams  <dcbw@redhat.com>
9613
9614         * libnm-glib/nm-client.c
9615                 - Convert internal VPN connection tracking from a list to a hash table
9616                         to easily avoid duplicates
9617                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9618                         must be freed by the caller, like nm_client_get_devices()
9619                 - (nm_client_remove_vpn_connection): don't let the removal signal
9620                         leak through for NMVPNConnection objects that aren't actually
9621                         tracked.
9622                 - (manager_running): throw away VPN connection list when NM goes away,
9623                         like with the device list
9624
9625 2007-08-13  Dan Williams  <dcbw@redhat.com>
9626
9627         * src/dhcp-manager/nm-dhcp-manager.c
9628                 - Stop any dhclient instance that might be already running for a
9629                         particular interface before starting an NM spawned dhclient.  Fixes
9630                         dhclient processes left over if NM crashes, stuff like that.
9631
9632 2007-08-13  Dan Williams  <dcbw@redhat.com>
9633
9634         * src/NetworkManagerAP.c
9635                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9636                         when the AP wasn't broadcasting it's SSID
9637
9638 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9639
9640         * include/NetworkManager.h: added DBus path for connection settings.
9641
9642         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9643         nm_connection_settings_signal_updated,
9644         nm_connection_settings_signal_removed): new functions to wrap the
9645         objects' signals.
9646         (nm_connection_settings_init): register GObject with DBus.
9647         (nm_connection_settings_get_dbus_object_path): new function.
9648
9649         * libnm-glib/Makefile.am: added libnmutil to link flags.
9650
9651 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9652
9653         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9654
9655         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9656         libnm_glib directory got merged with libnm-glib/.
9657
9658         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9659
9660         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9661         Rename the library from libnm-glib to libnm_glib to maintain the library API
9662         compatibility with 0.6 branch.
9663
9664         * Makefile.am: Remove gnome/ SUBDIR.
9665
9666         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9667
9668         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9669
9670         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9671
9672         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9673         anymore.
9674         Remove checks for wpa_supplicant binary, it's used over dbus.
9675         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9676
9677         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9678         Link the binaries with libnm_glib.la.
9679
9680 2007-08-12  Dan Williams  <dcbw@redhat.com>
9681
9682         * src/NetworkManagerPolicy.c
9683                 - (nm_policy_device_change_check): fix policy to deactivate old device
9684                         before activating new one, at least until the multiple active
9685                         device support lands
9686
9687 2007-08-12  Dan Williams  <dcbw@redhat.com>
9688
9689         * src/NetworkManagerPolicy.c
9690                 - (nm_policy_new): hook up to connection-added / connection-removed
9691                         signals instead of connections-changed
9692
9693 2007-08-12  Dan Williams  <dcbw@redhat.com>
9694
9695         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9696         Robert Frank <rfrank@redhat.com>
9697
9698         * src/dhcp-manager/nm-dhcp-manager.c
9699           src/dhcp-manager/nm-dhcp-manager.c
9700           src/nm-device.c
9701                 - Spawn and communicate with dhclient directly, through means of a
9702                 custom dhclient callout script.  Process callout D-Bus signals
9703                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9704                 sent via gobject signals rather than being driven by the dhcp manager
9705                 directly.
9706
9707 2007-08-12  Dan Williams  <dcbw@redhat.com>
9708
9709         * callouts/nm-dhcp-client-action.c
9710                 - (build_message): ignore non-DHCP-related environment variables
9711
9712 2007-08-12  Dan Williams  <dcbw@redhat.com>
9713
9714         * Makefile.am
9715           configure.in
9716           callouts/Makefile.am
9717           callouts/nm-dhcp-client-action.c
9718           callouts/nm-dhcp-client.conf
9719                 - Add dhclient-executed callout that takes the place of dhclient-script
9720                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9721                 NM then listens for
9722
9723 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9724
9725         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9726
9727         * libnm-glib/nm-client.h:
9728         * libnm-glib/nm-object.h:
9729         * libnm-glib/nm-vpn-connection.h:
9730         * libnm-glib/nm-settings.h:
9731         * libnm-glib/nm-device.h:
9732         * libnm-glib/nm-ip4-config.h:
9733         * libnm-glib/nm-access-point.h:
9734         * libnm-glib/nm-device-802-3-ethernet.h:
9735         * libnm-util/nm-setting.h: 
9736         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9737
9738         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9739
9740         * libnm-glib/nm-access-point.c: Strength has type char.
9741
9742         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9743         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9744
9745         * introspection/nm-access-point.xml: Strength property is char, not int.
9746
9747         * src/NetworkManagerAP.c (set_property): Set strength from char.
9748         (get_property): Handle hidden APs (with empty SSID).
9749         Get strength value from char.
9750         (nm_ap_class_init): Strength property has char type.
9751
9752 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9753
9754         * introspection/Makefile.am:
9755         * introspection/nm-settings.xml:
9756         * introspection/nm-settings-connection.xml: added Settings interfaces.
9757
9758         * libnm-glib/nm-settings.[ch]:
9759         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9760         containing the DBus implementation.
9761
9762 2007-07-26  Dan Williams  <dcbw@redhat.com>
9763
9764         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9765
9766         * src/NetworkManagerSystem.c
9767                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9768                         same subnet (#437396)
9769
9770 2007-07-26  Dan Williams  <dcbw@redhat.com>
9771
9772         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9773
9774         * gnome/vpn-properties/nm-vpn-properties.c
9775                 - Fix translatable strings (#445865)
9776
9777 2007-07-26  Dan Williams  <dcbw@redhat.com>
9778
9779         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9780
9781         * configure.in
9782                 - Remove useless junk (#412530)
9783
9784 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9785
9786         Patch from Robert Buchholz <rbu@gentoo.org>:
9787
9788         * configure.in:
9789         * Makefile.am:
9790         * introspection/Makefile.am:
9791         Make make distcheck work again.
9792
9793 2007-06-27  Dan Williams  <dcbw@redhat.com>
9794
9795         * Make SSIDs GByteArrays everywhere
9796         * Rename "essid" -> "ssid" everywhere that's appropriate
9797         * Refcount activation_ap member of the 802.11 wireless device class
9798
9799 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9800
9801         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9802
9803 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9804
9805         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9806         that we got a new AP when we just update existing AP properties.
9807
9808 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9809
9810         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9811
9812         * nm-utils.[ch]: Remove.
9813
9814         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9815         objects for easy property access and dbus connection handling.
9816
9817         * libnm-glib/nm-client.c: Derive from NMObject.
9818
9819         * libnm-glib/nm-device.c: Ditto.
9820
9821         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9822
9823         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9824
9825         * libnm-glib/nm-ip4-config.c: Ditto.
9826
9827         * libnm-glib/nm-access-point.c: Ditto.
9828
9829         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9830         comparision. Currently used by the device activation code to determine if the new
9831         activation is the same as the old one.
9832
9833         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9834         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9835         able to ask password for the AP.
9836
9837         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9838         up if the device is already connected, tear down it's connection (if it isn't the
9839         same as new one) and start the activation.
9840
9841         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9842
9843         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9844         the issue where all APs are always listed as encrypted.
9845
9846         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9847         their own registered paths.
9848
9849         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9850         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9851
9852 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9853
9854         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9855         (0 & 0 == 0, doh)
9856
9857         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9858         because the handling code will cause the next state change and signal listeners
9859         get the signals in wrong order.
9860
9861         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9862         correctly in case of pending activation.
9863
9864         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9865         Convert the essid byte array to string correctly, including the terminating NULL.
9866
9867         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9868         mode with correct types.
9869
9870         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9871         constructed info to dbus call instead of the activation request.
9872
9873 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9874
9875         Patch from Christian Persch <chpe@gnome.org>
9876
9877         * libnm-glib/Makefile.am:
9878         * dispatcher-daemon/Makefile.am:
9879         Use the correct variables, the correct paths, and correct ordering. (446315)
9880
9881 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9882
9883         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9884         argument. The activation request is easy to retrieve.
9885
9886         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9887         just to be a convenient location for devices to store random stuff.
9888
9889 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9890
9891         Patch from Alex Smith <alex@alex-smith.me.uk>
9892
9893         * src/backends/NetworkManagerFrugalware.c:
9894         Update the FrugalWare backend to fix a few segfaults. (#392642)
9895
9896 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9897
9898         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9899
9900         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9901         setting.
9902         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9903
9904 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9905
9906         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9907         automagically.
9908         Implement NMSettingIP4Config.
9909         Finish NMSettingWired by adding all known members.
9910         (setting_wired_verify): Implement.
9911         Finish NMSettingWireless by adding all known members.
9912         (setting_wireless_verify): Implement.
9913
9914         * libnm-util/nm-connection.c: Register "ipv4" setting.
9915         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9916         dump function, we can introspect the GHashTable which is used for sending connections
9917         over dbus.
9918
9919         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9920         Take GByteArray for essid, it's really not a string.
9921
9922         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9923         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9924         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9925         means overriding the values we got from DHCP.
9926         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9927         (nm_device_deactivate_quickly): Ditto.
9928
9929         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9930         for debugging.
9931
9932 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9933
9934         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9935         NMConnection.
9936
9937         * libnm-glib/nm-device-802-11-wireless.c:
9938         (nm_device_802_3_ethernet_activate): Remove.
9939
9940         * libnm-glib/nm-device-802-3-ethernet.c
9941         (nm_device_802_3_ethernet_activate): Remove.
9942
9943         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9944
9945         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9946         NMConnection.
9947
9948         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9949         activation has started.
9950         Implement the new activation using NMConnection.
9951
9952         * src/nm-activation-request.c: Store a generic connection object instead
9953         of a wireless-specific AP.
9954
9955         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9956         on device type, create a device specific connection object suitable for
9957         device activation.
9958
9959         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9960         specific check to validate the connection and on success start the
9961         activation.
9962
9963         * src/nm-device-interface.h: Add a activate virtual function to the
9964         interface definition.
9965
9966         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9967         (impl_device_activate): Implement.
9968
9969         * introspection/nm-device.xml: Add a generic device activation interface
9970         that accepts an abstract NMConnection structure that has device-specific
9971         information in it.
9972
9973         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9974         activation interface.
9975
9976         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9977         activation interface.
9978
9979         * libnm-util/nm-connection.c: 
9980         * libnm-util/nm-connection.h: 
9981         * libnm-util/nm-setting.c:
9982         * libnm-util/nm-setting.h: Add.
9983
9984         * libnm-util/Makefile.am: Build the added files.
9985
9986         * src/nm-dbus-manager.c
9987         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9988         DbusConnection argument from 'name-owner-changed' signal. The manager
9989         is already passed as a first argument to the signal and the connection
9990         is easy enough to get from it.
9991
9992         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9993         Update the signature of the function.
9994
9995         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9996         Ditto.
9997
9998         * src/NetworkManager.c: Ditto.
9999
10000         * src/named-manager/nm-named-manager.c
10001         (nm_named_manager_name_owner_changed): Ditto.
10002
10003         * src/supplicant-manager/nm-supplicant-manager.c
10004         (nm_supplicant_manager_name_owner_changed): Ditto.
10005
10006         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10007
10008         * src/dhcp-manager/nm-dhcp-manager.c
10009         (nm_dhcp_manager_name_owner_changed): Ditto.
10010
10011         * src/nm-hal-manager.c: Add a list of device detectors and creators
10012         to make it easier to add new devices. Each device type has it's own
10013         entry in the table so adding new device types is only a matter of
10014         implementing a couple of functions, one for device detection and the
10015         other for device creation.
10016
10017 2007-04-25  Dan Williams  <dcbw@redhat.com>
10018
10019         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10020                 (gnome.org #432401)
10021
10022 2007-03-30  Dan Williams  <dcbw@redhat.com>
10023
10024         * src/NetworkManagerSystem.c
10025                 - (nm_system_device_set_ip4_route): clean up and fix argument
10026                         to nm_dev_sock_open()
10027
10028 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10029
10030         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10031         data to correct types instead of always using string.
10032
10033         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10034         _not_ have NM_802_11_CAP_PROTO_NONE.
10035         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10036         is not set.
10037
10038 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10039
10040         * libnm-glib/Makefile.am: Fix the build issue.
10041
10042 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10043
10044         * libnm-glib/nm-vpn-connection.h: 
10045         * libnm-glib/nm-vpn-connection.c: Implement.
10046
10047         * libnm-glib/nm-client.c: Add VPN support.
10048
10049         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10050         handler for VPN.
10051
10052         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10053         on DBUS again.
10054
10055 2007-03-26  Dan Williams  <dcbw@redhat.com>
10056
10057         * src/NetworkManagerAPList.c
10058         * src/nm-device-802-11-wireless.c
10059         * src/NetworkManagerAP.c:
10060                 - Store last seen as glong instead of GTimeVal.
10061                 - Fix the upper bound of capabilities, it's a bitfield.
10062
10063 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10064
10065         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10066
10067         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10068         "manager-running" signal that notifies the appearance/disappearance of NM.
10069         (nm_client_sleep): Implement.
10070
10071         * libnm-glib/nm-device.c:
10072         * libnm-glib/nm-device-802-11-wireless.c: 
10073         * libnm-glib/nm-device-802-3-ethernet.c: 
10074
10075         Don't inherit from DBusGProxy, add a proxy to private
10076         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10077         for anything but their own dbus interface. DBusGProxy objects support only one
10078         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10079         interface. The nice side effect of this change is that we do not create a new
10080         DBusGProxy object for each property access.
10081
10082 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10083
10084         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10085         with zeroes before passing them to functions - the functions never do that and
10086         reading the values back may produce wrong values.
10087         (real_bring_up): Store the signal handler id ...
10088         (real_bring_down): ... So that it can be removed here.
10089         Disconnect the supplicant interface here as well.
10090         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10091         from the access point instead of old $device/Networks/$essid.
10092
10093         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10094         device state is connected (instead of just having link/carrier).
10095
10096         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10097         already easily accessible through the device.
10098
10099         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10100         store it within the object.
10101         (nm_ap_get_dbus_path): Export it to public as well.
10102
10103         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10104         of the singleton.
10105
10106 2007-03-12  Dan Williams  <dcbw@redhat.com>
10107
10108         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10109         for non-carrier-detect capable devices, and useless for carrier-detect
10110         devices since we get notifications from netlink about carrier status anyway.
10111
10112         * src/nm-device-802-3-ethernet.c
10113                 - remove 'link_source_id' member from private data
10114                 - (probe_link): remove and collapse into real_update_link()
10115                 - (nm_device_802_3_periodic_update): remove
10116                 - (real_is_up): check for sup_iface rather than link_source_id
10117                 - (real_bring_up): return gboolean for success/fail; require that
10118                         sup_iface be valid for device bringup to succeed
10119                 - (real_bring_down): zero out link signal ids
10120
10121         * src/nm-device.c
10122                 - (nm_device_activate_stage2_device_config): fail activation if device
10123                         bringup fails
10124                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10125                         fails
10126                 - (nm_device_bring_up): return success/fail
10127
10128         * src/nm-device.h
10129                 - bring_up now returns success/fail
10130
10131         * src/nm-device-802-11-wireless.c
10132                 - (real_bring_up): return success from bringup
10133
10134 2007-03-07  Dan Williams  <dcbw@redhat.com>
10135
10136         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10137         * src/nm-ap-security-wpa-psk.c
10138                 - (real_write_supplicant_config): work with PSKs that may contain
10139                         zeros in the binary format rather than treating it as a string
10140
10141 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10142
10143         * libnm-glib/nm-device-802-11-wireless.c
10144         (nm_device_802_11_wireless_get_capabilities): Implement.
10145
10146         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10147
10148         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10149
10150         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10151         reply only if it's not NULL. Not sure why this started happening right now.
10152
10153         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10154         code paths for when devices get removed on shutdown or when a device is just
10155         removed.
10156         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10157         gets freed so any signal from a device (disconnected for instance) would invoke
10158         NMState update which would crash.
10159         (nm_manager_remove_device): Bring the device down when it gets removed.
10160
10161         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10162         the unused dev_type.
10163
10164         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10165         reference to the added device, NMManager will own it (if it wants).
10166
10167         * test/nm-tool.c: Rewrite using libnm-glib.
10168
10169         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10170         We get signalled when it changes.
10171
10172         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10173         when it changes.
10174
10175         * libnm-glib/nm-device.c: Cache the device state property.
10176
10177         * libnm-glib/nm-access-point.c: Cache the strength property.
10178
10179         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10180         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10181         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10182         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10183         the device is down, activating, or activated (in case of A/B/G cards).
10184         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10185         it's all done through supplicant now.
10186
10187         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10188         counting issues with pending calls which caused leaks and crashes when
10189         interface was removed (now that the interface actually gets removed).
10190
10191         * src/nm-call-store.c: Make a copy of data before running a foreach
10192         with user callback on it - The most common usage pattern is to cancel
10193         (and thus remove) all pending calls with foreach which would modify
10194         the hash table we're iterating over.
10195
10196         * src/nm-manager.c: When a device is added, make sure it is "up". When
10197         it's removed or disabled due to disabling wireless or networking, bring
10198         it down.
10199
10200         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10201
10202         * src/nm-device-802-11-wireless.c: 
10203         * src/nm-device-802-3-ethernet.c: 
10204         * src/nm-device.c:
10205                 - Remove "init" virtual function, all gobjects have a place for that
10206                   already (constructor).
10207                 - Replace "start" virtual function with "bring_up", devices can be
10208                   brought up and down more than just on startup now.
10209                 - Add "is_up" virtual function.
10210                 - Implement one way to bring a device down instead of previous 4 different
10211                   ways, each of witch did something different.
10212
10213         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10214         all it needs is the device interface.
10215
10216         Get rid of NMData.dev_list (3 members to go).
10217         Get rif of NMData in a lot of places.
10218
10219         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10220
10221 2007-02-23  Dan Williams  <dcbw@redhat.com>
10222
10223         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10224
10225         * src/NetworkManagerAP.c
10226                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10227                         OR-ing rather than AND-ing
10228
10229 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10230
10231         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10232         "network-removed" signals.
10233
10234         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10235
10236         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10237         when receiving the signal from dbus.
10238
10239         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10240         property.
10241
10242         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10243         deactivation of the previously activated device working again.
10244
10245         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10246         and setter.
10247
10248         * src/nm-device.c (nm_device_is_activated): Remove.
10249         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10250
10251         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10252         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10253         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10254         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10255         Remove NMNetworkStatus and NMActStage enums.
10256
10257 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10258
10259         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10260         Handle device state changes and disconnect VPN if it's device deactivates.
10261
10262         * src/nm-dbus-nm.c: 
10263         * src/nm-dbus-nm.h: 
10264         * src/nm-dbus-device.c: 
10265         * src/nm-dbus-device.c: 
10266         * src/nm-dbus-net.c: 
10267         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10268
10269         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10270
10271         * src/nm-device.c (nm_device_get_by_udi):
10272         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10273         implemented in the correct location (NMManager).
10274         Rip out all the test_device stuff.
10275
10276         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10277         failure handlers, it's all done by NMDevice already.
10278
10279         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10280         Remove the iochannel hack to route the unix signals to the main thread since
10281         we're not threaded anymore.
10282
10283         * src/NetworkManagerAP.c: Implement HWAddress property.
10284
10285         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10286         automatically with dbus-glib.
10287
10288         * src/nm-netlink-monitor.c: 
10289         * src/nm-netlink-monitor.h:
10290                 - Move it low in the class hierarchy, don't reference any NM types.
10291                 - Remove private data from the header.
10292                 - Use type safe checks in public API methods.
10293                 - Make it a singleton so we don't have to pass the single reference around.
10294
10295 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10296
10297         * introspection/nm-ip4-config.xml: Implement.
10298
10299         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10300
10301         * libnm-glib/nm-ip4-config.c:
10302         * libnm-glib/nm-ip4-config.c: Implement.
10303
10304         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10305         securities. APs reference security.
10306
10307         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10308         be exported over DBUS.
10309
10310         * src/nm-device-802-3-ethernet.c: Ditto.
10311
10312         * src/NetworkManagerAP.c:
10313         * src/NetworkManagerAP.h:
10314                 - Convert to GObject, export over DBUS.
10315
10316         * src/nm-ip4-config.h:
10317         * src/nm-ip4-config.h:
10318                 - Convert to GObject, export over DBUS.
10319
10320 2007-02-12  Dan Williams  <dcbw@redhat.com>
10321
10322         Patch from Helmut Schaa <hschaa@suse.de>
10323
10324         * vpn-daemons/pptp/configure.in
10325           vpn-daemons/pptp/Makefile.am
10326           vpn-daemons/openvpn/configure.in
10327           vpn-daemons/openvpn/Makefile.am
10328           vpn-daemons/vpnc/configure.in
10329           vpn-daemons/vpnc/Makefile.am
10330                 - Add --without-gnome switch which disables building gnome bits
10331
10332 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10333
10334         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10335
10336         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10337
10338         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10339         'HwAddress'.
10340
10341         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10342
10343         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10344
10345         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10346
10347         * src/:
10348                 - Remove old low-level dbus interface implementations and replace them
10349                   with dbus-glib one.
10350
10351         * configure.in:
10352                 - Require dbus-glib >= 0.72.
10353                 - Plug in new sources to build.
10354
10355         * libnm-glib/:
10356                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10357                   to make it more convenient to use from GObject based programs.
10358
10359         * introspection/:
10360                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10361
10362 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10363
10364         * src/nm-device-802-11-wireless.c:
10365                 - Add "network-added" and "network-removed" signals.
10366                 - Use gobject boilerplate macros to define the GObject.
10367                 - Implement wireless device activation.
10368                 - Remove activation_failure_handler and activation_success_handler
10369                   and instead listen on state-changed signals and run the same code
10370                   from there.
10371
10372         * src/nm-device.c:
10373                 - Implment NMDeviceInterface::deactivate.
10374                 - Remove activation_failure_handler and activation_success_handler
10375                   virtual methods. Each device which is interested in these events
10376                   can just listen on it's state changed signals.
10377
10378         * src/NetworkManagerPolicy.c:
10379                 - Move a bit more NMData usage to NMManager.
10380                 - Remove activation scheduling bits.
10381                 - Add listeners for wireless device's "network-added" and
10382                   "network-removed" signals.
10383                 - Listen device changed signals and deactivate currently activated
10384                   device when another device start activating (for now).
10385                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10386                   for calling this, the policy code knows exactly when this should happen,
10387                   by listening on events from NMManager and NMDevices.
10388
10389         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10390         Implement.
10391
10392         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10393         method on the specific device instead of going to through policy code
10394         and determining the device type by passed in AP's existance.
10395
10396         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10397         abstract NMDevice deactivation.
10398
10399 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10400
10401         * src/NetworkManager.c:
10402                 - Set up all the shiny new managers.
10403
10404         * src/NetworkManagerPolicy.c:
10405                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10406                   classes to call into policy code, make the policy code kind of like
10407                   a supervisor that monitors what's going on and drives the whole NM.
10408
10409         * src/nm-hal-manager.c: 
10410         * src/nm-hal-manager.h:
10411                 - Collect all libhal code scattered around NM to this one class.
10412                 - Listen libhal and NMManager events and add/remove devices to
10413                   NMManager.
10414
10415         * src/nm-manager.c:
10416         * src/nm-manager.h:
10417                 - Implment a replacement for NMData. NMData is now officially
10418                 deprecated.
10419
10420 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10421
10422         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10423         * src/supplicant-manager/nm-supplicant-interface.h
10424         * src/supplicant-manager/nm-supplicant-interface.c
10425         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10426         argument to boolean from enum.
10427
10428         Make NMDevice abstract class, remove almost all references to it's
10429         subclasses (the last place gets removed with new policy manager). Add
10430         NMDeviceInterface (which NMDevice implements) so that when we have
10431         NMDevice exported over DBUS, there's a common NMDevice interface which
10432         all instances have, plus there's a device specific interface for each
10433         specific type.
10434         Remove functions (nm_device_is_802_3_ethernet) and
10435         (nm_device_is_802_11_wireless). There are already standard GObject macros
10436         for type safe checks.
10437         Use the updated supplican manager API.
10438
10439         * src/nm-device-interface.h: 
10440         * src/nm-device-interface.c: 
10441         * src/nm-call-store.h: 
10442         * src/nm-call-store.c: Implement.
10443
10444         * src/supplicant-manager/nm-supplicant-interface.c:
10445         * src/supplicant-manager/nm-supplicant-interface.h:
10446         * src/supplicant-manager/nm-supplicant-manager.c:
10447         * src/supplicant-manager/nm-supplicant-manager.h:
10448                 - Remove all private data type references from public header files.
10449                 - Remove all references to other NM classes, this class is just a
10450                   proxy between wpa_supplicant and NM so it doesn't have to know
10451                   any internals.
10452                 - Convert to dbus-glib bindings.
10453                 - Type safe checks for public methods' arguments.
10454                 - Store pending DBUS call ids to NMCallStore.
10455
10456         * src/supplicant-manager/nm-supplicant-config.c:
10457                 - Store config values in a GHashTable instead of GSList.
10458
10459         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10460
10461         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10462         singleton now.
10463
10464         * src/nm-device.c: Use the new DHCP manager API.
10465
10466         * src/nm-activation-request.c:
10467         * src/nm-activation-request.h:
10468                 - Remove all dhcp related properties and methods.
10469
10470         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10471
10472         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10473
10474         * src/dhcp-manager/nm-dhcp-manager.c:
10475         * src/dhcp-manager/nm-dhcp-manager.h:
10476                 - Convert it to GObject since we need to signal state changes.
10477                 - Remove all references to other NM classes, this class is one
10478                   of the lowest classes in our hierarchy.
10479                 - One less class to use NMActRequest.
10480                 - Make it singleton, one less user of NMData.
10481                 - Remove a couple of sleep() calls.
10482                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10483                   One less class to use the NM's custom tailored signal handlig.
10484
10485         * Makefile.am: Generate marshallers, add them to build.
10486
10487 2007-02-02  Dan Williams  <dcbw@redhat.com>
10488
10489         * configure.in
10490           gnome/Makefile.am
10491           nm-applet.desktop
10492           Makefile.am
10493                 - Remove last bits referencing gnome applet
10494
10495 2007-02-02  Dan Williams  <dcbw@redhat.com>
10496
10497         * src/vpn-manager/nm-vpn-service.c
10498                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10499                         and NBNS server addresses
10500
10501 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10502
10503         * src/nm-dbus-manager.c:
10504         * src/nm-dbus-manager.h:
10505                 - Convert all internal DBUS code to use dbus-glib bindings.
10506                 - Remove GObject properties, we don't need them here.
10507                 - Don't explicitly set things to NULL after freeing, glib is
10508                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10509                 - Make public API argument checks type safe.
10510                 - Remove unnecessary (and wrong) cast to GObject for the first
10511                   argument to g_signal_* calls - The first argument is a gpointer.
10512                 - Export DBusGConnection to other cool classes that (are going to)
10513                   use dbus-glib.
10514
10515 2007-01-26  Dan Williams  <dcbw@redhat.com>
10516
10517         * libnm-util/dbus-dict-helpers.c
10518           libnm-util/dbus-dict-helpers.h
10519                 - Coordinate style with wpa_supplicant version to minimize diff
10520                 - Add uint32 array support
10521                 - (nmu_dbus_dict_append_uint32_array): new function
10522                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10523                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10524                         version; allow adding string array elements individually
10525
10526         * test/libnm-util/test-dbus-dict-helpers.c
10527                 - Test uint32 arrays
10528
10529 2007-01-27  Jürg Billeter  <j@bitron.ch>
10530
10531         * src/backends/NetworkManagerPaldo.c
10532                 - (nm_system_update_dns): clear nscd hosts cache
10533
10534 2007-01-04  Dan Williams  <dcbw@redhat.com>
10535
10536         Threading removal related cleanups:
10537
10538         - Use the glib default main context.  Remove the device main context
10539                 member from NMDevice, and the main_context member from NMData.  Change
10540                 all the idle and timeout scheduler functions to use plain
10541                 g_idle_add() and g_timeout_add().
10542
10543         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10544                 takes an argument; fix that up too.
10545
10546         - Remove all locking, which is useless since we no longer use threads.  For
10547                 example, nm_get_device_by_iface_locked() has been removed.  The global
10548                 device list lock, the AP List lock, and all static locks in
10549                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10550                 in NetworkManagerUtils.c have also been removed.
10551
10552         - Other cleanups in spacing and code style
10553
10554 2007-01-01  Dan Williams  <dcbw@redhat.com>
10555
10556         Found by Bill Moss:
10557
10558         * src/supplicant-manager/nm-supplicant-interface.c
10559                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10560                         the supplicant interface wasn't already disconnected.  Always
10561                         call removeNetwork and disconnect unless the supplicant interface
10562                         is in the DISCONNECTED or INACTIVE state.
10563
10564 2006-12-28  Dan Williams  <dcbw@redhat.com>
10565
10566         Use a single thread for everything.  With the move to wpa_supplicant
10567         and communication over D-Bus, there's no reason for multiple threads.
10568         Almost all of the blocking code has been removed, with one exception in
10569         the DHCP manager and a few in the VPN manager.  This commit removes the
10570         per-device worker thread and fixes activation cancellation in the absence
10571         of threads.  Further removal of thread-related code would be removing
10572         any locking code (like the device list lock) and simplification of logic
10573         around areas of code or data structures that are currently locked.
10574
10575         * autoip.c
10576           dhcp-manager/nm-dhcp-manager.c 
10577           nm-device-802-11-wireless.c
10578           nm-device-802-3-ethernet.c
10579           nm-device.c
10580           nm-device.h
10581                 - Remove usage of multiple threads
10582
10583 2006-12-19  Dan Williams  <dcbw@redhat.com>
10584
10585         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10586         plus a few other patches from wpa_supplicant bugzilla.
10587
10588         * src/Makefile.am
10589           src/NetworkManagerPolicy.c
10590           src/NetworkManagerUtils.c
10591           src/NetworkManagerUtils.h
10592           src/nm-ap-security-leap.c
10593           src/nm-ap-security-wep.c
10594           src/nm-ap-security-wpa-eap.c
10595           src/nm-ap-security-wpa-psk.c
10596           src/nm-ap-security.c
10597           src/nm-ap-security.h
10598           src/nm-device-802-11-wireless.c
10599           src/nm-device-802-11-wireless.h
10600           src/supplicant-manager/nm-supplicant-config.c
10601           src/supplicant-manager/nm-supplicant-config.h
10602           src/supplicant-manager/nm-supplicant-interface.c
10603           src/supplicant-manager/nm-supplicant-interface.h
10604           src/supplicant-manager/nm-supplicant-marshal.list
10605           src/supplicant-manager/nm-supplicant-settings-verify.c
10606           src/supplicant-manager/nm-supplicant-settings-verify.h
10607                 - Move all connection management and association handling to
10608                         wpa_supplicant over dbus, rather than spawning a private copy
10609
10610 2006-12-19  Dan Williams  <dcbw@redhat.com>
10611
10612         * src/NetworkManagerPolicy.c
10613                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10614                         better locking of the device change check handler ID.  Incorrect
10615                         locking was causing lost device change requests
10616
10617 2006-12-18  Dan Williams  <dcbw@redhat.com>
10618
10619         * libnm-util/dbus-dict-helpers.c
10620                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10621                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10622                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10623
10624 2006-12-18  Dan Williams  <dcbw@redhat.com>
10625
10626         * gnome/libnm_glib/libnm_glib.c
10627                 - Change dbus_connection_close() -> dbus_connection_unref()
10628
10629 2006-12-11  Dan Williams  <dcbw@redhat.com>
10630
10631         * src/supplicant-manager/nm-supplicant-interface.c
10632                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10633                         wpa_supplicant interface state
10634                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10635                         state before transitioning to READY state
10636
10637 2006-12-04  Dan Williams  <dcbw@redhat.com>
10638
10639         * src/nm-device-802-11-wireless.c
10640                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10641                         odd length of ESSID returned from ieee80211 stack-based drivers
10642
10643 2006-12-04  Dan Williams  <dcbw@redhat.com>
10644
10645         * src/nm-device-802-11-wireless.c
10646                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10647                         IE handling blocks that cause mis-parsing of the IE
10648
10649 2006-12-04  Dan Williams  <dcbw@redhat.com>
10650
10651         * src/nm-device-802-11-wireless.c
10652                 - (init_supplicant_interface): new function; pull supplicant interface
10653                         setup code out into standalone function since it must be called from
10654                         two different places
10655                 - (real_init): sup_mgr is now in private object data; get and track
10656                         the supplicant manager object over the NMDevice subclass' lifetime
10657                         and register a signal handler for its state signals; only try to
10658                         initialize the supplicant interface if the supplicant manager is in
10659                         the IDLE state (and therefore is ready for requests)
10660                 - (request_wireless_scan): reschedule the scan request if (a) there is
10661                         no supplicant interface yet (meaning wpa_supplicant isn't running
10662                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10663                         for requests yet
10664                 - (supplicant_iface_connection_state_cb): new function; stub for
10665                         handling supplicant interface connection state signals
10666                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10667                         comes and goes
10668                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10669                         supplicant manager object that's being tracked starting with this
10670                         commit
10671
10672 2006-12-04  Dan Williams  <dcbw@redhat.com>
10673
10674         * src/supplicant-manager/nm-supplicant-interface.c
10675                 - (nm_supplicant_interface_set_property): track signal handler ID
10676                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10677
10678 2006-12-04  Dan Williams  <dcbw@redhat.com>
10679
10680         * src/supplicant-manager/nm-supplicant-interface.[ch]
10681                 - (nm_supplicant_interface_get_state): new function
10682
10683 2006-12-04  Dan Williams  <dcbw@redhat.com>
10684
10685         * src/supplicant-manager/nm-supplicant-interface.c
10686                 - (bssid_properties_cb): don't treat DBus errors as valid
10687                         scanned AP messages
10688
10689 2006-12-04  Dan Williams  <dcbw@redhat.com>
10690
10691         * src/supplicant-manager/nm-supplicant-interface.[ch]
10692                 - (nm_supplicant_interface_get_connection_state): new function
10693                 - define new supplicant connection states
10694                 - send a signal when the supplicant connection state changes
10695
10696 2006-12-03  Dan Williams  <dcbw@redhat.com>
10697
10698         * src/supplicant-manager/Makefile.am
10699           src/supplicant-manager/nm-supplicant-connection.h
10700           src/supplicant-manager/nm-supplicant-connection.c
10701           src/supplicant-manager/nm-supplicant-config.h
10702           src/supplicant-manager/nm-supplicant-config.c
10703           src/supplicant-manager/nm-supplicant-types.h
10704           src/supplicant-manager/nm-supplicant-interface.h
10705           src/supplicant-manager/nm-supplicant-interface.c
10706                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10707
10708 2006-12-03  Dan Williams  <dcbw@redhat.com>
10709
10710         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10711
10712         * po/POTFILES.in
10713           po/POTFILES.skip
10714                 - Move VPN-related translatables to .skip
10715
10716         * vpn-daemons/pptp/po/POTFILES.in
10717                 - Update with new translatables
10718
10719 2006-12-02  Dan Williams  <dcbw@redhat.com>
10720
10721         Patch from Christian Persch <chpe@gnome.org>
10722
10723         * gnome/applet/Makefile.am
10724           gnome/applet/applet-dbus-devices.c
10725           gnome/applet/applet-notifications.c
10726           gnome/applet/applet.c
10727           gnome/applet/applet.h
10728           gnome/applet/main.c
10729                 - Be a GtkStatusIcon on GTK+ >= 2.10
10730
10731 2006-12-02  Dan Williams  <dcbw@redhat.com>
10732
10733         * gnome/applet/applet.c
10734                 - (nma_update_info): fix two unecessary allocations
10735
10736 2006-12-02  Dan Williams  <dcbw@redhat.com>
10737
10738         Patch from Michael Biebl <biebl@teco.edu>
10739         * configure.in
10740           man/NetworkManager.1.in
10741           man/NetworkManagerDispatcher.1.in
10742           man/NetworkManager.8.in
10743           man/NetworkManagerDispatcher.8.in
10744                 - Add .SH NAME stanzas
10745                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10746
10747 2006-12-02  Dan Williams  <dcbw@redhat.com>
10748
10749         Patch from Christian Persch <chpe@gnome.org>
10750
10751         * configure.in
10752                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10753
10754 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10755
10756         Patch by Timo Hoenig <thoenig@suse.de>:
10757         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10758         DBUS-1.0.
10759
10760         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10761         we can't use the one from the main source directory.
10762
10763 2006-11-27  Dan Williams  <dcbw@redhat.com>
10764
10765         Patch from Christian Persch <chpe@gnome.org>
10766
10767         * gnome/applet/applet-dbus-devices.c
10768                 - (hal_info_product_cb): fix memleak; free duped string.
10769                         Gnome.org #379908
10770
10771 2006-11-27  Dan Williams  <dcbw@redhat.com>
10772
10773         Patch from Christian Persch <chpe@gnome.org>
10774
10775         * gnome/applet/menu-items.c
10776                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10777                         as gtk_progress_set_percentage is deprecated.  Should
10778                         work as far back as GTK+ 2.4.  Gnome.org #379780
10779
10780 2006-11-26  Dan Williams  <dcbw@redhat.com>
10781
10782         Scan using wpa_supplicant over DBus.
10783
10784         * src/nm-device-802-11-wireless.c
10785                 - remove wireless extensions netlink event handler bits
10786                         (wireless_event_helper, nm_device_802_11_wireless_event)
10787                 - remove wireless extensions scan event handler bits
10788                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10789                         hex2byte, hex2num, request_and_convert_scan_results,
10790                         free_process_scan_cb_data, scan_results_timeout,
10791                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10792                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10793                         and request scans from the supplicant interface rather than directly
10794                 - Move functionality of convert_scan_results() to cull_scan_list() and
10795                         supplicant_iface_scanned_ap_cb()
10796                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10797                         at the scan interval when the current scan has finished
10798                 - (supplicant_iface_state_cb): start scanning when the supplicant
10799                         interface enters the READY state, and stop scanning when it
10800                         enters the DOWN state
10801                 - (cull_scan_list): weed out old access points from the scan list
10802                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10803                         point into an NMAccessPoint and merge it into the device's scan list
10804
10805         * src/supplicant-manager/nm-supplicant-interface.c
10806           src/supplicant-manager/nm-supplicant-interface.h
10807                 - Add a new signal "scan-result" which is issued when the supplicant
10808                         notifies NM that a scan has completed
10809                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10810                         point found in the scan.  Called once for each access point that
10811                         the supplicant interface object receives from the supplicant as a
10812                         result of the "scanResults" method call
10813                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10814                         for the initial scan results
10815                 - (scan_request_cb): new function; send listeners the result
10816                         (success, error) of a wireless scan request
10817                 - (nm_supplicant_interface_request_scan): new function; ask the
10818                         supplicant to perform an immediate wireless scan
10819
10820 2006-11-25  Dan Williams  <dcbw@redhat.com>
10821
10822         * src/supplicant-manager/Makefile.am
10823                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10824                         add HAL cflags/includes and named-manager includes directory
10825
10826         * src/supplicant-manager/nm-supplicant-interface.h
10827                 - New state STARTING to handle transition from INIT to READY where
10828                         the addInterface pending call is still outstanding
10829
10830         * src/supplicant-manager/nm-supplicant-interface.c
10831                 - track pending calls differently since we may have more than one
10832                         going on at any given time
10833                 - request scan results from wpa_supplicant; but don't do it more often
10834                         than every 4 seconds.  Drivers that do background scanning
10835                         (like the 'ipw' drivers) send a continuous stream of scan completion
10836                         notifications, so we don't want to hammer the supplicant or dbus
10837                         with requests for all scan results every time we get a completion
10838                         notification.
10839
10840 2006-11-25  Dan Williams  <dcbw@redhat.com>
10841
10842         * src/supplicant-manager/nm-supplicant-types.h
10843                 - new file; move all supplicant manager object typedefs here for
10844                         #include sanity
10845
10846         * src/supplicant-manager/nm-supplicant-interface.c
10847           src/supplicant-manager/nm-supplicant-interface.h
10848                 - new file; an object that interfaces an NMDevice object to the
10849                         supplicant and handles signals from the supplicant.  This object
10850                         does all necessary DBus communication with wpa_supplicant.
10851
10852         * src/supplicant-manager/nm-supplicant-manager.c
10853           src/supplicant-manager/nm-supplicant-manager.h
10854                 - Actually do something.  Track the state of the wpa_supplicant service
10855                         and deal with its comings & goings.  Handle life events of
10856                         supplicant interfaces too.
10857                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10858
10859         * src/supplicant-manager/nm-supplicant-connection.h
10860                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10861
10862         * src/supplicant-manager/Makefile.am
10863                 - Add new files to build, and add libnm-util to includes
10864
10865         * src/nm-marshal.list
10866                 - New marshaler type: VOID:UINT,UINT
10867
10868         * src/nm-device-802-3-ethernet.c
10869                 - (real_init): grab a supplicant interface
10870                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10871                 - (supplicant_iface_state_cb): new function, stub for handling
10872                         supplicant interface state changes
10873
10874         * src/nm-device-802-11-wireless.c
10875                 - (real_init): grab a supplicant interface
10876                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10877                 - (supplicant_iface_state_cb): new function, stub for handling
10878                         supplicant interface state changes
10879
10880         * src/NetworkManager.c
10881                 - (main): create and keep the supplicant manager around for the lifetime
10882                         of NetworkManager
10883
10884         * src/Makefile.am
10885                 - Link to the supplicant manager sub-library and use the supplicant
10886                         manager includes
10887
10888 2006-11-25  Dan Williams  <dcbw@redhat.com>
10889
10890         Rework DBus manager signal handling to be more flexible.  Previously,
10891         only one signal handler could be registered for a particular interface.
10892         The DBus manager now reference counts DBus bus matches and allows multiple
10893         clients to register signal handlers for the same interface and sender.
10894
10895         * src/NetworkManager.c
10896                 - (main): track NMI signal handler ID and remove it when we quit
10897
10898         * src/NetworkManagerMain.h
10899                 - Keep track of NMI signal handler ID
10900
10901         * src/nm-dbus-manager.c
10902           src/nm-dbus-manager.h
10903                 - rework signal handling; each signal handler references one signal
10904                         match, but a signal match may be referenced by one or more
10905                         signal handlers.  Matches are refcounted and are destroyed when the
10906                         last signal handler that references the match is removed.  This is
10907                         necessary because two signal handlers may end up requiring the same
10908                         dbus bus match, so the match must live until the last signal handler
10909                         is destroyed (for example, with the wpa_supplicant network interface
10910                         dbus interface).
10911
10912         * src/dhcp-manager/nm-dhcp-manager.c
10913                 - (nm_dhcp_manager_new): track DHCP signal handler id
10914                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10915
10916         * src/vpn-manager/nm-vpn-service.c
10917                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10918                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10919
10920 2006-11-25  Dan Williams  <dcbw@redhat.com>
10921
10922         Suggested by Helmut Schaa <hschaa@suse.de>
10923
10924         * src/vpn-daemons/nm-vpn-service.c
10925                 - (supplicant_child_setup): new function
10926                 - (supplicant_exec): make child process use a new process group id
10927
10928         * src/nm-device-802-11-wireless.c
10929                 - (nm_vpn_service_child_setup): new function
10930                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10931                         process group id
10932
10933 2006-11-19  Dan Williams  <dcbw@redhat.com>
10934
10935         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10936         * gnome/vpn-properties/nm-vpn-properties.c
10937                 - clean up after renamed VPN connection
10938
10939 2006-11-19  Dan Williams  <dcbw@redhat.com>
10940
10941         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10942         * gnome/applet/applet-dbus-vpn.c
10943                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10944
10945         * gnome/vpn-properties/nm-vpn-properties.c
10946                 - (init_app): sort VPN connections
10947
10948 2006-11-09  Dan Williams  <dcbw@redhat.com>
10949
10950         * src/NetworkManagerAPList.c
10951                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10952                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10953                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10954                 broke hidden SSID matching.  Found by Bill Moss.
10955
10956 2006-10-25  Dan Williams  <dcbw@redhat.com>
10957
10958         * src/nm-dbus-nm.c
10959                 - (nm_dbus_nm_set_active_device): return an empty success message on
10960                         success, rather than falling through to the error case.
10961
10962 2006-10-25  Dan Williams  <dcbw@redhat.com>
10963
10964         * src/NetworkManagerUtils.c
10965                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10966                         "SCAN" command
10967
10968 2006-10-24  Dan Williams  <dcbw@redhat.com>
10969
10970         Reduce the number of times the Gnome applet wakes up, especially when
10971         it's doing absolutely nothing and is hidden.  Initial patch by
10972         Chris Aillon.
10973
10974         * gnome/applet/applet-dbus.c
10975                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10976                         kill the redraw timeout.  When NM starts up, start the redraw
10977                         timeout.  Also, if we get kicked off the bus for some reason,
10978                         start the reconnection timeout if one's not already running.
10979                 - (nma_dbus_init): better handling of error conditions, don't leak
10980                         a half-initialized dbus connection
10981                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10982                         the applet's data, just call nm_dbus_init_helper()
10983                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10984                         timeout that calls nma_dbus_connection_watcher()
10985                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10986                         reconnection timeout, and don't start the reconnection timeout
10987                         unconditionally anymore
10988
10989         * gnome/applet/applet-dbus.h
10990                 - Expose nma_start_dbus_connection_watch()
10991
10992         * gnome/applet/applet.c
10993                 - (nma_update_state): no longer static, called from applet-dbus.c for
10994                         immediate UI updates on certain events
10995                 - (nma_set_running): new function; take over setting applet->running,
10996                         when not running (ie, NM is not active), don't activate the redraw
10997                         timeout because we're not showing the applet anyway.  When we are
10998                         running (ie, NM is active), and only when we're running, start the
10999                         redraw timeout.
11000                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11001                         kill any reconnection timeout
11002                 - (nma_get_instance): move one-off dbus initialization code here since
11003                         nm_dbus_init_helper() gets called more than once, possibly by the
11004                         reconnection timeout function too.  And, when we start up, if we
11005                         can't get a connection to the bus, start the reconnection timeout.
11006                         But don't start the redraw timeout yet, only do that when we get
11007                         NM's state and find out if it's running or not.
11008
11009         * gnome/applet/applet.h
11010                 - Add the reconnection GSource ID
11011                 - Add prototypes for nma_set_running() and the no-longer-static
11012                         nma_update_state()
11013
11014 2006-10-24  Dan Williams  <dcbw@redhat.com>
11015
11016         * src/vpn-daemons/nm-dbus-vpnc.c
11017                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11018                         pending call tracker
11019                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11020                         pending call tracker; register one-vpn-connection update pending
11021                         call in pending call tracker
11022                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11023                         update pending call in pending call tracker
11024                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11025                         update pending call in pending call tracker; don't block waiting
11026                         for call to return
11027
11028 2006-10-19  Robert Love  <rml@novell.com>
11029
11030         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11031           refresh the cache.
11032
11033 2006-10-14  Dan Williams  <dcbw@redhat.com>
11034
11035         * src/dhcp-manager/nm-dhcp-manager.c
11036                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11037                 the dbus connection and the device object path rather than
11038                 constructing it inside both functions.  Saves a bit of memory
11039                 and clarifies a failure path.
11040                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11041                 and allocate device path here rather than each of the two
11042                 functions above.
11043
11044 2006-10-13  Dan Williams  <dcbw@redhat.com>
11045
11046         * src/NetworkManager.c
11047                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11048                 this somehow droppout in the refactor
11049
11050 2006-10-13  Dan Williams  <dcbw@redhat.com>
11051
11052         * Huge DBus refactor:
11053                 - Create a "DBus Manager" object which manages the connection and
11054                 sends signals on NameOwnerChanged and connection/disconnection events,
11055                 handles reconnection to the bus if NM gets kicked off, and abstracts
11056                 signal handling
11057                 - Remove DBusConnection members from places where they are no
11058                 longer needed due to the refactor, like the dbus-connection
11059                 property of the named manager, and from NMData
11060                 - Reformats a bunch of the code to gnome style
11061                 (8-space tabs, braces on same line as statement, 80-col width).
11062                 Consider it open season to reformat any bits to gnome style.
11063                 style that aren't already.
11064
11065 2006-10-13  Dan Williams  <dcbw@redhat.com>
11066
11067         * src/supplicant-manager/Makefile.am
11068                 - Add new files
11069
11070         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11071                 - Make it a minimal GObject
11072
11073         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11074                 - Verify settings destined for wpa_supplicant
11075
11076         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11077                 - Minimal GObject to track wpa_supplicant controlled device
11078                 connections
11079
11080 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11081
11082         * gnome/applet/applet.c: (nma_update_info),
11083         (nma_act_stage_to_pixbuf), (nma_update_state):
11084         Mark missing strings for translation. Fixes bug #343306.
11085
11086 2006-10-01  Dan Williams  <dcbw@redhat.com>
11087
11088         * src/vpn-manager/nm-vpn-manager.c
11089                 - (nm_vpn_manager_load_services): split and clean up
11090                 for readability and correctness.  Restrict VPN service
11091                 files to ending in ".name", as was meant from the
11092                 beginning (but not coded in).  Better error reporting.
11093
11094 2006-10-01  Dan Williams  <dcbw@redhat.com>
11095
11096         * utils/nm-utils.h
11097                 - Clean up formatting of debug/info/warning log messages
11098
11099 2006-09-27  Robert Love  <rml@novell.com>
11100
11101         Patch by Tambet Ingo <tambet@ximian.com>:
11102         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11103           actually work.
11104
11105 2006-09-07  Dan Williams <dcbw@redhat.com>
11106
11107         * test/Makefile.am
11108           test/libnm-util/Makefile.am
11109           test/nm-supplicant-test.c
11110                 - Add test program emulating the way NM drives wpa_supplicant
11111                 to help debug supplicant issues
11112
11113 2006-08-24  Dan Williams <dcbw@redhat.com>
11114
11115         * configure.in
11116           src/Makefile.am
11117           src/supplicant-manager/Makefile.am
11118           src/supplicant-manager/nm-supplicant-manager.c
11119           src/supplicant-manager/nm-supplicant-manager.h
11120                 - Add skeleton bits of the wpa_supplicant manager
11121
11122 2006-08-24  Dan Williams <dcbw@redhat.com>
11123
11124         Patch from Ed Catmur:
11125         * src/NetworkManagerUtils.c
11126                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11127                 if netmask is 0 (Gnome #352634)
11128
11129 2006-08-17  Robert Love  <rml@novell.com>
11130
11131         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11132           package is now DBUS-enabled and listens for the NM signals.
11133
11134 2006-08-14  Dan Williams  <dcbw@redhat.com>
11135
11136         * Patch from Christian Persch <chpe gnome org>
11137         * configure.in
11138           po/LINGUAS
11139           vpn-daemons/openvpn/po/LINGUAS
11140           vpn-daemons/openvpn/configure.in
11141           vpn-daemons/pptp/po/LINGUAS
11142           vpn-daemons/pptp/configure.in
11143           vpn-daemons/vpnc/po/LINGUAS
11144           vpn-daemons/vpnc/configure.in
11145                 - Convert to LINGUAS method so translators don't have to modify
11146                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11147                 0.35 or higher
11148
11149 2006-08-14  Dan Williams  <dcbw@redhat.com>
11150
11151         Patch from Alex Smith <alex.extreme2@gmail.com>
11152         * configure.in
11153           src/backends/Makefile.am
11154           src/backends/NetworkManagerFrugalware.c
11155                 - Add support for Frugalware
11156
11157 2006-08-13  Dan Williams  <dcbw@redhat.com>
11158
11159         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11160         * src/nm-device-802-11-wireless.c
11161                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11162                 Gnome #346875
11163
11164 2006-08-13  Dan Williams  <dcbw@redhat.com>
11165
11166         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11167         * src/nm-ap-security.c
11168           src/nm-ap-security.h
11169                 - Add authentication_required bits for subclasses to specify whether
11170                 or not real authentication is required for connections, i.e. whether
11171                 the AP rejects us when an encryption key is wrong or not.
11172
11173         * src/nm-ap-security-wep.c
11174           src/nm-ap-security-wpa-eap.c
11175           src/nm-ap-security-wpa-psk.c
11176           src/nm-ap-security-leap.c
11177                 - Implement authentication_required appropriately for each method
11178
11179         * src/nm-device-802-11-wireless.c
11180                 - Be smarter about when to request a key; for example, using a wrong key
11181                 in WEP shared key mode previously just timed out and did not request
11182                 a new key
11183
11184 2006-08-13  Dan Williams  <dcbw@redhat.com>
11185
11186         * gnome/libnm_glib/libnm_glib.c
11187                 - dbus_connection_disconnect() -> dbus_connection_close() for
11188                 dbus >= 0.90
11189
11190 2006-08-07  Dan Williams  <dcbw@redhat.com>
11191
11192         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11193         * src/NetworkManagerSystem.c
11194                 - Respect specified MTU.  Gnome #344967
11195
11196 2006-08-07  Dan Williams  <dcbw@redhat.com>
11197
11198         * src/vpn-manager/nm-vpn-service.c
11199                 - Simplify print_vpn_config() arguments
11200
11201         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11202         * src/vpn-manager/Makefile.am
11203           src/vpn-manager/nm-vpn-service.c
11204                 - Add new API for passing VPN config options as a dict. Gnome #344967
11205
11206 2006-08-06  Dan Williams  <dcbw@redhat.com>
11207
11208         * gnome/applet/applet-dbus-devices.c
11209           gnome/applet/applet-dbus-vpn.c
11210           gnome/applet/applet-dbus.c
11211           gnome/applet/applet-dbus.h
11212           src/nm-dbus-nmi.c
11213           utils/nm-utils.c
11214           utils/nm-utils.h
11215                 - Make pending call tracking code generic,
11216                 so we can use it in NM as well as the applet
11217
11218 2006-08-06  Dan Williams  <dcbw@redhat.com>
11219
11220         * src/nm-activation-request.c
11221                 - Refcount pending call objects
11222
11223 2006-08-06  Dan Williams  <dcbw@redhat.com>
11224
11225         Patch from Christan Chiesa <christanc@gmail.com>
11226         * configure.in
11227                 - Tell sha1.c to use bigendian mode on PPC
11228
11229 2006-08-04  Robert Love  <rml@novell.com>
11230
11231         Glib Memory Slices!
11232         * configure.in: Require glib 2.10 or later.
11233         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11234           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11235           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11236           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11237           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11238           Memory Slices are the greatest thing since bread slices.
11239         * src/NetworkManagerAP.c: Also, fix memory leak.
11240
11241 2006-08-01  Robert Love  <rml@novell.com>
11242
11243         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11244
11245 2006-07-31  Robert Love  <rml@novell.com>
11246
11247         * src/backends/interface_parser.c: Declarations must begin the block.
11248
11249 2006-07-24  Dan Williams  <dcbw@redhat.com>
11250
11251         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11252         * src/backends/Makefile.am
11253           src/backends/NetworkManagerArch.c
11254           src/backends/NetworkManagerDebian.c
11255           src/backends/NetworkManagerGeneric.c
11256           src/backends/NetworkManagerGeneric.h
11257           src/backends/NetworkManagerGentoo.c
11258           src/backends/NetworkManagerPaldo.c
11259           src/backends/NetworkManagerRedHat.c
11260           src/backends/NetworkManagerSlackware.c
11261           src/backends/NetworkManagerSuSE.c
11262                 - Genericize common backend functions
11263
11264 2006-07-18  Robert Love  <rml@novell.com>
11265
11266         * configure.in: Add "--with-notify" option to allow disabling of
11267           libnotify support.
11268
11269 2006-07-13  Dan Williams  <dcbw@redhat.com>
11270
11271         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11272         * gnome/applet/applet.glade
11273           gnome/applet/Makefile.am
11274           gnome/applet/nm-gconf-wso.c
11275           gnome/applet/nm-gconf-wso-leap.c
11276           gnome/applet/nm-gconf-wso-leap.h
11277           gnome/applet/wireless-security-manager.c
11278           gnome/applet/wso-leap.c
11279           gnome/applet/wso-leap.h
11280           include/NetworkManager.h
11281           libnm-util/dbus-helpers.c
11282           libnm-util/dbus-helpers.h
11283           src/Makefile.am
11284           src/NetworkManagerAP.c
11285           src/nm-ap-security.c
11286           src/nm-ap-security-leap.c
11287           src/nm-ap-security-leap.h
11288                 - Add LEAP authentication support
11289
11290 2006-07-13  Dan Williams  <dcbw@redhat.com>
11291
11292         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11293         * configure.in
11294           src/backends/NetworkManagerArch.c
11295           src/backends/NetworkManagerDebian.c
11296           src/backends/NetworkManagerGentoo.c
11297           src/backends/NetworkManagerPaldo.c
11298           src/backends/NetworkManagerRedHat.c
11299           src/backends/NetworkManagerSlackware.c
11300           src/backends/NetworkManagerSuSE.c
11301                 - Convert hardcoding of 'ip' path to configure-time
11302                         detected one
11303
11304 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11305
11306         * configure.in: added ru to ALL_LINGUAS
11307
11308 2006-07-10  Dan Williams  <dcbw@redhat.com>
11309
11310         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11311         * src/nm-device.c
11312                 - (real_act_stage3_ip_config_start): don't infinite loop when
11313                         dhcdbd isn't running (Gnome #346845)
11314
11315 2006-07-09  Dan Williams  <dcbw@redhat.com>
11316
11317         * gnome/applet/applet.c
11318                 - (nma_destroy): don't pass NULL to notify_notification_close
11319                         (RH #197917)
11320
11321 2006-07-09  Dan Williams  <dcbw@redhat.com>
11322
11323         * gnome/applet/applet.c
11324                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11325
11326 2006-07-04  Tor Krill  <tor@krill.nu>
11327
11328         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11329         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11330         (nm_system_restart_mdns_responder), (ArchReadConfig),
11331         (nm_system_device_get_system_config):
11332                 - Explicitly check for DHCP configuration
11333                 - Check if daemons are running before starting them
11334
11335 2006-06-25  Dan Williams  <dcbw@redhat.com>
11336
11337         * libnm-util/dbus-dict-helpers.[ch]
11338           test/libnm-util/test-dbus-dict-helpers.c
11339                 - Add string array support
11340
11341 2006-06-24  Dan Williams  <dcbw@redhat.com>
11342
11343         * src/dhcp-manager/nm-dhcp-manager.c
11344                 - (nm_dhcp_manager_process_signal): clean up spacing
11345
11346 2006-06-21  Dan Williams  <dcbw@redhat.com>
11347
11348         * src/nm-dbus-device.c
11349                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11350                         through dbus
11351
11352 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11353
11354         * configure.in: Added 'lv' to ALL_LINGUAS
11355
11356 2006-06-19  Dan Williams  <dcbw@redhat.com>
11357
11358         * src/NetworkManagerAP.c
11359                 - Clarify usage of user_created
11360
11361         * src/nm-ap-security-wep.c
11362           src/nm-ap-security-wpa-eap.c
11363           src/nm-ap-security-wpa-psk.c
11364           src/nm-ap-security.c
11365           src/nm-ap-security.h
11366                 - s/user_created/adhoc, because we really do mean adhoc
11367
11368         Patch from Bernard Blackham <bernard@blackham.com.au>
11369         * src/nm-device-802-11-wireless.c         
11370                 - (supplicant_send_network_config): instead of user_created,
11371                         use adhoc, and do AP_SCAN 2 for adhoc networks
11372
11373 2006-06-18  Robert Love  <rml@novell.com>
11374
11375         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11376           we have a value to set.  Gconf generates a warning if `val' is NULL.
11377         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11378           unless we actually received a valid private key file passphrase or
11379           password.  Otherwise, we don't know to later ask the applet to pull
11380           the key from the keyring.
11381
11382 2006-06-17  Dan Williams  <dcbw@redhat.com>
11383
11384         * libnm-util/dbus-dict-helpers.[ch]
11385           test/libnm-util/test-dbus-dict-helpers.c
11386                 - Fixes for zero-length byte arrays
11387                 - Replace return values of 0 with FALSE for clarity
11388                 - Test zero-length byte arrays
11389
11390 2006-06-17  Dan Williams  <dcbw@redhat.com>
11391
11392         * libnm-util/dbus-dict-helpers.[ch]
11393           test/libnm-util/test-dbus-dict-helpers.c
11394                 - Add helpers for byte arrays
11395                 - Rework bits of the testcase
11396
11397 2006-06-16  Dan Williams  <dcbw@redhat.com>
11398
11399         * libnm-util/Makefile.am
11400         * libnm-util/dbus-dict-helpers.[ch]
11401                 - Add some helpers to take the pain out of using dict types in
11402                         dbus.
11403
11404         * test/libnm-util/Makefile.am
11405         * test/libnm-util/test-dbus-dict-helpers.c
11406                 - Test cases for the dict helper functions
11407
11408 2006-06-15  Robert Love  <rml@novell.com>
11409
11410         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11411           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11412           if there is no key to pass.
11413         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11414           receiving a non-NULL key.
11415
11416 2006-06-14  Robert Love  <rml@novell.com>
11417
11418         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11419           copy the strings.
11420
11421
11422 2006-06-14  Dan Williams  <dcbw@redhat.com>
11423
11424         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11425         * src/nm-device-802-11-wireless.c
11426                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11427                         or ones where the driver is unknown
11428                 - (supplicant_exec): don't wait for supplicant startup here
11429                 - (supplicant_interface_init): finer grained polling for supplicant
11430                         startup
11431
11432 2006-06-13  Robert Love  <rml@novell.com>
11433
11434         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11435           if it is currently set to TRUE.  Otherwise, we will reset the value
11436           when we connect normally.
11437         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11438           the old BSSID is valid, too.  The recently added ESSID check may not be
11439           sufficient (we can remove it?).  What we really want to catch is the
11440           case of going from all-zeros to the BSSID of some other network, which
11441           happens on failure.
11442
11443 2006-06-09  Dan Williams  <dcbw@redhat.com>
11444
11445         * src/NetworkManagerSystem.[ch]
11446                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11447                         it was unused and pointless
11448                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11449                         fix for set_up_down_with_iface change
11450
11451         * src/vpn-manager/nm-vpn-connection.c
11452                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11453
11454         * src/backends/NetworkManagerPaldo.c
11455           src/backends/NetworkManagerRedHat.c
11456           src/backends/NetworkManagerSuSE.c
11457           src/backends/NetworkManagerArch.c
11458           src/backends/NetworkManagerDebian.c
11459           src/backends/NetworkManagerGentoo.c
11460                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11461                         appropriate
11462                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11463                         where appropriate
11464
11465 2006-06-09  Dan Williams  <dcbw@redhat.com>
11466
11467         Patch from Peter Jones:
11468         * src/nm-device-802-11-wireless.c
11469                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11470                         SSID hasn't changed from what we expect before automatically
11471                         updating the saved BSSID from a new AP
11472
11473 2006-06-08  Robert Love  <rml@novell.com>
11474
11475         Add 'fallback' support.  NetworkManager will attempt to brute-force
11476         connect to networks marked as fallback if there are no better wireless
11477         connections available.  This is useful as a method of last resort, to
11478         work around driver problems, and for use with hidden networks.
11479         * gnome/applet/applet-dbus-devices.c,
11480           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11481         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11482           pass it on via DBUS.
11483         * gnome/applet/applet.c: No fallback by default.
11484         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11485           Update other-network-dialog to add UI checkbox toggling fallback.
11486         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11487           propery from AP object.  Add "fallback" property to AP object.
11488         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11489         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11490         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11491           separate function.  Add get_best_fallback_ap() for returning an AP
11492           on which to attempt fallback.
11493         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11494         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11495
11496 2006-06-07  Robert Love  <rml@novell.com>
11497
11498         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11499           checked that the return type was GCONF_VALUE_STRING, not the correct
11500           GCONF_VALUE_BOOL, and thus it never worked.
11501         * src/NetworkManagerAPList.c: Before concluding that two networks are
11502           identical based on their BSSID, make sure that the BSSID in question
11503           is actually valid.  Specifically, an empty or all zero BSSID does not
11504           cut it.
11505         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11506           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11507           similar invariant clean up.
11508
11509 2006-06-02  Robert Love  <rml@novell.com>
11510
11511         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11512
11513 2006-05-28  Dan Williams  <dcbw@redhat.com>
11514
11515         * gnome/applet/applet.glade
11516           gnome/vpn-properties/nm-vpn-properties.glade
11517                 - Set window icons on dialogs  (Gnome.org #333420)
11518
11519 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11520
11521         * gnome/vpn-properties/nm-vpn-properties.glade:
11522         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11523         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11524         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11525                 - Make the VPN properties pages prettier and more HIG
11526                   compliant. Gnome Bug #336913.
11527
11528 2006-05-28  Dan Williams  <dcbw@redhat.com>
11529
11530         Patch from Christian Persch <chpe@gnome.org>
11531         * gnome/vpn-properties/nm-vpn-properties.c
11532         * gnome/vpn-properties/nm-vpn-properties.glade
11533                 - HIG-ification love  (Gnome.org #336846)
11534
11535 2006-05-28  Dan Williams  <dcbw@redhat.com>
11536
11537         Patch from Christian Persch <chpe@gnome.org>
11538         * configure.in
11539           gnome/vpn-properties/nm-vpn-properties.c
11540                 - (main): Fix option parsing.  Gnome.org #336847
11541
11542 2006-05-28  Dan Williams  <dcbw@redhat.com>
11543
11544         * gnome/vpn-properties/nm-vpn-properties.c
11545                 - (find_vpn_ui_by_service_name): protect against NULL service names
11546                 - (update_edit_del_sensitivity): protect against NULL service names
11547                         Gnome.org #341306
11548
11549 2006-05-28  Dan Williams  <dcbw@redhat.com>
11550
11551         Patch from Chris Fuller <crf@grandecom.net>:
11552         * src/nm-device-802-11-wireless.c
11553                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11554                         don't dispose of wireless-specific stuff unless it is actually
11555                         initialized.  Gnome.org #341263
11556
11557 2006-05-28  Dan Williams  <dcbw@redhat.com>
11558
11559         * src/NetworkManagerPolicy.c
11560                 - (nm_policy_device_change_check): don't switch devices if the "best"
11561                         AP is essentially the same as the current activation request, but
11562                         the current activation request isn't done activating yet.  Fixes
11563                         multiple requests for keyring password on startup for Gnome applet.
11564                         Gnome.org #341297
11565
11566 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11567
11568         * src/NetworkManager.c: use GOptions instead of getopt
11569         * configure.in: bump glib required version to >= 2.6 for GOption
11570           support
11571
11572 2006-05-25  Robert Love  <rml@novell.com>
11573
11574         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11575           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11576           instead of dumping ifdef's throughout the code.
11577         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11578           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11579           use nm_ioctl_info() in lieu.
11580
11581 2006-05-25  Robert Love  <rml@novell.com>
11582
11583         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11584         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11585           not using gcrypt.  Otherwise, we get a linker error.
11586
11587 2006-05-25  Robert Love  <rml@novell.com>
11588
11589         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11590         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11591           configure flag to disable building of the GNOME-based applet.
11592
11593 2006-05-25  Robert Love  <rml@novell.com>
11594
11595         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11596           parameter from link, because it shadows a global variable with some
11597           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11598           should never have exported to the entire system a common four letter
11599           word.  But we here at NetworkManager are team players.  Fixes
11600           GNOME bug #336532.
11601
11602 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11603
11604         * configure.in: Added mk.po, Macedonian translation.
11605
11606 2006-05-24  Robert Love  <rml@novell.com>
11607
11608         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11609           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11610           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11611
11612 2006-05-24  Robert Love  <rml@novell.com>
11613
11614         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11615           libnm-util/Makefile.am, src/Makefile.am,
11616           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11617           vpn-daemons/openvpn/properties/Makefile.am,
11618           vpn-daemons/pptp/auth-dialog/Makefile.am,
11619           vpn-daemons/pptp/properties/Makefile.am,
11620           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11621           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11622           user passed for --datadir, if anything, when setting the GNOME locale
11623           directory.  It should be a function of the specified datadir and not
11624           the prefix.
11625
11626 2006-05-24  Robert Love  <rml@novell.com>
11627
11628         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11629           src/NetworkManager.c: Take care to call bindtextdomain with the
11630           location of msgid files.
11631         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11632           files.
11633
11634 2006-05-22  Robert Love  <rml@novell.com>
11635
11636         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11637           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11638           99% of the time there is a real problem with wireless, and a
11639           seemingly successful connection via Zeroconf just confuses the user.
11640           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11641
11642 2006-05-22  Robert Love  <rml@novell.com>
11643
11644         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11645           autofs on interface up if NIS is configured.  On interface down, do
11646           nothing.
11647
11648 2006-05-22  Robert Love  <rml@novell.com>
11649
11650         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11651           to avoid calling g_object_unref() on stale pointers on error in
11652           nma_icons_free().  This happens because we short-circuit loaded the
11653           icons on the first failure but then free all icons.  Normally we have
11654           no issue because the icons were zero'ed out malloc, but we have stale
11655           pointer data after nma_icon_theme_changed().
11656         * gnome/applet/main.c: Return error code if nma_new() failed.
11657
11658 2060-05-21  Dan Williams  <dcbw@redhat.com>
11659
11660         * initscript/NetworkManager.in
11661                 - Ensure both dhcdbd and named are started before NM
11662
11663 2006-05-21  Dan Williams  <dcbw@redhat.com>
11664
11665         * configure.in
11666                 - Bump version to 0.7 to signify we are in 0.7 development
11667
11668 2006-05-21  Dan Williams  <dcbw@redhat.com>
11669
11670         Patch from Adam Schreiber <sadam@clemson.edu>
11671         * gnome/vpn-properties/nm-vpn-properties.c
11672                 - (main): correct Gnome program name  (gnome.org #342498)
11673
11674 2006-05-21  Dan Williams  <dcbw@redhat.com>
11675
11676         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11677
11678         * src/NetworkManagerDbus.[ch]
11679                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11680                         clarify that function's argument should be an escaped dbus object
11681                         path, and look for path segment end before returning a match
11682         * src/nm-dbus-nm.c:
11683                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11684
11685 2006-05-17  Robert Love  <rml@novell.com>
11686
11687         Functionality to differentiate Ad-Hoc networks from infrastructure
11688         networks in the applet, by displaying a special icon:
11689         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11690         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11691         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11692           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11693           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11694           networks, encrypted or not.
11695         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11696           accessor functions to get and set the mode of a given network,
11697           wireless_network_get_mode() and wireless_network_set_mode().
11698
11699 2006-05-17  Robert Love  <rml@novell.com>
11700
11701         Functionality to automatically add BSSIDs to the allowed-MAC list as
11702         one roams from access point to access point on a given network:
11703         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11704           helper function to compare two ether_addr structures and return TRUE
11705           if they contain the same MAC address.
11706         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11707           prototype.
11708         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11709           stored with the current AP.  If the BSSID has indeed changed, we
11710           send it out to the applet, allowing the allowed-MAC list to grow
11711           automatically in response to roaming.
11712
11713 2006-05-16  Robert Love  <rml@novell.com>
11714
11715         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11716           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11717
11718 2006-05-13  Dan Williams  <dcbw@redhat.com>
11719
11720         * src/nm-device-802-3-ethernet.c
11721                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11722                         carrier detect (Debian bug #366373)
11723
11724 2006-05-11  Dan Williams  <dcbw@redhat.com>
11725
11726         Patch from Michael Biebl <biebl@teco.edu>
11727         * src/backends/NetworkManagerDebian.c
11728                 - Debian backend fixups
11729
11730 2006-05-10  Robert Love  <rml@novell.com>
11731
11732         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11733
11734 2006-05-09  Robert Love  <rml@novell.com>
11735
11736         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11737           private certificate passphrase, if any, in the GNOME Keyring.
11738         * libnm-utils/dbus-helpers.c: Update.
11739
11740 2006-05-05  Dan Williams  <dcbw@redhat.com>
11741
11742         * src/nm-device-802-11-wireless.c
11743                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11744                         nm_device_802_11_wireless_disable_encryption() since that's all
11745                         we use it for anymore; we don't ever set WEP keys ourselves.
11746                 - (real_deactivate_quickly): reset SSID and encryption keys
11747                 - (real_deactivate): move SSID and encryption key reset to
11748                         real_deactivate_quickly(), which gets run before us anyway
11749
11750 2006-05-05  Robert Love  <rml@novell.com>
11751
11752         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11753           root has a wacky default of its own (or, more common, a user has a
11754           bad umask and uses su/sudo to restart NetworkManager).  Anything
11755           other than 0022 does not do what we want with, for example,
11756           resolv.conf.  This problem is amplified by our judicious use of
11757           fopen(), which uses mode 0666 -- implying that the only way to get
11758           the permissions we want is with a umask of 0022.
11759
11760 2006-05-05  Dan Williams  <dcbw@redhat.com>
11761
11762         * gnome/libnm_glib/libnm_glib.c
11763                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11764                         to reconnect; instead wait a bit more with each reconnect attempt
11765                         up to a max of one minute.
11766
11767 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11768
11769         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11770           the WirelessNetwork structure using the proper function instead of
11771           just casting it directly to (const char *) (gnome.org #336991)
11772
11773 2006-05-03  Robert Love  <rml@novell.com>
11774
11775         * src/backends/NetworkManagerSuSE.c: Respect the variable
11776           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11777           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11778           to dynamically update /etc/resolv.conf.
11779
11780 2006-05-02  Peter Jones  <pjones@redhat.com>
11781
11782         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11783
11784 2006-05-02  Robert Love  <rml@novell.com>
11785
11786         Patch by Timo Hoenig;
11787         * tests/nm-online.c: Print pretty status indicator as timeout winds
11788           down.  Also fix possible race between DBUS startup and failure
11789           return.
11790
11791 2006-05-01  Robert Love  <rml@novell.com>
11792
11793         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11794           empty, too.
11795
11796 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11797
11798         * src/nm-device.c (discover_device_type): Actually use the hal
11799         device type instead of ioctl poking
11800
11801 2006-04-26  Robert Love  <rml@novell.com>
11802
11803         * tests/nm-online.c: New file.  Simple utility that returns exit status
11804           noting whether the connection is offline or online.  If offline on
11805           start, it waits 30 seconds (or a command-line given value) for an
11806           online signal.  If it times out, it again returns offline.  This is
11807           useful for scripts that want to wait for network connections.
11808
11809 2006-04-25  Robert Love  <rml@novell.com>
11810
11811         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11812           key mode (the authentication algorithm), e.g. open or shared, when we
11813           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11814           only shared was broken.  If the user specified a shared key, set it
11815           explicitly, otherwise let wpa_supplicant go with the default.
11816
11817 2006-04-24  Dan Williams  <dcbw@redhat.com>
11818
11819         * src/nm-device-802-11-wireless.c
11820                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11821
11822 2006-04-24  Dan Williams  <dcbw@redhat.com>
11823
11824         Commit the async scanning patch
11825
11826         * src/nm-device-802-11-wireless.c
11827                 - get rid of scan_mutex
11828                 - (wireless_event_helper): act on wireless scan events
11829                 - (real_start): schedule a pending scan
11830                 - (link_to_specific_ap): fake the link to the AP during a scan
11831                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11832                         strength during scans
11833                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11834                         nm_device_set_bitrate): unused with new scanning code, disable
11835                 - (nm_device_wireless_schedule_scan): removed
11836                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11837                 - (request_and_convert_scan_results): new function; retrieve scan
11838                         results from the driver and schedule the processing function
11839                 - (scan_results_timeout): timeout triggered when card doesn't send
11840                         a scan results wireless event during a certain interval
11841                 - (schedule_scan_results_timeout): new function; schedule the scan
11842                         results timeout
11843                 - (cancel_scan_results_timeout): new function; cancel the scan
11844                         results timeout
11845                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11846                         to do the scanning.  Otherwise, just request a scan but don't
11847                         grab results here; instead schedule a timeout for scan results and
11848                         let netlink notify us of scan completion events
11849                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11850                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11851                 - (supplicant_status_cb): ignore disconnect events while scanning
11852                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11853                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11854                         timeouts
11855                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11856
11857 2006-04-24  Dan Williams  <dcbw@redhat.com>
11858
11859         * gnome/applet/applet-dbus.c
11860                 - Disable the pending call debug stuff, seems under control now
11861
11862 2006-04-20  Robert Love  <rml@novell.com>
11863
11864         Fix bug where hidden ESSID's would not show up in the applet, even
11865         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11866         because nm_policy_device_list_update_from_allowed_list() would merge
11867         the data, putting a name to the hidden networks, but never notify NMI
11868         of the changes.  Simple fix is to invoke the function
11869         nm_dbus_signal_wireless_network_change() if we make a mapping.
11870         * src/NetworkManagerAPList.c: Call the function
11871           nm_dbus_signal_wireless_network_change() if we made a successful
11872           BSSID to ESSID mapping, notifying the applet of the "new" network.
11873         * src/NetworkManagerAPList.h: Update the prototypes for both
11874           nm_ap_list_copy_essids_by_address() and
11875           nm_ap_list_copy_one_essid_by_address().
11876
11877 2006-04-20  Robert Love  <rml@novell.com>
11878
11879         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11880           not set.  Just return zero.
11881
11882 2006-04-20  Robert Love  <rml@novell.com>
11883
11884         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11885           only one copy of nm-vpn-properties is running at a time via the 'ol
11886           X selection trick.  This prevents the user from opening two "VPN
11887           Connections" windows from within the applet, which leads to mass
11888           hysteria.
11889         * clipboard.c: New file, implementing simple X selection logic.
11890         * clipboard.h: New file.
11891         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11892
11893 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11894
11895         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11896         * configure.in
11897           initscript/Gentoo/Makefile.am
11898           initscript/Gentoo/NetworkManagerDispatcher.in
11899                 - New script
11900         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11901           Gentopia
11902
11903 2006-04-16  Dan Williams  <dcbw@redhat.com>
11904
11905         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11906         * configure.in
11907           initscript/Slackware/Makefile.am
11908           initscript/Slackware/rc.networkmanager-dispatcher.in
11909           initscript/Slackware/rc.networkmanager.in
11910                 - Update slackware initscripts
11911
11912 2006-04-10  Robert Love  <rml@novell.com>
11913
11914         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11915           the "delete_event" signal on the druid's parent window and handle it
11916           our way, lest using the WM to close the druid results in a series of
11917           bloody and ultimately lethal errors.
11918
11919 2006-04-10  Robert Love  <rml@novell.com>
11920
11921         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11922           'Back' too or else the 'Forward' option is initially disabled despite
11923           valid input.
11924
11925 2006-04-06  Robert Love  <rml@novell.com>
11926
11927         Fix bad but simple bug where an active modem connection did not update
11928         NM's connection state, breaking any app that did online/offline:
11929         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11930           represented whether a dial up connection is active, or not.
11931         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11932           to modem activation and deactivation.
11933         * src/NetworkManagerDbus.c: When asked our state, do not return
11934           disconnected if the modem is active.
11935
11936 2006-04-04  Robert Love  <rml@novell.com>
11937
11938         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11939           applet.  It just confuses the crap out of people and does not make a
11940           lot of sense, as the daemon still runs.
11941
11942 2006-04-02  Tor Krill  <tor@krill.nu>
11943
11944         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11945           in start of service.
11946         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11947           get Archlinux backend up to date.
11948
11949 2006-03-29  Robert Love  <rml@novell.com>
11950
11951         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11952         to add support for per-route MSS and improve support for per-interface
11953         MTU:
11954         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11955           optionally take an MSS parameter and set it for the given route.
11956           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11957           NMIP4Config's stored MSS, if any.
11958         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11959           the interface's MTU and the route's MSS, respectively.  Add functions
11960           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11961           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11962           MSS.
11963         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11964           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11965           nm_ip4_config_set_mss.
11966         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11967           VPN daemon.
11968         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11969           Change the retval of nm_system_get_mtu to guint32.
11970         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11971           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11972           servers can specify MTU's, we should set it here if the MTU was not
11973           provided.
11974
11975 2006-03-27  Jürg Billeter  <j@bitron.ch>
11976
11977         * configure.in:
11978         * initscript/Makefile.am:
11979         * initscript/paldo/Makefile.am:
11980         * initscript/paldo/NetworkManager.in:
11981         * initscript/paldo/NetworkManagerDispatcher.in:
11982         * src/backends/Makefile.am:
11983         * src/backends/NetworkManagerPaldo.c:
11984                 - Add paldo support
11985
11986 2006-03-27  Dan Williams  <dcbw@redhat.com>
11987
11988         Patch from Christian Persch <chpe@gnome.org>
11989         * gnome/applet/applet.glade
11990                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11991
11992 2006-03-27  Dan Williams  <dcbw@redhat.com>
11993
11994         Patch from Diffe <diffie@blazebox.homeip.net>
11995         * src/backends/NetworkManagerSlackware.c
11996                 - Don't restart howl, since it's been replaced by Avahi
11997                         in most distributions
11998
11999 2006-03-27  Dan Williams  <dcbw@redhat.com>
12000
12001         Patch from Tor Krill <bugzilla@krill.nu>
12002         * configure.in
12003           initscript/Makefile.am
12004           src/backends/Makefile.am
12005           src/backends/NetworkManagerArch.c
12006           initscript/Arch/Makefile.am
12007           initscript/Arch/networkmanager-dispatcher.in
12008           initscript/Arch/networkmanager.in
12009                 - Add Arch Linux support, fixes gnome.org #335147
12010
12011 2006-03-27  Dan Williams  <dcbw@redhat.com>
12012
12013         Patch from Diffe <diffie@blazebox.homeip.net>
12014      * initscript/Slackware/rc.networkmanager
12015         - update, fixed gnome.org #333368
12016
12017 2006-03-27  Robert Love  <rml@novell.com>
12018
12019         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12020           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12021
12022 2006-03-27  Robert Love  <rml@novell.com>
12023
12024         Patch by Jürg Billeter <j@bitron.ch>:
12025         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12026           systems.
12027         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12028           as we prefer glibc over kernel headers, if possible.
12029
12030 2006-03-27  Robert Love  <rml@novell.com>
12031
12032         Patch by Jon Escombe <list@dresco.co.uk>:
12033         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12034         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12035           fail, don't bail out.  We don't expect all of the various WPA-EAP
12036           values to be present.
12037         * src/nm-ap-security.c: We need to match all capabilities for each
12038           encryption type, not any one of them.
12039
12040 2006-03-27  Robert Love  <rml@novell.com>
12041
12042         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12043           restart, not reload, ypbind.  Unfortunately there is no superior
12044           solution.
12045
12046 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12047
12048         * gnome/applet/applet-notifications.c:
12049         When displaying a notification, make sure to get rid of the
12050         previous notification so as to not have competing bubbles,
12051         and stop leaking the old one.
12052
12053         * gnome/applet/applet.c:
12054         * gnome/applet/applet.h:
12055         Add a new 'notification' member to the applet, and zero it out
12056         and free it appropriately.
12057
12058 2006-03-23  Robert Love  <rml@novell.com>
12059
12060         Patch by j <j@bootlab.org>:
12061         * gnome/applet/applet.glade: Don't set the invisible_char property,
12062           which simply overrides the GTK default.  By and by, this behavior
12063           ought to be fixed in Glade.
12064
12065 2006-03-22  Robert Love  <rml@novell.com>
12066
12067         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12068
12069 2006-03-22  Robert Love  <rml@novell.com>
12070
12071         Bug fix by Timo Hoenig <thoenig@suse.de>:
12072         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12073           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12074           and the applet going AWOL.
12075
12076 2006-03-22  Robert Love  <rml@novell.com>
12077
12078         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12079           preprocessor define and use it instead of open-coded the DHCP
12080           timeout, which is currently 25 seconds, everywhere.
12081
12082 2006-03-22  Robert Love  <rml@novell.com>
12083
12084         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12085         key exchange via WPA, ostensibly providing good security without
12086         requiring hardware that supports full WPA.  Also, add UI elements to
12087         allow the user to select the pairwise & group cipher for WPA Enterprise
12088         networks, too:
12089         * gnome/applet/applet.glade: Update glade file.
12090         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12091           key type, too, to and from gconf.
12092         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12093           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12094           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12095           the capabilities match.
12096         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12097           prototype.
12098         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12099           serialize from UI to DBUS.
12100         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12101           one element.
12102         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12103           nmu_security_serialize_wpa_eap_with_cipher(), and
12104           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12105           serialize/deserialize the key type via DBUS as the new third DBUS
12106           parameter.
12107         * libnm-util/dbus-helpers.h: Update prototypes.
12108         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12109           too.  If the key type is WEP104, do Dynamic WEP, which means
12110           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12111           pairwise and group ciphers (fixes a FIXME).
12112
12113 2006-03-21  Robert Love  <rml@novell.com>
12114
12115         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12116           nm_system_get_mtu(), which returns a user-provided or system-mandated
12117           MTU value for a given device, if any, or zero if no such value
12118           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12119           if we have a provided value.
12120         * src/nm-device.c: Set the MTU of devices.
12121         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12122         * src/backends/NetworkManagerDebian.c,
12123           src/backends/NetworkManagerGentoo.c,
12124           src/backends/NetworkManagerRedHat.c,
12125           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12126
12127 2006-03-21  Robert Love  <rml@novell.com>
12128
12129         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12130           configuration file.
12131
12132 2006-03-17  Robert Love  <rml@novell.com>
12133
12134         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12135           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12136           it, in case it is not running in the first place.  We just want its
12137           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12138
12139 2006-03-15  Robert Love  <rml@novell.com>
12140
12141         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12142           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12143           label "WEP 40/128-bit" is inconsistent because the physical key size
12144           is 40 or 104-bits, to which a 24-bit initialisation vector is
12145           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12146           to read "40/104" or "64/128".  I do not care much which, but most
12147           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12148           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12149           WEP passphrase support only handles 128-bit keys, and any future
12150           64-bit passphrase support will require a new option (no way to auto-
12151           detect the target key size), explicitly label our passphrase support
12152           "WEP 128-bit Passphrase".
12153
12154 2006-03-15  Robert Love  <rml@novell.com>
12155
12156         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12157           the system init scripts (or some other mechanism) starting it (or a
12158           compatible DBUS service) before NetworkManager runs.  This means that
12159           distributions might need to update their init scripts.  This fixes
12160           possible races and is quite a bit cleaner.
12161         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12162           starting the NetworkManager daemon.
12163
12164
12165 2006-03-14  Robert Love  <rml@novell.com>
12166
12167         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12168           before adding anything.
12169
12170 2006-03-13  Robert Love  <rml@novell.com>
12171
12172         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12173           widgets, too, if they exist, in case the user hit the back button.
12174           Fixes a bug where the details page contains the widgets of multiple
12175           VPN modules (Novell bug #157048).
12176
12177 2006-03-13  Robert Love  <rml@novell.com>
12178
12179         Patch by Timo Hoenig <thoenig@suse.de>:
12180         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12181           daemon survive DBUS restarts, too.
12182
12183 2006-03-10  Robert Love  <rml@novell.com>
12184
12185         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12186           passphrase or key.
12187         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12188           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12189           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12190           in response to "toggled" signal on new toggle.
12191
12192 2006-03-10  Robert Love  <rml@novell.com>
12193
12194         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12195           serialization if strings are NULL, lest DBUS get angry.
12196
12197 2006-03-10  Robert Love  <rml@novell.com>
12198
12199         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12200
12201 2006-03-09  Robert Love  <rml@novell.com>
12202
12203         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12204           configurations.
12205
12206 2006-03-09  Dan Williams  <dcbw@redhat.com>
12207
12208         Track pending call requests in the applet, and report how many are
12209         outstanding, and how long each completed one takes.
12210         
12211         * gnome/applet/applet-dbus-devices.c
12212           gnome/applet/applet-dbus-vpn.c
12213                 - Track pending calls
12214
12215         * gnome/applet/applet-dbus.[ch]
12216                 - Remove some unused enums
12217                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12218                         new functions to track dbus pending calls and spit out some
12219                         statistics about them
12220
12221 2006-03-09  Robert Love  <rml@novell.com>
12222
12223         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12224           nm_ap_set_timestamp() take the second and micro-second parameters as
12225           direct arguments, which avoids both a dynamic memory allocation and a
12226           structure-to-structure copy!  Add a new interface, the aptly named
12227           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12228           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12229           the return from nm_ap_get_timestamp().  New users should use the new
12230           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12231           the extreme benefit to performance.
12232         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12233           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12234
12235 2006-03-08  Robert Love  <rml@novell.com>
12236
12237         * gnome/applet/applet.glade: Hide the password entry text with
12238           asterisks.
12239
12240 2006-03-08  Robert Love  <rml@novell.com>
12241
12242         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12243           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12244           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12245           a second argument, NMData.
12246         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12247         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12248           config files as trusted.
12249
12250 2006-03-06  Robert Love  <rml@novell.com>
12251
12252         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12253         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12254           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12255           Rivera, detect if the applet was auto-started.  If so, ask the user
12256           if he or she would like to stop automatically running the applet on
12257           login.  If so, disable autostart.
12258
12259 2006-03-06  Robert Love  <rml@novell.com>
12260
12261         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12262           directory in CFLAGS so developers can actually use NetworkManager.h.
12263
12264 2006-03-06  Robert Love  <rml@novell.com>
12265
12266         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12267           open-coded integer constants.  Add state_to_string() to map a given
12268           state to a textual description, and provide that when notifying of
12269           state change.
12270         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12271           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12272           this header directly, but it is currently not installed on most
12273           systems.
12274
12275 2006-03-05  Dan Williams  <dcbw@redhat.com>
12276
12277         Process netlink messages in device subclasses rather than in
12278         NetworkManager.c.  Also add support for recognizing Wireless Events.
12279         
12280         * configure.in
12281                 - Find GLIB_GENMARSHAL
12282
12283         * src/Makefile.am
12284                 - Since we're marshalling custom types for wireless event signals,
12285                         we get to create our own marshallers using GLIB_GENMARSHAL
12286
12287         * src/NetworkManager.c
12288                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12289                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12290                         cut down somewhat.  We no longer process signals here.
12291                 - (nm_data_new): create the netlink monitor here, and remove a
12292                         useless call to nm_policy_schedule_device_change_check()
12293                 - (nm_data_free): get rid of the netlink monitor here
12294                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12295                 - (main): don't create the netlink monitor here, let nm_data_new
12296                         do that.  Call nm_policy_schedule_device_change_check() right
12297                         before we jump to the mainloop to figure out which device
12298                         to use first
12299
12300         * src/NetworkManagerSystem.[ch]
12301                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12302                         convert back and forth from interface names to interface
12303                         indexes
12304
12305         * src/nm-device-802-11-wireless.c
12306                 - (real_init): connect to wireless-event signals from the netlink
12307                         monitor object
12308                 - (nm_device_802_11_wireless_event): new function, schedule handler
12309                         for wireless event signals from the netlink monitor object.  We
12310                         want the handler to run in the device's context
12311                 - (wireless_event_helper): handle wireless-event signals from netlink
12312                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12313                         signal handler
12314
12315         * src/nm-device-802-11-wireless.h
12316                 - remove unused prototype for nm_device_802_11_wireless_new
12317
12318         * src/nm-device-802-3-ethernet.c
12319                 - (real_init): new function; set up signal handlers for link events
12320                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12321                         handler for netlink link activated events on device's main loop
12322                 - (link_activated_helper): when we get a link activated event, set
12323                         the device's link to be active
12324                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12325                         handler for netlink link deactivated events on device's main loop
12326                 - (link_deactivated_helper): when we get a link deactivated event, set
12327                         the device's link to be inactive
12328                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12329                         dispose
12330
12331         * src/nm-device-802-3-ethernet.h
12332                 - remove unused prototype for nm_device_802_3_ethernet_new
12333
12334         * src/nm-device.[ch]
12335                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12336                         but locks the device list
12337                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12338
12339         * src/nm-netlink-monitor.[ch]
12340                 - (nm_netlink_monitor_class_install_signals): New signal
12341                         "wireless-event"
12342                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12343                         at the device list
12344                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12345
12346         * src/nm-marshal-main.c
12347                 - Include generated nm-marshal.c and nm-marshal.h
12348
12349         * src/nm-marshal.list
12350                 - List of custom marshal functions
12351
12352 2006-03-05  Dan Williams  <dcbw@redhat.com>
12353
12354         * gnome/applet/applet-notifications.h
12355                 - Protect prototype of nma_send_event_notification() because it
12356                         includes libnotify-specific types
12357                 - Include libnotify/libnotify.h too, since we technically need it
12358
12359         * gnome/applet/applet.c
12360                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12361                 - (nma_show_vpn_login_banner_dialog): add some error checking
12362
12363 2006-03-04  Dan Williams  <dcbw@redhat.com>
12364
12365         Clean up activation cancellation.  Should be a lot faster now.  Observed
12366         an issue with wireless devices between stage 2 and 3 of activation, where
12367         activation would be cancelled, but the device thread wouldn't notice until
12368         the supplicant association timed out.  Reorganize activation such that
12369         a cancellation handler gets immediately scheduled in the device's thread,
12370         and devices have a chance to perform any custom cleanup too.
12371
12372         * src/nm-device.[ch]
12373                 - (activation_cancel_handler): new device-type-specific function
12374                         for cleaning up device-type-specific stuff on cancellation
12375                 - (cancel_activation): removed
12376                 - (nm_device_activation_cancel): subsume functionality of
12377                         real_cancel_activation, but instead of doing anything, punt
12378                         operation to a handler that's run in device-thread context
12379                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12380                         a warning message
12381                 - (activation_handle_cancel_helper): cancellation handler run in
12382                         device-thread context, calls device-type-specific cancelation,
12383                         then tears down the activation request
12384                 - (real_activation_cancel_handler): generic cancellation handler,
12385                         deals with cancelling any in-process DHCP request
12386                 - (nm_device_activate_stage1_device_prepare,
12387                    nm_device_activate_stage2_device_config,
12388                    nm_device_activate_stage3_ip_config_start,
12389                    nm_device_activate_stage4_ip_config_get,
12390                    nm_device_activate_stage4_ip_config_timeout,
12391                    nm_device_activate_stage5_ip_commit): don't call
12392                         nm_device_schedule_activation_handle_cancel() any more, since
12393                         cancellation will have been already scheduled for us by
12394                         nm_device_activation_cancel().  Just exit the function and
12395                         assume that the cancel handler will be called next.
12396
12397         * src/nm-device-802-3-ethernet.c
12398                 - (real_act_stage2_config): remove; didn't do anything anyway
12399
12400         * src/nm-device-802-11-wireless.c
12401                 - (supplicant_status_cb): ensure we don't do anything if the activation
12402                         got cancelled
12403                 - (real_activation_cancel_handler): implement; cancel user key request
12404                         on activation cancellation
12405
12406 2006-03-04  Dan Williams  <dcbw@redhat.com>
12407
12408         * src/nm-device-802-11-wireless.c
12409                 - (supplicant_send_network_config): assume that drivers that don't
12410                         support WPA pretty much suck, and can't handle NM scanning
12411                         along with wpa_supplicant.
12412
12413 2006-03-03  Robert Love  <rml@novell.com>
12414
12415         * configure.in: Bump version to 0.6.0.
12416         * NEWS: Update.
12417
12418 2006-03-03  Robert Love  <rml@novell.com>
12419
12420         * configure.in: Require DBUS 0.60 or later.
12421
12422 2006-03-03  Dan Williams  <dcbw@redhat.com>
12423
12424         Fix a crash if an "Other wireless network" was chosen, failed, then
12425         chosen again from the applet's menu.  If the other network wasn't
12426         noticed in a scan, it wouldn't have any capabilities, but would still
12427         be listed because the user forced the network.  To fix this, we set
12428         sensible capabilities on the forced network, which will get overwritten
12429         with the correct ones if the network shows up later in a scan.
12430         
12431         * src/nm-ap-security.h
12432                 - Add a new "get_default_capabilities_func" member to the
12433                         NMAPSecurity class
12434
12435         * src/nm-ap-security.c
12436                 - (nm_ap_security_get_default_capabilities): new function
12437
12438         * src/nm-ap-security.c
12439           src/nm-ap-security-wep.c
12440           src/nm-ap-security-wpa-psk.c
12441           src/nm-ap-security-wpa-eap.c
12442                 - Implement get_default_capabilities_func() for all, which
12443                         uses the information contained in a specific NMAPSecurity
12444                         object to determine default AP capabilites necessary
12445                         to support that object
12446
12447         As a secondary measure, we now prune artificial access points that fail
12448         to be activated right away.  The thing failed, and we have no scan data for
12449         it, so it's pretty much useless since security information is only saved
12450         in the applets when a connection is successful.
12451
12452         * src/NetworkManagerAPList.c
12453                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12454                         not artificial.  If we see it, it's no longer a figment of the
12455                         user's imagination :)
12456
12457         * src/NetworkManagerPolicy.c
12458                 - (nm_policy_activation_failed): send along the failed AP if we
12459                         have it
12460
12461         * src/nm-device-802-11-wireless.c
12462                 - (real_activation_failure_handler): remove artificial APs from
12463                         the device list, because activation failed
12464
12465 2006-03-02  Robert Love  <rml@novell.com>
12466
12467         Add support for retrieving both the per-device speed and the
12468         per-network maximum supported rate.  Then change the getProperties
12469         DBUS API for both networks and devices to report this informaiton.
12470         Finally, display the information via both nm-applet and nm-tool:
12471         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12472           and set it.
12473         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12474           Information' dialog.
12475         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12476         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12477           network_device_get_speed() and network_device_set_speed() for
12478           retrieving and setting, respectively, a network device's current
12479           speed.
12480         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12481         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12482           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12483           not matter (yet) what the units are, because we only feed it its own
12484           output.  Implement SIOCGIRATE and set the per-network maximum
12485           supported rate during scanning.
12486         * src/nm-device-802-11-wireless.h: Export the function
12487           nm_device_802_11_wireless_get_bitrate().
12488         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12489           function nm_device_802_3_ethernet_get_speed() for returning an
12490           802.3's current speed, in Mb/s.
12491         * test/nm-tool.c: Display the per-device current speed, if available,
12492           and the per-network maximum rate.
12493
12494 2006-03-02  Dan Williams  <dcbw@redhat.com>
12495
12496         * src/nm-device-802-11-wireless.c
12497                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12498                         card when it gets initialized.  Since devices don't get added to
12499                         the scan list until they are initialized, this function wasn't
12500                         setting the intitial scan interval correctly, and was leaving
12501                         it at 0.  This caused cards to get many scan requests in a short
12502                         amount of time when they were initialized
12503
12504 2006-03-02  Robert Love  <rml@novell.com>
12505
12506         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12507           active device.  But do not do what we used to do and override the
12508           state, which caused the dreaded icon race of '05.
12509
12510 2006-03-02  Robert Love  <rml@novell.com>
12511
12512         Commit Dan's update of my previous commit:
12513         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12514           set_mode() function itself does the check.  But do only set the
12515           frequency if in Ad-Hoc mode.
12516
12517 2006-03-02  Robert Love  <rml@novell.com>
12518
12519         Patch by Brian Magnuson <magnuson@rcn.com>:
12520         * src/nm-device-802-11-wireless.c: During scanning, only set the
12521           wireless mode to infrastructure if it is not currently in
12522           infrastructure mode.  For some driver, setting the mode is a costly
12523           operation, apparently.
12524
12525 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12526
12527         * Makefile.am: use the correct dir for autostart mechanism.
12528
12529 2006-02-28  Dan Williams  <dcbw@redhat.com>
12530
12531         Patch from Brian Magnuson <magnuson@rcn.com>
12532         * gnome/applet/applet.c
12533                 - (nma_show_vpn_failure_dialog): fix errors left over from
12534                         libnotify support changes
12535
12536 2006-02-28  Dan Williams  <dcbw@redhat.com>
12537
12538         * src/vpn-manager/nm-vpn-act-request.[ch]
12539                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12540                         just one value
12541                 - (nm_vpn_act_request_is_failed): new function; return whether or
12542                         not the vpn activation request has failed
12543
12544         * src/vpn-manager/nm-vpn-manager.c 
12545                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12546                         daemon to kill the connection when the activation request fails.
12547                         Fixes issue where NM would get confused if the VPN activation
12548                         request timed out, and would not allow further VPN connections
12549                         on that service.
12550
12551 2006-02-28  Dan Williams  <dcbw@redhat.com>
12552
12553         * gnome/applet/applet.c
12554                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12555                         overlapping connection requests, disable all VPN menu items
12556                         but the active VPN connection
12557
12558 2006-02-28  Dan Williams  <dcbw@redhat.com>
12559
12560         * src/vpn-manager/nm-vpn-connection.c
12561                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12562                         called g_object_unref() on the connection's parent device
12563                         when it should have been ref-ed instead.  Fixes crash with
12564                         repeated vpn connect requests
12565
12566 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12567
12568         * gnome/applet/applet.glade:
12569         Mark a few strings non-translatable, since they shouldn't be.
12570
12571 2006-02-28  Dan Williams  <dcbw@redhat.com>
12572
12573         * src/vpn-manager/nm-vpn-service.c
12574                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12575                         already running, don't blindly ask it to connect, but wait until
12576                         it's in the STOPPED state first.  Fixes an assertion when user
12577                         starts a second vpn connection without stopping the first.
12578                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12579                         dbus service exists before continuing with the connection
12580                         process, and reduce latency while waiting for it to become
12581                         available
12582                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12583                         waiting for the vpn service daemon to become available
12584                 - General log message cleanups; show progress via "Stage x of 4"
12585                         rather than not telling anyone how many stages there are
12586
12587 2006-02-28  Robert Love  <rml@novell.com>
12588
12589         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12590         * src/backends/NetworkManagerSuSE.c: Implement the interface
12591           nm_system_should_modify_resolv_conf() for SUSE.
12592         * src/backends/NetworkManagerDebian.c,
12593           src/backends/NetworkManagerGentoo.c,
12594           src/backends/NetworkManagerRedHat.c,
12595           src/backends/NetworkManagerSlackware.c: Add stub.
12596         * src/named-manager/Makefile.am: Grab includes from src.
12597         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12598           automatic updating of resolv.conf.  This is useful for testing,
12599           broken static configurations, and administrator lock-down.
12600
12601 2006-02-28  Dan Williams  <dcbw@redhat.com>
12602
12603         * src/nm-device-802-11-wireless.c
12604                 - Move all the wpa_supplicant-related management stuff into its
12605                         own struct, just for oranization's sake
12606                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12607                         to a GIOChannel/GSource
12608                 - (supplicant_log_stdout): new function; grab output from the
12609                         wpa_supplicant stdout pipe and write it to our logs.
12610
12611 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12612
12613         * src/nm-device-802-11-wireless.c:
12614         Err, fix thinko in my previous commit.
12615
12616 2006-02-28  Robert Love  <rml@novell.com>
12617
12618         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12619
12620 2006-02-28  Robert Love  <rml@novell.com>
12621
12622         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12623           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12624           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12625           deserializers are responsible for freeing the returned DBUS strings.
12626
12627 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12628
12629         * src/nm-device-802-11-wireless.c:
12630         The scan list is being pruned prematurely.  We should prune after
12631         the device has gone MIA for three scans, not one.  Split out the
12632         interval to realtime seconds function to better serve this.
12633
12634 2006-02-27  Robert Love  <rml@novell.com>
12635
12636         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12637           Open the pid file O_TRUNC, so if it already exists we truncate it to
12638           zero length.  Also, be more verbose about warnings generated during
12639           writing out the pid file.  Finally, always write out the pid file if
12640           in daemon mode.  Use "--pid-file" to override the default.
12641
12642 2006-02-27  Robert Love  <rml@novell.com>
12643
12644         Patch by R. Vinay <rvinay@novell.com>:
12645         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12646           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12647           Novell bug #153628).
12648           
12649 2006-02-27  Robert Love  <rml@novell.com>
12650
12651         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12652           entry so user can hit <ENTER> after entering passphrase (Novell bug
12653           #153738).
12654
12655 2006-02-27  Dan Williams  <dcbw@redhat.com>
12656
12657         * gnome/applet/*
12658                 - Mass search/replace of:
12659                         nmwa -> nma
12660                         NMWirelessApplet -> NMApplet
12661                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12662                    (it ain't just for wireless anymore, ma!)
12663                 - Fix duplicate function name printing when using nm_warning
12664                 - wireless-applet.glade -> applet.glade
12665
12666 2006-02-27  Dan Williams  <dcbw@redhat.com>
12667
12668         * dispatcher-daemon/NetworkManagerDispatcher.c
12669                 - Accept --pid-file with a path to a pidfile, write it out on
12670                         startup, and delete it on shutdown
12671
12672         * src/NetworkManager.c
12673                 - Accept --pid-file with a path to a pidfile, write it out on
12674                         startup, and delete it on shutdown
12675                 - Move nm_print_usage() lower
12676
12677         * initscripts/RedHat/NetworkManager.in
12678                 - Use new --pid-file option
12679                 - Fix service stopping to wait a bit for NM to quit
12680
12681         * initscripts/RedHat/NetworkManagerDispatcher.in
12682                 - Use new --pid-file option
12683
12684 2006-02-26  Dan Williams  <dcbw@redhat.com>
12685
12686         * src/Makefile.am
12687                 - make and install nm-crash-logger
12688
12689         * src/nm-logging.[ch]
12690                 - New files; consolidate logging and crash handling
12691
12692         * src/nm-crash-logger.c
12693           src/gdb-cmd
12694                 - Standalong crashlogger for NM, grab a backtrace
12695                         using GDB
12696
12697         * src/NetworkManager.[ch]
12698                 - Remove signal handling and put it into nm-logging.c
12699
12700 2006-02-26  Dan Williams  <dcbw@redhat.com>
12701
12702         * configure.in
12703           gnome/applet/Makefile.am
12704                 - Conditionalize all the notify stuff
12705
12706         Merge most of Chris Aillon's notification patch:
12707         
12708         * gnome/applet/applet-notifications.[ch]
12709                 - New files; show a notification
12710         
12711         * gnome/applet/applet-dbus-devices.[ch]
12712                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12713                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12714                         new functions, do the right thing when a device change occurs
12715
12716         * gnome/applet/applet-dbus.c
12717                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12718                         signals, so we can handle them specially
12719
12720         * gnome/applet/applet.[ch]
12721                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12722                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12723                 - (nmwa_notify_state): remove
12724                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12725                         notification work is now done when the appropriate dbus signals
12726                         are received.
12727                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12728                         defer execution of the notification/dialog stuff.  That was an
12729                         artifact of the previous multi-threaded nature of the applet
12730                         and is now pointless.
12731                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12732                         no longer needed.  Function folded into applet-notifications.c
12733
12734         * src/NetworkManagerPolicy.c
12735                 - (nm_policy_activation_finish): send the AP along with the device
12736                         status change signal, if the connection is wireless.  Should
12737                         fix the race where applet would show a connection to "unknown"
12738
12739 2006-02-25  Robert Love  <rml@novell.com>
12740
12741         Add WPA Enterprise support:
12742         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12743           nm-gconf-wso-wpa-eap.h.
12744         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12745           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12746           serialization and deserialization.
12747         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12748           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12749           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12750         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12751           settings related to WPA Enterprise.
12752         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12753           instantiate WPA Enterprise wireless-security-option.
12754         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12755           Implement WPA Enterprise wireless-security-option object.
12756         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12757           defines.  Cleanup.
12758         * libnm-util/cipher-wpa-psk-hex.c,
12759           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12760         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12761           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12762           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12763           including the cipher to DBUS method, and
12764           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12765           to output.
12766         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12767           nm-ap-security-wpa-eap.h
12768         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12769           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12770         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12771           files.  Implement NMAPSecurityWPA_EAP object.
12772         * src/nm-ap-security-wpa-psk.c: Cleanup.
12773         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12774           an NMAPSecurityWPA_EAP object via the method
12775           nm_ap_security_wpa_eap_new_deserialize().
12776         * src/nm-dbus-nm.c: Cleanup.
12777         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12778           WPA Enterprise support.
12779
12780 2006-02-24  Robert Love  <rml@novell.com>
12781
12782         Patch from Timo Hoenig <thoenig@suse.de>:
12783         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12784
12785 2006-02-24  Robert Love  <rml@novell.com>
12786
12787         Patch from Dan Winship <danw@novell.com>:
12788         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12789           area to transparent.
12790
12791 2006-02-21  Dan Williams  <dcbw@redhat.com>
12792
12793         * gnome/applet/applet.[ch]
12794           gnome/applet/applet-dbus.c
12795                 - Implement notification support for VPN messages too
12796
12797 2006-02-21  Dan Williams  <dcbw@redhat.com>
12798
12799         * gnome/applet/applet-dbus-info.c
12800                 - Clean up warning messages to not double-print the function
12801
12802 2006-02-21  Dan Williams  <dcbw@redhat.com>
12803
12804         * gnome/applet/applet-compat.c
12805                 - (convert_one_entry): accept entries without a key_type and
12806                         convert them to unencrypted networks
12807
12808 2006-02-21  Dan Williams  <dcbw@redhat.com>
12809
12810         * gnome/libnm_glib/libnm_glib.c
12811                 - Use __func__ everywhere we can
12812                 - Code cleanups
12813                 - Use dbus pending calls rather than blocking
12814                 - Reduce busywaits for our thread to start and stop
12815                         (gnome.org #330562)
12816                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12817                         stomp on others using the default shared dbus connection.
12818                         Fixes #rh177546# and gnome.org #326572
12819
12820 2006-02-21  Dan Williams  <dcbw@redhat.com>
12821
12822         Patch from Rodney Dawes <dobey@novell.com>
12823         * configure.in
12824           gnome/applet/Makefile.am
12825           gnome/applet/applet.c
12826                 - Add libnotify support if '--enable-notify=yes' is passed
12827                   at configure time
12828
12829 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12830
12831         * configure.in (ALL_LINGUAS): ko added. (Korean)
12832
12833 2006-02-15  Robert Love  <rml@novell.com>
12834
12835         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12836           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12837           and WPA_SUPPLICANT_CONTROL_SOCKET.
12838         
12839 2006-02-15  Robert Love  <rml@novell.com>
12840
12841         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12842           information about what connection stage we are at, provide the total
12843           number of stages, e.g. "Stage 2 of 5", so users know how far along
12844           they are if they experience problems.
12845
12846 2006-02-15  Robert Love  <rml@novell.com>
12847
12848         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12849           define to $sysconfdir.
12850         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12851           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12852           type of VPN and then editing another results in a mangled dialog
12853           box containing the widgets from both VPNs (fixes Novell #150854).
12854           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12855
12856 2006-02-14  Robert Love  <rml@novell.com>
12857
12858         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12859           syslog's file descriptor.
12860
12861 2006-02-14  Robert Love  <rml@novell.com>
12862
12863         Fix bug around since the change to "deal with APs changing settings on
12864         us," checked in on the fifth of February in the year of the dog, 
12865         wherein connecting to non-broadcast encrypted networks always fails
12866         because nm_ap_get_encrypted() always returns FALSE, even when the user
12867         provided a key, because the newly-created fake AP does not have any
12868         capabilities set, which is a sypmtom of security settings not matching
12869         capabilities (Novell bug #150784):
12870         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12871           nm_ap_add_capabilities_from_security(), which sets the given AP's
12872           capabilities off the given security settings.  Also improve our
12873           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12874           NM_AUTH_CIPHER_AUTO.
12875         * src/nm-device-802-11-wireless.c: Call the function
12876           nm_ap_add_capabilities_from_security() to ensure that capabilities
12877           match newly updated security settings.
12878
12879 2006-02-14  Robert Love  <rml@novell.com>
12880
12881         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12882           error as a string, not an integer, if possible; do not print the
12883           function name twice; always give the interface, if possible; misc.
12884           cleanup.
12885
12886 2006-02-12  Dan Williams  <dcbw@redhat.com>
12887
12888         Patch from Tom Parker <palfrey@tevp.net>
12889         * src/NetworkManagerSystem.h
12890                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12891                         no longer used
12892
12893         * src/backends/NetworkManagerDebian.c
12894                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12895                         unused variables
12896
12897 2006-02-12  Dan Williams  <dcbw@redhat.com>
12898
12899         * vpn-daemons/openvpn/intltool-extract.in
12900           vpn-daemons/openvpn/intltool-merge.in
12901           vpn-daemons/openvpn/intltool-update.in
12902           vpn-daemons/pptp/intltool-extract.in
12903           vpn-daemons/pptp/intltool-merge.in
12904           vpn-daemons/pptp/intltool-update.in
12905                 - Remove from CVS, they should get created by intltoolize,
12906                         shouldn't they?
12907
12908 2006-02-12  Dan Williams  <dcbw@redhat.com>
12909
12910         * vpn-daemons/pptp/src/pppd/patchlevel.h
12911         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12912                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12913                         Makefile-defined VERSION
12914
12915 2006-02-09  Dan Williams  <dcbw@redhat.com>
12916
12917         Patch from: Vinay A R <rvinay@novell.com>
12918         * src/vpn-manager/nm-vpn-act-request.[ch]
12919                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12920                         IPSec VPNs require them for std gateway.
12921                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12922                         and 'user_routes_count'
12923                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12924                         defined routes  from NMVPNActRequest object, returns the string
12925                         array of routes.
12926
12927         * src/vpn-manager/nm-vpn-manager.[ch]
12928                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12929                         for 'user_routes' and 'user_routes_count'
12930         
12931         * src/vpn-manager/nm-dbus-vpn.c
12932                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12933                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12934         
12935         * src/vpn-manager/nm-vpn-service.c
12936                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12937                         the vpn daemon
12938
12939         Modifications by Dan:
12940         * src/vpn-manager/nm-vpn-service.c
12941                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12942                         arrays into dbus
12943
12944         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12945         * vpn-daemons/pptp/src/nm-pptp-service.c
12946         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12947                 - Grab user routes from dbus message
12948                 - Free all string arrays we got from dbus
12949
12950 2006-02-07  Robert Love  <rml@novell.com>
12951
12952         Patch by Stefan Seyfried <seife@suse.de>:
12953         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12954
12955 2006-02-06  Robert Love  <rml@novell.com>
12956
12957         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12958
12959 2006-02-06  Robert Love  <rml@novell.com>
12960
12961         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12962           test ">=" is never false.  If no newline is found, we loop forever.
12963           We can just check for ">" because the following if() will see the
12964           zero-th argument if the while() gets that far.
12965
12966 2006-02-05  Dan Williams  <dcbw@redhat.com>
12967
12968         Refine handling of non-broadcast networks.
12969
12970         * src/NetworkManagerAPList.c
12971                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12972                         property from scanned AP to the AP from the device list
12973
12974         * src/nm-device-802-11-wireless.c
12975                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12976                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12977                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12978                         networks since those don't have APs.
12979                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12980                         AP as non-SSID-broadcasting
12981                 - (process_scan_results): don't handle non-SSID-broadcasting here
12982
12983 2006-02-05  Dan Williams  <dcbw@redhat.com>
12984
12985         * src/nm-device-802-11-wireless.c
12986                 - (get_supplicant_timeout): new function; return
12987                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12988                         14 channels.  These are likely a/b/g cards, like Atheros, and
12989                         slow as hell to scan.
12990                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12991                         get_supplicant_timeout()
12992
12993 2006-02-05  Dan Williams  <dcbw@redhat.com>
12994
12995         * src/dhcp-manager/nm-dhcp-manager.c
12996                 - Loose a commit race with Robert; make sure size check
12997                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12998
12999 2006-02-05  Robert Love  <rml@novell.com>
13000
13001         Patch by Christoph Brill <chrisbrill@gmx.net>:
13002         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13003           with DHCP_SERVICE_NAME.
13004
13005 2006-02-05  Dan Williams  <dcbw@redhat.com>
13006
13007         Remove anything having to do with device_setup_func from the
13008         AP security objects, since it's no longer used.
13009
13010         * src/nm-ap-security.h
13011                 - Kill device_setup_func and nm_ap_security_device_setup()
13012
13013         * src/nm-ap-security-wep.c
13014           src/nm-ap-security-wpa-psk.c
13015                 - (real_device_setup): remove
13016
13017         * src/nm-ap-security.c
13018                 - (real_device_setup): remove
13019                 - (nm_ap_security_device_setup): remove
13020
13021         * src/nm-device-802-11-wireless.[ch]
13022                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13023                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13024                         and done by wpa_supplicant now anyway
13025
13026 2006-02-05  Dan Williams  <dcbw@redhat.com>
13027
13028         * src/nm-device-802-11-wireless.c
13029                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13030                         settings on us.  Previously NM would loop asking for the
13031                         key but getting the same one back.  Now, if the NMI-supplied
13032                         cipher doesn't overlap with the scanned AP capabilities,
13033                         we request a completely new key from the user.
13034
13035 2006-02-05  Dan Williams  <dcbw@redhat.com>
13036
13037         * src/NetworkManagerUtils.c
13038                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13039                         Handle newline killing better
13040
13041 2006-02-05  Dan Williams  <dcbw@redhat.com>
13042
13043         * gnome/applet/nm-gconf-wso.c
13044                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13045                         of unencrypted access point security info.
13046
13047 2006-02-03  Robert Love  <rml@novell.com>
13048
13049         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13050           user's encryption key, so we print the err_msg_cmd not the command,
13051           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13052           sense.
13053
13054 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13055
13056         * initscript/RedHat/NetworkManagerDispatcher.in:
13057         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13058         Patch from Dan Walsh <dwalsh@redhat.com>
13059
13060 2006-02-03  Robert Love  <rml@novell.com>
13061
13062         * dispatcher-daemon/NetworkManagerDispatcher.c,
13063           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13064           but use the sysconfdir.
13065
13066 2006-02-03  Robert Love  <rml@novell.com>
13067
13068         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13069           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13070           'char *'.
13071         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13072           nm_ip4_config_get_hostname() and
13073           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13074         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13075           leak g_strdup() result.
13076
13077 2006-02-03  Robert Love  <rml@novell.com>
13078
13079         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13080           broadcast == TRUE.  Also, copy broadcast and artificial properties
13081           from source network to destination in nm_ap_copy().
13082         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13083           since we now default new networks to non-hidden.
13084
13085 2006-02-03  Dan Williams  <dcbw@redhat.com>
13086
13087         * gnome/applet/main.c
13088                 - (main): change the NEVER->ALWAYS so we start at the
13089                         beginning of the session, if being session-managed
13090
13091 2006-02-03  Dan Williams  <dcbw@redhat.com>
13092
13093         * gnome/applet/main.c
13094                 - (main): in a variation on Robert's patch, change
13095                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13096                         he wants.
13097
13098 2006-02-02  Robert Love  <rml@novell.com>
13099
13100         * src/Makefile.am: If we aren't going to create the run directory at,
13101           uh, run-time, create it during install.  Then users just doing
13102           'make install' are cool, too.  While we are here, create the
13103           dispatcher.d directory, too.
13104         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13105           the exact run directory.
13106         * Makefile.am: Install nm-applet.desktop.
13107
13108 2006-02-02  Robert Love  <rml@novell.com>
13109
13110         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13111           structure, which denotes whether or not the AP is hidden.  This is a
13112           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13113           can show up in the scan list.  Add nm_ap_get_broadcast() and
13114           nm_ap_set_broadcast() accessor interfaces.
13115         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13116           nm_ap_set_broadcast().
13117         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13118           "getProperties" method, which denotes whether or not the given
13119           network is hidden.
13120         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13121           an artificial network.  Set broadcast to TRUE when scanning returns
13122           an ESSID and FALSE when not.
13123         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13124           from "getProperties" method on a network.  Possible TODO is to
13125           somehow display this.
13126         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13127
13128 2006-02-02  Dan Williams  <dcbw@redhat.com>
13129
13130         * src/nm-device-802-11-wireless.c
13131                 - (supplicant_interface_init): don't try to create
13132                         /var/run/NetworkManager, since that should be done by
13133                         the distro package.  Causes problems for stuff like SELinux
13134
13135 2006-02-02  Robert Love  <rml@novell.com>
13136
13137         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13138         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13139           Check for and handle empty string for iface.
13140
13141 2006-02-01  Robert Love  <rml@novell.com>
13142
13143         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13144           manpage.
13145
13146 2006-01-31  Dan Williams  <dcbw@redhat.com>
13147
13148         * nm-applet.desktop
13149                 - Add --sm-disable to Exec arguments, presuming that when
13150                         using autostart, we don't want session management
13151
13152 2006-01-31  Robert Love  <rml@novell.com>
13153
13154         * src/NetworkManagerAP.c: Add two new manufacturer default network
13155           names: linksys-a and linksys-g.  These are found (at least) on the
13156           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13157           own ESSID.
13158
13159 2006-01-31  Robert Love  <rml@novell.com>
13160
13161         * src/NetworkManagerAP.c: Optimize the function
13162           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13163           machine code.  This is the first in a series of code tweaks aiming to
13164           generate better machine code and make NetworkManager all the better.
13165           Just kidding.  Who has time to go through the assembly generated for
13166           every function?  I certainly don't.  I have a wife, a kid, a job,
13167           a mortgage, a mistress.  But this function was so bad, I was called
13168           to arms.  Like the book.
13169
13170 2006-01-31  Robert Love  <rml@novell.com>
13171
13172         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13173           AP is not broadcasting, to scan with probe request frames.  Required
13174           for non-broadcast networks.
13175
13176 2006-01-31  Robert Love  <rml@novell.com>
13177
13178         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13179           preprocessor define (still 20s).  Fix message text in nm_info()
13180           s/too too/took too/.
13181
13182 2006-01-30  Dan Williams  <dcbw@redhat.com>
13183
13184         * src/nm-device-802-11-wireless.c
13185                 - (supplicant_monitor_start): increase connect/auth timeout to
13186                         20 seconds from 10 seconds
13187
13188 2006-01-30  Dan Williams  <dcbw@redhat.com>
13189
13190         * src/Makefile.am
13191                 - Define LOCALSTATEDIR
13192
13193         * src/nm-device-802-11-wireless.c
13194                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13195                         socket where we want it to
13196
13197         * src/wpa_ctrl.[ch]
13198                 - (wpa_ctrl_open): accept location to put local control socket
13199
13200 2006-01-30  Robert Love  <rml@novell.com>
13201
13202         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13203           get_ip4_string() for "domain_name".
13204
13205 2006-01-30  Robert Love  <rml@novell.com>
13206
13207         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13208           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13209           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13210           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13211           support for "Automatic" pairwise and group cipher configuration by
13212           letting wpa_supplicant handle the details.  Add UI elements, new
13213           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13214           charm.  Note this does more than add a nice feature, it fixes a bug.
13215           Apparently, some people have AP's where the pairwise cipher does not
13216           match the group cipher.  Insane, but true.
13217
13218 2006-01-30  Dan Williams  <dcbw@redhat.com>
13219
13220         * gnome/applet/applet-dbus-devices.c
13221                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13222                         functions, grab device driver name from NetworkManager
13223                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13224
13225         * gnome/applet/applet.c
13226                 - (nmwa_update_info): show driver name in Connection Information
13227                         dialog
13228
13229         * gnome/applet/nm-device.[ch]
13230                 - (network_device_get_driver, network_device_set_driver): add
13231                         accessors for driver name
13232
13233         * gnome/applet/wireless-applet.glade
13234                 - Add line for driver name to Connection Information dialog
13235
13236         * src/nm-dbus-device.c
13237                 - (nm_dbus_device_get_driver): new function to return driver name
13238                 - (nm_dbus_device_methods): hook up driver name function to dbus
13239
13240         * test/nm-tool.c
13241                 - (get_driver_name): new function
13242                 - (detail_device): grab and show driver name
13243
13244 2006-01-30  Robert Love  <rml@novell.com>
13245
13246         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13247           does not parse the markup if it is not part of the format.
13248
13249 2006-01-30  Robert Love  <rml@novell.com>
13250
13251         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13252           FALSE, we have no security options for this dialog, so we throw up
13253           an error dialog instead of a broken passphrase dialog.  Fixes
13254           Novell #138404.
13255         * gnome/applet/wireless-security-manager.c,
13256           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13257           does not add any security options, not even NONE, print a warning
13258           and return FALSE.  This let's functions constructing a dialog bail
13259           out if the device's capabilities and the network's requirements have
13260           zero overlap.
13261
13262 2006-01-27  Robert Love  <rml@novell.com>
13263
13264         * configure.in: Require wpa_supplicant.  Detect location of binary and
13265           use it.  Override with "--with-wpa_supplicant=foo".
13266         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13267           path to wpa_supplicant but use the auto-detected or user-provided
13268           value from configure.
13269
13270 2006-01-27  Robert Love  <rml@novell.com>
13271
13272         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13273           but the DHCP server did not return a hostname, try to look up our
13274           name via DNS and set the system hostname to that.
13275
13276 2006-01-27  Dan Williams  <dcbw@redhat.com>
13277
13278         * src/backends/NetworkManagerRedHat.c
13279                 - Add NM_CONTROLLED system network script support for RH/Fedora
13280
13281 2006-01-27  Dan Williams  <dcbw@redhat.com>
13282
13283         * src/backends/NetworkManagerGentoo.c
13284                 - (nm_system_device_get_disabled): add missing function.
13285                         Gnome BZ #328780
13286
13287 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13288
13289         * configure.in: Added vi in ALL_LINGUAS line.
13290         
13291 2006-01-26  Robert Love  <rml@novell.com>
13292
13293         * src/Makefile.am, src/kernel-types.h: Now that two different source
13294           files are feeling the crack-addled leakage of kernel types such as
13295           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13296           types in user-space -- define a header and include it as needed.
13297         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13298         * src/nm-device-802-3-ethernet.h: Remove defines.
13299         * src/wpa.c: Remove defines and include kernel-types.h.
13300
13301 2006-01-26  Robert Love  <rml@novell.com>
13302
13303         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13304           work.
13305
13306 2006-01-26  Robert Love  <rml@novell.com>
13307
13308         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13309         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13310           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13311           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13312           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13313           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13314           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13315           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13316           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13317           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13318           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13319           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13320           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13321           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13322           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13323           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13324           Kill unused variables, labels, and static functions.  Don't pass
13325           string literals as the format string for printf-like functions.
13326
13327 2006-01-25  Dan Williams  <dcbw@redhat.com>
13328
13329         * gnome/applet/wireless-applet.glade
13330                 - Remove WPA2 Checkbox
13331
13332         * gnome/applet/wireless-security-manager.c
13333                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13334                         This means the Wireless Security menu now has two WPA options,
13335                         one for "WPA Personal" and one for "WPA2 Personal"
13336
13337         * gnome/applet/wso-wpa-psk.[ch]
13338                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13339                         'wpa2' argument to determine WPA version to use
13340                 - (append_dbus_params_func): pass stored WPA version to cipher
13341                         rather than using the (removed) checkbox
13342
13343 2006-01-24  Robert Love  <rml@novell.com>
13344
13345         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13346           before we g_strdup(), not the ultimate string.
13347
13348 2006-01-23  Dan Williams  <dcbw@redhat.com>
13349
13350         * src/NetworkManagerAP.[ch]
13351                 - (nm_ap_new_from_ap): copy original essid too
13352                 - (nm_ap_unref): free original essid
13353                 - (nm_ap_get_orig_essid): new function
13354                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13355                         but keep original essid around too
13356
13357         * src/nm-device-802-11-wireless.c
13358                 - (supplicant_send_network_config): send wpa_supplicant the
13359                         _original_ essid, and not as a string, but in hex.  Should
13360                         allow us to connect to more APs that use wierd character
13361                         encodings for their essids
13362
13363         * utils/nm-utils.[ch]
13364                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13365                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13366                         use the current locale as a hint for what encoding the essid
13367                         might be in.  Obviously not 100% accurate, but the idea here is
13368                         that if a user's locale is ex. ja_JP, they are more likely than
13369                         not to be in Japan, where access points will likely be in some
13370                         Japanese encoding.
13371
13372 2006-01-23  Dan Williams  <dcbw@redhat.com>
13373
13374         * libnm-util/cipher-private.h
13375           libnm-util/cipher.c
13376           libnm-util/cipher.h
13377                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13378
13379 2006-01-23  Robert Love  <rml@novell.com>
13380
13381         Patch by Timo Hoenig <thoenig@suse.de>:
13382         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13383           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13384           by DHCP and pass it to the backends, allowing distribution-specific
13385           behavior with respect to the DHCP-supplied hostname (if nothing else,
13386           some distributions might not want to set the hostname).
13387         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13388           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13389           Also update our NIS behavior.
13390         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13391           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13392           Add stub functions.
13393
13394 2006-01-23  Robert Love  <rml@novell.com>
13395
13396         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13397           gnome-session does autostart.  TODO: We need to install this to
13398           $prefix/share/autostart/.
13399
13400 2006-01-22  Dan Williams  <dcbw@redhat.com>
13401
13402         * src/NetworkManagerAP.[ch]
13403           src/nm-dbus-nmi.c
13404           src/nm-device-802-11-wireless.c         
13405                 - Make nm_ap_get_essid return "const char *"
13406
13407 2006-01-22  Dan Williams  <dcbw@redhat.com>
13408
13409         * src/NetworkManagerAP.[ch]
13410                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13411
13412         * src/NetworkManagerAPList.[ch]
13413                 - (nm_ap_list_diff): removed
13414                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13415                         deal with access points changing essids on us
13416
13417         * src/nm-device-802-11-wireless.c
13418                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13419                         src/NetworkManagerAPList.c
13420                 - (real_can_interrupt_activation): new function; allow interruption
13421                         of device activation if we are waiting for a network key
13422
13423         * src/NetworkManagerPolicy.c
13424                 - (nm_policy_device_change_check): allow interruption of currently
13425                         activating devices if the device allows it.  Previous behavior
13426                         would refuse to activate a just-plugged wired device if a
13427                         wireless device was waiting for a key.
13428
13429         * src/nm-device.[ch]
13430                 - (nm_device_can_interrupt_activation): new function; ask devices
13431                         whether their activation can be interrupted
13432
13433 2006-01-20  Robert Love  <rml@novell.com>
13434
13435         * Makefile.am, configure.in: Add new man subdirectory.
13436         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13437           man/Makefile.am: Add man pages for NetworkManager and its
13438           crime-solving bumbling buddy, NetworkManagerDispatcher.
13439         * man/.cvsignore: Add.
13440         * initscript/Debian/NetworkManager,
13441           initscript/Gentoo/NetworkManager.in,
13442           initscript/RedHat/NetworkManager.in,
13443           initscript/RedHat/NetworkManagerDispatcher.in,
13444           initscript/SUSE/networkmanager-dispatcher.in,
13445           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13446
13447 2006-01-20  Robert Love  <rml@novell.com>
13448
13449         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13450           instead of queuing.  This prevents the running of multiple NM
13451           daemons concurrently, which does not work whatsoever and results in
13452           neither daemon working correctly.  Also, we don't handle queuing and
13453           name-owner-changes, anyhow.
13454
13455 2006-01-20  Robert Love  <rml@novell.com>
13456
13457         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13458         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13459           to sbin, not bin.
13460
13461 2006-01-19  Robert Love  <rml@novell.com>
13462
13463         * configure.in: Require hal 0.5.0 or later.
13464
13465 2006-01-18  Robert Love  <rml@novell.com>
13466
13467         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13468           Allow backends to flag a device (in whatever distro-dependent way
13469           they so desire) as disabled.  NM will ignore any such device.
13470         * src/backends/NetworkManagerDebian.c,
13471           src/backends/NetworkManagerRedHat.c,
13472           src/backends/NetworkManagerSlackware.c: Add stub function
13473           nm_system_device_get_disabled() that always returns FALSE (enabled).
13474         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13475           SUSE-specific configuration structure.  Fill it in from the
13476           NM_CONTROLLED variable in the system networking scripts.  If this var
13477           exists and is "no", we ignore the device.
13478
13479 2006-01-17  Robert Love  <rml@novell.com>
13480
13481         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13482           identical for NM.  For a full discussion, see the thread at
13483           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13484
13485 2006-01-17  Dan Williams  <dcbw@redhat.com>
13486
13487         * src/nm-device.c
13488                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13489                         function.  Fixes crash when wired DHCP fails.
13490
13491 2006-01-16  Robert Love  <rml@novell.com>
13492
13493         * src/Makefile.am: Don't install NMLoadModules
13494         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13495           from src/ to test/ as no one uses it anymore.  Note that I would be
13496           fine with removing it altogether.
13497
13498 2006-01-16  Robert Love  <rml@novell.com>
13499
13500         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13501           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13502           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13503           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13504           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13505           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13506           declarations, ever.
13507         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13508           NM_STATE_DISCONNECTED is zero).
13509
13510 2006-01-16  Robert Love  <rml@novell.com>
13511
13512         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13513           uninitialized parameter and buffer overflow.  Novell #143496.
13514
13515 2006-01-16  Dan Williams  <dcbw@redhat.com>
13516
13517         Apply the PtP Address bits of a patch from Tim Niemueller
13518
13519         * src/nm-ip4-config.[ch]
13520                 - Add ip4_ptp_address member to object
13521                 - (nm_ip4_config_copy): copy ptp address too
13522                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13523                         new functions
13524                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13525                         rather than local tunnel ip address
13526
13527         * src/vpn-manager/nm-vpn-service.c
13528                 - (print_vpn_config): update for PtP address
13529                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13530                         DBusMessageIters in preparation for getting routes from the VPN
13531                         service daemons too
13532
13533         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13534                 - (send_config_info): update for PtP address, clean up code
13535                 - (main): update for PtP address, clean up code, fix typo
13536
13537         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13538                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13539
13540         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13541                 - (pptp_ip_up): update for PtP address
13542
13543         * vpn-daemons/pptp/src/nm-pptp-service.c
13544                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13545
13546         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13547                 - (print_vpn_config): update for PtP address
13548                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13549
13550 2006-01-16  Dan Williams  <dcbw@redhat.com>
13551
13552         * gnome/applet/applet.c
13553                 - (nmwa_add_networks_helper): don't indicate an active network
13554                         if NM is disconnected or asleep
13555
13556 2006-01-16  Dan Williams  <dcbw@redhat.com>
13557
13558         * src/NetworkManagerPolicy.c
13559                 - (nm_policy_device_change_check): switch devices if we lose the link
13560                         on an ethernet device. 
13561
13562 2006-01-16  Dan Williams  <dcbw@redhat.com>
13563
13564         * gnome/applet/wso-wpa-psk-hex.[ch]
13565                 - Renamed -> wso-wpa-psk.[ch]
13566
13567         * gnome/applet/wso-wpa-psk.[ch]
13568                 - New files
13569
13570         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13571                 - Removed, rolled into wso-wpa-psk.[ch]
13572
13573         * gnome/applet/Makefile.am
13574                 - Updated for above changes
13575
13576         * gnome/applet/wireless-applet.glade
13577                 - Consolidate WPA-PSK options into one notebook
13578                         widget, and make dialogs invisible by default
13579                         to fix screen oddities
13580
13581         * gnome/applet/wireless-security-manager.c
13582                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13583                         than both the old hex & passphrase ones
13584
13585 2006-01-16  Dan Williams  <dcbw@redhat.com>
13586
13587         * gnome/applet/other-network-dialog.c
13588                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13589
13590 2006-01-16  Dan Williams  <dcbw@redhat.com>
13591
13592         * gnome/applet/applet.c
13593                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13594                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13595                         prevention to realize window before trying to get server
13596                         time
13597
13598         * gnome/applet/other-network-dialog.c
13599                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13600                         prevention to realize window before trying to get server
13601                         time
13602
13603         * gnome/applet/passphrase-dialog.c
13604                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13605                         prevention to realize window before trying to get server
13606                         time
13607
13608 2006-01-16  Robert Love  <rml@novell.com>
13609
13610         Patch from Timo Hoenig  <thoenig@suse.de:
13611         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13612           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13613           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13614           libnm-util/dbus-helpers.h: add checks whether headers are used
13615           within a C++ build.
13616
13617 2006-01-16  Dan Williams  <dcbw@redhat.com>
13618
13619         * gnome/applet/wireless-security-option.c
13620                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13621
13622 2006-01-16  Dan Williams  <dcbw@redhat.com>
13623
13624         * libnm-util/cipher-wpa-psk-passphrase.c
13625                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13626                         be 8 - 63 characters inclusive
13627
13628 2006-01-16  Dan Williams  <dcbw@redhat.com>
13629
13630         * src/nm-dbus-nm.c
13631                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13632
13633 2006-01-13  Robert Love  <rml@novell.com>
13634
13635         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13636         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13637           modules that do not use an interface.
13638
13639 2006-01-13  Dan Williams  <dcbw@redhat.com>
13640
13641         * src/nm-device.c
13642           src/nm-device.h
13643                 - Allow subclasses to implement deactivate_quickly()
13644                 - (nm_device_deactivate_quickly): call subclass
13645                         deactivate_quickly() methods
13646                 - (nm_device_set_active_link): small cleanups, and don't
13647                         deactivate the device right away because we risk a deadlock
13648                         when called from device thread, waiting for the device
13649                         thread to cancel activation
13650
13651         * src/nm-device-802-11-wireless.c
13652                 - (real_deactivate_quickly): new function
13653                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13654                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13655                         so that we kill the supplicant when we sleep too
13656                 - (supplicant_interface_init): work around naive naming attempts of
13657                         wpa_ctrl when naming sockets
13658
13659 2006-01-13  Dan Williams  <dcbw@redhat.com>
13660
13661         * src/nm-device-802-11-wireless.c
13662                 - (supplicant_cleanup): delete old device control sockets too
13663                 - (supplicant_get_device_socket_path): new function to consolidate
13664                         locations that need a path to a device's control socket
13665
13666 2006-01-12  Robert Love  <rml@novell.com>
13667
13668         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13669           description so that the description is unique for each
13670           pair (device,provider).  Fixes Novell #142773.
13671
13672 2006-01-12  Dan Williams  <dcbw@redhat.com>
13673
13674         * src/nm-device-802-11-wireless.c
13675                 - (supplicant_exec): ensure GError is correctly initialized
13676                         Reported by Diego González (gnome.org #326708)
13677
13678 2006-01-11  Robert Love  <rml@novell.com>
13679
13680         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13681           define if_mii(), open code the same results, and do so without any
13682           type punning.
13683
13684 2006-01-11  Robert Love  <rml@novell.com>
13685
13686         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13687           that wso_foo_new() returned non-NULL.  Instead, only append the new
13688           wso to wsm->options if the wso is non-NULL.  The crux is that we
13689           assume that the relevant key types are implied by WEP and WPA as
13690           appropriate.  To be sure, they should be, but we should not expect
13691           drivers to not be oozing piles of wolf fecal matter.
13692
13693 2006-01-11  Robert Love  <rml@novell.com>
13694
13695         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13696         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13697           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13698           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13699           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13700           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13701           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13702         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13703           comparing values within DBL_EPSILON.  Also fix shadowed variable
13704           usage.
13705
13706 2006-01-11  Dan Williams  <dcbw@redhat.com>
13707
13708         Add options for WPA2 and WPA1+CCMP (AES).
13709
13710         * gnome/applet/wireless-applet.glade
13711                 - Add UI bits for WPA+CCMP
13712
13713         * gnome/applet/other-network-dialog.c
13714                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13715                         and don't allow creation of WPA2 Ad-Hoc networks since
13716                         wpa_supplicant doesn't support them
13717
13718         * gnome/applet/wireless-security-manager.c
13719                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13720                         on to the specific wireless security option being created
13721
13722         * gnome/applet/wireless-security-option.[ch]
13723                 - (wso_wpa_create_key_type_model): new utility function to create
13724                         the model required for WPA Key Type combo box
13725
13726         * gnome/applet/wso-private.h
13727           gnome/applet/wireless-security-option.h
13728                 - Move private function prototypes into wso-private.h
13729
13730         * gnome/applet/wso-wpa-psk-hex.[ch]
13731           gnome/applet/wso-wpa-psk-passphrase.[ch]
13732                 - (append_dbus_params_func): get WPA version from checkbox and pass
13733                         it to the dbus serialization helper
13734                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13735                         key type combo changes
13736                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13737                         model and options
13738
13739         * libnm-util/cipher-wpa-psk-hex.c
13740           libnm-util/cipher-wpa-psk-passphrase.c
13741                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13742                         new function; allow the cipher to be changed after object creation
13743
13744         * src/nm-ap-security-wpa-psk.c
13745                 - (set_description): Do WPA2 descriptions too
13746
13747         * src/nm-ap-security.c
13748                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13749
13750 2006-01-11  Robert Love  <rml@novell.com>
13751
13752         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13753           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13754           from the ifreq structure in lieu of an open coded solution.  Removes
13755           a life-threatening type-punning.
13756         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13757           types, ever, whatsoever, baby.
13758
13759 2006-01-11  Robert Love  <rml@novell.com>
13760
13761         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13762           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13763           assignments to applet->nm_state into a new nmwa_set_state() function
13764           for both cleanliness and to help debugging.
13765
13766 2006-01-10  Robert Love  <rml@novell.com>
13767
13768         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13769           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13770           seconds, exclusive.  That is, we want to sleep x seconds such that
13771           1 < x < 2.
13772
13773 2006-01-10  Robert Love  <rml@novell.com>
13774
13775         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13776           the attr fields according to the example in the email available at
13777           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13778           Conversely, we do have to free 'name', so we do so, fixing a leak.
13779
13780 2006-01-10  Robert Love  <rml@novell.com>
13781
13782         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13783           sure that we close the socket!
13784
13785 2006-01-10  Robert Love  <rml@novell.com>
13786
13787         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13788           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13789           src/nm-device.c: Fix a FIXME!  Reimplement the function
13790           nm_device_update_hw_address() in device subclass variants,
13791           nm_device_802_3_ethernet_set_address() and
13792           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13793           This fixes the existing bug where MAC addresses are all zeros.
13794
13795 2006-01-10  Robert Love  <rml@novell.com>
13796
13797         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13798           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13799           option to give users ability to globally disconnect and put NM to
13800           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13801           clean disconnect.
13802
13803 2006-01-09  Robert Love  <rml@novell.com>
13804
13805         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13806           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13807           User-space does not supply these types, so we have to define them
13808           ourselves.  The relevant kernel maintainer refused to accept a patch
13809           switching these headers to the proper C99 types.
13810
13811 2006-01-09  Dan Williams  <dcbw@redhat.com>
13812
13813         Apply Robert's 'tray icon redo' patch with fixes
13814         * gnome/applet/applet.c
13815           gnome/applet/applet.h
13816                 - Instead of using a menu bar + menu item, simulate menu
13817                         behavior using a popup menu.  Highlight the area around
13818                         the icon more like a menu too, by playing with the
13819                         applet's size requisition
13820
13821 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13822         * libnm-util/dbus-helpers.c
13823           libnm-util/dbus-helpers.h
13824                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13825                         to 'exception_namespace' (:namespace is a keyword in
13826                         C++)
13827
13828 2006-01-09  Dan Williams  <dcbw@redhat.com>
13829
13830         * src/NetworkManagerPolicy.c
13831                 - (nm_policy_device_change_check): don't autoswitch away from
13832                         Ad-Hoc networks, since there's really no concept of
13833                         "link"
13834
13835         * src/nm-dbus-nm.c
13836                 - (nm_dbus_nm_create_wireless_network): mark created networks
13837                         as Ad-Hoc networks
13838
13839         * src/nm-device-802-11-wireless.c
13840                 - (real_activation_success_handler): add user-created Ad-Hoc
13841                         networks to the device's scan list
13842
13843 2006-01-08  Dan Williams  <dcbw@redhat.com>
13844
13845         We now require a patch for wpa_supplicant to support Ad-Hoc
13846         networks:
13847           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13848
13849         * src/nm-device-802-11-wireless.c
13850                 - (supplicant_send_network_config): turn off wpa_supplicant's
13851                         scanning.  Fixes Ad-Hoc networks.
13852
13853 2006-01-08  Dan Williams  <dcbw@redhat.com>
13854
13855         * src/nm-ap-security.c
13856           src/nm-ap-security.h
13857                 - Add a user_created argument to the write_supplicant_config
13858                         functions
13859
13860         * src/nm-ap-security-wep.c
13861           src/nm-ap-security-wpa-psk.c
13862           src/nm-device-802-11-wireless.c
13863                 - Make Ad-Hoc mode somewhat work, at least write the
13864                         correct options to wpa_supplicant
13865
13866 2006-01-08  Dan Williams  <dcbw@redhat.com>
13867
13868         * src/nm-device-802-11-wireless.c
13869                 - Remove unused code from the old device activation path
13870
13871 2006-01-08  Dan Williams  <dcbw@redhat.com>
13872
13873         * libnm-util/dbus-helpers.c
13874                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13875                         dbus when key == NULL
13876
13877 2006-01-08  Dan Williams  <dcbw@redhat.com>
13878
13879         * gnome/applet/nm-gconf-wso-wpa-psk.c
13880                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13881                         correct arguments to nmu_security_deserialize_wpa_psk()
13882
13883         * src/nm-ap-security-wpa-psk.c
13884                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13885                         arguments to nmu_security_deserialize_wpa_psk()
13886
13887 2006-01-08  Dan Williams  <dcbw@redhat.com>
13888
13889         * gnome/applet/wso-wpa-psk-hex.c
13890           gnome/applet/wso-wpa-psk-passphrase.c
13891                 - Hook up the append_dbus_params_func() function
13892
13893 2006-01-08  Dan Williams  <dcbw@redhat.com>
13894
13895         * src/nm-device-802-11-wireless.c
13896                 - (get_wireless_capabilities): correctly detect driver WPA
13897                         capabilities
13898
13899 2006-01-08  Dan Williams  <dcbw@redhat.com>
13900
13901         * gnome/applet/Makefile.am
13902           gnome/applet/wso-wpa-psk-hex.c
13903           gnome/applet/wso-wpa-psk-hex.h
13904                 - New files, implement WPA-PSK Hex key input
13905
13906         * gnome/applet/wireless-applet.glade
13907                 - Change existing wpa-psk stuff to wpa-psk-hex
13908                 - Add new widgets for wpa-psk-passphrase
13909
13910         * gnome/applet/wireless-security-manager.c
13911                 - (wsm_set_capabilities): enable WPA options
13912
13913         * gnome/applet/wso-wpa-psk-passphrase.c
13914                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13915                         for WPA-PSK passphrase
13916
13917 2006-01-08  Dan Williams  <dcbw@redhat.com>
13918
13919         * include/NetworkManager.h
13920                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13921                         applet/info-daemons
13922
13923         * gnome/applet/passphrase-dialog.c
13924                 - Use the constant.  Fixes a bug where the arguments to
13925                         dbus_message_new_error() were incorrect
13926
13927         * src/nm-dbus-nmi.c
13928                 - Use the constant
13929
13930 2006-01-07  Dan Williams  <dcbw@redhat.com>
13931
13932         * src/nm-device-802-11-wireless.c
13933                 - Add a link timeout so we allow the supplicant time to
13934                         reassociate if it can, before we deactivate the card
13935                 - Fix up link status and link updating so things work better
13936
13937 2006-01-07  Dan Williams  <dcbw@redhat.com>
13938
13939         * src/nm-device-802-11-wireless.c
13940                 - Switch over to using wpa_supplicant
13941                 - Add a timeout of 10s for association of the supplicant
13942                 - Start the monitor callback of the supplicant
13943
13944 2006-01-07  Dan Williams  <dcbw@redhat.com>
13945
13946         * src/NetworkManagerUtils.c
13947                 - (nm_utils_supplicant_request,
13948                   nm_utils_supplicant_request_with_check):
13949                         pass correct buffer length to wpa_ctrl_request()
13950
13951 2006-01-07  Dan Williams  <dcbw@redhat.com>
13952
13953         * src/nm-device-private.h
13954           src/nm-device.c
13955                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13956                         this function available to subclasses
13957
13958 2006-01-06  Robert Love  <rml@novell.com>
13959
13960         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13961           user plugging in a network cable signals their preference for to
13962           switch, unless the user explicitly selected a wireless network and
13963           therefore signaled their preference for said wireless network over
13964           wired.  In other words, do exactly what makes sense.
13965
13966 2006-01-06  Robert Love  <rml@novell.com>
13967
13968         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13969           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13970           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13971           showing up in my greps.
13972
13973 2006-01-06  Robert Love  <rml@novell.com>
13974
13975         * gnome/applet/applet-dbus-devices.c,
13976           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13977           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13978           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13979           New Network' both failed in the non-encrypted case because we were
13980           not appending the security options to the DBUS message.  And
13981           'Connect to Other' was also failing in the encrypted case because
13982           we were not incrementing to the next DBUS parameter.  All fixed.
13983           Thanks to dcdw for some debugging help.
13984
13985 2006-01-06  Robert Love  <rml@novell.com>
13986
13987         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13988           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13989           hangup code and add per-device hangup.  Tie last commit into the
13990           GNOME applet.  TODO:  Save, understand, and respond to the state of
13991           each dialup device.
13992
13993 2006-01-06  Robert Love  <rml@novell.com>
13994
13995         Patch by Timo Hoenig <thoenig@suse.de>:
13996         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13997           hangup specific dialup devices.
13998         * src/backends/NetworkManagerDebian.c,
13999           src/backends/NetworkManagerGentoo.c,
14000           src/backends/NetworkManagerRedHat.c,
14001           src/backends/NetworkManagerSlackware.c: Add stub backend.
14002         * src/backends/NetworkManagerRedHat.c,
14003           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14004           hangup specific dialup devices.
14005
14006 2006-01-04  Robert Love  <rml@novell.com>
14007
14008         * gnome/applet/applet-dbus-devices.c,
14009           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14010           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14011           connections.
14012
14013 2006-01-04  Dan Williams  <dcbw@redhat.com>
14014
14015         First dump of wpa_supplicant-related code.  It's not hooked up to
14016         anything yet though.  Thanks to Kay Sievers for
14017         wpa_supplicant_wrapper.c, which formed the basis for this work,
14018         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14019
14020         * src/Makefile.am
14021           src/wpa_ctrl.[ch]
14022                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14023
14024         * src/NetworkManagerUtils.[ch]
14025                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14026                         Add convenience functions for talking to wpa_supplicant
14027
14028         * src/nm-ap-security.[ch]
14029           src/nm-ap-security-wep.c
14030           src/nm-ap-security-wpa-psk.[ch]
14031                 - Update and implement real_write_supplicant_config functions
14032                         in all security types
14033                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14034                         nm-ap-security-wpa-psk.c
14035
14036         * src/nm-device-802-11-wireless.c
14037                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14038                    wpa_supplicant_start, wpa_supplicant_interface_init,
14039                    wpa_supplicant_send_network_config): add functions to talk to
14040                         wpa_supplicant and write network config to it
14041
14042 2006-01-04  Robert Love  <rml@novell.com>
14043
14044         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14045           values so that distribution-backends can differentiate between the
14046           various types (modem, ISDN, et cetera) of dialup device that they
14047           support.
14048         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14049           needed.
14050
14051 2006-01-03  Dan Williams  <dcbw@redhat.com>
14052
14053         * src/NetworkManagerPolicy.c
14054           src/nm-device.[ch]
14055           src/nm-device-802-11-wireless.c
14056                 - Move wireless-specific activation failure and success code
14057                         into wireless device class
14058
14059 2006-01-03  Robert Love  <rml@novell.com>
14060
14061         Patch by Preggna S:
14062         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14063           IPsec does not require that a VPN client be bound to an interface,
14064           due to the use of the in-kernel IPSec bits.  So make the tunnel
14065           device optional.
14066
14067 2006-01-03  Dan Williams  <dcbw@redhat.com>
14068
14069         * src/NetworkManagerAP.c
14070                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14071                         the WPA IE specifies that WEP is supported
14072
14073         * src/nm-device-802-11-wireless.c
14074                 - (process_scan_results): don't mark an AP as supporting WEP
14075                         if there's already other encryption capability info
14076
14077 2006-01-03  Dan Williams  <dcbw@redhat.com>
14078
14079         * src/dhcp-manager/nm-dhcp-manager.c
14080                 - Recognize activation cancellation when waiting for DHCP
14081                         configuration from dhcdbd
14082                 - Ignore non-dhcdbd messages
14083
14084         * src/nm-device.c
14085                 - (real_act_stage3_ip_config_start): return to correct behavior
14086                         of letting the dhcp-manager notify us of failure or
14087                         success rather than incorrectly doing that ourselves
14088                 - (nm_device_activate_stage4_ip_config_get): deal with
14089                         activation cancellation a bit earlier
14090
14091 2006-01-03  Dan Williams  <dcbw@redhat.com>
14092
14093         * src/nm-device-802-11-wireless.c
14094           src/nm-device.[ch]
14095                 - Add hooks to subclasses for stage3_ip_config_start and
14096                         stage4_ip_config_timeout
14097
14098         * src/nm-device-802-3-ethernet.c
14099                 - (real_get_generic_capabilities): make devices NM-supported
14100                         by default
14101
14102 2006-01-03  Robert Love  <rml@novell.com>
14103
14104         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14105           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14106           latter cannot differentiate between error and the address -1; misc.
14107           clean up.
14108
14109 2006-01-03  Dan Williams  <dcbw@redhat.com>
14110
14111         * src/NetworkManager.c
14112                 - Move link-checking/probing into the device subclasses
14113                         themselves
14114
14115         * src/nm-device.[ch]
14116           src/nm-device-802-11-wireless.c
14117           src/nm-device-802-3-ethernet.c
14118                 - Do periodic link checking in device subclasses rather
14119                         than being triggered from NetworkManager.c
14120                 - discover_wireless_capabilities -> get_wireless_capabilities
14121                 - discover_generic_capabilities -> get_generic_capabilities
14122                 - Device subclass activation routines now return a value of type
14123                         NMActStageReturn to indicate what step to perform next
14124                 - Devices now override stage4_get_ip4_config if they choose
14125
14126 2006-01-01  Dan Williams  <dcbw@redhat.com>
14127
14128         * src/nm-device-802-11-wireless.c
14129                 - (real_init): don't chain up to parent init because we don't
14130                         need to do that anymore
14131
14132         * src/nm-device.c
14133                 - (discover_device_type): fix arguments to ioctl() to correctly
14134                         pass interface name
14135                 - (nm_device_new): consolidate generic device initialization into
14136                         nm_device_new()
14137                 - (real_init): remove, consolidated to nm_device_new()
14138                 - (nm_device_deactivate, real_deactivate): consolidate
14139
14140 2006-01-01  Dan Williams  <dcbw@redhat.com>
14141
14142         * src/nm-activation-request.c
14143                 - Change dhcp_state member of the NMActRequest structure
14144                         from guint8 to guint32
14145
14146         * src/dhcp-manager/nm-dhcp-manager.[ch]
14147                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14148                         than guint8 to match the dbus argument.  Turns out we were
14149                         overwriting memory since we were passing in only a guint8
14150
14151 2005-12-31  Dan Williams  <dcbw@redhat.com>
14152
14153         * refactor NMDevice into a GObject-based framework with separate
14154                 objects for wired and wireless.  The following files are no
14155                 longer used but should stick around for a bit so we don't
14156                 loose code through the cracks:
14157                         NetworkManagerDevice.c
14158                         NetworkManagerDevice.h
14159                         NetworkManagerWireless.c
14160                         NetworkManagerWireless.h
14161
14162         The intent here is to allow each device type to manage its own
14163         connection & activation life-cycle, ie to allow wireless devices
14164         to interface with wpa_supplicant, etc.  There's a fair bit of
14165         encapsulation breakage right now that should gradually get pulled
14166         back into each device, along with things like periodic property
14167         updates and link probing.
14168
14169 2005-12-29  Dan Williams  <dcbw@redhat.com>
14170
14171         * include/NetworkManager.h
14172                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14173                         between networks that don't have any encryption at all
14174
14175 2005-12-29  Dan Williams  <dcbw@redhat.com>
14176
14177         * test/test-common.c
14178           test/test-common.h
14179           test/Makefile.am
14180                 - Move to a test-common subdirectory
14181
14182         * test/libnm-util/test-ciphers.c
14183                 - Move test data to test-inputs.h
14184                 - Test WPA ciphers too
14185
14186         * test/libnm-util/test-dbus-helpers.c
14187                 - Test serialization/deserialization of ciphers
14188
14189 2005-12-29  Dan Williams  <dcbw@redhat.com>
14190
14191         * gnome/applet/applet-dbus-devices.c
14192                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14193                         in dbus calls to NM
14194                 - Set capabilities on WirelessNetwork objects
14195                 - Receive and save type-specific device capabilities too
14196
14197         * gnome/applet/applet-dbus-info.c
14198           gnome/applet/applet-dbus.c
14199                 - Passphrase dialog no longer a singleton; new instance gets created
14200                         on each request.  Updates to deal with that.
14201
14202         * gnome/applet/applet.c
14203                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14204                         than single 'encrypted' flag
14205                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14206                         menu items
14207                 - Passphrase dialog updates per above
14208
14209         * gnome/applet/menu-items.c
14210                 - (network_menu_item_update): use AP capabilities to determine
14211                         encryption
14212
14213         * gnome/applet/nm-device.[ch]
14214                 - Add accessors for type-specific device capabilities
14215
14216         * gnome/applet/other-network-dialog.c
14217                 - Rework to respect device capabilities.  i.e., if the device doesn't
14218                         support WPA, remove that option from the security dropdown
14219
14220         * gnome/applet/passphrase-dialog.c
14221                 - Massive rework so that a new instance is created each time
14222                         it's used, to support wireless network capabilities
14223
14224         * gnome/applet/wireless-network.[ch]
14225                 - Add accessors and members for wireless network capabilities
14226
14227         * gnome/applet/wireless-security-manager.[ch]
14228                 - (wsm_set_capabilities): called after creation to set which
14229                         security options get shown to the user
14230
14231 2005-12-29  Dan Williams  <dcbw@redhat.com>
14232
14233         * libnm-util/cipher-wpa-psk-passphrase.c
14234                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14235                         like other ciphers
14236
14237 2005-12-23  Dan Williams  <dcbw@redhat.com>
14238
14239         * gnome/applet/applet-dbus-info.c
14240                 - (nmi_dbus_get_key_for_network): if there's no entry in
14241                         GConf for a network, assume we want a new key
14242                 - (nmi_save_network_info): serialize wireless security info
14243                         into GConf so its saved
14244
14245         * src/nm-dbus-nm.c
14246                 - Fix warning as we may not be passed security info when
14247                         connecting to a wireless network
14248
14249 2005-12-23  Dan Williams  <dcbw@redhat.com>
14250
14251         * gnome/applet/applet-compat.c
14252                 - Fix bugs in GConf entry conversion
14253
14254         * gnome/applet/applet-dbus-info.c
14255                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14256                         list being zero-length
14257
14258         * libnm-util/cipher-*
14259           libnm-util/dbus-helpers.c
14260                 - All ciphers must now return hashed keys as UTF-8 valid
14261                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14262                         through dbus as strings too.
14263                 - Consolidate various functions that do bin->hex and hex->bin
14264                         conversion into cipher.c
14265
14266         * src/nm-ap-security-wep.c
14267           src/nm-ap-security-wpa-psk.c
14268                 - Handle NULL keys since we may not know keys right away
14269
14270         * src/nm-dbus-nmi.c
14271                 - (nm_dbus_get_network_data_cb): actually advance to the start
14272                         of the wireless security info before we try to deserialize it
14273
14274         * libnm-util/test-ciphers.c
14275                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14276
14277 2005-12-22  Dan Williams  <dcbw@redhat.com>
14278
14279         * gnome/applet/applet-compat.[ch]
14280                 - Convert old-format GConf and keyring entries
14281                         when the applet starts up.
14282
14283         * gnome/applet/applet.c
14284                 - (nmwa_get_instance): Call the conversion function
14285                         on startup before dbus is initialized
14286
14287 2005-12-22  Dan Williams  <dcbw@redhat.com>
14288
14289         * gnome/applet/applet-dbus-info.c
14290                 - Remove nmi_dbus_create_error_message() in favor of
14291                         nmu_create_dbus_error_message()
14292                 - (nmi_dbus_get_network_properties): Error message cleanups
14293                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14294                         gconf key rather than 'addresses', since they really are BSSIDs
14295                 - (nmi_dbus_get_network_properties): Dispose of the security
14296                         object when we're done with it
14297
14298 2005-12-21  Dan Williams  <dcbw@redhat.com>
14299
14300         * Consolidate the info-daemon's "updateNetworkInfo" and
14301                 "addNetworkAddress" calls into just "updateNetworkInfo"
14302
14303 2005-12-21  Dan Williams  <dcbw@redhat.com>
14304
14305         * Make connection after key retrieval work again
14306
14307 2005-12-21  Dan Williams  <dcbw@redhat.com>
14308
14309         * gnome/applet/nm-gconf-wso*
14310                 - Make the serialize functions return gboolean
14311                         rather than int
14312
14313         * gnome/applet/nm-gconf-wso.c
14314                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14315                         parent class handling so we don't segfault
14316
14317         * src/NetworkManagerAP.[ch]
14318                 - (nm_ap_get_capabilities): new function, return capabilities
14319                         now that something can use them
14320                 - (nm_ap_set_encrypted): assume that an access point supports
14321                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14322                         we even tell whether it just supports WEP40?
14323
14324         * src/NetworkManagerDevice.c
14325                 - (ap_need_key): resurrect and update for the New World Order
14326                 - (nm_device_wireless_get_activation_ap): if we're not given
14327                         security info to use, create some based on access point
14328                         capabilities
14329
14330         * src/nm-ap-security-wep.c
14331                 - (nm_ap_security_wep_new_from_ap): create a new object
14332                         based on a certain access point's capabilities
14333
14334         * src/nm-ap-security.c
14335                 - (nm_ap_security_new_from_ap): delegate creation of a new
14336                         object based on access point capabilities to a subclass
14337                 - (nm_ap_security_copy_properties): don't segfault if we
14338                         don't have a key yet
14339
14340         * src/nm-dbus-nm.c
14341                 - (nm_dbus_nm_set_active_device): provide more informative
14342                         output when errors occur.  Also construct security info
14343                         for a given access point if we weren't given any
14344
14345 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14346
14347         * configure.in: Added Lithuanian to ALL_LINGUAS.
14348
14349 2005-12-21  Dan Williams  <dcbw@redhat.com>
14350
14351         * test/libnm-util
14352                 - Add some testcases for WEP ciphers
14353
14354 2005-12-17  Dan Williams  <dcbw@redhat.com>
14355
14356         * Fix bugs
14357
14358 2005-12-17  Dan Williams  <dcbw@redhat.com>
14359
14360         * include/NetworkManager.h
14361                 - Finally kill NMEncKeyType
14362
14363         * gnome/applet/applet-dbus-info.c
14364                 - (nmi_save_network_info): convert to NMGConfWSO
14365
14366         * gnome/applet/nm-gconf-wso-*.c
14367                 - Implement gconf serialization functions
14368
14369         * src/NetworkManagerPolicy.c
14370                 - (nm_policy_activation_finish): fix up meaning of
14371                         automatic/user_requested
14372
14373 2005-12-17  Dan Williams  <dcbw@redhat.com>
14374
14375         * gnome/applet/*
14376                 - More applet cleanups
14377                 - Use the dbus-method-dispatcher
14378
14379         * libnm-util/dbus-method-dispatcher.[ch]
14380                 - Generalize the implementation from NM in
14381                         NetworkManagerUtils.c
14382
14383 2005-12-16  Dan Williams  <dcbw@redhat.com>
14384
14385         * gnome/applet/*
14386                 - Fix up the passphrase dialog to use all the
14387                         WirelessSecurityOption stuff (untested)
14388
14389 2005-12-16  Dan Williams  <dcbw@redhat.com>
14390
14391         * Move nm_gconf_get_*_helper() functions to separate files,
14392                 gconf-helpers.c & gconf-helpers.h
14393
14394         * New NMGConfWSO objects for managing the gconf side of things.
14395                 Eventually these should be merged with the
14396                 WirelessSecurityOption objects and a common base (that can
14397                 serialize/deserialize from dbus & gconf) should be
14398                 refactored out, but for now they are separate.
14399
14400 2005-12-16  Robert Love  <rml@novell.com>
14401
14402         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14403           binaries unless they exist (nm_spawn_process() emits a warning if
14404           asked to spawn a non-existant process).
14405
14406 2005-12-16  Dan Williams  <dcbw@redhat.com>
14407
14408         * gnome/applet/applet-dbus-info.c
14409                 - Clean up lots of gconf-related code
14410
14411 2005-12-16  Robert Love  <rml@novell.com>
14412
14413         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14414
14415 2005-12-16  Dan Williams  <dcbw@redhat.com>
14416
14417         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14418
14419         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14420                 bits still to be done)
14421
14422 2005-12-16  Dan Williams  <dcbw@redhat.com>
14423
14424         * Finally move info-daemon related stuff out of
14425                 NetworkManagerDbus.c to nm-dbus-nmi.c
14426
14427 2005-12-16  Dan Williams  <dcbw@redhat.com>
14428
14429         * Kill auth_method for access points, since that's now done
14430                 by NMAPSecurity objects
14431
14432         * Add a copy-constructor of sorts to NMAPSecurity
14433                 (how do you do this properly in glib???)
14434
14435 2005-12-15  Dan Williams  <dcbw@redhat.com>
14436
14437         * Exorcise encryption key hashing on APs
14438         * Use libnm-util's serialization/deserialization in both the
14439                 applet and NM
14440         * Random other stuff
14441
14442 2005-12-15  Robert Love  <rml@novell.com>
14443
14444         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14445           is being added to the icon naming spec, so let's use that (Tango CVS
14446           has the icon).  Because it is new, however, we fall back to the
14447           current "gnome-lockscreen" if the new icon is not around, thus
14448           behavior is the same.
14449         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14450           factory junk.
14451
14452 2005-12-15  Robert Love  <rml@novell.com>
14453
14454         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14455           well, help to give.  Couple other misc. bits.
14456
14457 2005-12-15  Dan Williams  <dcbw@redhat.com>
14458
14459         * libnm-util/dbus-helpers.[ch]
14460                 - Make this the one-stop-shop for serializing/deserializing
14461                         AP & connection security settings over dbus.  Both NM
14462                         and applets should use this to ensure consistent dbus
14463                         API going forwared.
14464
14465 2005-12-15  Robert Love  <rml@novell.com>
14466
14467         Patch by Timo Hoenig  <thoenig@suse.de>:
14468         * src/NetworkManagerDbus.c
14469                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14470                         if HAL jumps off the system bus.  Otherwise libdbus
14471                         (dbus_connection_dispatch) will try to run the filter
14472                         function of our libhal context which is already freed.
14473
14474 2005-12-15  Alexander Shopov  <ash@contact.bg>
14475
14476         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14477
14478 2005-12-14  Dan Williams  <dcbw@redhat.com>
14479
14480         * include/NetworkManager.h
14481           src/NetworkManagerWireless.c
14482                 - Rearrange 802.11 wireless-specific capabilities again
14483
14484         * src/Makefile.am
14485                 - Forgot to add wpa.c/wpa.h to the makefiles
14486
14487         * src/NetworkManagerAP.[ch]
14488                 - Implement access point capabilities and parse the
14489                         WPA/RSN IEs into the capability bitfield
14490                 - Switch the "encrypted" attribute to utilize the bitfield
14491                         and capabilities rather than being independent
14492
14493         * src/NetworkManagerDevice.c
14494                 - (nm_device_wireless_get_activation_ap): break it horribly
14495                         until we can push NMAPSecurity objects into access point
14496                         objects and through the activation chain
14497                 - Stuff WPA & RSN IEs into AP capabilities
14498
14499         * src/nm-dbus-nm.c
14500                 - Take a shot at actually making setActiveDevice work
14501
14502         * src/wpa.[ch]
14503                 - Make the API a bit saner
14504
14505 2005-12-14  Dan Williams  <dcbw@redhat.com>
14506
14507         * include/NetworkManager.h
14508                 - Add 802.11-specific capability for 802.1x key
14509                         management
14510
14511         * src/wpa.[ch]
14512                 - Pull in WPA IE and RSN IE parsing code from
14513                         wpa_supplicant so we can determine access point
14514                         capabilities
14515                 - Move WPA-related constants here from NetworkManagerAP.h
14516                         and NetworkManagerDevice.c
14517
14518         * src/NetworkManagerDevice.c
14519           src/NetworkManagerAP.[ch]
14520                 - Use WPA-related constants from wpa.h
14521
14522 2005-12-14  Dan Williams  <dcbw@redhat.com>
14523
14524         * include/NetworkManager.h
14525                 - Update and split 802.11 wireless-specific capabilities from
14526                         generic device capabilities
14527
14528         * src/NetworkManagerDevice.c
14529           src/NetworkManagerDevicePrivate.h
14530                 - (nm_device_wireless_discover_capabilities): Move 802.11
14531                         wireless-specific capability checks to
14532                         NetworkManagerWireless.c
14533                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14534                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14535
14536         * src/NetworkManagerWireless.[ch]
14537                 - (nm_802_11_wireless_discover_capabilities): Check extended
14538                         802.11 wireless-specific capabilities of the driver
14539
14540 2005-12-14  Robert Love  <rml@novell.com>
14541
14542         Patch from Stefan Scheler <sscheler@suse.de>:
14543         * src/NetworkManagerDevice.c: call backend code to activate and
14544           deactivate NIS.
14545         * src/NetworkManagerSystem.h: add new NIS interfaces.
14546         * src/backends/NetworkManagerDebian.c,
14547           src/backends/NetworkManagerGentoo.c,
14548           src/backends/NetworkManagerRedHat.c,
14549           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14550           support.
14551         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14552
14553 2005-12-14  Dan Williams  <dcbw@redhat.com>
14554
14555         * src/nm-ap-security*.[ch]
14556                 - Add AP security abstractions to NetworkManager
14557
14558         * src/nm-dbus-device.c
14559                 - Begin to parse new format dbus messages from the applet
14560                         and construct an AP security object from the message
14561
14562         * libnm-util/dbus-helpers.c
14563                 - Use message iters so we can append the key as a fixed
14564                         array of bytes, which actually works rather than
14565                         using dbus_message_append_args() as we were before
14566
14567 2005-12-14  Dan Williams  <dcbw@redhat.com>
14568
14569         * src/NetworkManagerDbus.c
14570           gnome/applet/applet-dbus.c
14571                 - Fix up dbus service replacement options.  The applet
14572                         should allow replacement, NM itself should not.
14573
14574 2005-12-13  Robert Love  <rml@novell.com>
14575
14576         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14577           Instead, fail silently if config is NULL by not asserting and not
14578           returning FALSE.  Also, make sure we always fclose() the file.
14579
14580 2005-12-13  Robert Love  <rml@novell.com>
14581
14582         Patch by Stefan Scheler <sscheler@suse.de>:
14583         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14584            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14585            via DHCP.  Still need the backends to commit the NIS domain name and
14586            and servers to yp.conf as needed.
14587
14588 2005-12-13  Robert Love  <rml@novell.com>
14589
14590         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14591           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14592
14593 2005-12-13  Robert Love  <rml@novell.com>
14594
14595         * src/named-manager/nm-named-manager.c: Don't unref the config until
14596           after we call rewrite_resolv_conf(), because get_last_default_domain()
14597           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14598           `config != NULL' failed" assertion failures and "Could not commit DNS
14599           changes" warnings.
14600
14601 2005-12-12  Dan Williams  <dcbw@redhat.com>
14602
14603         * libnm-util/dbus-helpers.[ch]
14604           libnm-util/Makefile.am
14605                 - new helper calls to consolidate locations where
14606                         NM's setDevice method is called
14607
14608         * gnome/applet/applet-dbus-devices.c
14609           gnome/applet/wireless-security-option.c
14610           gnome/applet/wso-*
14611                 - Implement dbus message param append function for
14612                         all wireless security options
14613
14614 2005-12-12  Robert Love  <rml@novell.com>
14615
14616         * libnm-util/cipher-wep-passphrase.c,
14617           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14618           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14619           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14620           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14621           When handling keys, we don't care what the sign is.  The compiler
14622           guarantees us that we get our 8-bits, which is all we care about.
14623         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14624
14625 2005-12-12  Dan Williams  <dcbw@redhat.com>
14626
14627         * gnome/applet/applet-dbus-devices.[ch]
14628           gnome/applet/applet.c
14629           gnome/applet/other-network-dialog.c
14630           gnome/applet/wireless-security-manager.[ch]
14631           gnome/applet/wireless-security-option.[ch]
14632           gnome/applet/wso-*
14633                 - Push the wireless security options further into the applet
14634
14635 2005-12-12  Robert Love  <rml@novell.com>
14636
14637         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14638           return any name servers.  That is perfectly valid.  (Novell #134369).
14639
14640 2005-12-11  Dan Williams  <dcbw@redhat.com>
14641
14642         * gnome/applet/wso-*
14643           gnome/applet/wireless-security-option.*
14644           gnome/applet/Makefile.am
14645                 - split each security option out so we can eventually
14646                         have each one build up their own dbus message
14647                         arguments to send to NM
14648
14649 2005-12-11  Dan Williams  <dcbw@redhat.com>
14650
14651         * Make validation of the key work correctly
14652
14653 2005-12-11  Dan Williams  <dcbw@redhat.com>
14654
14655         * Hook more bits of the Other Network Dialog up to the
14656                 wireless security manager stuff, and restructure
14657                 bits of the dialog so there's less code.
14658
14659 2005-12-10  Dan Williams  <dcbw@redhat.com>
14660
14661         * gnome/applet/Makefile.am
14662                 - Add libnm-util to includes
14663                 - Add libnm-util to link list
14664                 - Add wireless-security-common.* to compile list
14665
14666         * gnome/applet/other-network-dialog.c
14667                 - Convert to using the WirelessSecurityManager code and
14668                         widgets
14669
14670         * gnome/applet/passphrase-dialog.c
14671                 - Comment out references to stuff in the glade file that
14672                         cause runtime errors until it can be fixed up
14673                         to use the WirelessSecurityManager code
14674
14675         * gnome/applet/wireless-applet.glade
14676                 - Rename some widgets
14677                 - Add widgets for the WirelessSecurityManager code
14678                 - Remove passphrase-related stuff since that's now
14679                         handled by the WirelessSecurityManager code
14680
14681 2005-12-10  Dan Williams  <dcbw@redhat.com>
14682
14683         * gnome/applet/applet-dbus-devices.c
14684                 - Print out error message details for dbus pending call callbacks
14685                 - Move nmwa_dbus_update_devices() up
14686
14687         * gnome/applet/applet-dbus-vpn.c
14688                 - Print out error message details for dbus pending call callbacks
14689
14690 2005-12-10  Dan Williams  <dcbw@redhat.com>
14691
14692         * libnm-util/*
14693                 - More fixups
14694                 - Remove cipher-manager.* because we don't need it
14695                 - Forgot to add gnome-keyring-md5 files to compile list
14696
14697 2005-12-09  Dan Williams  <dcbw@redhat.com>
14698
14699         * libnm-util/*
14700           configure.in
14701           Makefile.am
14702                 - Add a utility library for clients of NetworkManager.  It's
14703                         only targetted at applets for the moment, and contains
14704                         a generalized 802.11 cipher framework for different
14705                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14706
14707 2005-12-09  Robert Love  <rml@novell.com>
14708
14709         * src/NetworkManagerDevice.c: handle error better in
14710           nm_device_set_mode().
14711
14712 2005-12-08  Robert Love  <rml@novell.com>
14713
14714         * include/NetworkManager.h: add WPA capabilities constants
14715         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14716           or WPA2 and add the capabilities bits as appropriate.
14717
14718 2005-12-08  Robert Love  <rml@novell.com>
14719
14720         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14721           NetworkManagerDispatcher.
14722         * configure.in, initscript/SUSE/.cvsignore,
14723           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14724           initscript.
14725
14726 2005-12-08  Robert Love  <rml@novell.com>
14727
14728         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14729
14730 2005-12-08  Robert Love  <rml@novell.com>
14731
14732         * src/NetworkManagerDevice.c: We want to fall back on and default to
14733           IW_MODE_AUTO, not -1, which is more in line with our previous
14734           behavior.  Otherwise, we try to set the wireless mode to -1 in
14735           nm_device_set_mode().
14736
14737 2005-12-07  Robert Love  <rml@novell.com>
14738
14739         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14740           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14741           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14742           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14743           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14744           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14745           zero.
14746
14747 2005-12-07  Robert Love  <rml@novell.com>
14748
14749         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14750           supplied IP is invalid, fall back to DHCP.
14751
14752 2005-12-07  Dan Williams  <dcbw@redhat.com>
14753
14754         * Convert NETWORK_MODE_* constants to IW_MODE_*
14755         * Make all the get_mode/set_mode functions take and return 'int'
14756         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14757
14758 2005-12-07  Robert Love  <rml@novell.com>
14759
14760         * src/NetworkManagerDevice.c: strncpy() buffer check.
14761         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14762
14763 2005-12-06  Dan Williams  <dcbw@redhat.com>
14764
14765         * gnome/applet/applet-dbus.c
14766                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14767
14768         * gnome/applet/applet-dbus-vpn.c
14769                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14770                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14771                         to TRUE here if stage was ACTIVATED
14772
14773 2005-12-06  Dan Williams  <dcbw@redhat.com>
14774
14775         * Change nm_device_is_* functions to better names:
14776                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14777                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14778
14779 2005-12-06  Dan Williams  <dcbw@redhat.com>
14780
14781         * Change naming of NMDeviceType to something more sensible:
14782                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14783                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14784                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14785
14786 2005-12-06  Dan Williams  <dcbw@redhat.com>
14787
14788         * Move NetworkManager.h -> include/NetworkManager.h
14789         * Split out VPN stuff into include/NetworkManagerVPN.h
14790         * Fix up makefiles to include new location
14791         * Fix up sources to include NetworkManagerVPN.h
14792
14793 2005-12-06  Dan Williams  <dcbw@redhat.com>
14794
14795         Various changes in the applet to move VPN connection "state" -> "stage",
14796         which it actually is.  I'd like to change the signal as well when we
14797         break compat in the near future.
14798
14799 2005-12-06  Dan Williams  <dcbw@redhat.com>
14800
14801         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14802         * initscript/Slackware/rc.networkmanager
14803                 - Cosmetic fix
14804
14805         * src/backends/NetworkManagerSlackware.c
14806                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14807                         interfaces
14808
14809 2005-12-05  Robert Love  <rml@novell.com>
14810
14811         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14812           to free, particularly here as it just barfs.
14813
14814 2005-12-05  Dan Williams  <dcbw@redhat.com>
14815
14816         * gnome/applet/applet-dbus.c
14817                 - Work with dbus 0.6 too
14818
14819 2005-12-03  Dan Williams  <dcbw@redhat.com>
14820
14821         * src/NetworkManagerUtils.[ch]
14822           src/nm-ip4-config.c
14823                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14824                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14825
14826 2005-12-01  Robert Love  <rml@novell.com>
14827
14828         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14829           need a NULL for the '...' parameter, too, to fill the so-called
14830           sentinel.
14831
14832 2005-12-01  Robert Love  <rml@novell.com>
14833
14834         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14835           interface is already gone, so don't call rtnl_link_change() to down
14836           it (which will segfault, anyhow).
14837
14838 2005-11-22  Robert Love  <rml@novell.com>
14839
14840         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14841           gateway is not set, just print a little note.  Configurations without
14842           gateways are valid.
14843
14844 2005-11-22  Robert Love  <rml@novell.com>
14845
14846         * README: update
14847
14848 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14849
14850         * configure.in: Added Finnish translation to ALL_LINGUAS
14851
14852 2005-11-14  Robert Love  <rml@novell.com>
14853
14854         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14855           Niemueller <tim@niemueller.de>.
14856
14857 2005-11-08  Dan Williams  <dcbw@redhat.com>
14858
14859         Patch from Bill Moss <bmoss@clemson.edu>
14860         * src/NetworkManagerDevice.c
14861                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14862                         of nm_policy_schedule_activation_finish() to prevent a
14863                         race condition that causes the link to be dropped
14864
14865 2005-11-08  Dan Williams  <dcbw@redhat.com>
14866
14867         Patch from Bill Moss <bmoss@clemson.edu>
14868         * src/NetworkManagerAPList.c
14869           src/NetworkManagerDevice.c
14870           src/NetworkManagerDbus.c
14871                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14872                         we get more readable ether/mac addresses
14873
14874 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14875
14876         * gnome/applet/main.c: Don't set the restart command.  This fixes
14877         the issue where the restart command was getting copies of all its
14878         arguments for each time the applet was restarted.
14879
14880 2005-11-02  Robert Love  <rml@novell.com>
14881
14882         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14883           if the widget state differs from our saved state.  This ensures we
14884           do not enter an endless loop of death and destruction.  Also, this
14885           guarantees us that we enforce the widget state.
14886
14887 2005-11-02  Robert Love  <rml@novell.com>
14888
14889         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14890         * gnome/applet/applet-dbus-devices.c: invoke the new function
14891           nmwa_enable_wireless_set_active() to ensure that the state of the
14892           'Enable Wireless' checkbox matches the daemon's state.  This is a
14893           concern because the daemon remembers the state.
14894
14895 2005-11-02  Robert Love  <rml@novell.com>
14896
14897         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14898           Enabled", as checkboxes should be actions/commands not positive
14899           statements, otherwise they are confusing in the unselected case.  See
14900           examples in GNOME HIG, Chapter 6.
14901
14902 2005-11-02  Robert Love  <rml@novell.com>
14903
14904         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14905           show a list of wireless networks or the wireless devices or the
14906           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14907           a bad bug: If wireless is disabled and the user picks a wireless
14908           network, NM will switch to the network, only to immediately switch
14909           back, as wireless is disabled.  This also reassures people that NM
14910           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14911
14912 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14913
14914         * gnome/applet/applet.c:
14915         * gnome/applet/applet.h:
14916         Partial backout of Dan's timeout animation patch.
14917         Timeout IDs cannot legally be 0, so revert the code in place to handle
14918         a timeout ID of 0 to denote the timeout isn't running.
14919
14920 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14921
14922         * src/NetworkManagerPolicy.c:
14923         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14924
14925 2005-10-28  Robert Love  <rml@novell.com>
14926
14927         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14928           "Import Saved Configuration..." to make it clear that importing is
14929           not the next step, but an option.  As an aside, a nice TODO would be
14930           to move Importing out of the vpn-specific dialog and into the main
14931           property editor, as Importing goes with Adding, but that will require
14932           some rearchitecting of the VPN stuff I suspect.
14933
14934 2005-10-27  Dan Williams  <dcbw@redhat.com>
14935
14936         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14937         we should replace most of the distro-specific backend code
14938         with libnl stuff.
14939
14940         Get it here:  http://people.suug.ch/~tgr/libnl/
14941
14942         * configure.in
14943           src/Makefile.am
14944                 - Add checks for libnl pkgconfig file
14945                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14946
14947         * src/NetworkManagerSystem.c
14948           src/nm-ip4-config.[ch]
14949                 - Use libnl rather than ioctl() for most things
14950                 - Remove unused functions
14951
14952 2005-10-27  Robert Love  <rml@novell.com>
14953
14954         * src/backends/NetworkManagerSuSE.c: fix warning message text
14955
14956 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14957
14958         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14959
14960 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14961
14962         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14963         project page <http://www.gnome.org/projects/NetworkManager/>
14964
14965 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14966
14967         * gnome/applet.c: Also use translator credits if we don't have
14968         the new GtkAboutDialog (older versions of GTK+)
14969
14970 2005-10-26  Robert Love  <rml@novell.com>
14971
14972         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14973           failure; correct usage text for "--no-daemon"
14974
14975 2005-10-25  Dan Williams  <dcbw@redhat.com>
14976
14977         * src/NetworkManagerDevice.c
14978                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14979                         no scan results
14980                 - (free_process_scan_cb_data): unref the device when freeing results
14981                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14982                         so we don't unref the device underneath ourselves
14983
14984 2005-10-25  Dan Williams  <dcbw@redhat.com>
14985
14986         * Back out 2005-10-24 commit from Tor Krill.  Patch
14987                 causes nameservers never to be removed from named.
14988
14989 2005-10-24  Dan Williams  <dcbw@redhat.com>
14990
14991         Clean up wireless scanning and wireless link probing.
14992
14993         * src/NetworkManagerDevice.c
14994                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14995                         just see if there's an activation request on the device, and check the
14996                         current link against the activation request access point's ESSID.
14997                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14998                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14999                         don't call process_scan_results() on zero-length data
15000                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15001                         15 seconds (from 10)
15002
15003 2005-10-24  Dan Williams  <dcbw@redhat.com>
15004
15005         Cleanup some applet stuff:
15006
15007         - Animation timeouts.  If NM died while the applet was animating,
15008                 the applet would not hide itself.  This is now fixed.
15009
15010         - Remove some dead code
15011
15012         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15013                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15014
15015         - Track animation timeout using a gboolean rather than the timeout's
15016                 ID, since timeout IDs can legally be 0.
15017
15018 2005-10-24  Dan Williams  <dcbw@redhat.com>
15019
15020         * src/backends/interface_parser.c
15021                 - Add void to function declarations that need it
15022                         to match patch from Engin AYDOGAN
15023
15024         * src/backends/interface_parser.h
15025                 - Remove unused prototype for ifparser_interfaces()
15026
15027         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15028         * src/backends/interface_parser.h:
15029                 - Compile fixes for gcc 4.0.2 (add void)
15030
15031 2005-10-24  Dan Williams  <dcbw@redhat.com>
15032
15033         Patch from Tor Krill <tor@krill.nu>
15034         * src/named-manager/nm-named-manager.c
15035                 - Write more than just the first nameserver to /etc/resolv.conf
15036                 - Write out valid /etc/resolv.conf on exit
15037
15038 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15039
15040         * gnome/applet/applet-dbus-vpn.c:
15041         Get rid of spurious newlines in debug console output
15042
15043 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15044
15045         * src/backends/NetworkManagerGentoo.c:
15046         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15047
15048 2005-10-20  Robert Love  <rml@novell.com>
15049
15050         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15051           direct comparison of floating point values, which is never correct.
15052           Also some misc. cleanup.
15053
15054 2005-10-19  Robert Love  <rml@novell.com>
15055
15056         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15057
15058 2005-10-19  Robert Love  <rml@novell.com>
15059
15060         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15061           sensitivity of the buttons.  Specificaly, do the right thing if
15062           there are no entries.
15063
15064 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15065
15066         * configure.in: Update check for adequate wireless-tools
15067         with an AC_TRY_COMPILE for the new symbols we use.
15068
15069 2005-10-19  Dan Williams  <dcbw@redhat.com>
15070
15071         * src/NetworkManagerDevice.c
15072                 - (process_scan_results): don't drop the last (or only)
15073                         access point we see
15074
15075 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15076
15077         * src/backends/NetworkManagerSlackware.c:
15078         Patch from Nico <lordllucifer@gmail.com>
15079                 - Update the Slackware backend.
15080
15081 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15082
15083         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15084         if we've got GLib 2.8.0
15085
15086 2005-10-18  Robert Love  <rml@novell.com>
15087
15088         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15089           function nm_schedule_state_change_signal_broadcast() when we
15090           deactivate a device, too.
15091
15092 2005-10-18  Robert Love  <rml@novell.com>
15093
15094         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15095           be used uninitialized.
15096
15097 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15098
15099         * test/libnm_glib_test.c: Test unregistering, too.
15100
15101 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15102
15103         * configure.in: Bump to 0.5.0
15104
15105 2005-10-17  Dan Williams  <dcbw@redhat.com>
15106
15107         * NetworkManager.h
15108                 - Remove WPA-related constants so they aren't part of the
15109                         upcoming release.
15110
15111 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15112
15113         * gnome/applet/applet.c:
15114         * gnome/applet/applet.h:
15115         Desensitize the 'Connection Information' menu item when there is
15116         no active connection.
15117
15118 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15119
15120         * gnome/libnm_glib/libnm_glib.c:
15121         Make libnm_glib_unregister_callback () actually unregister the callback
15122
15123 2005-10-17  Robert Love  <rml@novell.com>
15124
15125         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15126           two seconds -- tries is updated every 1/10 of a second, not every
15127           second..
15128
15129 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15130
15131         * gnome/applet/applet-dbus-info.c:
15132         Let D-BUS know that we haven't handled a message when we haven't.
15133
15134 2005-10-17  Robert Love  <rml@novell.com>
15135
15136         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15137           in order to remain 64-bit clean.
15138
15139 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15140
15141         * gnome/applet/applet-dbus-info.c:
15142         Find network encryption keys asynchronously
15143
15144 2005-10-17  Robert Love  <rml@novell.com>
15145
15146         * src/backends/NetworkManagerDebian.c,
15147           src/backends/NetworkManagerRedHat,
15148           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15149           comment delimiter.
15150
15151 2005-10-17  Robert Love  <rml@novell.com>
15152
15153         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15154           "/etc"
15155
15156 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15157
15158         * src/NetworkManagerDevice.c: (process_scan_results)
15159         Fix logic that checks to see whether we have an ESSID.
15160
15161 2005-10-15  Dan Williams  <dcbw@redhat.com>
15162
15163         Move scanning code into NetworkManager rather than use iwlib's
15164         iw_scan() function, so that we can figure out AP capabilities.
15165
15166         * NetworkManager.h
15167                 - Add AP capability bits
15168
15169         * src/NetworkManagerAP.[ch]
15170                 - Add capability field to NMAccessPoint structure
15171                 - Add WPA & RSN Information Element fields and accessor
15172                         functions to NMAccessPoint
15173
15174         * src/NetworkManagerDevice.c
15175                 - Remove usage of iw_scan
15176                 - Add scanning code to NetworkManager rather than use
15177                         iw_scan() from iwlib
15178
15179         * src/NetworkManagerUtils.[ch]
15180                 - (nm_dispose_scan_results): remove, unused
15181
15182 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15183
15184         * gnome/libnm_glib/libnm_glib.c:
15185         * gnome/libnm_glib/libnm_glib.h:
15186         Use guint instead of gint for callback IDs.
15187
15188 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15189
15190         * gnome/applet/applet.c:
15191         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15192         every 1000ms.  It will unconditionally call nmwa_update_state which
15193         kills the existing animation timeout and registers a new one with a
15194         callback to draw a new frame every 100ms.  There are 11 connecting
15195         icon frames, so the last 2 frames kept getting dropped.  Only reset
15196         the animation timeout if we aren't animating.
15197
15198 2005-10-11  Dan Williams  <dcbw@redhat.com>
15199
15200         * gnome/applet/applet-dbus-devices.c
15201                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15202                         We want to grab the product & vendor from net.physical_dev
15203                         rather than info.parent.
15204
15205 2005-10-11  Dan Williams  <dcbw@redhat.com>
15206
15207         * src/NetworkManagerDevice.c
15208                 - Use the driver's WE version for scanning rather than
15209                         the WE version NM was compiled with.  Fixes random
15210                         crashes in iw_scan () in iwlib.
15211
15212 2005-10-10  Dan Williams  <dcbw@redhat.com>
15213
15214         * Remove nm_system_load_device_modules() from backend files
15215                 and from NetworkManager.c
15216
15217 2005-10-10  Dan Williams  <dcbw@redhat.com>
15218
15219         * src/NetworkManagerPolicy.c
15220                 - Fix some bugs introduced by the capabilities patch
15221
15222 2005-10-10  Dan Williams  <dcbw@redhat.com>
15223
15224         * gnome/applet/applet-dbus-info.c
15225                 - (nmi_dbus_get_network_key): hide the menu when putting up
15226                         the keyring dialog.  (not sure if the code is right...)
15227
15228 2005-10-09  Dan Williams  <dcbw@redhat.com>
15229
15230         Patch from Bill Moss <bmoss@clemson.edu>
15231         * src/NetworkManagerDevice.c
15232                 - (nm_device_set_user_key_for_network): don't try to set auth
15233                         mode on the AP from the allowed list if it's NULL
15234
15235 2005-10-09  Dan Williams  <dcbw@redhat.com>
15236
15237         * Replace the "driver support level" stuff with capabilities.  The
15238                 capability field is a bitfield that is more flexible than the
15239                 old driver support level thing.  It's mostly so we can easily
15240                 figure out what supports WPA and what doesn't, but should be
15241                 quite useful later.
15242
15243 2005-10-09  Dan Williams  <dcbw@redhat.com>
15244
15245         * test/nmtest.c
15246                 - Removed
15247
15248         * test/nm-tool.c
15249           test/Makefile.am
15250                 - Added new "nm-tool" tool that gives quite a bit more
15251                         information
15252
15253 2005-10-07  Robert Love  <rml@novell.com>
15254
15255         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15256           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15257           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15258           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15259           appropriate
15260
15261 2005-10-07  Robert Love  <rml@novell.com>
15262
15263         * configure.in: Change our compile flags for the betterment of mankind.
15264           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15265           prototype is very bad on 64-bit platforms as types default to int but
15266           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15267           "-Wmissing-declarations" to warn if we define an exported function
15268           but fail to put it in a header.
15269
15270 2005-10-07  Robert Love  <rml@novell.com>
15271
15272         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15273           by the name nm_update_device_wireless_timeouts() and once tried,
15274           without success, to steal my pet turtle.
15275
15276 2005-10-07  Robert Love  <rml@novell.com>
15277
15278         * Cleanup prototypes: put some functions in header files and mark
15279           others as 'static' -- feel free to invert
15280         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15281           nm_vpn_manager_vpn_connection_list_copy()
15282         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15283           nm_vpn_service_get_dbus_connection()
15284         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15285           nm_vpn_manager_vpn_connection_list_copy()
15286         * src/vpn-manager/nm-vpn-service.c: make
15287           nm_vpn_service_act_request_failed() and
15288           nm_vpn_service_stage2_daemon_wait() static
15289         * src/vpn-manager/nm-vpn-service.h: add prototype for
15290           nm_vpn_service_get_dbus_connection()
15291
15292 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15293
15294         * gnome/applet/applet.c:
15295         * gnome/applet/applet.h:
15296         * gnome/applet/icons/Makefile.am:
15297         Convey information about the current connection stage in the
15298         icons themselves instead of creating a separate progress bar.
15299
15300 2005-10-04  Robert Love  <rml@novell.com>
15301
15302         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15303           convert an ether_addr structure's MAC into a string, because the
15304           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15305           versus 07:3B:04, while the former will not.
15306
15307 2005-10-04  Robert Love  <rml@novell.com>
15308
15309         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15310           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15311           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15312           default route in the 'Connection Information' dialog, send primary
15313           and secondary name servers in in "getProperties" DBUS method, add
15314           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15315           secondary domain name servers are crucial pieces of information
15316           that a user might need in debugging a network problem.
15317
15318 2005-10-04  Robert Love  <rml@novell.com>
15319
15320         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15321           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15322           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15323           default route in the 'Connection Information' dialog, send default
15324           route in "getProperties" DBUS method, add network_device_set_route(),
15325           and network_device_get_route().  The Gateway is a crucial piece of
15326           connection-related information that a user might need in debugging a
15327           network problem.
15328
15329 2005-10-03  Robert Love  <rml@novell.com>
15330
15331         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15332           NULL.
15333
15334 2005-10-02  Dan Williams  <dcbw@redhat.com>
15335
15336         * Shorten time taken to sleep by fastpathing bits of device deactivation
15337                 necessary for sleep.
15338
15339         * Fix issue where deactivating a device might deactivate the active
15340                 VPN connection, even if the VPN was not using the device.
15341
15342 2005-10-02  Dan Williams  <dcbw@redhat.com>
15343
15344         * gnome/applet/applet.c
15345                 - Adjust signal strength -> icon mapping values slightly
15346                         (so that 51% signal doesn't show a 75% icon) by adding
15347                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15348                         shows 50% icon, etc.
15349
15350 2005-09-29  Robert Love  <rml@novell.com>
15351
15352         * src/NetworkManager.c: removed unused variable.
15353
15354 2005-09-28  Dan Williams  <dcbw@redhat.com>
15355
15356         Support for named + DBus, using Red Hat DBus patches for named.  You
15357         can find those patches here, with "dbus" in the patch's filename:
15358
15359                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15360
15361         Don't forget the named dbus service file either.
15362
15363         Instead of writing a config file and spawing a named process, NM will
15364         use an already-running dbus-enabled named if it finds one.  NM will
15365         update named's forwarder configuration on the fly using dbus.
15366
15367         If there is no dbus-enabled named running, NM will automatically fall
15368         back to writing the most-recent DNS server information to /etc/resolv.conf
15369         and calling nm_system_update_dns() to kick the system's resolver.
15370
15371         Accordingly, all named-related configure-time options have been removed.
15372
15373 2005-09-26  Robert Love  <rml@novell.com>
15374
15375         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15376           ISDN support!
15377         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15378           bug in error path if "ASKPASSWORD" is "no".
15379
15380 2005-09-26  Robert Love  <rml@novell.com>
15381
15382         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15383           comment in /etc/resolv.conf -- ';' is not.
15384
15385 2005-09-19  Dan Williams  <dcbw@redhat.com>
15386
15387         * src/backends/NetworkManagerRedHat.c:
15388         * src/backends/NetworkManagerDebian.c:
15389         * src/backends/NetworkManagerSlackware.c:
15390         * src/backends/NetworkManagerGentoo.c:
15391         * src/backends/NetworkManagerSUSE.c:
15392         Fix invocations of "/sbin/ip address" to use short form instead
15393
15394 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15395
15396         * src/nm-dbus-device.c: Don't assert when getting
15397         addresses of a not yet connected interface.
15398
15399         * gnome/applet/applet.c: Free icons if loading fails.
15400         Use translator-credits so translators can make themselves known.
15401
15402 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15403
15404         * src/NetworkManagerAP.c:
15405         * src/NetworkManagerAP.h:
15406         * src/NetworkManagerDevice.c:
15407         Set a blacklist for certain common manufacturer default ESSIDs:
15408         APs with these ESSIDs are extremely likely to be completely
15409         different networks: connecting to one should not make NM
15410         auto-connect to every other AP with the same default ESSID.
15411
15412 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15413
15414         * gnome/applet/wireless-applet.glade:
15415         The passphrase entry should also activate the default
15416
15417         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15418
15419         * gnome/applet/applet-dbus-devices.c:
15420         * gnome/applet/applet.c:
15421         * gnome/applet/nm-device.c:
15422         * gnome/applet/nm-device.h:
15423         * src/NetworkManagerUtils.c:
15424         * src/NetworkManagerUtils.h:
15425         * src/nm-dbus-device.c:
15426         I've got a fever, and the only cure for it is less ioctl.
15427         Make NM push IP data rather than make the applet open a socket
15428         to the device.
15429
15430 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15431
15432         * gnome/applet/applet.c:
15433         * gnome/applet/applet-dbus-devices.c:
15434         * gnome/applet/applet-dbus-info.c:
15435         * gnome/applet/passphrase-dialog.c:
15436         * gnome/libnm_glib/libnm_glib.c:
15437         * gnome/vpn-properties/nm-vpn-properties.c:
15438         * src/autoip.c:
15439         * src/backends/NetworkManagerRedHat.c:
15440         * src/named-manager/nm-named-manager.c:
15441         * src/NetworkManagerAPList.c:
15442         * src/NetworkManager.c:
15443         * src/NetworkManagerDbus.c:
15444         * src/NetworkManagerDevice.c:
15445         * src/NetworkManagerPolicy.c:
15446         * src/NetworkManagerSystem.c:
15447         * src/nm-dbus-device.c:
15448         * src/nm-dbus-nm.c:
15449         * src/vpn-manager/nm-vpn-manager.c:
15450         * src/vpn-manager/nm-vpn-service.c:
15451         * test/libnm_glib_test.c:
15452         * test/nminfotest.c:
15453         * test/nmtestdevices.c:
15454         Fix a bunch of 'unused variable' compiler warnings
15455
15456         * NetworkManager.h:
15457         * gnome/applet/applet-dbus-info.c:
15458         * gnome/applet/applet-dbus-info.h:
15459         * gnome/applet/applet.c:
15460         * gnome/applet/applet.h:
15461         * src/NetworkManager.c:
15462         * src/NetworkManagerDbus.c:
15463         * src/NetworkManagerDbus.h:
15464         * src/NetworkManagerDevice.c:
15465         * src/NetworkManagerDevice.h:
15466         * src/NetworkManagerMain.h:
15467         * src/NetworkManagerWireless.c:
15468         * src/NetworkManagerWireless.h:
15469         * src/nm-dbus-nm.c:
15470         Make NetworkManager be smart about how frequently to scan
15471         based on its current state.  Remove the UI for choosing when
15472         to scan.  Scanning still may disabled completely by the user
15473         via the "Wireless Enabled" menu item.
15474
15475 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15476
15477         * gnome/applet/applet.c:
15478         Also overlay the vpn connecting icons onto the wired icon,
15479         when appropriate.
15480
15481         * gnome/vpn-properties/nm-vpn-properties.glade:
15482         Clean up a few strings to use better grammar and proper casing.
15483
15484 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15485
15486         * gnome/applet/vpn-connection.c:
15487         * gnome/applet/vpn-connection.h:
15488         Add nmwa_vpn_connection_is_activating ()
15489
15490         * gnome/applet/applet.c:
15491         * gnome/applet/applet.h:
15492         * gnome/applet/icons/nm-vpn-connecting*.png:
15493         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15494         the user know something's happening between clicking the VPN item and it
15495         actually being connected.
15496
15497 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15498
15499         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15500         failure case as well.
15501
15502 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15503
15504         * gnome/panel/eggtrayicon.[ch]:
15505         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15506
15507 2005-09-07  Dan Williams  <dcbw@redhat.com>
15508
15509         Patch from Bill Moss <bmoss@clemson.edu>
15510         * src/applet-dbus.c
15511                 - (nmwa_dbus_filter): strip whitespace from beginning
15512                         and end of VPN login banner
15513
15514 2005-09-07  Dan Williams  <dcbw@redhat.com>
15515
15516         * The great VPN Manager rewrite of 2005
15517
15518 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15519
15520         * gnome/applet/menu-items.c:
15521         * gnome/applet/nm-device.c:
15522         * gnome/applet/wireless-network.c:
15523         * gnome/libnm_glib/libnm_glib.c:
15524         * src/NetworkManagerDbusUtils.c:
15525         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15526         g_malloc0 doesn't return NULL
15527
15528 2005-09-06  Dan Williams  <dcbw@redhat.com>
15529
15530         Patch from Tomislav Vujec <tvujec@redhat.com>
15531         * src/NetworkManagerDevice.c
15532                 - (nm_get_device_by_udi): don't return a device when we
15533                         actually didn't find what we were looking for
15534
15535 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15536
15537         * gnome/applet/applet-dbus-devices.c:
15538         * gnome/applet/applet-dbus-devices.h:
15539         * gnome/applet/applet-dbus.c:
15540         * src/NetworkManagerDbus.c:
15541         * src/NetworkManagerDbus.h:
15542         * src/NetworkManagerDevice.c:
15543         * src/nm-dbus-device.c:
15544         Make NM push updates about active device strength when it changes,
15545         rather than having the applet poll every 2s.
15546
15547 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15548
15549         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15550         network_device_set_strength
15551
15552 2005-09-04  Dan Williams  <dcbw@redhat.com>
15553
15554         Patch from Bill Nottingham <notting@redhat.com>
15555         * src/NetworkManagerDevice.c
15556                 - (nm_device_activation_cancel): reset the quit_activation flag
15557
15558 2005-09-04  Dan Williams  <dcbw@redhat.com>
15559
15560         * src/nm-activation-request.c
15561                 - (nm_act_request_unref): actually free the structure,
15562                         which we didn't seem to be doing before
15563
15564 2005-09-04  Dan Williams  <dcbw@redhat.com>
15565
15566         Patch from John Palmieri <johnp@redhat.com>
15567         * gnome/applet/applet-dbus-devices.c
15568                 - Fix up unreffing of DBusMessage objects
15569
15570 2005-09-04  Dan Williams  <dcbw@redhat.com>
15571
15572         Patch from John Palmieri <johnp@redhat.com>
15573         * gnome/applet/nm-device.c
15574                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15575
15576 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15577
15578         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15579
15580 2005-09-02  Bill Nottingham  <notting@redhat.com>
15581
15582         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15583
15584 2005-09-01  Dan Williams  <dcbw@redhat.com>
15585
15586         * src/NetworkManager.c
15587                 - (nm_remove_device_from_list): rename to nm_remove_device
15588                 - (nm_hal_device_removed): call nm_remove_device()
15589
15590         * src/NetworkManagerDevice.c
15591                 - Change the NMWirelessScanCB member 'reschedule' which
15592                         wasn't used to 'force' to indicate that we need to
15593                         force a scan when adding a device
15594
15595         * src/nm-dbus-nm.c
15596                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15597                         from the device list
15598                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15599
15600 2005-09-01  Robert Love  <rml@novell.com>
15601
15602         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15603           and the check "!iface" in the error case is probably never true.
15604
15605 2005-09-01  Dan Williams  <dcbw@redhat.com>
15606
15607         Patch from Bill Nottingham <notting@redhat.com>
15608         * src/backends/NetworkManagerRedHat.c
15609                 - Add initial dialup support to Red Hat/Fedora backend
15610
15611 2005-09-01  Dan Williams  <dcbw@redhat.com>
15612
15613         * gnome/applet/applet-dbus-devices.c
15614                 - Sort both wireless networks and devices again, which got
15615                         broken when removing threading
15616
15617 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15618
15619         * gnome/applet/applet.c:
15620         Only show the "Stop/Start All Wireless Devices" menuitem
15621         if we actually have wireless devices.
15622
15623         * gnome/applet/applet-dbus-info.c:
15624         * gnome/applet/applet.c:
15625         * gnome/applet/other-network-dialog.c:
15626         * gnome/applet/vpn-password-dialog.c:
15627         Drop the gtk_dialog_run () calls in favor of connecting to
15628         "response" signals, needed now that the applet is not threaded.
15629
15630 2005-08-31  Dan Williams  <dcbw@redhat.com>
15631
15632         Patch from Bill Moss <bmoss@clemson.edu>
15633         * src/NetworkManagerDevice.c
15634                 - (nm_device_wireless_scan): fix scan timeout values
15635
15636 2005-08-30  Dan Williams  <dcbw@redhat.com>
15637
15638         * gnome/applet/wireless-applet.glade
15639                 - HIG-ify the Other Wireless Networks dialog a bit more
15640                 - Fix some potential segfaults in the info dialog
15641
15642 2005-08-30  Dan Williams  <dcbw@redhat.com>
15643
15644         * gnome/applet/applet-dbus-devices.c
15645                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15646
15647 2005-08-30  Dan Williams  <dcbw@redhat.com>
15648
15649         * gnome/applet/applet-dbus.[ch]
15650                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15651                         they weren't being used anyway
15652
15653 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15654
15655         * test/nmtestdevices.c: (print_usage), (main):
15656         Check the number of arguments, and fix a typo
15657
15658 2005-08-29  Dan Williams  <dcbw@redhat.com>
15659
15660         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15661         * gnome/applet/applet.c
15662                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15663
15664 2005-08-29  Dan Williams  <dcbw@redhat.com>
15665
15666         * gnome/applet/*
15667                 - Don't use threads any more.  Anything that blocks
15668                         (like gtk_dialog_run()) will  have to get fixed up which
15669                         should happen quickly.  We really only had threads to make
15670                         the animation smooth, and when everything got converted over
15671                         to DBus Pending Calls, the need for threads kind of went away
15672
15673 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15674
15675         * gnome/applet/applet.c: Draw VPN connections as radio items
15676         since we don't yet support multiple VPNs.
15677         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15678         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15679
15680 2005-08-29  Dan Williams  <dcbw@redhat.com>
15681
15682         Patch from j@bootlab.org
15683         - Make --without-named work
15684         - Make --with-dhcdbd work correctly
15685
15686 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15687
15688         * configure.in: Added "ca" to ALL_LINGUAS.
15689
15690 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15691
15692         * Fix up VPN state handling between the applet and NetworkManager,
15693                 so that the applet doesn't show a VPN as connected when one
15694                 really is not
15695                         - The applet no longer has a pointer to the active VPN's
15696                                 name, but tracks each VPNs state individually
15697                         - NM no longer has a "getActiveVPNConnection" method
15698                         - NM no longer broadcasts the "VPNConnectionChange" signal
15699                         - NM now broadcasts a "VPNConnectionStateChange" signal
15700                                 whenever the state of a VPN changes
15701
15702 2005-08-26  Dan Williams <dcbw@redhat.com>
15703
15704         * gnome/applet/applet-dbus-devices.c
15705           gnome/applet/applet-dbus-vpn.c
15706                 - Remove calls to dbus_pending_call_ref() because we already
15707                         "own" the pending call
15708                 - Remove calls to dbus_pending_call_get_completed() because
15709                         when we are in the callback, the pending call is completed
15710                         by definition
15711
15712 2005-08-22  Dan Williams <dcbw@redhat.com>
15713
15714         Patch by Bill Moss <bmoss@clemson.edu>
15715         * src/dhcp-manager/nm-dhcp-manager.c
15716                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15717                         some time to send out a RELEASE if they like
15718
15719 2005-08-22  Dan Williams <dcbw@redhat.com>
15720
15721         Noticed by Bill Moss <bmoss@clemson.edu>
15722         * src/NetworkManagerDbus.c
15723                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15724                         instead of just cancelling its activation
15725
15726         * src/NetworkManagerDevice.c
15727                 - (nm_device_deactivate): some small cleanups
15728                 - (nm_device_set_user_key_for_network): deactivate the device
15729                         instead of just cancelling its activation
15730
15731 2005-08-22  Dan Williams <dcbw@redhat.com>
15732
15733         Noticed by Bill Moss <bmoss@clemson.edu>
15734         * src/NetworkManagerDevice.c
15735                 - (nm_device_wireless_scan): fix scan timeout, we were
15736                         waiting way too long for scans to complete
15737
15738 2005-08-22  Dan Williams <dcbw@redhat.com>
15739
15740         Patch from j@bootlab.org:
15741         * src/backends/NetworkManagerDebian.c
15742                 - Make the Debian backend work for static IP again
15743
15744 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15745
15746         * gnome/applet/other-network-dialog.c:
15747         The "Create New Network" and "Connect to Other Network"
15748         dialogs share alot of code, but shouldn't share a window
15749         title.  Give them different ones.
15750
15751         * gnome/applet/wireless-applet.glade:
15752         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15753         Some more minor UI tweaks.
15754
15755 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15756
15757         * gnome/applet/other-network-dialog.c:
15758         * gnome/applet/wireless-applet.glade:
15759         Also need mnemonic widgets, and underline enabled.
15760
15761 2005-08-19  Dan Williams <dcbw@redhat.com>
15762
15763         * vpn-daemons/vpnc/nm-vpnc-service.c
15764                 - (vpnc_watch_cb): remove no-longer-relevant comment
15765                 - (write_config_option): new function, helper to write
15766                         config options to vpnc's stdin
15767                 - (nm_vpnc_config_write): use the new helper, make the
15768                         code shorter
15769
15770 2005-08-19  Christopher Aillon <caillon@redhat.com>
15771
15772         * gnome/applet/passphrase-dialog.c:
15773         * gnome/applet/wireless-applet.glade:
15774         Make the passphrase dialog response based, and treat
15775         responses other than OK (such as Esc, [X]) as a cancel.
15776
15777 2005-08-18  Christopher Aillon <caillon@redhat.com>
15778
15779         * initscript/Gentoo/NetworkManager:
15780         * initscript/RedHat/NetworkManager:
15781         * initscript/RedHat/NetworkManagerDispatcher:
15782         * initscript/SUSE/networkmanager:
15783         CVS remove these in place of .in replacements
15784
15785         * configure.in:
15786         * initscript/Gentoo/NetworkManager.in:
15787         * initscript/RedHat/NetworkManager.in:
15788         * initscript/RedHat/NetworkManagerDispatcher.in:
15789         * initscript/SUSE/networkmanager.in:
15790         These scripts now are generated so they work still when
15791         NM is built using a bindir other than /usr/bin
15792
15793 2005-08-18  Dan Williams <dcbw@redhat.com>
15794
15795         * gnome/applet/main.c
15796                 - Revert previous change for --no-session since
15797                         --sm-disable does the same thing
15798
15799 2005-08-18  Dan Williams <dcbw@redhat.com>
15800
15801         * gnome/applet/applet-dbus-info.c
15802                 - (nmi_dbus_create_error_message): new function
15803                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15804                         functions.  Also don't check for both device _and_ network before
15805                         asking for a user's key, because we may not have gotten all our
15806                         networks back from NM quite yet (due to the dbus pending calls
15807                         coming in later).  Fixes a hang in NM/nm-applet.
15808
15809         * src/NetworkManagerDbus.c
15810                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15811                         slightly more sane manner, even though we are still broken for
15812                         certain other error conditions.
15813                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15814                         to the info-daemon too
15815
15816         * src/NetworkManagerDevice.c
15817                 - Fix some debug messages to be info messages instead
15818
15819 2005-08-18  Dan Williams <dcbw@redhat.com>
15820
15821         * gnome/applet/main.c
15822                 - Add new "--no-session" parameter that disables applet
15823                         session management, ie for testing
15824
15825 2005-08-18  Christopher Aillon <caillon@redhat.com>
15826
15827         * gnome/applet/other-network-dialog.c:
15828         * gnome/applet/wireless-applet.glade: More mnemonics
15829
15830 2005-08-17  Robert Love  <rml@novell.com>
15831
15832         * initscript/SUSE/networkmanager: update
15833
15834 2005-08-17  Dan Williams  <dcbw@redhat.com>
15835
15836         * Tag NM_0_4_1_RELEASE
15837
15838 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15839
15840         * gnome/applet/applet.c: More translatable string cleanup
15841
15842
15843 2005-08-17  Dan Williams  <dcbw@redhat.com>
15844
15845         * gnome/applet/applet-dbus-info.c
15846                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15847                         from the dbus message, which tells us to unconditionally
15848                         ask the user for a new key.  Otherwise, we pull the key from
15849                         the keyring and return it.  If we fail to get the key from the
15850                         keyring, we ask the user for a new key.
15851                 - (nmi_dbus_get_network_key): new function to grab the key for
15852                         an essid from the keyring.
15853                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15854                         Also, don't return any key in the dbus message.
15855
15856         * src/NetworkManagerDbus.[ch]
15857                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15858                         indicate that we unconditionally want a new key.  This function
15859                         is now also used to get keys from the info-daemon which are
15860                         pre-stored, not just for asking the user for a new key.  The
15861                         "new_key" parameter indicates whether or not we wish to ask the
15862                         user for a new key.
15863                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15864                         info-daemon in the return message, so use NULL instead.  The
15865                         key will be filled in at connect time by calling
15866                         nm_dbus_get_user_key_for_network()
15867
15868         * src/NetworkManagerDevice.c
15869                 - (nm_device_wireless_configure): update for "new_key" param to
15870                         nm_dbus_get_user_key_for_network().  We initially set new_key
15871                         to FALSE to see if we have a stored key in the info-daemon, but
15872                         if the connection is unsuccessful at this stage we request a
15873                         new one
15874
15875 2005-08-17  Dan Williams  <dcbw@redhat.com>
15876
15877         * gnome/applet/icons/nm-no-connection.png
15878           gnome/applet/icons/nm-device-wired.png
15879                 - Use Diana's new RJ45 connector icons
15880
15881 2005-08-17  Dan Williams  <dcbw@redhat.com>
15882
15883         * src/NetworkManagerPolicy.c
15884                 - (nm_policy_device_change_check): clarify switching rules if
15885                         both new and old devices are valid; mainly, don't switch
15886                         away from user-requested wireless connection back to a wired
15887                         one
15888
15889 2005-08-17  Dan Williams  <dcbw@redhat.com>
15890
15891         * gnome/applet/Makefile.am
15892                 - Relocate the applet to /usr/bin since it is no longer
15893                         executed by anything, but directly by the user
15894
15895 2005-08-17  Dan Williams  <dcbw@redhat.com>
15896
15897         Patch from Bill Moss <bmoss@clemson.edu>
15898
15899         * gnome/applet/applet-dbus-info.[ch]
15900                 - (nmi_save_network_info): save timestamp for network if it
15901                         was a change requested by the user
15902                 - (nmi_dbus_update_network_info): get user_requested from dbus
15903                         message and pass to nmi_save_network_info()
15904
15905         * gnome/applet/applet.c
15906                 - (nmwa_update_network_timestamp): remove
15907                 - (nmwa_menu_item_activate): don't set timestamp on networks
15908                         here, only after a successful connect in nmi_save_network_info()
15909
15910         * src/NetworkManagerDbus.[ch]
15911                 - (nm_dbus_update_network_info): pass user_requested into the 
15912                         dbus message
15913
15914         * src/NetworkManagerPolicy.c
15915                 - (nm_policy_activation_finish): pass user_requested to
15916                         nm_dbus_update_network_info()
15917
15918 2005-08-16  Robert Love  <rml@novell.com>
15919
15920         * gnome/applet/applet.c: Better "Dial Up" menu item.
15921
15922 2005-08-16  Robert Love  <rml@novell.com>
15923
15924         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15925           "Connection Information" menu item.
15926
15927 2005-08-16  Dan Williams  <dcbw@redhat.com>
15928
15929         Patch from j@bootlab.org
15930         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15931
15932         * configure.in: allow specifying the path to dhcdbd
15933
15934 2005-08-16  Robert Love  <rml@novell.com>
15935
15936         Patch from j@bootlab.org
15937         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15938           src/backends/interface_parser.h: Debian dialup support.
15939
15940 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15941
15942         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15943         * gnome/applet/applet.c: Add some mnemonics for VPNC
15944
15945         * vpn-daemons/.cvsignore: fix this up a little bit
15946
15947 2005-08-16  Robert Love  <rml@novell.com>
15948
15949         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15950           support.
15951
15952 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15953
15954         * gnome/applet/applet.c: Split markup out of translatable strings
15955         and clean up logic a little bit.  (fixes #309012)
15956
15957 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15958
15959         * gnome/vpn-properties/nm-vpn-properties.c:
15960         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15961         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15962         Makeshift fix to remove newlines from translatable strings.
15963         Note that we now return an allocated string, so callers of
15964         get_confirmation_details () must now call g_free () on the
15965         result. (fixes #309033).
15966
15967 2005-08-12  Robert Love  <rml@novell.com>
15968
15969         * gnome/applet/applet-dbus.c: remove newlines from translatable
15970           strings--not needed here anyway. (fix b.g.o #309011)
15971         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15972
15973 2005-08-11  Robert Love  <rml@novell.com>
15974
15975         * gnome/applet/applet.c: mark string as translatable.
15976
15977 2005-08-11  Robert Love  <rml@novell.com>
15978
15979         * initscript/SUSE/networkmanager: update.
15980
15981 2005-08-11  Dan Williams  <dcbw@redhat.com>
15982
15983         * src/nm-dhcp-manager.c
15984                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15985                         an gateway returned from DHCP, try to use the address of the DHCP
15986                         server as the gateway instead.  Found by Ralf Ertzinger.
15987
15988 2005-08-10  Robert Love  <rml@novell.com>
15989
15990         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15991           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15992
15993 2005-08-10  Dan Williams  <dcbw@redhat.com>
15994
15995         Patch from Bill Moss <bmoss@clemson.edu>
15996         * Consolidate writes of access point information updates to the info daemon
15997                 so that we only do it when the connection to the access point was
15998                 successful.  Also consolidates updates to GConf in the Gnome applet.
15999
16000         * src/nm-netlink-monitor.c
16001                 - Silence compile warning when calling g_object_new()
16002
16003 2005-08-08  Dan Williams  <dcbw@redhat.com>
16004
16005         Patch from Steev <steev@steev.net>:
16006         * src/backends/NetworkManagerGentoo.c
16007                 - Stub new dialup backend functions
16008
16009 2005-08-08  Dan Williams  <dcbw@redhat.com>
16010
16011         Patch from Colin Slater:
16012         * src/backends/NetworkManagerGentoo.c
16013                 - (nm_system_update_dns): Fix exit status check for restarting
16014                         nscd
16015
16016 2005-08-05  Robert Love  <rml@novell.com>
16017
16018         * NetworkManager.h,
16019           gnome/applet/applet-dbus-devices.c,
16020           gnome/applet/applet-dbus-devices.h,
16021           gnome/applet/applet-dbus.c,
16022           gnome/applet/applet.c,
16023           gnome/applet/applet.h,
16024           src/NetworkManager.c,
16025           src/NetworkManagerMain.h,
16026           src/NetworkManagerSystem.h,
16027           src/backends/NetworkManagerRedHat.c,
16028           src/backends/NetworkManagerSuSE.c,
16029           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16030
16031 2005-08-05  Robert Love  <rml@novell.com>
16032
16033         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16034           machine's hostname to make adhoc creation idiot-proof.
16035
16036 2005-08-04  Robert Love  <rml@novell.com>
16037
16038         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16039           freed.
16040
16041 2005-08-04  Dan Williams  <dcbw@redhat.com>
16042
16043         * gnome/applet/applet-dbus-info.c
16044           gnome/applet/applet-dbus-info.h
16045                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16046                         to store key, key type, and auth method rather than just auth method
16047                 - (nmi_dbus_update_network_info): new function
16048                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16049
16050         * gnome/applet/passphrase-dialog.c
16051                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16052                         of saving the info ourselves
16053
16054         * gnome/libnm_glib/libnm_glib.c
16055                 - Remove the stupid version check for dbus
16056
16057         * src/NetworkManagerAP.c
16058           src/NetworkManagerAP.h
16059                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16060
16061         * src/NetworkManagerDbus.c
16062           src/NetworkManagerDbus.h
16063                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16064                         more than just the auth method
16065
16066         * src/NetworkManagerDevice.c
16067                 - Update network info at the appropriate times
16068
16069 2005-07-29  Ray Strode  <rstrode@redhat.com>
16070
16071         * src/NetworkManager.c (nm_info_handler): don't use input as format
16072         string (Spotted by Ian Jackson).
16073
16074 2005-07-27  Dan Williams  <dcbw@redhat.com>
16075
16076         * src/nm-dbus-nm.c
16077           src/nm-dbus-net.c
16078                 - Random cleanups of spacing
16079
16080         * gnome/applet/applet.h
16081           gnome/applet/other-network-dialog.c
16082           gnome/applet/passphrase-dialog.c
16083                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16084
16085         Patch from Bill Moss:
16086                 - Make Other Wireless Networks work again with encryption keys
16087
16088 2005-07-26  Dan Williams  <dcbw@redhat.com>
16089
16090         Patch from Steev <steev@steev.net>:
16091         * src/backends/NetworkManagerGentoo.c
16092           src/backends/Makefile.am
16093                 - Fix up Gentoo backend
16094
16095 2005-07-26  Robert Love  <rml@novell.com>
16096
16097         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16098
16099 2005-07-25  Robert Love  <rml@novell.com>
16100
16101         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16102           in the same group as the wireless networks, since they are all
16103           mutually exclusive.
16104
16105 2005-07-24  Ray Strode  <rstrode@redhat.com>
16106
16107         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16108         remove unneeded NULL arg from g_object_new().  Any
16109         warnings caused by not having the extra NULL are just a
16110         result of a bug in glib 2.7.0 - 2.7.2.
16111
16112 2005-07-22  Robert Love  <rml@novell.com>
16113
16114         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16115
16116 2005-07-22  Robert Love  <rml@novell.com>
16117
16118         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16119           parameters (gcc 4.0.2 warning fix).
16120
16121 2005-07-18  Robert Love  <rml@novell.com>
16122
16123         Suggested by Aaron Bockover (abockover@novell.com)
16124         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16125           s/Ascii/ASCII
16126         * gnome/applet/passphrase-dialog.c: ditto
16127         * gnome/applet/wireless-applet.glade: ditto
16128
16129 2005-07-13  Dan Williams  <dcbw@redhat.com>
16130
16131         Patch from Ray Strode <halfline@gmail.com>
16132         * vpn-daemons/vpnc/nm-vpnc-service.c
16133                 - Don't let vpnc daemonize, fixes some races with PID file reading
16134
16135 2005-07-13  Dan Williams  <dcbw@redhat.com>
16136
16137         Patch from Ray Strode <halfline@gmail.com>
16138         * Random cleanups for strict CFLAGS
16139
16140 2005-07-07  Dan Williams  <dcbw@redhat.com>
16141
16142         Patch from Derek Atkins <warlord@MIT.EDU>
16143         * src/nm-dbus-net.c:
16144                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16145
16146 2005-07-07  Dan Williams  <dcbw@redhat.com>
16147
16148         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16149         * src/backends/NetworkManagerGentoo.c
16150                 - Gentoo backend Static IP nameserver fixes
16151                 - General Gentoo backend goodness
16152
16153 2005-07-07  Dan Williams  <dcbw@redhat.com>
16154
16155         Patch from Bastien Nocera:
16156         * gnome/applet/applet.c
16157                 - Fix up error reporting when icons or glade files are missing
16158
16159 2005-07-07  Robert Love  <rml@novell.com>
16160
16161         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16162           are not any VPN connections above it.
16163
16164 2005-07-07  Robert Love  <rml@novell.com>
16165
16166         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16167
16168 2005-07-05  Robert Love  <rml@novell.com>
16169
16170         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16171           zero.
16172
16173 2005-07-05  Robert Love  <rml@novell.com>
16174
16175         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16176           on wired or unencrypted wireless.
16177
16178 2005-07-01  Robert Love  <rml@novell.com>
16179
16180         * src/NetworkManagerSystem.c: Print the error via strerror().
16181
16182 2005-06-30  Robert Love  <rml@novell.com>
16183
16184         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16185           then exit if the glade file is not found.  currently the application
16186           just hangs.
16187
16188 2005-06-30  Robert Love  <rml@novell.com>
16189
16190         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16191           explicitly up all interfaces on wake from sleep.
16192
16193 2005-06-30  Robert Love  <rml@novell.com>
16194
16195         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16196           with information about the currently active connection.
16197         * gnome/applet/applet.h: (ditto)
16198         * gnome/applet/wireless-applet.glade: (ditto), new file
16199
16200 2005-06-30  Robert Love  <rml@novell.com>
16201
16202         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16203         * src/nm-dbus-nm.c: print when we sleep and wake up.
16204         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16205         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16206           in /sbin unless D-BUS is, folks).
16207         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16208
16209 2005-06-27  Robert Love  <rml@novell.com>
16210
16211         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16212           case.
16213
16214 2005-06-27  Robert Love  <rml@novell.com>
16215
16216         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16217           items radios.
16218
16219 2005-06-26  Robert Love  <rml@novell.com>
16220
16221         * src/NetworkManagerDevice.c: be specific about which device in
16222           nm_info() message.
16223
16224 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16225
16226         * src/nm-netlink-monitor.c: correct spelling error.
16227
16228 2005-06-23  Robert Love  <rml@novell.com>
16229
16230         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16231         * gnome/applet/passphrase-dialog.c: more of that keyring!
16232
16233 2005-06-23  Robert Love  <rml@novell.com>
16234
16235         * configure.in: remove extraneous GNOMEKEYRING directives.
16236         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16237         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16238         * gnome/applet/passphrase-dialog.c: whitespace.
16239
16240 2005-06-23  Robert Love  <rml@novell.com>
16241
16242         * src/NetworkManagerDevice.c: division in assignment was flipped.
16243
16244 2005-06-23  David Zeuthen  <david@fubar.dk>
16245
16246         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16247         signal to the child to indicate that we got what we wanted when we
16248         see two new-lines right after each other.
16249         (nmwa_vpn_request_password): Pass a structure with several members
16250         instead of just the passwords
16251
16252 2005-06-23  Dan Williams <dcbw@redhat.com>
16253
16254         * src/NetworkManager.c
16255           src/NetworkManagerMain.h
16256                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16257                 - (nm_hal_init): new function, init libhal context then add devices
16258                 - (nm_hal_deinit): new function, clean up libhal context
16259                 - (nm_data_free): Move Hal cleanup here
16260                 - (main): check whether Hal is running, and if so, get a list of
16261                         network devices from it
16262
16263         * src/NetworkManagerDbus.c
16264                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16265                         and when it appears, get a list of network devices from it.  If
16266                         Hal goes away, clean up the libhal context
16267
16268 2005-06-22  Robert Love  <rml@novell.com>
16269
16270         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16271           permissions of scripts before executing.
16272
16273 2005-06-21  Robert Love  <rml@novell.com>
16274
16275         * initscript/SUSE/networkmanager: update.
16276         * src/backends/NetworkManagerSuSE.c: cleanup.
16277
16278 2005-06-21  Robert Love <rml@novell.com>
16279
16280         * gnome/applet/applet.c: use menu mnemonics.
16281         * gnome/applet/menu-items.c: (ditto)
16282
16283 2005-06-21  Robert Love  <rml@novell.com>
16284
16285         * applet/applet-dbus-devices.c: mark non-static functions static.
16286         * applet/applet-dbus-vpn.c: (ditto)
16287         * applet/applet.c: (ditto)
16288         * applet/nm-device.h: (ditto)
16289         * applet/other-network-dialog.c: (ditto)
16290         * applet/passphrase-dialog.c: (ditto)
16291         * NetworkManager.c: (ditto)
16292         * NetworkManagerDbus.c: (ditto)
16293         * NetworkManagerDevice.c: (ditto)
16294         * NetworkManagerPolicy.c: (ditto)
16295         * NetworkManagerUtils.c: (ditto)
16296         * NetworkManagerWireless.c: (ditto)
16297         * NetworkManagerWireless.h: (ditto)
16298         * nm-netlink-monitor.c: (ditto)
16299         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16300         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16301         * autoip.c: include autoip.h.
16302         * autoip.h: new file.  define get_autoip().
16303         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16304         * NetworkManagerDbus.h: remove duplicate definitions.
16305
16306 2005-06-20  Robert Love  <rml@novell.com>
16307
16308         * Makefile.am: Add missing intltool-foo.in generated files to
16309           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16310           with the start of stuff to cleanup on 'distclea'.
16311         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16312           stuff right and 'distcheck' works.
16313         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16314           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16315           Makefile.am for each.  And systray/Makefile needs to be redone.
16316
16317 2005-06-19  Dan Williams <dcbw@redhat.com>
16318
16319         * src/NetworkManagerDevice.c
16320         - (nm_device_wireless_process_scan_results): scan every 20s when
16321           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16322
16323 2005-06-19  Dan Williams <dcbw@redhat.com>
16324
16325         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16326
16327 2005-06-18  Ray Strode <rstrode@redhat.com>
16328
16329         * src/nm-netlink-monitor.c 
16330         (nm_netlink_monitor_event_handler): check for the presence
16331         of either error condition not both. 
16332         
16333         (nm_netlink_monitor_error_handler): emit error signal if
16334         error occurs.
16335
16336         (nm_netlink_monitor_event_handler),
16337         (nm_netlink_monitor_error_handler),
16338         (nm_netlink_monitor_disconnect_handler): if an 
16339         assertion fails disconnect the event handler to prevent 
16340         infinite loops.
16341
16342         * src/nm-netlink-monitor.h: add new error condition
16343         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16344
16345 2005-06-18  Ray Strode <rstrode@redhat.com>
16346
16347         * src/nm-netlink-monitor.c 
16348         (nm_netlink_monitor_event_handler): remove bogus < 0
16349         check on unsigned value and return early if the kernel
16350         didn't send any bytes.
16351
16352 2005-06-17  Robert Love  <rml@novell.com>
16353
16354         * initscript/SUSE/networkmanager: Change the Provides and default
16355         run levels
16356
16357 2005-06-16  Dan Williams <dcbw@redhat.com>
16358
16359         Patch from Robert Love:
16360         * gnome/applet/applet.c
16361                 - Beautify some applet menu item names
16362
16363 2005-06-17  David Zeuthen  <davidz@redhat.com>
16364
16365         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16366         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16367         Also add new methods can_export, import_file and export.
16368
16369         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16370         to the main UI
16371
16372         * gnome/vpn-properties/nm-vpn-properties.c:
16373         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16374         nm-vpn-ui-interface.h.
16375         (update_edit_del_sensitivity): Also update "Export" sensitivity
16376         (add_vpn_connection): Also add new SVC_NAME column
16377         (import_settings): New function
16378         (retrieve_data_from_selected_connection): New function
16379         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16380         this function
16381         (export_cb): New function
16382         (init_app): Also setup the "export" widget
16383         (main): Support the --import-service and --import-file commandline
16384         arguments
16385
16386         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16387         D-BUS 0.34
16388
16389 2005-06-16  Dan Williams <dcbw@redhat.com>
16390
16391         Patch from Robert Love:
16392         * gnome/applet/menu-items.c
16393                 - (network_menu_item_new): pass -1 as wireless network
16394                         menu items height size request rather than ascent / 2
16395
16396 2005-06-16  Dan Williams <dcbw@redhat.com>
16397
16398         * Clean up wording in Wireless Scan Methods menu items and constants
16399
16400 2005-06-16  Robert Love  <rml@novell.com>
16401
16402         * po/POTFILES.in
16403                 - remove gtkcell* files
16404
16405 2005-06-15  Dan Williams <dcbw@redhat.com>
16406
16407         Patch from Robert Love: make the applet stetic
16408
16409         * gnome/applet/Makefile.am
16410                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16411
16412         * gnome/applet/gtkcellview.h
16413           gnome/applet/gtkcellview.c
16414           gnome/applet/gtkcellrendererprogress.h
16415           gnome/applet/gtkcellrendererprogress.c
16416                 - Removed
16417
16418         * gnome/applet/menu-items.c
16419                 - Progress bars are 5:1 size ratio
16420                 - Use GTK progress bars rather than internal ones
16421
16422 2005-06-15  Dan Williams <dcbw@redhat.com>
16423
16424         Patch from Robert Love:
16425         * initscript/SUSE/networkmanager
16426                 - Fix typo
16427
16428 2005-06-15  Dan Williams <dcbw@redhat.com>
16429
16430         * src/backends/NetworkManagerSuSE.c
16431           src/backends/NetworkManagerRedHat.c
16432           src/backends/NetworkManagerDebian.c
16433                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16434
16435 2005-06-15  Dan Williams <dcbw@redhat.com>
16436
16437         * src/backends/NetworkManagerDebian.c
16438                 - Add nm_system_device_get_use_dhcp() to debian backend
16439
16440         Patch from Kay Sievers:
16441         * src/backends/NetworkManagerSuSE.c
16442                 - Update debian backend for static IP nameservers
16443
16444         * src/NetworkManagerDevice.c
16445                 - Actually set the device to use static IP or DHCP rather
16446                         than always DHCP
16447
16448 2005-06-15  Dan Williams <dcbw@redhat.com>
16449
16450         Patch from Thom May:
16451         * src/backends/NetworkManagerDebian.c
16452                 - Update debian backend for static IP nameservers
16453
16454 2005-06-15  Dan Williams <dcbw@redhat.com>
16455
16456         Patches from Robert Love:
16457         * gnome/applet/wireless-applet.glade
16458                 - Tighten up wording
16459
16460         * src/NetworkManagerDevice.c
16461                 - Remove misplaced ';'
16462
16463         * configure.in
16464           initscript/Makefile.am
16465           initscript/SUSE/Makefile.am
16466           initscript/SUSE/networkmanager
16467                 - Add SUSE initscript
16468
16469 2005-06-12  David Zeuthen  <davidz@redhat.com>
16470
16471         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16472
16473         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16474
16475         * gnome/vpn-properties/nm-vpn-properties.c: New file
16476
16477         * gnome/vpn-properties/Makefile.am: New file
16478
16479         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16480         array of passwords
16481
16482         * src/vpn-manager/nm-vpn-manager.c
16483         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16484         instead of just a single one
16485
16486         * src/vpn-manager/nm-dbus-vpn.c:
16487         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16488         here
16489         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16490
16491         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16492         Change the interface here to give a list of passwords. Also, don't
16493         require username, but do require service
16494
16495         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16496         the binary for the auth-dialog and use that instead of putting up a
16497         dialog asking for a single password
16498
16499         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16500         however do remember the service
16501
16502         * gnome/applet/main.c (main): Setup i18n
16503
16504         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16505         connection to '%s'" to the tooltip if we are connected using VPN
16506         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16507         key to determine whether we the auth-dialog needs to
16508         reprompt. Also cope with the fact that the auth-dialog now returns
16509         an array of passwords.
16510         (nmwa_menu_configure_vpn_item_activate): New handler for
16511         "Configure VPN..." menu item
16512         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16513         (is_vpn_available): New function to determine if we got any
16514         NM-compatible VPN software installed
16515         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16516         items only if we have NM-compatible VPN software installed
16517         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16518         logic for detecting when VPN connections are removed
16519
16520         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16521         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16522         since these are defined elsewhere
16523
16524         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16525         function used to keep track of whether the last attempt succeded
16526         (nmwa_dbus_filter): Update last_attempt according to whether the
16527         VPN connection could be established or not
16528
16529         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16530         Change prototype to take an array of passwords, not just a single
16531         password
16532
16533         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16534         update service, not user
16535         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16536         dbus_active_vpn_name is not NULL before using it
16537         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16538         string array instead of assuming a single password
16539
16540         * gnome/applet/applet-dbus-info.c:
16541         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16542         user name; don't read from gconf
16543
16544         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16545         VPN_NAME_FILES_DIR
16546
16547         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16548
16549         * configure.in: Add checks for gmodule-2.0.
16550         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16551         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16552         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16553         for details
16554
16555         * vpn-daemons/Makefile.am: Removed
16556
16557         * vpn-daemons/README: New file to describe extensions points for VPN
16558         software
16559
16560 2005-06-10  Dan Williams <dcbw@redhat.com>
16561
16562         * src/backends/NetworkManagerRedHat.c
16563                 - (get_current_profile_name): new function, grab current network profile name from
16564                         /etc/sysconfig/network
16565                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16566                         update an IP4 Config structure's settings from it
16567                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16568                         get DNS info from current network profile
16569
16570 2005-06-09  Dan Williams <dcbw@redhat.com>
16571
16572         Patch from Robert Love:
16573         * src/NetworkManagerDevice.c
16574           src/NetworkManagerUtils.c
16575                 - 64-bit build fixes
16576
16577 2005-06-09  Dan Williams <dcbw@redhat.com>
16578
16579         Patch from Kay Sievers and Robert Love:
16580         * configure.in
16581           src/backends/Makefile.am
16582           src/backends/NetworkManagerSuSE.c
16583                 - Add SuSE support
16584
16585 2005-06-09  Dan Williams <dcbw@redhat.com>
16586
16587         * NetworkManager.h
16588                 - Add NMWirelessScanMethod enum for scan methods
16589
16590         * gnome/applet/applet-dbus-devices.c
16591                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16592                 - (nmwa_dbus_update_scanning_enabled): remove
16593                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16594                         since it got removed
16595                 - (nmwa_dbus_enable_scanning): remove
16596
16597         * gnome/applet/applet-dbus-info.c
16598                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16599                         update the wireless scanning method from NMI
16600                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16601                         method value to NetworkManager
16602                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16603
16604         * gnome/applet/applet-dbus-info.h
16605                 - Add prototype for nmi_dbus_signal_update_scan_method
16606
16607         * gnome/applet/applet.c
16608                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16609                         Wireless Scanning menu based on current wireless scan method
16610                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16611                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16612                         and update our menu items to make sure the right one is checked
16613                 - (nmwa_set_scanning_enabled_cb): remove
16614                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16615                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16616                         Scanning menu item
16617                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16618                         from GConf
16619                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16620                         so we get notified of preference values too
16621                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16622
16623         * gnome/applet/applet.h
16624                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16625                 - Add wireless scan method member to applet data
16626                 - Remove pause_scanning_item, add Wireless Scanning submenu
16627
16628         * src/NetworkManager.c
16629                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16630                 - (main): grab scanning method from NMI if we can
16631
16632         * src/NetworkManagerDbus.c
16633                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16634                         nm_dbus_update_wireless_scan_method()
16635                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16636                         from NMI
16637                 - (nm_dbus_nmi_is_running): redundant function, removed
16638                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16639                         when NMI comes back
16640
16641         * src/NetworkManagerDevice.c
16642                 - (nm_device_is_activated): return TRUE if the device is activated
16643                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16644                         and we are activated
16645
16646         * src/nm-dbus-nm.c
16647                 - (nm_dbus_nm_set_scanning_enabled): removed
16648                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16649                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16650
16651 2005-06-09  Dan Williams <dcbw@redhat.com>
16652
16653         * NetworkManager.h
16654           src/vpn-manager/nm-vpn-service.c
16655                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16656
16657 2005-05-27  Dan Williams <dcbw@redhat.com>
16658
16659         * vpn-daemons/vpnc/nm-vpnc-service.c
16660                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16661                         Should fix the bug where the VPN connection terminates the first time.
16662
16663 2005-05-20  Dan Williams <dcbw@redhat.com>
16664
16665         * NetworkManager.h
16666                 - Differentiate VPN config signals between bad VPN config options
16667                         and bad IP config
16668
16669         * gnome/applet/applet-dbus-info.h
16670                 - Add prototypes for wireless network and vpn connection update functions
16671
16672         * gnome/applet/applet-dbus.c
16673                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16674
16675         * gnome/applet/applet.c
16676                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16677                         error signals
16678                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16679                         propogation to NetworkManager
16680                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16681                         notify propogation to NetworkManager
16682
16683         * src/NetworkManagerDbus.c
16684                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16685                         are updating so a network can be removed from it if necessary
16686
16687         * src/vpn-manager/nm-vpn-manager.c
16688                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16689
16690         * vpn-daemons/vpnc/nm-vpnc-service.c
16691                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16692                 - (nm_vpnc_dbus_signal_launch_failed): remove
16693                 - (nm_vpnc_dbus_signal_connect_failed): remove
16694                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16695                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16696                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16697                         for new generalized error signal function, remove config file stuff
16698                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16699                         we can write configuration options to it
16700                 - (nm_vpnc_config_file_generate): removed
16701                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16702                 - (nm_vpnc_config_options_validate): validate the config options we receive
16703                         from NetworkManager to block potential exploits
16704                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16705                         starting vpnc
16706                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16707                         to NetworkManager
16708
16709 2005-05-16  Dan Williams  <dcbw@redhat.com>
16710
16711         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16712                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16713                         is not "connect"
16714
16715 2005-05-16  Dan Williams  <dcbw@redhat.com>
16716
16717         Patch from Tomislav Vujec <tvujec@redhat.com>
16718         * gnome/applet/applet-dbus-info.c
16719                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16720                         GConf and pass them to NetworkManager.  New key is 'routes' under
16721                         the VPN connection, and should be a string list
16722
16723         * src/NetworkManagerSystem.c
16724                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16725                         set them on the device when we set the rest of the VPN config.  Ensure
16726                         they are in the correct format since they are passed directly to the
16727                         command line.
16728
16729         * src/backends/NetworkManagerRedHat.c
16730           src/backends/NetworkManagerDebian.c
16731                 - (nm_system_device_add_route_via_device_with_iface): new function
16732
16733         * src/vpn-manager/nm-dbus-vpn.c
16734                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16735
16736         * src/vpn-manager/nm-vpn-manager.c
16737                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16738                         them into the IP4 config functions
16739
16740 2005-05-15  Dan Williams  <dcbw@redhat.com>
16741
16742         From Filip Miletic:
16743         * po/sr.po
16744           po/sr@Latn.po
16745           configure.in
16746                 - Serbian translation added
16747
16748 2005-05-15  Dan Williams  <dcbw@redhat.com>
16749
16750         * dispatcher-daemon/NetworkManagerDispatcher.c
16751                 - (main): sync arguments with NetworkManager and the applet, now use
16752                         "--no-daemon" rather than "daemon=no"
16753                 - (nmd_print_usage): Fix script path in usage message
16754
16755 2005-05-15  Dan Williams  <dcbw@redhat.com>
16756
16757         * src/NetworkManagerDevice.[ch]
16758           src/NetworkManagerPolicy.c
16759           src/NetworkManager.c
16760           src/nm-dbus-nm.c
16761                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16762                         longer send the DeviceNoLongerActive signal unconditionally, but only
16763                         when the device is actually active.
16764
16765         * dispatcher-daemon/NetworkManagerDispatcher.c
16766                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16767                         and simplify the logic
16768                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16769                         we free it later on
16770
16771         * initscript/RedHat/Makefile.am
16772           initscript/RedHat/NetworkManagerDispatcher
16773                 - Add initscript for NetworkManagerDispatcher
16774
16775
16776         Patch from Bill Moss:
16777         * dispatcher-daemon/NetworkManagerDispatcher.c
16778                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16779
16780         * src/NetworkManagerDbus.c
16781                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16782                         and DeviceNowActive gets signaled, then the device has a new IP address
16783                         anyway.  There's no need for a separate signal.
16784
16785         * src/NetworkManagerDevice.c
16786                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16787
16788         * src/NetworkManagerPolicy.c
16789                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16790                         activates successfully.  This kind of went missing when I reworked the
16791                         activation code.
16792
16793 2005-05-15  Dan Williams  <dcbw@redhat.com>
16794
16795         * configure.in
16796                 - Check for dhcdbd and error if its not found
16797
16798         * src/dhcp-manager/Makefile.am
16799           src/dhcp-manager/nm-dhcp-manager.c
16800                 - Use path to dhcdbd that configure found
16801
16802 2005-05-14  Dan Williams  <dcbw@redhat.com>
16803
16804         * gnome/applet/nm-device.c
16805                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16806                         sort wireless networks alphabetically
16807
16808         * gnome/applet/applet-dbus-devices.c
16809                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16810                         before copying them over to the GUI
16811
16812 2005-05-14  Dan Williams  <dcbw@redhat.com>
16813
16814         * src/NetworkManager.c
16815                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16816                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16817                         the device list, as does nm_get_active_device() which is called from
16818                         nm_vpn_manager_deactivate_vpn_connection().
16819
16820 2005-05-14  Dan Williams  <dcbw@redhat.com>
16821
16822         * NetworkManager.h
16823                 - Add signals for VPN Launch and Connect failures
16824
16825         * gnome/applet/applet-dbus.c
16826                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16827
16828         * gnome/applet/applet.c
16829                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16830                         function to handle all VPN failure messages
16831                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16832                         function to hanlde all VPN failure  messages
16833                 - (show_warning_dialog): work around focus-stealing prevention
16834
16835         * gnome/applet/other-network-dialog.c
16836           gnome/applet/passphrase-dialog.c
16837                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16838                         problem where it never enabled for ASCII Key and Hex Key types
16839
16840         * gnome/applet/wireless-applet.glade
16841                 - Add window title to Other Wireless Network Dialog
16842
16843         * src/vpn-manager/nm-dbus-vpn.c
16844                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16845                         function to handle all VPN failure messages
16846
16847         * src/vpn-manager/nm-vpn-manager.c
16848                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16849
16850         * vpn-daemons/vpnc/nm-vpnc-service.c
16851                 - (nm_vpnc_dbus_signal_launch_failed): new function
16852                 - (nm_vpnc_dbus_signal_connect_failed): new function
16853                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16854                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16855                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16856                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16857
16858 2005-05-11  Dan Williams  <dcbw@redhat.com>
16859
16860         * vpn-daemons/vpnc/nm-vpnc-service.c
16861                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16862                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16863                         file exists before trying to write it out.
16864
16865 2005-05-10  Dan Williams  <dcbw@redhat.com>
16866
16867     * gnome/applet/applet-dbus-device.c
16868         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16869             prevented just entering ESSID and leaving key and key type up to
16870             NetworkManager (which should have them already cached)
16871
16872 2005-05-08  Dan Williams  <dcbw@redhat.com>
16873
16874         * src/NetworkManagerPolicy.c
16875                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16876                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16877                         fix a situation where NM is told to terminate and the device stops activation,
16878                         but the main thread isn't aware of that because it would never have run
16879                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16880                         had already quit.
16881
16882         * src/NetworkManagerDevice.c
16883                 - (nm_device_probe_wired_link_state): cosmetic fixes
16884                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16885                         we've failed to activate or been canceled.
16886                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16887
16888 2005-05-08  Dan Williams  <dcbw@redhat.com>
16889
16890         * src/NetworkManagerWireless.c
16891                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16892                         value of WEXT quality structures, and add a debug message when we cannot
16893                         determine any quality % at all
16894
16895 2005-05-08  Dan Williams  <dcbw@redhat.com>
16896
16897         * src/dhcp-manager/nm-dhcp-manager.c
16898                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16899                         it goes down.
16900
16901 2005-05-06  Dan Williams  <dcbw@redhat.com>
16902
16903         * gnome/applet/applet-dbus-device.c
16904           gnome/applet/applet-dbus-info.c
16905           gnome/applet/applet-dbus.c
16906           gnome/applet/applet.c
16907           gnome/applet/applet.h
16908                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16909
16910         * gnome/applet/applet-dbus.c
16911                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16912                         so we notice when wired device's carriers come back on.  Should
16913                         fix issue with wired devices being grayed out even if the cable
16914                         is in, for devices that support carrier detection.
16915
16916         * gnome/applet/applet.c
16917                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16918                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16919                         tooltip message
16920                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16921                         Fix situation where applet wouldn't respond to menu selections
16922
16923         * src/NetworkManager.c
16924           src/NetworkManagerDevice.c
16925           src/NetworkManagerDbus.c
16926           src/NetworkManagerDbus.h
16927                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16928
16929         * src/NetworkManagerDbus.c
16930                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16931                         Remove, no longer used or relevant
16932                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16933                 - (nm_dbus_schedule_device_status_change_signal): add
16934
16935         * src/NetworkManagerDevice.c
16936                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16937                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16938                         ie don't deactivate them unless explicitly told to by the user.  Also send
16939                         CARRIER_OFF / CARRIER_ON signals when link changes
16940                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16941                         Don't print error message when device is no longer around
16942                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16943                         not just during activation
16944
16945         * src/NetworkManagerPolicy.c
16946                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16947                         auto-device-selection.
16948                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16949
16950         * src/NetworkManagerSystem.c
16951                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16952                         is no longer present (Bill Moss)
16953
16954         * src/backends/shvar.c
16955                 - (svOpenFile): Open read-only to make SELinux happy
16956
16957         * src/backends/NetworkManagerRedHat.c
16958                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16959                         the path to the ifcfg-* files
16960
16961 2005-05-05  Dan Williams  <dcbw@redhat.com>
16962
16963         * Expose activation stages to NetworkManager clients, like the applet
16964         * Add Diana's progress icons to the applet, cued off NM activation stage
16965         * Use more descriptive tooltips, cued off NM activation stage
16966
16967 2005-05-05  Ray Strode  <rstrode@redhat.com>
16968
16969         * src/nm-netlink-monitor.c:
16970                 - Use clear_event_source instead of g_nullify_pointer() again.
16971
16972 2005-05-05  Dan Williams  <dcbw@redhat.com>
16973
16974         * gnome/applet/main.c
16975                 - Fix session management so the applet is actually managed now
16976
16977         * gnome/applet/passphrase-dialog.c
16978                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16979
16980 2005-05-05  Dan Williams  <dcbw@redhat.com>
16981
16982         Patch from Bill Moss:
16983         * gnome/libnm_glib/libnm_glib.c
16984                 - Fix for dbus-0.33
16985
16986 2005-05-05  Dan Williams  <dcbw@redhat.com>
16987
16988         Suggestion from Bill Moss:
16989         * src/NetworkManagerSystem.c
16990                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16991
16992
16993         * src/NetworkManager.c
16994                 - (nm_data_free): move destruction of the various managers after
16995                         release of device list, because deactivating and freeing a device
16996                         requires at least the named manager
16997                 - (nm_poll_and_update_wireless_link_state):
16998                   (nm_device_link_activated):
16999                   (nm_device_link_deactivated):
17000                         don't grab the device list lock when actually updating device
17001                         link status or strength, since nm_device_set_link_active()
17002                         needs to call nm_get_active_device(), which also locks the device list.
17003
17004         * src/NetworkManagerDevice.c
17005                 - (nm_device_set_link_active): if a device's link switches from off->on,
17006                         and it's wired, and the active device is wireless (or there is no
17007                         active device), activate the new device whose link just came on
17008                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17009                         my only calling the link to the current ap "failed" when more than 2
17010                         consecutive link checks have failed
17011
17012 2005-05-04  Dan Williams  <dcbw@redhat.com>
17013
17014         * src/NetworkManagerDevice.c
17015                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17016                         but let link_to_specific_ap() do the locking where it needs
17017
17018         Patch from Bill Moss:
17019         * src/NetworkManagerSystem.c
17020                 - Set MTU of VPN devices to 1412
17021
17022 2005-05-04  Dan Williams  <dcbw@redhat.com>
17023
17024         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17025
17026         * Fix some holes in device activation and retaining the currently connected
17027                 access point
17028
17029 2005-05-03  Dan Williams  <dcbw@redhat.com>
17030
17031         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17032           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17033           means you need dhcdbd, which you can get here (get the latest one):
17034
17035                 http://people.redhat.com/jvdias/dhcdbd/
17036
17037           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17038           interface as dhcdbd.
17039
17040         * Rewrite device activation to facilitate the new DHCP infrastructure and
17041           future improvements.  Its now "activation request" based, ie there is a single
17042           activation request composed of the device, access point, and other info which
17043           follows the entire activation process.  There are 5 stages of the activation
17044           process which correspond to:
17045
17046                 1) Device preparation
17047                 2) Device configuration (bring it up, set ESSID/Key/etc)
17048                 3) IP Config Start (fire off DHCP if we're using it)
17049                 4) IP Config Get (grab config from DHCP or static config files)
17050                 5) IP Config Commit (set device's IP address, DNS, etc)
17051
17052           Note that there is no longer a "scanning" step, since the access point must
17053           be known _before_ activation starts.  If the access point drops out or does
17054           not exist for some reason, the entire activation process fails and must be
17055           restarted for a different access point or device.
17056
17057         Patch from Bill Moss:
17058         * gnome/applet/applet.c
17059                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17060
17061 2005-04-27  Dan Williams  <dcbw@redhat.com>
17062
17063         * gnome/applet/applet-dbus-vpn.c
17064           gnome/applet/applet.c
17065           gnome/applet/applet.h
17066                 - Fix up active VPN handling so that we reliably know when a VPN
17067                         connection has been deactivated
17068
17069         * src/vpn-manager/nm-vpn-manager.c
17070                 - Remove duplicate VPNConnectionChange signal
17071
17072 2005-04-27  Dan Williams  <dcbw@redhat.com>
17073
17074         Patch from Peter Jones:
17075         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17076
17077         Patch from Bill Moss:
17078         * src/NetworkManagerSystem.c
17079                 - Fix checking of return value from ioctl()
17080
17081 2005-04-27  Dan Williams  <dcbw@redhat.com>
17082
17083         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17084         * Warn and exit if icons cannot be found
17085
17086 2005-04-27  Dan Williams  <dcbw@redhat.com>
17087
17088         Patch from Tom Parker:
17089         * Update debian backend
17090
17091 2005-04-27  Dan Williams  <dcbw@redhat.com>
17092
17093         * Merge the applet and the info-daemon, and move the converged
17094                 applet under gnome/applet
17095         * Move libnm_glib to gnome/libnm_glib
17096         * Convert most dbus calls between the applet, info-daemon, and NM
17097                 into async calls
17098         * Fix a few things valgrind noticed
17099         * Make NM broadcast state more reliably
17100
17101 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17102
17103         * configure.in: Added ne in ALL_LINGUAS
17104
17105 2005-04-15  Dan Williams  <dcbw@redhat.com>
17106
17107         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17108                 code for dbus 0.2x versions
17109
17110 2005-04-15  Dan Williams  <dcbw@redhat.com>
17111
17112         Patches from Tom Parker:
17113         - Fix memleaks
17114         - Join with worker thread rather than polling for its exit
17115
17116         Patch from Bill Moss:
17117         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17118
17119 2005-04-15  Dan Williams  <dcbw@redhat.com>
17120
17121         - Fixes to pass 'make distcheck'
17122
17123 2005-04-15  Dan Williams  <dcbw@redhat.com>
17124
17125         Initial VPN Support
17126                 - supports 'vpnc'
17127                 - reworks device IP configuration, backend files have changed and will need
17128                         to be updated for all distributions.  I will try to do what I can for
17129                         them, but I cannot test them.
17130
17131         - Move named directory to src/named-manager
17132         - Make backends directory self-contained
17133
17134 2005-04-06  Dan Williams  <dcbw@redhat.com>
17135
17136         Add debug code for socket/file descriptor leaks.  We register every socket
17137         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17138         list of sockets that we forgot to close on shutdown.  This also consolidates
17139         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17140
17141 2005-04-06  Dan Williams  <dcbw@redhat.com>
17142
17143         * dhcpcd/dhcpcd.c
17144                 - (dhcp_interface_free): fix a file descriptor leak that may have
17145                         caused network drivers to not unload due to refcounts > 0
17146
17147 2005-04-04  Dan Williams  <dcbw@redhat.com>
17148
17149         * panel-applet/NMWirelessAppletDbus.c
17150                 - (nmwa_dbus_call_nm_method): remove some commented code
17151
17152         * src/NetworkManagerAPList.[ch]
17153                 - (nm_ap_list_remove_ap_by_essid): new function
17154
17155         * src/NetworkManagerDevice.c
17156                 - (nm_device_wireless_force_use): remove access points from the ignore list
17157                         when the user forces them
17158
17159         * src/nm-dbus-device.c
17160                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17161
17162 2005-04-04  Dan Williams  <dcbw@redhat.com>
17163
17164         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17165
17166 2005-04-04  Dan Williams  <dcbw@redhat.com>
17167
17168         * src/NetworkManagerDevice.c:
17169                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17170                         of only erroring after the second consecutive scan times out.  Also
17171                         don't exit when the card requires more time than we can give it, just
17172                         log the event and continue.
17173
17174 2005-04-01  Steve Murphy  <murf@e-tools.com>
17175
17176         * configure.in: Added "rw" to ALL_LINGUAS.
17177
17178 2005-04-01  Dan Williams <dcbw@redhat.com>
17179
17180         Perform scans during device activation, if needed.  Both activation 
17181         and scans run in the same GMainContext.  Therefore, if an access point
17182         is not found by the time the device starts activation, it will not
17183         be available until after activation.  We now try to scan during
17184         activation (in nm_wa_test) every 15s so that all available access
17185         points are more likely to be found and available for the activation
17186         procedure.
17187
17188         Also change nm_wireless_link_state_handle() to only update the "best"
17189         AP if we are not forcing a device and if we are not about to change
17190         state.  This attempts to work around a race when forcing a device,
17191         where the forced AP would get cleared out too soon by the link state
17192         checking timeout in the main thread, and the activation attempt with
17193         that AP would fail.
17194
17195 2005-04-01  Dan Williams <dcbw@redhat.com>
17196
17197         * po/POTFILES.in
17198                 - Update with new translatables
17199
17200 2005-03-31  Dan Williams <dcbw@redhat.com>
17201
17202         * panel-applet/NMWirelessAppletDbus.c
17203                 - Fix device names now that hal has changed device parenting for
17204                         network devices.
17205
17206 2005-03-31  Dan Williams <dcbw@redhat.com>
17207
17208         Tighten up handling of wireless devices that don't support wireless
17209         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17210         hadn't been doing pseudo-scanning for a while either and would just
17211         spin waiting for an access point.  They are now manual devices where
17212         the user must choose the access point from the menu every time.  All
17213         "allowed" access points are listed in the applet's menu regardless
17214         of whether or not they can be seen by the card, since it can't scan
17215         anyway.
17216
17217         * src/NetworkManager.c
17218                 - (nm_wireless_link_state_handle): new function, but only update
17219                         the "best" ap for non-scanning devices when its not activating,
17220                         and when no device is being forced on the card
17221                 - (nm_link_state_monitor): split wireless link state handling out
17222                         into separate function
17223
17224         * src/NetworkManagerDevice.c
17225                 - (nm_device_copy_allowed_to_dev_list): new function
17226                 - (nm_device_new): populate non-scanning cards' AP lists with
17227                         access points from the "allowed" list
17228                 - (nm_device_new): don't start a scanning timeout for devices that
17229                         can't scan
17230                 - (nm_device_activation_schedule_finish): new parameter, should be
17231                         the AP that failed to be connected to, pass it on to the
17232                         activation finish function in NetworkManagerPolicy.c
17233                 - (nm_device_activate_wireless): don't ever try to get a new AP
17234                         for non-scanning devices, just fail.  The user must choose
17235                         a new access point manually.
17236                 - (nm_device_activate): grab the AP that failed connection and
17237                         pass it on
17238                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17239                         a link to it, user must manually choose a new one
17240                 - (nm_device_do_pseudo_scan): remove function
17241                 - (nm_device_wireless_process_scan_results): remove bits for non-
17242                         scanning cards since they never get here
17243                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17244                         and fake the scan list for test devices a bit earlier
17245
17246         * src/NetworkManagerPolicy.c
17247                 - (nm_policy_activation_finish): use the failed_ap that we get
17248                         passed rather than getting the best_ap from the card, which
17249                         may have changed since we were scheduled
17250                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17251                         update their scan list directly from the allowed list when
17252                         we get updates to the allowed list from NetworkManagerInfo
17253
17254         * src/NetworkManagerPolicy.h
17255                 - New member for failed access point in NMActivationResult
17256
17257   -------------------------------------
17258
17259         Driver Notification patch: notifies the user when their driver
17260                 sucks.  Gives them the option to ignore further insertions
17261                 of the card that has the sucky driver.
17262
17263         * NetworkManager.h
17264                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17265                         enum and replace it with NO_CARRIER_DETECT and
17266                         NO_WIRELESS_SCAN
17267
17268         * panel-applet/NMWirelessApplet.[ch]
17269                 - Merge essid.glade -> wireless-applet.glade
17270                 - Implement the "Your driver sucks" notification dialog
17271
17272         * panel-applet/NMWirelessAppletDbus.c
17273                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17274                 - Grab hardware address for each device from NM too
17275                 - Check whether the driver for each device sucks or not whenever
17276                         a new device is noticed
17277
17278         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17279                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17280
17281         * src/NetworkManager.c
17282                 - Fix a double-unref on device removal
17283
17284         * src/NetworkManagerUtils.c
17285                 - Set appropriate driver support level on a device that doesn't
17286                         support scanning or carrier detection
17287
17288         * src/nm-dbus-device.c
17289                 - New "getHWAddress" dbus method on devices
17290                 - getSupportsCarrierDetect -> getDriverSupportLevel
17291
17292 2005-03-31  Dan Williams <dcbw@redhat.com>
17293
17294         * src/NetworkManagerDevice.c
17295                 - (nm_device_wireless_scan): Fix leak of scan results in some
17296                         instances
17297
17298 2005-03-29  Dan Williams <dcbw@redhat.com>
17299
17300         * src/NetworkManager.c
17301                 - (nm_poll_and_update_wireless_link_state): make code less indented
17302
17303         Patch from Bill Moss:
17304         * src/NetworkManager.c
17305                 - (nm_device_update_link_state): Update signal strength on wireless
17306                         devices every time we update link state too.
17307
17308 2005-03-29  Dan Williams <dcbw@redhat.com>
17309
17310         * src/NetworkManagerDevice.c
17311                 - (nm_device_set_essid): Work around Orinoco cards which need
17312                         extra time after setting the ESSID
17313
17314 2005-03-29  Dan Williams <dcbw@redhat.com>
17315
17316         * src/NetworkManagerDevice.c
17317                 - Merge one more bit of Peter Jones' completion patch
17318
17319 2005-03-29  Dan Williams <dcbw@redhat.com>
17320
17321         * src/NetworkManagerDevice.c
17322                 - (nm_device_force_use): Fix possible segfault
17323
17324 2005-03-29  Dan Williams <dcbw@redhat.com>
17325
17326         * src/NetworkManagerDevice.c
17327                 - Use iw_get_ext() where we should rather than iw_set_ext()
17328
17329 2005-03-29  Dan Williams <dcbw@redhat.com>
17330
17331         * src/NetworkManagerDevice.c
17332                 - (nm_device_set_up_down): remove check for unsupported devices
17333                         that caused NM to not bring devices up when they were
17334                         added to the device list.
17335
17336 2005-03-28  Dan Williams <dcbw@redhat.com>
17337
17338         * src/NetworkManagerDevice.c
17339                 - (mdio_read): Fix two bugs that caused all devices to fail
17340                         the MII carrier detection support checks
17341
17342 2005-03-26  Dan Williams <dcbw@redhat.com>
17343
17344         * src/NetworkManagerDevice.c
17345                 - (nm_device_wireless_scan): Remove duplicated scanning code
17346
17347 2005-03-25  Dan Williams <dcbw@redhat.com>
17348
17349         * panel-applet/NMWirelessApplet.c
17350                 - (nmwa_about_cb): Add some more contributors
17351                 - (nmwa_update_state): show the applet when there's no connection
17352                 - Enable the "Stop/Resume all wireless devices" option in the
17353                         context menu
17354                 - New "no connection" icon
17355
17356         * src/NetworkManager.c
17357                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17358                         wireless is disabled or we're asleep
17359
17360         * src/NetworkManagerDHCP.c
17361                 - Remove trailing "\n" on debug messages
17362
17363         * src/NetworkManagerDbus.c
17364                 - (nm_dbus_network_status_from_data): new state "asleep"
17365
17366         * src/NetworkManagerDevice.c
17367                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17368                         latency and wait times for most operations
17369                 - (nm_device_wireless_scan): Don't scan when asleep
17370
17371         * src/NetworkManagerPolicy.c
17372                 - (nm_policy_get_best_device): return no device when asleep
17373                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17374                         for all wireless devices on update, not just active device
17375
17376         * src/NetworkManagerUtils.c
17377                 - Merge Peter Jones' "completion" patch
17378
17379         * src/nm-dbus-nm.c
17380                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17381                         we're told to disable them
17382                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17383
17384         * utils/nm-utils.h
17385                 - New variants of the warn/info/error/debug print functions that can take
17386                         variables rather than static strings
17387
17388 2005-03-24  Dan Williams <dcbw@redhat.com>
17389
17390         * src/NetworkManagerUtils.c
17391                 - (nm_get_device_driver_name): driver names are now on the parents of
17392                         "Network Interface" objects, so look for them there
17393
17394 2005-03-24  Dan Williams <dcbw@redhat.com>
17395
17396         * test/nmtest.c
17397                 - Escape some forgotten object paths before we shove them through dbus
17398
17399 2005-03-24  Dan Williams <dcbw@redhat.com>
17400
17401         * dhcpcd/dhcpcd.[ch]
17402           src/NetworkManagerDHCP.c
17403                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17404                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17405
17406         * src/NetworkManagerDbus.c
17407                 - spacing cleanups
17408
17409         * src/nm-dbus-dhcp.c
17410                 - Make the API suck less.  There is now only 1 type of each function,
17411                         ie only "getInteger" and no longer also "getIntegerv".  All types
17412                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17413                         that will never have more than 1 element.  This should simplify
17414                         things greatly.
17415
17416         * test/nm-dhcp-opt-test.c
17417                 - Make the tool not segfault
17418                 - adapt to new DHCP Options API
17419
17420 2005-03-22  Dan Williams <dcbw@redhat.com>
17421
17422         * src/NetworkManager.c
17423                 - (nm_wired_link_deactivated): actually ignore netlink events from
17424                         wireless devices.
17425
17426 2005-03-22  Dan Williams <dcbw@redhat.com>
17427
17428         * src/NetworkManager.c
17429                 - (nm_wired_link_activated): actually ignore netlink events from
17430                         wireless devices.
17431
17432 2005-03-17  Dan Williams <dcbw@redhat.com>
17433
17434         Patch from Tom Parker:
17435         * src/nm-netlink-monitor.c
17436                 - Include unistd.h
17437         * info-daemon/NetworkManagerInfoDbus.c
17438                 - (nmi_dbus_update_network_auth_method): free GConf values
17439
17440         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17441         * src/NetworkManagerDevice.c
17442                 - (nm_device_set_wireless_config): wait for successful
17443                         association longer for some cards (Atheros a/b/g)
17444
17445 2005-03-15  Ray Strode  <rstrode@redhat.com>
17446
17447         * src/NetworkManager.c:
17448         (sigterm_pipe_handler):
17449         remove bogus FIXME
17450
17451 2005-03-15  Ray Strode  <rstrode@redhat.com>
17452
17453         * src/NetworkManagerDbus.c:
17454         Fix some sign weirdness that gcc4 doesn't like,
17455         and add a header file so PPC can hopefully find
17456         SIGTRAP
17457
17458 2005-03-14  Ray Strode  <rstrode@redhat.com>
17459         
17460         Fourth (probably working) cut at porting to
17461         dbus 0.30 api and new hal. This cut adds
17462         some new logging macros to make debugging
17463         easier.
17464
17465         * dispatcher-daemon/NetworkManagerDispatcher.c:
17466         * info-daemon/NetworkmanagerInfo.c:
17467         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17468         * info-daemon/NetworkManagerInfoVPN.c:
17469         * src/NetworkManager.c:
17470         * src/NetworkManagerAP.c:
17471         * src/NetworkManagerAPList.c:
17472         * src/NetworkManagerDHCP.c:
17473         * src/NetworkManagerDbus.c:
17474         * src/NetworkManagerDevice.c:
17475         * src/NetworkManagerPolicy.c:
17476         * src/NetworkManagerSystem.c:
17477         * src/NetworkManagerUtils.c:
17478         * src/NetworkManagerWireless.c:
17479         * src/autoip.c:
17480         * src/nm-dbus-nm.c:
17481         * src/backends/NetworkManagerDebian.c:
17482         * src/backends/NetworkManagerGentoo.c:
17483         * src/backends/NetworkManagerRedHat.c:
17484         * src/backends/NetworkManagerSlackware.c:
17485         use new logging macros.
17486
17487         * dispatcher-daemon/NetworkManagerDispatcher.c:
17488         (nmd_dbus_filter): s/dbus_free/g_free/
17489
17490         * info-daemon/Makefile.am: link in utils library.
17491         * info-daemon/NetworkmanagerInfo.c: use new logging 
17492         macros.
17493         (nmi_dbus_get_network): don't assume enumerations
17494         are 32-bit.
17495         (nmi_dbus_nmi_message_handler): don't free what 
17496         doesn't belong to us.
17497
17498         * libnm_glib/libnm_glib.c:
17499         (libnm_glib_get_nm_status): 
17500         (libnm_glib_init): don't free what doesn't
17501         belong to us.
17502         (libnm_glib_dbus): strdup result, so it doesn't get
17503         lost when message is unref'd.
17504
17505         * panel-applet/NMWirelessAppletDbus.c:
17506         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17507
17508         * src/NetworkManager.c:
17509         (nm_monitor_wired_link_state): request initial status 
17510         dump of all cards when we start up, instead of relying
17511         on /sys/.../carrier.
17512         (nm_info_handler), (nm_set_up_log_handlers): 
17513         log handlers to specify what syslog priorites 
17514         the logging macros default to.
17515
17516         * src/NetworkManagerAPList.c: 
17517         (nm_ap_list_populate_from_nmi):
17518         s/dbus_free_string_array/g_strfreev/
17519
17520         * src/NetworkManagerDbus.c:
17521         (nm_dbus_get_network_object):
17522         validate d-bus message argument types.
17523         Advance message iterator after reading argument,
17524         prepend instead of append to GSList.
17525
17526         * src/NetworkManagerDevice.c:
17527         (nm_device_probe_wired_link_status):
17528         remove redundant /sys in /sys path. remove wrong
17529         contents == NULL means has carrier assumption.
17530
17531         * src/nm-netlink-monitor.c 
17532         (nm_netlink_monitor_request_status): implement
17533         function to ask kernel to dump interface link
17534         status over netlink socket.
17535
17536         * test/*.c: s/dbus_free/g_free/
17537
17538         * utils/nm-utils.h:
17539         (nm_print_backtrace): new macro to print backtrace.
17540         (nm_get_timestamp): new macro to get sub-second precise
17541         unix timestamp.
17542         (nm_info), (nm_debug), (nm_warning), (nm_error):
17543         new logging functions. nm_info just prints,
17544         nm_debug includes timestamp and function,
17545         nm_warning includes function, nm_error includes
17546         backtrace and sigtrap.
17547
17548 2005-03-11  Ray Strode  <rstrode@redhat.com>
17549
17550         Third (unfinished, partially working) cut at porting to 
17551         dbus 0.30 api and new hal.
17552
17553         * info-daemon/NetworkManagerInfoDbus.c:
17554                 don't free null arrays.
17555
17556         * panel-applet/NMWirelessAppletDbus.c: 
17557         * src/nm-dbus-device.c:
17558         * src/nm-dbus-net.c: 
17559         * src/NetworkManagerDbus.c: more 
17560         STRING -> OBJECT_PATH fun
17561         * src/NetworkManagerDevice.c:
17562         * src/NetworkManagerDevice.h:
17563         (rename nm_device_get_link_active): rename to 
17564         nm_device_has_active_link
17565         (nm_device_wireless_link_active): rename to
17566         nm_device_probe_wireless_link_state
17567         (nm_device_wired_link_active): rename to
17568         nm_device_probe_wired_link_state.  Rewrite to
17569         use carrier file since hal doesn't maintain
17570         link state anymore.
17571         (nm_device_update_link_active): rename to
17572         nm_device_update_link_state
17573         * src/NetworkManagerPolicy.c 
17574           (nm_policy_activation_finish): check for NULL
17575           MAC address.
17576
17577         * src/Makefile.am:
17578         * src/NetworkManagerMain.h: 
17579         * src/NetworkManager.c:
17580         * src/nm-netlink-monitor.c:
17581         * src/nm-netlink-monitor.h: New class to support
17582         monitoring wired ethernet link status, since HAL
17583         doesn't export that information anymore.
17584
17585 2005-03-09  Ray Strode  <rstrode@redhat.com>
17586
17587         Second (unfinished, unworking) cut at porting to 
17588         dbus 0.30 api.
17589
17590         * dispatcher-daemon/NetworkManagerDispatcher.c:
17591         * info-daemon/NetworkManagerInfoDbus.c:
17592         * panel-applet/NMWirelessAppletDbus.c:
17593         * src/NetworkManagerDbusUtils.c:
17594         * src/NetworkManagerDbusUtils.h:
17595         * src/nm-dbus-device.c:
17596         * src/nm-dbus-nm.c:
17597         * test/nmtest.c: support dbus "object path" type
17598
17599         * configure.in: 
17600         * Makefile.am:
17601         * info-daemon/Makefile.am:
17602         * libnm_glib/Makefile.am:
17603         * panel-applet/Makefile.am:
17604         * dispatcher-daemon/Makefile.am
17605         * src/Makefile.am:
17606         * test/Makefile.am:
17607         * utils/Makefile.am: 
17608         * utils/nm-utils.c: 
17609         * utils/nm-utils.h: new utils static lib
17610
17611 2005-03-07  Ray Strode  <rstrode@redhat.com>
17612
17613         * info-daemon/NetworkManagerInfoDbus.c:
17614         * libnm_glib/libnm_glib.c:
17615         * panel-applet/NMWirelessAppletDbus.c:
17616         * src/NetworkManager.c:
17617         * src/NetworkManagerDbus.c:
17618         * src/NetworkManagerDevice.c:
17619         * src/NetworkManagerUtils.c:
17620         * src/nm-dbus-device.c:
17621         * src/nm-dbus-dhcp.c:
17622         * src/nm-dbus-net.c:
17623         * src/nm-dbus-nm.c:
17624         * test/nminfotest.c:
17625         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17626
17627 2005-03-04  Dan Williams  <dcbw@redhat.com>
17628
17629         * configure.in
17630                 - Mark HEAD as 0.4
17631
17632 2005-03-04  Dan Williams  <dcbw@redhat.com>
17633
17634         Patch from Peter Jones:
17635         - Make stuff work with gcc 4.0
17636
17637 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17638
17639         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17640
17641 2005-02-27  Jim Huang  <jserv@kaffe.org>
17642
17643         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17644
17645 2005-02-27  Dan Williams  <dcbw@redhat.com>
17646
17647         Patch from Bill Moss:
17648         * panel-applet/NMWirelessAppletDbus.c
17649                 - Make sure strength for current access point is up-to-date when we
17650                         update the gui data model
17651
17652 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17653
17654         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17655
17656 2005-02-27  Dan Williams  <dcbw@redhat.com>
17657
17658         * src/backends/NetworkManagerRedHat.c
17659                 - (nm_system_init): Kill any dhclient processes lying around as well
17660                         as stopping 'nifd' if its already been started.  NetworkManager
17661                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17662
17663 2005-02-27  Dan Williams  <dcbw@redhat.com>
17664
17665         * panel-applet/NMWirelessApplet.c
17666                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17667                         dbus data model, not the GUI data model twice.
17668
17669 2005-02-27  Dan Williams  <dcbw@redhat.com>
17670
17671         * panel-applet/NMWirelessApplet.[ch]
17672           panel-applet/NMWirelessAppletDbus.[ch]
17673                 - Move to incremental network updates.  Instead of blowing away our list
17674                         of devices every time we get a signal from NetworkManager, we now
17675                         incrementally add/remove networks when NetworkManager notifies us that
17676                         a new network has appeared or disappered.  Strength updates now happen
17677                         on-the-fly for each access point as well.  There are now two copies of
17678                         data from NetworkManager: one for the dbus side, and one for the gui side.
17679                         When the dbus side data is modified, it is copied over to the gui side
17680                         so we don't have to hold the data_mutex for long periods of time (and
17681                         therefore block animation of the applet's icon).
17682                 - Clean up some memleaks too
17683
17684         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17685                 - Minor code beautification
17686
17687         * src/NetworkManagerAPList.c
17688                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17689                         completely new and whether or not an existing one's strength was updated.
17690                         Try to fix multiple access points and signal strength by using the highest
17691                         signal strength in each scan for any given ESSID.
17692
17693         * src/NetworkManagerDbus.[ch]
17694                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17695                         wireless networks; now we have only WirelessNetworkUpdate which includes
17696                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17697                 - Kill usage of DbusMessageIter
17698
17699         * src/NetworkManagerDevice.c
17700                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17701                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17702                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17703                         currently associated with from the network list.
17704                 - Update for new signals during scan, send out Appeared, Disappeared, or
17705                         StrengthChanged when necessary.
17706
17707 2005-02-25  Dan Williams  <dcbw@redhat.com>
17708
17709         * README
17710                 - Line break the README
17711
17712 2005-02-25  Dan Williams  <dcbw@redhat.com>
17713
17714         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17715                 - Remove usage of gtk_window_set_default_size()
17716
17717         * panel-applet/essid.glade
17718                 - Stick default size here
17719                 - Add in random crap that current glade wants to add in now
17720
17721 2005-02-25  Dan Williams  <dcbw@redhat.com>
17722
17723         * src/backends/NetworkManagerRedHat.c
17724                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17725                         and that we actually tell nscd to reload the hosts cache when it changes
17726
17727 2005-02-25  Dan Williams  <dcbw@redhat.com>
17728
17729         * info-daemon/NetworkManagerInfoDbus.c
17730                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17731
17732         * test/nminfotest.c
17733                 - Whack usage of DbusMessageIter
17734                 - Clean up DbusError and DbusMessage handling and freeing
17735                 - Remove unused unregister handler
17736
17737         * test/nmtest.c
17738                 - Whack usage of DbusMessageIter
17739
17740         * test/nmtestdevices.c
17741                 - Whack usage of DbusMessageIter
17742
17743 2005-02-25  Dan Williams  <dcbw@redhat.com>
17744
17745         * NetworkManager.h
17746                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17747                         signal
17748
17749 2005-02-25  Dan Williams  <dcbw@redhat.com>
17750
17751         * named/nm-named-manager.c
17752                 - Ensure that pid and watch variables for child named process get cleared out
17753                         when the child goes away.
17754
17755 2005-02-22  Dan Williams  <dcbw@redhat.com>
17756
17757         * src/NetworkManagerPolicy.c
17758                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17759                         and NULL out data->active_device so that we have to choose another one.
17760                         This may make NetworkManager keep attempting to connect to a wired network
17761                         if it fails, but if it keeps failing the wired network has more problems than
17762                         just NetworkManager.
17763
17764         * src/backends/NetworkManagerRedHat.c
17765                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17766                         is already running
17767
17768         * named/nm-named-manager.c
17769                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17770                         named so that the distro can flush whatever name service caching
17771                         daemon it uses
17772
17773 2005-02-21  Dan Williams  <dcbw@redhat.com>
17774
17775         * src/NetworkManagerDHCP.[ch]
17776                 - (nm_device_dhcp_remove_timeouts): new function
17777
17778         * src/NetworkManagerDevice.c
17779                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17780                         remove the DHCP timeouts.
17781
17782 2005-02-21  Dan Williams  <dcbw@redhat.com>
17783
17784         * panel-applet/NMWirelessApplet.[ch]
17785           panel-applet/menu-info.[ch]
17786                 - Give the panel applet some major love: menu items are no longer
17787                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17788                         This allows the applet to actually reflect theme changes correctly,
17789                         since themeing of subclassed items in GTK _sucks_.
17790
17791 2005-02-18  Dan Williams  <dcbw@redhat.com>
17792
17793         * libnm_glib/libnm_glib.[ch]
17794           test/libnm_glib_test.c
17795                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17796                         and its data, and doesn't have to free the callback data anymore
17797
17798 2005-02-18  Dan Williams  <dcbw@redhat.com>
17799
17800         * panel-applet/NMWirelessApplet.c
17801                 - Revert 2005-02-18 William Jon McCann fix for standard
17802                         copyright string until it passes 'make distcheck'.
17803                         With standard copyright string, xgettext complains
17804                         about "Non-ASCII string at ...".
17805
17806 2005-02-18  Dan Williams  <dcbw@redhat.com>
17807
17808         * panel-applet/essid.glade
17809           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17810                 - Correct spelling of "adaptor"->"adapter"
17811
17812 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17813
17814         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17815         (nmwa_about_cb): Use standard copyright string.  Update comment
17816         text to reflect that it is a notification area applet.  Remove
17817         leading newline in authors list.
17818         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17819         instead of on parent menu item activation.  Fixes #167550.
17820
17821 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17822
17823         * panel-applet/essid.glade: Capitalize items as per HIG.
17824           Fixes #167632
17825
17826 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17827
17828         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17829         files for GTK 2.4 or lower, since now public in GTK 2.6.
17830
17831         * panel-applet/essid.glade: Don't specify window size.
17832         
17833 2005-02-17  Dan Williams  <dcbw@redhat.com>
17834
17835         Caught by Bill Moss:
17836         * dhcpcd/client.c
17837                 - Time remaining for DHCP transaction calculation was incorrectly
17838                         inside a #ifdef DEBUG
17839
17840 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17841
17842         * configure.in: Added fr (French) to ALL_LINGUAS.
17843
17844 2005-02-14  Dan Williams  <dcbw@redhat.com>
17845
17846         * src/NetworkManagerDHCP.c
17847                 - (set_domain_searches): Fix free of invalid pointer
17848
17849 2005-02-14  Dan Williams  <dcbw@redhat.com>
17850
17851         Patch from Peter Jones:
17852         * dhcpcd/client.c
17853                 - Ensure we return RET_DHCP_CEASED everywhere we should
17854         * dhcpcd/udpipgen.c
17855                 - Use faster TOS for IP packets
17856                 - Don't set ip_id since we're UDP
17857
17858         Patch from Tomislav Vujec:
17859         * src/nm-dbus-dhcp.c
17860           test/nm-dhcp-opt-test.c
17861                 - Clean up warnings to enable cvs tree compilation.
17862
17863 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17864
17865         * configure.in
17866           po/hr.po
17867                 - Add the Croatian locale.
17868
17869 2005-02-14  Colin Walters  <walters@verbum.org>
17870
17871         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17872         list of domains to search.
17873         
17874         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17875
17876 2005-02-13  Dan Williams  <dcbw@redhat.com>
17877
17878         * dhcpcd/client.c
17879                 - Debug output cleanups of DHCP option printing and parsing.
17880
17881 2005-02-13  Dan Williams  <dcbw@redhat.com>
17882
17883         Patch from Dan Reed:  DHCP options D-BUS API
17884                 Exposes the DHCP options that a device receives to clients over D-BUS.
17885
17886         * configure.in
17887                 - A few cleanups
17888
17889         * dhcpcd/client.h
17890                 - Correct names, option length, and types for DHCP options
17891
17892         * dhcpcd/dhcpcd.[ch]
17893                 - Clarify function names that access DHCP options & data
17894
17895         * src/NetworkManagerDHCP.c
17896                 - Use new DHCP data access functions
17897
17898         * src/NetworkManagerDbus.c
17899                 - Message handler for DHCP functions
17900
17901         * src/nm-dbus-dhcp.[ch] (new)
17902                 - DHCP dbus methods
17903
17904         * test/nm-dhcp-opt-test.c
17905                 - Test DHCP D-BUS API and return all present DHCP options
17906
17907 2005-02-12  Dan Williams  <dcbw@redhat.com>
17908
17909         * test/Makefile.am
17910           test/nmclienttest.c
17911           test/nmtest.c
17912                 - Move nmclienttest.c -> nmtest.c
17913
17914 2005-02-12  Dan Williams  <dcbw@redhat.com>
17915
17916         * dhcpcd/buildmsg.c
17917                 - Pad DHCP packets until they are at least 300 bytes in size.
17918
17919 2005-02-11  Dan Williams  <dcbw@redhat.com>
17920
17921         * dhcpcd/client.c
17922                 - (dhcp_init): only print out client ID and class ID if they are specified
17923
17924         * src/NetworkManagerDbus.[ch]
17925           src/nm-dbus-nm.[ch]
17926           src/nm-dbus-device.[ch]
17927           src/nm-dbus-net.[ch]
17928                 - Move NM, Device, and Net functions to separate files and use the
17929                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17930                         method dispatching
17931
17932         * src/NetworkManagerDbusUtils.c
17933                 - Add new validate_method called before each dispatch (if present)
17934                         that can validate the method call
17935
17936         * src/NetworkManagerWireless.c
17937                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17938                         levels never to be evaluated
17939
17940         Patch from j@bootlab.org
17941         * src/NetworkManagerDevice.c
17942                 - Add typedef for "u64"
17943
17944         * src/backends/NetworkManagerDebian.c
17945                 - Copy in Dave Woodhouse's fixes for IPv6
17946
17947 2005-02-11  Dan Williams  <dcbw@redhat.com>
17948
17949         Patch from Dave Woodhouse for IPv6:
17950         * src/NetworkManagerUtils.c
17951                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17952                         and multicast addresses
17953
17954         * src/NetworkManagerDevice.c
17955                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17956                         after bringing up a card.
17957
17958 2005-02-10  Dan Williams  <dcbw@redhat.com>
17959
17960         Patch from Dave Woodhouse:
17961         * src/NetworkManagerSystem.h
17962           src/backends/NetworkManagerDebian.c
17963           src/backends/NetworkManagerGentoo.c
17964           src/backends/NetworkManagerSlackware.c
17965                 - New nm_system_device_add_ip6_link_address() function to add link-local
17966                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17967
17968         * src/backends/NetworkManagerRedHat.c
17969                 - (nm_system_device_add_ip6_link_address): implement
17970                 - (nm_system_device_flush_addresses): revert to previous behavior of
17971                         flushing all addresses
17972
17973 2005-02-10  Dan Williams  <dcbw@redhat.com>
17974
17975         Patch from Tom Parker:
17976         * src/NetworkManagerDevice.c
17977                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17978                         mii.h headers are broken, and instead use our own typedefs
17979
17980 2005-02-10  Dan Williams  <dcbw@redhat.com>
17981
17982         * dhcpcd/buildmsg.c
17983                 - (fill_host_and_class_id): only fill in client and class IDs if
17984                         they are set by callers.
17985
17986         * dhcpcd/client.c
17987                 - (class_id_setup): don't autogenerate a class ID, only use one
17988                         we're given, if any.
17989                 - (client_id_setup): don't autogenerate a client ID, only use one
17990                         we're given, if any.
17991
17992         * dhcpcd/dhcpcd.c
17993                 - (dhcp_interface_init): ensure that client options are correctly
17994                         NULL terminated
17995
17996         * src/NetworkManagerDHCP.c
17997                 - (nm_device_dhcp_request): pass hostname to dhcp library
17998
17999 2005-02-10  Dan Williams  <dcbw@redhat.com>
18000
18001         * dhcpcd/client.c
18002                 - #rh147661# Don't send kernel version in DHCP requests
18003
18004         * src/NetworkManagerSystem.h
18005           src/backends/NetworkManagerDebian.c
18006           src/backends/NetworkManagerGentoo.c
18007           src/backends/NetworkManagerRedHat.c
18008           src/backends/NetworkManagerSlackware.c
18009                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18010                         functions, they are no longer used anyway
18011
18012         * src/backends/NetworkManagerRedHat.c
18013                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18014                         addresses in an attempt to keep IPv6 local-scope addresses around
18015
18016 2005-02-10  Dan Williams  <dcbw@redhat.com>
18017
18018         * src/NetworkManager.c
18019                 - (nm_create_device_and_add_to_list): change the add message slightly
18020
18021         * src/NetworkManagerUtils.c
18022                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18023                         Return driver name to calling function
18024                 - (nm_get_driver_support_level): print out the driver a device is using
18025                         during the support check
18026
18027         Patch from Dave Woodhouse:
18028         * dhcpcd/udpipgen.c
18029                 - (in_cksum): copy last byte of odd-sized packets into a
18030                         'u_short' rather than a 'u_char', should fix wrong checksums
18031                         on big-endian platforms
18032
18033 2005-02-09  Dan Williams  <dcbw@redhat.com>
18034
18035         * Clean up usage of GSList objects and looping through their members
18036         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18037                 now.
18038         * Fix problem where even if scanning was turned off, card would still
18039                 cycle through frequencies.
18040
18041 2005-02-08  Dan Williams  <dcbw@redhat.com>
18042
18043         * panel-applet/NMWirelessApplet.c
18044                 - Fix for gtk 2.4
18045
18046 2005-02-08  Dan Williams  <dcbw@redhat.com>
18047
18048         Patch from Bill Moss
18049         * panel-applet/NMWirelessApplet.c
18050                 - Restore correct ESSID in tooltips
18051
18052 2005-02-07  Dan Williams  <dcbw@redhat.com>
18053
18054         * panel-applet/NMWirelessApplet.[ch]
18055                 - Add a context menu that contains:
18056                         Pause/Resume Wireless Scanning
18057                         Stop/Start All Wireless Devices
18058                         About...
18059                 - Grab active device strength off active device,
18060                         not its network
18061
18062         * panel-applet/NMWirelessAppletDbus.[ch]
18063                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18064                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18065                 - Update active device strength every 2 seconds, not every 1 second
18066
18067         * panel-applet/menu-info.c
18068                 - Only disable wired devices in the menu when they support carrier detection,
18069                         and don't currently have a link.  Non-carrier-detect devices will always
18070                         remain choosable
18071
18072         * src/Makefile.am
18073           src/NetworkManagerDbusUtils.[ch]
18074                 - Add new new dbus utils sources
18075
18076         * src/NetworkManager.c
18077                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18078                         with the boolean parameter
18079                 - Set scanning_enabled & wireless_enabled to TRUE
18080
18081         * src/NetworkManagerDbus.c
18082                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18083                 - Implement scanning & wireless enable/disable calls
18084                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18085
18086         * src/NetworkManagerDevice.c
18087                 - New link detection stuff again...
18088                         o  Create device's mainloop earlier (but don't run it earlier)
18089                         o  Hook up new carrier-detect support stuff
18090                         o  Add in the ethtool & mii support detection code
18091                 - Don't scan if scanning is disabled
18092
18093         * src/NetworkManagerPolicy.c
18094                 - Never automatically choose a device that doesn't support carrier detection
18095                 - Don't automatically choose a wireless device if wireless is disabled
18096
18097 2005-02-07  Dan Williams  <dcbw@redhat.com>
18098
18099         * libnm_glib/libnm_glib.c
18100                 - Small cleanup in element list iteration
18101
18102 2005-02-07  Dan Williams  <dcbw@redhat.com>
18103
18104         * src/NetworkManagerWireless.c
18105                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18106                         to be in line with the WEXT quality specification
18107
18108 2005-02-02  Dan Williams  <dcbw@redhat.com>
18109
18110         Patch from Nathan Fredrickson <nathan@silverorange.com>
18111         * Fix up compile for deprecation of libgnomeui
18112                 - Switch to <glib/gi18n.h> from <libintl.h>
18113                 - Remove <libgnomeui/libgnomeui.h> includes
18114                 - Use gtk_window_set_default_icon_from_file() rather than
18115                         gnome_window_set_default_icon_from_file()
18116
18117         * named/nm-named-manager.c
18118                 - (generate_named_conf): Fix return-nothing in non-void
18119                         function
18120
18121 2005-02-02  Dan Williams  <dcbw@redhat.com>
18122
18123         * Clean up unused variables and the like
18124
18125 2005-02-02  Dan Williams  <dcbw@redhat.com>
18126
18127         * src/NetworkManagerAPList.c
18128                 - (nm_ap_list_merge_scanned_ap): merge strength too
18129
18130         * src/NetworkManagerUtils.c
18131                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18132                         of locking issues by printing out prettier information than g_mutex_lock
18133                 - Print out names of mutexes registered with nm_register_mutex_desc()
18134                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18135                         us to seemingly block here for too long
18136
18137         * src/NetworkManager.c
18138           src/NetworkManagerAPList.c
18139           src/NetworkManagerDevice.c
18140                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18141                         so we get better debug information printed
18142
18143         * src/NetworkManagerDbus.c
18144                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18145                         since it sometimes has locking side effects
18146                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18147                         from 10s
18148                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18149                         we don't need a switch.  This gets called often enough that we can't block
18150                         until the scan mutex is acquired, because we'll block on device activation
18151                         and a few other things, which hangs main thread for too long.
18152
18153         * src/NetworkManagerPolicy.c
18154                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18155                         nm_device_need_ap_switch() will be called               
18156
18157 2005-02-02  Dan Williams  <dcbw@redhat.com>
18158
18159         * panel-applet/NMWirelessApplet.c
18160                 - Display name of wireless network we are connecting to or connected to
18161                         in the tooltip of the applet
18162
18163 2005-02-02  Dan Williams  <dcbw@redhat.com>
18164
18165         * src/NetworkManagerDHCP.c
18166                 - Hopefully fix double-default-route problem by cleaning up the default
18167                         route added by DHCP code right before the DHCP transaction begins
18168
18169 2005-02-02  Dan Williams  <dcbw@redhat.com>
18170
18171         * named/nm-named-manager.c
18172                 - Write out valid resolv.conf when we exit
18173
18174 2005-02-01  Dan Williams  <dcbw@redhat.com>
18175
18176         Patch from Colin Walters:
18177         * named/nm-named-manager.c
18178                 - Make multi-domain search options work
18179
18180 2005-01-31  Dan Williams  <dcbw@redhat.com>
18181
18182         * info-daemon/NetworkManagerInfoDbus.c
18183                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18184
18185         * src/NetworkManagerDevice.c
18186                 - (nm_device_new): Don't store the entire range struct, use only what we need
18187                         (which is currently avg_quality, max_quality, and frequencies).  Also
18188                         zero device structure when we've free'd it to maybe expose errors down
18189                         the line.
18190                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18191                         quality data from the card since quality will be useless during a scan.
18192                         Call updated wireless qual-to-percent function with values stored in
18193                         nm_device_new() earlier.
18194                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18195                         nm_device_get_bad_crypt_packets())
18196                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18197                         nm_device_new()
18198                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18199                         list if available.  Problem was this: when the WEP key is wrong, NM will
18200                         try OS then SK modes, and then get stuck in SK mode after that.  This
18201                         should reset it.
18202                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18203                         function
18204
18205         * src/NetworkManagerWireless.c
18206                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18207                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18208                         if that's all present, otherwise fall back to signal-to-noise ratios.
18209
18210 2005-01-29  Dan Williams  <dcbw@redhat.com>
18211
18212         * initscript/RedHat/NetworkManager
18213                 - Don't spit out sysctl stuff to console
18214
18215         * libnm_glib/libnm_glib.c
18216                 - (libnm_glib_init): call dbus_g_thread_init()
18217
18218         * panel-applet/NMWirelessAppletDbus.c
18219                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18220
18221         * src/NetworkManager.c
18222                 - (main): call dbus_g_thread_init()
18223
18224         * src/NetworkManagerAPList.c
18225                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18226                         so we can actually see what's there in a normal syslog
18227
18228         * src/NetworkManagerDevice.c
18229                 - (nm_device_activate_wireless): print out the "waiting for access point"
18230                         message only once, then say what access point we actually got after
18231                         the wait.
18232                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18233                         function, wait until the scan is done.  Scans may change the ESSID of
18234                         the card, making this function think we need to switch access points
18235                 - (nm_device_wireless_process_scan_results): for artificial access points
18236                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18237                         prevents collisions with the scanning code, which may change the card's
18238                         ESSID and cause the access point to get dropped from the device's AP
18239                         list.  Also increase the keep-around time to 2m from 60s since the max
18240                         scan interval could be 60s in some cases.
18241
18242         * src/NetworkManagerPolicy.c
18243                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18244                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18245                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18246                         between NM and NMI.
18247
18248 2005-01-27  Dan Williams  <dcbw@redhat.com>
18249
18250         * info-daemon/NetworkManagerInfoDbus.c
18251                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18252                         GConf, make a minimal entry for it (essid & timestamp)
18253
18254         * src/NetworkManagerAPList.c
18255                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18256                         NetworkManagerInfo isn't running
18257
18258         * src/NetworkManagerDbus.[ch]
18259                 - (nm_dbus_nmi_is_running): new function
18260
18261         * src/NetworkManagerDevice.c
18262                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18263                         address to garbage.
18264
18265         * src/NetworkManagerPolicy.c
18266                 - (nm_policy_activation_finish): On successful activation, make sure
18267                         the "best" AP has a MAC address, and don't tell NMI to add the
18268                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18269                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18270                         access point after refreshing our allowed list if it doesn't already
18271                         have a "best" access point.
18272
18273 2005-01-25  Dan Williams  <dcbw@redhat.com>
18274
18275         * panel-applet/NMWirelessAppletDbus.c
18276                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18277                         so we check for NM_DBUS_SERVICE rather than not for it
18278
18279         * libnm_glib/libnm_glib.c
18280                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18281                         ServiceOwnerChanged signal
18282
18283 2005-01-25  Dan Williams  <dcbw@redhat.com>
18284
18285         * configure.in
18286                 - Check DBUS version in configure, and set the C macros
18287                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18288
18289         * info-daemon/NetworkManagerInfoDbus.c
18290                 - Remove #if 0-d section of code that quit NMI if NM went away.
18291
18292         * panel-applet/NMWirelessAppletDbus.c
18293                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18294
18295         * src/NetworkManager.c
18296           src/NetworkManagerMain.h
18297           src/NetworkManagerDbus.c
18298                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18299                 - Make updating of our Allowed Wireless Network lists from NMI
18300                         an idle function in the main thread now, with a high priority.
18301
18302 2005-01-24  Dan Williams  <dcbw@redhat.com>
18303
18304         * panel-applet/gtkcellview.[ch]
18305           panel-applet/menu-info.c
18306                 - Fix GTK version checks to be <= rather than <
18307
18308         * test/Makefile.am
18309                 - Include the libtool archive of libnm_glib rather than
18310                         trying to pull in the .so
18311
18312 2005-01-24  Dan Williams  <dcbw@redhat.com>
18313
18314         * src/NetworkManagerDevice.c
18315           src/NetworkManagerDevicePrivate.h
18316                 - Block nm_device_new() until our device's worker thread has had a
18317                         chance to start up.  Fixes a race between main thread and worker
18318                         thread starting that caused activation requests to get lost.
18319
18320 2005-01-24  Dan Williams  <dcbw@redhat.com>
18321
18322         * initscript/RedHat/NetworkManager
18323                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18324                         to add the NM startup script at priority 50, which was
18325                         way too early
18326
18327 2005-01-24  Colin Walters  <walters@redhat.com>
18328
18329         * named/named.conf: Use any port for query source instead of
18330         restricting to port 53.
18331
18332 2005-01-24  Dan Williams  <dcbw@redhat.com>
18333
18334         * initscript/RedHat/NetworkManager
18335                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18336                         to add the NM startup script at priority 50, which was
18337                         way too early
18338
18339 2005-01-24  Dan Williams  <dcbw@redhat.com>
18340
18341         Patch from Tom Parker <palfrey@tevp.net>
18342         * Fix up compile warnings & errors in the wireless applet
18343
18344 2005-01-24  Dan Williams  <dcbw@redhat.com>
18345
18346         * panel-applet/NMWirelessApplet.c
18347                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18348
18349 2005-01-24  Dan Williams  <dcbw@redhat.com>
18350
18351         * panel-applet/gtkcellview.[ch]
18352                 - Only compile these files for GTK 2.4 or lower, since 
18353                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18354                         when choosing "Other Wireless Networks" from the panel
18355                         applet menu
18356
18357 2005-01-21  Dan Williams  <dcbw@redhat.com>
18358
18359         * src/NetworkManager.c
18360                 - Daemonize earlier so that glib doesn't get confused (?)
18361
18362 2005-01-21  Dan Williams  <dcbw@redhat.com>
18363
18364         * panel-applet/NMWirelessApplet.[ch]
18365           panel-applet/NMWirelessAppletDbus.c
18366           panel-applet/menu-info.c
18367           src/NetworkManagerDevice.c
18368                 - Disable wired devices in the menu when they have no link.
18369
18370 2005-01-21  Dan Williams  <dcbw@redhat.com>
18371
18372         * Cache last-known-good wireless authentication method in
18373                 NetworkManagerInfo, and use that method first during
18374                 wireless device activation.  Should speed up devices that
18375                 need Shared Key authentication method since Open System is
18376                 now the default.
18377
18378         * Remove the hack to not do full activation on wired connections
18379                 that are active when we launch, it causes too many problems
18380                 with name resolution and was a hack in the first place.
18381
18382         * Re-work wireless device activation again somewhat to have a
18383                 clearer chain of events and to use last-known-good
18384                 authentication method of the access point.  Also provide
18385                 better status throughout activation to ensure the applet
18386                 can tell the user exactly what's going on.
18387
18388         * Remove the "find wireless network" code and now simply attempt
18389                 to activate with that access point.  This reduces the delay
18390                 between selecting "Other wireless Network" and actually
18391                 connecting to that network.
18392
18393         * Correctly stop the device's worker thread when its removed.
18394
18395 2005-01-21  Dan Williams  <dcbw@redhat.com>
18396
18397         * dhcpcd/client.c
18398                 - Clean up some of the debug messages
18399
18400 2005-01-21  Dan Williams  <dcbw@redhat.com>
18401
18402         * Add new icons, more frames of animation
18403         * Remove some hacks to get the panel applet to display correct
18404                 status, an NM update will soon follow that will fix the
18405                 real issue.
18406
18407 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18408
18409         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18410         the first include for working i18n. Also, don't include it in .h files
18411         * panel-applet/NMWirelessApplet.h: Same
18412         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18413         * panel-applet/menu-info.c: Same
18414
18415 2005-01-18  Dan Williams <dcbw@redhat.com>
18416
18417         * dhcpcd/client.c
18418                 - Remove some debug messages
18419                 - Wrap others in #ifdef DEBUG/#endif
18420
18421         * src/NetworkManager.c
18422                 - Remove some debug messages
18423                 - Clarify some debug messages
18424                 - Remove code related to old single-thread wireless scanning
18425
18426         * src/NetworkManagerAP.[ch]
18427                 - New AP property "last_seen" to track how recently an AP was
18428                         found in a scan
18429                 - Start using 'const' more in function arguments
18430
18431         * src/NetworkManagerAPList.[ch]
18432                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18433                         of an AP found in an AP list from a source AP, or if not found
18434                         in the list add the source AP
18435                 - (nm_ap_list_combine): remove, no longer needed
18436
18437         * src/NetworkManagerDevice.c
18438                 - Each device now has a "worker" thread from start to end of its life.
18439                         Scanning for wireless devices now happens in that thread,
18440                         not in a single "wireless scanning thread" for all devices as
18441                         previously.  Activation consists of adding an idle handler to the
18442                         thread's main loop/context, which gets run at the next available
18443                         opportunity.
18444                 - Wireless scanning is also simplified, there is now only one list of
18445                         access points per wireless device, and APs older than 60s are
18446                         removed from the list.  Previously, we kept results for the last
18447                         3 scans and merged whole lists, which was complicated.
18448                 - Cleaned up activation debug messages.
18449                 - Wireless activation and access-point search routines now use Open System
18450                         authentication before trying Shared Key.
18451                 - Removed some code in nm_device_update_best_ap() that could cause cards
18452                         to loose their link to the access point.
18453                 - Scanning now uses a backoff algorithm, where the inverval becomes
18454                         progressively longer between scans when the list of scanned access
18455                         points doesn't change.  A change will revert to the shortest scan
18456                         interval (20s).
18457
18458         * src/NetworkManagerWireless.[ch]
18459                 - Remove code related to old single-thread wireless scanning
18460
18461 2005-01-18  Colin Walters  <walters@redhat.com>
18462
18463         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18464         of older nameservers.
18465
18466 2005-01-18  Colin Walters  <walters@redhat.com>
18467
18468         * named/nm-named-manager.c (generate_named_conf): Many fixes
18469         to config file generation.
18470         (safer_kill): Remove, was too much trouble for little gain.
18471         (nm_named_manager_start): Run named as NM_NAMED_USER.
18472
18473         * configure.in: Add option --with-named-user.
18474
18475 2005-01-14  Colin Walters  <walters@redhat.com>
18476
18477         Patch from ed@catmur.co.uk (Ed Catmur)
18478
18479         * named/nm-named-manager.c: Add "context" property.
18480         Use it to add child watch source in specific GMainContext.
18481
18482         * src/NetworkManager.c (nm_data_new): Initialize
18483         named with correct main context.  Start named only
18484         after forking.
18485
18486 2005-01-14  Colin Walters  <walters@redhat.com>
18487
18488         * named/nm-named-manager.c (generate_named_conf): Write config
18489         and pid files into NM_NAMED_DATA_DIR; this allows things to
18490         work better with FC3 named SELinux policy.  Also fix up silly
18491         format error.
18492
18493         * configure.in: Add --with-named-dir option.
18494
18495 2005-01-14  Colin Walters  <walters@redhat.com>
18496
18497         * configure.in: Make named support require passing --with-named.
18498
18499         * named/nm-named-manager.c: Support writing resolv.conf directly
18500         without running named.
18501
18502 2005-01-13  Dan Williams <dcbw@redhat.com>
18503
18504         * named/nm-named-manager.c
18505                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18506
18507         * src/NetworkManagerDevice.c
18508                 - Rework wireless link detection code to be more reliable
18509
18510 2005-01-12  Dan Williams <dcbw@redhat.com>
18511
18512         * initscripts/RedHat/NetworkManager
18513                 - Change initial level to "-" rather than "345" so that
18514                         we don't activate ourselves by default on install
18515
18516 2005-01-12  Dan Williams <dcbw@redhat.com>
18517
18518         * libnm_glib/
18519                 - Client library for applications using glib
18520
18521         * configure.in
18522           various Makefiles
18523                 - Split NM_CFLAGS and NM_LIBS into separate variables
18524                         like DBUS_*, HAL_* and GLIB_*
18525
18526         * src/NetworkManager.c
18527           src/NetworkManagerMain.h
18528                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18529                         broadcast a status changed signal over DBUS from the main thread.
18530                         Still unused anywhere for the moment.
18531
18532         Patch from j@bootlab.org
18533         * panel_applet/NMWirelessAppletDbus.c
18534           src/NetworkManagerDbus.c
18535                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18536                         for the "getMode" method call
18537
18538 2005-01-10  Dan Williams <dcbw@redhat.com>
18539
18540         * src/NetworkManagerDevice.c
18541                 - Minor fixups & corrections to "auto" frequency mode, make it
18542                         less chatty with syslog
18543
18544 2005-01-10  Dan Williams <dcbw@redhat.com>
18545
18546         * src/NetworkManagerDevice.c
18547                 - Implement "auto" frequency/channel support, since cards like Atheros
18548                         can't use other frequencies at all when you've told it to use a
18549                         specific one, even for scanning.
18550                 - Grab the scan mutex around places where we can't tolerate wireless
18551                         settings changing underneath us, like nm_device_wireless_network_exists()
18552                         and nm_device_activate_wireless()
18553
18554         * src/NetworkManagerWireless.c
18555                 - Back scan interval off to 20s instead of 14s
18556
18557 2005-01-09  Dan Williams <dcbw@redhat.com>
18558
18559         * src/NetworkManagerDevice.c
18560                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18561                         already set.  Stops some drivers like Atmel from continually
18562                         reloading the firmware, which they do upon every configuration
18563                         change.
18564
18565 2005-01-09  Dan Williams <dcbw@redhat.com>
18566
18567         * dhcpcd/client.c
18568                 - Use correct timeout value
18569
18570         * info-daemon/NetworkManagerInfoDbus.c
18571           src/NetworkManagerDbus.c
18572                 - Consolidate communication between NM and NMI by doing only 1 dbus
18573                         method call to get Wireless Network info from NMI instead of 6
18574
18575         * src/NetworkManager.c
18576                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18577                         when we didn't have an AP to use, we'd wait for one forever without
18578                         quitting
18579
18580         * src/NetworkManagerDevice.c
18581                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18582                         activation, dhcp might not have started yet but we don't quit activation
18583                         before starting it, so the quit signal gets lost
18584
18585 2005-01-07  Dan Williams <dcbw@redhat.com>
18586
18587         * dhcpcd/client.c
18588                 - Rework the DHCP client code to be much less chatty when
18589                         it receives non-DHCP UDP packets during the DHCP run
18590                         (reported by and preliminary patches from Bill Moss)
18591
18592         * Move wireless scanning to a separate thread.  This thread forwards the
18593                 results to the main thread when done where they are integrated into
18594                 the device's access point lists.  This keeps the main thread (which
18595                 does all the DBUS communication) from being blocked for long periods
18596                 of time by wireless scanning.
18597
18598         * Make state modification an idle routine in the main loop, and trigger
18599                 state changes rather than polling for them.
18600
18601         * src/backends/NetworkManagerGentoo.c
18602                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18603
18604         * src/NetworkManagerDevice.c
18605                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18606                         router advertisements, causing problems and infinite loop
18607                         during "best" device determination due to link going up/down
18608                         (reported by Bill Moss)
18609
18610         Apply patch from Peter Jones
18611         * src/NetworkManagerDevice.c
18612                 - Shortcut for link-checking for ipw2x00 cards
18613                 - Split out association check into separate routine
18614
18615 2004-01-05  Colin Walters  <walters@redhat.com>
18616
18617         * named/named.conf: Add PID_FILE.
18618
18619         * named/nm-named-manager.c: Always generate a pid
18620         file, since older BIND versions don't support
18621         "pid-file none".
18622
18623 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18624
18625         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18626
18627 2004-12-22  Dan Williams <dcbw@redhat.com>
18628
18629         * src/NetworkManagerDevice.c
18630                 - Silently fail when setting bitrate doesn't work
18631
18632
18633         Patches from j@bootlab.org:
18634         * src/backends/NetworkManagerDebian
18635                 - Update backend to match functionality in RedHat backend
18636         * src/NetworkManagerDevice.c
18637                 - Take down then bring up wired devices after connection so
18638                 they send out ipv6 router advertisements
18639
18640 2004-12-21  Colin Walters  <walters@verbum.org>
18641
18642         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18643         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18644
18645 2004-12-21  Colin Walters  <walters@redhat.com>
18646
18647         * configure.in: Correct named detection.
18648
18649 2004-12-21  Colin Walters  <walters@redhat.com>
18650
18651         * src/NetworkManager.c (nm_data_new): Initialize named.
18652         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18653         the mainloop when these signals are received.
18654         (nm_data_free): Unref named.
18655         (sigterm_handler, sigterm_pipe_handler): New functions for
18656         exiting mainloop.
18657         
18658         * src/NetworkManagerMain.h (NMData): Add signal handling and
18659         nameserver bits.
18660
18661         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18662         unref.
18663
18664         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18665         set nameservers from DHCP response data.
18666         (set_domain_search): Set domain search from DHCP response.
18667         (nm_device_dhcp_configure): Invoke them.
18668
18669         * src/NetworkManagerSystem.c
18670         (nm_system_device_update_resolv_conf): Delete.  Deleting
18671         code is totally sweet.
18672
18673         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18674
18675         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18676         implements an object which controls a nameserver.  Currently
18677         uses bind 9.
18678
18679         * configure.in: Check for named.
18680
18681         * Makefile.am (SUBDIRS): Add named dir.
18682
18683         * named/named.conf: New template config file.
18684
18685 2004-12-20  Colin Walters  <walters@redhat.com>
18686
18687         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18688         instead of '='.
18689
18690 2004-12-17  Dan Williams  <dcbw@redhat.com>
18691
18692         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18693                 link-local addresses instead of doing DHCP.
18694
18695         * In the panel applet, there's a new "Create new Wireless Network..." item
18696
18697         * The panel applet also sticks around now even if NetworkManager dies, but
18698                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18699                 a bug, I'll fix that later.
18700
18701         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18702                 lookups after a switch rather than actually doing them.
18703
18704         * Clean up some of those warnings in nm_ap_list_* functions
18705
18706         * Delay between scans changed to 15s instead of 10s
18707
18708 2004-12-15  Dan Williams  <dcbw@redhat.com>
18709
18710         Patch from Tom Parker
18711         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18712                 address
18713
18714         * Longer pause after setting ESSID on cards that support a larger number
18715                 of channels to give the card time to find the right channel
18716
18717         * Add system hook to restart mDNSResponder (or whatever the local implementation
18718                 of Multicast DNS is) when we activate interfaces
18719
18720 2004-12-15  Dan Williams  <dcbw@redhat.com>
18721
18722         * Rework the DHCP code again to revert to sending full ethernet frames
18723                 rather then relying on the kernel to do the right thing with our
18724                 packets.
18725
18726 2004-12-06  Dan Williams  <dcbw@redhat.com>
18727
18728         * dhcpcd/client.c
18729                 - Fix some minor errors in dhcp_handle_transaction() that caused
18730                         unexpected early timeouts of DHCP transactions
18731
18732         * dhcpcd/client.h
18733                 - DHCP retransmit time from 4s -> 5s
18734
18735 2004-12-05  Dan Williams  <dcbw@redhat.com>
18736
18737         * Major rework of the DHCP code, taking some cues from pump.  We don't
18738                 write raw Ethernet packets anymore, which simplifies the code quite
18739                 a bit.  The new code should be more robust, not hang in recvfrom()
18740                 as much, and generally work better.  This also means that we need
18741                 to force HAL/dbus to use a created GMainContext rather than the
18742                 default context, since having the DHCP renew/rebind thread using
18743                 its own GMainContext seemed to give dbus a fit.  There is also more
18744                 debugging information printed from the DHCP loop to help with future
18745                 problems.
18746
18747         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18748                 assume that the default gateway should be the DHCP server.
18749
18750         Patch from Matthew Schick <matt oss-institute org>
18751         * src/backends/NetworkManagerGentoo.c
18752                 - Fix compilation error due to missing "ip4_broadcast"
18753
18754 2004-12-03  Dan Williams  <dcbw@redhat.com>
18755
18756         * initscript/Makefile.am
18757         * initscript/Debian/NetworkManager
18758         * initscript/Gentoo/NetworkManager
18759         * initscript/RedHat/NetworkManager
18760         * initscript/NMLaunchHelper.c
18761                 - Remove NMLaunchHelper, if you need to wait until the network
18762                         comes up, use the dead code from CVS.
18763
18764 2004-12-01  Colin Walters  <walters@redhat.com>
18765         
18766         * configure.in: Suck in gcc warnings code from Rhythmbox,
18767         but use fewer default flags, and in particular add -Wno-unused,
18768         since the codebase has a lot of unused variables.
18769
18770         * test/nmtestdevices.c (create_device): 
18771         * test/nminfotest.c (get_network_string_property) 
18772         (get_networks_of_type): 
18773         * test/nmclienttest.c (main): 
18774         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18775         * initscript/NMLaunchHelper.c (get_nm_status): 
18776         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18777         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18778         Fix declarations after statements.
18779
18780 2004-12-01  Colin Walters  <walters@redhat.com>
18781
18782         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18783         (nmi_dbus_get_vpn_userpass): New method.
18784         (nmi_dbus_nmi_message_handler): Invoke it.
18785
18786         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18787
18788         * info-daemon/NetworkManagerInfoVPN.h,
18789         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18790         to requests for VPN passwords.
18791
18792         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18793
18794 2004-12-01  Colin Walters  <walters@redhat.com>
18795
18796         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18797         includes.
18798
18799 2004-12-01  Colin Walters  <walters@redhat.com>
18800
18801         * panel-applet/NMWirelessAppletDbus.c
18802         (nmwa_dbus_update_active_device_strength): Fix missing
18803         return value.
18804
18805 2004-12-01  Colin Walters  <walters@redhat.com>
18806
18807         * panel-applet/NMWirelessApplet.c: Add missing include.
18808
18809 2004-12-01  Colin Walters  <walters@redhat.com>
18810
18811         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18812         Remove useless CLAMP (); the value is unsigned, and the case tests
18813         qual->qual < 100, so the value must always be between 0 and 100.
18814
18815 2004-12-01  Colin Walters  <walters@redhat.com>
18816
18817         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18818
18819 2004-11-22  Colin Walters  <walters@verbum.org>
18820
18821         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18822         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18823         which is essentially a noop since nscd caches hosts on disk too.
18824         
18825 2004-11-22  Colin Walters  <walters@redhat.com>
18826
18827         * src/Makefile.am (NetworkManager_SOURCES): Add
18828         NetworkManagerDevicePrivate.h.
18829
18830 2004-11-22  Dan Williams <dcbw@redhat.com>
18831
18832         * src/NetworkManagerDevicePrivate.h
18833                 - Split out the NMDevice struct to a different file so that stuff like
18834                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18835
18836         * dhcpcd/client.c
18837                 - fprintf->syslog
18838                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18839                         need to cancel the dhcp request during the send and recv
18840
18841         * dhcpcd/client.h
18842                 - Move the DHCP option enum to dhcpcd.h
18843
18844         * src/NetworkManagerDHCP.c
18845                 - Split out the actual IP/netmask/etc setting code
18846                 - New Renew/Rebind functions
18847                 - New timer setup function for renew/rebind operations
18848
18849         * src/NetworkManagerDevice.c
18850                 - For device activation, if we are using DHCP then keep the activation thread
18851                         alive until device deactivation.  We need to renew/rebind the DHCP address
18852                         after the T1 (renew) and T2 (rebind) times have expired.
18853                 - Increase some timeouts after bringing wireless cards up/down
18854
18855 2004-11-17  Dan Williams <dcbw@redhat.com>
18856
18857         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18858                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18859                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18860                 show known access points that don't broadcast their ESSID in the menus without
18861                 any user intervention whatsoever.
18862
18863         * info-daemon/NetworkManagerInfoDbus.c
18864                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18865                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18866
18867         * src/NetworkManagerAP.[ch]
18868                 - Add a "user_addresses" data member to the NMAccessPoint structure
18869                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18870                         the user_addresses data member
18871
18872         * src/NetworkManagerAPList.c
18873                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18874                         the AP's reported address
18875                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18876
18877         * src/NetworkManagerDHCP.c
18878                 - Increase DHCP timeout from 25s -> 30s
18879
18880         * src/NetworkManagerDbus.[ch]
18881                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18882                         user addresses
18883
18884         * src/NetworkManagerDevice.c
18885                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18886                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18887                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18888                         So, we take the card down to clear it out.
18889                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18890                         too, since that's where the user_addresses are
18891
18892         * src/NetworkManagerPolicy.c
18893                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18894                         that wireless networks' user_addresses list upon successful activation
18895
18896 2004-11-16  Dan Williams <dcbw@redhat.com>
18897
18898         * src/NetworkManagerDevice.[ch]
18899                 - (nm_device_clear_activation_fail): new function
18900
18901         * src/NetworkManagerPolicy.c
18902                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18903                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18904
18905 2004-11-16  Dan Williams <dcbw@redhat.com>
18906
18907         * src/NetworkManagerDevice.c
18908                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18909                         leak the structure, better updating of now_scanning status
18910                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18911
18912 2004-11-15  Dan Williams <dcbw@redhat.com>
18913
18914         Major rework of link detection code.  We now use DHCP
18915         as part of the link detection which proves to be much more robust,
18916         and also supports Open System authentication for wireless networks.
18917
18918         We no longer use external DHCP client programs.  Instead, we use 
18919         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18920         which was written by:
18921                 Yoichi Hariguchi <yoichi@fore.com>
18922                 Sergei Viznyuk <sv@phystech.com>
18923                 http://www.phystech.com/download/
18924         It resides in the "dhcpcd" directory and was refactored into a general
18925         purpose DHCP client library by me.
18926
18927         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18928         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18929
18930 2004-11-15  Dan Williams <dcbw@redhat.com>
18931
18932         Patch from Tom Parker <palfrey@tevp.net>:
18933
18934         * src/NetworkManagerDevice.c
18935                 - Less output to console when no access
18936                         points are found during a scan
18937
18938 2004-11-15  Dan Williams <dcbw@redhat.com>
18939
18940         Patch from Tom Parker <palfrey@tevp.net>:
18941
18942         * src/backends/interface_parser.c
18943                 - Use g_strdup ()
18944                 - Check for inp == NULL
18945                 - use syslog ()
18946
18947 2004-11-13  Colin Walters  <walters@redhat.com>
18948
18949         Patch from Tom Parker <palfrey@tevp.net>:
18950
18951         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18952         
18953         * src/backends/NetworkManagerRedHat.c: Switch to
18954         including shvar.h instead of shvar.c.
18955
18956         * src/backends/NetworkManagerDebian.c: Don't include
18957         interface_parser.c in source file.
18958
18959         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18960         and interface_parser.[ch].
18961         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18962         Include shvar.c and shvar.h here.
18963         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18964         interface_parser.c and interface_parser.h here.
18965
18966 2004-11-12  Colin Walters  <walters@redhat.com>
18967
18968         * configure.in: Strip out TARGET_DISTRO and
18969         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18970         conditionals.
18971
18972         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18973         (libnmbackend_la_SOURCES): Use Automake conditionals
18974         to add distro-specific files.
18975
18976         * initscript/Makefile.am (SUBDIRS): Update to
18977         use conditionals.
18978
18979 2004-11-12  Colin Walters  <walters@redhat.com>
18980
18981         Patches from j bootlab org
18982
18983         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18984         Add interface_parser.[ch].
18985
18986         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18987         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18988
18989 2004-11-12  Colin Walters  <walters@redhat.com>
18990
18991         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18992         call to nmi_dbus_is_running too, not necessary anymore.
18993         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18994         pick up exit().
18995
18996 2004-11-11  Colin Walters  <walters@verbum.org>
18997
18998         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18999         Delete.
19000         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19001         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19002         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19003         This avoids a race condition that made it pretty easily
19004         possible to get two NetworkManagerInfo daemons running.
19005
19006 2004-11-11  Colin Walters  <walters@verbum.org>
19007         
19008         * src/NetworkManager.c (main): Use daemon(3).
19009
19010         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19011
19012         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19013
19014 2004-11-10 Dan Williams <dcbw@redhat.com>
19015
19016         Patches from j bootlab org
19017         * src/NetworkManagerDevice.c
19018                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19019                         whether the card has a link or not, some cards are slow
19020                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19021
19022         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19023                 - Disable the "Login" button on the passphrase dialog until the user
19024                         enters a valid passphrase or key
19025
19026         Patches from Tom Parker <palfrey tevp net>
19027         * src/backends/NetworkManagerDebian.c
19028                 - Add static IP support to the debian backend
19029
19030         * src/backends/interface_parser.[ch]
19031                 - Parse debian interface config files
19032
19033 2004-11-08 Dan Williams <dcbw@redhat.com>
19034
19035         * src/NetworkManagerDevice.c
19036                 - Some random fprintf->syslog conversions
19037                 - (nm_device_wireless_network_exists): double-check for network
19038                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19039
19040         * src/NetworkManagerWireless.[ch]
19041                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19042                         so that the binary->ascii conversion works (if unsigned, the bitshift
19043                         will fill with zeros, which is what's required).  Also mask bitshift
19044                         result with 0xF for futher assurance.
19045
19046 2004-11-06 Dan Williams <dcbw@redhat.com>
19047
19048         * src/NetworkManagerUtils.c
19049                 - (nm_get_wireless_driver_support_level): default to
19050                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19051                         flip this when changing from whitelist->blacklist of
19052                         wireless drivers
19053
19054 2004-11-05 Dan Williams <dcbw@redhat.com>
19055
19056         Patch from Robert Paskowitz:
19057         * src/backends/NetworkManagerGentoo.c
19058                 - Update static IP config code
19059
19060 2004-11-05 Dan Williams <dcbw@redhat.com>
19061
19062         * info-daemon/NetworkManagerInfoDbus.c
19063           src/NetworkManagerDbus.[ch]
19064           src/NetworkManagerDevice.c
19065                 - Keep track of the # of attempts to get the WEP key
19066                         from the user and pass that along to the info daemon
19067
19068 2004-11-05 Dan Williams <dcbw@redhat.com>
19069
19070         * src/NetworkManagerUtils.c
19071                 - Blacklist wireless cards rather than whitelisting them.
19072                 - Grab driver name from HAL rather than trying to find it
19073                         ourselves.
19074
19075 2004-11-03 Dan Williams <dcbw@redhat.com>
19076
19077         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19078                 - Disable OK button until valid data is entered
19079                         for encryption stuff too
19080
19081         * panel-applet/NMWirelessApplet.c
19082                 - Report card strength for current AP if the card
19083                         doesn't report strength data for scanned access
19084                         points
19085
19086         * src/NetworkManagerDevice.c
19087                 - Smooth out cards reported quality, Atmel card was
19088                         intermittently reporting no quality data but soon
19089                         recovers
19090
19091         * src/NetworkManagerWireless.c
19092                 - Better quality data percentage calculation.  Atmel
19093                         cards (mine at least) seem to report the quality
19094                         in percentage format already, so honor that
19095
19096         Patch from <j@bootlab.org>
19097         * NetworkManager.h
19098           info-daemon/NetworkManagerInfoPassphraseDialog.c
19099           info-daemon/passphrase.glade
19100           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19101           panel-applet/essid.glade
19102           src/NetworkManagerAP.c
19103           src/NetworkManagerDevice.c
19104           src/NetworkManagerWireless.[ch]
19105                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19106
19107 2004-11-03 Dan Williams <dcbw@redhat.com>
19108
19109         * src/NetworkManagerDevice.[ch]
19110                 - (nm_device_set_enc_key): Add parameter to set Authentication
19111                         Mode (Open System, Shared Key, or None).  We're still using
19112                         Shared Key for now though.
19113
19114 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19115
19116         * panel-applet/menu-info.c: change from bold text to light
19117         colored, may cause problems with some themes, i've tested a lot
19118         and they seem fine. 
19119
19120         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19121
19122 2004-11-01  Colin Walters  <walters@verbum.org>
19123
19124         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19125         (nm_wireless_128bit_key_from_passphrase): Add const.
19126
19127         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19128         (nm_ap_set_enc_key_source): Add const.
19129         
19130 2004-11-01  Colin Walters  <walters@verbum.org>
19131
19132         * .cvsignore: Update.
19133
19134 2004-10-29 Dan Williams <dcbw@redhat.com>
19135
19136         * src/NetworkManagerDevice.c
19137                 - (nm_device_wireless_network_exists): Actually use the encryption
19138                         key we got from the applet when attempting to find a wireless network
19139                 - Don't bring devices down so much since on some cards it triggers
19140                         firmware hotplugs each time
19141
19142         * src/NetworkManagerDbus.c
19143                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19144                         from the caller
19145
19146 2004-10-29 Dan Williams <dcbw@redhat.com>
19147
19148         * src/NetworkManager.c
19149                 - (nm_hal_device_property_modified): unlock a locked active
19150                         wireless device when a wired connection gets a link.
19151                         (Means you'll switch to wired whenever you plug in no
19152                         matter what).
19153
19154 2004-10-29 Dan Williams <dcbw@redhat.com>
19155
19156         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19157                 - New files, implement the "Other wireless network" dialog
19158
19159         * panel-applet/NMWirelessApplet.c
19160                 - Move "other wireless network" dialog to separate file
19161
19162         * panel-applet/NMWirelessAppletDbus.[ch]
19163                 - Take key and key_type paramaters for the set_device function
19164
19165         * panel-applet/essid.glade
19166                 - Add UI bits for encryption settings
19167
19168         * src/NetworkManagerDbus.c
19169                 - Retrieve key and key_type params for "setActiveDevice" method call
19170                         and pass them on
19171                 - unref AP returned from nm_device_get_best_ap() when needed
19172
19173         * src/NetworkManagerDevice.c
19174                 - (nm_device_get_best_ap): ref the ap before returning it
19175                 - unref AP returned from nm_device_get_best_ap() when needed
19176                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19177                         need to call nm_device_get_best_ap() here, it was pretty much
19178                         redundant anyway
19179                 - (AP_NEED_KEY): break second link check condition out into separate
19180                         function, and fix segfault when ap->enc_key_source was NULL
19181                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19182                         pass them along to nm_device_wireless_network_exists().  If the
19183                         network does exist, set the passed-in key+key_type on the AP
19184
19185         * src/NetworkManagerPolicy.c
19186                 - unref AP returned from nm_device_get_best_ap() when needed
19187
19188 2004-10-28 Dan Williams <dcbw@redhat.com>
19189
19190         * src/NetworkManagerUtils.c
19191                 - (nm_spawn_process): Fix a potential dereference of NULL
19192
19193         Patches from Peter Jones:
19194
19195         * src/NetworkManagerDevice.c
19196                 - (nm_device_test_wireless_extensions): Better check for
19197                         wireless devices
19198
19199         * src/NetworkManagerUtils.c
19200                 - (nm_spawn_process): Pass in valid stdout and stderr so
19201                         executed programs don't randomly SIGPIPE and fail
19202                 - (nm_get_wired_driver_support_level): quash hal warning
19203                         when checking for USB ethernet device
19204
19205 2004-10-27 Dan Williams <dcbw@redhat.com>
19206
19207         * info-daemon/NetworkManagerInfo.c
19208           info-daemon/NetworkManagerInfoDbus.c
19209           info-daemon/NetworkManagerInfoPassphraseDialog.c
19210           panel-applet/NMWirelessApplet.c
19211                 - Properly escape gconf keys
19212
19213         * src/NetworkManager.c
19214                 - remove unused variables
19215
19216         * src/NetworkManagerAP.c
19217                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19218                         refcount since it got set in nm_ap_new()
19219
19220         * src/NetworkManagerAPList.c
19221                 - (nm_ap_list_combine): Give up ownership of newly created
19222                         access points to the ap list, fixes memleak
19223
19224         * src/NetworkManagerDevice.c
19225                 - Remove cached_ap_list4 member since its not really needed
19226                 - (nm_device_wireless_network_exists): Try to get correct
19227                         encryption status of a found AP if its already in our
19228                         device list
19229                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19230                         memory allocs/deallocs a bit clearer and shorter-lived
19231
19232 2004-10-26 Ray Strode <rstrode@redhat.com>
19233
19234         * panel-applet/NMWirelessApplet.c:
19235           (custom_essid_item_selected):  kill some compiler
19236         warnings 
19237
19238 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19239
19240         * info-daemon/NetworkManagerInfoDbus.c
19241                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19242                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19243
19244 2004-10-23 Dan Williams <dcbw@redhat.com>
19245
19246         * info-daemon/NetworkManagerInfoDbus.c
19247                 - Trap the "DeviceActivationFailed" signal
19248
19249         * docs/NetworkManager DBUS API.txt
19250                 - Add "DeviceActivationFailed" signal
19251
19252         * panel-applet/NMWirelessAppletDbus.c
19253                 - Quash the "NetworkManager service not available" message
19254
19255         * src/NetworkManagerDbus.[ch]
19256                 - Add the "DeviceActivationFailed" signal
19257
19258         * src/NetworkManagerDevice.c
19259                 - Add support for activation_failed flag
19260                 - Fix deadlock where activation thread didn't clean itself up, making
19261                         main thread still believe it was alive forever (didn't reset activation
19262                         flags like activating, just_activated, etc when IP configuration
19263                         failed)
19264
19265         * src/NetworkManagerPolicy.c
19266                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19267                         for wireless networks, try to fall back to some other access point
19268
19269 2004-10-23 Dan Williams <dcbw@redhat.com>
19270
19271         * panel-applet/NMWirelessApplet.[ch]
19272                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19273                         to the applet object, so we can get tooltips
19274                 - Add tooltips (RH #136866)
19275
19276         * src/NetworkManagerDevice.c
19277                 - When trying to find a wireless network, try to connect with encryption
19278                         turned on first, so that we can more accurately detect whether or not
19279                         we need to use encryption for the actual association later on
19280
19281 2004-10-21 Dan Williams <dcbw@redhat.com>
19282
19283         * Add some support for telling NetworkManagerInfo to tell the user
19284                 that they are using a device that's not fully supported
19285
19286         * Fix some assertions in debug messages due to null access point args
19287
19288 2004-10-21 Dan Williams <dcbw@redhat.com>
19289
19290         * src/NetworkManagerDevice.c
19291                 - Don't try to activate/bring up/down unsupported
19292                         devices
19293
19294         * src/NetworkManagerUtils.c
19295                 - Fix case of PCI ID checks for driver support levels
19296
19297 2004-10-21 Dan Williams <dcbw@redhat.com>
19298
19299         * NetworkManager.h
19300                 - New file, now contains commonly used structures and bits
19301                         for the dbus API of NetworkManager
19302
19303         * Makefile.am
19304                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19305
19306         * src/NetworkManager.h
19307                 - Rename -> src/NetworkManagerMain.c
19308
19309         * Various fixups all around to use NetworkManager.h and new
19310                 src/NetworkManagerMain.h, remove redundant bits that got
19311                 moved into NetworkManager.h
19312
19313         * src/NetworkManagerDevice.[ch]
19314           src/NetworkManagerUtils.[ch]
19315           src/NetworkManagerPolicy.c
19316           src/NetworkManagerDbus.c
19317                 - Whitelist wireless drivers, and blacklist some wired
19318                         drivers.  Also blacklist cipsec and ethernet-over-usb
19319                         devices at this time (RH #135722, RH #135648)
19320                 - Don't leak unsupported devices out over dbus, or allow
19321                         them to be set as the active device.  Skip over them
19322                         during automatic device picking
19323
19324         * test/nmclienttest.c
19325                 - Clean up the dbus code a lot
19326
19327 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19328
19329         * configure.in: post release bump.
19330
19331 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19332
19333         * configure.in:
19334         * NEWS: Released NetworkManager-0.3.1
19335
19336 2004-10-18 Dan Williams <dcbw@redhat.com>
19337
19338         Patches from Thom May:
19339         * test/nmtestdevices.c
19340                 - Include <string.h>
19341         * src/backends/NetworkManagerDebian.c:
19342                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19343                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19344                         Move to using g_strdup_printf rather than arbitrary buffers
19345                 - (nm_system_device_setup_static_ip4_config) Implement function.
19346                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19347
19348 2004-10-17 Dan Williams <dcbw@redhat.com>
19349
19350         * info-daemon/NetworkManagerInfoDbus.c
19351                 - Display name of network in the "network not found" dialog
19352
19353         * panel-applet/NMWirelessAppletDbus.c
19354                 - (nmwa_dbus_call_nm_method): new function replaces all other
19355                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19356                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19357                         consolidated into nmwa_dbus_get_object_name()
19358
19359 2004-10-15 Dan Williams <dcbw@redhat.com>
19360
19361         * src/NetworkManagerDbus.c
19362           info-daemon/NetworkManagerInfoDbus.c
19363                 - Display an error dialog when the user tries to use an
19364                         "Other wireless network" that's not found.
19365
19366 2004-10-15 Dan Williams <dcbw@redhat.com>
19367
19368         * panel-applet/NMWirelessApplet.[ch]
19369                 - Fix up corner cases in applet state, making it
19370                         look more responsive.  Change state to "connecting" when
19371                         the user is forcing a device too.
19372
19373 2004-10-15 Dan Williams <dcbw@redhat.com>
19374
19375         * src/NetworkManagerAPList.c
19376                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19377
19378         * src/NetworkManagerDbus.c
19379                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19380
19381         * src/NetworkManagerDevice.c
19382                 - Disown APs after the device's AP list takes ownership
19383
19384 2004-10-15 Dan Williams <dcbw@redhat.com>
19385
19386         * panel-applet/NMWirelessApplet.c
19387                 - Update our applet state from the GUI thread
19388
19389         * panel-applet/NMWirelessAppletDbus.c
19390                 - Greatly simplify the locking to make the GUI thread
19391                         smoother.  Update a private copy of the device list
19392                         and active device and only when done talking to
19393                         NetworkManager turn it over to the GUI thread.
19394
19395 2004-10-15 Dan Williams <dcbw@redhat.com>
19396
19397         * src/NetworkManagerAP.[ch]
19398                 - Add "artificial" get/set functions, set for APs that
19399                         aren't discovered as part of a scan but instead
19400                         discovered by force-setting the ESSID
19401
19402         * src/NetworkManagerDevice.[ch]
19403                 - (nm_device_wireless_network_exists): pass back whether
19404                         or not the discovered AP was encrypted.  Also, try
19405                         falling back to encrypted mode on the card if unencrypted
19406                         association doesn't work
19407                 - (nm_device_find_and_use_essid): If the network requested
19408                         did in fact exists, but it wasn't in our scan list, add
19409                         an "artificial" entry for it.  Some Cisco cards don't
19410                         see non-ESSID-broadcasting APs in their scan but can still
19411                         associate with them if you know the ESSID, this works around
19412                         that behavior
19413                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19414                         to scan if the card is currently associated with that AP
19415
19416 2004-10-15 Dan Williams <dcbw@redhat.com>
19417
19418         ---- We have a website ----
19419         http://people.redhat.com/dcbw/NetworkManager
19420
19421         Patch from Robert Paskowitz:
19422         * src/NetworkManager.c
19423                 - (main): Make sure we are run as root
19424         * src/NetworkManagerDevice.c
19425                 - Fix type in ad-hoc setting function
19426
19427         Patch from Thom May:
19428         * src/backends/NetworkManagerDebian.c
19429                 - Make Debian backend compile again
19430
19431 2004-10-14 Dan Williams <dcbw@redhat.com>
19432
19433         * Tagged NetworkManager-0_3
19434
19435 2004-10-14 Dan Williams <dcbw@redhat.com>
19436
19437         Patch from Robert Paskowitz:
19438         * NEWS
19439           src/NetworkManagerDevice.[ch]
19440           src/backends/NetworkManagerDebian.c
19441           src/backends/NetworkManagerGentoo.c
19442           src/backends/NetworkManagerRedHat.c
19443           src/backends/NetworkManagerSlackware.c
19444                 - Add support for grabbing and using a broadcast address
19445                         from system config files
19446                 - Some Gentoo backend fixes for grabbing network config
19447                 - Fix LOG_WARN->LOG_WARNING
19448
19449 2004-10-14 Dan Williams <dcbw@redhat.com>
19450
19451         * NEWS: a few small fixes in the credits
19452
19453 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19454
19455         * NEWS: prep for release.
19456
19457 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19458
19459         * panel-applet/NMWirelessAppletDbus.c
19460         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19461
19462 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19463
19464         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19465         applet->state == APPLET_STATE_NO_NM animation.
19466
19467         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19468         set the text correctly.
19469
19470 2004-10-14 Dan Williams <dcbw@redhat.com>
19471
19472         * src/NetworkManager.c
19473                 - Only accept and manager 802.3 and 802.11 devices
19474
19475         * src/NetworkManagerDbus.[ch]
19476                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19477                         logic into NetworkManagerDevice.c
19478                 - (nm_dbus_network_status_from_data): new function
19479                 - (nm_dbus_signal_network_status_change): new function, unused for now
19480                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19481
19482         * src/NetworkManagerDevice.[ch]
19483                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19484                         a random ESSID.
19485
19486 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19487
19488         * info-daemon/NetworkManagerInfo.c 
19489                 - (main): Added session management
19490
19491 2004-10-14 Dan Williams <dcbw@redhat.com>
19492
19493         * panel-applet/NMWirelessAppletDbus.[ch]
19494                 - Expose network_device_[un]ref()
19495                 - Expose wireless_network_[un]ref()
19496                 - (wireless_network_new_with_essid): new function, create and return
19497                         a wireless network with a particular essid
19498
19499         * panel-applet/NMWirelessApplet.c
19500                 - Hook up the "other network" dialog to do something
19501
19502 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19503
19504         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19505         doesn't work yet, but it looks okay.
19506
19507         * panel-applet/icons/*png: Resize to 22x22 and install in the
19508         right place.
19509
19510 2004-10-13 Dan Williams <dcbw@redhat.com>
19511
19512         * panel-applet/NMWirelessApplet.c
19513                 - Add function to print out applet_state in a readable
19514                         manner
19515
19516         * src/NetworkManager.c
19517                 - (main): Don't segfault when nm_dbus_init() fails, we had
19518                         a left-over call to hal_shutdown() into which we passed NULL
19519
19520         * src/NetworkManagerAP.c
19521                 - (nm_ap_set_essid): Allow NULL essids
19522
19523         * src/NetworkManagerAPList.[ch]
19524                 - More use of nm_ap_list_[un]lock ()
19525                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19526                         network/essid, just return nothing.  Also skip over NULL
19527                         essid access points in the list when searching
19528                 - (nm_ap_list_get_ap_by_address): new function
19529                 - (nm_ap_list_update_network): set the access point's key source to
19530                         NULL when the key returned from NetworkManagerInfo is NULL or
19531                         of 0 length
19532                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19533                         copy timestamp over too
19534                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19535                         find the correct ESSID for a blank-essid access point by searching
19536                         through another list and matching access point MAC addresses
19537                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19538
19539         * src/NetworkManagerDbus.c
19540                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19541                         may specify.  This is mainly for access points that don't
19542                         broadcast their essid.  So if the user tells us to associate with
19543                         some random ESSID that's not in our access point list, we find
19544                         out if the access point does in fact exist (by attempting association
19545                         and then matching that access point's MAC address with the essid the
19546                         user gave us) and then we switch to it.
19547                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19548                         to the returned list of networks for the "getNetworks" method
19549
19550         * src/NetworkManagerDevice.[ch]
19551                 - Extra debugging info for link detection
19552                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19553                         based on MAC address
19554                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19555                 - (nm_device_wireless_network_exists): new function, find out whether
19556                         a random ESSID exists by attempting to associate with it
19557                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19558                         device list as long as they have an AP MAC address we can use.
19559                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19560                         devices too.  Lets the applet update more frequently.
19561
19562         * src/backends/NetworkManagerGentoo.c
19563                 - Patch from: Robert Paskowitz
19564                         - Update backend code for Gentoo
19565                         - Implement nm_system_device_update_config_info ()
19566
19567         * test/nmclienttest.c
19568                 - (set_network_device): new function, takes a command-line argument
19569                         and tells NetworkManager to use that wireless network
19570
19571 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19572
19573         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19574         if the notification icon crashes 5 times within 5 seconds of each respawn 
19575
19576 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19577
19578         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19579         g_print.
19580
19581 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19582
19583         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19584
19585         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19586         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19587         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19588         Change the name of the icons.
19589
19590         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19591         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19592         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19593         (nm_menu_wireless_expose_event): Really bad hack to get the style
19594         to draw in the right color.
19595
19596 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19597
19598         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19599         Notification if it crashes
19600
19601 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19602
19603         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19604         (nmwa_dbus_get_string): remove unused functions
19605
19606         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19607         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19608         remove unused functions
19609
19610         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19611
19612 2004-10-12 Dan Williams <dcbw@redhat.com>
19613
19614         * panel-applet/NMWirelessAppletDbus.c
19615                 - New functions:
19616                         wireless_network_new
19617                         wireless_network_copy
19618                         network_device_new
19619                         network_device_copy
19620
19621         * src/NetworkManagerDevice.[ch]
19622                 - New functions:
19623                         nm_device_set_mode_managed
19624                         nm_device_set_mode_adhoc
19625                 - Use these functions where appropriate
19626                 - When creating a new wireless device, force the card
19627                         to managed/Infrastructure mode as soon as possible
19628
19629 2004-10-12 Dan Williams <dcbw@redhat.com>
19630
19631         * src/NetworkManagerDevice.c
19632                 - Force wireless cards into Infrastructure mode before we use them
19633
19634 2004-10-12 Dan Williams <dcbw@redhat.com>
19635
19636         * TODO
19637                 - Remove bit about static IP address support
19638
19639         * src/NetworkManagerUtils.c
19640                 - (nm_spawn_process): Add some error reporting
19641
19642         * src/NetworkManagerDevice.c
19643                 - (nm_device_activation_configure_ip): hook up to the static config
19644                         routines in the backends
19645
19646         * src/backends/NetworkManagerRedHat.c
19647                 - (nm_system_device_update_config_info): use shvar.c routines to
19648                         parse the config file iformation, not our own
19649                 - (nm_system_device_setup_static_ip4_config): new function, based
19650                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19651                         with a static IP address and gateway
19652
19653         * src/backends/shvar.[ch]
19654                 - Parser (filched from initscripts package) for ifcfg-* files
19655
19656         * src/backends/NetworkManagerSystem.h
19657           src/backends/NetworkManagerGentoo.c
19658           src/backends/NetworkManagerDebian.c
19659           src/backends/NetworkManagerSlackware.c
19660                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19661
19662 2004-10-11 Dan Williams <dcbw@redhat.com>
19663
19664         * TODO
19665                 - Remove bit about more robust AP diffing since I just implemented it
19666
19667 2004-10-11 Dan Williams <dcbw@redhat.com>
19668
19669         * src/NetworkManagerAP.c
19670                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19671                         enough RAM to allocate new AP structures, but return NULL instead
19672
19673         * src/NetworkManagerAPList.[ch]
19674                 - (nm_ap_list_is_empty): new function
19675                 - (nm_ap_list_combine): new function, combine two access point lists
19676                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19677                         into another
19678
19679         * src/NetworkManagerDevice.[ch]
19680                 - Rename some functions to be clearer:
19681                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19682                         nm_device_just_activated     -> nm_device_is_just_activated
19683                         nm_device_activating         -> nm_device_is_activating
19684                         nm_device_now_scanning       -> nm_device_is_scanning
19685                 - Cache the last 4 scans so that the access point list is more stable.
19686                         We combine the lastest two scans and use that as the AP list,
19687                         and diff that combined list against the combination of the earliest
19688                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19689
19690 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19691
19692         * info-daemon/NWManagerInfo.h
19693                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19694
19695         * info-daemon/NWManagerInfoDbus.c
19696                 - (shutdown_callback): new function
19697                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19698                         if NetworkManager goes away.  Kill the timeout
19699                         if NetworkManager restarts before the 30 seconds
19700                         are up.
19701                 - (nmi_dbus_service_init): 
19702                         - call gtk_main_quit if NetworkManager is not running
19703                         - add filters to monitor dbus service creations and
19704                                 deletions
19705         
19706 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19707
19708         * panel-applet/NMWirelessApplet.c
19709                 - (nmwa_update_state): Hide notification icon if we are only
19710                         showing one wired card and no wireless interfaces 
19711                         (Red Hat Bug #134895)
19712
19713         * panel-applet/NMWirelessAppletDbus.c
19714                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19715
19716         * info-daemon/NWManagerInfo.c
19717                 - (main): Terminated the notification_icon_cmd array with a NULL
19718
19719 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19720
19721         * configure.in (ALL_LINGUAS): Added de (German).
19722
19723 2004-10-08 Dan Williams <dcbw@redaht.com>
19724
19725         * src/NetworkManagerDevice.c
19726                 - Be a bit more robust about link checking, ie make sure that
19727                         the WEP key we were given actually has some data in it
19728
19729 2004-10-08 Dan Williams <dcbw@redhat.com>
19730
19731         * info-daemon/NetworkManagerInfo.c (main):
19732                 - Initialize GError object to NULL
19733
19734 2004-10-08 Dan Williams <dcbw@redhat.com>
19735
19736         * panel-applet/NMWirelessAppletDbus.c
19737                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19738
19739 2004-10-08 Dan Williams <dcbw@redhat.com>
19740
19741         * info-daemon/NetworkManagerInfo.[ch]
19742           info-dameon/NetworkManagerInfoDbus.[ch]
19743           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19744                 - Preserve original label text in the passphrase dialog so that
19745                         it actually gets updated with the new network name the next
19746                         time around.  Previously, we were overwriting it so you'd get
19747                         the wrong network name to enter a key for
19748                 - Add a "Key Type" combo to the passphrase dialog, user selects
19749                         encryption key type now, type is stored in GConf too
19750                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19751
19752         * src/NetworkManagerAP.[ch]
19753                 - Remove all the encyption method magic.  It's now set by the user
19754                         and NetworkManager retrieves the type of encryption key from
19755                         NetworkManagerInfo
19756
19757         * src/NetworkManagerAPList.[ch]
19758           src/NetworkManagerDbus.[ch]
19759                 - Adjust to new way of setting encryption key and method
19760                 - Pull encryption method down from NMI along with key
19761
19762         * src/NetworkManagerDevice.[ch]
19763                 - Removed encryption method fallback magic as the method is now
19764                         determined by the user.  This greatly simplifies the connection
19765                         logic.
19766                 - More robust connection/link logic.  Besides removing the encryption
19767                         method fallback magic, check whether or not the card is receiving
19768                         invalidly encrypted packets, which usually indicates that we have
19769                         a bad WEP key set.
19770                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19771
19772         * test/nminfotest.c
19773                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19774
19775 2004-10-07 Dan Williams <dcbw@redhat.com>
19776
19777         * info-daemon/NetworkManagerInfo.conf
19778                 - Allow root user to run NMI too
19779
19780 2004-10-06 Dan Williams <dcbw@redhat.com>
19781
19782         * src/NetworkManagerDevice.[ch]
19783           src/NetworkManagerDbus.c
19784           doc/NetworkManager DBUS API.txt
19785                 - Add a new status tag "scanning", which is set when there
19786                         is no active network connection, but NetworkManager is
19787                         looking for an access point to associate with
19788
19789         * panel-applet/main.c
19790                 - Cast the applet appropriately for gtk_widget_show_all ()
19791
19792 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19793
19794         * panel-applet/eggtrayicon.[ch]:
19795         * panel-applet/main.c: Add missing file
19796
19797 2004-10-04 Dan Williams <dcbw@redhat.com>
19798
19799         * src/NetworkManagerDevice.[ch]
19800                 - Add a slightly more robust method of determining if the WEP key
19801                         is correct or not, by checking the WEP-discarded packet count
19802                         on the card
19803
19804         * info-daemon/NetworkManagerInfo.c
19805                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19806                         un-escape values we pull out rather than escaping them
19807
19808 2004-10-03  Marcel Telka  <marcel@telka.sk>
19809
19810         * configure.in (ALL_LINGUAS): Added sk.
19811
19812 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19813
19814         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19815         and feel.  We should be back to working, and have a good, clean
19816         look.
19817
19818 2004-09-30 Dan Williams <dcbw@redhat.com>
19819
19820         * info-daemon/NetworkManagerInfo.c
19821           info-daemon/NetworkManagerInfoDbus.c
19822           test/nminfotest.c
19823                 - Escape ESSIDs in gconf
19824
19825         * src/NetworkManagerDevice.c
19826                 - Fix pseudo-scanning to use netowrk list from info daemon
19827
19828 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19829
19830         * configure.in: Add a temporary --enable-notification-icon.  This
19831         will prolly go away.
19832
19833         * info-daemon/Makefile.am:
19834         * info-daemon/NetworkManagerInfo.c:
19835         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19836
19837         * panel-applet/Makefile.am:
19838         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19839         * panel-applet/NMWirelessApplet.h:
19840
19841 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19842
19843         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19844         before 'select custom ESSID'.
19845
19846         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19847         fully complete, but syncing in prep for merge.
19848
19849         * panel-applet/icons/*png: New images
19850
19851 2004-09-28 Dan Williams <dcbw@redhat.com>
19852
19853         * src/NetworkManager.c
19854           src/NetworkManagerDevice.c
19855           src/NetworkManagerPolicy.c
19856                 - Don't blow away an active wired connection on startup
19857
19858 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19859
19860         Changes from J5
19861         
19862         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19863
19864         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19865         syslog output
19866
19867 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19868
19869         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19870         have a wireless card.
19871
19872 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19873
19874         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19875         Also, get the right device strings.
19876
19877 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19878
19879         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19880         the logic to make this right.
19881
19882         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19883         devices so that wired networks are always first.
19884
19885 2004-09-22    <clarkbw@cvs.gnome.org>
19886
19887         * initscript/Debian/.cvsignore:
19888         * initscript/Slackware/.cvsignore:
19889         Added new cvsignores for Makefile, Makefile.in
19890         
19891         * test/.cvsignore:
19892         Added nmtestdevices
19893         
19894         * src/NetworkManagerDevice.c: 
19895         * src/NetworkManager.c: 
19896         Updated the wireless/wired HAL device strings from net.ethernet to
19897         net.80203 or net.80211 depending on wired or wireless respectively
19898         
19899         * examples/python/NetworkManager.py: 
19900         s/Quality/Strength/
19901
19902         * examples/python/systray/network_tray.py:
19903         Lots of little changes and fixes.  been rotting for a while so I
19904         figured I'd finally sync them all with CVS
19905
19906 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19907
19908         * configure.in: Add graphics
19909
19910         * panel-applet/Makefile.am: Add graphics
19911
19912         * panel-applet/icons/*: Add graphics
19913
19914         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19915         the icons fully lined up.
19916
19917         * panel-applet/menu-info.c: 
19918         * panel-applet/menu-info.h: Add another menu type.
19919
19920 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19921
19922         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19923
19924         * panel-applet/menu-item.[ch]: Wireless menu item.
19925
19926 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19927
19928         * info-daemon/NetworkManagerInfo.conf
19929                 - Created a more robust security policy for the DBus service
19930                         - everything is denied by default
19931                         - root can own and send to the service
19932                         - users logged in at the console can send to the service
19933
19934 2004-09-13  Dan Williams <dcbw@redhat.com>
19935
19936         * src/NetworkManagerDevice.c
19937                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19938                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19939                         the latter
19940
19941 2004-09-13  Dan Williams <dcbw@redhat.com>
19942
19943         * TODO: fix typo
19944
19945         * docs/NetworkManager DBUS API.txt
19946                 - Update for new signal strength changes
19947
19948         * panel-applet/NMWirelessApplet.c
19949                 - Make panel icon show strength of the current connection
19950                 - Cleanups and memleak fixes
19951
19952         * panel-applet/NMWirelessApplet.h
19953                 - Add data members for signal strength on devices and networks
19954
19955         * panel-applet/NMWirelessAppletDbus.c
19956                 - Free more DBusErrors
19957                 - Update for new signal strength changes
19958                 - Make devices and networks more like real objects, use ref/unref methods
19959                 - Actually unlock the mutex when updating the active device
19960
19961         * src/NetworkManagerAP.c
19962                 - Change AP functions and data members from "quality"->"strength"
19963
19964         * src/NetworkManagerDbus.c
19965                 - Kill "getMaxQuality" and "getQuality" methods
19966                 - Add "getStrength" methods for Networks and Devices
19967
19968         * src/NetworkManagerDevice.[ch]
19969                 - Add accessors for device strength
19970                 - Add functions to update strength for a device.  Note that not all drivers
19971                         actually support signal strength for scanned access points (Atmel drivers
19972                         being one)
19973                 - Calculate signal strength for each AP during scan
19974
19975         * src/NetworkManagerWireless.[ch]
19976                 - Add function to return signal strength % from a device and a raw quality struct
19977
19978         * test/nmclienttest.c
19979                 - Update for new signal strength changes
19980
19981 2004-09-11  Dan Williams <dcbw@redhat.com>
19982
19983         * src/NetworkManager.c
19984                 - Fix race condition between initscripts and NM on card insertion
19985                         which could cause a card to keep an IP address and routes around
19986                         even when it was not the active device
19987
19988         * src/NetworkManagerDbus.c
19989                 - Fix compile errors, free more DBusErrors
19990
19991 2004-09-11  Dan Williams <dcbw@redhat.com>
19992
19993         * docs/NetworkManager DBUS API.txt
19994                 - Add an explanation of NM's API
19995
19996         * src/NetworkManagerDbus.c
19997                 - Free some more DBusErrors if needed
19998
19999 2004-09-11  Dan Williams <dcbw@redhat.com>
20000
20001         * panel-applet/NMWirelessApplet.c
20002           panel-applet/NMWirelessAppletDbus.c
20003                 - Start using NetworkDevice/WirelessNetwork structures in more places
20004                 - Update for unified device/network forcing in NetworkManager
20005
20006         * src/NetworkManager.c
20007                 - some code consolidation
20008
20009         * src/NetworkManagerDbus.c
20010                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20011                         or two arguments:  the first is the NM ID of the device to switch to,
20012                         and the second (optional) argument is the ESSID of a wireless network
20013                         to use as well.
20014                 - Get rid of "setNetwork" method due to above change
20015
20016         * src/NetworkManagerDevice.c
20017                 - (nm_device_new): perform scan and update best AP on device creation
20018                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20019                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20020                         spin waiting for cancellation to finish before returning
20021
20022         * src/NetworkManagerPolicy.c
20023                 - Changes here clarify the situations in which a device switch occurs, and 
20024                         make sure to keep using a forced device and network if the user gives
20025                         us one
20026                 - Remove old unused code
20027
20028 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20029
20030         * configure.in: Added Danish (da) to ALL_LINGUAS.
20031
20032 2004-09-09  Dan Williams <dcbw@redhat.com>
20033
20034         * panel-applet/NMWirelessAppletDbus.c
20035                 - Pull fresh devices and networks from NM when wireless networks
20036                         change.  Provides faster feedback of a forced wireless network
20037
20038         * src/NetworkManagerDbus.c
20039                 - Return error when "getMaxQuality" is called on a wired device
20040                 - Make best_ap freezing actually work again, and signal cancellation
20041                         of activation if there's already a device activation when the user
20042                         freezes the best_ap
20043
20044         * src/NetworkManagerDevice.c
20045                 - Don't clear out the best_ap for wireless devices when the link goes
20046                         down, that's done elsewhere
20047                 - Kill any dhcp daemons when cancelling device activation since they
20048                         may be stuck waiting for a DHCP address, and since we're cancelling
20049                         activation we don't care about that anymore
20050
20051         * src/NetworkManagerPolicy.c
20052                 - Make sure to unref the device we ref earlier (we refed it to make sure
20053                         it stuck around during device activation and such)
20054                 - If we were going to change the best device, but its activating currently
20055                         (and therefore the change didn't occur due to the check earlier)
20056                         we mark the state changed to we come back to it later when device
20057                         activation has canceled and its no longer activating
20058
20059         * src/backends/NetworkManagerRedHat.c
20060                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20061
20062 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20063
20064         * info-daemon/passphrase.glade: 
20065         set passphrase input to activates_default : True
20066
20067         * examples/python/systray/network_tray.py
20068         (network_tray.sort_networks):
20069
20070         Added support for having wireless always scanning
20071
20072 2004-09-09  Dan Williams <dcbw@redhat.com>
20073
20074         NOTE: this commit changes the behavior of wireless devices in
20075         NetworkManager.  They are now up all the time, scanning all
20076         the time.  Only the active device has an IP address and routing
20077         information set up however.  Also, NetworkManager will no longer
20078         opportunistically switch wireless networks when a better one
20079         comes in range, it will remain associated with one wireless network
20080         until that one drops out.
20081
20082         * panel-applet/NMWirelessApplet.c
20083           panel-applet/NMWirelessAppletDbus.c
20084                 - List all wireless cards and their respective networks
20085
20086         * src/NMLoadModules
20087                 - Use full path to /sbin/ip
20088
20089         * src/NetworkManager.c
20090                 - Keep wireless devices up all the time so they can scan
20091
20092         * src/NetworkManagerDbus.c
20093                 - On a WirelessNetworkUpdate signal from NMI, don't update
20094                         the "best" AP
20095
20096         * src/NetworkManagerDevice.c
20097                 - (nm_device_set_link_active): clear out the best ap for
20098                         wireless devices when the link is set to FALSE
20099                 - Scan on all wireless cards, all the time
20100                 - (nm_device_activation_worker): split out the wireless card
20101                         link-waiting code to a separate function
20102                 - Keep wireless cards up even if device activation fails
20103                 - Don't update the "best" ap as much
20104
20105         * src/NetworkManagerPolicy.c
20106                 - Don't update the best ap when checking if its frozen,
20107                         let link checking clear out a frozen best ap for us
20108
20109         * src/NetworkManagerWireless.c
20110                 - Scan on all wireless cards, all the time
20111
20112 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20113
20114         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20115
20116 2004-09-09  Ankit Patel <ankit@redhat.com>
20117
20118         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20119
20120 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20121
20122         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20123
20124 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20125
20126         * examples/python/NetworkManager.py: 
20127         added CONNECTED, CONNECTING, and DISCONNECTED states
20128         added methods to return number of devices of a single type
20129
20130         * examples/python/systray/network_tray.py: 
20131         did some tweaks to get the menu looking near what it is supposed
20132         to look like.  Also did a Airo card hack to make it show the
20133         correct AP quality
20134
20135 2004-09-08  Dan Williams <dcbw@redhat.com>
20136
20137         * panel-applet/no-networkmanager.png
20138           panel-applet/Makefile.am
20139           panel-applet/NMWirelessApplet.c
20140                 - Add a "NetworkManager not running" icon and use it
20141                 - Use new consolidated GConf keys rather than Preferred/Trusted
20142
20143         * TODO: update
20144
20145         * info-daemon/NetworkManagerInfo.c
20146           info-daemon/NetworkManagerInfoDbus.[ch]
20147           info-daemon/NetworkManagerInfoPassphraseDialog.c
20148                 - There are now no longer two separate lists of wireless networks,
20149                         but one list where each network is "trusted" or not trusted
20150                 - Add a "getNetworkTrusted" dbus method
20151                 - "WirelessNetworkUpdate" signal now sent rather than
20152                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20153                 - Start freeing some dbus errors (not completed yet)
20154
20155         * info-daemon/passphrase.glade
20156                 - Remove the "don't show" hints for pager and taskbar
20157                 - Add a title since its going to be in the taskbar
20158
20159         * src/NetworkManager.[ch]
20160           src/NetworkManagerAPList.[ch]
20161                 - There are now no longer two separate lists of wireless networks,
20162                         but one list where each network is "trusted" or not trusted
20163
20164         * src/NetworkManagerAP.[ch]
20165                 - Add get/set "trusted" accessors and data bit
20166
20167         * src/NetworkManagerDbus.[ch]
20168                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20169                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20170
20171         * src/NetworkManagerDevice.[ch]
20172                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20173                 - (nm_device_new): Get device config from backend when initializing devices
20174                 - (nm_device_activation_worker): Split out device configuration on
20175                         activation to deal with static/dynamic IP differences, and try encryption
20176                         fallbacks on a device if the encryption method for the best AP is not good
20177                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20178                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20179
20180         * src/NetworkManagerWireless.c
20181                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20182
20183         * src/backends/NetworkManagerRedHat.c
20184           src/backends/NetworkManagerSystem.h
20185                 - (nm_system_device_update_config_info): Add function to get device configuration
20186                         from system data in ifcfg-* files
20187
20188         * src/backends/NetworkManagerDebian.c
20189           src/backends/NetworkManagerGentoo.c
20190           src/backends/NetworkManagerSlackware.c
20191                 - Add stub functions for getting device configuration
20192
20193 2004-09-07  Dan Williams <dcbw@redhat.com>
20194
20195         * src/backends/NetworkManagerRedhat.c
20196           src/backends/NetworkManagerSlackware.c
20197                 - Use full path to /sbin/ip everywhere
20198
20199 2004-09-07  Dan Williams <dcbw@redhat.com>
20200
20201         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20202
20203         * configure.in
20204           initscript/Makefile.am
20205           initscript/Slackware/Makfile.am
20206           initscript/Slackware/rc.networkmanager
20207           src/Makefile.am
20208           src/backends/NetworkManagerSlackware.c
20209                 - Add Slackware support
20210
20211 2004-09-07  Dan Williams <dcbw@redhat.com>
20212
20213         Patches below from:
20214                 <j@bootlab.org>
20215                 Mark Roach <mrroach@okmaybe.com>
20216                 Thom May <thom@debian.org>
20217
20218         * configure.in
20219           initscript/Debian/NetworkManager
20220           initscript/Debian/Makefile.am
20221                 - Initscript for Debian
20222
20223         * src/backends/NetworkManagerDebian.c
20224                 - Add missing system init function to allow compilation
20225                         on Debian
20226
20227 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20228
20229         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20230
20231 2004-09-03  Akagic Amila <bono@linux.org.ba>
20232
20233         * configure.in: Added 'bs' to ALL_LINGUAS.
20234
20235 2004-09-02  Colin Walters  <walters@verbum.org>
20236
20237         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20238         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20239         g_strdup_printf instead of arbitrarily sized buffers.
20240
20241 2004-09-01  Colin Walters  <walters@verbum.org>
20242
20243         * NetworkManager.pc.in: New file.
20244
20245         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20246
20247 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20248         
20249         * configure.in: Punjabi(pa) is added to po/.
20250
20251 2004-08-31  Dan Williams <dcbw@redhat.com>
20252
20253         * Remove 'debug' extern global from all files since we now
20254                 use syslog()
20255
20256         * src/NetworkManager.[ch]
20257                 - Break out routine that get the net.interface property from HAL,
20258                         removing that logic from nm_create_device_and_add_to_list()
20259                 - (nm_create_device_and_add_to_list): make this a bit more general so
20260                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20261                         the create of test devices.
20262                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20263                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20264                         which makes NetworkManager listen for dbus commands to create test
20265                         devices, which have no backing hardware.  Use when you're on a plane
20266                         for example, and/or forgot your wireless card at home.  Test devices
20267                         _cannot_ be created unless NM is started with --enable-test-devices.
20268
20269         * src/NetworkManagerDbus.[ch]
20270                 - New "getLinkActive" method for devices
20271                 - New "setLinkActive" method for devices (only works on test devices)
20272                 - New "createTestDevice" method on NetworkManager object to create a test
20273                         device of a specified type (ie wired, wireless).  UDI is created from
20274                         scratch, as is the interface name.  Only works when NM is started with
20275                         --enable-test-devices switch.
20276                 - New "removeTestDevice" method on NetworkManager object which removes a
20277                         test device.  Only works when NM is started with --enable-test-devices
20278
20279         * src/NetworkManagerDevice.[ch]
20280                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20281                         whether a device is a test device or not, and what its link status is.
20282                 - Deal with test devices in most functions.  For those that work directly on hardware
20283                         special-case test devices.
20284                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20285                         command-line.
20286                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20287                         checking to separate functions to facilitate test device link checking.
20288                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20289                         don't make a distinction between System Authentication and Encryption
20290                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20291                         on the card.  We don't deal with Shared Key auth yet.
20292                 - (nm_device_activation_worker): split the activation cancel check logic out into
20293                         a separate routine nm_device_activation_cancel_if_needed()
20294                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20295                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20296                         a list of fake access points that they can "see"
20297                 - (nm_device_is_test_device): return whether or not a device is a test device
20298
20299         * src/NetworkManagerPolicy.c
20300                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20301                         previously if you "locked"/forced NM to use a wireless device but then
20302                         selected a wireless network for NM to use, it would switch to a wired device.
20303                         So, if the active device is wireless and it has a "forced" best AP, use it
20304                         if the "forced" best AP is still valid
20305                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20306                         there were no usable network devices, or the last one was removed
20307
20308         * src/backends/NetworkManager*.c
20309                 - Deal with test devices, mostly just return success for operations like getting
20310                         a DHCP address
20311
20312         * test/nmtestdevices.c
20313                 - Test tool to create/remove/link-switch test devices
20314
20315 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20316
20317         * examples/python/NetworkManager.py: 
20318         added convience functions has_wired_device and has_wireless_device
20319
20320         * examples/python/systray/network_tray.py: 
20321         cleaned up a bunch of cruft, added support for listing wireless
20322         networks just like the real applet.  This is probably all I'm
20323         going to work on this applet from now on.
20324         TODO: add support for actually changing networks and devices
20325
20326         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20327         changed "nm.networks" into a dict from a list so I can store all
20328         the cool information about networks in there
20329
20330         * examples/python/systray/network_tray.py: 
20331         Added nice message when you try to run without running make first
20332
20333         * examples/python/NetworkManager.py: 
20334         Bug fixes to the code so we get all the device information
20335         that we need in get_device()
20336         
20337         * examples/python/NMTester.py: 
20338         Fixed _print_device_list to print_device_list
20339
20340 2004-08-29  Seth Nickell  <seth@gnome.org>
20341
20342         * configure.in:
20343
20344         Actually properly setup the Debian backend in configure.
20345         
20346 2004-08-29  Colin Walters  <walters@verbum.org>
20347
20348         * test/nminfotest.c: Include string.h and stdlib.h.
20349         (get_network_string_property, get_networks_of_type): Return NULL.
20350
20351         * test/nmclienttest.c (get_device_name, get_active_device): Return
20352         NULL.
20353
20354         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20355         use strlen, fgets always NULL-terminates the string.
20356
20357         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20358         dbus_message_get_member): Remove /* in comment.
20359
20360         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20361
20362         * src/NetworkManager.c (quit): Unused, delete.
20363         (nm_data_free): Cast arg to GFunc.
20364
20365         * panel-applet/NMWirelessAppletDbus.c: Need to include
20366         string.h, and dbus-glib-lowlevel.h (the latter is needed
20367         for dbus_connection_setup_with_g_main at present).
20368         (nmwa_dbus_update_wireless_network_list): Parenthesize
20369         assignment in conditional.
20370         (nmwa_dbus_worker): Return NULL.
20371
20372         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20373         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20374         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20375         (nmwa_populate_menu): Return NULL on failure, instead of just
20376         return;
20377
20378         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20379
20380         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20381         variables.
20382
20383         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20384         delete.
20385         
20386 2004-08-29  Colin Walters  <walters@verbum.org>
20387
20388         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20389         a GTimeVal instead of time_t.  This is easier to work with,
20390         since time_t may be a long or double, we don't know.
20391
20392         * src/NetworkManagerDbus.h: Update prototype.
20393         
20394         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20395         instead of time_t.
20396         (nm_ap_get_timestamp): Update to return GTimeVal.
20397         (nm_ap_set_timestamp): Update to take GTimeVal.
20398         
20399         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20400         to handle GTimeVal.
20401
20402         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20403         GTimeVal change.
20404         (nm_ap_list_print_members): Fix warnings in printf format.
20405
20406 2004-08-29  Colin Walters  <walters@verbum.org>
20407         
20408         * panel-applet/NMWirelessApplet.c: Include config.h.
20409
20410 2004-08-29  Colin Walters  <walters@verbum.org>
20411
20412         * configure.in: Generate config.h.
20413
20414         * configure.in: Dump dependency on OpenSSL; we can't
20415         use it since this package is GPL:
20416         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20417         Instead, check for libgcrypt, use it if available,
20418         otherwise use included MD5 code.
20419
20420         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20421         Suck in from gnome-keyring, munge a bit.
20422         
20423         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20424         gnome-keyring-md5.h gnome-keyring-md5.c.
20425         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20426
20427         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20428         libgcrypt or included gnome-keyring md5 bits.
20429         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20430
20431 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20432
20433         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20434
20435 2004-08-27  Bryan Clark  <bclark@redhat.com>
20436
20437         * examples/python/systray/Makefile: 
20438
20439         Updated the clean section
20440         
20441         * examples/python/systray/trayiconmodule.c: 
20442         * examples/python/systray/trayicon.override: 
20443         * examples/python/systray/network_tray.py: 
20444         * examples/python/systray/eggtrayicon.h: 
20445         * examples/python/systray/eggtrayicon.c: 
20446         * examples/python/systray/Makefile: 
20447         * examples/python/README: 
20448         * examples/python/NetworkManager.py: 
20449         * examples/python/NMTester.py: 
20450
20451         Initial commit of these python example files
20452
20453 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20454
20455         * panel-applet/NMWirelessApplet.c
20456                 - Make current device bold
20457                 - Show more user-friendly device name if we got one from hal
20458
20459         * panel-applet/NMWirelessAppletDbus.c
20460                 - Grab "info.product" key from hal for network devices
20461                 - Cache the current active device
20462
20463 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20464
20465         * configure.in: Added en_CA to ALL_LINGUAS.
20466
20467 2004-08-27  Christian Rose  <menthos@menthos.com>
20468
20469         * configure.in: Added "sv" to ALL_LINGUAS.
20470
20471 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20472
20473         * Tag NetworkManager-0.2
20474
20475 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20476
20477         * initscripts/Makefile.am
20478         * configure.in: Make pass distcheck
20479
20480         * po/ChangeLog: added
20481
20482 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20483
20484         * panel-applet/NMWirelessApplet.c
20485                 - Remove debugging code
20486                 - Enable device switching from menus
20487
20488         * panel-applet/NMWirelessAppletDbus.[ch]
20489                 - Method for asking NM to switch devices
20490
20491         * src/NetworkManagerDevice.c
20492                 - Set dev->activating earlier, avoids race between
20493                         the dbus signal of "DeviceActivating" and setting
20494                         dev->activating (which is what NM's "status" method call
20495                         looks at)
20496
20497 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20498
20499         * panel-applet/NMWirelessApplet.[ch]
20500                 - Rework menu code to add devices to menu, and to show
20501                         signal strength for each access point.  Code cleanups
20502                         too.
20503
20504         * panel-applet/NMWirelessAppletDbus.c
20505                 - Grab network devices from NetworkManager too
20506                 - Grab quality information from NM for wireless networks
20507
20508         * src/NetworkManagerDbus.[ch]
20509                 - Add dbus methods for getting the HAL UDI from a device and
20510                         for getting its base quality, if its wireless
20511                 - Consolidate some functions (wireless network notifications,
20512                         device notifications)
20513                 - Add method for requesting NM to use a particular device
20514
20515         * src/NetworkManager.c
20516                 - Change for function consolidations from NetworkManagerDbus.c
20517                 - Implement active device locking and user-requested devices
20518                         (ie, tell NM to use a particular device instead of the one
20519                         it autochose)
20520
20521         * src/NetworkManagerDevice.c
20522                 - Add method for getting the base quality of a device, if its
20523                         wireless
20524                 - Grab device base quailty info from iwlib during scans
20525
20526         * src/NetworkManagerPolicy.c
20527                 - Use a user-requested device rather than the auto-chosen device
20528                         if we are told to
20529
20530 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20531
20532         * Makefile.am: add po as a supdir
20533
20534         * autogen.sh: use gnome-autogen.sh
20535
20536         * initscript/Gentoo/.cvsignore:
20537         * initscript/RedHat/.cvsignore: Shut up cvs
20538
20539         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20540
20541         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20542         (nmwa_fill): Use gettext.
20543
20544         * configure.in: add gettext support
20545         * po/.cvsignore:
20546         * po/NetworkManager.pot:
20547         * po/POTFILES.in:
20548
20549 2004-08-26  Seth Nickell  <seth@gnome.org>
20550
20551         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20552         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20553         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20554         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20555         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20556         * panel-applet/NMWirelessApplet.h:
20557
20558         Use a menu bar instead of a button for the main clickable
20559         thingy.
20560         
20561 2004-08-25  Dan Williams <dcbw@redhat.com>
20562
20563         * src/NetworkManagerDevice.c
20564                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20565                         turning encryption off, because the Cisco driver doesn't associate
20566                         with WEP-enabled access points unless we are in "open"
20567
20568 2004-08-25  Dan Williams <dcbw@redhat.com>
20569
20570         * src/NetworkManagerWireless.c
20571                 - Don't try to defererence blank passphrases
20572
20573 2004-08-25  Dan Williams <dcbw@redhat.com>
20574
20575         * panel-applet/NMWirelessApplet.c
20576                 - Rebuild the menu whenever a user clicks
20577
20578 2004-08-25  Dan Williams <dcbw@redhat.com>
20579
20580         * panel-applet/NMWirelessApplet.c
20581                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20582                         when NM isn't around or when its not connected
20583
20584         * src/NetworkManagerDevice.c
20585                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20586                         canceled.
20587
20588 2004-08-25  Dan Williams <dcbw@redhat.com>
20589
20590         * panel-applet/NMWirelessAppletDbus.c
20591                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20592                         for getting encryption, and don't stop on "val" once we've gotten it
20593                         from NetworkManager.  Short form:  encryption should now show up.
20594
20595 2004-08-25  Dan Williams <dcbw@redhat.com>
20596
20597         * panel-applet/NMWirelessApplet.c
20598                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20599                         network to associate with
20600
20601 2004-08-25  Dan Williams <dcbw@redhat.com>
20602
20603         * panel-applet/*
20604                 - Rework the panel applet to do all DBUS communication in a separate
20605                         thread
20606
20607 2004-08-25  Dan Williams <dcbw@redhat.com>
20608
20609         * info-daemon/NetworkManagerInfo.[ch]
20610                 - Remove "get_next_priority" function
20611
20612         * info-daemon/NetworkManagerInfoDbus.[ch]
20613                 - Convert "priority" functions to "timestamp"
20614
20615 2004-08-25  Dan Williams <dcbw@redhat.com>
20616
20617         * src/NetworkManagerAP.[ch]
20618                 - Add a "enc_method_good" member and accessors to an Access Point
20619                         to signal when we've found the correct encryption method
20620                         for an access point
20621                 - Add a "timestamp" member and accessors, remove "priority" member
20622                         and accessors (use timestamps instead)
20623                 - Rename "wep_key"->"enc_key"
20624                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20625                         for a specified encryption method using the access points
20626                         source encryption key/passphrase
20627
20628         * src/NetworkManagerAPList.c
20629                 - When updating a network with dbus, grab timestamp now instead of
20630                         priority
20631
20632         * src/NetworkManagerDBus.[ch]
20633                 - Add signal for "DeviceActivating"
20634                 - Switch priority->timestamp
20635
20636         * src/NetworkManagerDevice.c
20637                 - Change references of "wep_key" -> "enc_key" or "key"
20638                 - Signal DeviceActivating when starting activation
20639                 - When activating a wireless device, if the access point we are connecting
20640                         to is encrypted, and we have a source key, try to generate a mangled
20641                         key and use that (ie, generate real WEP key from a passphrase)
20642                 - Rework device activation to fallback to other encryption methods if
20643                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20644                         first, then if that doesn't work fall back to direct hex key).
20645                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20646                         priority.  We now prefer the latest access point used, rather than using
20647                         a priority scheme
20648                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20649                         points we've just discovered, and merge in correct info from the global
20650                         access point lists
20651
20652 2004-08-25  Seth Nickell  <seth@gnome.org>
20653
20654         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20655         Debian support.
20656         
20657         * src/Makefile.am:
20658         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20659         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20660         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20661         (nm_system_delete_default_route),
20662         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20663         (nm_system_load_device_modules):
20664
20665 2004-08-24  Dan Willemsen <dan@willemsen.us>
20666
20667         * src/NetworkManager.c
20668           src/backends/NetworkManagerGentoo.c
20669           src/backends/NetworkManagerRedHat.c
20670           src/backends/NetworkManagerSystem.h
20671                 - Implement preliminary Gentoo support, adding a
20672                         nm_system_init function to the backend specification
20673
20674         * configure.in
20675                 - Distribution auto-detection, lowercase any user-fed
20676                         distribution names
20677
20678         * initscript/.cvsignore
20679           initscript/Makefile.am
20680           initscript/RedHat/Makefile.am
20681           initscript/RedHat/NetworkManager
20682           initscript/Gentoo/Makefile.am
20683           initscript/Gentoo/NetworkManager
20684                 - Refactored initscript code separately for each
20685                         distribution
20686
20687 2004-08-23  Dan Williams <dcbw@redhat.com>
20688
20689         * configure.in
20690           src/Makefile.am
20691           src/NetworkManagerDevice.c
20692           src/NetworkManager.c
20693           src/NetworkManagerUtils.[ch]
20694           src/backends/NetworkManagerSystem.h
20695           src/backends/NetworkManagerRedHat.c
20696           src/backends/NetworkManagerGentoo.c
20697                 - Refactor system-specific code into separate backends for
20698                         each distribution
20699
20700 2004-08-23  Dan Willemsen <dan@willemsen.us>
20701
20702         * dispatcher-daemon/NetworkManagerDispatcher.c
20703           info-daemon/NetworkManagerInfo.[ch]
20704           info-daemon/NetworkManagerInfoDbus.c
20705           info-daemon/NetworkManagerInfoPassphraseDialog.c
20706           src/NetworkManager.c
20707           src/NetworkManagerAP.c
20708           src/NetworkManagerAPList.c
20709           src/NetworkManagerDbus.c
20710           src/NetworkManagerDevice.c
20711           src/NetworkManagerPolicy.c
20712           src/NetworkManagerUtils.[ch]
20713           src/NetworkManagerWireless.c
20714                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20715
20716         * src/NetworkManager.c
20717                 - Fixed usage wording for --no-daemon
20718
20719 2004-08-23  Dan Williams <dcbw@redhat.com>
20720
20721         * panel-applet/NMWirelessApplet.c
20722                 - Update our state every second to get more responsive panel icon
20723                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20724                         was causing our marching ants status blips to never move when
20725                         looking for a wireless network
20726
20727         * src/NetworkManagerDevice.c
20728                 - (nm_device_activation_begin): return if activation has already begun
20729                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20730                         trusted/preferred network into the device's access point when the
20731                         scan list is processed
20732
20733 2004-08-23  Dan Williams <dcbw@redhat.com>
20734
20735         * initscript/NetworkManager
20736                 - Use NMLaunchHelper rather than sleeping
20737
20738         * initscript/NMLaunchHelper.c
20739           Makefile.am
20740                 - Add helper program that exits only when NM activates a device,
20741                         or 10 seconds have passed, whichever happens first.  This
20742                         stops the boot processes until we have a network connection,
20743                         which NM can't do because it daemonizes and brings the connection
20744                         up in the background.  Allows stuff like NFS to not die.
20745
20746 2004-08-20  Dan Williams <dcbw@redhat.com>
20747
20748         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20749                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20750                         for a network, set the essid as well since it may not exist yet
20751                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20752                         since WEP keys/passphrases are long and prone to entry-error
20753
20754         * panel-applet/Makefile.am
20755           panel-applet/wired.png
20756                 - Add (pulled from system-config-network temporarily)
20757
20758         * panel-applet/NMWirelessApplet.[ch]
20759                 - Show wired picture when a wired connection is used
20760                 - Rename wireless icon enums, adding WIRELESS
20761
20762         * src/NetworkManagerDevice.c
20763                 - (nm_device_activate_wireless): unset encryption before bringing
20764                         down the card and setting the essid
20765                 - (nm_device_activatin_worker): request a key from the user if the
20766                         AP we are connecting to is encrypted but we don't have a key
20767                         for it yet
20768                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20769                         strcmp() that prevented a user-entered key from actually getting
20770                         used
20771
20772 2004-08-16  Dan Williams <dcbw@redhat.com>
20773
20774         * initscript/NetworkManager
20775                 - Check for /sbin/ip
20776                 - Do sysctl magic that network service does
20777                 - sleep 4s after start to allow network time to come up [hack]
20778
20779         * src/Makefile.am
20780           src/NMLoadModules
20781                 - Load all network device kernel modules (hal doesn't know devices
20782                         are ethernet until the module is loaded, and therefore we don't know)
20783
20784         * src/NetworkManager.c
20785                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20786                         network devices, and bring up the loopback device explicitly
20787
20788         * src/NetworkManagerUtils.[ch]
20789                 - (nm_enable_loopback): new function
20790
20791 2004-08-13  Dan Williams <dcbw@redhat.com>
20792
20793         * configure.in
20794           panel-applet/Makefile.am
20795                 - Fix up cleanfiles and server_DATA/server_in_files
20796
20797         * README
20798                 - Update with some comments on theory of operation
20799
20800         * CONTRIBUTING
20801           Makefile.am
20802                 - Add CONTRIBUTING
20803
20804 2004-08-12  Dan Williams <dcbw@redhat.com>
20805
20806         * info-daemon/passphrase.glade
20807                 - Set window title to " "
20808
20809         * panel-applet/Makefile.am
20810           panel-applet/keyring.png
20811                 - Deliver to correct place
20812
20813         * panel-applet/NMWirelessApplet.[ch]
20814                 - Add comments
20815                 - Remove applet->have_active_device as its no longer used
20816                 - (nmwa_load_theme): load keyring.png too
20817                 - (error_dialog): remove
20818                 - (show_warning_dialog): subsume functionality of error dialog too
20819                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20820                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20821                         the networks menu
20822                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20823                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20824                         and when we get broadcasts of changed wireless access points only, not when the
20825                         user clicks on the button to display the menu (too long of a wait)
20826                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20827                         networks that are encrypted
20828                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20829                         menu item with g_object_set_data()
20830
20831         * panel-applet/NMWirelessAppletDbus.[ch]
20832                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20833                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20834                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20835                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20836                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20837                         activation/deactivation signals and rebuild the menu when they happen
20838
20839         * src/NetworkManager.c
20840                 - (main): use new nm_spawn_process() rather than system()
20841
20842         * src/NetworkManagerDbus.c
20843                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20844                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20845                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20846                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20847                         to freeze the best_ap.
20848
20849         * src/NetworkManagerDevice.[ch]
20850                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20851                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20852                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20853                         ap list
20854
20855         * src/NetworkManagerUtils.[ch]
20856                 - (nm_spawn_process): add replacement for system() usage
20857
20858 2004-08-11  Dan Williams <dcbw@redhat.com>
20859
20860         * panel-applet/NMWirelessApplet.[ch]
20861                 - Fix up copyright and credits to include Bastien and Eskil,
20862                         who created the gnome-applets wireless applet, from whose
20863                         skeleton this one was created
20864                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20865                         pixmap to draw is computed during nmwa_update_state()
20866                 - Applet now shows itself all the time due to panel packing issues
20867                         which caused the applet to previously never come back after hiding.
20868                         When a wired device is the active device, the applet shows "not connected"
20869
20870         * panel-applet/NMWirelessAppletDbus.[ch]
20871                 - Clean up error messages and show what function they are from
20872                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20873                 - Add new device type getters, and a status getter
20874
20875         * src/NetworkManagerDbus.c
20876                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20877                         network is actually in the device's ap list
20878                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20879
20880         * src/NetworkManagerDevice.c
20881                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20882                         card
20883
20884         * test/nmclienttest.c
20885                 - Report status of NetworkManager too
20886
20887 2004-08-11  Dan Williams <dcbw@redhat.com>
20888
20889         * info-daemon/NetworkManagerInfo.c:
20890                 - (main): clean up Seth's code style
20891
20892         * info-daemon/NetworkManagerInfoDbus.c:
20893                 - Use the more aptly-named path/service/interface constants from NetworkManager
20894                 - Don't return empty strings ("") as object paths ever, instead return errors
20895
20896         * panel-applet/NMWirelessApplet.c:
20897                 - Clean up Seth's code style
20898
20899         * src/NetworkManager.[ch]
20900                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20901                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20902
20903         * src/NetworkManagerAPList.[ch]
20904                 - Move Iter struct right above the iter functions to preserve opacity
20905                 - (nm_ap_list_remove_ap): implement
20906                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20907                         remove AP if NetworkManagerInfo doesn't know anything about it
20908                 - (nm_ap_list_diff): user NMAPList iterators
20909                 - (nm_ap_list_print_members): implement debugging function
20910
20911         * src/NetworkManagerDbus.[ch]
20912                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20913                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20914                         and move the actual key setting stuff into NetworkManagerDevice.c
20915                 - (nm_dbus_get_network_priority): return -1 now on errors
20916                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20917                         get lost, and force the active device to update its "best" ap when AP lists change
20918                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20919                         method call due to pending_device member removal
20920
20921         * src/NetworkManagerDevice.[ch]
20922                 - Move NMDevice structure to the top
20923                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20924                 - Remove Pending Action stuff from everywhere
20925                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20926                         activation for us.  This thread blocks until all conditions for activation have
20927                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20928                         then setup up the interface and runs dhclient.  We have to do this because there
20929                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20930                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20931                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20932                         can tell nm_device_activation_worker() that we've got a key
20933                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20934                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20935                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20936                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20937
20938         * src/NetworkManagerPolicy.c
20939                 - Remove anything to do with pending_device
20940                 - Adjust device activation to deal with activation-in-worker-thread
20941
20942         * src/NetworkManagerUtils.c
20943                 - Clean up locking debugging a bit
20944
20945         * src/NetworkManagerWireless.[ch]
20946                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20947                         was badly named and is better as a device function
20948
20949         * panel-applet/.cvsignore: add
20950
20951 2004-08-09  Seth Nickell  <seth@gnome.org>
20952
20953         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20954         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20955         (nmwa_new):
20956         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20957
20958         Don't load the menus until clicked on (also removes a call outside
20959         normal code paths at first load).
20960
20961         Hide applet when NM is not present.
20962         
20963         Improve printf debugging stuff.
20964         
20965 2004-08-09  Dan Williams <dcbw@redhat.com>
20966
20967         * dispatcher-daemon/NetworkManagerDispatcher.c:
20968                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20969                 - Use constants for NetworkManager interface, service, and path
20970
20971 2004-08-09  Dan Williams <dcbw@redhat.com>
20972
20973         * src/NetworkManagerDbus.c:
20974                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20975                         instead return an error message
20976                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20977                         on a wired device.  Also never return an empty object path, instead return an error message
20978
20979 2004-08-06  Seth Nickell  <seth@gnome.org>
20980
20981         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20982
20983         Check the error code when getting a connection.
20984         
20985         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20986
20987         Check if the NM service exists when initializing (rather than
20988         assuming it does not).
20989         
20990         * src/NetworkManagerDbus.c: (nm_dbus_init):
20991
20992         Don't acquire the well-known service name until we have
20993         registered object/path handlers and can actually receive
20994         calls.
20995         
20996 2004-08-06  Dan Williams <dcbw@redhat.com>
20997
20998         * panel-applet/*
20999                 - Add panel applet
21000
21001         * src/NetworkManagerPolicy.c
21002           src/NetworkManager.c
21003                 - Get access point lists from NetworkManagerInfo on-demand,
21004                         and look for ServiceCreate/ServiceDeleted signals to see when
21005                         we should query NMI for lists
21006         * src/NetworkManagerAPList.c
21007                 - Make sure to init the list's mutex
21008                 - Convert traversals of the list over to the list iter functions
21009
21010         * src/NetworkManagerDbus.[ch]
21011                 - Use more aptly-named path/service/interface constants
21012                 - Treat both active and pending devices the same for "getActiveDevice"
21013                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21014
21015         * src/NetworkManagerDevice.c
21016                 - Honor "ignored" network list when picking best ap to use
21017
21018 2004-08-06  Seth Nickell  <seth@gnome.org>
21019
21020         * aclocal.m4:
21021
21022         Autogenerated, remove from CVS.
21023         
21024         * autogen.sh:
21025
21026         Don't hardcode automake version.
21027         
21028         * configure.in:
21029         * info-daemon/Makefile.am:
21030         * info-daemon/NetworkManagerInfo.c: (main):
21031
21032         Use GnomeProgram et al. for doing session management.
21033         Use popt stuff for argument parsing rather than doing
21034         it manugally.
21035         
21036 2004-08-05  Dan Williams <dcbw@redhat.com>
21037
21038         * test/nminfotest.c
21039                 - Update to new NMI dbus API, check different network types
21040
21041         * info-daemon/NetworkManagerInfoDbus.c
21042                 - Update to new NM dbus API, ie network type sent in query message
21043
21044 2004-08-05  Dan Williams <dcbw@redhat.com>
21045
21046         * An assload of changes
21047
21048 2004-08-02  Dan Williams <dcbw@redhat.com>
21049
21050         * TODO
21051                 - new task: proper logging support
21052
21053         * info-daemon/NetworkManagerInfo.c
21054                 - Correct spelling of "canceled"
21055                 - Correct casting of objects for g_signal_connect()
21056
21057         * info-daemon/NetworkManagerInfoDbus.c
21058                 - Add defines for NetworkManager namespace and object path, and use them
21059                 - Add filter function to trap new signals from NetworkManager:
21060                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21061
21062         * info-daemon/passphrase.glade
21063                 - Change name of "ok" button to "Login to Network..."
21064                 - Mark invisible
21065
21066         * src/NetworkManager.c
21067                 - Code and debug message cleanups
21068                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21069                 - (nm_add_initial_devices) Check returned string array of devices
21070                         and don't try to add devices if array is NULL
21071                 - (main) Initialize libhal a bit later, make code a bit clearer
21072
21073         * src/NetworkManagerAP.[ch]
21074                 - New accessor and data member "matched": used to speed up AP list
21075                         diffing
21076                 - New accessor and data member "enc_method": will be used during key
21077                         fallback to cache which passphrase->key conversion actually works
21078                         so we don't have to do it every time
21079
21080         * src/NetworkManagerAPList.[ch]
21081                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21082                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21083                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21084                         dbus in response to those differences
21085
21086         * src/NetworkManagerDbus.[ch]
21087                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21088                         make an object path for that access point (NOTE that we don't yet check to
21089                         make sure that access point is actually in the device's AP list yet)
21090                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21091                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21092                         New: signal appearance/disappearance of wireless networks
21093                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21094                         key entry
21095
21096         * src/NetworkManagerDevice.[ch]
21097                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21098                 - (nm_device_ap_list_get) New: return the AP list (static function)
21099                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21100                         new one resulting from the scan with the old one
21101
21102         * src/NetworkManagerWireless.c
21103                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21104
21105         * test/nminfotest.c
21106                 - #define object paths and namespaces and use the #defines rather than static strings
21107                 - Test out user-key functionality of NetworkManagerInfo too
21108
21109 2004-07-29  Dan Williams <dcbw@redhat.com>
21110
21111         * info-daemon/NetworkManagerInfoDbus.c
21112           src/NetworkManagerDbus.c
21113                 - Update to current DBus (ie don't use decomposed paths when registering
21114                         object paths/fallbacks)
21115
21116 2004-07-27  Dan Williams <dcbw@redhat.com>
21117
21118         * Remove various Makefile.in files
21119
21120         * TODO
21121                 - Add some more items
21122
21123         * configure.in
21124                 - Add checks for OpenSSL/md5 headers and libs
21125
21126         * src/Makefile.am
21127                 - Use OpenSSL CFLAGS
21128
21129         * src/NetworkManagerAP.[ch]
21130                 - Remove 'stamp' functions, replace with 'invalid' functions
21131                         to support user cancelling WEP key entry
21132
21133         * src/NetworkManagerDbus.c
21134                 - Remove 'stamp' return functions
21135                 - Treat returned user key as a passphrase and convert to a WEP key,
21136                         but don't actually use the WEP key yet.  We use the returned user
21137                         key as a hexadecimal WEP key until we can figure out a UI for
21138                         passphrase-vs-hex key
21139
21140         * src/NetworkManagerWireless.[ch]
21141                 - Add passphrase-to-128bit-key function
21142
21143 2004-07-27  Dan Williams <dcbw@redhat.com>
21144
21145         * TODO
21146                 - Add a couple of items
21147
21148 2004-07-27  Dan Williams <dcbw@redhat.com>
21149
21150         * info-daemon/NetworkManagerInfo.c
21151                 - Update allowed network's GConf key when user enters a WEP key explicitly
21152
21153         * info-daemon/NetworkManagerDbus.c
21154                 - Fix some comments
21155                 - nmi_dbus_get_allowed_networks(): kill warning
21156
21157 2004-07-27  Dan Williams <dcbw@redhat.com>
21158
21159         * initscript/Makefile.in
21160                 - Remove
21161
21162         * initscript/Makefile.am
21163                 - Add correct rules to install the init.d initscript
21164
21165         * info-daemon/NetworkManagerInfoDbus.c
21166                 - Remove debug fprintf
21167
21168         * src/NetworkManagerDbus.[ch]
21169                 - Remove debug fprintfs
21170                 - Add macros for NetworkManagerInfo object path/namespace
21171                 - Use said macros instead of constant strings
21172
21173 2004-07-27  Dan Williams <dcbw@redhat.com>
21174
21175         * initscript/.cvsignore
21176                 - Add
21177
21178         * info-daemon/Makefile.am
21179                 - Install .glade files and keyring.png
21180                 - Fix stupid omission of a \ that caused half the flags not to be
21181                         passed to gcc
21182
21183         * info-daemon/NetworkManagerInfo.c
21184                 - gtk_signal_connect->g_signal_connect
21185                 - Alert NetworkManagerInfo to new glade file location
21186
21187 2004-07-27  Dan Williams <dcbw@redhat.com>
21188
21189         * test/nmclienttest.c
21190           test/nminfotest.c
21191                 - Add missing <dbus/dbus.h> headers
21192                 - Add GPL message at top
21193
21194 2004-07-27  Dan Williams <dcbw@redhat.com>
21195
21196         * src/NetworkManagerAPList.[ch]
21197           src/Makefile.am
21198                 - Add.  Deal with allowed network list additions, deletions, and updates
21199
21200         * dispatcher-daemon/NetworkManagerDispatcher.c
21201                 - Add missing <dbus/dbus.h> header
21202
21203         * info-daemon/NetworkManagerInfo.[ch]
21204                 - Add missing <dbus/dbus.h> header
21205                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21206                         network change
21207                 - Better error checking
21208
21209         * info-daemon/NetworkManagerInfoDbus.[ch]
21210                 - Add missing <dbus/dbus.h> header
21211                 - Convert to using dbus_message_append_args/dbus_message_get_args
21212                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21213                         that an allowed network changed.  We don't want to signal on individual
21214                         keys _inside_ an allowed network really, just want NM to query the info
21215                         daemon for updated info on all keys.
21216                 - Better error checking
21217
21218         * src/NetworkManager.[ch]
21219                 - Add missing <dbus/dbus.h> header
21220                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21221                 - Zero out NMData structure on free
21222                 - No longer use a thread for allowed_ap_list updating, instead its now done
21223                         through dbus queries against NetworkManagerInfo
21224                 - Populate allowed_ap_list initially before adding existing network devices
21225                         to the device list, so wireless devices can get their "best" AP
21226
21227         * src/NetworkManagerDbus.[ch]
21228                 - Convert to using dbus_message_append_args/dbus_message_get_args
21229                 - Better error checking
21230                 - Implement Allowed Network info functions to request allowed network
21231                         info from NetworkManagerInfo
21232                 - Implement the filter function to process signals from NetworkManagerInfo
21233                         about changing allowed networks
21234
21235         * src/NetworkManagerDevice.c
21236                 - Fix file descriptor leak in nm_device_update_ip4_address()
21237
21238 2004-07-27  Dan Williams <dcbw@redhat.com>
21239
21240         * .cvsignore
21241           src/.cvsignore
21242           test/.cvsignore
21243           dispatcher-daemon/.cvsignore
21244           info-daemon/.cvsignore
21245                 - Add .cvsignore files to reduce noise when diffing
21246
21247 2004-07-24  Dan Williams <dcbw@redhat.com>
21248
21249         * src/NetworkManager.[ch]
21250           src/NetworkManagerDbus.[ch]
21251           src/NetworkManagerDevice.[ch]
21252           src/NetworkManagerPolicy.c
21253           src/NetworkManagerWireless.[ch]
21254                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21255                 - Pass the NMData application data structure through all calls
21256                         that need it so we can get rid of nm_get_global_data()
21257                 - Change deallocation of the allowed_ap_list GSList in preparation
21258                         for not completely clearing it every time we get an update,
21259                         but instead getting incremental updates via GConf/dbus
21260
21261 2004-07-22  Dan Williams <dcbw@redhat.com>
21262
21263         * configure.in
21264                 - Add checks for GConf libs & headers & flags
21265
21266         * info-daemon/Makefile.am
21267                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21268
21269         * info-daemon/NetworkManagerInfo.[ch]
21270                 - Don't use gquarks for data storage, just use normal data storage
21271                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21272
21273         * info-daemon/NetworkManagerDbus.[ch]
21274                 - Add method call for getting allowed networks
21275                 - Add method calls for getting an allowed network's essid, priority, and key
21276                 - Hook the method calls up to GConf
21277                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21278                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21279                 
21280         * src/NetworkManagerDbus.[ch]
21281                 - Switch for enumeration of networks to using essid instead
21282
21283         * test/Makefile.am
21284           test/nminfotest.c
21285                 - Add test program for NetworkManagerInfo
21286
21287 2004-07-19  Dan Williams <dcbw@redhat.com>
21288
21289         * src/NetworkManagerDbus.c
21290                 - Switch from indexed device paths to names.  Less code, more efficient.
21291                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21292
21293 2004-07-19  Dan Williams <dcbw@redhat.com>
21294
21295         * dispatcher-daemon/NetworkManagerDispatcher.c
21296                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21297
21298 2004-07-19  Dan Williams <dcbw@redhat.com>
21299
21300         * Makefile.am
21301                 - Add info-daemon directory
21302
21303         * configure.in
21304                 - Check for glade libs and headers
21305                 - Add info-daemon directory
21306
21307         * src/NetworkManagerAP.c
21308                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21309                         copied over to the new AP.
21310
21311         * src/NetworkManagerDbus.c
21312           src/NetworkManagerDbus.h
21313                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21314                 - Remove nm_dbus_signal_need_key_for_network()
21315                 - Add disabled code for asynchronous user wep key callbacks
21316                 - Add functions for getting, setting, and cancelling user key operations
21317                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21318                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21319
21320         * src/NetworkManagerDevice.c
21321           src/NetworkManagerDevice.h
21322                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21323                         logic is in device activation now
21324                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21325                         key is wrong) trigger get-user-key pending action
21326                 - Implement get-user-key pending action stuff, tie to dbus messages
21327                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21328                 - Add nm_device_ap_list_get_ap_by_essid()
21329                 - Instead of copying "best" access points, ref them instead so that the key we set
21330                         sticks around
21331
21332         * src/NetworkManagerPolicy.c
21333                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21334                 - Don't cancel pending actions on a device if its the same device as last iteration
21335                 - Only promote pending_device->active_device if activation was successfull
21336
21337         * src/Makefile.am
21338                 - Rename nmclienttest->nmtest
21339
21340         * info-daemon/Makefile.am
21341           info-daemon/NetworkManagerInfo.c
21342           info-daemon/NetworkManagerInfo.h
21343           info-daemon/NetworkManagerInfoDbus.c
21344           info-daemon/NetworkManagerInfoDbus.h
21345           info-daemon/passphrase.glade
21346           info-daemon/NetworkManagerInfo.conf
21347           info-daemon/keyring.png
21348                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21349                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21350                         lists to NetworkManager by proxying user's GConf
21351           
21352
21353 2004-07-15  Dan Williams <dcbw@redhat.com>
21354
21355         * src/Makefile.am
21356                 - Turn on warnings
21357
21358         * src/NetworkManager.c
21359                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21360                         that doing the deactivation ourselves
21361                 - Cancel an pending actions on a device if its being removed
21362                 - Break up link state checking a bit, make non-active wireless cards
21363                         deactivated to save power
21364                 - Remove unused variables
21365
21366         * src/NetworkManager.h
21367                 - Add support for "pending" device
21368
21369         * src/NetworkManagerAP.h
21370           src/NetworkManagerAP.c
21371                 - Add support for determining whether and AP has encryption enabled or not
21372                 - AP address is now "struct ether_addr" rather than a string
21373
21374         * src/NetworkManagerDbus.h
21375           src/NetworkManagerDbus.c
21376                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21377                 - Changes for AP address from struct ether_addr->string
21378
21379         * src/NetworkManagerDevice.h
21380           src/NetworkManagerDevice.c
21381                 - Remove unused variables, fix warnings
21382                 - Add support for Pending Actions (things that block a device from being "active"
21383                         until they are completed).
21384                 - First pending action:  Get a WEP key from the user
21385                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21386                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21387                 - Update wireless link checking to try to determine if the AP we are associated
21388                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21389                         trigger the GetUserKey pending action on the device
21390                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21391                         up in that case, otherwise we can't scan or link-check on it
21392                 - Add IP address change notifications at appropriate points (still needs some work)
21393                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21394
21395         * src/NetworkManagerPolicy.h
21396           src/NetworkManagerPolicy.c
21397                 - Split out "best" access point determiniation into separate function
21398                 - Make device activation 2-stage:  first the device is pending, then
21399                         in the next iteration through it becomes "active" unless it has
21400                         pending actions
21401
21402         * src/NetworkManagerUtils.h
21403           src/NetworkManagerUtils.c
21404                 - Clean up unused variables and warnings
21405                 - Wrap our debug macros in {} to prevent possible confusion
21406
21407         * src/NetworkManagerWireless.c
21408                 - Forgot to return current best priority, which lead to last available AP always
21409                         being chosen no matter what its priority was.  Corrected.
21410
21411 2004-07-15  Dan Williams <dcbw@redhat.com>
21412
21413         * dispatcher-daemon/Makefile.am
21414                 - Turn on warnings
21415
21416         * dispatcher-daemon/NetworkManagerDispatcher.c
21417                 - Remove unused variables due to warnings
21418                 - Fix some comments
21419                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21420
21421 2004-07-06  Dan Williams <dcbw@redhat.com>
21422
21423         * src/NetworkManager.c
21424                 - Add IPv4 address update for active device during link state check
21425                 - Don't allow wireless cards to be powered up when they are not the
21426                         active device
21427
21428         * src/NetworkManagerDbus.c
21429           src/NetworkManagerDbus.h
21430                 - Add DBUS IPv4 address change signal
21431                 - Add DBUS IPv4 address get method for devices
21432
21433         * src/NetworkManagerDevice.c
21434                 - Make setting the WEP key actually work
21435                 - Move IP address get/set/update stuff here, per-device
21436                 - Power down/bring down wireless device when deactivated
21437                 - For scanning wireless devices, if first scan returned ENODATA, try again
21438
21439         * src/NetworkManagerPolicy.c
21440                 - Only set the WEP key for an allowed access point if there is one.
21441                         We were setting it to be blank if one wasn't specified.
21442
21443         * src/NetworkManagerUtils.h
21444           src/NetworkManagerUtils.c
21445                 - Move the IP address stuff to NetworkManagerDevice.c
21446
21447         * dispatcher-daemon/NetworkManagerDispatcher.c
21448                 - Add device IPv4 address change notification stuff
21449
21450 2004-07-05  Dan Williams <dcbw@redhat.com>
21451
21452         * dispatcher-daemon/NetworkManagerDispatcher.c
21453                 - A bit more descriptive state message
21454                 - Don't segfault when reading directory
21455
21456         * src/NetworkManager.h
21457                 - Remove NMData desired_ap member, its now
21458                         per-device rather than global
21459
21460         * src/NetworkManager.c
21461                 - Remove references to desired_ap
21462                 - Move the allowed AP list refresh stuff into a thread
21463
21464         * src/NetworkManagerDevice.c
21465           src/NetworkManagerDevice.h
21466                 - Each wireless device now has a "best ap"
21467                 - Make device activate/deactivate functions per-device
21468                 - Make wireless scanning per-device
21469                 - Add IPv4 address discover functions, stub IPv6 ones
21470                 - Move ethernet address validation functions to NetworkManagerUtils.c
21471                 - Add wireless access point accessor function
21472                 - Get/Set functions for "best ap"
21473
21474         * src/NetworkManagerPolicy.c
21475                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21476                 - Deal with per-device "best ap" rather than data->desired_apa
21477                 - Implement allowed access point worker thread
21478                 - Add nm_policy_essid_is_allowed() function
21479
21480         * src/NetworkManagerUtils.c
21481           src/NetworkManagerUtils.h
21482                 - Add nm_ethernet_address_is_valid() function
21483                 - Add IPv4/IPv6 address get functions
21484
21485         * src/NetworkManagerWireless.c
21486           src/NetworkManagerWireless.h
21487                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21488
21489 2004-06-29  Dan Williams <dcbw@redhat.com>
21490
21491         * dispatcher-daemon/NetworkManagerDispatcher.c
21492                 - Implement script callout functionality
21493
21494 2004-06-24  Dan Williams <dcbw@redhat.com>
21495
21496         * NetworkManager.c
21497             - Spacing cleanups
21498             - Flush device routes and ip addresses when added to the device list
21499
21500         * NetworkManagerDbus.c
21501             - Spacing cleanups
21502             - Add missing returns in the two signal functions
21503         
21504         * NetworkManagerPolicy.c
21505             - Spacing and variable cleanups
21506
21507 2004-06-24  Dan Williams <dcbw@redhat.com>
21508
21509         * Makefile.am
21510           Makefile.in
21511           configure.in
21512           dispatcher-daemon/Makefile.am
21513           dispatcher-daemon/Makefile.in
21514           dispatcher-daemon/NetworkManagerDispatcher.c
21515             - Add a daemon that receives signals from NetworkManager
21516                         and will (eventually) call scripts in /etc/somewhere
21517                         when devices go up or down.
21518         
21519         * NetworkManager.c
21520             - Spacing cleanups
21521             - Flush device routes and ip addresses when added to the device list
21522
21523         * NetworkManagerDbus.c
21524             - Spacing cleanups
21525             - Add missing returns in the two signal functions
21526         
21527         * NetworkManagerPolicy.c
21528             - Spacing and variable cleanups
21529             - Rename nm_policy_switch_interface->nm_policy_switch_device
21530             - nm_policy_switch_device():
21531                                 Use kill (pid) instead of system ("kill <pid>")
21532             - nm_state_modification_monitor():
21533                                 Add wireless essid to output of debug statements
21534                                 Correct typo in device compare to switch or not (should be !=)
21535                                 Don't sleep after sending "no longer active" signal, was useless
21536
21537 2004-06-24  Dan Williams <dcbw@redhat.com>
21538
21539         * Initial import