2008-10-29 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-29  Dan Williams  <dcbw@redhat.com>
2
3         * libnm-util/libnm-util.ver
4           libnm-util/nm-setting-ip4-config.c
5           libnm-util/nm-setting-ip4-config.h
6                 - Make properties private and add accessor functions
7
8         * callouts/nm-dispatcher-action.c
9           libnm-glib/libnm-glib-test.c
10           libnm-util/nm-utils.c
11           src/NetworkManagerPolicy.c
12           src/NetworkManagerSystem.c
13           src/NetworkManagerUtils.c
14           src/dhcp-manager/nm-dhcp-dhclient.c
15           src/dhcp-manager/nm-dhcp-manager.c
16           src/dnsmasq-manager/nm-dnsmasq-manager.c
17           src/nm-device-wifi.c
18           src/nm-device.c
19           src/nm-hso-gsm-device.c
20           src/nm-ip4-config.c
21           src/nm-ip4-config.h
22           src/ppp-manager/nm-ppp-manager.c
23           src/vpn-manager/nm-vpn-connection.c
24           system-settings/plugins/ifcfg-fedora/reader.c
25           system-settings/plugins/ifcfg-suse/parser.c
26           system-settings/plugins/ifcfg-suse/plugin.c
27           system-settings/plugins/ifupdown/parser.c
28           test/nm-tool.c
29           vpn-daemons/vpnc/properties/nm-vpnc.c
30                 - Use IP4 accessor functions
31
32 2008-10-29  Tambet Ingo  <tambet@gmail.com>
33
34         Half of it by Dan Williams <dcbw@redhat.com>
35
36         * libnm-util/libnm-util.ver
37         libnm-util/nm-setting-vpn.c
38         libnm-util/nm-setting-vpn.h
39                 - Make properties private and add accessor functions.
40
41         * src/vpn-manager/nm-vpn-connection.c
42         src/vpn-manager/nm-vpn-manager.c
43         system-settings/plugins/keyfile/reader.c
44         vpn-daemons/openvpn/properties/auth-helpers.c
45         vpn-daemons/openvpn/properties/import-export.c
46         vpn-daemons/openvpn/properties/nm-openvpn.c
47         vpn-daemons/openvpn/src/nm-openvpn-service.c
48         vpn-daemons/pptp/auth-dialog/main.c
49         vpn-daemons/pptp/properties/advanced-dialog.c
50         vpn-daemons/pptp/properties/nm-pptp.c
51         vpn-daemons/pptp/src/nm-pptp-service.c
52         vpn-daemons/vpnc/properties/nm-vpnc.c
53         vpn-daemons/vpnc/src/nm-vpnc-service.c
54                 - Use VPN setting accessors.
55
56 2008-10-28  Dan Williams  <dcbw@redhat.com>
57
58         Patch from Tambet Ingo <tambet@gmail.com>
59
60         * libnm-util/libnm-util.ver
61           libnm-util/nm-setting-wireless.c
62           libnm-util/nm-setting-wireless.h
63                 - Make properties private and add accessor functions
64
65         * src/NetworkManagerAP.c
66           src/nm-device-wifi.c
67           src/nm-manager.c
68           src/supplicant-manager/nm-supplicant-config.c
69           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
70           system-settings/plugins/ifcfg-fedora/reader.c
71           system-settings/plugins/ifcfg-suse/parser.c
72           system-settings/plugins/ifupdown/parser.c
73                 - Use wireless setting accessors
74
75 2008-10-27  Dan Williams  <dcbw@redhat.com>
76
77         Patch from Tambet Ingo <tambet@gmail.com>
78
79         * libnm-util/libnm-util.ver
80           libnm-util/nm-setting-ppp.c
81           libnm-util/nm-setting-ppp.h
82                 - Make properties private and add accessor functions
83
84         * src/ppp-manager/nm-ppp-manager.c
85                 - Use ppp setting accessors
86
87 2008-10-27  Dan Williams  <dcbw@redhat.com>
88
89         Patch from Tambet Ingo <tambet@gmail.com>
90
91         * libnm-util/nm-setting.h
92           libnm-util/nm-setting.c
93                 - Make properties private and add accessor functions
94
95         * libnm-util/nm-connection.c
96           libnm-util/nm-setting-8021x.c
97           libnm-util/nm-setting-cdma.c
98           libnm-util/nm-setting-connection.c
99           libnm-util/nm-setting-gsm.c
100           libnm-util/nm-setting-ip4-config.c
101           libnm-util/nm-setting-ip6-config.c
102           libnm-util/nm-setting-ppp.c
103           libnm-util/nm-setting-pppoe.c
104           libnm-util/nm-setting-serial.c
105           libnm-util/nm-setting-template.c
106           libnm-util/nm-setting-vpn.c
107           libnm-util/nm-setting-wired.c
108           libnm-util/nm-setting-wireless-security.c
109           libnm-util/nm-setting-wireless.c
110           system-settings/plugins/keyfile/reader.c
111           system-settings/plugins/keyfile/writer.c
112                 - Use setting accessors
113
114 2008-10-27  Dan Williams  <dcbw@redhat.com>
115
116         * libnm-util/libnm-util.ver
117           libnm-util/nm-setting-connection.c
118           libnm-util/nm-setting-connection.h
119                 - Add a 'read-only' property that indicates the connection cannot be
120                         modified
121
122         * system-settings/plugins/ifcfg-fedora/reader.c
123           system-settings/plugins/ifcfg-suse/parser.c
124           system-settings/plugins/ifupdown/parser.c
125                 - These plugins are read-only at the moment
126
127         * system-settings/plugins/keyfile/reader.c
128           system-settings/plugins/keyfile/writer.c
129                 - Read-only shouldn't get saved out to files or read in from them
130
131 2008-10-27  Tambet Ingo  <tambet@gmail.com>
132
133         * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
134         correct speed reporting for fast devices (kernel >= 2.6.27).
135
136 2008-10-26  Dan Williams  <dcbw@redhat.com>
137
138         Attempt to compensate for modems that don't enable full AT parsing before
139         the PIN has been entered.
140
141         * src/nm-gsm-device.c
142                 - (init_modem): accept different init strings
143                 - (init_done): try different init strings on failure
144                 - (check_pin_done): on PIN success, do full modem init
145
146 2008-10-26  Dan Williams  <dcbw@redhat.com>
147
148         Patch from Tambet Ingo <tambet@gmail.com>
149
150         * libnm-util/libnm-util.ver
151           libnm-util/nm-setting-connection.c
152           libnm-util/nm-setting-connection.h
153                 - Make properties private and add accessor functions
154
155         * src/NetworkManagerPolicy.c
156           src/nm-cdma-device.c
157           src/nm-device-ethernet.c
158           src/nm-device-interface.c
159           src/nm-device-wifi.c
160           src/nm-gsm-device.c
161           src/nm-manager.c
162           src/ppp-manager/nm-ppp-manager.c
163           src/vpn-manager/nm-vpn-connection.c
164           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
165           system-settings/plugins/ifcfg-fedora/plugin.c
166           system-settings/plugins/ifcfg-fedora/reader.c
167           system-settings/plugins/ifcfg-suse/parser.c
168           system-settings/plugins/ifupdown/parser.c
169           system-settings/plugins/keyfile/nm-keyfile-connection.c
170           system-settings/plugins/keyfile/plugin.c
171           system-settings/plugins/keyfile/writer.c
172           system-settings/src/main.c
173                 - Use those accessors
174
175 2008-10-26  Dan Williams  <dcbw@redhat.com>
176
177         Patch from Tambet Ingo <tambet@gmail.com>
178
179         * libnm-util/libnm-util.ver
180           libnm-util/nm-setting-gsm.c
181           libnm-util/nm-setting-gsm.h
182                 - Make properties private and add accessor functions
183
184         * src/nm-gsm-device.c
185           src/nm-hso-gsm-device.c
186           src/ppp-manager/nm-ppp-manager.c
187                 - Use those accessors
188
189 2008-10-26  Dan Williams  <dcbw@redhat.com>
190
191         Patch from Tambet Ingo <tambet@gmail.com>
192
193         * libnm-util/libnm-util.ver
194           libnm-util/nm-setting-cdma.c
195           libnm-util/nm-setting-cdma.h
196                 - Make properties private and add accessor functions
197
198         * src/nm-cdma-device.c
199           src/ppp-manager/nm-ppp-manager.c
200                 - Use those accessors
201
202 2008-10-26  Dan Williams  <dcbw@redhat.com>
203
204         Patch from Tambet Ingo <tambet@gmail.com>
205
206         * libnm-util/libnm-util.ver
207           libnm-util/nm-setting-pppoe.c
208           libnm-util/nm-setting-pppoe.h
209                 - Make properties private and add accessor functions
210
211         * src/nm-device-ethernet.c
212           src/ppp-manager/nm-ppp-manager.c
213                 - Use those accessors
214
215 2008-10-26  Dan Williams  <dcbw@redhat.com>
216
217         Patch from Tambet Ingo <tambet@gmail.com>
218
219         * libnm-util/libnm-util.ver
220           libnm-util/nm-setting-wired.c
221           libnm-util/nm-setting-wired.h
222                 - Make properties private and add accessor functions
223
224         * src/nm-device-ethernet.c
225           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
226           system-settings/plugins/ifcfg-suse/parser.c
227           system-settings/src/main.c
228                 - Use those accessors
229
230 2008-10-26  Dan Williams  <dcbw@redhat.com>
231
232         Patch from Tambet Ingo <tambet@gmail.com>
233
234         * libnm-util/libnm-util.ver
235           libnm-util/nm-setting-serial.c
236           libnm-util/nm-setting-serial.h
237           src/nm-serial-device.c
238                 - Make properties private and use accessors instead
239
240 2008-10-26  Dan Williams  <dcbw@redhat.com>
241
242         * src/supplicant-manager/nm-supplicant-interface.c
243           src/supplicant-manager/nm-supplicant-interface.h
244           src/supplicant-manager/nm-supplicant-manager.c
245           src/supplicant-manager/nm-supplicant-manager.h
246                 - Add state-to-string conversion functions
247
248         * src/nm-device-wifi.c
249           src/nm-device-ethernet.c
250                 - Normalize state info logging and use strings instead of numbers
251
252 2008-10-26  Dan Williams  <dcbw@redhat.com>
253
254         * src/NetworkManagerPolicy.c
255                 - (update_routing_and_dns): ignore host routes when determining whether
256                         a VPN connection should own the default route (bgo #552594)
257
258 2008-10-24  Dan Williams  <dcbw@redhat.com>
259
260         * src/nm-gsm-device.c
261                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
262
263 2008-10-23  Dan Williams  <dcbw@redhat.com>
264
265         * src/ppp-manager/nm-ppp-manager.c
266                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
267                         add really important stuff to the command line to ensure that NM
268                         overrides /etc/ppp/options (bgo #556781)
269
270 2008-10-22  Dan Williams  <dcbw@redhat.com>
271
272         * src/NetworkManagerSystem.c
273           src/nm-device.c
274                 - Use the device's IP interface where appropriate (Per Hallsmark)
275
276 2008-10-22  Dan Williams  <dcbw@redhat.com>
277
278         * src/nm-gsm-device.c
279                 - (schedule_automatic_registration_again): use a short timeout here
280                         instead of an idle handler to avoid using too much CPU polling for
281                         something we should be waiting a bit for anyway
282
283 2008-10-22  Dan Williams  <dcbw@redhat.com>
284
285         * include/NetworkManager.h
286           introspection/nm-device.xml
287                 - Add device state change reason for carrier changes
288
289         * src/nm-device-ethernet.c
290                 - (set_carrier): use the carrier change reason when changing device
291                         state in response to carrier changes
292
293 2008-10-21  Dan Williams  <dcbw@redhat.com>
294
295         * src/NetworkManagerPolicy.c
296                 - (update_etc_hosts): don't leak errors, and ensure that
297                         g_file_set_contents() gets a valid error placeholder (rh #461933)
298
299 2008-10-21  Dan Williams  <dcbw@redhat.com>
300
301         * src/nm-manager.c
302                 - (free_get_settings_info): don't use the DBusGProxy which could be
303                         disposed of by the time the function is called
304                 - (internal_new_connection_cb): save connection scope
305                 - (connection_get_settings_cb): don't replace a connection unless it's
306                         actually different from the existing one; fixes an issue where
307                         killing the settings service wouldn't deactivate an active connection
308                         provided by that settings service, because it was using a connection
309                         that had already been replaced in the system or user hash
310
311 2008-10-21  Dan Williams  <dcbw@redhat.com>
312
313         * src/NetworkManager.c
314                 - (main): keep the DHCP manager around since it's a singleton; fixes
315                         a use-after-free exposed by r4196 since the DHCP manager singleton
316                         variable isn't cleared when the DHCP manager object is finalized
317
318 2008-10-20  Dan Williams  <dcbw@redhat.com>
319
320         * libnm-util/nm-setting-wireless-security.c
321                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
322
323 2008-10-20  Dan Williams  <dcbw@redhat.com>
324
325         * src/supplicant-manager/nm-supplicant-config.c
326                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
327
328 2008-10-20  Dan Williams  <dcbw@redhat.com>
329
330         * src/dhcp-manager/nm-dhcp-manager.c
331                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
332                         manager object already refs it once
333                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
334                         also get cleaned up by nm_dhcp_device_destroy() to prevent
335                         double-frees
336
337 2008-10-20  Dan Williams  <dcbw@redhat.com>
338
339         * src/nm-manager.c
340                 - (initial_get_connections): use private dbus manager, don't keep
341                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
342                         manager object.
343
344 2008-10-18  Dan Williams  <dcbw@redhat.com>
345
346         * libnm-glib/nm-settings.c
347           libnm-glib/nm-settings.h
348                 - Rename the "get_secrets" virtual function "service_get_secrets" to
349                         clarify when it's used; NMExportedConnetion is a base-class for both
350                         the client and service side, which is sort of confusing, and
351                         get_secrets only makes sense on the service side.
352
353         * libnm-glib/nm-dbus-connection.c
354                 - (get_secrets): remove, unused, and clients need to do extra work to
355                         get secrets anyway since the call can block on the remote side
356
357         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
358           system-settings/plugins/keyfile/nm-keyfile-connection.c
359                 - Fix up for get_secrets -> service_get_secrets
360
361 2008-10-16  Dan Williams  <dcbw@redhat.com>
362
363         * src/nm-device-wifi.c
364                 - (constructor): correctly determine encryption capabilities
365
366 2008-10-15  Dan Williams  <dcbw@redhat.com>
367
368         * src/nm-device-wifi.c
369                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
370                         (Johannes Berg)
371
372 2008-10-15  Dan Williams  <dcbw@redhat.com>
373
374         * src/NetworkManagerSystem.c
375                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
376                         if the ip4_dest is in a smaller subnet contained within a subnet
377                         the machine is currently on, the destination is in the same subnet
378                 - (nm_system_device_set_ip4_route): move subnet checks to callers
379                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
380                         subnet as the parent device, and if so, don't add the direct
381                         host route via the parent device's gateway (bgo #481620)
382                 - (nm_system_apply_ip4_config): check whether the route to be added
383                         is contained within a subnet the device is already on
384
385 2008-10-11  Dan Williams  <dcbw@redhat.com>
386
387         * include/NetworkManager.h
388           introspection/nm-device.xml
389           include/NetworkManagerVPN.h
390                 - Add a few more state reasons for the device deactivated state
391
392         * src/nm-device-interface.c
393           src/nm-device-interface.h
394                 - (nm_device_interface_deactivate): add a 'reason' argument
395
396         * src/nm-device.c
397           src/nm-device.h
398                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
399                 - (nm_device_state_changed): pass the state change reason to
400                         nm_device_take_down()
401                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
402                         to the state change function
403
404         * src/nm-manager.c
405           src/nm-manager.h
406                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
407                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
408                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
409                         something reasonable along to VPN deactivation
410
411         * src/vpn-manager/nm-vpn-manager.c
412           src/vpn-manager/nm-vpn-manager.h
413                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
414                         pass that along to nm_vpn_connection_disconnect()
415
416 2008-10-11  Dan Williams  <dcbw@redhat.com>
417
418         * src/nm-device-wifi.c
419                 - (can_scan): remove old madwifi hack for not scanning while connected
420
421 2008-10-11  Dan Williams  <dcbw@redhat.com>
422
423         Add support for VPN subnet gateways (bgo #549196)
424
425         * include/NetworkManager.h
426                 - Add key for internal VPN subnet gateway
427
428         * src/vpn-manager/nm-vpn-connection.c
429                 - (ip_address_to_string): return a const from a static buffer so we
430                         don't leak a lot of strings
431                 - (print_vpn_config): print internal VPN gateway as well
432                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
433                         VPN service too
434                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
435
436         * src/NetworkManagerSystem.c
437           src/NetworkManagerSystem.h
438                 - (nm_system_device_replace_default_ip4_route): split into two, one for
439                         VPN connections and one for normal devices
440                 - (replace_default_ip4_route): break out route stuff into its own function
441                 - (nm_system_replace_default_ip4_route_vpn,
442                    nm_system_replace_default_ip4_route): simplify by having two cases,
443                         one for VPNs and one for normal devices
444
445         * src/NetworkManagerPolicy.c
446                 - (update_routing_and_dns): simplify, use split default route replacement
447                         functions
448
449 2008-10-10  Dan Williams  <dcbw@redhat.com>
450
451         Rework default route handling to consolidate decisions in the policy,
452         and to take active VPN connections into account when changing the default
453         route (bgo #545912)
454
455         * src/NetworkManager.c
456                 - (main): pass the vpn_manager to the policy so it knows about active
457                         VPN connections; clean up the named manager which wasn't done before
458
459         * src/NetworkManagerPolicy.c
460           src/NetworkManagerPolicy.h
461                 - (nm_policy_new): get a clue about the vpn_manager
462                 - (update_default_route): remove, fold into update_routing_and_dns()
463                 - (update_routing_and_dns): handle active VPN connections too; an
464                         active VPN connection becomes the default route if it does not have
465                         server-specified or user-specified custom routes.  Otherwise, the
466                         best active device gets the default route
467                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
468                    nm_policy_destroy): track VPN connection activation and deactivation
469                         and update the default route when appropriate
470
471         * src/NetworkManagerSystem.c
472           src/NetworkManagerSystem.h
473                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
474                         in the VPN connection itself
475                 - (nm_system_vpn_device_set_from_ip4_config,
476                    nm_system_device_set_from_ip4_config): merge together to make
477                         nm_system_apply_ip4_config()
478                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
479                         via the parent device
480                 - (nm_system_apply_ip4_config): simplify
481                 - (add_ip4_route_to_gateway): new function; add a direct route to the
482                         gateway if needed
483                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
484                         route stuff out into add_ip4_route_to_gateway() for clarity
485
486         * src/nm-device.c
487                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
488
489         * src/vpn-manager/nm-vpn-connection.c
490           src/vpn-manager/nm-vpn-connection.h
491                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
492                    nm_vpn_connection_get_parent_device): add
493                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
494                         device explicit
495                 - (connection_state_changed): update the named manager now that
496                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
497                         useful on errors
498
499         * src/vpn-manager/nm-vpn-manager.c
500           src/vpn-manager/nm-vpn-manager.h
501                 - Add a 'connection-activated' signal
502                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
503                         policy to find out about active VPN connections
504
505 2008-10-10  Tambet Ingo  <tambet@gmail.com>
506
507         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
508         a daemon to prevent NM logging spew on console on startup and shutdown (due
509         to dependency loop between NM and syslog).
510
511 2008-10-10  Alexander Sack  <asac@ubuntu.com>
512
513         Implement managed mode. We bind devices configured in /etc/network/interfaces
514         to their connections by updating wired/wireless setting with the
515         mac address of the device.
516
517         * system-settings/plugins/ifupdown/plugin.c
518                 - (get_net_address_for_udi): implement function to retrieve MAC
519                         address of udi from hal in GByteArray format
520                 - (bind_device_to_connection): bind mac address of device to
521                         wired/wireless system connection
522                 - (hal_device_added_cb): call bind_device_to_connection for
523                         system connections with a matching interface.name
524                 - (hal_device_added_cb): ensure that all code paths
525                         properly free the "iface" string.
526
527 2008-10-10  Alexander Sack  <asac@ubuntu.com>
528
529         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
530         mode of the ifupdown system config plugin.
531
532         * system-settings/plugins/ifupdown/plugin.c
533                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
534                         private unmanage_well_known state field accordingly
535
536 2008-10-10  Alexander Sack  <asac@ubuntu.com>
537
538         Implement unmanaged mode that will prevent all devices in the
539         well_known_udis set from being touched by NetworkManager
540
541         * system-settings/plugins/ifupdown/plugin.c
542                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
543                         unmanage_well_known field used to turn on/off unmanaged
544                         mode
545                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
546                         signal when well_known_udis get added/removed
547                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
548                         if we are in unmanaged mode
549
550 2008-10-10  Alexander Sack  <asac@ubuntu.com>
551
552         Add support to track network devices that have a configuration
553         with a matching interface.name in /etc/network/interfaces
554
555         * system-settings/plugins/ifupdown/plugin.c
556                 - (typedef struct SCPluginIfupdownPrivate): add hash table
557                         to track |well_known_udis|
558                 - (get_iface_for_udi): helper function to get interface.name
559                         for a udi
560                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
561                         that add and remove devices to and from the well_known_udis
562                         set depending on whether their |interface.name| matches
563                         any interface definition in /etc/network/interfaces
564                 - (SCPluginIfupdown_init): connect callbacks from above with
565                         hal_mgr and setup well_known_udis hashtable
566                 - (GObject__dispose): destroy well_known_udis hashtable
567                 - (hal_device_added_cb2): implement wrapper callback with GFunc
568                         signature. user_data is supposed to be a triple (hal_mgr,
569                         config and devtype)
570                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
571                         startup and call hal_device_added_cb2
572
573 2008-10-10  Alexander Sack  <asac@ubuntu.com>
574
575         Remove implementation for not used NMSystemConfigInterface callback functions
576         in ifupdown plugin
577
578         * system-settings/plugins/ifupdown/plugin.c
579                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
580                 - (SCPluginIfupdown_connection_added): removed
581
582 2008-10-08  Dan Williams  <dcbw@redhat.com>
583
584         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
585
586         * src/NetworkManagerUtils.c
587                 - (nm_utils_call_dispatcher): add a 'hostname' action
588
589         * src/NetworkManagerPolicy.c
590                 - (set_system_hostname): dispatch hostname changes
591
592         * callouts/nm-dispatcher-action.c
593                 - (nm_dispatcher_action): handle 'hostname' actions
594
595 2008-10-08  Dan Williams  <dcbw@redhat.com>
596
597         * src/NetworkManagerSystem.c
598                 - (find_route): ref the route so it doesn't get destroyed when the cache
599                         is cleared
600                 - (nm_system_device_set_priority): unref the route here after it's done
601                         being used
602
603 2008-10-08  Dan Williams  <dcbw@redhat.com>
604
605         * src/nm-serial-device.c
606                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
607
608 2008-10-08  Tambet Ingo  <tambet@gmail.com>
609
610         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
611         connection with new settings before saving it.
612
613 2008-10-06  Dan Williams  <dcbw@redhat.com>
614
615         * src/nm-ip4-config.c
616           src/nm-ip4-config.h
617                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
618
619         * src/nm-device-interface.c
620                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
621                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
622                         by using '/' for the object path
623
624         * src/nm-device.c
625                 - (src/nm-device.c): marshal missing/unexported ip4-config through
626                         dbus as '/' since dbus-glib can't handle NULL objects nor can
627                         dbus handle NULL object paths
628
629 2008-10-03  Alexander Sack  <asac@ubuntu.com>
630
631         Implement system hostname support for debian/ubuntu
632
633         * system-settings/plugins/ifupdown/plugin.c
634                 - (GObject__get_property): extend announced capabilities; add
635                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
636                 - (GObject__set_property,write_system_hostname): implement
637                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
638                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
639                    update_system_hostname, get_hostname):
640                         implement hostname property that watches and
641                         parses /etc/hostname
642
643 2008-10-03  Alexander Sack  <asac@ubuntu.com>
644
645         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
646           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
647           system-settings/plugins/ifcfg-fedora/Makefile.am
648           system-settings/src/nm-inotify-helper.c
649           system-settings/src/nm-inotify-helper.h
650           src/Makefile.am
651                 - Move ifcfg-fedora inotify helpers to the system settings service so
652                         they are available to all plugins
653
654 2008-10-03  Alexander Sack  <asac@ubuntu.com>
655
656         Implement support for wep-tx-keyidx in ifupdown system
657         config plugin.
658
659         * system-settings/plugins/ifupdown/parser.c
660                 - (update_wireless_security_setting_from_if_block): introduce
661                         free_type_mapping func table; rename a few local
662                         variables to improve readability; add wpa security mapping
663                         for wep-tx-keyidx property
664                 - (string_to_gpointerint): new function used for the auto_type_mapping
665                         of new wep-tx-keyidx property
666                 - (slist_free_all): free func used for mapped slist types
667
668 2008-10-03  Alexander Sack  <asac@ubuntu.com>
669
670         * system-settings/src/main.c:
671                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
672                         always used as the hash key; fixes a crash when removing wired
673                         devices
674
675 2008-10-02  Dan Williams  <dcbw@redhat.com>
676
677         * src/nm-gsm-device.c
678                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
679                         pass the required GSM secret along via user_data rather than keeping
680                         it around in the private data where it sometimes didn't get cleared
681                 - (real_get_ppp_name): implement using the GSM username
682
683 2008-10-02  Dan Williams  <dcbw@redhat.com>
684
685         * src/ppp-manager/nm-ppp-manager.c
686           src/ppp-manager/nm-ppp-manager.h
687                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
688                         the settings daemon for completely new ones
689                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
690                         local PPP peer name; allow PPP debuging by launching NM with
691                         the environment variable NM_PPP_DEBUG defined
692                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
693                         create_pppd_cmd_line()
694
695         * src/nm-serial-device.c
696           src/nm-serial-device.h
697                 - New 'get_ppp_name' function for subclasses to implement to return the
698                         local PPP peer name
699                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
700                         and pass that name to the PPP manager
701
702         * src/nm-device-ethernet.c
703                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
704                         the local peer name
705
706         * src/nm-cdma-device.c
707                 - (real_get_ppp_name): implement using the CDMA username
708
709 2008-10-02  Dan Williams  <dcbw@redhat.com>
710
711         Patch from Alexander Sack <asac ubuntu com>
712
713         * system-settings/plugins/ifupdown/parser.c
714                 - Implement more graceful ip4 config parsing for cases where
715                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
716                   by using default values
717
718 2008-10-02  Dan Williams  <dcbw@redhat.com>
719
720         * src/NetworkManagerPolicy.c
721                 - (device_state_changed): when marking a connection invalid, clear its
722                         secrets too so that fresh secrets get requested the next time
723
724 2008-10-01  Dan Williams  <dcbw@redhat.com>
725
726         * system-settings/src/dbus-settings.c
727                 - (nm_sysconfig_settings_init): cache system hostname on startup as
728                         a fallback if no plugin provides a hostname
729                 - (get_property): fall back to cached hostname if no plugin provides
730                         a hostname
731
732 2008-10-01  Dan Williams  <dcbw@redhat.com>
733
734         Fix setting value comparison issue that caused some settings to look the
735         same when they were really different (rh #464417)
736
737         * libnm-util/nm-param-spec-specialized.c
738                 - (type_is_fixed_size): return fundamental size of the fixed type too
739                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
740                         in the comparison so that the _entire_ fixed type collection gets
741                         compared rather than just the first 'len1' bytes
742
743 2008-09-30  Dan Williams  <dcbw@redhat.com>
744
745         * src/NetworkManagerPolicy.c
746                 - (lookup_thread_worker): don't store the idle handler ID becuase the
747                         idle handler could have already run and freed the LookupThread
748                         structure
749
750 2008-09-30  Tambet Ingo  <tambet@gmail.com>
751
752         * src/nm-device.c (nm_device_get_priority): Implement.
753         (nm_device_set_ip4_config): Send the device priority to system ip4 
754         config setter.
755
756         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
757         Add priority argument and if it's >= 0, set the priority of the network
758         route added automatically by netlink (or kernel?).
759         (nm_system_device_set_priority): Implement.
760
761         * src/NetworkManagerPolicy.c (get_best_device): Use 
762         nm_device_get_priority() instead of home-grown version. Revert the
763         meaning, best priority is the lowest one.
764
765 2008-09-29  Dan Williams  <dcbw@redhat.com>
766
767         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
768         when it returns EAGAIN (rh #362421)
769
770         * src/nm-device-wifi.c
771                 - (wireless_get_range): try GIWRANGE a few times until the card responds
772                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
773
774 2008-09-28  Dan Williams  <dcbw@redhat.com>
775
776         * src/nm-serial-device.c
777           src/nm-serial-device.h
778                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
779                         cleaned at the right times when subclasses close the serial port too
780                 - (nm_serial_device_send_command): use a default send delay; don't
781                         spin forever on EAGAIN
782                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
783                         remove, no longer used
784                 - (find_response): return the matched response if any
785                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
786                         while doing so
787                 - (wait_for_reply_done): pass the matched response to the callback
788                 - (wait_for_reply_got_data): save the matched response; simplify timeout
789                         handling
790                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
791                         const since they never get modified
792                 - (cleanup_device): split out common cleanup stuff to a new function
793                 - (real_deactivate_quickly, finalize): use cleanup_device()
794
795         * src/nm-gsm-device.c
796                 - (modem_get_reply): remove, unused
797                 - (set_apn): give the card a bit more time to respond
798                 - (manual_registration_again, schedule_manual_registration_again,
799                    manual_registration_response, manual_registration): handle manual
800                         registration timeouts better by retrying registration a few times
801                         because cards are a bit slow after CFUN=1
802                 - (automatic_registration_get_network, get_network_response): use
803                         modem_wait_for_reply() because it interacts better with the serial
804                         buffer and does more intelligent matching; need to wait for 'OK'
805                         rather than just matching terminators
806                 - (schedule_automatic_registration_again,
807                    automatic_registration_response, automatic_registration): retry
808                         registration a few times on timeout or "searching" because cards
809                         take a bit to find a network after being powered up with CFUN=1
810                 - (power_up_response, power_up, init_full_done, enter_pin,
811                    check_pin_done): power up the card with CFUN=1 before trying to
812                         register with the network
813                 - (init_modem_full, init_modem): use more standard 3G init strings
814
815         * src/nm-hso-gsm-device.c
816                 - (modem_get_reply): remove, unused
817                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
818                         modem_wait_for_reply() to match actual responses instead of single
819                         termination characters; it doesn't leave stuff in the serial buffer
820                         that might confuse later calls
821                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
822                         to ensure that the call is really disconnected and not leave extra
823                         stuff in the serial buffer
824
825         * src/nm-cdma-device.c
826                 - (power_up_response, power_up, init_done): try Sierra-style modem
827                         power up before attempting to connect
828
829 2008-09-27  Dan Williams  <dcbw@redhat.com>
830
831         * libnm-util/nm-setting-gsm.c
832                 - (verify): verify GSM network ID
833
834 2008-09-25  Dan Williams  <dcbw@redhat.com>
835
836         * libnm-util/nm-setting-gsm.c
837           libnm-util/nm-setting-gsm.h
838                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
839                         technology terms (bgo #551361)
840
841 2008-09-25  Dan Williams  <dcbw@redhat.com>
842
843         Fix bgo #549401 (inspired by patch from Alexander Sack)
844
845         * src/nm-device-ethernet.c
846                 - (finish_supplicant_task): clean up scheduled tasks and free memory
847                 - (remove_supplicant_interface_error_handler): remove the supplicant
848                         error idle callback too
849                 - (supplicant_interface_release): rename from supplicant_interface_clean
850                         to match nm-device-wifi.c; clean up supplicant interface-related
851                         state tasks when the supplicant interface is disposed of
852                 - (schedule_state_handler): add scheduled tasks to a list so they can
853                         be cleaned up later
854                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
855                    supplicant_iface_connection_state_cb_handler): use
856                         finish_supplicant_task() to clean up each completed task
857                 - (supplicant_iface_connection_error_cb_handler,
858                    supplicant_connection_timeout_cb): clear source id when the task is
859                         complete
860                 - (supplicant_iface_connection_error_cb): save scheduled task id for
861                         later cleanup
862                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
863                         tasks
864
865         * src/nm-device-wifi.c
866                 - (finish_supplicant_task): clean up scheduled tasks and free memory
867                 - (remove_supplicant_interface_error_handler): remove the supplicant
868                         error idle callback too
869                 - (supplicant_interface_release): clean up supplicant interface-related
870                         state tasks when the supplicant interface is disposed of
871                 - (schedule_state_handler): add scheduled tasks to a list so they can
872                         be cleaned up later
873                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
874                    supplicant_iface_connection_state_cb_handler): use
875                         finish_supplicant_task() to clean up each completed task
876                 - (supplicant_iface_connection_error_cb_handler): clear source id when
877                         the task is complete
878                 - (supplicant_iface_connection_error_cb): save scheduled task id for
879                         later cleanup
880                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
881
882 2008-09-24  Tambet Ingo  <tambet@gmail.com>
883
884         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
885         method and get/set hostname property.
886
887 2008-09-24  Tambet Ingo  <tambet@gmail.com>
888
889         * src/supplicant-manager/nm-supplicant-interface.c
890         (nm_supplicant_interface_disconnect): Don't increment the reference 
891         count when disconnecting. The problem is on shutdown, when the replies
892         to these commands do not arrive before NM exits, resulting on never
893         calling supplicant interface's dispose(), which removes the interface
894         from supplicant.
895
896 2008-09-24  Tambet Ingo  <tambet@gmail.com>
897
898         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
899         all the public function arguments.
900
901 2008-09-22  Tambet Ingo  <tambet@gmail.com>
902
903         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
904         "Failure" signal from VPN plugins, store the failure reason, and
905         use it when the state is changed to failure.
906
907         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
908         description.
909
910         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
911         reason to the end of the list to not break the API.
912         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
913         so it can be shared by plugins and daemon.
914
915 2008-09-18  Dan Williams  <dcbw@redhat.com>
916
917         Patch from Alexander Sack <asac@ubuntu.com>
918
919         * configure.in
920           system-settings/plugins/Makefile.am
921           system-settings/plugins/ifupdown/Makefile.am
922           system-settings/plugins/ifupdown/interface_parser.c
923           system-settings/plugins/ifupdown/interface_parser.h
924           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
925           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
926           system-settings/plugins/ifupdown/parser.c
927           system-settings/plugins/ifupdown/parser.h
928           system-settings/plugins/ifupdown/plugin.c
929           system-settings/plugins/ifupdown/plugin.h
930                 - Implement a Debian/Ubuntu legacy network configuration plugin
931                         (gnome.org #551941)
932
933 2008-09-18  Dan Williams  <dcbw@redhat.com>
934
935         Implement support for honoring configured and automatic hostnames, and for
936         setting the configured hostname.
937
938         * introspection/nm-ip4-config.xml
939           src/nm-ip4-config.c
940           src/nm-ip4-config.h
941           src/dhcp-manager/nm-dhcp-manager.c
942                 - Remove useless hostname property; it's not really part of the IPv4
943                         config
944
945         * introspection/nm-settings-system.xml
946           libnm-glib/nm-dbus-settings-system.c
947           libnm-glib/nm-dbus-settings-system.h
948                 - Add SetHostname() call to system settings D-Bus interface
949                 - Add Hostname property to system settings D-Bus interface
950                 - (nm_dbus_settings_system_save_hostname,
951                    nm_dbus_settings_system_get_hostname): implement
952
953         * src/nm-device.c
954           src/nm-device.h
955                 - (nm_device_get_dhcp4_config): implement
956
957         * src/nm-manager.c
958           src/nm-manager.h
959                 - Fetch and track system settings service hostname changes, and proxy
960                         the changes via a GObject property of the manager
961
962         * system-settings/src/nm-system-config-interface.c
963           system-settings/src/nm-system-config-interface.h
964                 - Replace nm_system_config_interface_supports_add() with a capabilities
965                         bitfield
966
967         * system-settings/src/nm-system-config-error.c
968           system-settings/src/nm-system-config-error.h
969                 - Add additional errors
970
971         * system-settings/src/dbus-settings.c
972           system-settings/src/dbus-settings.h
973                 - (get_property, nm_sysconfig_settings_class_init): add hostname
974                         property; first plugin returning a hostname wins
975                 - (impl_settings_add_connection): use plugin capabilities instead of
976                         nm_system_config_interface_supports_add()
977                 - (impl_settings_save_hostname): implement hostname saving
978
979         * src/NetworkManagerPolicy.c
980                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
981                    lookup_thread_die): implement an asynchronous hostname lookup thread
982                         which given an IPv4 address tries to look up the hostname for that
983                         address with reverse DNS
984                 - (get_best_device): split out best device code from
985                         update_routing_and_dns()
986                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
987                         to preserve the 127.0.0.1 reverse mapping that so many things require
988                 - (set_system_hostname): set a given hostname
989                 - (update_system_hostname): implement hostname policy; a configured
990                         hostname (from the system settings service) is used if available,
991                         otherwise an automatically determined hostname from DHCP, VPN, etc.
992                         If there was no automatically determined hostname, reverse DNS of
993                         the best device's IP address will be used, and as a last resort the
994                         hostname 'localhost.localdomain' is set.
995                 - (update_routing_and_dns): use get_best_device(); update the system
996                         hostname when the network config changes
997                 - (hostname_changed): update system hostname if the system settings
998                         service signals a hostname change
999                 - (nm_policy_new): list for system settings service hostname changes
1000                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1001                         gets told to die
1002
1003         * system-settings/plugins/keyfile/plugin.c
1004           system-settings/plugins/ifcfg-suse/plugin.c
1005                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1006                         capabilities properties
1007
1008         * system-settings/plugins/ifcfg-fedora/shvar.c
1009                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1010                         writes out /etc/sysconfig/network now
1011
1012         * system-settings/plugins/ifcfg-fedora/plugin.c
1013                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1014                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1015                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1016                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1017                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1018                         hostname get/set and capabilities get
1019
1020 2008-09-18  Dan Williams  <dcbw@redhat.com>
1021
1022         * libnm-util/nm-setting-wireless.c
1023                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1024                         group ciphers if the wireless-security setting explicitly specified
1025                         them, effectively making the default be "all ciphers"  (idea from
1026                         Alexander Sack)
1027
1028 2008-09-15  Dan Williams  <dcbw@redhat.com>
1029
1030         Patch from Alexander Sack <asac@ubuntu.com>
1031
1032         * src/named-manager/nm-named-manager.c
1033                 - (dispatch_resolvconf): respect resolvconf exit code
1034
1035 2008-09-12  Tambet Ingo  <tambet@gmail.com>
1036
1037         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1038         again. Add some debugging.
1039
1040 2008-09-11  Dan Williams  <dcbw@redhat.com>
1041
1042         * system-settings/plugins/keyfile/plugin.c
1043                 - (update_connection_settings): update connection manually, since
1044                         nm_exported_connection_update() does authentication
1045                 - (dir_changed): update_connection_settings() doesn't need to return
1046                         an error
1047
1048 2008-09-09  Dan Williams  <dcbw@redhat.com>
1049
1050         * libnm-glib/nm-vpn-plugin-ui-interface.c
1051           libnm-glib/nm-vpn-plugin-ui-interface.h
1052           libnm-glib/libnm_glib_vpn.ver
1053                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1054                         should clean up resources related to the connection (like keyring
1055                         secrets)
1056                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1057                         should save user-scope secrets (like to the keyring)
1058
1059 2008-09-08  Dan Williams  <dcbw@redhat.com>
1060
1061         Patch from Alexander Sack <asac@ubuntu.com>
1062
1063         * libnm-util/crypto_gnutls.c
1064           libnm-util/crypto_nss.c
1065                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1066
1067         * libnm-util/nm-utils.c
1068           libnm-util/nm-utils.h
1069           libnm-util/libnm-util.ver
1070                 - (nm_utils_init): initialize libnm-util
1071                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1072
1073         * libnm-util/nm-setting-8021x.c
1074                 - (nm_setting_802_1x_class_init): init libnm-util when needed
1075
1076 2008-09-05  Dan Williams  <dcbw@redhat.com>
1077
1078         Patch from Roy Marples <roy@marples.name> and others
1079
1080         * configure.in
1081           src/named-manager/nm-named-manager.c
1082                 - Add support for resolvconf; use --with-resolvconf at configure time
1083                         to enable it
1084
1085 2008-09-05  Dan Williams  <dcbw@redhat.com>
1086
1087         * libnm-util/crypto_nss.c
1088           libnm-util/crypto_gnutls.c
1089           libnm-util/crypto.h
1090                 - (crypto_init): return error when init fails
1091
1092 2008-09-05  Dan Williams  <dcbw@redhat.com>
1093
1094         * libnm-glib/nm-device-wifi.c
1095                 - (access_point_removed_proxy): clean up the active access point too
1096                         just in case the active ap changed signal didn't come through yet
1097                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1098
1099 2008-09-05  Dan Williams  <dcbw@redhat.com>
1100
1101         * libnm-glib/nm-client.c
1102                 - (constructor): get initial state after we know whether NM is running
1103                         or not
1104
1105 2008-09-05  Dan Williams  <dcbw@redhat.com>
1106
1107         * libnm-glib/nm-ip4-config.c
1108           libnm-glib/nm-dhcp4-config.c
1109                 - (finalize): clean up the DBusGProxy
1110
1111 2008-09-04  Dan Williams  <dcbw@redhat.com>
1112
1113         * src/nm-ip4-config.c
1114           src/nm-ip4-config.h
1115                 - (nm_ip4_config_new): don't export over D-Bus here
1116                 - (nm_ip4_config_export): new function; export the config over D-Bus
1117                 - (nm_ip4_config_is_exported): new function
1118
1119         * src/nm-device.c
1120                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1121                         objects by balancing the IP4Config constructor; the device holds
1122                         a reference to the IP4Config already
1123                 - (nm_device_set_ip4_config): export the IP4Config when needed
1124
1125 2008-09-04  Dan Williams  <dcbw@redhat.com>
1126
1127         * src/supplicant-manager/nm-supplicant-settings-verify.c
1128                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1129
1130 2008-09-04  Dan Williams  <dcbw@redhat.com>
1131
1132         * libnm-util/nm-setting-vpn.c
1133           libnm-util/nm-setting-vpn.h
1134                 - Split VPN secrets from VPN data so that settings services can actually
1135                         figure out that they are secrets and store them accordingly
1136
1137         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1138           system-settings/plugins/keyfile/reader.c
1139           system-settings/plugins/keyfile/reader.h
1140           system-settings/plugins/keyfile/writer.c
1141                 - Store VPN secrets separately from VPN data so that they can be fetched
1142                         on demand
1143                 - Implement the get_secrets() call so that (a) secrets don't leak out
1144                         to unprivileged callers, and (b) secrets can be sent to privileged
1145                         callers when needed
1146
1147         * vpn-daemons/vpnc/src/nm-vpnc-service.c
1148                 - Handle split VPN secrets
1149
1150 2008-08-27  Dan Williams  <dcbw@redhat.com>
1151
1152         * system-settings/plugins/ifcfg-fedora/reader.c
1153                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1154
1155 2008-08-27  Dan Williams  <dcbw@redhat.com>
1156
1157         Ensure zombie children get cleaned up.  To get notifications when children
1158         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1159         that requires calling waitpid() yourself if you've removed the child watch
1160         handler before the process has actually died, which NM needs to do in a few
1161         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1162         cleans up after the child when required.  Should fix problems trying to
1163         activate mobile broadband connections after a previous failure.
1164
1165         * src/dhcp-manager/nm-dhcp-dhclient.c
1166           src/dhcp-manager/nm-dhcp-dhcpcd.c
1167                 - Use G_SPAWN_DO_NOT_REAP_CHILD
1168
1169         * src/dhcp-manager/nm-dhcp-manager.c
1170                 - (nm_dhcp_device_destroy): ensure child is cleaned up
1171                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1172                         block on child quitting, since the non-blocking functionality was
1173                         never actually used
1174
1175         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1176                 - (dm_watch_cb): child is already reaped here
1177                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1178
1179         * src/nm-device.c
1180                 - (aipd_cleanup): block until child is dead
1181
1182         * src/named-manager/nm-named-manager.c
1183                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1184                         event bothering to watch the child
1185
1186         * src/ppp-manager/nm-ppp-manager.c
1187                 - (ppp_watch_cb): child is already reaped here
1188                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1189
1190         * src/vpn-manager/nm-vpn-service.c
1191                 - (vpn_service_watch_cb): child is already reaped here
1192                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1193                         status of the child is actually tracked
1194                 - (ensure_killed, finalize): block until child is dead
1195
1196 2008-08-26  Dan Williams  <dcbw@redhat.com>
1197
1198         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1199                 - (update): Update filename of the connection if the connection id
1200                         was changed
1201
1202         * system-settings/plugins/keyfile/plugin.c
1203                 - (dir_changed): first pass at handling connection renames correctly
1204
1205         * system-settings/plugins/keyfile/writer.c
1206           system-settings/plugins/keyfile/writer.h
1207                 - (write_connection): replace '/' with '*' when writing out the filename
1208                         from the connection id
1209
1210 2008-08-26  Dan Williams  <dcbw@redhat.com>
1211
1212         Add connection UUIDs, since connection names can be changed, and since
1213         old-style connection IDs could change over the life of the connection.  The
1214         UUID should be assigned at connection creation time, be stable for a given
1215         connection, and should be unique among all connections for a given settings
1216         service.
1217
1218         * configure.in
1219           libnm-util/Makefile.am
1220                 - Require libuuid
1221
1222         * introspection/nm-exported-connection.xml
1223                 - Remove "GetID" method
1224
1225         * libnm-glib/nm-dbus-connection.c
1226           libnm-glib/nm-settings.c
1227           libnm-glib/nm-settings.h
1228                 - Remove id-related stuff
1229
1230         * libnm-util/nm-utils.c
1231           libnm-util/nm-utils.h
1232           libnm-util/libnm-util.ver
1233                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1234                         utility functions to generate UUIDs
1235
1236         * libnm-util/nm-setting-connection.c
1237           libnm-util/nm-setting-connection.h
1238                 - Add 'uuid' member to the connection setting
1239                 - (verify): require valid 'uuid' for a valid connection
1240
1241         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1242           system-settings/plugins/ifcfg-fedora/reader.c
1243           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1244           system-settings/plugins/ifcfg-suse/parser.c
1245           system-settings/plugins/keyfile/nm-keyfile-connection.c
1246           system-settings/src/main.c
1247                 - Remove id-related stuff
1248                 - Give connections UUIDs where needed
1249
1250 2008-08-25  Dan Williams  <dcbw@redhat.com>
1251
1252         * libnm-util/crypto_gnutls.c
1253           libnm-util/crypto_nss.c
1254                 - (crypto_init, crypto_deinit): refcount init/deinit
1255                 - (crypto_md5_hash): allow NULL salt
1256
1257 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1258
1259         * libnm-glib/Makefile.am
1260           libnm-util/Makefile.am
1261           libnm-glib/libnm_glib.ver
1262           libnm-glib/libnm_glib_vpn.ver
1263           libnm-util/libnm-util.ver
1264                 - Use linker version scripts to control the list of exported 
1265                 symbols. List each exported symbol explicitely.
1266         * libnm-util/Makefile.am
1267                 - Fix compilation of the test-crypto binary. The crypto
1268                 functions are no longer part of the libnm-util API. Add 
1269                 crypto_*.c to test_crypto_SOURCES and link against the correct
1270                 crypto libraries.
1271
1272 2008-08-19  Dan Williams  <dcbw@redhat.com>
1273
1274         * configure.in
1275           test/Makefile.am
1276                 - Don't build test/test-common
1277                 - Remove unused stuff
1278
1279         * test/nm-set-fallback
1280           test/nmtestdevices.c
1281           test/test-common/.cvsignore
1282           test/test-common/Makefile.am
1283           test/test-common/test-common.c
1284           test/test-common/test-common.h
1285                 - delete
1286
1287 2008-08-18  Dan Williams  <dcbw@redhat.com>
1288
1289         * libnm-util/nm-utils.c
1290           libnm-util/nm-utils.h
1291                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1292                         export anything that needs to be converted with this function
1293
1294         * src/dhcp-manager/nm-dhcp-manager.c
1295                 - (garray_to_string): convert a byte array to a UTF-8 string with
1296                         minimal validation; the DHCP client sends it in ASCII anyway
1297                 - (get_option, copy_option): use garray_to_string()
1298
1299 2008-08-18  Dan Williams  <dcbw@redhat.com>
1300
1301         * include/NetworkManager.h
1302           introspection/nm-device.xml
1303                 - Add a "missing firmware" device state reason
1304
1305         * src/NetworkManagerSystem.c
1306           src/NetworkManagerSystem.h
1307                 - (nm_system_device_set_up_down): add a no_firmware argument
1308                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1309                         IFF_UP is ENOENT, that almost always means missing firmware
1310
1311         * src/backends/NetworkManagerGeneric.c
1312           src/nm-device-ethernet.c
1313           src/nm-device-private.h
1314           src/nm-device-wifi.c
1315           src/nm-device.c
1316           src/nm-device.h
1317           src/nm-hso-gsm-device.c
1318           src/vpn-manager/nm-vpn-connection.c
1319                 - Pass no_firmware along; check it where appropriate
1320
1321 2008-08-18  Dan Williams  <dcbw@redhat.com>
1322
1323         Patch from Robert Buchholz <rbu@gentoo.org>
1324
1325         * autogen.sh
1326           configure.in
1327                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1328                         1003.1-1988, allowing for file names longer than 99 characters
1329
1330 2008-08-17  Dan Williams  <dcbw@redhat.com>
1331
1332         * include/NetworkManager.h
1333           introspection/nm-device.xml
1334           src/nm-gsm-device.c
1335                 - Finer-grained GSM registration failure error codes
1336
1337 2008-08-17  Dan Williams  <dcbw@redhat.com>
1338
1339         * callouts/Makefile.am
1340           src/Makefile.am
1341                 - Move dispatcher directory creation to callouts/Makefile.am
1342
1343         * system-settings/plugins/keyfile/Makefile.am
1344                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1345
1346 2008-08-15  Dan Williams  <dcbw@redhat.com>
1347
1348         Do connection sharing in a cleaner manner; all required iptables rules
1349         are now stored in the activation request and pertain only to the device
1350         which is being shared to other computers. (rh #458625)
1351
1352         * src/nm-activation-request.c
1353           src/nm-activation-request.h
1354                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1355                         the activation request which will get torn down automatically when
1356                         the activation request dies
1357                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1358                         is started, and tear them down when sharing is stopped
1359
1360         * src/nm-device.c
1361                 - (start_sharing): start up sharing by doing the required iptables magic
1362                 - (share_init): poke the right bits of the kernel and load the right
1363                         modules for NAT
1364                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1365                         connection if it's a 'shared' connection
1366
1367         * src/NetworkManagerPolicy.c
1368                 - Remove all sharing stuff; done in the device code itself
1369
1370 2008-08-15  Dan Williams  <dcbw@redhat.com>
1371
1372         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1373                 - (create_dm_cmd_line): send the right router address
1374
1375 2008-08-15  Dan Williams  <dcbw@redhat.com>
1376
1377         * src/ppp-manager/nm-ppp-manager.c
1378                 - (pppd_timed_out): ensure timeouts fail the connection
1379
1380 2008-08-14  Dan Williams  <dcbw@redhat.com>
1381
1382         * src/nm-properties-changed-signal.c
1383           src/nm-properties-changed-signal.h
1384                 - Add a property spec flag for "don't export this property" in
1385                         property changed signals
1386
1387         * src/nm-hso-gsm-device.c
1388           src/nm-gsm-device.c
1389           src/nm-cdma-device.c
1390                 - Don't export monitor interface or netdev interface properties
1391
1392 2008-08-14  Dan Williams  <dcbw@redhat.com>
1393
1394         * src/NetworkManagerPolicy.c
1395                 - (update_routing_and_dns): 'hso' devices can be default even if they
1396                         don't have a gateway
1397
1398 2008-08-14  Dan Williams  <dcbw@redhat.com>
1399
1400         * src/nm-device.c
1401                 - (nm_device_deactivate_quickly): tear down activation request after
1402                         calling device-specific deactivation
1403
1404         * src/nm-hso-gsm-device.c
1405                 - (real_deactivate_quickly): terminate connection when deactivating
1406
1407 2008-08-14  Dan Williams  <dcbw@redhat.com>
1408
1409         * src/nm-activation-request.h
1410                 - Add HSO secrets caller
1411
1412         * src/nm-gsm-device.c
1413           src/nm-gsm-device.h
1414                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1415                         something to the callback function
1416                 - (set_apn, set_apn_done): call class dial function, not a static one
1417                 - (nm_gsm_device_class_init): add a class 'dial' function
1418
1419         * src/nm-hal-manager.c
1420                 - (get_hso_netdev): find the hso-driven hardware's net device
1421                 - (modem_device_creator): recognize hso-driven hardware and create the
1422                         right type of device object for it
1423
1424         * src/Makefile.am
1425           src/nm-hso-gsm-device.c
1426           src/nm-hso-gsm-device.h
1427                 - Implement support for devices driven by the 'hso' driver as a subclass
1428                         of NMGsmDevice
1429
1430 2008-08-14  Dan Williams  <dcbw@redhat.com>
1431
1432         * src/NetworkManagerSystem.c
1433                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1434                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1435                         success if the operation really was successful
1436
1437 2008-08-14  Dan Williams  <dcbw@redhat.com>
1438
1439         * src/nm-netlink-monitor.c
1440           src/nm-netlink-monitor.h
1441           src/nm-device-ethernet.c
1442                 - (nm_netlink_monitor_request_status): return an error on failure
1443                 - (constructor): don't segfault on missing error
1444
1445 2008-08-13  Dan Williams  <dcbw@redhat.com>
1446
1447         * callouts/nm-dispatcher-action.c
1448                 - Add IP4 config info to script environment
1449
1450 2008-08-12  Dan Williams  <dcbw@redhat.com>
1451
1452         * src/nm-device.c
1453                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1454                         that want to use DHCP hostnames should use dispatcher scripts
1455                         for that
1456
1457         * src/NetworkManagerSystem.h
1458           src/backends/NetworkManagerArch.c
1459           src/backends/NetworkManagerDebian.c
1460           src/backends/NetworkManagerFrugalware.c
1461           src/backends/NetworkManagerGeneric.c
1462           src/backends/NetworkManagerGeneric.h
1463           src/backends/NetworkManagerGentoo.c
1464           src/backends/NetworkManagerMandriva.c
1465           src/backends/NetworkManagerPaldo.c
1466           src/backends/NetworkManagerRedHat.c
1467           src/backends/NetworkManagerSlackware.c
1468           src/backends/NetworkManagerSuSE.c
1469                 - Remove nm_system_set_hostname(), no longer used
1470           
1471         * src/backends/Makefile.am
1472           src/backends/shvar.c
1473           src/backends/shvar.h
1474                 - Remove shvar.*; no longer used
1475
1476 2008-08-12  Dan Williams  <dcbw@redhat.com>
1477
1478         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1479         hostname is updated at runtime.  Distros or users who want hostname updates
1480         can use dispatcher scripts to update the hostname if they need it.
1481
1482 2008-08-12  Dan Williams  <dcbw@redhat.com>
1483
1484         * introspection/nm-settings-system.xml
1485           system-settings/src/dbus-settings.c
1486           system-settings/src/dbus-settings.h
1487                 - Add a 'Hostname' property (rw) which represents the configured
1488                         hostname and domain of the system, if any
1489
1490         * system-settings/src/nm-system-config-error.c
1491           system-settings/src/nm-system-config-error.h
1492           system-settings/src/nm-system-config-interface.c
1493           system-settings/src/nm-system-config-interface.h
1494                 - Add a 'hostname' property to the plugin interface
1495                 - Add a method to send updated hostname to plugins to save in their
1496                         backing configuration store
1497
1498         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1499           system-settings/plugins/keyfile/plugin.c
1500           system-settings/plugins/keyfile/writer.c
1501           system-settings/plugins/keyfile/writer.h
1502           system-settings/plugins/ifcfg-suse/plugin.c
1503                 - Add minimal hostname support
1504
1505         * system-settings/plugins/ifcfg-fedora/plugin.c
1506                 - Add support for updating system hostname in /etc/sysconfig/network
1507
1508 2008-08-12  Dan Williams  <dcbw@redhat.com>
1509
1510         * system-settings/plugins/ifcfg-fedora/shvar.c
1511           system-settings/plugins/ifcfg-fedora/shvar.c
1512                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1513
1514 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1515
1516         * Makefile.am: Fix distcheck.
1517
1518 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1519
1520         * libnm-glib/*.c. Document some more.
1521
1522 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1523
1524         Start documenting libnm-glib public API using gtk-doc.
1525
1526         * libnm-glib/nm-serial-device.c: 
1527         * libnm-glib/nm-object.c: 
1528         * libnm-glib/nm-gsm-device.c: 
1529         * libnm-glib/nm-device.c: 
1530         * libnm-glib/nm-device-wifi.c: 
1531         * libnm-glib/nm-device-ethernet.c: 
1532         * libnm-glib/nm-client.c: 
1533         * libnm-glib/nm-cdma-device.c: Document the public API.
1534
1535         * docs/libnm-glib/libnm-glib.types: Implement.
1536
1537         * docs/libnm-glib/Makefile.am: Implement.
1538
1539         * autogen.sh: 
1540         * configure.in: 
1541         * Makefile.am: Add gtk-doc support.
1542
1543 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1544
1545         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1546
1547         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1548         the composite result of all the IP4 configurations and call a distro
1549         specific update_resolv_conf().
1550         (update_resolv_conf): Implement one for directly writing to 
1551         /etc/resolv.conf and one for opensuse to call netconfig.
1552
1553 2008-08-11  Dan Williams  <dcbw@redhat.com>
1554
1555         * src/ppp-manager/nm-ppp-manager.c
1556                 - (impl_ppp_manager_need_secrets): pass interface as required
1557
1558 2008-08-11  Dan Williams  <dcbw@redhat.com>
1559
1560         Merge the vpn-properties setting with the vpn setting since it was pointless
1561         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1562         of string:string (instead of string:variant) so that system settings plugins
1563         can have an easier time dealing with the arbitrary key/value pairs.
1564
1565 2008-08-11  Dan Williams  <dcbw@redhat.com>
1566
1567         * libnm-util/nm-utils.c
1568                 - (nm_utils_register_value_transformations): add value transform for
1569                         a hash table of string:string
1570
1571 2008-08-10  Dan Williams  <dcbw@redhat.com>
1572
1573         * libnm-glib/nm-vpn-plugin.c
1574                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1575                         an idle handler so the Connect reply gets delivered before the
1576                         stop StateChanged signal
1577
1578 2008-08-10  Dan Williams  <dcbw@redhat.com>
1579
1580         * src/nm-ip4-config.c
1581                 - (get_property): use common ip4 address/route conversion functions
1582                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1583                         copy the new route here, not take ownership
1584
1585 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1586
1587         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1588         Update the IP4 setting's method name.
1589
1590 2008-08-07  Dan Williams  <dcbw@redhat.com>
1591
1592         * introspection/nm-ip4-config.xml
1593           libnm-glib/libnm-glib-test.c
1594           libnm-glib/nm-ip4-config.c
1595           libnm-glib/nm-ip4-config.h
1596           src/NetworkManagerSystem.h
1597           src/backends/NetworkManagerArch.c
1598           src/backends/NetworkManagerDebian.c
1599           src/backends/NetworkManagerFrugalware.c
1600           src/backends/NetworkManagerGeneric.c
1601           src/backends/NetworkManagerGeneric.h
1602           src/backends/NetworkManagerGentoo.c
1603           src/backends/NetworkManagerMandriva.c
1604           src/backends/NetworkManagerPaldo.c
1605           src/backends/NetworkManagerRedHat.c
1606           src/backends/NetworkManagerSlackware.c
1607           src/backends/NetworkManagerSuSE.c
1608           src/dhcp-manager/nm-dhcp-manager.c
1609           src/nm-device.c
1610           src/nm-ip4-config.c
1611           src/nm-ip4-config.h
1612                 - Remove NIS logic; should be done from dispatcher scripts instead
1613
1614 2008-08-07  Dan Williams  <dcbw@redhat.com>
1615
1616         * src/dhcp-manager/nm-dhcp-manager.c
1617                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1618                         mis-handling of DHCP responses that returned more than one router
1619                         (found by Grant Williamson)
1620
1621 2008-08-07  Dan Williams  <dcbw@redhat.com>
1622
1623         * callouts/nm-dispatcher-action.c
1624                 - (nm_dispatcher_action): grab device path and create the device; pass
1625                         the device's DHCP4 config to script caller
1626                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1627                         scripts
1628
1629         * libnm-glib/nm-dhcp4-config.c
1630           libnm-glib/nm-dhcp4-config.h
1631                 - (nm_dhcp4_config_get_options): expose
1632                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1633
1634 2008-08-07  Dan Williams  <dcbw@redhat.com>
1635
1636         * include/NetworkManager.h
1637                 - Add the DHCP4Config D-Bus interface
1638
1639         * libnm-glib/Makefile.am
1640           libnm-glib/nm-dhcp4-config.c
1641           libnm-glib/nm-dhcp4-config.h
1642                 - Handle DHCP4 config objects exported by NM over D-Bus
1643
1644         * libnm-glib/nm-device.c
1645           libnm-glib/nm-device.h
1646                 - Add a 'dhcp4-config' property
1647
1648         * libnm-glib/libnm-glib-test.c
1649                 - Print out DHCP4 config for devices
1650                 - Fix some crashes when no connections are active
1651
1652         * src/nm-device-interface.c
1653           src/nm-device.c
1654           src/nm-dhcp4-config.c
1655           src/nm-dhcp4-config.h
1656                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1657                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1658                         doesn't let us do when the property type is G_TYPE_OBJECT
1659
1660 2008-08-07  Dan Williams  <dcbw@redhat.com>
1661
1662         * src/NetworkManager.c
1663           src/NetworkManagerSystem.h
1664           src/backends/NetworkManagerArch.c
1665           src/backends/NetworkManagerDebian.c
1666           src/backends/NetworkManagerFrugalware.c
1667           src/backends/NetworkManagerGeneric.c
1668           src/backends/NetworkManagerGeneric.h
1669           src/backends/NetworkManagerGentoo.c
1670           src/backends/NetworkManagerMandriva.c
1671           src/backends/NetworkManagerPaldo.c
1672           src/backends/NetworkManagerRedHat.c
1673           src/backends/NetworkManagerSlackware.c
1674           src/backends/NetworkManagerSuSE.c
1675                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1676
1677 2008-08-06  Dan Williams  <dcbw@redhat.com>
1678
1679         * libnm-glib/nm-ip4-config.c
1680           libnm-glib/nm-ip4-config.h
1681                 - Add 'routes' property
1682
1683         * libnm-util/nm-setting-vpn.c
1684           libnm-util/nm-setting-vpn.h
1685                 - Remove 'routes' property
1686
1687         * libnm-util/nm-setting-ip4-config.c
1688           libnm-util/nm-setting-ip4-config.h
1689                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1690                 - Add 'ignore-auto-routes' property
1691                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1692                         accomodate route metrics
1693                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1694
1695         * libnm-util/nm-utils.c
1696           libnm-util/nm-utils.h
1697                 - Add helpers for marshalling IP4 routes
1698
1699         * src/NetworkManagerUtils.c
1700                 - (nm_utils_merge_ip4_config): handle property renames and new route
1701                         structure
1702
1703         * src/NetworkManagerSystem.c
1704                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1705                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1706
1707         * src/dhcp-manager/nm-dhcp-manager.c
1708                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1709
1710         * system-settings/plugins/ifcfg-fedora/reader.c
1711           system-settings/plugins/ifcfg-fedora/writer.c
1712                 - Handle routes separately from addresses now that routes have a different
1713                         format
1714
1715         * introspection/nm-ip4-config.xml
1716           src/nm-ip4-config.c
1717           src/nm-ip4-config.h
1718                 - Rename internal routing functions
1719                 - 'static-routes' renamed to 'routes'
1720
1721 2008-08-04  Dan Williams  <dcbw@redhat.com>
1722
1723         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1724
1725         * src/NetworkManager.c
1726           src/nm-manager.c
1727           src/nm-manager.h
1728                 - More explicitly make the NMManager a singleton
1729
1730 2008-08-04  Dan Williams  <dcbw@redhat.com>
1731
1732         * libnm-util/nm-connection.c
1733           libnm-util/nm-connection.h
1734                 - (nm_connection_verify): return error on missing 'connection' setting
1735                         (found by Sjoerd Simons)
1736
1737 2008-08-04  Dan Williams  <dcbw@redhat.com>
1738
1739         Handle multiple concurrent PPP connections.
1740
1741         * src/ppp-manager/nm-ppp-manager.c
1742           src/ppp-manager/nm-ppp-manager.h
1743                 - (constructor): only PPP Manager request bus name once; each
1744                         NMPPPManager object gets a unique object path
1745                 - (nm_ppp_manager_class_init, get_property, set_property,
1746                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1747                         at construct time
1748                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1749                         remove timeout until PPP manager gets an IP4 config
1750                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1751                         the plugin can call back to this specific PPP manager instance
1752
1753         * src/nm-device-ethernet.c
1754           src/nm-serial-device.c
1755                 - Pass parent device in nm_ppp_manager_new()
1756
1757         * src/nm-gsm-device.c
1758           src/nm-cdma-device.c
1759                 - (device_state_changed): don't close serial device on NEED_AUTH
1760                         state changed, that's not a failure case like the rest are
1761
1762         * src/ppp-manager/nm-pppd-plugin.c
1763                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1764                         binds one interface to any pppd process, thus the correct index
1765                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1766                         problems; try harder to get a peer address in spite of pppd
1767                 - (plugin_init): use 'ipparam' as the object path back to our specific
1768                         PPP manager instance
1769
1770 2008-08-04  Dan Williams  <dcbw@redhat.com>
1771
1772         * src/ppp-manager/nm-ppp-manager.c
1773                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1774                         since the GSM and CDMA settings now implement need_secrets, we can
1775                         rely on them to do the right thing.  Where secrets are not required,
1776                         just pass empty strings back to the pppd plugin.
1777                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1778                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1779                         on successful IP4 config receipt
1780
1781 2008-08-04  Dan Williams  <dcbw@redhat.com>
1782
1783         * libnm-util/nm-setting-cdma.c
1784           libnm-util/nm-setting-gsm.c
1785                 - (verify): validate username & password if they exist
1786                 - (need_secrets): if username given, require a password too
1787
1788 2008-08-04  Dan Williams  <dcbw@redhat.com>
1789
1790         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1791                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1792                         manpage says about --listen-address without --interface
1793                         (bgo #546033)
1794
1795 2008-08-01  Dan Williams  <dcbw@redhat.com>
1796
1797         * libnm-glib/nm-device.c
1798                 - (proxy_get_string): util function for querying a HAL property
1799                 - (get_ancestor_device): split out from get_product_and_vendor()
1800                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1801                         from PCI devices by querying subsys properties
1802                 - (nm_device_update_description): simplify
1803
1804 2008-08-01  Dan Williams  <dcbw@redhat.com>
1805
1806         * libnm-util/nm-setting-ip4-config.c
1807           libnm-util/nm-setting-ip4-config.h
1808                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1809                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1810                         settings, and they don't necessarily use DHCP.
1811
1812         * src/NetworkManagerPolicy.c
1813           src/nm-device.c
1814           system-settings/plugins/ifcfg-fedora/reader.c
1815           system-settings/plugins/ifcfg-suse/parser.c
1816                 - Fixup for method changes
1817
1818 2008-07-31  Dan Williams  <dcbw@redhat.com>
1819
1820         * src/nm-activation-request.c
1821           src/vpn-manager/nm-vpn-connection.c
1822                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1823                         itself should be attached to the activation request or the VPN
1824                         connection, not the NMConnection object, since the call is not
1825                         expected to live as long as the NMConnection itself
1826
1827 2008-07-31  Dan Williams  <dcbw@redhat.com>
1828
1829         * src/nm-device-wifi.c
1830                 - (real_act_stage2_config): fix issue where association would continue
1831                         even though secrets were needed; 'goto out' was in wrong scope and
1832                         result of handle_auth_or_fail() should have been dumped directly to
1833                         'ret' to ensure that the association was postponed until secrets
1834                         are available
1835
1836 2008-07-31  Dan Williams  <dcbw@redhat.com>
1837
1838         * system-settings/plugins/ifcfg-fedora/plugin.c
1839           system-settings/plugins/ifcfg-fedora/reader.c
1840                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1841                         valid NM connection
1842
1843 2008-07-29  Dan Williams  <dcbw@redhat.com>
1844
1845         * src/nm-gsm-device.c
1846                 - (automatic_registration_response, automatic_registration): recognize
1847                         denied registration and reorder responses
1848
1849 2008-07-29  Dan Williams  <dcbw@redhat.com>
1850
1851         * src/nm-serial-device.c
1852                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1853                         time(2) is used for current time, which returns seconds, we shouldn't
1854                         be multiplying by 1000.
1855
1856 2008-07-28  Dan Williams  <dcbw@redhat.com>
1857
1858         Patch from Fabrice Bellet <fabrice@bellet.info>
1859
1860         * src/NetworkManagerSystem.c
1861                 - (route_in_same_subnet): mask addresses and compare them so that the
1862                         function actually does what it says it's going to do (rh #456685)
1863
1864 2008-07-27  Dan Williams  <dcbw@redhat.com>
1865
1866         * libnm-util/nm-setting-ip6-config.c
1867                 - (set_property): add missing break that caused routes to be overwritten
1868                         with addresses
1869
1870         * libnm-util/nm-setting-ip6-config.c
1871                 - (verify): validate routes and return GError everywhere on invalid setting
1872                 - (finalize): don't leak routes
1873                 - (set_property): add missing break that caused routes to be overwritten
1874                         with addresses
1875
1876 2008-07-27  Dan Williams  <dcbw@redhat.com>
1877
1878         * libnm-util/*
1879                 - Relicense to LGPLv2+
1880
1881 2008-07-27  Dan Williams  <dcbw@redhat.com>
1882
1883         * system-settings/plugins/ifcfg-fedora/reader.c
1884                 - (make_ip4_setting): fix parsing automatic configs
1885
1886 2008-07-27  Dan Williams  <dcbw@redhat.com>
1887
1888         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1889           src/nm-device.c
1890           src/ppp-manager/nm-ppp-manager.c
1891                 - Ensure child process gets reaped.  The child watch function may be
1892                         removed from the mainloop before the child gets killed, so we have
1893                         to make sure the child is reaped when it's told to die intentionally
1894
1895 2008-07-27  Dan Williams  <dcbw@redhat.com>
1896
1897         Patch from Roy Marples <roy@marples.name>
1898
1899         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1900                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1901
1902 2008-07-27  Dan Williams  <dcbw@redhat.com>
1903
1904         * src/nm-gsm-device.c
1905                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1906                         Huawei devices turn echo back on after CPIN (rh #456770)
1907
1908 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1909
1910         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1911         format argument to g_set_error() call.
1912
1913         * src/backends/interface_parser.[ch]: Remove.
1914
1915         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1916
1917 2008-07-21  Dan Williams  <dcbw@redhat.com>
1918
1919         * src/ppp-manager/nm-ppp-manager.c
1920                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1921                         to prevent pppd from picking up some random local address from an
1922                         interface that doesn't have anything to do with the one we're
1923                         interested in (rh #455348)
1924
1925 2008-07-17  Dan Williams  <dcbw@redhat.com>
1926
1927         * libnm-util/nm-utils.c
1928                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1929                         by locale
1930                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1931                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1932
1933 2008-07-17  Dan Williams  <dcbw@redhat.com>
1934
1935         * introspection/Makefile.am
1936           introspection/nm-device.xml
1937           introspection/nm-dhcp4-config.xml
1938                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1939                         itself
1940         * src/nm-device-interface.c
1941           src/nm-device-interface.h
1942                 - Add the DHCP4Config property
1943
1944         * src/nm-device.c
1945                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1946                         D-Bus clients when it changes
1947
1948         * src/nm-dhcp4-config.c
1949           src/nm-dhcp4-config.h
1950                 - Simple object to store DHCP4 options, export them over D-Bus, and
1951                         notify when they change
1952
1953         * src/dhcp-manager/nm-dhcp-manager.c
1954           src/dhcp-manager/nm-dhcp-manager.h
1955                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1956                         filter server-returned DHCP options into an NMDHCP4Config object
1957
1958 2008-07-16  Dan Williams  <dcbw@redhat.com>
1959
1960         * introspection/nm-device.xml
1961                 - Add device state reasons
1962
1963 2008-07-16  Dan Williams  <dcbw@redhat.com>
1964
1965         Patch from Roy Marples <roy@marples.name>
1966
1967         * configure.in
1968                 - Add --with-dhcp-client option
1969
1970         * src/dhcp-manager/Makefile.am
1971                 - pass DHCP_CLIENT_PATH on compile line
1972
1973         * src/dhcp-manager/nm-dhcp-manager.c
1974           src/dhcp-manager/nm-dhcp-manager.h
1975                 - Genericize for both dhcpcd and dhclient
1976
1977         * src/dhcp-manager/nm-dhcp-dhclient.c
1978                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1979
1980         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1981                 - Implement support for dhcpcd too
1982
1983 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1984
1985         * system-settings/src/nm-system-config-interface.c 
1986         (nm_system_config_interface_supports_add): Implement.
1987         (nm_system_config_interface_add_connection): Return a boolean to notify
1988         of errors.
1989
1990         * system-settings/src/nm-polkit-helpers.c: 
1991         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1992         a separate file.
1993
1994         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1995         Return an error when none of the plugins support add or if addition
1996         failed for some reason.
1997
1998         * system-settings/src/nm-system-config-error.h: 
1999         * system-settings/src/nm-system-config-error.c: New files, mostly moved
2000         here from nm-polkit-helpers.[ch].
2001
2002         * system-settings/src/Makefile.am: Build new files.
2003
2004         * system-settings/plugins/keyfile/reader.c 
2005         (read_array_of_array_of_uint): Make it more general so that it would
2006         work for routes as well.
2007
2008         * system-settings/plugins/keyfile/writer.c
2009         (write_array_of_array_of_uint): Ditto.
2010         Fix the netmask/prefix writing.
2011
2012         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2013         boolean to notify errors.
2014
2015         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2016         Return more specific error.
2017         (delete): Ditto.
2018
2019 2008-07-11  Dan Williams  <dcbw@redhat.com>
2020
2021         Modify the NMDevice::state-changed signal to include the previous state
2022         and reason. Enables the applet to provide more information why device
2023         activation failed.
2024
2025 2008-07-09  Dan Williams  <dcbw@redhat.com>
2026
2027         * callouts/Makefile.am
2028           callouts/nm-avahi-autoipd-action.c
2029           callouts/nm-avahi-autoipd.conf
2030                 - avahi-autoipd callout to send options back to NM
2031
2032         * src/autoip.c
2033           src/autoip.h
2034                 - remove
2035
2036         * src/nm-device.c
2037           src/nm-device-private.h
2038           src/nm-manager.c
2039                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2040                         old custom stuff
2041
2042 2008-07-07  Dan Williams  <dcbw@redhat.com>
2043
2044         * system-settings/plugins/ifcfg-fedora/reader.c
2045                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2046                         handle PREFIX too; clean up
2047
2048 2008-07-07  Dan Williams  <dcbw@redhat.com>
2049
2050         Convert to using IPv4 prefixes instead of netmasks.
2051
2052 2008-07-03  Dan Williams  <dcbw@redhat.com>
2053
2054         * libnm-util/nm-setting-ip4-config.c
2055           libnm-util/nm-setting-ip4-config.h
2056                 - Add properties for DHCP Client Identifier and DHCP Hostname
2057
2058         * src/dhcp-manager/nm-dhcp-manager.c
2059           src/dhcp-manager/nm-dhcp-manager.h
2060                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2061                         setting as an argument to pass on to the dhclient config file
2062                         creation function
2063                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2064                         DHCP is torn down
2065                 - (dhclient_run): punt config file handling to create_dhclient_config()
2066                 - (create_dhclient_config): create an interface-specific dhclient
2067                         config file since there may need to be interface-specific options
2068                         passed to dhclient
2069                 - (merge_dhclient_config): merge normal distro dhclient config file and
2070                         add options from the connection
2071                 - (nm_dhcp_device_new): generate the interface specific dhclient
2072                         config file path once
2073                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2074                         dhclient config file path
2075
2076         * src/nm-device.c
2077                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2078                         DHCP manager when starting DHCP
2079
2080 2008-07-02  Dan Williams  <dcbw@redhat.com>
2081
2082         * libnm-util/nm-setting-8021x.c
2083                 - (verify): allow forcing the PEAP label to 0
2084
2085 2008-07-02  Dan Williams  <dcbw@redhat.com>
2086
2087         * introspection/nm-active-connection.xml
2088           introspection/nm-vpn-connection.xml
2089           libnm-glib/nm-active-connection.c
2090           src/nm-activation-request.c
2091           src/nm-active-connection.h
2092           src/vpn-manager/nm-vpn-connection.c
2093                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2094                         and libnm-glib API since sharing didn't get implemented that way
2095
2096 2008-07-02  Dan Williams  <dcbw@redhat.com>
2097
2098         * src/nm-device-wifi.c
2099                 - (can_scan): don't scan when a shared connection is activated since
2100                         that makes drivers mad (causing disconnects); also NM doesn't need
2101                         to hedge against disconnects by keeping up-to-date network topology
2102                         because the connection originates from the local machine, and thus
2103                         there should be no disconnects
2104
2105 2008-07-01  Dan Williams  <dcbw@redhat.com>
2106
2107         Fix mobile broadband username/password issues.  NM was never requesting
2108         mobile broadband secrets, nor was it passing back the username and password
2109         if it had them.
2110
2111         * marshallers/nm-marshal.list
2112                 - Add some new types for activation request objects
2113
2114         * src/nm-activation-request.c
2115           src/nm-activation-request.h
2116                 - (get_secrets_cb): pass the caller type in the signal
2117                 - (nm_act_request_request_connection_secrets): take a caller type, so
2118                         that GetSecrets() reply handlers know who asked for the secrets in
2119                         the first place; use secret hints too so the settings service can
2120                         figure out exactly what NM wants (ie, PIN or the PPP password)
2121
2122         * src/ppp-manager/nm-ppp-manager.c
2123           src/ppp-manager/nm-ppp-manager.h
2124                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2125                         detect needed secrets when the secret could be blank, like GSM/CDMA
2126                         passwords.  So always ask for secrets, and send a hint as to what
2127                         secret we really want.
2128                 - (nm_ppp_manager_update_secrets): make function more generic by making
2129                         the device specific class figure out the username and password, and
2130                         accept an error argument to return back over D-Bus
2131
2132         * src/nm-device-wifi.c
2133                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2134                         nm_act_request_request_connection_secrets()
2135                 - (real_connection_secrets_updated): update for 'caller' changes
2136
2137         * src/nm-device.c
2138           src/nm-device.h
2139                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2140                         for 'caller' changes
2141
2142         * src/nm-device-ethernet.c
2143                 - (real_connection_secrets_updated): update for 'caller' changes and
2144                         move logic for getting PPPoE username and password here before
2145                         calling nm_ppp_manager_update_secrets()
2146                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2147                         nm_act_request_request_connection_secrets()
2148
2149         * src/nm-cdma-device.c
2150                 - (real_connection_secrets_updated): pass username and password back
2151                         to the PPP manager when required
2152
2153         * src/nm-gsm-device.c
2154                 - (enter_pin): send the required secret name to the settings service
2155                 - (real_connection_secrets_updated): pass username and password back
2156                         to the PPP manager when required
2157
2158 2008-06-30  Dan Williams  <dcbw@redhat.com>
2159
2160         * src/nm-device-wifi.c
2161                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2162
2163 2008-06-30  Dan Williams  <dcbw@redhat.com>
2164
2165         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
2166         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2167         priv->supplicant.iface.  When either condition is false, the device should
2168         transition back to UNAVAILABLE because it cannot be used.
2169
2170         * src/nm-device-wifi.c
2171                 - (constructor): cleanup; connect to supplicant manager here since the
2172                         supplicant manager is always around
2173                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2174                         ensure the supplicant manager is in the IDLE state
2175                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2176                         cancel any pending scans too
2177                 - (real_bring_up): don't set up the supplicnat interface here, because
2178                         we need the supplicant interface at times when the device may not
2179                         be "up"
2180                 - (real_take_down): just remove the periodic source
2181                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2182                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2183                         do anything if there's no supplicant interface
2184                 - (cleanup_association_attempt): cleanup
2185                 - (supplicant_iface_state_cb_handler): request an immediate scan when
2186                         the interface enters the READY state; transition to UNAVAILABLE
2187                         state when the interface goes down because the device can't be used
2188                         without a supplicant interface
2189                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2190                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
2191                         acquire the supplicant interface and transition to DISCONNECTED
2192                         if the radio isn't killed
2193                 - (nm_device_wifi_dispose): move most of device_cleanup() here
2194                 - (state_changed_cb): release any existing supplicant interface; if the
2195                         radio is enabled then try to acquire a new supplicant interface;
2196                         if the radio is enabled and a supplicant interface has been acquired,
2197                         we can transition to DISCONNECTED
2198                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2199                         don't enable the radio, because HAL probably lied to us about the
2200                         killswitch being off.  If bringing the hardware up worked, then
2201                         try to grab a supplicant interface, and if that was successful,
2202                         transition to DISCONNECTED
2203
2204 2008-06-30  Dan Williams  <dcbw@redhat.com>
2205
2206         * src/supplicant-manager/nm-supplicant-interface.c
2207                 - (request_scan_results, nm_supplicant_interface_dispose,
2208                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2209                         the id of the timeout, not a GSource
2210
2211 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2212
2213         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
2214         bunch of typoes introduced by "Patch from David Cantrell 
2215         <dcantrell@redhat.com> and me".
2216
2217 2008-06-30  Tambet Ingo  <tambet@gmail.com>
2218
2219         * src/nm-serial-device.c: 
2220         * src/nm-gsm-device.c: 
2221         * src/nm-cdma-device.c: Move the pending call handling to a common location
2222         in serial device. Handle setting device state to failed in one place as well.
2223
2224 2008-06-29  Dan Williams <dcbw@redhat.com>
2225
2226         * src/nm-hal-manager.c
2227                 - Rework killswitch handling to query killswitch status immediately
2228                         when the first killswitch is added, so that rfkill state is
2229                         known as early as possible
2230                 - Also treat failure of GetPower() as rfkill when the dbus method
2231                         call times out (but not when the HAL callout returns an error)
2232
2233 2008-06-26  Dan Williams <dcbw@redhat.com>
2234
2235         Patch from David Cantrell <dcantrell@redhat.com> and me
2236
2237         * include/nm-dbus-glib-types.h
2238                 - Add IP6 address types
2239
2240         * libnm-util/Makefile.am
2241           libnm-util/nm-setting-ip6-config.c
2242           libnm-util/nm-setting-ip6-config.h
2243                 - Add IP6 settings object
2244
2245         * libnm-util/nm-connection.c
2246                 - (register_default_settings): register ip6 settings object
2247
2248         * libnm-util/nm-utils.c
2249           libnm-util/nm-utils.h
2250                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2251                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2252                         ip6 address conversion functions
2253         
2254 2008-06-26  Dan Williams <dcbw@redhat.com>
2255
2256         Patch from David Cantrell <dcantrell@redhat.com>
2257         
2258         * Use inet_ntop() and inet_pton() everwhere and check for errors
2259
2260 2008-06-26  Dan Williams <dcbw@redhat.com>
2261
2262         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2263
2264 2008-06-26  Dan Williams <dcbw@redhat.com>
2265
2266         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2267
2268         * src/nm-device-wifi.c
2269                 - (link_timeout_cb): don't ignore disconnects due to scanning
2270                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2271                         a longer timeout when scanning; avoids case where supplicant can't
2272                         find the AP and just keeps scanning forever but isn't connected
2273
2274 2008-06-26  Dan Williams <dcbw@redhat.com>
2275
2276         Patch from Michael Biebl <biebl@debian.org>
2277
2278         * Clean up build system stuff
2279
2280 2008-06-23  Christian Persch  <chpe@gnome.org>
2281
2282         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2283         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2284         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2285         (impl_get_object):
2286         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2287         (impl_get_object):
2288         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2289         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2290         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2291         (impl_get_object):
2292         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2293         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2294         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2295         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2296         * vpn-daemons/pptp/properties/vpnui_opt.c:
2297         (vpnui_opt_connect_signals):
2298         * vpn-daemons/pptp/properties/vpnui_opt.h:
2299         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2300         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2301         deprecated gtk type macros. Bug #539325.
2302
2303 2008-06-20  Dan Williams  <dcbw@redhat.com>
2304
2305         * libnm-glib/nm-vpn-plugin-ui-interface.c
2306           libnm-glib/nm-vpn-plugin-ui-interface.h
2307                 - 'validity-changed' -> 'changed' to work better with the connection
2308                         editor.  Plugin UI widgets should emit 'changed' whenever their
2309                         UI values change in a meaningful way.
2310                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2311                         update_connection member now returns validity of the UI widget
2312
2313 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2314
2315         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2316
2317 2008-06-17  Dan Williams  <dcbw@redhat.com>
2318
2319         * libnm-glib/nm-vpn-plugin-ui-interface.c
2320           libnm-glib/nm-vpn-plugin-ui-interface.h
2321                 - Add "desc" property for longer descriptions of the VPN plugin
2322
2323 2008-06-16  Dan Williams  <dcbw@redhat.com>
2324
2325         * configure.in
2326           libnm-glib/libnm_glib_vpn.pc.in
2327                 - add a .pc file for libnm_glib_vpn
2328
2329         * libnm-glib/nm-vpn-plugin-ui-interface.c
2330           libnm-glib/nm-vpn-plugin-ui-interface.h
2331                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2332                         rework it substantially
2333
2334 2008-06-12  Dan Williams  <dcbw@redhat.com>
2335
2336         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2337         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2338         returns a descriptive GError when verification fails.
2339
2340 2008-06-11  Dan Williams  <dcbw@redhat.com>
2341
2342         Patch from Tambet Ingo <tambet@gmail.com>
2343
2344         * libnm-util/nm-setting-gsm.c
2345                 - (verify): validate APN
2346
2347         * src/nm-gsm-device.c
2348                 - (manual_registration_done): start setting APN if needed
2349                 - (set_apn, set_apn_done): set the APN
2350                 - (do_dial): use the APN when dialing
2351
2352 2008-06-11  Dan Williams  <dcbw@redhat.com>
2353
2354         * src/NetworkManagerSystem.c
2355                 - (nm_system_device_set_ip4_route,
2356                    nm_system_device_replace_default_ip4_route): check for the right
2357                         return value from rtnl_route_add() to know when to add a gateway
2358                         route (from Tambet)
2359
2360 2008-06-11  Dan Williams  <dcbw@redhat.com>
2361
2362         * src/NetworkManagerPolicy.c
2363                 - do_ipt_cmd -> do_cmd
2364                 - (sharing_init): use do_cmd() instead of system()
2365
2366 2008-06-10  Dan Williams  <dcbw@redhat.com>
2367
2368         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2369         and use "wifi" everwhere instead.
2370
2371 2008-06-10  Dan Williams  <dcbw@redhat.com>
2372
2373         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2374
2375 2008-06-10  Dan Williams  <dcbw@redhat.com>
2376
2377         Patch from Tambet Ingo <tambet@gmail.com>
2378
2379         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2380                 changes.
2381
2382         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2383                 a signal to emit these changes over dbus.
2384
2385         * src/Makefile.am: Genereate nm-serial-device-glue.
2386
2387         * libnm-glib/nm-serial-device.[ch]: Implement.
2388
2389         * libnm-glib/nm-cdma-device.[ch]
2390           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2391
2392         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2393
2394         * introspection/nm-device-serial.xml: Implement.
2395
2396         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2397
2398         * introspection/Makefile.am: Add nm-device-serial.xml.
2399
2400         * include/NetworkManager.h: Add a DBus interface for serial device.
2401
2402 2008-06-10  Dan Williams  <dcbw@redhat.com>
2403
2404         * configure.in
2405                 - Add TARGET_* define to config.h to distinguish distros
2406
2407         * src/dhcp-manager/nm-dhcp-manager.c
2408                 - (dhclient_run): use distro-specific path for dhclient config file
2409
2410 2008-06-09  Dan Williams  <dcbw@redhat.com>
2411
2412         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2413           src/dnsmasq-manager/nm-dnsmasq-manager.h
2414                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2415                         calculate the addresses passed to dnsmasq instead of hard-coding
2416                         them
2417
2418         * src/nm-device.c
2419                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2420                         IP addresses for shared connections to guard against shared
2421                         connection address collisions
2422                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2423                         error conditions
2424                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2425                         the dnsmasq manager
2426
2427 2008-06-09  Dan Williams  <dcbw@redhat.com>
2428
2429         * src/NetworkManagerPolicy.c
2430                 - (update_routing_and_dns): set the default connection _after_ unsetting
2431                         default on all non-default connections so that two connections can
2432                         never be default at the same time
2433                 - (device_state_changed): start and stop connection sharing when
2434                         needed
2435                 - (active_connection_default_changed): restart or stop sharing when
2436                         the default connection changes to keep shared connections always
2437                         NAT-ed through the default connection
2438                 - (check_sharing): handle activation/deactivation of shared connections
2439                 - (sharing_restart): atom-bomb approach to connection sharing until we
2440                         can use libnl; reinit all sharing when the default connection or
2441                         shared connections change
2442                 - (sharing_init, sharing_stop): evil functions that init and deinit
2443                         iptables
2444
2445 2008-06-09  Dan Williams  <dcbw@redhat.com>
2446
2447         * src/nm-activation-request.c
2448           src/nm-activation-request.h
2449                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2450                    nm_act_request_get_device): new functions to facilitate connection
2451                         sharing
2452
2453 2008-06-09  Dan Williams  <dcbw@redhat.com>
2454
2455         * src/nm-device.c
2456                 - (clear_act_request): unset the 'default' property of the activation
2457                         request when clearing it to ensure the property changed signal gets
2458                         delivered and handled
2459
2460 2008-06-09  Dan Williams  <dcbw@redhat.com>
2461
2462         * libnm-glib/nm-device-802-11-wireless.c
2463                 - (access_point_removed_proxy): actually unref the AP after removing
2464                         it from the device's AP list.  Fixes refcounting bug for APs that
2465                         caused them to get mixed up in the applet's menu.
2466
2467 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2468
2469         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2470         (nm_dhcp_device_destroy): Destroy the device options hash table.
2471
2472 2008-06-06  Dan Williams <dcbw@redhat.com>
2473
2474         * system-settings/src/nm-polkit-helpers.c
2475                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2476                         unref the context if the initialization fails; also avoid spew when
2477                         the error isn't set
2478
2479 2008-06-06  Dan Williams <dcbw@redhat.com>
2480
2481         Patch from Tambet Ingo  <tambet@gmail.com>
2482
2483         * src/NetworkManagerSystem.c
2484           src/NetworkManagerSystem.h
2485                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2486                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2487                 - (nm_system_device_set_ip4_route): clean up
2488                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2489
2490         * src/nm-device.c
2491                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2492
2493         * src/vpn-manager/nm-vpn-connection.c
2494                 - (ip_address_to_string): new function
2495                 - (print_vpn_config): use ip_address_to_string
2496                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2497                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2498
2499         * include/NetworkManagerVPN.h
2500                 - Add 'routes' key
2501
2502 2008-06-05  Dan Williams <dcbw@redhat.com>
2503
2504         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2505
2506         * test/nm-tool.c
2507                 - Show which device is the default device
2508
2509 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2510
2511         Fix memory leaks.
2512
2513         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2514         Free data returned from dbus method call.
2515
2516         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2517         dbus_g_method_get_sender() returns a duplicated string, free it 
2518         when done.
2519         (check_polkit_privileges): Looks like policykit sometimes returns
2520         error and non-null return value, don't leak errors in that case.
2521
2522         * system-settings/src/main.c (find_plugin): Don't leak existing 
2523         plugin names.
2524         (load_stuff): Don't leak device list and list items.
2525         (have_connection_for_device): Don't leak connection list.
2526
2527         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2528         Free the data received from g_keyfile_get_*.
2529
2530         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2531         the key when the security object is updated.
2532
2533         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2534         Free data returned from dbus method call.
2535         (iface_state_cb): Ditto.
2536         (add_network_cb): Ditto.
2537         (nm_supplicant_interface_add_cb): Don't make another copy of already
2538         duplicated object path.
2539         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2540         when done.
2541
2542         * src/supplicant-manager/nm-supplicant-config.c 
2543         (ADD_STRING_LIST_VAL): Fix a memory leak.
2544
2545         * src/nm-manager.c (free_get_settings_info): Free the allocated
2546         memory slice.
2547         (list_connections_cb): Free data returned from dbus method call.
2548         (system_settings_get_unmanaged_devices_cb): Ditto.
2549
2550         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2551
2552         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2553         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2554         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2555         of the GList.
2556
2557         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2558         arguments after the object is created.
2559
2560 2008-06-04  Dan Williams <dcbw@redhat.com>
2561
2562         * libnm-util/Makefile.am
2563                 - Don't distribute nm-param-spec-specialized.h
2564
2565 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2566
2567         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2568
2569         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2570         NMIP4Address, update the getters and setters.
2571
2572         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2573         Use the updated NMIP4Config routes api.
2574
2575         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2576         static routes as well.
2577
2578         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2579         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2580         routes api.
2581
2582 2008-05-30  Dan Williams <dcbw@redhat.com>
2583
2584         * src/named-manager/nm-named-manager.c
2585           src/named-manager/nm-named-manager.h
2586                 - Remove stale/obsolete bits for controlling bind over DBus
2587
2588 2008-05-29  Dan Williams <dcbw@redhat.com>
2589
2590         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2591           src/dnsmasq-manager/nm-dnsmasq-manager.h
2592                 - (nm_dnsmasq_manager_new): move iface argument here
2593                 - (constructor): remove, not needed
2594                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2595                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2596
2597         * src/nm-device.c
2598                 - (real_act_stage4_get_ip4_config,
2599                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2600                         changes
2601
2602 2008-05-29  Dan Williams <dcbw@redhat.com>
2603
2604         * src/nm-device.c
2605                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2606                         something happens to dnsmasq
2607                 - (nm_device_new_ip4_shared_config): new function; create a new
2608                         ip4-config for shared connections.  Shared connections always use a
2609                         fixed static IP address.
2610                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2611                         autoip connections by actually using the returned ip4-config and
2612                         not leaking it
2613                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2614                         connections
2615                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2616                         if its active
2617
2618 2008-05-29  Dan Williams <dcbw@redhat.com>
2619
2620         * src/nm-device-802-11-wireless.c
2621                 - (real_get_best_auto_connection): auto-activate 'shared' method
2622                         connections too
2623
2624 2008-05-29  Dan Williams <dcbw@redhat.com>
2625
2626         * libnm-util/nm-setting-ip4-config.c
2627           libnm-util/nm-setting-ip4-config.h
2628                 - Add a 'shared' method to indicate that this connection should be
2629                         brought up with a DHCP and proxy DNS server to facilitate
2630                         connection sharing.
2631                 - (verify): 'shared' method doesn't allow DNS or searches either
2632
2633 2008-05-29  Dan Williams <dcbw@redhat.com>
2634
2635         * configure.in
2636           src/Makefile.am
2637           src/dnsmasq-manager/Makefile.am
2638           src/dnsmasq-manager/nm-dnsmasq-manager.c
2639           src/dnsmasq-manager/nm-dnsmasq-manager.h
2640                 - Add a dnsmasq daemon manager to facilitate connection sharing
2641
2642 2008-05-29  Dan Williams <dcbw@redhat.com>
2643
2644         * src/nm-device-private.h
2645                 - Remove unused prototypes and clean up
2646
2647         * src/nm-device.c
2648                 - Remove anything related to system_config_data, which is no longer used
2649                 - (nm_device_new_ip4_autoip_config): make static
2650
2651 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2652
2653         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2654         (file_changed): Fix a bug where suse system settings plugin didn't
2655         update the connections automatically when the files changed.
2656
2657 2008-05-28  Dan Williams  <dcbw@redhat.com>
2658
2659         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2660
2661 2008-05-28  Dan Williams  <dcbw@redhat.com>
2662
2663         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2664
2665         * src/NetworkManagerSystem.c
2666                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2667                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2668                         was causing -EINVAL errors since the libnl code actually does flush
2669                         the routes on VPN interfaces now
2670
2671         * src/backends/NetworkManagerArch.c
2672           src/backends/NetworkManagerDebian.c
2673           src/backends/NetworkManagerFrugalware.c
2674           src/backends/NetworkManagerGeneric.c
2675           src/backends/NetworkManagerGentoo.c
2676           src/backends/NetworkManagerMandriva.c
2677           src/backends/NetworkManagerPaldo.c
2678           src/backends/NetworkManagerRedHat.c
2679           src/backends/NetworkManagerSlackware.c
2680           src/backends/NetworkManagerSuSE.c
2681                 - (nm_system_device_flush_ip4_routes,
2682                    nm_system_device_flush_ip4_routes_with_iface): remove
2683
2684 2008-05-28  Dan Williams  <dcbw@redhat.com>
2685
2686         * libnm-util/nm-setting-wireless.c
2687           libnm-util/nm-setting-wireless.h
2688                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2689                         'adhoc-create' property, which when TRUE indicates that NM should
2690                         create this connection as an adhoc wifi network if it's not found
2691                         as an adhoc network during scanning.  Can be used to auto-create
2692                         adhoc networks when used in combination with autoconnect.
2693
2694 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2695
2696         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2697
2698         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2699         checked, it doesn't work on some devices.
2700
2701 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2702
2703         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2704         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2705
2706         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2707         Use inet_aton() everywhere to improve error detection.
2708         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2709         provided.
2710
2711 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2712
2713         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2714         Fix a typo.
2715
2716 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2717
2718         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2719         reference counting issue.
2720
2721 2008-05-23  Dan Williams  <dcbw@redhat.com>
2722
2723         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2724
2725         * src/backends/NetworkManagerGeneric.c
2726                 - (nm_generic_enable_loopback): use libnl
2727
2728 2008-05-23  Dan Williams  <dcbw@redhat.com>
2729
2730         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2731
2732         * src/NetworkManagerSystem.h
2733           src/backends/NetworkManagerArch.c
2734           src/backends/NetworkManagerDebian.c
2735           src/backends/NetworkManagerFrugalware.c
2736           src/backends/NetworkManagerGentoo.c
2737           src/backends/NetworkManagerMandriva.c
2738           src/backends/NetworkManagerPaldo.c
2739           src/backends/NetworkManagerRedHat.c
2740           src/backends/NetworkManagerSlackware.c
2741           src/backends/NetworkManagerSuSE.c
2742                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2743                    nm_system_flush_arp_cache): remove, unused
2744
2745         * src/backends/NetworkManagerGeneric.c
2746           src/backends/NetworkManagerGeneric.h
2747                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2748                    nm_generic_flush_arp_cache): remove, unused
2749
2750 2008-05-23  Dan Williams  <dcbw@redhat.com>
2751
2752         * system-settings/plugins/ifcfg-fedora/reader.c
2753                 - (make_ip4_setting): honor PEERDNS setting
2754
2755 2008-05-23  Dan Williams  <dcbw@redhat.com>
2756
2757         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2758
2759         * src/NetworkManagerSystem.c
2760                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2761                         libnl
2762
2763         * src/backends/NetworkManagerArch.c
2764           src/backends/NetworkManagerDebian.c
2765           src/backends/NetworkManagerFrugalware.c
2766           src/backends/NetworkManagerGentoo.c
2767           src/backends/NetworkManagerMandriva.c
2768           src/backends/NetworkManagerPaldo.c
2769           src/backends/NetworkManagerRedHat.c
2770           src/backends/NetworkManagerSlackware.c
2771           src/backends/NetworkManagerSuSE.c
2772                 - (nm_system_device_flush_ip4_addresses,
2773                    nm_system_device_flush_ip4_addresses_with_iface): remove
2774
2775         * src/backends/NetworkManagerGeneric.c
2776                 - (nm_generic_device_flush_ip4_addresses,
2777                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2778
2779 2008-05-23  Dan Williams  <dcbw@redhat.com>
2780
2781         * src/supplicant-manager/nm-supplicant-settings-verify.c
2782                 - Switch 'bssid' from bytes to keyword type
2783                 - (validate_type_keyword): allow NULL keyword lists
2784
2785         * src/supplicant-manager/nm-supplicant-config.c
2786                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2787                         a byte array to string form, which is what the supplicant expects
2788
2789 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2790
2791         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2792         information received from DHCP.
2793
2794         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2795         to make it possible to ignore the DNS information (both servers and 
2796         searches) returned by DHCP server.
2797
2798         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2799         name servers and searches if "ignore_dhcp_dns" is set.
2800
2801         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2802         (nm_ip4_config_reset_searches): Implement.
2803
2804 2008-05-22  Dan Williams  <dcbw@redhat.com>
2805
2806         Remove anything mDNS related.  This is better done from a distro-specific
2807         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2808         avahi, since avahi can handle interface changes just fine using netlink.
2809
2810         * configure.in
2811                 - Remove --with-mdns-provider
2812
2813         * src/NetworkManagerPolicy.c
2814                 - (global_state_changed): don't restart the mdns provider
2815
2816         * src/NetworkManagerSystem.h
2817           src/backends/NetworkManagerArch.c
2818           src/backends/NetworkManagerDebian.c
2819           src/backends/NetworkManagerFrugalware.c
2820           src/backends/NetworkManagerGentoo.c
2821           src/backends/NetworkManagerMandriva.c
2822           src/backends/NetworkManagerPaldo.c
2823           src/backends/NetworkManagerRedHat.c
2824           src/backends/NetworkManagerSlackware.c
2825           src/backends/NetworkManagerSuSE.c
2826                 - (nm_system_restart_mdns_responder): remove
2827
2828         * src/backends/NetworkManagerGeneric.c
2829           src/backends/NetworkManagerGeneric.h
2830                 - (nm_generic_restart_mdns_responder): remove
2831
2832 2008-05-22  Dan Williams  <dcbw@redhat.com>
2833
2834         * configure.in
2835                 - clean up crypto options; just use --with-crypto=nss or
2836                         --with-crypto=gnutls
2837
2838 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2839
2840         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2841         anymore, do it right away.
2842
2843 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2844
2845         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2846         serial device open when we're not connecting or connected.
2847
2848         * src/nm-cdma-device.c (device_state_changed): Ditto.
2849
2850 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2851
2852         Don't remove all devices on waking up, sync with HAL.
2853
2854         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2855         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2856         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2857
2858 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2859
2860         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2861         If the default gateway is unreachable, add a route to gateway and try
2862         again.
2863
2864 2008-05-20  Dan Williams  <dcbw@redhat.com>
2865
2866         * system-settings/plugins/ifcfg-fedora/reader.c
2867                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2868
2869 2008-05-19  Dan Williams  <dcbw@redhat.com>
2870
2871         * system-settings/plugins/ifcfg-fedora/reader.c
2872                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2873                         if the ifcfg doesn't specify one (rh #446527)
2874
2875 2008-05-19  Dan Williams  <dcbw@redhat.com>
2876
2877         Make the system settings service exit when the bus goes away.  Since it's
2878         a bus-activated service, it's lifetime is limited to the bus that activated
2879         it (rh #444976).
2880
2881         * system-settings/src/Makefile.am
2882           system-settings/src/nm-system-config-hal-manager-private.h
2883                 - Remove nm-system-config-hal-manager-private.h
2884
2885         * system-settings/src/nm-system-config-hal-manager.c
2886                 - (nm_system_config_hal_manager_reinit_dbus,
2887                    nm_system_config_hal_manager_deinit_dbus): remove
2888
2889         * system-settings/src/main.c
2890                 - (dbus_reconnect): remove
2891                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2892                 - (destroy_cb): just quit when the bus goes away
2893                 - (start_dbus_service, dbus_init): simplify
2894                 - (main): destroy the wired devices hash table after destroying
2895                         the HAL manager so we don't have to disconnect signals from the
2896                         HAL manager
2897
2898 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2899
2900         Move crypto functions from nm-applet to libnm-util.
2901
2902         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2903         (nm_setting_802_1x_set_client_cert)
2904         (nm_setting_802_1x_set_phase2_ca_cert)
2905         (nm_setting_802_1x_set_phase2_client_cert)
2906         (nm_setting_802_1x_set_private_key)
2907         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2908         file (or private key and it's password), read the certificate data.
2909
2910         * libnm-util/crypto_nss.c: 
2911         * libnm-util/crypto_gnutls.c: 
2912         * libnm-util/crypto.[ch]: Move here from nm-applet.
2913
2914         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2915
2916         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2917         Imlement WPA-EAP configuration reading from sysconfig.
2918
2919 2008-05-16  Dan Williams  <dcbw@redhat.com>
2920
2921         * src/nm-device-802-11-wireless.c
2922                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2923                         wireless
2924
2925 2008-05-14  Dan Williams  <dcbw@redhat.com>
2926
2927         Fix Linus' bug in rh #134886
2928
2929         * src/nm-device-802-3-ethernet.c
2930                 - (constructor): request initial carrier state
2931
2932         * src/nm-netlink-monitor.c
2933                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2934                         signals after refilling the link cache.  Because the refill is a 
2935                         synchronous operation, the normal message hander won't get called
2936                         since libnl has already consumed the messages.
2937                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2938
2939 2008-05-14  Dan Williams  <dcbw@redhat.com>
2940
2941         * src/NetworkManagerSystem.c
2942                 - (nm_system_device_is_up_with_iface): clean up
2943
2944 2008-05-13  Dan Williams  <dcbw@redhat.com>
2945
2946         Fix refcounting issues over sleep/wake when a VPN connection was active that
2947         caused NM to try registering an object path for a device upon wake that was
2948         the same as an already registered object path.
2949
2950         * src/nm-device.c
2951                 - (nm_device_take_down): properly handle cases where the device is
2952                         no longer active but was just active, and therefore must be
2953                         deactivated.  When a device moves to unmanaged mode, this function
2954                         previously would not deactivate the device, because the state was
2955                         already unmanaged by the time this function was called.
2956
2957         * src/vpn-manager/nm-vpn-connection.c
2958                 - (device_state_changed): properly handle multiple devices states in
2959                         which the device is now deactivated.  Code previously didn't handle
2960                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2961                         UNMANAGED states.
2962
2963 2008-05-13  Dan Williams  <dcbw@redhat.com>
2964
2965         * src/nm-device-private.h
2966           src/nm-device.c
2967                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2968
2969         * src/nm-device-802-11-wireless.c
2970                 - (nm_device_802_11_wireless_set_enabled): take devices up
2971                         and down as appropriate for the rfkill state
2972
2973 2008-05-13  Dan Williams  <dcbw@redhat.com>
2974
2975         * marshallers/nm-marshal.list
2976                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2977
2978         * system-settings/plugins/ifcfg-fedora/Makefile.am
2979           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2980           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2981                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2982                         events.  Solely for use watching ifcfg files to pick up changes
2983                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2984
2985         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2986                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2987                         file contents change
2988                 - (finalize): clean up inotify watches
2989                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2990                         and the connection ifcfg for changes on their hardlinks
2991                 - (files_changed_cb): proxy the changed signal back out to listeners
2992
2993         * system-settings/plugins/ifcfg-fedora/plugin.c
2994                 - (dir_changed): 
2995                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2996                         changes
2997                 - (read_one_connection): connect to change signals on the new connection
2998                 - (dir_changed, connection_changed_handler,
2999                    handle_connection_remove_or_new): break out connection change
3000                         handling and connection new/remove handling so it can be used from
3001                         both the GFileMonitor callback and the NMIfcfgConnection changed
3002                         signals
3003
3004         * system-settings/plugins/ifcfg-fedora/reader.c
3005           system-settings/plugins/ifcfg-fedora/reader.h
3006                 - (connection_from_file): return the keyfile path the connection would use
3007
3008 2008-05-13  Tambet Ingo  <tambet@gmail.com>
3009
3010         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
3011         single PolKitContext which is shared by all. PolKitContext::unref leaks
3012         just about everything, including all open file descriptiors and results
3013         in 99% cpu usage when data arrives to any of the fds that don't belong
3014         to any context anymore.
3015
3016 2008-05-12  Dan Williams  <dcbw@redhat.com>
3017
3018         * gfilemonitor/glocaldirectorymonitor.c
3019           gfilemonitor/glocaldirectorymonitor.h
3020                 - (g_local_directory_monitor_constructor): actually subscribe to the
3021                         watch
3022                 - (_g_local_directory_monitor_new): ensure that inotify is started up
3023
3024         * gfilemonitor/glocalfilemonitor.c
3025           gfilemonitor/glocalfilemonitor.h
3026                 - (g_local_file_monitor_constructor): actually subscribe to the watch
3027                 - (_g_local_file_monitor_new): ensure that inotify is started up
3028
3029 2008-05-11  Dan Williams  <dcbw@redhat.com>
3030
3031         * configure.in
3032                 - record PolicyKit version
3033
3034         * system-settings/src/nm-polkit-helpers.c
3035                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3036                         with PolicyKit <= 0.6
3037
3038 2008-05-11  Dan Williams  <dcbw@redhat.com>
3039
3040         Update Fedora system-settings plugin to support latest API and use
3041         GFileMonitor rather than home-rolled inotify code.
3042
3043         * system-settings/plugins/ifcfg-fedora/Makefile.am
3044           system-settings/plugins/ifcfg-fedora/common.h
3045           system-settings/plugins/ifcfg-fedora/plugin.c
3046                 - Update to latest system settings plugin API; use GIO instead of
3047                         custom inotify code; use NMIfcfgConnection objects instead of
3048                         ConnectionData structures tacked onto NMConnection objects
3049
3050         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3051           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3052                 - Implement an NMExportedConnection subclass mapping ifcfg files to
3053                         connections
3054
3055         * system-settings/plugins/ifcfg-fedora/reader.c
3056           system-settings/plugins/ifcfg-fedora/reader.h
3057                 - Move ifcfg parsing bits here from parser.c
3058
3059         * system-settings/plugins/ifcfg-fedora/parser.c
3060           system-settings/plugins/ifcfg-fedora/parser.h
3061                 - Remove; most code moved to reader.c
3062
3063 2008-05-11  Dan Williams  <dcbw@redhat.com>
3064
3065         * configure.in
3066           Makefile.am
3067           gfilemonitor/*
3068                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3069                         implementation, so that the same change monitoring code can be used
3070                         on systems without glib-2.14 (like Fedora 8)
3071
3072         * system-settings/plugins/keyfile/Makefile.am
3073           system-settings/plugins/keyfile/plugin.c
3074           system-settings/plugins/ifcfg-suse/Makefile.am
3075           system-settings/plugins/ifcfg-suse/plugin.c
3076                 - Use private gfilemonitor code if GIO is not present
3077
3078 2008-05-09  Tambet Ingo  <tambet@gmail.com>
3079
3080         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3081         NMExportedConnection's 'update' and 'delete' and return error with
3082         descriptive message.
3083
3084 2008-05-08  Dan Williams  <dcbw@redhat.com>
3085
3086         Patch from Markus Becker <mab@comnets.uni-bremen.de>
3087
3088         * src/nm-gsm-device.c
3089           src/nm-cdma-device.c
3090                 - (real_get_best_auto_connection): implement; allow autoconnection
3091                         to GSM & CDMA devices
3092
3093 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3094
3095         Use PolicyKit to authorize the system settings' AddConnection method
3096         and the system settings connections' Update and Delete methods.
3097         
3098         * libnm-glib/nm-settings.c (impl_exported_connection_update)
3099         (impl_exported_connection_delete, nm_exported_connection_update)
3100         (nm_exported_connection_delete): Return boolean and fill GError
3101         to notify the callers of the reasons why it might have failed.
3102
3103         * libnm-glib/nm-dbus-settings-system.c
3104         (nm_dbus_settings_system_add_connection): Return the error from dbus
3105         call so that the callers can see why it failed.
3106
3107         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
3108         signatures.
3109
3110         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3111
3112         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3113         abstract base class that checks PolicyKit permissions.
3114
3115         * system-settings/src/dbus-settings.c:
3116         (impl_settings_add_connection): Check the policy before carring out
3117         the request.
3118
3119         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3120         Inherit from NMSysconfigConnection, check the policies before
3121         allowing updating or removing.
3122
3123         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3124         Inherit from NMSysconfigConnection.
3125
3126         * introspection/nm-exported-connection.xml: Annotate "Update" and 
3127         "Delete" methods with async flag so that the implementations can get
3128         access to DBusGMethodInvocation.
3129
3130         * system-settings/src/dbus-settings.c 
3131         (settings_add_connection_check_privileges): Implement.
3132         (impl_settings_add_connection): Check the privileges before adding a new
3133         connection. Improve error reporting.
3134
3135         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3136         async so that the implementation can access DBusGMethodInvocation.
3137
3138         * configure.in: Check for PolicyKit.
3139
3140         * policy/org.freedesktop.network-manager-settings.system.policy: 
3141         New file.
3142
3143         * policy/Makefile.am: Install the policy file.
3144
3145         * configure.in: Add 'policy' subdir.
3146
3147 2008-05-08  Tambet Ingo  <tambet@gmail.com>
3148
3149         Rewrite the suse system settings plugin.
3150
3151         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3152
3153         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3154
3155         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3156
3157         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3158
3159         * system-settings/src/dbus-settings.c: Fix connection reference counting.
3160
3161         * system-settings/src/main.c (load_plugins): Improve error reporting.
3162
3163         * system-settings/src/sha1.[ch] Add.
3164
3165         * system-settings/src/Makefile.am: Add sha1[ch] to build.
3166
3167 2008-05-07  Dan Williams  <dcbw@redhat.com>
3168
3169         * system-settings/plugins/keyfile/reader.c
3170                 - (read_one_setting_value): handle IP address items separately
3171                 - (read_array_of_uint): read IPv4 DNS option as a string array
3172                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3173                         array
3174
3175         * system-settings/plugins/keyfile/writer.c
3176                 - (write_setting_value): handle IP address items separately
3177                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3178                         not an array of uint, so that it's user-editable
3179                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3180                         arrays, so they are user-editable
3181
3182 2008-05-07  Dan Williams  <dcbw@redhat.com>
3183
3184         * system-settings/plugins/keyfile/Makefile.am
3185                 - Change location of the keyfile plugin settings to
3186                         /etc/NetworkManager/system-connections
3187
3188 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3189
3190         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3191
3192         * system-settings/plugins/keyfile/plugin.c: Work with
3193         NMKeyfileConnections.
3194
3195         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3196         Plugins are supposed to return NMExportedConnections now and handle the
3197         updated(), removed(), and GetSecrets().
3198         Store the internal list of connections in hash table to make it easier
3199         to find duplicates.
3200
3201 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3202
3203         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3204         for multiple IP addresses.
3205
3206 2008-05-07  Tambet Ingo  <tambet@gmail.com>
3207
3208         Patch from André Lemos.
3209
3210         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3211         corruption.
3212
3213 2008-05-06  Dan Williams  <dcbw@redhat.com>
3214
3215         * src/dhcp-manager/nm-dhcp-manager.c
3216                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3217                         NMIP4Config to support multiple IP addresses
3218
3219         * src/NetworkManagerUtils.c
3220                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3221
3222         * src/nm-ip4-config.c
3223           src/nm-ip4-config.h
3224                 - Store a list of IPv4 address/netmask/gateway tuples
3225                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3226                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3227                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3228                    nm_ip4_config_set_address): remove
3229                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3230                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3231                         new functions; handle multiple IPv4 addresses
3232
3233         * src/nm-device.c
3234           src/ppp-manager/nm-ppp-manager.c
3235           src/vpn-manager/nm-vpn-connection.c
3236           src/NetworkManagerPolicy.c
3237           test/nm-tool.c
3238           libnm-glib/libnm-glib-test.c
3239                 - update for changes to NMIP4Config for multiple IPv4 addresses
3240
3241         * src/NetworkManagerSystem.c
3242                 - (nm_system_device_set_ip4_route): don't add the route if any address
3243                         is on the same subnet as the destination
3244                 - (check_one_address): ignore the exact match, just match family and
3245                         interface index
3246                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3247                         an interface
3248                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3249                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3250
3251         * introspection/nm-ip4-config.xml
3252                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3253                 - Add 'addresses' property which is an array of (uuu) tuples of
3254                         address/netmask/gateway
3255
3256         * libnm-util/nm-setting-ip4-config.c
3257                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3258
3259         * libnm-glib/nm-ip4-config.c
3260           libnm-glib/nm-ip4-config.h
3261                 - Handle D-Bus interface changes to support multiple IP addresses
3262
3263 2008-05-06  Dan Williams  <dcbw@redhat.com>
3264
3265         * libnm-util/nm-utils.c
3266           libnm-util/nm-utils.h
3267                 - (nm_utils_ip4_addresses_from_gvalue,
3268                    nm_utils_ip4_addresses_to_gvalue): new functions
3269
3270 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3271
3272         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3273         the returned connection paths.
3274
3275 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3276
3277         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3278         "PropertiesChanged" signal signature.
3279
3280         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3281         defined in nm-dbus-glib-types.h.
3282         Don't register the connection on dbus, we're a proxy class to 
3283         communicate with an already registered connection over dbus.
3284
3285 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3286
3287         Implement new subclasses of NMSettings and NMExportedConnection to make
3288         it easier for the applet to access and modify system settings.
3289
3290         * libnm-glib/nm-dbus-connection.[ch]:
3291         * libnm-glib/nm-dbus-settings.[ch]:
3292         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3293
3294         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3295         bindings and glue.
3296
3297         * include/NetworkManager.h: Define the system settings DBus interface.
3298
3299 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3300
3301         Implement additional C API for exported connections to make them identical
3302         with the DBus API. Change the (list_connections) virtual function to be
3303         more usable from C - instead of requiring implementers to return a GPtrArray
3304         of dbus paths, return a list of connections.
3305
3306         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3307         (nm_settings_list_connections):
3308         (nm_exported_connection_new):
3309         (nm_exported_connection_update):
3310         (nm_exported_connection_delete): Implement.
3311
3312         (impl_settings_list_connections):
3313         (impl_exported_connection_update):
3314         (impl_exported_connection_delete): Use the new public functions to make 
3315         sure the C and dbus interfaces stay in sync.
3316
3317         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3318         connections.
3319
3320 2008-05-02  Dan Williams  <dcbw@redhat.com>
3321
3322         * system-settings/plugins/ifcfg-fedora/plugin.c
3323                 - (dispose): use right unref call on the DBusGConnection
3324
3325 2008-05-02  Dan Williams  <dcbw@redhat.com>
3326
3327         * src/nm-serial-device.c
3328                 - (find_terminator): don't compare the whole line, just the size of the
3329                         terminator, since some modems put stuff after the terminator, like
3330                         "CONNECT 9600"
3331
3332 2008-05-01  Dan Williams  <dcbw@redhat.com>
3333
3334         Patch from Michael Biebl <biebl@debian.org>
3335
3336         * callouts/Makefile.am
3337           callouts/org.freedesktop.nm_dispatcher.service.in
3338           system-settings/src/Makefile.am
3339           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3340                 - use the right install location for dbus-activated stuff
3341
3342 2008-04-30  Dan Williams  <dcbw@redhat.com>
3343
3344         * src/nm-gsm-device.c
3345                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3346                         PIN or PUK
3347
3348 2008-04-30  Dan Williams  <dcbw@redhat.com>
3349
3350         * src/nm-manager.c
3351                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3352
3353 2008-04-30  Dan Williams  <dcbw@redhat.com>
3354
3355         * src/nm-device-802-3-ethernet.c
3356           src/nm-device-802-11-wireless.c
3357                 - (real_is_up): return true instead of chaining up to unimplemented
3358                         parent method
3359
3360 2008-04-30  Dan Williams  <dcbw@redhat.com>
3361
3362         * src/NetworkManagerSystem.c
3363           src/NetworkManagerSystem.h
3364                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3365                         functions to check device flags for IFF_UP
3366
3367         * src/nm-serial-device.c
3368                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3369                         implement is_up
3370
3371         * src/nm-device-802-3-ethernet.c
3372           src/nm-device-802-11-wireless.c
3373                 - (real_hw_is_up): call nm_system_device_is_up()
3374
3375         * src/nm-device.c
3376                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3377                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3378                         does not implement
3379
3380 2008-04-29  Dan Williams  <dcbw@redhat.com>
3381
3382         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3383
3384         * marshallers/nm-marshal.list
3385                 - Add marshaller
3386
3387         * src/NetworkManager.c
3388                 - (main): let the NMManager handle the NMHalManager
3389
3390         * src/nm-hal-manager.c
3391           src/nm-hal-manager.h
3392                 - convert to a GObject, and emit singals when stuff changes.  Let the
3393                         NMManager handle the signals, instead of the NMHalManager calling
3394                         into the NMManager.  
3395
3396         * src/nm-manager.c
3397           src/nm-manager.h
3398                 - (remove_one_device): consolidate device removals here
3399                 - (dispose): use remove_one_device()
3400                 - (nm_manager_get_device_by_udi): make static
3401                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3402                         manager for devices at startup or wakeup time
3403                 - (nm_manager_new): create and monitor the HAL manager
3404                 - (hal_manager_udi_added_cb): new function; do what
3405                         nm_manager_add_device() used to do when signalled by the hal manager
3406                 - (hal_manager_udi_removed_cb): new function; do what
3407                         nm_manager_remove_device() used to do when signalled by the hal
3408                         manager
3409                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3410                         hal manager
3411                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3412                         in our device list that aren't known to HAL
3413                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3414                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3415                         commits ago
3416                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3417                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3418                    nm_manager_wireless_hardware_enabled,
3419                    nm_manager_set_wireless_hardware_enabled): remove, unused
3420
3421 2008-04-28  Dan Williams  <dcbw@redhat.com>
3422
3423         Fix the device up/down ambiguities.  Up/down state used to be a
3424         conglomeration of hardware state (IFF_UP) and any device-specific things
3425         (supplicant, periodic timers, etc) that the device used to indicate
3426         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3427         reason, then the device specific stuff wouldn't get run, and the device
3428         would be stuck.
3429
3430         * src/nm-device.c
3431           src/nm-device.h
3432                 - Create hw_is_up, hw_bring_up, and hw_take_down
3433                 - Rename bring_down -> take_down
3434                 - (real_hw_is_up): check interface flags for IFF_UP
3435                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3436                 - (nm_device_is_up): make static; only used locally
3437                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3438                         if the device is already up; if the device isn't up, bring it up
3439                 - (nm_device_hw_take_down): just take down hardware
3440                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3441                 - (nm_device_take_down): always deactivate device when called; always
3442                         try to take hardware down too
3443                 - (nm_device_state_changed): take device down when entering unmanaged
3444                         state from a higher state
3445
3446         * src/nm-device-802-11-wireless.c
3447                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3448                         check IFF_UP really
3449                 - (real_take_down, supplicant_iface_state_cb_handler, 
3450                    supplicant_iface_connection_state_cb_handler,
3451                    supplicant_mgr_state_cb_handler): fix some messages
3452
3453         * src/nm-device-802-3-ethernet.c
3454                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3455                         check IFF_UP really
3456
3457 2008-04-28  Dan Williams  <dcbw@redhat.com>
3458
3459         * src/nm-manager.c
3460           src/nm-manager.h
3461                 - (nm_manager_error_get_type): add new error
3462                 - (nm_manager_remove_device): don't bother taking down the device here,
3463                         the state change from unmanaging the device will do it
3464                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3465                         uses it; when going to sleep, just unmanage the device instead of
3466                         taking it down, because stuff will cleaned up correctly when the
3467                         device gets unmanaged
3468
3469 2008-04-28  Dan Williams  <dcbw@redhat.com>
3470
3471         * src/nm-hal-manager.c
3472                 - (add_initial_devices): convert to a GSourceFunc prototype
3473                 - (nm_manager_state_changed): when coming out of sleep, punt the
3474                         device re-addition to an idle handler to let D-Bus events go out
3475                         first, fixing a potential dbus-glib assert if the old device was
3476                         not yet disposed (due to references held while emitting the D-Bus
3477                         signals) but the new device was found, because the mainloop didn't
3478                         run between signal emission and add_initial_devices()
3479
3480 2008-04-27  Dan Williams  <dcbw@redhat.com>
3481
3482         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3483
3484         * initscript/paldo/NetworkManager.in
3485           initscript/SUSE/networkmanager.in
3486                 - Remove last bits of dhcdbd
3487
3488 2008-04-27  Dan Williams  <dcbw@redhat.com>
3489
3490         * src/nm-device-802-11-wireless.c
3491                 - (link_timeout_cb): don't ask for secrets when disconnected during
3492                         association/authentication phase, drivers are still just too crappy
3493
3494 2008-04-27  Dan Williams  <dcbw@redhat.com>
3495
3496         * Makefile.am
3497           configure.in
3498           dispatcher-daemon/Makefile.am
3499           dispatcher-daemon/NetworkManagerDispatcher.c
3500           initscript/Arch/Makefile.am
3501           initscript/Arch/networkmanager-dispatcher.in
3502           initscript/Gentoo/Makefile.am
3503           initscript/Gentoo/NetworkManagerDispatcher.in
3504           initscript/Mandriva/Makefile.am
3505           initscript/Mandriva/networkmanagerdispatcher.in
3506           initscript/RedHat/Makefile.am
3507           initscript/RedHat/NetworkManagerDispatcher.in
3508           initscript/SUSE/Makefile.am
3509           initscript/SUSE/networkmanager-dispatcher.in
3510           initscript/Slackware/Makefile.am
3511           initscript/Slackware/rc.networkmanager-dispatcher.in
3512           initscript/paldo/Makefile.am
3513           initscript/paldo/NetworkManagerDispatcher.in
3514           man/Makefile.am
3515           man/NetworkManagerDispatcher.8.in
3516                 - Remove the dispatcher daemon
3517
3518 2008-04-27  Dan Williams  <dcbw@redhat.com>
3519
3520         * callouts/Makefile.am
3521           callouts/nm-dispatcher-action.c
3522           callouts/nm-dispatcher-action.h
3523           callouts/nm-dispatcher.conf
3524           callouts/nm-dispatcher.xml
3525           callouts/org.freedesktop.nm_dispatcher.service
3526                 - Re-implement the dispatcher as a system-bus activated service that
3527                         NM calls on-demand, rather than an always running daemon
3528
3529         * src/Makefile.am
3530                 - Add callouts dir to includes to pick up dispatcher defines
3531
3532         * src/nm-device.c
3533                 - (nm_device_state_changed): call dispatcher on device activated/
3534                         deactivated
3535
3536         * src/vpn-manager/nm-vpn-connection.c
3537                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3538                         go up and down
3539
3540         * src/NetworkManagerUtils.c
3541           src/NetworkManagerUtils.h
3542                 - (nm_utils_call_dispatcher): helper to call dispatcher
3543
3544 2008-04-27  Dan Williams  <dcbw@redhat.com>
3545
3546         * src/NetworkManagerUtils.c
3547           src/NetworkManagerUtils.h
3548                 - remove unneeded includes
3549                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3550                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3551                    nm_timeval_cmp, nm_timeval_add): remove, unused
3552                 - clean up formatting
3553                 - (nm_spawn_process): de-uglify
3554
3555         * src/nm-device-802-11-wireless.c
3556                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3557
3558 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3559
3560         * initscript/Gentoo/NetworkManager.in:
3561                 Fix for starting the daemon.
3562
3563 2008-04-25  Dan Williams  <dcbw@redhat.com>
3564
3565         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3566
3567         * src/NetworkManagerSystem.c
3568                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3569
3570 2008-04-25  Dan Williams  <dcbw@redhat.com>
3571
3572         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3573
3574         * src/NetworkManagerSystem.c
3575                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3576                         implementation of nm_system_device_replace_default_route()
3577
3578         * src/NetworkManagerPolicy.c
3579                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3580
3581         * src/backends/NetworkManagerArch.c
3582           src/backends/NetworkManagerDebian.c
3583           src/backends/NetworkManagerFrugalware.c
3584           src/backends/NetworkManagerGeneric.c
3585           src/backends/NetworkManagerGeneric.h
3586           src/backends/NetworkManagerGentoo.c
3587           src/backends/NetworkManagerMandriva.c
3588           src/backends/NetworkManagerPaldo.c
3589           src/backends/NetworkManagerRedHat.c
3590           src/backends/NetworkManagerSlackware.c
3591           src/backends/NetworkManagerSuSE.c
3592                 - (nm_system_device_replace_default_route): remove
3593
3594 2008-04-25  Dan Williams  <dcbw@redhat.com>
3595
3596         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3597
3598         * src/NetworkManagerSystem.c
3599                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3600                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3601                         replace nm_system_device_add_route_via_device_with_iface() in the
3602                         backends
3603
3604         * src/backends/NetworkManagerArch.c
3605           src/backends/NetworkManagerDebian.c
3606           src/backends/NetworkManagerFrugalware.c
3607           src/backends/NetworkManagerGeneric.c
3608           src/backends/NetworkManagerGeneric.h
3609           src/backends/NetworkManagerGentoo.c
3610           src/backends/NetworkManagerMandriva.c
3611           src/backends/NetworkManagerPaldo.c
3612           src/backends/NetworkManagerRedHat.c
3613           src/backends/NetworkManagerSlackware.c
3614           src/backends/NetworkManagerSuSE.c
3615                 - Remove nm_system_device_add_route_via_device_with_iface()
3616
3617 2008-04-25  Dan Williams  <dcbw@redhat.com>
3618
3619         * system-settings/plugins/ifcfg-fedora/parser.c
3620                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3621
3622 2008-04-24  Dan Williams  <dcbw@redhat.com>
3623
3624         * dispatcher-daemon/NetworkManagerDispatcher.c
3625                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3626
3627 2008-04-24  Dan Williams  <dcbw@redhat.com>
3628
3629         * initscript/RedHat/NetworkManager.in
3630           initscript/RedHat/NetworkManagerDispatcher.in
3631                 - Be active at runlevel 2
3632                 - Adjust priorities earlier
3633
3634 2008-04-22  Dan Williams  <dcbw@redhat.com>
3635
3636         * src/NetworkManagerPolicy.c
3637                 - (update_routing_and_dns): when checking for a gateway, look at the
3638                         composite IP4 config, not the connection's ip4-config setting, which
3639                         doesn't include DHCP-returned information
3640
3641 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3642
3643         Implement GKeyFile system settings plugin.
3644         Implement writing system settings (currently supported only by GKeyFile plugin).
3645
3646         * system-settings/src/main.c: 
3647         * system-settings/src/dbus-settings.c: Move the communication with plugins
3648         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3649         plugins for adding/updating/removing connections.
3650
3651         * system-settings/src/nm-system-config-interface.c
3652         (nm_system_config_interface_add_connection): Implement
3653         (nm_system_config_interface_update_connection): Implement.
3654         (nm_system_config_interface_remove_connection): Implement.
3655
3656         * system-settings/plugins/keyfile/Makefile.am:
3657         * system-settings/plugins/keyfile/plugin.[ch]:
3658         * system-settings/plugins/keyfile/writer.[ch]:
3659         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3660
3661         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3662
3663         * configure.in: Generate GKeyFile Makefile.
3664
3665         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3666         corruption, need to duplicate the returned string.
3667         (impl_exported_connection_update): Implement.
3668         (impl_exported_connection_delete): Implement.
3669
3670         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3671
3672         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3673
3674 2008-04-22  Dan Williams  <dcbw@redhat.com>
3675
3676         Patch from Charles R. Anderson (cra@wpi.edu)
3677
3678         * src/NetworkManagerPolicy.c
3679                 - (update_routing_and_dns): don't select devices without a gateway
3680                         as having the default route (rh #437338)
3681
3682 2008-04-21  Dan Williams  <dcbw@redhat.com>
3683
3684         * src/nm-activation-request.c
3685           src/nm-activation-request.h
3686                 - (dispose): ensure to disconnect from the device's state-changed signal
3687                         when appropriate so the signal doesn't get handled by an already
3688                         disposed NMActRequest
3689                 - (device_state_changed): update is_default here too just to make sure
3690                         default is only True when the child device is activated
3691                 - (nm_act_request_set_default): new function
3692
3693         * src/NetworkManagerPolicy.c
3694                 - (update_routing_and_dns): set 'default' on the active connection which
3695                         has the default route and DNS
3696
3697 2008-04-21  Dan Williams  <dcbw@redhat.com>
3698
3699         * src/NetworkManagerPolicy.c
3700                 - (device_state_changed): update routing and DNS when a device goes
3701                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3702
3703 2008-04-21  Dan Williams  <dcbw@redhat.com>
3704
3705         * include/NetworkManager.h
3706                 - Add NMActiveConnectionState enum
3707
3708         * introspection/nm-active-connection.xml
3709           introspection/nm-vpn-connection.xml
3710                 - Add 'State' property for overall active connection state
3711                 - Add 'Default' property, when True means this active connection
3712                         has the default route
3713                 - Add PropertyChanged signals so changes actually go out over the bus
3714
3715         * src/nm-active-connection.h
3716                 - Add defines for State & Default properties
3717
3718         * src/nm-activation-request.c
3719                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3720                         signal to determine active connection state
3721
3722         * src/vpn-manager/nm-vpn-connection.c
3723           src/vpn-manager/nm-vpn-connection.h
3724           src/vpn-manager/nm-vpn-manager.c
3725           src/vpn-manager/nm-vpn-service.c
3726                 - Rename old 'state' to 'vpn-state'
3727                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3728                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3729                         'vpn-state-changed' signal
3730
3731         * libnm-glib/nm-active-connection.c
3732           libnm-glib/nm-active-connection.h
3733                 - Add new 'state' and 'default' properties and accessors
3734
3735         * libnm-glib/nm-vpn-connection.c
3736           libnm-glib/nm-vpn-connection.h
3737                 - Rename old 'state' property to 'vpn-state'
3738                 - Add new 'state' and 'default' properties and accessors
3739
3740 2008-04-21  Dan Williams  <dcbw@redhat.com>
3741
3742         * src/nm-ip4-config.c
3743                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3744                         not specified (rh #443474)
3745
3746 2008-04-20  Dan Williams  <dcbw@redhat.com>
3747
3748         * src/NetworkManagerUtils.c
3749           src/NetworkManagerUtils.h
3750                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3751                         NMSettingIP4Config to an NMIP4Config object
3752
3753         * src/nm-device.c
3754                 - (merge_ip4_config): move to NetworkManagerUtils.c
3755
3756         * src/vpn-manager/nm-vpn-connection.c
3757                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3758                         too
3759
3760 2008-04-18  Dan Williams  <dcbw@redhat.com>
3761
3762         * libnm-util/nm-setting-ppp.c
3763           libnm-util/nm-setting-ppp.h
3764                 - Add 'no-vj-comp' option for TCP header compression
3765                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3766                         uint32
3767
3768 2008-04-18  Dan Williams  <dcbw@redhat.com>
3769
3770         * libnm-util/nm-setting-ppp.c
3771           libnm-util/nm-setting-ppp.h
3772           src/ppp-manager/nm-ppp-manager.c
3773                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3774
3775 2008-04-18  Dan Williams  <dcbw@redhat.com>
3776
3777         * libnm-util/nm-setting-ppp.c
3778           libnm-util/nm-setting-ppp.h
3779           src/ppp-manager/nm-ppp-manager.c
3780                 - Remove the 'usepeerdns' option and always request DNS servers from
3781                         the PPP server; the connection chooses to use/override/ignore the
3782                         DNS servers returned from the PPP server
3783
3784 2008-04-18  Dan Williams  <dcbw@redhat.com>
3785
3786         * libnm-util/nm-setting-ppp.c
3787           libnm-util/nm-setting-ppp.h
3788           src/ppp-manager/nm-ppp-manager.c
3789                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3790                         it seems to have been an erroneous addition to the PPTP plugin in
3791                         the first place (from which the ppp-manager is derived)
3792
3793 2008-04-17  Dan Williams  <dcbw@redhat.com>
3794
3795         * libnm-util/nm-setting-pppoe.c
3796                 - (verify): require a PPP setting too
3797
3798         * src/ppp-manager/nm-ppp-manager.c
3799                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3800                         segfaulting
3801
3802 2008-04-17  Dan Williams  <dcbw@redhat.com>
3803
3804         * src/nm-device.c
3805                 - (nm_device_state_changed): do deactivation and and promotion to
3806                         unavailable here, so that the device gets cleaned up before the
3807                         manager runs and starts emitting signals; do the
3808                         FAILED->DISCONNECTED transition from an idle handler rather than
3809                         immediately to guard against recursion
3810                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3811                         FAILED->DISCONNECTED handler if it's scheduled
3812
3813 2008-04-17  Dan Williams  <dcbw@redhat.com>
3814
3815         * src/nm-device-802-11-wireless.c
3816                 - (state_changed_cb): clear AP list when device transitions to
3817                         unavailable or unmanaged
3818                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3819                         since this is already done in device_cleanup()
3820                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3821                         isn't available or managed
3822                 - (device_cleanup): use remove_all_aps()
3823                 - (remove_all_aps): consolidate code removing all APs
3824
3825 2008-04-17  Dan Williams  <dcbw@redhat.com>
3826
3827         * src/nm-serial-device.c
3828           src/nm-serial-device.h
3829                 - (wait_for_reply_got_data): break input into lines, and search each
3830                         line for responses _and_ terminator strings; also make sure that
3831                         the read loop doesn't continue after the timeout is supposed to fire
3832                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3833
3834         * src/nm-gsm-device.c
3835           src/nm-cdma-device.c
3836                 - Send terminators to nm_serial_device_wait_for_reply()
3837
3838 2008-04-16  Dan Williams  <dcbw@redhat.com>
3839
3840         Patch from 陈鑫 <znscnchen@gmail.com>
3841
3842         * src/ppp-manager/nm-pppd-plugin.c
3843                 - (get_credentials): return correct value for success; handle case where
3844                         pppd just does some checking but doesn't want a password
3845                 - (plugin_init): make CHAP work too
3846
3847 2008-04-16  Dan Williams  <dcbw@redhat.com>
3848
3849         Patch from 陈鑫 <znscnchen@gmail.com>
3850
3851         * src/ppp-manager/nm-ppp-manager.c
3852                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3853
3854 2008-04-16  Dan Williams  <dcbw@redhat.com>
3855
3856         Patch from 陈鑫 <znscnchen@gmail.com>
3857
3858         * src/nm-device-802-3-ethernet.c
3859                 - (real_deactivate_quickly): clear the IP interface name on
3860                         deactivation, otherwise the wrong interface might get used later
3861                         for routing and IP management
3862
3863 2008-04-15  Dan Williams  <dcbw@redhat.com>
3864
3865         * libnm-glib/nm-device.c
3866                 - (get_product_and_vendor): handle serial devices correctly
3867                 - (nm_device_update_description): pass device to get_product_and_vendor()
3868
3869 2008-04-15  Dan Williams  <dcbw@redhat.com>
3870
3871         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3872
3873         * src/NetworkManagerSystem.h
3874           src/backends/NetworkManagerArch.c
3875           src/backends/NetworkManagerDebian.c
3876           src/backends/NetworkManagerFrugalware.c
3877           src/backends/NetworkManagerGeneric.c
3878           src/backends/NetworkManagerGeneric.h
3879           src/backends/NetworkManagerGentoo.c
3880           src/backends/NetworkManagerMandriva.c
3881           src/backends/NetworkManagerPaldo.c
3882           src/backends/NetworkManagerRedHat.c
3883           src/backends/NetworkManagerSlackware.c
3884           src/backends/NetworkManagerSuSE.c
3885           src/nm-device.c
3886                 - (nm_generic_device_add_ip6_link_address,
3887                    nm_system_device_add_ip6_link_address): remove
3888
3889 2008-04-15  Dan Williams  <dcbw@redhat.com>
3890
3891         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3892
3893         * src/backends/NetworkManagerArch.c
3894           src/backends/NetworkManagerDebian.c
3895           src/backends/NetworkManagerFrugalware.c
3896           src/backends/NetworkManagerGeneric.c
3897           src/backends/NetworkManagerGeneric.h
3898           src/backends/NetworkManagerGentoo.c
3899           src/backends/NetworkManagerMandriva.c
3900           src/backends/NetworkManagerPaldo.c
3901           src/backends/NetworkManagerRedHat.c
3902           src/backends/NetworkManagerSlackware.c
3903           src/backends/NetworkManagerSuSE.c
3904           src/NetworkManagerSystem.h
3905                 - flush_routes -> flush_ip4_routes
3906                 - flush_addresses -> flush_ip4_addresses
3907
3908         * src/NetworkManagerSystem.c
3909           src/nm-device.c
3910           src/vpn-manager/nm-vpn-connection.c
3911                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3912
3913 2008-04-15  Dan Williams  <dcbw@redhat.com>
3914
3915         Remove exposure of wireless-tools mode types in the API.
3916
3917         * include/NetworkManager.h
3918                 - Define NM80211Mode enum
3919
3920         * introspection/generic-types.xml
3921                 - Describe NM_802_11_MODE enum
3922                 - Remove IW_MODE_* enum
3923
3924         * introspection/nm-access-point.xml
3925           libnm-glib/nm-access-point.c
3926           libnm-glib/nm-access-point.h
3927                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3928
3929         * introspection/nm-device-802-11-wireless.xml
3930           libnm-glib/nm-device-802-11-wireless.c
3931           libnm-glib/nm-device-802-11-wireless.h
3932                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3933
3934         * libnm-util/nm-setting-wireless.c
3935           src/NetworkManagerAP.c
3936           src/NetworkManagerAP.h
3937           src/nm-device-802-11-wireless.c
3938           src/nm-device-802-11-wireless.h
3939           test/nm-tool.c
3940                 - Use NM80211Mode not IW_MODE_*
3941
3942 2008-04-15  Dan Williams  <dcbw@redhat.com>
3943
3944         Enhance nm-online based on a patch from Bill Nottingham.
3945
3946         * test/nm-online.c
3947                 - Add a '-q' option
3948                 - Add help messages and option summary
3949                 - Add long-format options
3950                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3951
3952 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3953
3954         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3955
3956         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3957
3958 2008-04-15  Dan Williams  <dcbw@redhat.com>
3959
3960         * nm-setting-ip4-config.c
3961                 - (ip4_addresses_from_gvalue): handle NULL address array
3962
3963         * nm-setting-8021x.c
3964                 - (verify_tls, verify_ttls): warn on failed verification
3965
3966 2008-04-10  Dan Williams  <dcbw@redhat.com>
3967
3968         * src/nm-gsm-device.c
3969                 - (automatic_registration): accept "+CREG: 0,0"
3970                 - (automatic_registration_response): fail on "+CREG: 0,0"
3971
3972 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3973
3974         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3975
3976 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3977
3978         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3979         Make it compile again by commenting out broken code that at first didn't work and
3980         now didn't compile either.
3981
3982 2008-04-08  Dan Williams  <dcbw@redhat.com>
3983
3984         * libnm-glib/nm-object-cache.c
3985           libnm-glib/nm-settings.c
3986           src/dhcp-manager/nm-dhcp-manager.c
3987           system-settings/plugins/ifcfg-fedora/plugin.c
3988           system-settings/plugins/ifcfg-suse/plugin.c
3989           system-settings/src/nm-system-config-hal-manager.c
3990           libnm-util/nm-utils.c
3991                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3992                         not threadsafe anyway
3993
3994 2008-04-08  Dan Williams  <dcbw@redhat.com>
3995
3996         * system-settings/src/main.c
3997                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3998                         callbacks take a device type too
3999
4000 2008-04-08  Dan Williams  <dcbw@redhat.com>
4001
4002         The system settings service will now create a new default DHCP connection
4003         for wired devices that have no existing applicable connection.
4004
4005         * system-settings/src/nm-system-config-hal-manager.c
4006           system-settings/src/nm-system-config-hal-manager.h
4007                 - (nm_system_config_hal_manager_get_type_for_udi): new function
4008
4009         * system-settings/src/dbus-settings.c
4010           system-settings/src/dbus-settings.h
4011                 - (nm_sysconfig_settings_get_connections): new function
4012                 - (nm_sysconfig_settings_is_device_managed): new function
4013
4014         * system-settings/src/main.c
4015                 - (load_stuff): check for wired devices that need a default connection
4016                 - (get_details_for_udi): get interface and MAC address from HAL
4017                 - (add_default_dhcp_connection): add a default connection for a wired
4018                         device if needed
4019                 - (device_added_cb, device_removed_cb): do the right thing with
4020                         wired devices and their default connections on HAL device events
4021
4022 2008-04-07  Dan Williams  <dcbw@redhat.com>
4023
4024         * libnm-glib/nm-device.c
4025           libnm-glib/nm-device.h
4026                 - Proxy the 'managed' property
4027
4028 2008-04-07  Dan Williams  <dcbw@redhat.com>
4029
4030         * src/nm-gsm-device.c
4031           src/nm-cdma-device.c
4032                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4033                         handler to transition to DISCONNECTED
4034
4035 2008-04-07  Dan Williams  <dcbw@redhat.com>
4036
4037         Patch from Bill Nottingham
4038
4039         * dispatcher-daemon/NetworkManagerDispatcher.c
4040                 - ignore backup/packaging crufy (rh #440143)
4041
4042 2008-04-07  Dan Williams  <dcbw@redhat.com>
4043
4044         * include/NetworkManager.h
4045                 - Remove the DOWN and CANCELLED device states
4046                 - Add UNMANAGED and UNAVAILABLE device states
4047                 - Document the device states
4048
4049         * introspection/nm-device.xml
4050           src/nm-device-interface.c
4051           src/nm-device-interface.h
4052                 - Add the 'managed' property
4053
4054         * test/nm-tool.c
4055                 - (detail_device): print out device state
4056
4057         * src/NetworkManagerSystem.h
4058           src/backends/NetworkManagerArch.c
4059           src/backends/NetworkManagerDebian.c
4060           src/backends/NetworkManagerFrugalware.c
4061           src/backends/NetworkManagerGentoo.c
4062           src/backends/NetworkManagerMandriva.c
4063           src/backends/NetworkManagerPaldo.c
4064           src/backends/NetworkManagerRedHat.c
4065           src/backends/NetworkManagerSlackware.c
4066           src/backends/NetworkManagerSuSE.c
4067                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4068                    nm_system_device_free_system_config): remove; they were unused and
4069                         their functionality should be re-implemented in each distro's
4070                         system settings service plugin 
4071
4072         * src/nm-gsm-device.c
4073           src/nm-gsm-device.h
4074           src/nm-cdma-device.c
4075           src/nm-cdma-device.h
4076                 - (*_new): take the 'managed' argument
4077
4078         * src/nm-device.c
4079                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4080                 - (nm_device_init): start in unmanaged state, not disconnected
4081                 - (constructor): don't start device until the system settings service
4082                         has had a chance to figure out if the device is managed or not
4083                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4084                         don't set device state here, let callers handle that as appropriate
4085                 - (nm_device_dispose): don't touch the device if it's not managed
4086                 - (set_property, get_property, nm_device_class_init): implement the
4087                         'managed' property
4088                 - (nm_device_state_changed): bring the device up if its now managed,
4089                         and deactivate it if it used to be active
4090                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4091                         with the managed state
4092
4093         * src/nm-hal-manager.c
4094                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4095                         take initial managed state and pass it along to device constructors
4096                 - (create_device_and_add_to_list): get managed state and pass to
4097                         type creators
4098
4099         * src/nm-device-802-11-wireless.c
4100                 - (real_can_activate): fold in most of
4101                         nm_device_802_11_wireless_can_activate()
4102                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4103                 - (link_timeout_cb): instead of deactivating, change device state and
4104                         let the device state handler to it
4105                 - (real_update_hw_address): clean up
4106                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4107                         handler to transition to DISCONNECTED if the device isn't rfkilled
4108
4109         * src/nm-device-802-3-ethernet.c
4110                 - (set_carrier): move above callers and get rid of prototype
4111                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4112                         idle handler to transition to DISCONNECTED if the device has a
4113                         carrier
4114                 - (real_update_hw_address): clean up
4115                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4116                         deactivation directly as deactivation doesn't change state anymore
4117
4118         * src/NetworkManagerPolicy.c
4119                 - (schedule_activate_check): yay, remove wireless_enabled hack since
4120                         the NMManager and wireless devices work that out themselves now
4121                 - (device_state_changed): change to a switch and update for new device
4122                         states
4123                 - (device_carrier_changed): remove; device handles this now through
4124                         state changes
4125                 - (device_added): don't care about carrier any more; the initial
4126                         activation check will happen when the device transitions to
4127                         DISCONNECTED
4128
4129         * src/nm-manager.c
4130                 - (dispose): clear unmanaged devices
4131                 - (handle_unmanaged_devices): update unmanaged device list and toggle
4132                         the managed property on each device when needed
4133                 - (system_settings_properties_changed_cb): handle signals from the
4134                         system settings service
4135                 - (system_settings_get_unmanaged_devices_cb): handle callback from
4136                         getting the unmanaged device list method call
4137                 - (query_unmanaged_devices): ask the system settings service for its
4138                         list of unmanaged devices
4139                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4140                         devices
4141                 - (manager_set_wireless_enabled): push rfkill state down to wireless
4142                         devices directly and let them handle the necessary state transitions
4143                 - (manager_device_state_changed): update for new device states
4144                 - (nm_manager_add_device): set initial rfkill state on wireless devices
4145                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4146                 - (nm_manager_activate_connection): return error if the device is
4147                         unmanaged
4148                 - (nm_manager_sleep): handle new device states correctly; don't change
4149                         the state of unavailable/unmanaged devices
4150
4151         * libnm-glib/nm-device-802-11-wireless.c
4152                 - (state_changed_cb): update for new device states
4153
4154 2008-04-07  Dan Williams  <dcbw@redhat.com>
4155
4156         * marshallers/nm-marshal.list
4157                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4158
4159 2008-04-07  Dan Williams  <dcbw@redhat.com>
4160
4161         * system-settings/src/main.c
4162                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4163                         plugins to the dbus settings object
4164                 - (load_stuff): start the dbus service after grabbing unmanaged devices
4165                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4166                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4167                 - (main): switch default logging to syslog with a 'debug' option to
4168                         output to console; start up the HAL manager
4169
4170 2008-04-07  Dan Williams  <dcbw@redhat.com>
4171
4172         * introspection/nm-settings-system.xml
4173           introspection/Makefile.am
4174                 - Define the unmanaged devices interface for the system settings service
4175
4176         * system-settings/src/nm-system-config-hal-manager.c
4177           system-settings/src/nm-system-config-hal-manager.h
4178           system-settings/src/nm-system-config-hal-manager-private.h
4179           system-settings/src/Makefile.am
4180                 - Add a lightweight HAL manager object for tracking network devices for
4181                         the purpose of determining unmanaged devices and which devices need
4182                         the default DHCP connections
4183
4184         * system-settings/src/nm-system-config-interface.c
4185           system-settings/src/nm-system-config-interface.h
4186                 - (nm_system_config_interface_init): add the HAL manager as an argument
4187                 - (nm_system_config_interface_get_unmanaged_devices): implement
4188                 - Define 'unmanaged-devices-changed' signal
4189
4190         * system-settings/src/dbus-settings.c
4191           system-settings/src/dbus-settings.h
4192                 - Implement the unmanaged devices interface; some cleanups
4193
4194         * system-settings/plugins/ifcfg-suse/plugin.c
4195                 - Fixup for plugin interface changes
4196
4197         * system-settings/plugins/ifcfg-fedora/plugin.c
4198                 - (get_ether_device_udi): new function; find the device that has
4199                         a specified MAC address and return its UDI
4200                 - (get_udi_for_connection): new function; try to find the specific
4201                         device a connection is locked to, if any
4202                 - (device_added_cb, device_removed_cb): update unmanaged device list in
4203                         response to HAL events
4204                 - (get_unmanaged_devices): new function; return unmanaged device list
4205                 - (build_one_connection): set the connection's locked device, if any
4206                 - (write_auto_wired_connection): remove
4207                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4208                 - (handle_connection_changed): alert listeners that the unmanaged device
4209                         list has changed
4210                 - (init): fixup for plugin interface changes, implement unmanaged devices
4211
4212         * system-settings/plugins/ifcfg-fedora/parser.c
4213           system-settings/plugins/ifcfg-fedora/parser.h
4214                 - (connection_data_free): clean up connection UDI
4215
4216 2008-04-07  Dan Williams  <dcbw@redhat.com>
4217
4218         * system-settings/plugins/ifcfg-fedora/parser.c
4219                 - (make_ip4_setting): fix parsing of DNS servers
4220
4221 2008-04-05  Dan Williams  <dcbw@redhat.com>
4222
4223         * Makefile.am
4224           configure.in
4225           marshallers/Makefile.am
4226           marshallers/nm-marshal-main.c
4227           marshallers/nm-marshal.list
4228                 - Consolidate marshallers
4229
4230         * libnm-glib/nm-marshal-main.c
4231           libnm-glib/nm-marshal.list
4232           src/marshallers/Makefile.am
4233           src/marshallers/nm-marshal-main.c
4234           src/marshallers/nm-marshal.list
4235                 - Remove
4236
4237         * libnm-glib/Makefile.am
4238           src/Makefile.am
4239           src/dhcp-manager/Makefile.am
4240           src/ppp-manager/Makefile.am
4241           src/supplicant-manager/Makefile.am
4242           src/vpn-manager/Makefile.am
4243                 - Use consolidated marshallers
4244
4245 2008-04-04  Dan Williams  <dcbw@redhat.com>
4246
4247         * src/nm-hal-manager.c
4248           src/nm-hal-manager.h
4249                 - (hal_init): don't look for hardware here
4250                 - (nm_hal_manager_start): new function; look for hardware here instead,
4251                         which can be done at a later time than hal_init()
4252
4253         * src/NetworkManager.c
4254                 - (main): start HAL manager after entering the main loop
4255
4256 2008-04-03  Dan Williams  <dcbw@redhat.com>
4257
4258         * libnm-glib/nm-settings.c
4259           libnm-glib/nm-settings.h
4260             - (nm_exported_connection_get_id): new function
4261                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4262
4263 2008-04-02  Dan Williams  <dcbw@redhat.com>
4264
4265         * src/nm-device-interface.c
4266           src/nm-device-interface.h
4267           src/nm-device.c
4268           src/nm-device.h
4269                 - Rename check_connection_conflicts() to check_connection_compatible()
4270
4271         * src/nm-device-802-11-wireless.c
4272                 - (real_check_connection_conflicts): remove
4273                 - (real_check_connection_compatible): implement; match MAC address
4274
4275         * src/nm-device-802-3-ethernet.c
4276                 - (real_check_connection_conflicts): remove
4277                 - (real_check_connection_compatible): implement; match MAC address
4278                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4279
4280         * src/nm-manager.c
4281                 - (check_connection_allowed): remove; unused until PolicyKit integration
4282                 - (internal_activate_device): check whether the connection is compatible
4283                         with the device before trying to activate it
4284
4285 2008-04-02  Dan Williams  <dcbw@redhat.com>
4286
4287         * system-settings/plugins/ifcfg-fedora/parser.c
4288                 - (read_mac_address): new function; read in MAC address and stuff it
4289                         into the connection
4290                 - (add_one_wep_key): remove debug spew
4291                 - (make_wireless_security_setting): validate the default TX key; don't
4292                         add the wireless-security setting if the connection doesn't need
4293                         security; don't leak the keys shvarFile on error cases
4294                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4295                         address
4296
4297 2008-04-02  Dan Williams  <dcbw@redhat.com>
4298
4299         * libnm-util/nm-setting-connection.c
4300           libnm-util/nm-setting-connection.h
4301                 - (set_property, get_property, nm_setting_connection_class_init): remove
4302                         the 'lockdown' property; it's functionality will be replaced by
4303                         PolicyKit instead
4304
4305 2008-04-01  Dan Williams  <dcbw@redhat.com>
4306
4307         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4308
4309         * configure.in
4310           initscript/Makefile.am
4311           initscript/Mandriva/Makefile.am
4312           initscript/Mandriva/networkmanager.in
4313           initscript/Mandriva/networkmanagerdispatcher.in
4314           src/backends/Makefile.am
4315           src/backends/NetworkManagerMandriva.c
4316           system-settings/plugins/Makefile.am
4317                 - Add Mandriva support
4318
4319 2008-03-31  Dan Williams  <dcbw@redhat.com>
4320
4321         * src/vpn-manager/nm-vpn-service.c
4322                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4323                         errors can be passed back to the caller; also no longer scheduled
4324                         as an idle handler, but called directly; and bump up VPN service
4325                         spawn timeout, 2s is really short
4326                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4327                         but call it directly so that errors are reported on return from
4328                         ActivateConnection() and don't get lost.  If scheduled as an idle
4329                         handler, clients don't have the time to query NM for the new VPN
4330                         connection's properties before the VPN connection is torn down again
4331                         if the service couldn't be launched, and therefore launch errors
4332                         get lost.
4333
4334 2008-03-31  Dan Williams  <dcbw@redhat.com>
4335
4336         * src/vpn-manager/nm-vpn-connection.c
4337                 - (device_state_changed): send correct state on device failure too
4338                 - (plugin_state_changed): failed state means unexpected disconnection,
4339                         thus if the service goes away while the VPN connection is activated
4340                         that's a failure too
4341
4342 2008-03-31  Dan Williams  <dcbw@redhat.com>
4343
4344         * src/vpn-manager/nm-vpn-manager.c
4345           src/vpn-manager/nm-vpn-manager.h
4346                 - Make VPNManager errors more available; add a service-start-failed error
4347
4348 2008-03-31  Dan Williams  <dcbw@redhat.com>
4349
4350         * libnm-glib/nm-client.c
4351           libnm-glib/nm-client.h
4352                 - (activate_cb): pass the new active connection to callback; fix
4353                         message when no callback is specified
4354
4355 2008-03-30  Dan Williams  <dcbw@redhat.com>
4356
4357         * libnm-util/nm-setting-wireless-security.c
4358                 - (need_secrets): only require key0 if the transmit key index is also
4359                         0
4360                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4361
4362 2008-03-29  Dan Williams  <dcbw@redhat.com>
4363
4364         * libnm-util/nm-setting-8021x.c
4365           libnm-util/nm-setting-ip4-config.c
4366           libnm-util/nm-setting-vpn-properties.c
4367           libnm-util/nm-setting-vpn.c
4368           libnm-util/nm-setting-wireless-security.c
4369           libnm-util/nm-setting-wireless.c
4370           libnm-util/nm-utils.c
4371           src/dhcp-manager/nm-dhcp-manager.c
4372           src/nm-activation-request.c
4373           src/nm-ip4-config.c
4374           src/nm-manager.c
4375           src/nm-properties-changed-signal.c
4376           src/ppp-manager/nm-pppd-plugin.c
4377           src/supplicant-manager/nm-supplicant-interface.c
4378           src/vpn-manager/nm-vpn-connection.c
4379                 - consistently use nm-dbus-glib-types.h
4380
4381 2008-03-29  Dan Williams  <dcbw@redhat.com>
4382
4383         * src/vpn-manager/nm-vpn-connection.c
4384                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4385                         not string
4386
4387         * src/nm-activation-request.c
4388                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4389                         not string
4390
4391 2008-03-29  Dan Williams  <dcbw@redhat.com>
4392
4393         * libnm-glib/nm-device-802-11-wireless.c
4394                 - (access_point_added_proxy): create new APs if not found
4395
4396 2008-03-29  Dan Williams  <dcbw@redhat.com>
4397
4398         * libnm-glib/nm-client.c
4399                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4400                         before freeing them
4401
4402 2008-03-29  Dan Williams  <dcbw@redhat.com>
4403
4404         * system-settings/plugins/ifcfg-fedora/parser.c
4405                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4406                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4407
4408 2008-03-29  Dan Williams  <dcbw@redhat.com>
4409
4410         * system-settings/plugins/ifcfg-fedora/parser.c
4411                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4412
4413 2008-03-27  Dan Williams  <dcbw@redhat.com>
4414
4415         * nm-object.c
4416                 - (nm_object_queue_notify): don't notify multiple times for the same
4417                         property
4418
4419         * nm-object-private.h
4420                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4421                         if it has zero elements
4422
4423         * nm-ip4-config.c
4424                 - (finalize): use g_ptr_array_foreach() when freeing domains
4425                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4426
4427         * nm-active-connection.c
4428                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4429
4430         * nm-device-802-11-wireless.c
4431           nm-device-802-11-wireless.h
4432                 - (nm_device_802_11_wireless_get_access_points): return const; use
4433                         handle_ptr_array_return()
4434
4435         * nm-types.c
4436                 - (nm_object_array_demarshal): always create an array, even of length
4437                         zero, to distinguish between "NM returned no items" and "haven't
4438                         asked NM yet"
4439
4440         * nm-client.c
4441                 - (dispose): free active connections too
4442                 - (proxy_name_owner_changed): free active connections too when NM goes
4443                         away
4444                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4445                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4446
4447 2008-03-26  Dan Williams  <dcbw@redhat.com>
4448
4449         Rework VPN connection handling for a more consistent D-Bus API.  The
4450         VPNManager object has been removed, and active VPN connections are now the
4451         same as any other active connection.  The Manager object's ActivateConnection
4452         and DeactivateConnection methods are used to start and stop a VPN connection,
4453         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4454         When activating a VPN connection, pass the path of the active connection
4455         to which the VPN connection is tied in the 'specific_object' argument.
4456
4457         Consequently, the libnm-glib API has been reworked to match this arrangement,
4458         with the VPNManager object removed, and the NMVPNConnection objects now
4459         being subclasses of NMActiveConnection.
4460
4461 2008-03-25  Dan Williams  <dcbw@redhat.com>
4462
4463         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4464
4465         * initscript/Arch/networkmanager.in
4466           initscript/Arch/networkmanager-dispatcher.in
4467                 - Updates for Arch Linux (gnome.org #523701)
4468
4469 2008-03-25  Dan Williams  <dcbw@redhat.com>
4470
4471         * libnm-glib/nm-ip4-config.c
4472           libnm-glib/nm-active-connection.c
4473           libnm-glib/nm-access-point.c
4474                 - Use nm_object_queue_notify() instead of g_object_notify()
4475
4476         * libnm-glib/nm-device.c
4477                 - (demarshal_ip4_config): distinguish between successful but missing
4478                         ip4-config request, and unsuccessful and missing ip4-config request
4479                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4480                         path
4481                 - Use nm_object_queue_notify() instead of g_object_notify()
4482
4483         * libnm-glib/nm-device-802-11-wireless.c
4484                 - (demarshal_active_ap): distinguish between successfull but missing
4485                         active-ap request, and unsuccessful and missing active-ap request
4486                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4487                         code
4488                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4489                         for the NMClient to notify the device that wireless is disabled,
4490                         and therefore to clear the AP list and active AP
4491                 - Use nm_object_queue_notify() instead of g_object_notify()
4492
4493         * libnm-glib/nm-client.c
4494                 - (poke_wireless_devices_with_rf_status): new function
4495                 - (update_wireless_status): notify wireless devices of the rfkill status
4496                         so they can clean up if needed
4497                 - Use nm_object_queue_notify() instead of g_object_notify()
4498
4499 2008-03-25  Dan Williams  <dcbw@redhat.com>
4500
4501         * libnm-glib/nm-object.c
4502           libnm-glib/nm-object-private.h
4503                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4504                         signals to an idle handler
4505                 - (nm_object_get_property): add a timeout to the D-Bus method call
4506
4507 2008-03-25  Dan Williams  <dcbw@redhat.com>
4508
4509         * introspection/nm-device-cdma.xml
4510           introspection/nm-device-gsm.xml
4511           introspection/Makefile.am
4512           introspection/all.xml
4513                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4514
4515         * src/nm-gsm-device.h
4516           src/nm-gsm-device.c
4517           src/nm-cdma-device.h
4518           src/nm-cdma-device.c
4519           src/Makefile.am
4520                 - Implement PropertiesChanged signals
4521
4522         * libnm-glib/nm-cdma-device.c
4523           libnm-glib/nm-cdma-device.c
4524                 - Attach to PropertiesChanged signals
4525
4526 2008-03-24  Dan Williams  <dcbw@redhat.com>
4527
4528         * libnm-glib/nm-client.c
4529                 - (client_device_added_proxy): add new devices to the internal device
4530                         list so they appear to clients
4531
4532 2008-03-24  Dan Williams  <dcbw@redhat.com>
4533
4534         Massive fixup of libnm-glib to:
4535         a) have all objects (with the exception of VPN) cache their properties and
4536                 update them asynchronously on PropertiesChanged signals from NM
4537         b) return internal const data for most attributes/properties instead of
4538                 allocated values that the caller must free
4539         c) cache wrapped objects such that a given D-Bus path will always map to the
4540                 same GObject returned by libnm-glib
4541         d) remove a few signals and move them to GObject property notifications
4542         e) match recent NM D-Bus API changes for activation/deactivation
4543         f) remove some private functions from libnm-glib headers
4544
4545 2008-03-20  Dan Williams  <dcbw@redhat.com>
4546
4547         * src/nm-manager.c
4548                 - (nm_manager_update_state, manager_device_state_changed,
4549                    nm_manager_activate_device, connection_added_default_handler,
4550                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4551                         queue PropertyChanged singals when the active connections change
4552
4553 2008-03-20  Dan Williams  <dcbw@redhat.com>
4554
4555         * introspection/nm-manager.xml
4556           introspection/nm-manager-client.xml
4557                 - (ActivateConnection): return the object path of the active connection
4558                         on success
4559                 - (GetActiveConnections): remove
4560                 - (DeactivateConnection): new function; deactivate a currently active
4561                         connection
4562                 - Add an ActiveConnections property which returns an array of
4563                         active connection object paths
4564
4565         * introspection/nm-device.xml
4566                 - (Deactivate): remove
4567
4568         * introspection/all.xml
4569                 - Add ActiveConnection introspection
4570
4571         * introspection/nm-active-connection.xml
4572                 - Add the ActiveConnection object
4573
4574         * include/NetworkManager.h
4575                 - Add the Connection.Active D-Bus interface
4576
4577         * src/nm-device-interface.c
4578                 - (impl_device_deactivate): remove
4579
4580         * src/nm-activation-request.c
4581           src/nm-activation-request.c
4582           src/Makefile.am
4583                 - Implement the Connection.Active D-Bus interface
4584
4585         * src/nm-manager.c
4586                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4587                 - (nm_manager_activate_device): return the active connection path
4588                 - (connection_added_default_handler, impl_manager_activate_connection):
4589                         return the active connection to the caller
4590                 - (add_one_connection_element, impl_manager_get_active_connections):
4591                         remove
4592                 - (impl_manager_deactivate_connection): new function; deactivate an
4593                         active connection
4594
4595         * libnm-glib/nm-device.c
4596           libnm-glib/nm-device.h
4597                 - Remove Deactivate() function
4598
4599 2008-03-19  Dan Williams  <dcbw@redhat.com>
4600
4601         * introspection/nm-manager.xml
4602           introspection/nm-manager-client.xml
4603                 - Rename the ActivateDevice method to ActivateConnection to better
4604                         reflect it's usage; it's arguments get reordered a bit too
4605                 - Convert GetActiveConnections method return from a struct to a dict
4606
4607         * include/NetworkManager.h
4608                 - Define the dict keys for return value of GetActiveConnections
4609
4610         * src/nm-manager.c
4611                 - impl_manager_activate_device -> impl_manager_activate_connection
4612                 - (add_one_connection_element): return a populated hash table, not
4613                         a structure
4614
4615         * libnm-glib/nm-client.c
4616           libnm-glib/nm-client.h
4617                 - nm_client_activate_device -> nm_client_activate_connection
4618                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4619                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4620                         instead of the custom structures.  Each element of the returned list
4621                         must be freed with nm_client_free_active_connections_element()
4622
4623 2008-03-18  Dan Williams  <dcbw@redhat.com>
4624
4625         * system-settings/plugins/ifcfg-fedora/parser.c
4626           system-settings/plugins/ifcfg-fedora/parser.h
4627           system-settings/plugins/ifcfg-fedora/plugin.c
4628                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4629                         profiles.  DNS servers and searches must now be stored in the ifcfg
4630                         files themselves
4631
4632 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4633
4634         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4635         print out username and password, it's supposed to be a secret.
4636
4637         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4638         request and set the device state accordingly.
4639
4640 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4641
4642         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4643
4644         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4645
4646 2008-03-18  Dan Williams  <dcbw@redhat.com>
4647
4648         * src/vpn-manager/nm-vpn-connection.c
4649                 - (get_secrets_cb): handle new GetSecrets return format
4650
4651 2008-03-18  Dan Williams  <dcbw@redhat.com>
4652
4653         Adapt system settings service for split 802.1x.
4654
4655         * system-settings/src/nm-system-config-interface.h
4656                 - clarify return value of get_secrets()
4657
4658         * system-settings/src/dbus-settings.c
4659                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4660                 - (check_for_secrets): check if there actually secrets returned by a
4661                         plugin
4662                 - (exported_connection_get_secrets): just return the plugin-returned
4663                         hash of settings' secrets if it looks valid
4664
4665         * system-settings/plugins/ifcfg-fedora/plugin.c
4666                 - (get_secrets): add split secrets with correct format to reply hash
4667
4668         * system-settings/plugins/ifcfg-fedora/parser.c
4669           system-settings/plugins/ifcfg-fedora/parser.h
4670                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4671                    connection_data_free, connection_data_add): keep secrets for
4672                         different settings in different hashes
4673
4674 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4675
4676         Clean up activating device deactivation.
4677
4678         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4679         should be done whether the device activation gets cancelled or the device
4680         is just getting deactivated.
4681         (nm_device_activation_cancel): Remove.
4682         (nm_device_deactivate_quickly): Handle the case where device is activating.
4683
4684         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4685         It does the exact same thing as real_deactivate_quickly().
4686
4687 2008-03-17  Dan Williams  <dcbw@redhat.com>
4688
4689         Split the 802.1x bits out of the wireless-security setting so they are
4690         generalized enough for wired 802.1x to use too.
4691
4692         * introspection/nm-exported-connection.xml
4693                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4694                         of just a hash of the secrets for one setting
4695
4696         * libnm-util/nm-setting-wireless-security.c
4697           libnm-util/nm-setting-wireless-security.h
4698                 - Remove 802.1x-specific stuff
4699                 - Added leap-username and leap-password properties for old-school LEAP
4700
4701         * src/nm-device.c
4702           src/nm-device.h
4703                 - (connection_secrets_updated_cb): take a list of updated settings names,
4704                         not just one
4705
4706         * src/supplicant-manager/nm-supplicant-config.c
4707           src/supplicant-manager/nm-supplicant-config.h
4708                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4709                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4710                         to nm_supplicant_config_add_setting_8021x()
4711                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4712                         the supplicant config
4713
4714         * src/nm-device-802-11-wireless.c
4715                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4716                 - (real_connection_secrets_updated): take a list of updated settings
4717                         names, not just one
4718
4719         * src/nm-device-802-3-ethernet.c
4720           src/nm-cdma-device.c
4721           src/nm-gsm-device.c
4722                 - (real_connection_secrets_updated_cb): take a list of updated settings
4723                         names, not just one
4724
4725         * src/nm-activation-request.c
4726           src/nm-activation-request.h
4727                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4728                         now passes a list of updated settings names, not just one
4729                 - (update_one_setting): new function; handle one updated setting
4730                 - (get_secrets_cb): handle multiple settings returned from the
4731                         settings service; have to be careful of ordering here as there are
4732                         some dependencies between settings (ex. wireless-security and 802.1x
4733                         in some cases)
4734
4735         * src/marshallers/nm-marshal.list
4736                 - new marshaller for connection-secrets-updated signal
4737
4738         * libnm-util/nm-setting-8021x.c
4739                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4740                         methods
4741                 - (verify): a valid 'eap' property is now required
4742
4743         * libnm-util/nm-connection.c
4744                 - (register_default_settings): add priorities to settings; there are
4745                         some dependencies between settings, and during the need_secrets
4746                         calls this priority needs to be respected.  For example, only the
4747                         wireless-security setting knows whether or not the connection is
4748                         going to use 802.1x or now, so it must be asked for secrets before
4749                         any existing 802.1x setting is
4750                 - (nm_connection_lookup_setting_type): expose
4751
4752         * libnm-util/nm-setting-wireless.c
4753                 - (verify): should verify even if all_settings is NULL; otherwise won't
4754                         catch the case where there is missing security
4755
4756         * libnm-util/nm-setting-wireless-security.c
4757                 - Remove everything to do with 802.1x
4758                 - Add old-school LEAP specific properties for username and password
4759                 - (need_secrets): rework LEAP secrets checking
4760                 - (verify): rework for LEAP and 802.1x verification
4761
4762 2008-03-17  Dan Williams  <dcbw@redhat.com>
4763
4764         * src/NetworkManagerPolicy.c
4765                 - (auto_activate_device): always remove the current activation check
4766                         from the pending activation list, otherwise when the policy gets
4767                         destroyed on NM exit it will attempt to free the already freed
4768                         activation check
4769
4770 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4771
4772         * src/backends/NetworkManagerSlackware.c 
4773         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4774
4775         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4776
4777 2008-03-14  Dan Williams  <dcbw@redhat.com>
4778
4779         * src/nm-manager.c
4780                 - (nm_device_interface_get_iface): g_object_get() will return an
4781                         allocated value, so this function must not return const
4782                 - (nm_device_interface_activate): free returned iface
4783
4784 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4785
4786         * libnm-util/Makefile.am: Add new files to build.
4787
4788         * libnm-util/nm-connection.c: Register NMSetting8021x.
4789
4790         * libnm-util/nm-setting-8021x.c
4791         * libnm-util/nm-setting-8021x.h: Implement.
4792
4793 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4794
4795         * libnm-util/Makefile.am: Add new files to build.
4796
4797         * libnm-util/nm-connection.c: Register NMSetting8021x.
4798
4799         * libnm-util/nm-setting-8021x.c
4800         * libnm-util/nm-setting-8021x.h: Implement.
4801
4802 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4803
4804         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4805         data.
4806
4807 2008-03-14  Dan Williams  <dcbw@redhat.com>
4808
4809         * include/wireless-helper.h
4810           include/Makefile.am
4811                 - One place for all the junk needed for #including wireless.h
4812
4813         * test/nm-tool.c
4814           src/NetworkManagerAP.c
4815           src/wpa.c
4816           src/Makefile.am
4817           libnm-util/nm-utils.c
4818           libnm-util/nm-setting-wireless.c
4819           libnm-glib/nm-device-802-11-wireless.c
4820           libnm-glib/nm-access-point.c
4821           libnm-glib/libnm-glib-test.c
4822                 - include wireless-helper.h, not iwlib.h
4823
4824         * configure.in
4825                 - Don't need libiw really, just need to check for wireless.h
4826
4827         * src/kernel-types.h
4828                 - Remove; used types moved into wpa.c
4829
4830         * src/nm-device-802-11-wireless.c
4831                 - (nm_device_802_11_wireless_update_signal_strength,
4832                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4833                    nm_device_802_11_wireless_set_mode,
4834                    nm_device_802_11_wireless_get_frequency,
4835                    nm_device_802_11_wireless_get_ssid,
4836                    nm_device_802_11_wireless_set_ssid,
4837                    nm_device_802_11_wireless_get_bitrate,
4838                    nm_device_802_11_wireless_get_bssid,
4839                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4840                         instead of iwlib functions
4841
4842 2008-03-14  Dan Williams  <dcbw@redhat.com>
4843
4844         * src/ppp-manager/nm-ppp-manager.c
4845                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4846                         should only take the DBusGMethodInvocation argument, not user/pass
4847                         too.  With dbus-glib, async functions only take 2 C arguments since
4848                         the real dbus method arguments get passed back with
4849                         dbus_g_method_return()
4850
4851 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4852
4853         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4854         Adapt the changes of NMSettingIP4Config.
4855
4856 2008-03-13  Dan Williams  <dcbw@redhat.com>
4857
4858         * src/NetworkManagerUtils.c
4859           src/NetworkManagerUtils.h
4860                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4861
4862         * src/NetworkManagerAP.c
4863           src/nm-device-802-11-wireless.c
4864           src/nm-device-802-3-ethernet.c
4865                 - s/iw_ether_ntop/nm_ether_ntop/g
4866
4867 2008-03-13  Dan Williams  <dcbw@redhat.com>
4868
4869         * src/NetworkManagerPolicy.c
4870                 - (update_routing_and_dns): never set the default route through an
4871                         IPv4LL addressed device
4872
4873 2008-03-13  Dan Williams  <dcbw@redhat.com>
4874
4875         * NetworkManagerUtils.c
4876           NetworkManagerUtils.h
4877                 - Remove NMSock stuff
4878                 - Remove the completion stuff
4879
4880         * nm-device.c
4881           nm-device.h
4882           NetworkManager.c
4883           NetworkManagerSystem.c
4884           autoip.c
4885           nm-device-802-11-wireless.c
4886           nm-device-802-3-ethernet.c
4887                 - Remove NMSock and completion stuff
4888                 - Remove nm_ioctl_info()
4889
4890 2008-03-12  Dan Williams  <dcbw@redhat.com>
4891
4892         * src/nm-device.c
4893                 - (merge_ip4_config): avoid duplicates
4894
4895 2008-03-12  Dan Williams  <dcbw@redhat.com>
4896
4897         * libnm-util/nm-setting-ip4-config.c
4898           libnm-util/nm-setting-ip4-config.h
4899                 - Remove 'manual' and 'autoip' properties
4900                 - Add 'method' property
4901                 - (verify): fix verification with 'method'
4902                 - (finalize): free 'method'
4903                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4904                         up for 'method'
4905
4906         * src/nm-device.c
4907                 - (real_act_stage3_ip_config_start): check IP4Config method
4908                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4909                         the future
4910                 - (merge_ip4_config): IP settings are valid with DHCP too
4911                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4912                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4913
4914         * src/nm-device-802-11-wireless.c
4915                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4916                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4917                         only on demand
4918
4919         * system-settings/plugins/ifcfg-fedora/parser.c
4920           system-settings/plugins/ifcfg-suse/parser.c
4921                 - (make_ip4_setting): fix up for 'method'
4922
4923 2008-03-12  Dan Williams  <dcbw@redhat.com>
4924
4925         * system-settings/plugins/ifcfg-fedora/parser.c
4926           system-settings/plugins/ifcfg-fedora/parser.h
4927                 - (get_ifcfg_name): ignore more file suffixes
4928                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4929
4930 2008-03-12  Dan Williams  <dcbw@redhat.com>
4931
4932         * configure.in
4933                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4934
4935 2008-03-12  Dan Williams  <dcbw@redhat.com>
4936
4937         * system-settings/plugins/ifcfg-fedora/plugin.c
4938                 - (write_auto_wired_connection): new function; write out an auto
4939                         wired connection file since the applet isn't doing it any more
4940                 - (reload_all_connections): write out the auto wired connection file
4941                         if there aren't any wired connections already
4942                 - (init): don't leak a GError
4943
4944 2008-03-12  Dan Williams  <dcbw@redhat.com>
4945
4946         * src/nm-device-interface.c
4947                 - (nm_device_interface_activate): print the ID of the connection
4948                         that's about to be activated
4949
4950 2008-03-12  Dan Williams  <dcbw@redhat.com>
4951
4952         Harmonize the 802.11 bitrate API
4953
4954         * introspection/nm-access-point.xml
4955                 - 'Rate' -> 'MaxBitrate'; clarify units
4956
4957         * introspection/nm-device-802-11-wireless.xml
4958                 - Clarify units of 'Bitrate'
4959
4960         * src/NetworkManagerAP.c
4961           src/NetworkManagerAP.h
4962                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4963                         property to 'max-bitrate'
4964                 - (foreach_property_cb): convert rate to Kb/s
4965
4966         * src/nm-device-802-11-wireless.c
4967                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4968
4969         * libnm-glib/nm-access-point.c
4970           libnm-glib/nm-access-point.h
4971                 - 'rate' -> 'max-bitrate'
4972
4973         * test/nm-tool.c
4974           libnm-glib/libnm-glib-test.c
4975                 - Fix up for these changes
4976
4977 2008-03-12  Dan Williams  <dcbw@redhat.com>
4978
4979         * src/nm-device.c
4980                 - (nm_device_set_ip4_config): don't send property notifications when
4981                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4982                         which dbus-glib can't parse because the value is NULL, which isn't
4983                         a legal object path.  Setting the IP4 config to NULL is only
4984                         valid when deactivating a device anyway, so the device state change
4985                         will alert listeners that the ip4 config is invalid.
4986
4987 2008-03-12  Dan Williams  <dcbw@redhat.com>
4988
4989         * src/nm-properties-changed-signal.c
4990                 - (add_to_string): better handling of NULL objects
4991
4992 2008-03-12  Dan Williams  <dcbw@redhat.com>
4993
4994         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4995         convert the libnm-glib NMDevice8023Ethernet to cached properties
4996
4997         * introspection/nm-device-802-3-ethernet.xml
4998                 - New 'Carrier' property
4999                 - New 'PropertiesChanged' signal
5000
5001         * introspection/nm-device.xml
5002                 - Remove 'Carrier' property
5003                 - Remove 'CarrierChanged' signal
5004
5005         * src/nm-device-interface.c
5006           src/nm-device-interface.h
5007                 - (nm_device_interface_init): remove 'carrier' property and
5008                         'carrier-changed' signal
5009
5010         * src/nm-device.c
5011           src/nm-device.h
5012                 - (nm_device_get_carrier, nm_device_set_carrier): remove
5013                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5014                         the link here; wired device will handle that
5015                 - (handle_dhcp_lease_change): don't bother updating link here
5016                 - (get_property, nm_device_class_init): remove carrier property
5017
5018         * src/nm-device-802-11-wireless.c
5019                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5020                         real_update_link(); wireless devices don't use carrier at all
5021                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5022                    supplicant_iface_connection_state_cb_handler,
5023                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
5024
5025         * src/nm-device-802-3-ethernet.c
5026           src/nm-device-802-3-ethernet.h
5027                 - (nm_device_802_3_ethernet_carrier_on,
5028                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5029                         instead of nm_device_set_carrier()
5030                 - (device_state_changed): update link from sysfs on activation;
5031                         replaces real_update_link()
5032                 - (real_update_link): remove, replaced by device_state_changed()
5033                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5034                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5035                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5036                         new get_carrier function
5037                 - (get_property): add 'carrier' property
5038                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5039                         hook into property-changed signal helper
5040
5041         * src/NetworkManagerPolicy.c
5042                 - (device_carrier_changed): will only ever be called with a wired device
5043                 - (device_added): only hook up to carrier-changed for wired devices
5044
5045         * libnm-glib/nm-device.c
5046           libnm-glib/nm-device.h
5047                 - (constructor, nm_device_class_init): remove carrier-changed signal
5048                 - (device_carrier_changed_proxy): remove; unused
5049                 - (nm_device_get_carrier): remove; carrier a property of wired devices
5050
5051         * libnm-glib/nm-device-802-3-ethernet.c
5052           libnm-glib/nm-device-802-3-ethernet.h
5053                 - Convert to cached properties like AP and Wireless objects
5054                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5055                         instead of a 'char *', return value should not be freed
5056                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5057                 - (constructor): hook into properties-changed helper
5058                 - (set_property, get_property): new functions
5059                 - (nm_device_802_3_ethernet_class_init): export GObject properties
5060
5061         * test/nm-tool.c
5062                 - (detail_device): strdup the wired hardware address too since it's
5063                         cached now
5064
5065         * libnm-glib/libnm-glib-test.c
5066                 - (dump_wired): strdup the wired hardware address too since it's
5067                         cached now
5068
5069 2008-03-12  Dan Williams  <dcbw@redhat.com>
5070
5071         * libnm-util/nm-setting-ip4-config.c
5072           libnm-util/nm-setting-ip4-config.h
5073                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5074                         the 'autoip' property from the spec
5075
5076 2008-03-11  Dan Williams  <dcbw@redhat.com>
5077
5078         * src/backends/NetworkManagerGeneric.c
5079           src/backends/NetworkManagerGeneric.h
5080                 - (nm_generic_device_get_use_dhcp): remove
5081
5082 2008-03-11  Dan Williams  <dcbw@redhat.com>
5083
5084         * src/nm-device.c
5085                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5086                         already in nm_device_set_ip4_config()
5087                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5088                         due to a DHCP rebind fails
5089                 - (nm_device_set_ip4_config): send property notifications when the
5090                         ip4 config changes
5091                 - (get_property): only report IP4Config property during valid states
5092
5093         * src/NetworkManagerPolicy.c
5094                 - (update_routing_and_dns): ignore devices that don't have an ip4
5095                         config; add parameter 'force_update' to allow callers to specify
5096                         that changes should be made even if the default device doesn't change
5097                 - (device_ip4_config_changed): update DNS and routing when the device's
5098                         IP4Config changes, like for DHCP updates
5099                 - (device_added): listen for ip4-config property changes
5100
5101 2008-03-11  Dan Williams  <dcbw@redhat.com>
5102
5103         Fix address handling as a result of DHCP rebind/renew/reboot.
5104
5105         * src/NetworkManagerSystem.c
5106                 - (check_one_address): delete an address if it doesn't match a given
5107                         one for the same interface
5108                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5109                         be smarter about flushing addresses (only flush ones that don't
5110                         match the one we're about to apply)
5111
5112         * src/backends/NetworkManagerDebian.c
5113           src/backends/NetworkManagerSuSE.c
5114           src/backends/NetworkManagerArch.c
5115           src/backends/NetworkManagerSlackware.c
5116           src/backends/NetworkManagerRedHat.c
5117           src/backends/NetworkManagerPaldo.c
5118           src/backends/NetworkManagerFrugalware.c
5119           src/backends/NetworkManagerGentoo.c
5120                 - (nm_system_delete_default_route): remove
5121
5122         * src/backends/NetworkManagerGeneric.c
5123           src/backends/NetworkManagerGeneric.h
5124                 - (nm_generic_enable_loopback): fix the loopback device label
5125                 - (nm_generic_delete_default_route): remove; no longer used
5126
5127 2008-03-11  Dan Williams  <dcbw@redhat.com>
5128
5129         * src/nm-device-interface.h
5130                 - Delimit property name words with '-', otherwise g_object_notify()
5131                         doesn't work the way we expect
5132
5133 2008-03-11  Tambet Ingo  <tambet@gmail.com>
5134
5135         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5136
5137 2008-03-11  Dan Williams  <dcbw@redhat.com>
5138
5139         * src/NetworkManagerPolicy.c
5140                 - (update_routing_and_dns): don't change anything if the default device
5141                         hasn't changed; print something out when switching the default route
5142                         and DNS
5143
5144 2008-03-10  Tambet Ingo  <tambet@gmail.com>
5145
5146         Implement PPPoE.
5147
5148         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5149         setting. Use "nic-$eth".
5150
5151         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5152         the device is activating here to fix a race condition.
5153
5154         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5155
5156         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5157         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5158         (nm_ppp_manager_start): Take activation request instead of connection, we might
5159         need it for asking secrets.
5160         (nm_ppp_manager_update_secrets): Implement.
5161
5162         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5163         ppp manager start. It might be needed for asking secrets.
5164
5165         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5166         (ppp_state_changed): Handle pppd daemon disappearing.
5167         (pppoe_stage2_config): Send activation request to ppp manager start.
5168
5169         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5170
5171         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5172         username and password.
5173         
5174 2008-03-10  Dan Williams  <dcbw@redhat.com>
5175
5176         * src/nm-device.c
5177                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5178                         response to a DHCP lease change
5179                 - (dhcp_state_changed): handle DHCP lease changes while activated
5180                 - (nm_device_set_ip4_config): remove a previously set named config
5181                         when setting an ip4 config
5182
5183 2008-03-10  Dan Williams  <dcbw@redhat.com>
5184
5185         * src/nm-serial-device.c
5186                 - (nm_serial_device_send_command): report errno on error
5187                 - (get_reply_got_data): limit the size of the overall buffer
5188                 - (wait_for_reply_info_destroy): destroy result string
5189                 - (wait_for_reply_got_data): append received data to an overall buffer
5190                         until timeout, filled buffer, or error instead of keeping a per-call
5191                         buffer.  Some devices send data slowly enough that this function
5192                         gets called multiple times for the same command stream.
5193                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5194                         wait_for_reply_got_data() here
5195
5196 2008-03-10  Dan Williams  <dcbw@redhat.com>
5197
5198         * src/nm-cdma-device.c
5199                 - (do_dial, init_modem): handle errors from
5200                         nm_serial_device_send_command_string()
5201
5202         * src/nm-gsm-device.c
5203                 - (do_dial, manual_registration, automatic_registration_get_network,
5204                    automatic_registration, enter_pin, check_pin, init_modem): handle
5205                         errors from nm_serial_device_send_command_string()
5206
5207 2008-03-10  Dan Williams  <dcbw@redhat.com>
5208
5209         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5210
5211         * src/named-manager/nm-named-manager.c
5212                 - (compute_searches): prefer searches before domains
5213                 - (compute_domain): new function
5214                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5215                 - (merge_one_ip4_config): if there are no searches in the source config,
5216                         merge domains of the source config into the target config
5217                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5218
5219 2008-03-10  Dan Williams  <dcbw@redhat.com>
5220
5221         * src/nm-serial-device.c
5222                 - (get_reply_got_data): clean up indentation, shrink serial buffer
5223                 - (wait_for_reply_got_data): try to handle slower serial devices where
5224                         the reply is broken up into multiple reads by concatenating replies
5225                         together until either an error is received or the search string is
5226                         found
5227
5228 2008-03-10  Dan Williams  <dcbw@redhat.com>
5229
5230         * src/nm-device.c
5231                 - (nm_device_bring_down): deactivate the device if it's activating too,
5232                         not just if it's already activated.  This makes sure that everything
5233                         from an association attempt is cleaned up (like DHCP for example)
5234
5235 2008-03-10  Dan Williams  <dcbw@redhat.com>
5236
5237         * src/nm-serial-device.c
5238                 - (config_fd): report error from TCSETA
5239                 - (nm_serial_device_open): fail when config_fd() fails
5240
5241 2008-03-10  Dan Williams  <dcbw@redhat.com>
5242
5243         * src/nm-ip4-config.c
5244                 - (nm_ip4_config_init): allocate searches list
5245                 - (finalize): free searches list
5246
5247 2008-03-09  Dan Williams  <dcbw@redhat.com>
5248
5249         Patch from Bas Zoetekouw <bas@debian.org>
5250
5251         * src/dhcp-manager/nm-dhcp-manager.c
5252                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5253
5254 2008-03-09  Dan Williams  <dcbw@redhat.com>
5255
5256         Patch from Bas Zoetekouw <bas@debian.org>
5257
5258         * src/nm-ip4-config.c
5259           src/nm-ip4-config.h
5260                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5261                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5262                         domains.  'searches' is the correct way to store multiple search
5263                         domains, whereas 'domains' is really just supposed to store one
5264                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5265                         search domains to the client.
5266                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5267
5268 2008-03-09  Dan Williams  <dcbw@redhat.com>
5269
5270         * src/dhcp-manager/nm-dhcp-manager.c
5271                 - (dhclient_run): send interface-specific config files to dhclient
5272
5273 2008-03-07  Dan Williams  <dcbw@redhat.com>
5274
5275         * system-settings/plugins/ifcfg-fedora/parser.c
5276                 - (is_wireless_device): new function; test a device for wireless
5277                         extensions
5278                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5279                         test the device for wireless extensions to determine the type
5280
5281 2008-03-07  Dan Williams  <dcbw@redhat.com>
5282
5283         Change manager's StateChange signal to StateChanged for consistency.
5284
5285         * introspection/nm-manager.xml
5286                 - Add 'StateChanged' signal
5287                 - Move 'StateChange' down to the deprecated section
5288
5289         * src/nm-hal-manager.c
5290                 - (nm_hal_manager_new): connect to 'state-changed' instead
5291
5292         * src/NetworkManagerPolicy.c
5293                 - (nm_policy_new): connect to 'state-changed' instead
5294
5295         * src/nm-manager.c
5296           src/nm-manager.h
5297                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5298                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5299                         of 'state-change'
5300
5301         * libnm-glib/nm-client.c
5302           libnm-glib/nm-client.h
5303                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5304                         track and proxy 'state-changed' instead of 'state-change'
5305
5306 2008-03-07  Dan Williams  <dcbw@redhat.com>
5307
5308         First pass of multiple active device support.  Expect bugs.
5309
5310         * src/nm-ip4-config.c
5311           src/nm-ip4-config.h
5312                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5313                         there are better ways to do this in the named manager
5314
5315         * src/nm-device.c
5316           src/nm-device.h
5317                 - (nm_device_can_activate): return whether the device can activate a
5318                         connection right now; taking into account things like carrier state
5319                         and rfkill state
5320                 - (nm_device_get_best_auto_connection): renamed from
5321                         nm_device_get_best_connection
5322                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5323                         device subclasses themselves, so that each device can override the
5324                         MTU from it's NMSetting subclass if needed
5325                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5326                         in NetworkManagerSystem.c, not here
5327
5328         * src/named-manager/nm-named-manager.c
5329           src/named-manager/nm-named-manager.h
5330                 - (nm_named_manager_name_owner_changed,
5331                    nm_named_manager_dbus_connection_changed): fix for changes to
5332                         rewrite_resolv_conf()
5333                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5334                         from parameter list
5335                 - (merge_one_ip4_config): new function; merge ip4 configs together
5336                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5337                         ip4 configs; the VPN config takes precedence, then the best
5338                         device config, then the rest of the configs
5339                 - (get_domain_for_config): take the NMNamedManager as an argument
5340                         to check whether the config is the VPN config
5341                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5342                         attribute from ip4 configs
5343                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5344                 - (remove_ip4_config_from_named): fix for changes to
5345                         get_domain_for_config()
5346                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5347                         based on its type; callers must pass in the type now
5348                 - (get_last_default_domain): remove, unused
5349                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5350
5351         * src/nm-device-802-11-wireless.c
5352                 - (real_can_activate): new function
5353                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5354                 - (real_act_stage4_get_ip4_config): handle MTU override
5355
5356         * src/nm-device-802-3-ethernet.c
5357                 - (real_can_activate): new function
5358                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5359                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5360
5361         * src/vpn-manager/nm-vpn-connection.c
5362                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5363                         attribute on the ip4 config
5364
5365         * src/NetworkManagerPolicy.c
5366                 - (nm_policy_auto_get_best_device): remove
5367                 - (nm_policy_device_change_check): remove
5368                 - (update_default_route): new function; set the default route via
5369                         the specified device
5370                 - (get_device_priority): new function; return the priority number of
5371                         a device type WRT which one should have the default route.  Order is
5372                         (highest to lowest)  wired, wireless, GSM, CDMA.
5373                 - (update_routing_and_dns): new function; determine which device should
5374                         have the default route, then update the routing table and DNS
5375                 - (maybe_auto_activate_device): new function; if a device is now
5376                         available for activation, find out what connection it would like to
5377                         activate and do it
5378                 - (schedule_activate_check): new function; if a device can be activated
5379                         now, schedule the activation.  Each device may have only one
5380                         pending activation at a given time.
5381                 - (device_state_changed): if activation was canceled, try again,
5382                         possibly with another connection; if the device was activated,
5383                         update routing and DNS; if the device was deactivated, try again
5384                         with another connection
5385                 - (device_carrier_changed): if there is no carrier, deactivate the
5386                         device; otherwise schedule an activation check for the device
5387                 - (wireless_networks_changed): schedule an activation check for the
5388                         device
5389                 - (device_added): keep track of the signal handler IDs so they can
5390                         be removed when the device goes away
5391                 - (device_removed): remove any signal handlers that might be attached
5392                         to the device; update routing and DNS
5393                 - (schedule_activate_all): new function
5394                 - (connections_added, connection_added, connection_updated): when
5395                         connections change, schedule all devices for an activation check
5396                 - (connection_removed): when a device is deactivated because its
5397                         connection was removed, schedule another activation check for it
5398                 - (nm_policy_destroy): destroy pending activations and disconnect
5399                         all device signal handlers
5400
5401         * src/nm-manager.c
5402                 - (nm_manager_activate_device): if the device was already actived,
5403                         deactivate it
5404                 - (deactivate_old_device): remove
5405                 - (connection_added_default_handler, impl_manager_activate_device):
5406                         don't deactivate other devices when activating this one
5407
5408         * src/backends/NetworkManagerGentoo.c
5409           src/backends/NetworkManagerFrugalware.c
5410           src/backends/NetworkManagerPaldo.c
5411           src/backends/NetworkManagerRedHat.c
5412           src/backends/NetworkManagerSlackware.c
5413           src/backends/NetworkManagerArch.c
5414           src/backends/NetworkManagerSuSE.c
5415           src/backends/NetworkManagerDebian.c
5416                 - (nm_system_get_mtu): remove; MTU should be provided through the
5417                         distro's system settings service plugin instead
5418                 - (nm_system_device_add_default_route_via_device): remove
5419                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5420                 - (nm_system_device_replace_default_route): new function; call
5421                         generic implementation
5422
5423         * src/backends/NetworkManagerGeneric.c
5424           src/backends/NetworkManagerGeneric.h
5425                 - (nm_generic_device_add_default_route_via_device,
5426                    nm_generic_device_add_default_route_via_device_with_iface): remove
5427                 - (nm_generic_device_replace_default_route): replace the default route
5428                         with the given route via some gateway
5429
5430         * src/NetworkManagerSystem.c
5431           src/NetworkManagerSystem.h
5432                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5433                         to routing and DNS; but set the MTU here
5434                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5435                         ip_iface of the active device; use the standard MTU setting function
5436                 - (nm_system_set_mtu): remove
5437                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5438
5439 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5440
5441         Rework the interaction between ppp manager and pppd plugin. Register a well
5442         known DBUS service in manager and let the plugin call it's methods instead
5443         of listening plugin's signals.
5444
5445         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5446         of emitting signals.
5447
5448         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5449
5450         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5451
5452         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5453         nm_ppp_manager_start().
5454
5455         * introspection/nm-ppp-manager.xml: New file.
5456
5457         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5458         the case correctly where driver is trying to send -1 for the speed, which gets
5459         casted to u16 and thus is always > 0.
5460
5461 2008-03-07  Dan Williams  <dcbw@redhat.com>
5462
5463         * src/nm-hal-manager.c
5464                 - (nm_get_device_driver_name): use net.originating_device first, fall
5465                         back to physical device.  HAL has deprecated physical_device.
5466
5467         * libnm-glib/nm-device.c
5468                 - (get_product_and_vendor): use net.originating_device first, fall
5469                         back to physical device.  HAL has deprecated physical_device.
5470                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5471
5472 2008-03-07  Dan Williams  <dcbw@redhat.com>
5473
5474         * src/nm-netlink.c
5475                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5476                         last commit; fix that
5477                 - (get_link_cache): print error string
5478
5479 2008-03-07  Dan Williams  <dcbw@redhat.com>
5480
5481         * src/nm-netlink.c
5482                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5483                         don't need this hack any more (Benoit Boissinot)
5484
5485 2008-03-06  Dan Williams  <dcbw@redhat.com>
5486
5487         * autogen.sh
5488                 - Die gnome-common, die
5489
5490 2008-03-04  Dan Williams  <dcbw@redhat.com>
5491
5492         Patch from Michael Biebl <biebl@debian.org>
5493
5494         * NetworkManager.pc.in
5495                 - doesn't actually depend on dbus-1
5496
5497         * libnm-util/nm-utils.h
5498                 - remove unused #include <dbus/dbus.h>
5499
5500         * libnm-glib/libnm_glib.pc.in
5501                 - depends on glib and dbus-glib
5502
5503 2008-03-02  Dan Williams  <dcbw@redhat.com>
5504
5505         * src/NetworkManagerPolicy.c
5506                 - s/device_state_changed_idle_id/update_state_id/
5507
5508 2008-03-02  Dan Williams  <dcbw@redhat.com>
5509
5510         * src/nm-device.c
5511           src/nm-device.h
5512           src/nm-device-802-11-wireless.c
5513           src/nm-device-802-3-ethernet.c
5514           src/NetworkManagerPolicy.c
5515                 - s/link_active/carrier
5516                 - nm_device_set_active_link() -> nm_device_set_carrier()
5517                 - nm_device_has_active_link() -> nm_device_get_carrier()
5518
5519 2008-03-02  Dan Williams  <dcbw@redhat.com>
5520
5521         * system-settings/plugins/ifcfg-fedora/parser.c
5522                 - (make_wireless_setting): fail connection creation on missing SSID
5523
5524 2008-02-29  Dan Williams  <dcbw@redhat.com>
5525
5526         * src/NetworkManagerPolicy.c
5527                 - (nm_policy_device_change_check): ensure that a previously active
5528                         device with a system connection has a link before denying a switch
5529                         to a user connection
5530
5531 2008-02-29  Dan Williams  <dcbw@redhat.com>
5532
5533         * src/nm-device-802-11-wireless.c
5534                 - (link_timeout_cb): try again if scanning; deactivate the device when
5535                         activated if the link dies
5536                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5537                         15 seconds
5538
5539 2008-02-29  Dan Williams  <dcbw@redhat.com>
5540
5541         * src/nm-device-802-11-wireless.c
5542           src/nm-device-802-11-wireless.h
5543                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5544                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5545                 - (device_cleanup): reset the scan interval lower when the device
5546                         deactivates
5547                 - (can_scan): base decision mostly off device state, not supplicant
5548                         interface state since the supplicant interface state isn't a
5549                         great indicator of whether the device is active or not
5550                 - (request_wireless_scan): clean up; schedule the next scan here
5551                 - (schedule_scan): only back the scan interval off if a new scan
5552                         actually gets scheduled; and make scan intervals tighter when the
5553                         device is disconnected
5554                 - (supplicant_iface_state_cb_handler): fold in the bits of
5555                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5556                         interval to minimum
5557                 - (activation_success_handler): reset scan interval to something
5558                         reasonable 
5559
5560 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5561
5562         reviewed by: Steev <steev@steev.net>
5563
5564         * configure.in:
5565         * src/backends/NetworkManagerGentoo.c:
5566         (nm_system_restart_mdns_responder):
5567                 Howl is no longer a supported mDNS provider
5568
5569 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5570
5571         Get rid of a bunch of unused distro specific functions.
5572
5573 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5574
5575         Implement suse plugin for system settings daemon.
5576
5577         * system-settings/plugins/ifcfg-suse/*: Implement.
5578
5579         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5580         suse.
5581
5582         * configure.in: Check (without failing) for gio.
5583         Create ifcfg-suse plugin's Makefile.
5584
5585 2008-02-20  Dan Williams  <dcbw@redhat.com>
5586
5587         * libnm-util/nm-connection.c
5588           libnm-util/nm-connection.h
5589                 - (nm_connection_compare): accept compare flags and pass them to the
5590                         setting compare function
5591
5592         * libnm-util/nm-setting.c
5593           libnm-util/nm-setting.h
5594                 - (nm_setting_compare): accept compare flags; ignore properties that are
5595                         marked fuzzy
5596
5597         * libnm-util/nm-setting-connection.c
5598           libnm-util/nm-setting-wireless.c
5599           libnm-util/nm-setting-ppp.c
5600           libnm-util/nm-setting-wired.c
5601                 - Mark some setting properties as ignorable when doing a fuzzy compare
5602
5603         * src/nm-device.c
5604                 - (device_activation_precheck): use exact compare
5605
5606 2008-02-20  Dan Williams  <dcbw@redhat.com>
5607
5608         * src/NetworkManagerPolicy.c
5609                 - (nm_policy_device_change_check): get scope off the connection, not
5610                         using the manager helper
5611
5612         * src/nm-manager.c
5613           src/nm-manager.h
5614                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5615                 - (connection_get_settings_cb): set scope and path on connection, not
5616                         using GObject data items
5617                 - (get_connection_for_proxy): don't need to return path, since that
5618                         can be gotten from the connection
5619                 - (get_connection_for_proxy): get path off the connection, not from
5620                         parameters
5621                 - (connection_removed_cb, connection_updated_cb): don't need to get
5622                         path from get_connection_for_proxy(); get scope off the connection
5623                         instead of using GObject data items
5624                 - (connection_added_default_handler, add_one_connection_element): use
5625                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5626                 - (nm_manager_get_connection_dbus_path): remove
5627                 - (nm_manager_get_connection_scope): remove
5628
5629 2008-02-20  Dan Williams  <dcbw@redhat.com>
5630
5631         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5632                 on confusing names
5633
5634         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5635                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5636                 NMExportedConnection
5637
5638         * Internally rename NMConnectionType -> NMConnectionScope
5639
5640         * Provide default implementations of the 'get_id' and 'get_settings' methods
5641                 of NMExportedConnection
5642
5643 2008-02-15  Dan Williams  <dcbw@redhat.com>
5644
5645         * src/nm-device-802-11-wireless.c
5646                 - (device_cleanup): release the AP list here too so that the AP list
5647                         doesn't survive across suspend/resume and up/down.  There is some
5648                         room for optimization, for example blow the list away when the card
5649                         brought back up, but only if the device has only been down for a
5650                         minute or more.
5651
5652 2008-02-15  Dan Williams  <dcbw@redhat.com>
5653
5654         * src/nm-hal-manager.c
5655                 - (modem_device_creator): recognize new HAL modem capabilities
5656
5657 2008-02-12  Dan Williams  <dcbw@redhat.com>
5658
5659         * system-settings/plugins/ifcfg-fedora/plugin.c
5660                 - (watch_path): handle IN_DELETE_SELF too
5661                 - (handle_connection_changed): notify when removing a connection
5662                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5663                         case of a file moving out of the profile directory
5664
5665 2008-02-12  Dan Williams  <dcbw@redhat.com>
5666
5667         * system-settings/plugins/ifcfg-fedora/parser.c
5668                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5669
5670 2008-02-12  Dan Williams  <dcbw@redhat.com>
5671
5672         * libnm-util/nm-utils.c
5673                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5674                         just any empty array
5675
5676 2008-02-12  Dan Williams  <dcbw@redhat.com>
5677
5678         * system-settings/src/nm-system-config-interface.c
5679           system-settings/src/nm-system-config-interface.h
5680                 - (load_connections): get_connections() should now return an allocated
5681                         GSList that the system settings service will free
5682
5683         * system-settings/plugins/ifcfg-fedora/plugin.c
5684           system-settings/plugins/ifcfg-fedora/parser.h
5685           system-settings/plugins/ifcfg-fedora/parser.c
5686                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5687                         in the profile directory, handle resolv.conf file changes
5688
5689 2008-02-10  Dan Williams  <dcbw@redhat.com>
5690
5691         * src/nm-device-802-3-ethernet.c
5692                 - (real_bring_up): save the supplicant interface state signal id
5693                 - (real_bring_down): disconnect from the supplicant interface state
5694                         signal
5695
5696 2008-02-07  Dan Williams  <dcbw@redhat.com>
5697
5698         * initscript/RedHat/NetworkManager.in
5699           initscript/RedHat/NetworkManagerDispatcher.in
5700                 - Add new-style LSB init headers
5701
5702 2008-02-07  Dan Williams  <dcbw@redhat.com>
5703
5704         * system-settings/src/dbus-settings.c
5705           system-settings/src/dbus-settings.h
5706                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5707                         table of secrets
5708                 - (connection_settings_get_secrets): consolidate error returns into
5709                         one place; use the new get_secrets() plugin interface function to
5710                         get secrets from the plugin itself rather than using GObject data
5711                         magic
5712
5713         * system-settings/src/main.c
5714                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5715                    load_connections): keep a private list of the plugin-returned
5716                         connections, don't use the plugin's GSList
5717
5718         * system-settings/plugins/ifcfg-fedora/plugin.c
5719                 - (watch_path): watch the path, not the filename (duh)
5720                 - (reload_all_connections): use the direct hash/equal functions; the
5721                         ones for int aren't appropriate here
5722                 - (get_secrets, system_config_interface_init): implement the
5723                         get_secrets() function
5724                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5725                         now in the connection's ConnectionData instead of being a GObject
5726                         data property
5727                 - (handle_profile_item_changed): ifcfg file path is now in the
5728                         connection's ConnectionData instead of being a GObject data property;
5729                         be sure to copy secrets over from the new connection to the existing
5730                         connection when updating the connection's settings
5731                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5732                         file descriptor
5733
5734         * system-settings/plugins/ifcfg-fedora/parser.c
5735           system-settings/plugins/ifcfg-fedora/parser.h
5736                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5737                    connection_data_copy_secrets, connection_data_free,
5738                    connection_data_add): new functions; connection data manipulation
5739                 - (make_wireless_security_setting): stuff secrets into the
5740                         connection data, not as GObject data items; make sure to close
5741                         the keys ifcfg file
5742                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5743                         connection data to the connection
5744
5745 2008-02-07  Dan Williams  <dcbw@redhat.com>
5746
5747         * system-settings/src/nm-system-config-interface.c
5748           system-settings/src/nm-system-config-interface.h
5749                 - Add a get_secrets() interface function to retrieve secrets for a
5750                         specific setting of a specific connection.  Document the interface
5751                         a bit more too.
5752
5753 2008-02-07  Dan Williams  <dcbw@redhat.com>
5754
5755         * src/nm-device-802-11-wireless.c
5756                 - (handle_auth_or_fail): new function; consolidate device activation
5757                         failure check after a certain number of failures getting secrets
5758                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5759                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5760                         the connection if secrets were requested more than a few times
5761                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5762                         tries here; otherwise they are cleared before the IP configure
5763                         timeout, which happens with open system WEP when key is wrong
5764                 - (activation_success_handler): clear wireless secrets tries here too
5765
5766 2008-02-07  Dan Williams  <dcbw@redhat.com>
5767
5768         * src/NetworkManagerPolicy.c
5769                 - (connection_updated): clear invalid tag when connection gets updated
5770                         to allow that connection to be tried again
5771                 - (nm_policy_new): save signal ids so they can be disconnected when
5772                         the policy is destroyed
5773                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5774                         and disconnect all signals from the manager object so that none
5775                         of the policy functions gets called after the policy is destroyed
5776
5777 2008-02-06  Dan Williams  <dcbw@redhat.com>
5778
5779         * src/nm-manager.c
5780                 - (finalize): remove devices a bit earlier; clean up system settings
5781                         poke
5782                 - (nm_manager_name_owner_changed): clean up system settings poke when
5783                         the service appears, and try to restart it if it fails
5784                 - (poke_system_settings_daemon_cb): try to get the system settings
5785                         service started through D-Bus service activation
5786                 - (initial_get_connections): start the system settings daemon if it's
5787                         not already running
5788
5789 2008-02-05  Dan Williams  <dcbw@redhat.com>
5790
5791         * src/supplicant-manager/nm-supplicant-config.c
5792                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5793                         broadcast networks too
5794
5795 2008-02-04  Dan Williams  <dcbw@redhat.com>
5796
5797         * system-settings/plugins/ifcfg-fedora/parser.c
5798                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5799                         need key_mgmt set too
5800                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5801                         .bak files; ensure that an error is set whenever NULL gets returned
5802
5803 2008-02-04  Dan Williams  <dcbw@redhat.com>
5804
5805         * system-settings/src/Makefile.am
5806                 - Install D-Bus service activation file for the system settings
5807                         service
5808
5809         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5810                 - D-Bus service activation file for system settings service
5811
5812 2008-02-04  Dan Williams  <dcbw@redhat.com>
5813
5814         * system-settings/src/main.c
5815                 - (parse_config_file): parse a config file
5816                 - (main): accept --config option and read plugins from config file
5817
5818 2008-02-04  Dan Williams  <dcbw@redhat.com>
5819
5820         * system-settings/plugins/ifcfg-fedora/plugin.c
5821                 - Change reported name to 'ifcfg-fedora'
5822                 - Use IFCFG_PLUGIN_NAME
5823
5824         * system-settings/plugins/ifcfg-fedora/plugin.c
5825                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5826
5827 2008-02-04  Dan Williams  <dcbw@redhat.com>
5828
5829         * system-settings/plugins/ifcfg-fedora/parser.c
5830                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5831                 - (make_connection_setting): use get_ifcfg_name()
5832                 - (make_wireless_security_setting): handle shadow key files
5833                 - (get_one_wep_key): treat empty string as NULL
5834
5835 2008-02-04  Dan Williams  <dcbw@redhat.com>
5836
5837         * src/supplicant-manager/nm-supplicant-manager.c
5838                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5839                         glib automatically reschedule
5840                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5841                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5842                         the supplicant
5843
5844 2008-02-01  Dan Williams  <dcbw@redhat.com>
5845
5846         * src/NetworkManagerPolicy.c
5847                 - (device_state_changed): schedule a change check when a device gets
5848                         deactivated so something happens if you disconnect GSM/CDMA
5849
5850 2008-01-31  Dan Williams  <dcbw@redhat.com>
5851
5852         * src/nm-device-802-11-wireless.h
5853           src/nm-device-802-11-wireless.c
5854                 - (ap_list_get_ap_by_ssid, is_associated,
5855                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5856                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5857                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5858                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5859                         function
5860
5861 2008-01-30  Dan Williams  <dcbw@redhat.com>
5862
5863         * system-settings/plugins/ifcfg
5864         * system-settings/plugins/ifcfg-fedora
5865                 - Move the ifcfg plugin to ifcfg-fedora
5866
5867 2008-01-24  Dan Williams  <dcbw@redhat.com>
5868
5869         * libnm-glib/nm-device-802-11-wireless.c
5870                 - (get_access_point): move the "/" check here; check for invalid path
5871                         too
5872                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5873                         to get_access_point()
5874                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5875                         to send signals for non-existent access points
5876
5877 2008-01-24  Dan Williams  <dcbw@redhat.com>
5878
5879         * libnm-glib/nm-device-802-11-wireless.c
5880                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5881
5882 2008-01-23  Dan Williams  <dcbw@redhat.com>
5883
5884         * libnm-glib/libnm_glib.c
5885                 - (libnm_glib_init): make thread joinable
5886                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5887
5888 2008-01-23  Dan Williams  <dcbw@redhat.com>
5889
5890         * test/libnm_glib_test.c
5891                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5892                 - (main): set up signal handlers; call libnm_glib_shutdown
5893
5894 2008-01-21  Dan Williams  <dcbw@redhat.com>
5895
5896         * include/NetworkManager.h
5897                 - Add CDMA mobile broadband card device type
5898
5899         * src/nm-hal-manager.c
5900                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5901                         must now be tagged with 'cdma' or 'gsm' capability
5902
5903         * src/nm-cdma-device.c
5904           src/nm-cdma-device.h
5905           src/Makefile.am
5906                 - Add the CDMA mobile broadband card device class
5907
5908         * libnm-util/nm-connection.c
5909                 - (register_default_settings): add NMSettingCdma
5910
5911         * libnm-util/nm-setting-cdma.c
5912           libnm-util/nm-setting-cdma.h
5913           libnm-util/Makefile.am
5914                 - Add the CDMA mobile broadband card setting class
5915
5916         * libnm-glib/nm-cdma-device.c
5917           libnm-glib/nm-cdma-device.h
5918           libnm-glib/Makefile.am
5919                 - Add the CDMA mobile broadband card GLib proxy class
5920
5921         * libnm-glib/nm-client.c
5922                 - (get_device): handle CDMA devices too
5923
5924 2008-01-21  Dan Williams  <dcbw@redhat.com>
5925
5926         * src/ppp-manager/nm-ppp-manager.c
5927                 - (ip4_config_get): set peer address too
5928
5929         * src/ppp-manager/nm-pppd-plugin.c
5930                 - (nm_ip_up): try harder to get the peer's address
5931
5932         * src/NetworkManagerSystem.c
5933                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5934                         address, use that too.  Otherwise, some PPP connections won't work.
5935
5936 2008-01-19  Dan Williams  <dcbw@redhat.com>
5937
5938         * src/NetworkManagerPolicy.c
5939                 - (nm_policy_device_change_check): system connections override user
5940                         connections; don't activate a user connection if there's a currently
5941                         active system connection, and new, better system connections always
5942                         interrupt user connections
5943
5944 2008-01-19  Dan Williams  <dcbw@redhat.com>
5945
5946         * src/nm-manager.h
5947                 - (nm_manager_get_connection_type): new function
5948
5949 2008-01-19  Dan Williams  <dcbw@redhat.com>
5950
5951         * src/nm-device-802-11-wireless.c
5952                 - (real_get_best_connection): collapse find_best_connection() into this
5953                         function
5954
5955 2008-01-19  Dan Williams  <dcbw@redhat.com>
5956
5957         * src/nm-device-802-3-ethernet.c
5958                 - (real_get_best_connection): collapse find_best_connection() into this
5959                         function
5960
5961 2008-01-18  Dan Williams  <dcbw@redhat.com>
5962
5963         * src/nm-device-802-3-ethernet.c
5964                 - (find_best_connection): check MAC address too
5965                 - (real_get_best_connection): let autoconnect=True connections activate
5966                         for devices that don't have carrier detection
5967
5968         * src/nm-device-802-11-wireless.c
5969                 - (find_best_connection): check MAC address too
5970
5971 2008-01-18  Dan Williams  <dcbw@redhat.com>
5972
5973         * system-settings/plugins/ifcfg/parser.c
5974                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5975
5976 2008-01-17  Dan Williams  <dcbw@redhat.com>
5977
5978         * src/nm-device-802-3-ethernet.c
5979                 - (nm_device_802_3_ethernet_carrier_on,
5980                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5981                         carrier events that might come in for devices that don't support
5982                         carrier detect
5983
5984 2008-01-17  Dan Williams  <dcbw@redhat.com>
5985
5986         * src/nm-device-interface.c
5987                 - (nm_device_interface_check_connection_conflicts): need to actually
5988                         get the interface, not cast to the object
5989
5990         * src/nm-device.c
5991                 - (nm_device_check_connection_conflicts): need to get the device class,
5992                         not cast the device to the device class
5993
5994 2008-01-17  Dan Williams  <dcbw@redhat.com>
5995
5996         * src/nm-device-802-11-wireless.c
5997                 - (real_check_connection_conflicts): ignore connections that aren't
5998                         wireless connections
5999
6000 2008-01-17  Dan Williams  <dcbw@redhat.com>
6001
6002         * src/NetworkManagerPolicy.c
6003                 - (nm_policy_device_change_check): clear change check idle here
6004                 - (device_change_check_done): remove
6005                 - (schedule_change_check): simplify
6006
6007 2008-01-17  Dan Williams  <dcbw@redhat.com>
6008
6009         * src/nm-manager.c
6010                 - (check_connection_allowed): take an NMDeviceInterface instead of
6011                         an NMDevice object as an argument
6012                 - (nm_manager_activate_device): pass an NMDeviceInterface to
6013                         check_connection_allowed()
6014
6015 2008-01-13  Dan Williams  <dcbw@redhat.com>
6016
6017         * libnm-glib/nm-device-802-11-wireless.c
6018                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6019
6020 2008-01-12  Dan Williams  <dcbw@redhat.com>
6021
6022         * src/nm-device-802-11-wireless.c
6023                 - (activation_success_handler): if a match was found in the scan list
6024                         and that match is a hidden AP, update that AP's SSID
6025
6026 2008-01-11  Dan Williams  <dcbw@redhat.com>
6027
6028         * src/NetworkManagerAP.c
6029                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6030
6031         * src/nm-device-802-11-wireless.c
6032                 - (get_active_ap): do two passes over the scan list if the caller
6033                         requests that hidden APs get matched too; during the second pass
6034                         when matching hidden APs, ignore the SSID since hidden APs in the
6035                         scan list don't have an SSID yet
6036                 - (periodic_update): move some checks to
6037                         nm_device_802_11_periodic_update() because not all callers need them
6038                 - (nm_device_802_11_periodic_update): move some checks here from
6039                         perodic_update()
6040                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6041                         matching on incoming scan results, because the fake AP's flags
6042                         might be slightly different (yet still compatible) with the incoming
6043                         scan result's flags and they might actually be the same AP; update
6044                         the rate on merged APs too
6045                 - (activation_success_handler): update the frequency of the fake AP
6046                         on successful connection; match hidden APs too since if the
6047                         current AP is fake, there might already be a scan result in the
6048                         scan list for the desired AP, just without it's SSID filled in yet
6049
6050 2008-01-10  Dan Williams  <dcbw@redhat.com>
6051
6052         * src/NetworkManagerAP.c
6053                 - (foreach_property_cb): catch more hidden SSID formats
6054
6055 2008-01-10  Dan Williams  <dcbw@redhat.com>
6056
6057         Fix gnome.org #464215.  Requires the kernel patch titled
6058         "Introduce WEXT scan capabilities" but will handle the patch not being
6059         present, you'll just continue to have problems with hidden SSIDs when
6060         using mac80211-based drivers.
6061
6062         * src/supplicant-manager/nm-supplicant-config.h
6063           src/supplicant-manager/nm-supplicant-config.c
6064                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6065                         whether the driver supports SSID scans or not.  If it does, and if
6066                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
6067
6068         * src/nm-device-802-11-wireless.c
6069                 - (constructor): check whether or not the driver supports SSID scans
6070                 - (build_supplicant_config): pass driver SSID scan capability when
6071                         building the wireless bits of the supplicant config
6072
6073 2008-01-09  Dan Williams  <dcbw@redhat.com>
6074
6075         * src/nm-device.c
6076           src/nm-device.h
6077                 - (device_activation_precheck, check_connection_complete): remove this
6078                         virtual function; incomplete connections should be invalid by
6079                         definition, complete-ness should be checked in the setting's
6080                         verify function
6081
6082         * src/nm-serial-device.c
6083           src/nm-gsm-device.c
6084                 - (real_check_connection_complete): remove
6085
6086         * libnm-util/nm-setting-serial.c
6087                 - (verify): new function; ensure there is a PPP setting too
6088
6089         * libnm-util/nm-setting-gsm.c
6090                 - (verify): ensure there is a serial setting too
6091
6092 2008-01-06  Dan Williams  <dcbw@redhat.com>
6093
6094         * src/dhcp-manager/nm-dhcp-manager.c
6095                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6096                         (gnome.org #332953)
6097
6098 2008-01-04  Dan Williams  <dcbw@redhat.com>
6099
6100         * src/named-manager/nm-named-manager.c
6101                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6102                         nameservers if the secondary config doesn't have any
6103                         (gnome.org #346833)
6104
6105 2008-01-02  Tambet Ingo  <tambet@gmail.com>
6106
6107         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6108         with G_PARAM_CONSTRUCT so that they get the default values.
6109
6110         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6111         the monitoring device and prints out the output for now. Or more precicely, doesn't
6112         do absolutely anything right now since the montoring device argument is never set.
6113
6114         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6115         requires it's own knob to turn it on.
6116         (config_fd): Add NMSettingSerial to the arguments list.
6117         (nm_serial_device_open): Ditto.
6118         (get_reply_got_data): Ignore the terminators at the beginning of the output.
6119         (nm_serial_device_get_io_channel): Implement.
6120
6121         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6122         a new reference every time (and forgetting to release it sometimes) is a pain and
6123         it's not like NMManager could work without dbus.
6124         (nm_manager_add_device): Register the added device on dbus here.
6125
6126         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6127         device.
6128
6129         * src/nm-device.c (constructor): Don't export the device here, instead export
6130         it when it's added to the NMManager's device list.
6131
6132 2007-12-31  Dan Williams  <dcbw@redhat.com>
6133
6134         * src/nm-device-interface.c
6135           src/nm-device-interface.h
6136                 - (nm_device_interface_check_connection_conflicts): new function
6137
6138         * src/nm-device.c
6139           src/nm-device.h
6140                 - (nm_device_check_connection_conflicts): new function
6141                 - (device_activation_precheck): don't require subclasses to implement
6142                         check_connection_complete()
6143                 - check_connection() -> check_connection_complete()
6144
6145         * src/nm-device-802-11-wireless.c
6146                 - (real_check_connection): remove; unused
6147                 - (real_check_connection_conflicts): implement, handle lockdown for
6148                         system connections
6149
6150         * src/nm-device-802-3-ethernet.c
6151                 - (real_check_connection): remove; unused
6152
6153         * src/nm-manager.c
6154                 - (check_connection_allowed): new function
6155                 - (nm_manager_activate_device): ensure the connection being requested
6156                         is allowed to be activated
6157
6158         * src/nm-serial-device.c
6159           src/nm-gsm-device.c
6160                 - real_check_connection() -> real_check_connection_complete()
6161
6162 2007-12-27  Dan Williams  <dcbw@redhat.com>
6163
6164         * src/nm-device-interface.c
6165           src/nm-device-interface.h
6166                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6167                         normalize and expand errors
6168                 - (nm_device_interface_init): register errors so they can be marshalled
6169                         through dbus-glib
6170                 - (nm_device_interface_activate): ensure that failure of activation
6171                         returns an error
6172
6173         * src/nm-device.c
6174           src/nm-device.h
6175                 - (device_activation_precheck): implementations of check_connection()
6176                         now take a GError and must fill it in if the check fails.  Return
6177                         more descriptive error if the requested connection is already
6178                         activating
6179                 - (nm_device_activate): actually try to return descriptive errors on
6180                         failures
6181
6182         * src/nm-device-802-11-wireless.c
6183           src/nm-device-802-3-ethernet.c
6184           src/nm-serial-device.c
6185           src/nm-gsm-device.c
6186                 - (real_check_connection): return more descriptive errors on failure
6187
6188         * src/NetworkManagerPolicy.c
6189                 - (nm_policy_device_change_check): print activation errors in the logs
6190
6191         * src/nm-manager.c
6192                 - (nm_manager_error_quark, nm_manager_error_get_type,
6193                    nm_manager_class_init): new errors
6194                 - (nm_manager_activate_device): handle errors
6195                 - (nm_manager_error_new): removed
6196                 - (wait_for_connection_expired, connection_added_default_handler,
6197                    impl_manager_activate_device): better error handling
6198
6199 2007-12-27  Dan Williams  <dcbw@redhat.com>
6200
6201         Fixes gnome.org #466954
6202
6203         * src/supplicant-manager/nm-supplicant-settings-verify.c
6204                 - Allow 'frequency' network property
6205
6206         * src/supplicant-manager/nm-supplicant-config.c
6207           src/supplicant-manager/nm-supplicant-config.h
6208                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6209                         for callers to specify the frequency an Ad-Hoc network should operate
6210                         on.  Some drivers require this to successfully create an Ad-Hoc
6211                         network.
6212
6213         * src/nm-device-802-11-wireless.c
6214                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6215                         guint32 value in MHz
6216                 - (constructor, nm_device_802_11_wireless_get_frequency): use
6217                         iw_freq_to_uint32()
6218                 - (find_supported_frequency): new function; find a free supported
6219                         frequency for a user-created Ad-Hoc network
6220                 - (build_supplicant_config): if no frequency was specified for a user-
6221                         created Ad-Hoc network, find a free one to use
6222                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6223                         a specific object as user-created
6224
6225 2007-12-27  Dan Williams  <dcbw@redhat.com>
6226
6227         * libnm-util/nm-utils.c
6228           libnm-util/nm-utils.h
6229                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6230                         for adhoc networks
6231
6232 2007-12-24  Dan Williams  <dcbw@redhat.com>
6233
6234         * libnm-util/nm-setting-wireless.c
6235                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6236                         185, 187, 188, 192, and 196
6237
6238 2007-12-24  Dan Williams  <dcbw@redhat.com>
6239
6240         * src/nm-device-802-11-wireless.c
6241                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6242                         a channel # instead of a frequency
6243
6244 2007-12-24  Dan Williams  <dcbw@redhat.com>
6245
6246         * src/NetworkManagerAP.c
6247           src/NetworkManagerAP.h
6248                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6249                 - (freq_to_channel): handle split band tables
6250                 - (channel_to_freq): handle split band tables, take a band argument
6251
6252 2007-12-24  Dan Williams  <dcbw@redhat.com>
6253
6254         * libnm-util/nm-setting-connection.h
6255           libnm-util/nm-setting-connection.c
6256                 - Add 'lockdown' member
6257
6258 2007-12-22  Dan Williams  <dcbw@redhat.com>
6259
6260         * libnm-util/nm-setting-wireless.c
6261                 - (nm_setting_wireless_class_init): add missing 'rate' property
6262                         specification
6263
6264 2007-12-18  Dan Williams  <dcbw@redhat.com>
6265
6266         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6267
6268         * src/nm-netlink-monitor.c
6269           src/nm-netlink-monitor.h
6270                 - Remove handrolled netlink, use libnl instead
6271
6272         * src/nm-device-802-3-ethernet.c
6273                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6274                    nm_device_802_3_ethernet_carrier_on): use new names
6275
6276 2007-12-17  Dan Williams  <dcbw@redhat.com>
6277
6278         * configure.in
6279                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6280                         and fixes memory leaks)
6281
6282         * src/nm-netlink.c
6283                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6284                         automatically handle the netlink PID
6285
6286 2007-12-17  Dan Williams  <dcbw@redhat.com>
6287
6288         Patch from Michael Biebl <biebl@debian.org>
6289
6290         * configure.in
6291           src/ppp-manager/Makefile.am
6292                 - fix up install dir of pppd plugin
6293                 - clean up configure.in a bit
6294
6295 2007-12-12  Dan Williams  <dcbw@redhat.com>
6296
6297         * system-settings/src/nm-system-settings.conf
6298                 - Allow non-root clients (like the applet) to read settings
6299
6300 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6301
6302         * Replace all occurences of 'UMTS' with 'GSM'.
6303
6304 2007-12-07  Dan Williams  <dcbw@redhat.com>
6305
6306         * src/nm-serial-device.c
6307                 - (real_is_up): serial devices are always "up"
6308
6309 2007-12-07  Dan Williams  <dcbw@redhat.com>
6310
6311         * src/nm-netlink.c
6312           src/NetworkManagerSystem.c
6313                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6314                         twice (gnome.org #491047)
6315                 - Make more robust against allocation-related failures should they occur
6316
6317 2007-12-07  Dan Williams  <dcbw@redhat.com>
6318
6319         Noticed by Christian Persch <chpe@gnome.org>
6320
6321         Always chain up to parent object in dispose and finalize handlers.
6322                 (gnome.org #433112)
6323
6324 2007-12-07  Dan Williams  <dcbw@redhat.com>
6325
6326         * src/nm-device-802-11-wireless.c
6327                 - Wrap #include of linux/mii.h to fix redefined structures due to
6328                         incorrect kernel headers (gnome.org #350061)
6329
6330 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6331
6332         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6333         before doing anything else.
6334         (init_modem): Move modem initialization here.
6335
6336         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6337         (nm_serial_device_flash): Implement.
6338
6339         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6340         changes signal is "StateChanged" and not "Status".
6341         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6342
6343 2007-12-06  Dan Williams  <dcbw@redhat.com>
6344
6345         * src/supplicant-manager/nm-supplicant-config.c
6346                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6347                         to only send some options when they make sense; also send phase2
6348                         option to the supplicant (possible fix for rh #399631)
6349
6350 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6351
6352         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6353         arguments: This whole file shouldn't really know anything about NMDevices, it
6354         should deal only with device interfaces. Devices might have different ifaces for
6355         different stuff and this place shouldn't know anything about it.
6356
6357         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6358         (global_state_changed): Implement. In the current NM it's not really important,
6359         but will be required in the case of multiple active devices. (Or even better,
6360         if stuff like that gets moved out from NM).
6361
6362         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6363         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6364         instead.
6365
6366         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6367         devices like serial devices (ttyS0 and ppp0 for example).
6368         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6369         set.
6370         (nm_device_set_ip_iface): Implement.
6371         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6372         after setting ip4_config from here ...
6373         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6374         than this function should call nm_system_device_set_from_ip4_config() because no
6375         other code has enough information on which arguments to use. So instead, other code
6376         could just set the new ip4 config using this function and everyone is happy.
6377
6378         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6379         if we happen to get deactivated while something is pending.
6380         (automatic_registration): Handle the response that indicates pending network
6381         registration and wait until the pending registration is done.
6382         (real_deactivate_quickly): If there's a pending operation, cancel it.
6383
6384         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6385         (real_deactivate_quickly): ... and remove it when it's down.
6386         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6387         it if needed.
6388         (nm_serial_device_wait_for_reply): Ditto.
6389
6390 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6391
6392         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6393         (get_network_done): Remove newline, nm_info() does it already.
6394         (real_act_stage1_prepare): Turn the modem echo off.
6395
6396         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6397         device, set the route to the device interface. This is a hack.
6398
6399         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6400         return, no need for a new-line.
6401         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6402         Change the device iface here (ugh).
6403         (real_act_stage4_get_ip4_config): Implement.
6404         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6405         Restore the device iface.
6406
6407         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6408         device is not wired or wireless (eg, automatically upped) device.
6409
6410         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6411         it isn't.
6412         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6413
6414         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6415         before calling it's is_device_fn().
6416
6417 2007-12-05  Dan Williams  <dcbw@redhat.com>
6418
6419         * libnm-util/nm-utils.c
6420                 - (nm_utils_register_value_transformations,
6421                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6422                         GHashTables of GValues too
6423
6424 2007-12-04  Dan Williams  <dcbw@redhat.com>
6425
6426         * initscript/RedHat/NetworkManager.in
6427                 - No longer start named; it's D-Bus interface is going away
6428
6429 2007-12-04  Dan Williams  <dcbw@redhat.com>
6430
6431         Patch from Michael Biebl <biebl@debian.org>
6432
6433         * system-settings/plugins/ifcfg/Makefile.am
6434           system-settings/src/main.c
6435           system-settings/src/Makefile.am
6436                 - Put system settings plugins in NM plugins dir
6437
6438         * src/ppp-manager/Makefile.am
6439           src/ppp-manager/nm-ppp-manager.c
6440                 - Move pppd plugin to NM plugins dir
6441
6442 2007-12-04  Dan Williams  <dcbw@redhat.com>
6443
6444         * libnm-util/nm-setting-vpn-properties.h
6445                 - Clarify usage of the 'data' member of the setting
6446
6447         * libnm-util/nm-setting-vpn-properties.c
6448                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6449                 - (set_property): just remove all the settings; don't recreate the has
6450                 - (update_one_secret): don't need to create the hash table here since
6451                         it should always be present
6452
6453 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6454
6455         Implement PIN and PUK requesting.
6456
6457         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6458         (enter_pin): Handle PIN and PUK requests.
6459         (real_act_stage1_prepare): Clear the secret type.
6460         (real_connection_secrets_updated): Implement this class method to get
6461         notified when new secrets arrive.
6462         (nm_umts_device_class_init): Add private data back to the umts device class
6463         to store the required secret type.
6464
6465 2007-12-01  Dan Williams  <dcbw@redhat.com>
6466
6467         * system-settings/plugins/ifcfg/parser.c
6468                 - (parser_parse_file): don't try to verify NULL connections
6469
6470 2007-12-01  Dan Williams  <dcbw@redhat.com>
6471
6472         * system-settings/src/main.c
6473                 - (load_connections, add_connection_to_settings): actually export
6474                         plugin-provided connections over D-Bus so NM can get them
6475
6476 2007-12-01  Dan Williams  <dcbw@redhat.com>
6477
6478         * system-settings/plugins/ifcfg/parser.c
6479           system-settings/plugins/ifcfg/parser.h
6480           system-settings/plugins/ifcfg/plugin.c
6481                 - Hook up more inotify bits (untested)
6482
6483 2007-11-29  Dan Williams  <dcbw@redhat.com>
6484
6485         * system-settings/src/nm-system-config-interface.h
6486           system-settings/src/nm-system-config-interface.c
6487                 - (nm_system_config_interface_init,
6488                    nm_system_config_interface_get_connections): add
6489
6490         * system-settings/src/main.c
6491                 - (load_plugins, load_connections, main): use a GSList for plugins
6492                         to ensure priority ordering
6493
6494         * system-settings/plugins/ifcfg/parser.c
6495                 - (ifcfg_error_quark): move to plugin.c, and rename
6496
6497         * system-settings/plugins/ifcfg/plugin.h
6498           system-settings/plugins/ifcfg/plugin.c
6499                 - (ifcfg_plugin_error_quark): move here from parser.c
6500                 - rework connection loading and initialization
6501                 - Add preliminary inotify support for network profile config file
6502
6503 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6504
6505         Merge the beginnings of the new GSM card support.
6506
6507         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6508         ppp watch source before killing pppd - If this happens from g_object_unref()
6509         then the ppp manager is already destroyed by the time the watch callback runs.
6510
6511         * src/nm-hal-manager.c: Add a device_type_name string to the device
6512         creators, so that we can print a nice human readable string when a
6513         device is added.
6514
6515         * src/nm-umts-device.c (automatic_registration_get_network): Query
6516         for the activated network, not much is done with the result thought.
6517
6518         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6519         (ppp_ip4_config): Change the device state to activated here for now.
6520         (real_check_connection): Make sure the connection includes ppp setting.
6521
6522         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6523
6524         * libnm-glib/Makefile.am: Add the new files to build.
6525
6526         * libnm-glib/nm-umts-device.c: 
6527         * libnm-glib/nm-umts-device.h: Implement.
6528
6529 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6530
6531         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6532         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6533
6534         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6535         the timeout source - this function is only called when the timeout source has
6536         been removed.
6537         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6538         to be big enough to contain the terminating zero element as well.
6539         The timeout argument is meant to be in seconds now.
6540         (real_deactivate_quickly): Implement.
6541
6542         * src/NetworkManager.conf: Allow root to own 
6543         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6544
6545         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6546         (not unsigned ints).
6547
6548         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6549         small issue with parity bounds - capital letters have lower ascii codes
6550         than lower case letters.
6551
6552         * libnm-util/nm-connection.c (register_default_settings): Register serial
6553         and umts settings.
6554
6555 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6556
6557         Remove the "index" property from devices as not all device types have this.
6558
6559         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6560
6561         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6562         (wired_device_creator): Get the device interface from hal to create the device.
6563         (wireless_device_creator): Ditto.
6564
6565         * src/nm-device.c (nm_device_init): Remove the index member.
6566         (constructor): Remove the checks for index property, make interface property
6567         a require constructor property.
6568         Use the HAL udi for DBus path for devices.
6569         (nm_device_get_index): Remove.
6570         (set_property): Remove index handling.
6571         (get_property): Ditto.
6572         (nm_device_get_dbus_path): Remove.
6573
6574         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6575         property.
6576
6577         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6578         Access the device index through it's interface.
6579         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6580         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6581         index argument. Add interface argument.
6582
6583         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6584         the useless test_dev argument. Remove index argument. Add interface arugment.
6585
6586         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6587         device index through interface.
6588         (nm_system_set_mtu): Ditto.
6589
6590         * introspection/nm-device.xml: Remove the "Index" property.
6591
6592 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6593
6594         * src/nm-serial-device.c: 
6595         * src/nm-serial-device.c: 
6596         * src/nm-umts-device.c:
6597         * src/nm-umts-device.h: Implement.
6598
6599         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6600         allocated by libhal.
6601         (modem_device_creator): Implement.
6602         (register_built_in_creators): Register the modem creator.
6603
6604         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6605         Remove the unused test_dev argument.
6606
6607         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6608
6609         * src/Makefile.am: Add new files to build.
6610         Link in ppp-manager.
6611
6612         * libnm-util/nm-setting-umts.c: 
6613         * libnm-util/nm-setting-umts.h: 
6614         * libnm-util/nm-setting-serial.c: 
6615         * libnm-util/nm-setting-serial.h: Implement.
6616
6617         * libnm-util/Makefile.am: Add new files to build.
6618
6619 2007-11-28  Dan Williams  <dcbw@redhat.com>
6620
6621         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6622
6623         Support DHCP-provided static routes.
6624
6625         * src/nm-ip4-config.h
6626           src/nm-ip4-config.c
6627                 - Add get/set functions for static routes
6628
6629         * src/dhcp-manager/nm-dhcp-manager.c
6630                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6631                         DHCP response
6632
6633         * src/NetworkManagerSystem.c
6634                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6635                         interface when applying the IP4Config
6636
6637 2007-11-28  Dan Williams  <dcbw@redhat.com>
6638
6639         * src/nm-device-802-11-wireless.c
6640                 - (real_act_stage1_prepare): mark APs created for hidden networks
6641                         as non-broadcasting
6642
6643 2007-11-27  Dan Williams  <dcbw@redhat.com>
6644
6645         * system-settings/src/nm-system-config-interface.h
6646                 - Note how to store secrets on NMSetting objects
6647
6648         * system-settings/src/dbus-settings.c
6649                 - (connection_settings_get_secrets): implement
6650
6651 2007-11-27  Dan Williams  <dcbw@redhat.com>
6652
6653         * system-settings/plugins/ifcfg/Makefile.am
6654           system-settings/plugins/ifcfg/parser.c
6655           system-settings/plugins/ifcfg/parser.h
6656           system-settings/plugins/ifcfg/plugin.c
6657                 - Parse wireless connections too
6658
6659         * system-settings/src/dbus-settings.c
6660           system-settings/src/dbus-settings.h
6661           system-settings/src/main.c
6662                 - Handle connection update/removal if the plugin supports it
6663
6664 2007-11-27  Dan Williams  <dcbw@redhat.com>
6665
6666         * src/nm-dbus-manager.h
6667           src/nm-hal-manager.c
6668                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6669                         do it for them
6670
6671         * src/Makefile.am
6672           src/NetworkManagerDbusUtils.c
6673           src/NetworkManagerDbusUtils.h
6674                 - Remove these two source files; they are unused
6675
6676 2007-11-27  Dan Williams  <dcbw@redhat.com>
6677
6678         * src/vpn-manager/nm-vpn-manager.c
6679                 - (impl_vpn_manager_connect): fix system settings check (found by
6680                         James M. Leddy)
6681
6682 2007-11-26  Dan Williams  <dcbw@redhat.com>
6683
6684         * Fix warnings so everything compiles with --enable-more-warnings
6685
6686 2007-11-25  Dan Williams  <dcbw@redhat.com>
6687
6688         * system-settings/*
6689                 - Rework structure and code to use GModule-loaded plugins and a plugin
6690                         interface that plugins export to the system settings service
6691
6692 2007-11-21  Dan Williams  <dcbw@redhat.com>
6693
6694         * system-settings/*
6695                 - Add Soren's system settings service.  Needs work for distros other
6696                         than Fedora; the backends from NM should mostly migrate to here
6697                         and be converted to GObjects
6698
6699 2007-11-21  Dan Williams  <dcbw@redhat.com>
6700
6701         * libnm-util/nm-setting-vpn-properties.c
6702                 - (set_property): must deep-copy the given settings hash, otherwise
6703                         double-free errors occur when the setting is disposed of
6704
6705 2007-11-21  Dan Williams  <dcbw@redhat.com>
6706
6707         * src/vpn-manager/nm-vpn-act-request.h
6708           src/vpn-manager/nm-vpn-act-request.c
6709                 - Remove; unused
6710
6711 2007-11-20  Dan Williams  <dcbw@redhat.com>
6712
6713         * libnm-util/nm-utils.c
6714                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6715                    nm_utils_convert_ip4_addr_struct_array_to_string,
6716                    nm_utils_register_value_transformations): print out the readable
6717                         values of more types of properties of NMSettings subclasses
6718
6719 2007-11-20  Dan Williams  <dcbw@redhat.com>
6720
6721         * libnm-util/nm-setting-ip4-config.c
6722                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6723                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6724                         marshal GValueArrays inside collections, so switch to types that it
6725                         can actually marshal/demarshal
6726
6727 2007-11-16  Dan Williams  <dcbw@redhat.com>
6728
6729         * libnm-util/nm-setting-wireless-security.c
6730                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6731                         minimal verification of EAP methods too
6732                 - (verify): verify phase1 eap methods too
6733
6734 2007-11-15  Dan Williams  <dcbw@redhat.com>
6735
6736         * libnm-glib/nm-device.h
6737           libnm-glib/nm-device.c
6738                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6739                         const char *
6740
6741 2007-11-15  Dan Williams  <dcbw@redhat.com>
6742
6743         * libnm-glib/nm-device.c
6744                 - (get_product_and_vendor): don't try to free things that should be
6745                         freed
6746
6747 2007-11-15  Dan Williams  <dcbw@redhat.com>
6748
6749         * src/NetworkManagerUtils.c
6750                 - (nm_ethernet_address_is_valid): unbreak previous fix
6751
6752 2007-11-15  Dan Williams  <dcbw@redhat.com>
6753
6754         * src/supplicant-manager/nm-supplicant-config.c
6755                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6756                         options
6757
6758 2007-11-15  Dan Williams  <dcbw@redhat.com>
6759
6760         * src/NetworkManagerUtils.c
6761                 - (nm_ethernet_address_is_valid): fix style, clarify
6762                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6763
6764         * src/nm-device-802-11-wireless.c
6765                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6766                 - (nm_device_802_11_wireless_get_ssid,
6767                    nm_device_802_11_wireless_get_bssid,
6768                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6769                         before calling the ioctl; fixes valgrind-reported jump depends on
6770                         uninitialized value errors
6771
6772 2007-11-15  Dan Williams  <dcbw@redhat.com>
6773
6774         * libnm-util/nm-setting.c
6775                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6776                         unecessary to serialize 'name'
6777
6778         * src/nm-activation-request.c
6779                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6780                         the GetSecrets call
6781
6782 2007-11-15  Dan Williams  <dcbw@redhat.com>
6783
6784         * libnm-util/nm-setting-connection.h
6785           libnm-util/nm-setting-connection.c
6786                 - Rename the 'name' property to 'id', because it conflicted with the
6787                         NMSetting superclass' 'name' property.
6788
6789         * libnm-util/nm-setting.c
6790                 - (nm_setting_to_hash): serialize the 'name' property
6791                 - (one_property_cb): ignore 'name' on deserialization of a connection
6792
6793         * src/nm-device-802-11-wireless.c
6794           src/vpn-manager/nm-vpn-connection.c
6795           src/NetworkManagerPolicy.c
6796                 - Fix up for NMSettingConnection 'name'->'id' changes
6797
6798 2007-11-13  Dan Williams  <dcbw@redhat.com>
6799
6800         * libnm-glib/nm-device-802-11-wireless.h
6801           libnm-glib/nm-device-802-11-wireless.c
6802                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6803
6804         * test/nm-tool.c
6805           libnm-glib/libnm-glib-test.c
6806                 - Fixes for above change
6807
6808 2007-11-12  Dan Williams  <dcbw@redhat.com>
6809
6810         * src/supplicant-manager/nm-supplicant-settings-verify.c
6811                 - Allow fragment_size option
6812
6813         * src/supplicant-manager/nm-supplicant-settings-verify.c
6814                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6815                         EAP fragment size than the default to help some TLS connections
6816
6817 2007-11-12  Dan Williams  <dcbw@redhat.com>
6818
6819         Make certs actually work.  The private key is now a secret, and should be
6820         decrypted when requested by NM.  The private key and phase2 private key
6821         passwords are no longer interesting to NM because they should be used by
6822         the settings service to decrypt the private key itself before passing it
6823         to NM, and hence have been removed as fields.
6824
6825         * libnm-util/nm-setting-wireless-security.h
6826           libnm-util/nm-setting-wireless-security.c
6827                 - Remove private-key-passwd and phase2-private-key-passwd from
6828                         properties
6829                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6830                    need_secrets): use property #defines instead strings to keep things
6831                         consistent
6832                 - (need_secrets_tls): if a client certificate is present but no
6833                         private key, request the private key
6834                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6835                         remove private key password stuff, mark private keys as secret
6836
6837         * src/supplicant-manager/nm-supplicant-settings-verify.c
6838                 - Remove private_key_passwd and private_key2_passwd from opt_table
6839
6840 2007-11-09  Dan Williams  <dcbw@redhat.com>
6841
6842         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6843         Since the vpn-properties are managed and known by the VPN daemons themselves,
6844         libnm-util doesn't know what's secret and what's in the setting's 'data'
6845         member.
6846
6847         * libnm-util/nm-setting.h
6848           libnm-util/nm-setting.c
6849                 - Add the ability for subclasses to override update_one_secret
6850
6851         * libnm-util/nm-setting-vpn-properties.c
6852                 - Override update_one_secret and just copy the values into the
6853                         internal table
6854
6855 2007-11-09  Dan Williams  <dcbw@redhat.com>
6856
6857         * libnm-glib/nm-settings.h
6858           libnm-glib/nm-settings.c
6859                 - (nm_settings_new_error): remove
6860                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6861                         clients should use g_set_error() with NM_SETTINGS_ERROR
6862
6863 2007-11-09  Dan Williams  <dcbw@redhat.com>
6864
6865         * src/supplicant-manager/nm-supplicant-config.c
6866                 - (nm_supplicant_config_add_setting_wireless_security): private key
6867                         passwords are never sent to wpa_supplicant, because the supplicant
6868                         should never be reading random files from the disk.  Clients like
6869                         the applet are required to decrypt the private keys and send NM
6870                         the decrypted blobs.
6871
6872 2007-11-08  Dan Williams  <dcbw@redhat.com>
6873
6874         * libnm-util/nm-setting-wireless-security.h
6875           libnm-util/nm-setting-wireless-security.c
6876                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6877                         members to 802-11-wireless-security structure.  This should be used
6878                         to indicate that the values in private-key and phase2-private-key
6879                         are already decrypted by the user agent, and that no
6880                         private-key-passwd or phase2-private-key-passwd should be expected.
6881                         It is not meant to be a stored configuration value, but meant to
6882                         be set when the conneciton is sent to NM over dbus.
6883
6884 2007-11-08  Dan Williams  <dcbw@redhat.com>
6885
6886         * libnm-util/nm-connection.h
6887           libnm-util/nm-connection.c
6888                 - (nm_connection_need_secrets): add argument to return hints
6889
6890         * src/nm-device-802-11-wireless.c
6891                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6892                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6893                         nm_connection_need_secrets() change
6894
6895 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6896
6897         Rework NMSetting structures: Move each setting to it's own file.
6898         Convert to GObject. Remove home grown setting types and use GTypes.
6899         Use GObject property introspection for hash conversion, enumerating
6900         properties, etc.
6901
6902         * libnm-util/nm-setting-connection.[ch]
6903         * libnm-util/nm-setting-ip4-config.[ch]
6904         * libnm-util/nm-setting-ppp.[ch]
6905         * libnm-util/nm-setting-vpn.[ch]
6906         * libnm-util/nm-setting-vpn-properties.[ch]
6907         * libnm-util/nm-setting-wired.[ch]
6908         * libnm-util/nm-setting-wireless.[ch]
6909         * libnm-util/nm-setting-wireless-security.[ch]
6910
6911         New files, each containing a setting.
6912
6913         * libnm-util/nm-setting-template.[ch]: A template for creating new
6914         settings. To use it, just replace 'template' with the new setting
6915         name, and you're half-way done.
6916
6917         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6918         introspection instead of internal types and tables.
6919
6920         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6921
6922         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6923         GValue types defined by dbus-glib for composed types like collections,
6924         structures and maps.
6925
6926         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6927         a setting from connection takes the setting type now. Also, since
6928         the settings are in multiple files, include relevant settings.
6929
6930 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6931
6932         * configure.in:
6933         * src/backends/NetworkManagerGentoo.c:
6934         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6935         providers in Gentoo.
6936
6937 2007-10-31  Dan Williams  <dcbw@redhat.com>
6938
6939         * libnm-util/nm-connection.c
6940                 - (gvalue_to_string): handle UINT32 arrays
6941
6942 2007-10-31  Dan Williams  <dcbw@redhat.com>
6943
6944         * libnm-glib/nm-device.h
6945           libnm-glib/nm-device.c
6946                 - (nm_device_get_description): remove
6947                 - (nm_device_get_product, nm_device_get_vendor): add
6948                 - (nm_device_update_description): new function (private); walk HAL
6949                         devices to get product and vendor IDs for a specific device
6950
6951 2007-10-31  Dan Williams  <dcbw@redhat.com>
6952
6953         * src/nm-device-802-11-wireless.c
6954                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6955
6956 2007-10-29  Dan Williams  <dcbw@redhat.com>
6957
6958         * src/nm-hal-manager.c
6959                 - (device_added, device_new_capability): ignore device additions while
6960                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6961                         kernel module is unloaded and reloaded and recognized by NM again.
6962
6963 2007-10-26  Dan Williams  <dcbw@redhat.com>
6964
6965         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6966
6967         * src/NetworkManagerAP.c
6968           src/NetworkManagerAP.h
6969           libnm-glib/nm-access-point.c
6970           libnm-glib/nm-access-point.h
6971                 - Make 'rate' property a guint32 to better match with WEXT and
6972                         wpa_supplicant and to allow representation of higher bitrates
6973
6974         * src/nm-device-802-11-wireless.c
6975           introspection/nm-device-802-11-wireless.xml
6976           libnm-glib/nm-device-802-11-wireless.c
6977           libnm-glib/nm-device-802-11-wireless.h
6978                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6979
6980         * src/nm-device-802-3-ethernet.c
6981           src/nm-device-802-3-ethernet.h
6982           introspection/nm-device-802-3-ethernet.xml
6983           libnm-glib/nm-device-802-3-ethernet.c
6984           libnm-glib/nm-device-802-3-ethernet.h
6985                 - Make 'speed' property a guint32 to match other speed/rate types
6986                 - Make nm_device_802_3_ethernet_get_speed() static
6987
6988         * test/nm-tool.c
6989                 - Update for the changes above
6990
6991 2007-10-26  Dan Williams  <dcbw@redhat.com>
6992
6993         * src/named-manager/nm-named-manager.c
6994                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6995                     not calling fclose() twice on some error conditions
6996
6997 2007-10-26  Dan Williams  <dcbw@redhat.com>
6998
6999         * src/nm-activation-request.c
7000                 - (dispose): clean up indentation; get the right DBusGProxy object to
7001                         cancel the GetSecrets pending call on.  Need to use the Secrets
7002                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
7003                         pending call doesn't get canceled, and pressing Cancel in the
7004                         applet's password dialog could cause get_secrets_cb() to be called
7005                         after the activation request has already been destroyed
7006
7007 2007-10-24  Dan Williams  <dcbw@redhat.com>
7008
7009         * src/supplicant-manager/nm-supplicant-config.c
7010                 - (nm_supplicant_config_add_blob): pass blob data and length for
7011                         verification
7012                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7013
7014 2007-10-24  Dan Williams  <dcbw@redhat.com>
7015
7016         * src/supplicant-manager/nm-supplicant-settings-verify.c
7017                 - (opt_table): max length for certificates should be 65536
7018
7019 2007-10-24  Dan Williams  <dcbw@redhat.com>
7020
7021         * src/supplicant-manager/nm-supplicant-interface.c
7022                 - (blob_free): correctly free blob data after use
7023                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7024
7025 2007-10-24  Dan Williams  <dcbw@redhat.com>
7026
7027         * libnm-util/nm-setting.c
7028                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7029                         EAP method need secrets
7030
7031 2007-10-24  Dan Williams  <dcbw@redhat.com>
7032
7033         * src/backends/NetworkManagerRedHat.c
7034                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7035
7036 2007-10-23  Dan Williams  <dcbw@redhat.com>
7037
7038         * libnm-util/nm-setting.c
7039           libnm-util/nm-setting.c
7040                 - (nm_setting_compare): implement
7041                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7042                    compare_one_hash_gvalue): compare the contents of a setting
7043
7044         * libnm-util/nm-connection.c
7045                 - (nm_connection_compare): implement
7046
7047 2007-10-23  Dan Williams  <dcbw@redhat.com>
7048
7049         * src/nm-activation-request.c
7050                 - (get_secrets_cb): handle getting a setting back that is more than
7051                         just secrets (ie, user changed auth or EAP method or something)
7052
7053 2007-10-23  Dan Williams  <dcbw@redhat.com>
7054
7055         * libnm-util/nm-setting.c
7056           libnm-util/nm-setting.h
7057                 - (nm_setting_verify): new function; verify one setting
7058                 - (nm_settings_verify_all): rename from nm_settings_verify()
7059                 - (setting_connection_verify, setting_wireless_verify): allow NULL
7060                         all_settings
7061
7062         * libnm-util/nm-connection.c
7063                 - (nm_connection_replace_settings, nm_connection_verify,
7064                    nm_connection_new_from_hash): handle nm_settings_verify() rename
7065
7066 2007-10-23  Dan Williams  <dcbw@redhat.com>
7067
7068         * src/nm-device-802-11-wireless.c
7069                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7070                         desired behavior
7071
7072 2007-10-23  Dan Williams  <dcbw@redhat.com>
7073
7074         * src/supplicant-manager/nm-supplicant-settings-verify.c
7075                 - eap_allowed, phase2_allowed: harmonize with allowed values from
7076                         nm-settings.c
7077
7078 2007-10-23  Dan Williams  <dcbw@redhat.com>
7079
7080         * src/nm-device-802-11-wireless.c
7081                 - (real_act_stage2_config): after the first association failure,
7082                         if the connection still needs secrets ask the user for them
7083                         explicitly.  After the fourth association failure due to bad
7084                         secrets, fail the connection entirely.  Handles the GetSecrets
7085                         loop that NM gets into when the provided secrets don't match up
7086                         with the connection details.
7087
7088 2007-10-23  Dan Williams  <dcbw@redhat.com>
7089
7090         * src/supplicant-manager/nm-supplicant-config.c
7091                 - (nm_supplicant_config_add_setting_wireless_security): only add
7092                         WPA-specific options when WPA is in use
7093
7094 2007-10-23  Dan Williams  <dcbw@redhat.com>
7095
7096         * src/supplicant-manager/nm-supplicant-config.c
7097                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7098                         secret doesn't need to be unhexified
7099
7100 2007-10-23  Dan Williams  <dcbw@redhat.com>
7101
7102         * libnm-util/nm-setting.c
7103                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7104                         before trying to do something with it
7105
7106 2007-10-23  Dan Williams  <dcbw@redhat.com>
7107
7108         * src/nm-device-802-11-wireless.c
7109                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7110
7111 2007-10-23  Dan Williams  <dcbw@redhat.com>
7112
7113         * src/nm-device-802-11-wireless.c
7114                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7115                         non-SSID-broadcasting APs
7116
7117 2007-10-23  Dan Williams  <dcbw@redhat.com>
7118
7119         * src/NetworkManagerAP.c
7120                 - (match_cipher, security_compatible): remove
7121                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7122                         libnm-util instead
7123
7124 2007-10-23  Dan Williams  <dcbw@redhat.com>
7125
7126         * libnm-util/nm-utils.c
7127           libnm-util/nm-utils.h
7128                 - (nm_utils_ap_security_compatible): common function for checking
7129                         whether a specific AP is compatible with an NMConnection
7130
7131 2007-10-23  Dan Williams  <dcbw@redhat.com>
7132
7133         * libnm-util/nm-setting.c
7134                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7135                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7136                    need_secrets_password, setting_wireless_security_verify): fix
7137                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7138                         secrets logic for each supported EAP method
7139
7140 2007-10-23  Dan Williams  <dcbw@redhat.com>
7141
7142         * src/supplicant-manager/nm-supplicant-config.c
7143                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7144                         config option name, should be "private_key2_passwd"
7145
7146 2007-10-22  Tambet Ingo  <tambet@gmail.com>
7147
7148         Implement support for static IP addresses, additional/overridden DNS and
7149         DNS domain search lists.
7150
7151         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7152         (ip4_addresses_to_gvalue): Implement.
7153         (convert_array_to_byte_array): Implement.
7154         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7155         NM_S_TYPE_IP4_ADDRESSES.
7156         (nm_setting_hash): Ditto.
7157         (default_setting_clear_secrets): Add a default case for the switch: IP address
7158         shouldn't be secret, ever.
7159         (setting_ip4_config_verify): Update, requires addresses in case of manual
7160         configurations.
7161         (setting_ip4_config_destroy): Free stuff.
7162
7163         * src/nm-device.c (merge_ip4_config): Implement.
7164         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7165
7166 2007-10-22  Dan Williams  <dcbw@redhat.com>
7167
7168         * libnm-util/nm-setting.c
7169                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7170                         pairwise cipher options for Dynamic WEP
7171
7172 2007-10-21  Dan Williams  <dcbw@redhat.com>
7173
7174         * src/NetworkManagerAP.c
7175           src/NetworkManagerAP.h
7176                 - Rename 'articifical' -> 'fake' since that's what they are until
7177                         noticed in scans
7178                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7179                         from the attributes in an NMConnection object
7180                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7181                         WPA Enterprise
7182                 - (nm_ap_match_in_list): find a matching AP in a scan list
7183
7184         * src/nm-device-802-11-wireless.c
7185                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7186                         AP when searching the scan list; match on frequency and mode too
7187                 - (nm_device_802_11_wireless_get_frequency): implement
7188                 - (merge_scanned_ap): replace duplicate matching logic with
7189                         nm_ap_match_in_list()
7190                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7191                         the user is trying to connect to a hidden network that is not yet
7192                         known from the scan list
7193                 - (activation_success_handler): now that the card knows the AP's BSSID,
7194                         there may already be a scanned AP in the scan list that is what
7195                         we really wanted to connect to, but didn't know at the time.  Use
7196                         that instead of the 'fake' AP created at activation start and get
7197                         rid of the 'fake' AP 
7198                 - (cull_scan_list): don't remove fake APs
7199
7200 2007-10-21  Dan Williams  <dcbw@redhat.com>
7201
7202         * src/nm-activation-request.h
7203           src/nm-activation-request.c
7204                 - (nm_act_request_set_specific_object): new function; allow setting the
7205                         specific object if one isn't set yet
7206
7207 2007-10-20  Dan Williams  <dcbw@redhat.com>
7208
7209         * src/supplicant-manager/nm-supplicant-config.h
7210           src/supplicant-manager/nm-supplicant-config.c
7211                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7212                         table to store blobs
7213                 - (nm_supplicant_config_add_blob): new function; add blob to internal
7214                         blob hash table
7215                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7216                 - (nm_supplicant_config_add_setting_wireless_security): handle
7217                         options that use certificates (ie, blobs)
7218
7219         * src/nm-device-802-11-wireless.c
7220                 - (build_supplicant_config): pass a UID (just use the connection path)
7221                         to the supplicant config as now required
7222
7223         * src/supplicant-manager/nm-supplicant-interface.c
7224                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7225                         there are any blobs to send to wpa_supplicant, send those first
7226                         before sending the network configuration
7227
7228 2007-10-19  Dan Williams  <dcbw@redhat.com>
7229
7230         Split the GetSecrets() call off to a separate D-Bus interface so that it
7231         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
7232         should be able to call GetSecrets().
7233
7234         * include/NetworkManager.h
7235                 - Define the connection secrets D-Bus interface
7236
7237         * src/vpn-manager/nm-vpn-connection.c
7238                 - (clear_need_auth): get the right proxy object for the connection
7239                         secrets interface
7240                 - (get_connection_secrets): use the connection secrets proxy; send
7241                         empty hints in get secrets request
7242
7243         * src/nm-activation-request.c
7244                 - (nm_act_request_request_connection_secrets): use the connection
7245                         secrets proxy; send empty hints in get secrets request
7246
7247         * src/nm-manager.c
7248           src/nm-manager.h
7249                 - (connection_get_settings_cb): set the connection secrets proxy on
7250                         the connection object too
7251                 - (internal_new_connection_cb): create the connection secrets proxy
7252
7253         * introspection/nm-settings-connection.xml
7254                 - Define Connection.Secrets interface and move GetSecrets there
7255                 - Add a 'hints' argument to GetSecrets
7256
7257         * libnm-glib/nm-settings.c
7258           libnm-glib/nm-settings.h
7259                 - (impl_connection_settings_get_secrets): add 'hints' argument
7260
7261 2007-10-19  Dan Williams  <dcbw@redhat.com>
7262
7263         * src/nm-device.c
7264                 - (constructor): add message about what path a device is exported as
7265                         to help in debugging rh #339011
7266
7267 2007-10-17  Dan Williams  <dcbw@redhat.com>
7268
7269         * libnm-util/nm-utils.h
7270           libnm-util/nm-utils.c
7271                 - (nm_utils_security_valid): common function to help find the intersection
7272                         of capabilities of devices and (optionally) access points
7273
7274 2007-10-17  Dan Williams  <dcbw@redhat.com>
7275
7276         * src/nm-device-802-11-wireless.c
7277                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7278                         don't get erroneously cleared
7279
7280 2007-10-17  Dan Williams  <dcbw@redhat.com>
7281
7282         * src/nm-manager.h
7283           src/nm-manager.c
7284           src/nm-hal-manager.c
7285                 - (device_removed, finalize, nm_manager_remove_device,
7286                    nm_manager_sleep): add a 'deactivate' argument to 
7287                    nm_manager_remove_device() to fully deactivate devices when necessary
7288                    (ie, always except when waking up)
7289
7290 2007-10-16  Dan Williams  <dcbw@redhat.com>
7291
7292         * libnm-util/nm-setting.c
7293                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7294                         also isn't valid phase2 autheap method
7295
7296 2007-10-16  Dan Williams  <dcbw@redhat.com>
7297
7298         * libnm-glib/nm-client.c
7299                 - (update_wireless_status): consolidate updates of wireless status
7300                 - (constructor): use update_wireless_status()
7301                 - (manager_running): set wireless status off when NM goes away; requery
7302                         the wireless status when NM comes back
7303
7304 2007-10-16  Dan Williams  <dcbw@redhat.com>
7305
7306         * libnm-glib/nm-client.c
7307                 - (nm_client_activate_device): actually use the fixed-up specific
7308                         object path
7309
7310 2007-10-16  Dan Williams  <dcbw@redhat.com>
7311
7312         * src/nm-hal-manager.c
7313                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7314                         killswitch error messages once
7315
7316 2007-10-16  Dan Williams  <dcbw@redhat.com>
7317
7318         * src/nm-manager.c
7319                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7320                         if it's disabled in hardware; don't touch network devices while
7321                         NM is asleep
7322
7323 2007-10-16  Dan Williams  <dcbw@redhat.com>
7324
7325         * libnm-util/nm-client.c
7326                 - (nm_client_activate_device): convert NULL specific_object to "/",
7327                         which is used in place of NULL
7328
7329         * src/nm-manager.c
7330                 - (impl_manager_activate_device): convert "/" specific_object back into
7331                         NULL
7332
7333 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7334
7335         Implement a generic NMSetting creator from setting name.
7336         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7337         add a virtual function 'populate_fn'.
7338
7339         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7340         (register_default_creators): Register setting creators instead of functions
7341         that create and then populate.
7342         (parse_one_setting): Use the common setting creator and then setting specific
7343         poplulation function.
7344
7345         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7346         they all looked exactly the same.
7347         Add a 'populate_fn' virtual function to NMSetting.
7348         Use default virtual functions in case they are not overriden.
7349         (nm_setting_populate_from_hash): Implement.
7350
7351         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7352         name, use a defined string.
7353         (real_act_stage4_get_ip4_config): Ditto.
7354
7355 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7356
7357         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7358         HAL is int, not uint.
7359
7360 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7361
7362         Implement killswitch polling through HAL.
7363
7364         * src/nm-manager.c: Add wireless hardware status property. Add 
7365         'properties-changed' signal for changes in wireless and wireless hardware
7366         state changes.
7367
7368         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7369         and update NMManager's wireless hardware state when it has changed.
7370         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7371         already does that.
7372
7373         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7374         values of wireless state and wireless hardware state. Listen for the
7375         'properties-changed' signals, update the cached values and emit notify.
7376
7377         * include/NetworkManager.h: Fix a typo in a comment.
7378
7379 2007-10-14  Dan Williams  <dcbw@redhat.com>
7380
7381         * libnm-util/nm-setting.c
7382                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7383
7384 2007-10-13  Dan Williams  <dcbw@redhat.com>
7385
7386         * libnm-util/nm-setting.h
7387           libnm-util/nm-setting.c
7388           src/supplicant-manager/nm-supplicant-config.c
7389                 - Make the 'proto' field of the 802-11-wireless-security field a
7390                         string list
7391
7392 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7393
7394         Rework the "properties-changed" signal listening implementation.
7395         Add a generic implementation to NMObject class that listens for
7396         the signal and calls property setters of the target NMObject.
7397
7398         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7399
7400         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7401         code to the end of file so that all the static functions are available
7402         without extra declarations.
7403         Remove the "properties-changed" signal handling and use the framework from
7404         NMObject.
7405         Implement property setters for properties that change with 
7406         "properties-changed" signal.
7407
7408         * libnm-glib/nm-access-point.c: Ditto.
7409
7410 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7411
7412         Rework the "properties-changed" signal implementation.
7413         In classes that need to use it, just emit "GObject::notify" and the new
7414         framework takes care of the rest to make the signal available on dbus.
7415         The framework queues the notifications and tries to send as many together
7416         in one signal as possible.
7417
7418         * src/nm-properties-changed-signal.c:
7419         * src/nm-properties-changed-signal.h: Implement.
7420
7421         * src/Makefile.am: Add new files to build.
7422
7423         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7424         signal.
7425
7426         * src/nm-device-802-11-wireless.c: Ditto.
7427
7428 2007-10-10  Dan Williams  <dcbw@redhat.com>
7429
7430         * src/nm-manager.c
7431                 - (wait_for_connection_expired): ensure info is valid
7432                 - (connection_added_default_handler): Should only remove pending
7433                         connection info when the manager has the connection that it's
7434                         waiting for.  Fixes segfault in wait_for_connection_info().  
7435
7436 2007-10-10  Dan Williams  <dcbw@redhat.com>
7437
7438         * libnm-util/nm-setting.c
7439           libnm-util/nm-setting.h
7440                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7441                         can use if they choose.  Should be filled in by the settings service
7442                         on-the-fly with the currently logged in user's username
7443
7444 2007-10-10  Dan Williams  <dcbw@redhat.com>
7445
7446         * src/nm-device-802-11-wireless.c
7447                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7448                         as such, because even if the manager fills in the SSID, NM still
7449                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7450                         its SSID
7451
7452 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7453
7454         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7455         code that used NM's own version of dbus signal handling and custom dictionary
7456         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7457         and we get to maintain over 2000 lines less code.
7458
7459         * libnm-util/dbus-dict-helpers.c:
7460         * libnm-util/dbus-dict-helpers.h: Remove.
7461
7462         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7463
7464         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7465
7466         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7467         handlers.
7468
7469         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7470
7471         * configure.in: Remove test/libnm-util/Makefile creation.
7472
7473         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7474
7475         * test/libnm-util/: Remove the whole directory.
7476
7477 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7478
7479         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7480         device_state_changed_idle_id variable or it would contain some random value and the
7481         schedule_change_check calls would not do anything.
7482
7483 2007-10-09  Dan Williams  <dcbw@redhat.com>
7484
7485         * src/nm-device-802-11-wireless.c
7486                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7487                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7488                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7489                         merging of non-SSID-broadcasting APs
7490
7491 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7492
7493         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7494         "guint8 *" since it's usually used with GByteArray->data.
7495         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7496
7497 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7498
7499         * src/NetworkManagerUtils.c
7500         (nm_utils_is_empty_ssid):
7501         (nm_utils_escape_ssid):
7502         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7503         lot of places, so they belong to libnm-utils instead.
7504
7505         Now with 100% less compiler warnings:
7506
7507         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7508         (nm_dbus_unescape_object_path): Ditto.
7509         (nm_utils_ssid_to_utf8): Ditto.
7510         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7511         (nm_utils_escape_ssid): Ditto.
7512         (nm_utils_same_ssid): Ditto.
7513
7514         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7515         (add_one_connection_element): Remove an unused variable.
7516         (impl_manager_get_active_connections): Ditto.
7517
7518         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7519         variable.
7520
7521         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7522         from the previous commit.
7523
7524         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7525         (real_act_stage1_prepare): Ditto.
7526         (activation_success_handler): Ditto.
7527         (get_property): Ditto.
7528
7529         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7530         variable.
7531
7532         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7533         it's always set.
7534
7535         * src/supplicant-manager/nm-supplicant-config.c 
7536         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7537         to expected "char *".
7538         (nm_supplicant_config_add_setting_wireless): Ditto.
7539         (nm_supplicant_config_remove_option): Remove, not used.
7540
7541         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7542         not double.
7543         (test_wireless_enabled): Ifdef out unused function.
7544         (device_deactivate): Ditto.
7545         (device_state_changed): Ditto.
7546         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7547         (nm_utils_escape_ssid): Ditto.
7548
7549         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7550         (nm_utils_is_empty_ssid): Ditto.
7551
7552         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7553         unused variable.
7554
7555         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7556         (setting_vpn_properties_update_secrets): Ditto.
7557         (int_to_gvalue): Ifdef out for now, not used.
7558         (byte_to_gvalue): Ditto.
7559
7560         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7561         Unused, remove.
7562
7563 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7564
7565         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7566         about dbus manager, not named manager.
7567         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7568
7569         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7570         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7571         However, the same signal is emitted when we destroy it and there's 
7572         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7573
7574         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7575         releasing the DBusGConnection, since proxy needs a conneciton.
7576         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7577
7578 2007-10-08  Dan Williams  <dcbw@redhat.com>
7579
7580         * src/NetworkManager.c
7581                 - (main): error on unknown command-line options
7582
7583 2007-10-08  Dan Williams  <dcbw@redhat.com>
7584
7585         Reimplement the invalid connection list.  Don't try to re-activate a
7586         connection that just failed or was canceled.
7587
7588         * src/nm-device.c
7589                 - (connection_secrets_failed_cb): fail device activation, don't just
7590                         deactivate the device.  Listeners have to know about the failure.
7591
7592         * src/NetworkManagerPolicy.c
7593                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7594                         the connection list given to a device's get_best_connection()
7595                         method
7596                 - (device_state_changed): tag failed connections as invalid; clear the
7597                         tag from successful connections
7598
7599 2007-10-08  Dan Williams  <dcbw@redhat.com>
7600
7601         Fix problems with interrupted activation.  Previously, choosing an AP
7602         from the menu, then choosing another one before the first connection was
7603         successful wouldn't deactivate the device before starting the new connection
7604         on that same device.
7605
7606         * src/NetworkManagerPolicy.c
7607                 - (deactivate_old_device, device_state_changed, state_changed,
7608                    nm_policy_new): wrong place to deactivate old devices
7609
7610         * src/nm-manager.c
7611                 - (pending_connection_info_destroy, finalize,
7612                    wait_for_connection_expired): decouple destruction of the pending
7613                         connection info from the manager device
7614                 - (connection_added_default_handler): deactivate any active or
7615                         activating device before starting a new activation
7616                 - (impl_manager_activate_device): deactivate any active or activating
7617                         device before starting a new activation; be sure not to leak
7618                         pending connection info if a new activation request arrives but
7619                         there's already a pending one in-process
7620
7621 2007-10-08  Dan Williams  <dcbw@redhat.com>
7622
7623         * src/NetworkManagerAP.h
7624           src/NetworkManagerAP.c
7625                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7626                         should handle default SSIDs and whether or not to autoconnect
7627                         to them
7628
7629 2007-10-08  Dan Williams  <dcbw@redhat.com>
7630
7631         * src/NetworkManagerPolicy.c
7632                 - (nm_policy_device_change_check): print out connection name where
7633                         possible
7634
7635 2007-10-08  Dan Williams  <dcbw@redhat.com>
7636
7637         * src/nm-device-802-11-wireless.c
7638           src/nm-device-802-11-wireless.h
7639                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7640                         'hidden-ap-found' signal (for internal use only) that allows the
7641                         NMManager to fill in the AP's SSID if a connection has that AP's
7642                         BSSID in its seen-bssids list
7643
7644         * src/nm-manager.c
7645                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7646                         wireless device's hidden-ap-found signal and fill in the APs SSID
7647                         if possible
7648
7649 2007-10-07  Dan Williams  <dcbw@redhat.com>
7650
7651         * src/nm-manager.c
7652           src/nm-manager.h
7653                 - Add a 'connections-added' signal to batch together updates of large
7654                         numbers of connections, like when reading from a settings service
7655                         the first time.  Otherwise, the policy would just activate the first
7656                         suitable connection it saw rather than waiting for the full list
7657                         to arrive.
7658                 - (nm_manager_class_init): register new signal
7659                 - (get_type_for_proxy, connection_get_settings_cb,
7660                    get_connection_for_proxy): centralize places where a proxy's setting
7661                         service is determined
7662                 - (free_get_settings_info): if the call being freed is the last call
7663                         in a pending call group, fire off the connections-added signal
7664                 - (internal_new_connection_cb): add call to a pending call group if
7665                         requested
7666                 - (list_connections_cb): always create a call group here, because this
7667                         call results in a batch of new connections
7668                 - (initial_get_connections): start getting system connections first
7669                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7670                         removed signal when destroying connections
7671
7672         * src/NetworkManagerPolicy.c
7673                 - (nm_policy_new, connections_added): handle connections-added signal
7674                         from the manager
7675
7676 2007-10-06  Dan Williams  <dcbw@redhat.com>
7677
7678         * src/nm-device-802-11-wireless.c
7679                 - (constructor): fix leaked socket
7680
7681 2007-10-06  Dan Williams  <dcbw@redhat.com>
7682
7683         * src/NetworkManagerPolicy.c
7684                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7685                         connection in the list returned by nm_manager_get_connections() is
7686                         reffed, but they weren't getting unreffed before returning
7687
7688 2007-10-06  Dan Williams  <dcbw@redhat.com>
7689
7690         * src/nm-manager.c
7691                 - (connections_to_slist): sort connections first on autoconnect, then
7692                         on timestamp
7693
7694 2007-10-06  Dan Williams  <dcbw@redhat.com>
7695
7696         * libnm-util/nm-connection.c
7697                 - (gvalue_to_string): handle UINT64
7698
7699 2007-10-06  Dan Williams  <dcbw@redhat.com>
7700
7701         * src/NetworkManagerPolicy.c
7702                 - (connection_updated, nm_policy_new): recheck state when a connection
7703                         gets updated
7704
7705 2007-10-06  Dan Williams  <dcbw@redhat.com>
7706
7707         * src/nm-manager.c
7708           src/nm-manager.h
7709                 - (nm_manager_get_connection_dbus_path): make static
7710                 - (nm_manager_update_connections): remove; unused
7711                 - Add a connection-updated signal
7712                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7713                         handle connection object updates
7714
7715 2007-10-06  Dan Williams  <dcbw@redhat.com>
7716
7717         * src/NetworkManagerPolicy.c
7718                 - (connection_removed): deactivate removed connections
7719
7720 2007-10-06  Dan Williams  <dcbw@redhat.com>
7721
7722         * libnm-util/nm-connection.c
7723           libnm-util/nm-connection.h
7724                 - (nm_connection_replace_settings): new function
7725
7726 2007-10-06  Dan Williams  <dcbw@redhat.com>
7727
7728         * libnm-glib/nm-device-802-11-wireless.c
7729                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7730                         on error when getting the active access point over D-Bus from NM
7731
7732 2007-10-05  Dan Williams  <dcbw@redhat.com>
7733
7734         * libnm-util/nm-setting.c
7735                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7736                         to the NMSettingWireless table; it's now a string array not an array
7737                         of byte arrays
7738
7739 2007-10-05  Dan Williams  <dcbw@redhat.com>
7740
7741         * libnm-glib/nm-device-802-11-wireless.c
7742                 - Cache properties and update cached properties on D-Bus signals from NM
7743
7744 2007-10-05  Dan Williams  <dcbw@redhat.com>
7745
7746         * src/nm-device-802-11-wireless.c
7747                 - (set_current_ap): consolidate current_ap handling code into one place
7748                         to ensure that PropertiesChanged signals are emitted in all cases
7749                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7750                    nm_device_802_11_wireless_dispose): use set_current_ap()
7751
7752 2007-10-05  Dan Williams  <dcbw@redhat.com>
7753
7754         * libnm-glib/nm-access-point.c
7755           libnm-glib/nm-access-point.h
7756                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7757                         because the value is cached internally now.  Callers should not
7758                         free the internal value.
7759                 - Make signal name defines private
7760
7761         * test/nm-tool.c
7762           libnm-glib/libnm-glib-test.c
7763                 - Don't free value returned from nm_access_point_get_hw_address()
7764
7765 2007-10-04  Dan Williams  <dcbw@redhat.com>
7766
7767         * introspection/nm-device-802-11-wireless.xml
7768           src/nm-device-802-11-wireless.h
7769           src/nm-device-802-11-wireless.c
7770                 - Add a PropertiesChanged signal for wireless device
7771                 - Store currently associated access point
7772                 - (periodic_update): generalize; update rate here too and emit the
7773                         correct PropertiesChanged signal when stuff changes
7774                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7775                    real_activation_cancel_handler): clear current_ap when device is
7776                         deactivated
7777                 - (link_to_specific_ap, get_ap_blacklisted,
7778                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7779                         code
7780                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7781                         outside this file
7782                 - (real_set_hw_address): emit property changed signal if the card's
7783                         MAC address changes
7784                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7785                         the card is supposed to be connecting to
7786                 - (activation_success_handler): send out property updates on successful
7787                         activation
7788                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7789                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7790                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7791                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7792                         is now boxed; add PropertiesChanged signal
7793
7794 2007-10-04  Dan Williams  <dcbw@redhat.com>
7795
7796         * libnm-util/nm-connection.c
7797           libnm-util/nm-connection.h
7798                 - (nm_connection_verify): new function
7799
7800 2007-10-04  Dan Williams  <dcbw@redhat.com>
7801
7802         * libnm-util/nm-setting.c
7803                 - (nm_settings_verify): use #defines when possible rather than strings
7804                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7805                 - (setting_vpn_verify): tighter validity check on 'service_type'
7806
7807 2007-10-04  Dan Williams  <dcbw@redhat.com>
7808
7809         * libnm-glib/nm-settings.c
7810                 - (nm_connection_settings_class_init): provide correct type for argument
7811                         to the Updated signal so that dbus-glib knows how to marshal it
7812
7813 2007-10-03  Dan Williams  <dcbw@redhat.com>
7814
7815         * src/nm-device-802-3-ethernet.c
7816                 - (real_get_best_connection): don't create automatic connections
7817                         internally; clients should provide a setting that applies to
7818                         the device with 'autoconnect: True'.  Problem was that these
7819                         internally auto-created connections don't have a proxy or service
7820                         name becuase they weren't created by a settings daemon, and therefore
7821                         clients have no idea what to do with them.
7822
7823 2007-10-03  Dan Williams  <dcbw@redhat.com>
7824
7825         * src/nm-device-802-11-wireless.c
7826           src/nm-device-802-11-wireless.h
7827           introspection/nm-device-802-11-wireless.xml
7828                 - GetActiveNetworks -> GetAccessPoints
7829                 - ActiveNetwork -> ActiveAccessPoint
7830                 - NetworkAdded -> AccessPointAdded
7831                 - NetowrkRemoved -> AccessPointRemoved
7832
7833         * libnm-glib/nm-device-802-11-wireless.c
7834           libnm-glib/nm-device-802-11-wireless.h
7835                 - network-added signal -> access-point-added
7836                 - network-removed signal -> access-point-removed
7837                 - nm_device_802_11_wireless_get_active_network() ->
7838                         nm_device_802_11_wireless_get_active_access_point()
7839                 - nm_device_802_11_wireless_get_network_by_path() ->
7840                         nm_device_802_11_wireless_get_access_point_by_path()
7841                 - nm_device_802_11_wireless_get_networks() ->
7842                         nm_device_802_11_wireless_get_access_points()
7843
7844         * libnm-glib/libnm-glib-test.c
7845           test/nm-tool.c
7846           src/NetworkManagerPolicy.c
7847                 - Fixups for Network -> AccessPoint
7848
7849 2007-10-03  Dan Williams  <dcbw@redhat.com>
7850
7851         Add a GetActiveConnections() method on the Manager object.
7852
7853         * src/nm-manager.c
7854           src/nm-manager.h
7855           introspection/nm-manager.xml
7856                 - (connection_get_settings_cb): keep connection type around too
7857                 - (impl_manager_get_active_connections, add_one_connection_element):
7858                         implement; returns all active connections and what devices they
7859                         apply to
7860
7861         * libnm-glib/nm-client.c
7862           libnm-glib/nm-client.h
7863           introspection/nm-manager-client.xml
7864                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7865                         by the caller; free here to avoid memory leak
7866                 - (nm_client_get_active_connections): implement; return the list of
7867                         active connections
7868                 - (nm_client_free_active_connection_element): implement; free an element
7869                         of the GSList returned by nm_client_get_active_connections()
7870
7871 2007-10-03  Dan Williams  <dcbw@redhat.com>
7872
7873         * src/nm-device-802-11-wireless.c
7874                 - (nm_device_802_11_wireless_update_bssid): remove
7875                 - (get_active_ap): new function; find the AP in the scan list which
7876                         matches the current BSSID and SSID of the wireless device
7877                 - (nm_device_802_11_periodic_update): get current AP using
7878                         get_active_ap() and print AP roam messages
7879
7880 2007-10-01  Dan Williams  <dcbw@redhat.com>
7881
7882         * libnm-util/nm-setting.h
7883                 - Add a 'timestamp' option to NMSettingConnection
7884                 - Add a UINT64 type
7885
7886         * libnm-util/nm-setting.c
7887                 - (uint64_to_gvalue): new function
7888                 - (nm_setting_populate_from_hash, nm_setting_hash,
7889                    default_setting_clear_secrets): handle UINT64 type
7890                 - con_table: add 'timestamp' member
7891
7892 2007-10-01  Dan Williams  <dcbw@redhat.com>
7893
7894         * src/nm-manager.c
7895                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7896                         value when the connection can be activated immediately
7897
7898 2007-10-01  Dan Williams  <dcbw@redhat.com>
7899
7900         * libnm-glib/nm-device.c
7901                 - (nm_device_class_init): actually tell glib about the carrier-changed
7902                         signal
7903
7904 2007-10-01  Dan Williams  <dcbw@redhat.com>
7905
7906         * configure.in
7907           src/marshallers/Makefile.am
7908           src/marshallers/nm-marshal.list
7909           src/marshallers/nm-marshal-main.c
7910                 - Consolidate glib marshallers into one place
7911
7912         * src/dhcp-manager/Makefile.am
7913           src/dhcp-manager/nm-dhcp-manager.c
7914           src/supplicant-manager/Makefile.am
7915           src/supplicant-manager/nm-supplicant-manager.c
7916           src/supplicant-manager/nm-supplicant-interface.c
7917           src/ppp-manager/Makefile.am
7918           src/ppp-manager/nm-ppp-manager.c
7919           src/vpn-manager/Makefile.am
7920           src/vpn-manager/nm-vpn-connection.c
7921           src/Makefile.am
7922                 - Use consolidated marshallers
7923
7924         * src/dhcp-manager/nm-dhcp-marshal.list
7925           src/dhcp-manager/nm-dhcp-marshal-main.c
7926           src/supplicant-manager/nm-supplicant-marshal-main.c
7927           src/supplicant-manager/nm-supplicant-marshal.list
7928           src/nm-marshal-main.c
7929           src/nm-marshal.list
7930           src/ppp-manager/nm-ppp-marshal-main.c
7931           src/ppp-manager/nm-ppp-marshal.list
7932           src/vpn-manager/nm-vpn-marshal-main.c
7933           src/vpn-manager/nm-vpn-marshal.list
7934                 - Remove
7935
7936 2007-10-01  Dan Williams  <dcbw@redhat.com>
7937
7938         * include/NetworkManagerVPN.h
7939                 - define VPN connection state change reason codes
7940
7941         * src/vpn-manager/Makefile.am
7942           src/vpn-manager/nm-vpn-marshal.list
7943           src/vpn-manager/nm-vpn-marshal-main.c
7944                 - Add marshallers for StateChanged signal
7945
7946         * introspection/nm-vpn-connection.xml
7947                 - New Banner property
7948                 - StateChanged signal now includes a 'reason' argument
7949
7950         * src/vpn-manager/nm-vpn-connection.c
7951           src/vpn-manager/nm-vpn-connection.h
7952                 - Add a "Banner" property that contains the returned VPN server login
7953                         banner (if any); valid only in the ACTIVATED state
7954                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7955                         a 'reason' argument and emits that reason along with the
7956                         state-changed signal
7957                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7958                 - (nm_vpn_connection_ip4_config_get): save banner for later
7959                 - (nm_vpn_connection_get_banner, get_property,
7960                    nm_vpn_connection_class_init): implement Banner property
7961
7962         * src/vpn-manager/nm-vpn-service.c
7963                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7964                         connection list because elements may get added/removed from it
7965                         while iterating over the list
7966                 - (connection_state_changed): signal now includes the 'reason' argument
7967
7968         * libnm-glib/nm-vpn-connection.c
7969           libnm-glib/nm-vpn-connection.h
7970                 - (nm_vpn_connection_get_banner): new function
7971                 - (state_changed_proxy): handle reason argument
7972
7973 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7974
7975         * src/nm-manager.c:
7976         * src/nm-manager.h:
7977         Implement device activation through NMManager.
7978         Implement "pending device activation" here - If the connection isn't found,
7979         we try to wait for up to 5 seconds for the connection to be provided.
7980         Add NMConnectionType argument to "connection-added" and "connection-removed"
7981         signals.
7982         (nm_manager_get): Remove. Finally.
7983
7984         * src/nm-activation-request.c: 
7985         * src/nm-activation-request.h: 
7986         Remove all the deferred activation code.
7987
7988         * src/nm-device.c: Remove all the deferred activation code. Once the device
7989         activation is started, it's started. Update the activation virtual function
7990         signature.
7991
7992         * src/nm-device-interface.c:
7993         * src/nm-device-interface.h:
7994         Device activation now takes only NMActRequest argument.
7995         Don't expose device activation directly on dbus, it's supposed to go through
7996         NMManager now.
7997
7998         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7999         a bit more compact.
8000         Use the new device activation methods through NMManager.
8001
8002         * introspection/nm-manager-client.xml: 
8003         * introspection/nm-manager.xml: 
8004         * libnm-glib/nm-client.c:
8005         * libnm-glib/nm-client.h:
8006         Add device activation method.
8007         
8008         * libnm-glib/nm-device.c: 
8009         * libnm-glib/nm-device.h: 
8010         * introspection/nm-device.xml: 
8011         Remove device activation method. It's done through NMManager now.
8012
8013         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8014         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8015
8016 2007-09-28  Dan Williams  <dcbw@redhat.com>
8017
8018         * libnm-glib/nm-vpn-connection.c
8019                 - (nm_vpn_connection_get_state): try to update state if the current
8020                         state is UNKNOWN
8021
8022 2007-09-27  Dan Williams  <dcbw@redhat.com>
8023
8024         Patch from Bill Nottingham
8025
8026         * src/supplicant-manager/nm-supplicant-config.c
8027                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8028                         data to the supplicant
8029
8030 2007-09-27  Dan Williams  <dcbw@redhat.com>
8031
8032         * src/NetworkManagerSystem.c
8033                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8034                         and all address manipulation here should be happening on the
8035                         _VPN_ device, not the active device
8036
8037 2007-09-26  Dan Williams  <dcbw@redhat.com>
8038
8039         * src/nm-manager.c
8040           src/nm-manager.h
8041           src/nm-activation-request.c
8042           src/nm-activation-request.h
8043                 - Move the GetSecrets stuff out of the NMManager instance because it
8044                         doesn't really need to be there and complicates things
8045
8046         * src/nm-device.c
8047                 - (connection_secrets_failed_cb, device_activation_go): connect to the
8048                         connection-secrets-failed signal and deactivate the device if
8049                         the GetSecrets call fails
8050
8051         * src/nm-device-802-11-wireless.c
8052                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8053                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8054                         secrets and give correct hints about whether new secrets should be
8055                         asked for by the client or not
8056
8057 2007-09-26  Dan Williams  <dcbw@redhat.com>
8058
8059         * src/vpn-manager/nm-vpn-connection.c
8060                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8061                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8062                         to the secrets-updated signal of the NMConnection since updating
8063                         the secrets is done within the scope of the NMVPNConnection object
8064                         already
8065                 - (get_connection_secrets): fix an uninialized variable usage error
8066
8067 2007-09-26  Dan Williams  <dcbw@redhat.com>
8068
8069         * libnm-util/nm-setting.c
8070                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8071                         actually get updated when the user enters them
8072
8073 2007-09-26  Dan Williams  <dcbw@redhat.com>
8074
8075         * libnm-glib/nm-vpn-plugin.c
8076                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8077
8078 2007-09-26  Dan Williams  <dcbw@redhat.com>
8079
8080         * include/NetworkManagerVPN.h
8081                 - Add a NEED_AUTH state
8082
8083         * src/vpn-manager/nm-vpn-connection.c
8084                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
8085                         the connection needs secrets, and if so, then ask the settings
8086                         service to fill in the secrets.  Then start the connection.
8087
8088 2007-09-26  Dan Williams  <dcbw@redhat.com>
8089
8090         * src/vpn-manager/nm-vpn-manager.c
8091                 - (new_vpn_error, impl_vpn_manager_connect): set errors
8092
8093 2007-09-26  Dan Williams  <dcbw@redhat.com>
8094
8095         * introspection/nm-vpn-plugin.xml
8096           libnm-glib/nm-vpn-plugin.c
8097           libnm-glib/nm-vpn-plugin.h
8098                 - (impl_vpn_plugin_need_secrets): implement a call that should return
8099                         the name of the NMSetting in an NMConnection that may require
8100                         secrets specific to that VPN plugin
8101
8102 2007-09-26  Dan Williams  <dcbw@redhat.com>
8103
8104         * src/nm-manager.c
8105           src/nm-manager.h
8106                 - (nm_manager_get_connection_secrets): make static, unused outside
8107                         the file
8108                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8109
8110 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8111
8112         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8113         method.
8114         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8115         unreference the connection.
8116
8117         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8118         passing properties hash and routes string list, pass NMConnection (in hashed form).
8119
8120         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8121         as GSList, no need to copy stuff around anymore.
8122         (nm_vpn_connection_activate): Update the plugin activation method.
8123
8124         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8125         routes argument to GSList.
8126
8127 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8128
8129         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8130         state and try to get the secrets.
8131
8132         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8133         connections from NMManager and let the device to choose the best from the list.
8134         Since the connection list is sorted by system ones first and user ones later,
8135         the devices still prefer system connections like they did before.
8136         (deactivate_old_device): Implement. When a device starts activation, we have a
8137         policy (for now at least) to deactivate any other device that might be either
8138         active or still activating.
8139
8140         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8141         It's set on construction, there will be no other way to access it.
8142
8143         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8144         device events and drive the device, not the other way around.
8145
8146         * src/nm-device-802-3-ethernet.c: Ditto.
8147
8148         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8149         sent along, pass it on to virtual functions.
8150
8151         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8152         for now, but should really be public instead of nm_device_get_iface() since iface
8153         is a property of the DeviceInterface, not Device.
8154         (impl_device_activate): Don't touch NMManager!
8155
8156 2007-09-26  Jürg Billeter  <j@bitron.ch>
8157
8158         * initscript/paldo/NetworkManager.in:
8159         * initscript/paldo/NetworkManagerDispatcher.in:
8160         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8161         (nm_system_flush_loopback_routes): update paldo backend
8162
8163 2007-09-26  Tambet Ingo  <tambet@gmail.com>
8164
8165         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8166         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8167         which means none of the devices get brought down properly, which in turn leaves
8168         DHCP client running.
8169
8170         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8171         (supplicant_connection_timeout_cb): Ditto.
8172
8173 2007-09-25  Dan Williams  <dcbw@redhat.com>
8174
8175         * src/nm-device.c
8176                 - (device_activation_go): small hack to work around race when
8177                         activating deferred connections; should solve this in a better way
8178
8179 2007-09-25  Dan Williams  <dcbw@redhat.com>
8180
8181         * introspection/nm-device.xml
8182           libnm-glib/nm-device.c
8183           libnm-glib/nm-device.h
8184                 - Add 'Carrier' property to exported NMDevice objects
8185
8186         * src/nm-device-interface.h
8187           src/nm-device-interface.c
8188           src/nm-device.c
8189                 - Add a 'carrier' property to internal NMDevice objects
8190
8191 2007-09-25  Dan Williams  <dcbw@redhat.com>
8192
8193         * src/nm-device-802-11-wireless.c
8194                 - (ap_auth_enforced): also return the encryption status of the AP so
8195                         that callers can differentiate easily between unencrypted APs
8196                         and encrypted ones, in addition to whether the AP has an
8197                         authenticator
8198                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8199                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8200                         previously would request secrets from unencrypted APs at times
8201
8202 2007-09-25  Dan Williams  <dcbw@redhat.com>
8203
8204         * src/nm-manager.c
8205                 - (nm_manager_update_state): new function; updates state and emits
8206                         appropriate signals ensuring a state-change signal for the same state
8207                         never gets emitted twice in a row.
8208                 - (manager_device_state_changed): handle more device state to get a
8209                         better picture of the overall NM state
8210
8211 2007-09-25  Dan Williams  <dcbw@redhat.com>
8212
8213         * libnm-glib/nm-settings.c
8214           libnm-glib/nm-settings.h
8215                 - (new_error -> nm_settings_new_error): make public so that subclasses
8216                         can use the same error domain.  Also pass a valid error code to
8217                         g_error_new_literal() so that libdbus doesn't assert when converting
8218                         the GError into a DBusError
8219                 - (impl_settings_list_connections, impl_connection_settings_get_id,
8220                    impl_connection_settings_get_settings,
8221                    impl_connection_settings_get_secrets): use new error creator
8222                         function
8223
8224 2007-09-25  Dan Williams  <dcbw@redhat.com>
8225
8226         * src/NetworkManager.c
8227                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8228
8229 2007-09-25  Dan Williams  <dcbw@redhat.com>
8230
8231         * src/supplicant-manager/nm-supplicant-manager.c
8232                 - (poke_supplicant_cb, nm_supplicant_manager_init,
8233                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8234                    nm_supplicant_manager_startup): when the supplicant isn't running,
8235                         try to start it periodically via system bus activation.  Fixes
8236                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
8237                         for the supplicant to come back
8238
8239 2007-09-25  Dan Williams  <dcbw@redhat.com>
8240
8241         Ensure that old activation requests are forgotten about; previously
8242         hitting Cancel in the password dialog would deactivate whatever device
8243         that password was requested for, even if that wasn't the currently
8244         activating connection.
8245
8246         * src/nm-manager.c
8247           src/nm-manager.h
8248                 - (nm_manager_get_connection_secrets): track the pending call
8249                         object so it can be canceled later if needed
8250                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8251                         GetSecrets call for a particular connection
8252
8253         * src/nm-activation-request.c
8254                 - (dispose): cancel any outstanding GetSecrets calls on the
8255                         connection
8256
8257 2007-09-25  Dan Williams  <dcbw@redhat.com>
8258
8259         * src/NetworkManagerPolicy.c
8260                 - (nm_policy_device_change_check): handle devices that have a
8261                         deferred activation.  These devices are not really active _yet_,
8262                         but need to be treated as such here.  Don't interrupt them
8263                         automatically.
8264
8265         * src/nm-device-interface.c
8266                 - (impl_device_activate): handle devices that have a deferred activation
8267                         like activating or active devices.  When multiple active devices
8268                         get committed, the device shouldn't be deactivated until the
8269                         connection details are available to avoid DoS and such.  Currently,
8270                         any active, activating, or deferred activation device is deactivated
8271                         here before starting the new activation request.
8272
8273 2007-09-25  Dan Williams  <dcbw@redhat.com>
8274
8275         Properly re-query secrets from the settings daemon when stuff fails.
8276
8277         * src/nm-device-802-11-wireless.c
8278                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8279                         between Shared Key and Open System auth modes
8280                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8281                    real_act_stage4_ip_config_timeout): clear existing secrets and
8282                         request new ones when something fails due to a suspected wrong key
8283                 - (real_act_stage2_config): fix for new request_new argument to
8284                         nm_manager_get_connection_secrets()
8285
8286         * src/nm-manager.c
8287           src/nm-manager.h
8288                 - (nm_manager_get_connection_secrets): return error status; pass
8289                         new request_new argument on to the settings daemon
8290
8291         * introspection/nm-settings-connection.xml
8292                 - New 'request_new' argument to the GetSecrets call that hints to the
8293                         settings daemon to ask the user for completely new secrets
8294
8295         * libnm-glib/nm-settings.c
8296           libnm-glib/nm-settings.h
8297                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8298                         argument
8299
8300 2007-09-25  Dan Williams  <dcbw@redhat.com>
8301
8302         * libnm-util/nm-connection.c
8303           libnm-util/nm-connection.h
8304                 - (nm_connection_clear_secrets): new function; clear secrets out of
8305                         each NMSetting in an NMConnection
8306
8307         * libnm-util/nm-setting.h
8308           libnm-util/nm-setting.c
8309                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8310                         secrets out of an NMSetting
8311                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8312                    nm_setting_wired_new, nm_setting_wireless_new,
8313                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8314                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8315                         to default handler default_setting_clear_secrets()
8316
8317 2007-09-25  Dan Williams  <dcbw@redhat.com>
8318
8319         * src/nm-activation-request.c
8320           src/nm-activation-request.h
8321                 - (nm_act_request_is_deferred): new function
8322
8323 2007-09-24  Dan Williams  <dcbw@redhat.com>
8324
8325         * src/nm-device-802-11-wireless.c
8326                 - (activation_success_handler): update signal strength immediately
8327                         after activation
8328
8329 2007-09-24  Dan Williams  <dcbw@redhat.com>
8330
8331         * libnm-util/nm-setting.c
8332                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8333
8334 2007-09-24  Dan Williams  <dcbw@redhat.com>
8335
8336         * src/NetworkManagerPolicy.c
8337                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8338                         device by deactivating it because it doesn't have a "best connection".
8339                         Since autoconnect=False connections aren't automatically chosen,
8340                         NM would interrupt activation of such a connection because it
8341                         would never be "best" due to autoconnect=False.
8342
8343 2007-09-24  Dan Williams  <dcbw@redhat.com>
8344
8345         * src/nm-manager.c
8346                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8347                         actually has some time to enter a key before the GetSecrets call
8348                         times out
8349
8350 2007-09-24  Dan Williams  <dcbw@redhat.com>
8351
8352         * introspection/nm-manager.xml
8353           src/nm-manager.c
8354                 - (impl_manager_legacy_state): fix 'state' method call return value
8355
8356 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8357
8358         * test/Makefile.am: Install nm-tool
8359
8360 2007-09-24  Dan Williams  <dcbw@redhat.com>
8361
8362         Patch from Ross Burton <ross@burtonini.com>
8363
8364         * test/nm-tool.c
8365           callouts/nm-dhcp-client-action.c
8366           src/nm-netlink.c
8367           src/vpn-manager/nm-vpn-connection.c
8368           libnm-glib/libnm-glib-test.c
8369                 - warning fixes
8370
8371 2007-09-24  Dan Williams  <dcbw@redhat.com>
8372
8373         * libnm-util/nm-utils.h
8374           libnm-util/nm-utils.c
8375                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8376                         remove, unused
8377
8378 2007-09-23  Dan Williams  <dcbw@redhat.com>
8379
8380         * vpn-daemons/vpnc/properties/nm-vpnc.c
8381                 - Update for new VPN properties API bits; instead of passing around
8382                         a lot of random things, everything goes into the NMConnection
8383                         object.
8384
8385 2007-09-23  Dan Williams  <dcbw@redhat.com>
8386
8387         * libnm-util/nm-setting.c
8388                 - Correctly dispose of settings objects if creating them from a hash
8389                         table fails
8390
8391 2007-09-23  Dan Williams  <dcbw@redhat.com>
8392
8393         * libnm-util/nm-setting.c
8394                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8395                         the hash table in a standard manner.  Clients of libnm-util should
8396                         only call g_hash_table_remove_all(), never destroy the hash table
8397                         and recreate it.
8398
8399 2007-09-22  Dan Williams  <dcbw@redhat.com>
8400
8401         * src/nm-device-802-11-wireless.c
8402                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8403                         real reason to do it so often, and reduces wakeups for clients.
8404
8405 2007-09-21  Dan Williams  <dcbw@redhat.com>
8406
8407         * src/nm-device-802-11-wireless.c
8408                 - (build_supplicant_config): wpa_supplicant requires the option
8409                         key_mgmt=NONE for unencrypted networks
8410                 - (real_act_stage2_config): clarify log message on activation
8411
8412 2007-09-21  Dan Williams  <dcbw@redhat.com>
8413
8414         * test/nm-supplicant-test.c
8415           test/Makefile.am
8416                 - Remove supplicant test binary; no longer applicable
8417
8418 2007-09-21  Dan Williams  <dcbw@redhat.com>
8419
8420         * src/supplicant-manager/nm-supplicant-manager.c
8421                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8422                         activate it on the system bus
8423
8424 2007-09-20  Dan Williams  <dcbw@redhat.com>
8425
8426         * initscript/RedHat/NetworkManager.in
8427                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8428
8429 2007-09-20  Dan Williams  <dcbw@redhat.com>
8430
8431         * src/nm-device.c
8432                 - (nm_device_is_activating): work around a race between auto-activation
8433                         and the user activating the same device that is being auto-activated
8434
8435 2007-09-20  Dan Williams  <dcbw@redhat.com>
8436
8437         * src/nm-device-interface.c
8438                 - (impl_device_activate): until multiple active device support lands,
8439                         ensure only one device can be active at a time
8440
8441 2007-09-20  Dan Williams  <dcbw@redhat.com>
8442
8443         * src/supplicant-manager/nm-supplicant-config.c
8444           src/supplicant-manager/nm-supplicant-config.h
8445                 - (nm_supplicant_config_add_option): hide secrets from system logs
8446
8447 2007-09-20  Dan Williams  <dcbw@redhat.com>
8448
8449         * src/NetworkManagerPolicy.c
8450                 - (nm_policy_device_change_check): re-enable the wireless device change
8451                         checking code; insted of checking for SSIDs, check for the same
8452                         connection instead
8453
8454 2007-09-20  Dan Williams  <dcbw@redhat.com>
8455
8456         * src/nm-device-802-11-wireless.c
8457                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8458                         composite link state when determining when to start the disconnection
8459                         timer; that link state is already based on the supplicant interface's
8460                         status which is exactly what's already being examined, plus the link
8461                         state is a conglomeration of various things that we don't want here
8462
8463 2007-09-20  Dan Williams  <dcbw@redhat.com>
8464
8465         * libnm-glib/nm-access-point.c
8466                 - (handle_property_changed): strength is a UCHAR
8467
8468 2007-09-20  Dan Williams  <dcbw@redhat.com>
8469
8470         * src/supplicant-manager/nm-supplicant-config.c
8471                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8472                         string list keywords too since that's what wpa_supplicant wants
8473
8474 2007-09-20  Dan Williams  <dcbw@redhat.com>
8475
8476         * libnm-util/nm-setting.c
8477                 - (convert_strv_to_slist): dupe the values in the list because since
8478                         the list is a boxed value, it'll get destroyed when it's container
8479                         (like a hash table or whatever) gets destroyed
8480
8481 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8482
8483         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8484         GSList.
8485
8486         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8487
8488         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8489         just use (g_object_set_data_full).
8490
8491         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8492         that NMSettingVPN->routes is a GSList, convert it to char **.
8493         (nm_vpn_connection_ip4_config_get): Free routes when done.
8494         (nm_vpn_connection_activate): Ditto.
8495
8496         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8497         (real_act_stage2_config): Use defined setting names.
8498
8499 2007-09-20  Dan Williams  <dcbw@redhat.com>
8500
8501         * src/nm-device-802-11-wireless.c
8502           src/nm-manager.c
8503           src/nm-manager.h
8504                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8505                         so that the device can be deactivated if secrets are wrong
8506
8507 2007-09-20  Dan Williams  <dcbw@redhat.com>
8508
8509         * introspection/nm-settings-connection.xml
8510           libnm-glib/nm-settings.c
8511           libnm-glib/nm-settings.h
8512                 - Make GetSecrets asynchronous on the server side
8513
8514 2007-09-20  Dan Williams  <dcbw@redhat.com>
8515
8516         * src/nm-manager.h
8517           src/nm-device.c
8518                 - (nm_device_activate): actually check if a given connection
8519                         exists before assuming it doesn't
8520
8521 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8522
8523         * libnm-util/nm-connection.c (register_default_creators): Use defined
8524         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8525
8526         * libnm-util/nm-setting.c: Define property name strings, use them.
8527         Implement NMSettingVPN and NMSettingVPNProperties settings.
8528         Implement NM_S_TYPE_GVALUE_HASH.
8529         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8530         (setting_connection_verify): Rename 'devtype' property to 'type'.
8531
8532         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8533         properties.
8534
8535         * src/vpn-manager/nm-vpn-service.c: Ditto.
8536
8537         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8538
8539         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8540         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8541
8542         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8543         names. NMSettingConnection->devtype got renamed to 'type'.
8544
8545         * src/nm-device-802-3-ethernet.c (find_best_connection):
8546         (real_get_best_connection): Ditto.
8547
8548         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8549
8550         * libnm-glib/nm-vpn-manager.[ch]: Update.
8551
8552 2007-09-19  Dan Williams  <dcbw@redhat.com>
8553
8554         * src/NetworkManagerAP.c
8555           src/NetworkManagerAP.h
8556           introspection/nm-access-point.xml
8557                 - Change strength-changed signal into a properties-changed signal
8558                         for all properties, not just strength.  Export that signal over dbus
8559                         so listeners don't have to poll NM for changes.
8560                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8561                         get exported over D-Bus, so break up the logic and let other bits
8562                         decided when to export the AP
8563                 - (nm_ap_new_from_ap): remove, unused
8564
8565         * src/nm-device-802-11-wireless.c
8566                 - (merge_scanned_ap): only export APs that are actually on the device
8567                         list, not every AP created internally
8568
8569         * libnm-glib/nm-access-point.c
8570           libnm-glib/nm-access-point.h
8571                 - Cache properties internally and only hit DBus when needed.  Get
8572                         property updates from NM signals
8573
8574 2007-09-16  Dan Williams  <dcbw@redhat.com>
8575
8576         * libnm-util/nm-connection.c
8577           libnm-util/nm-connection.h
8578                 - (nm_connection_for_each_setting_value): new function; iterate over
8579                         each setting's value and call a user-provided function with details
8580                         about that value
8581
8582         * libnm-util/nm-setting.c
8583           libnm-util/nm-setting.h
8584                 - (nm_setting_enumerate_values): new function; enumerate the values
8585                         of a specific NMSetting subclass for a user-provided function with
8586                         details about that value
8587                 - Change wep_tx_keyidx to a uint32
8588                 - Create settings value tables for each setting defining their type,
8589                         key name, offset into the NMSetting subclass' structure, and whether
8590                         they are required and/or a secret
8591                 - (nm_setting_populate_from_hash): generic function to populate an
8592                         NMSetting from a GHash table, make all settings use it
8593                 - (nm_setting_hash): generic function to derive a GHashTable from
8594                         an NMSetting object, make all settings use it
8595
8596 2007-09-14  Dan Williams  <dcbw@redhat.com>
8597
8598         Remove unused stuff in libnm-util
8599
8600         * configure.in
8601           libnm-util/Makefile.am
8602           libnm-util/cipher-private.h
8603           libnm-util/cipher-wep-ascii.c
8604           libnm-util/cipher-wep-ascii.h
8605           libnm-util/cipher-wep-hex.c
8606           libnm-util/cipher-wep-hex.h
8607           libnm-util/cipher-wep-passphrase.c
8608           libnm-util/cipher-wep-passphrase.h
8609           libnm-util/cipher-wpa-psk-hex.c
8610           libnm-util/cipher-wpa-psk-hex.h
8611           libnm-util/cipher-wpa-psk-passphrase.c
8612           libnm-util/cipher-wpa-psk-passphrase.h
8613           libnm-util/cipher.c
8614           libnm-util/cipher.h
8615           libnm-util/dbus-helpers.c
8616           libnm-util/dbus-helpers.h
8617           libnm-util/gnome-keyring-md5.c
8618           libnm-util/gnome-keyring-md5.h
8619           libnm-util/sha1.c
8620           libnm-util/sha1.h
8621           src/nm-device-802-11-wireless.c
8622           test/libnm-util/Makefile.am
8623           test/libnm-util/test-ciphers.c
8624           test/libnm-util/test-dbus-helpers.c
8625           test/libnm-util/test-inputs.h
8626                 - Removed
8627
8628 2007-09-14  Dan Williams  <dcbw@redhat.com>
8629
8630         * libnm-util/dbus-method-dispatcher.c
8631           libnm-util/dbus-method-dispatcher.h
8632                 - Remove, unused
8633
8634 2007-09-14  Dan Williams  <dcbw@redhat.com>
8635
8636         Implement deferred activation support in the device class.
8637
8638         * src/nm-device-interface.c
8639           src/nm-device-interface.h
8640                 - (nm_device_interface_activate): take more arguments to support
8641                         deferred activation; callers must pass one of (connection) OR
8642                         (service_name, connection_path)
8643                 - (impl_device_activate): connection validation is punted to the device
8644                         to be able to handle deferred activation.  Yes, this means errors
8645                         don't get returned from the Activate() dbus call, and yes, that
8646                         should be fixed somehow later.
8647
8648         * src/nm-device.c
8649           src/nm-device.h
8650                 - (clear_act_request): clear additional deferred activation stuff too
8651                 - (deferred_activation_timeout_cb): new function; clean up when
8652                         deferred activation times out.
8653                 - (deferred_activation_start_cb): new function; when the connection
8654                         finally becomes available, start device activation
8655                 - (nm_device_activate): attach to the right signals of the activation
8656                         request if we need to defer activation until the connection is valid
8657
8658         * src/NetworkManagerPolicy.c
8659                 - (nm_policy_device_change_check): update for additional arguments
8660                         required for nm_device_interface_activate().  Pass NULL for these
8661                         though because this function already knows exactly which
8662                         NMConnection to use
8663
8664 2007-09-14  Dan Williams  <dcbw@redhat.com>
8665
8666         Implement deferred activation handling in the NMActRequest class.  When a
8667         client wants to activate a device but must create the NMConnection details
8668         on the fly, there likely hasn't been enough time yet for NM to receive the
8669         new connection signal and grab all the connection details.  So the
8670         activation is deferred (and bounded by a timer) for a while, and if the
8671         connection appears within the window, it is activated.
8672
8673         * src/nm-activation-request.c
8674           src/nm-activation-request.h
8675                 - (nm_act_request_class_init): two new signals to support deferred
8676                         activation, to allow the listener to handle both timeout and success
8677                 - (nm_act_request_new_deferred): new function, starts the deferred
8678                         activation timeout handler and listens to the NMManager for
8679                         new-connection signals to notice when the connection comes in
8680
8681 2007-09-14  Dan Williams  <dcbw@redhat.com>
8682
8683         * src/nm-manager.h
8684           src/nm-manager.c
8685                 - (nm_manager_get_connection_service_name,
8686                    nm_manager_get_connection_dbus_path): get details about a connection
8687                         known internally by the NMManager
8688                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8689                         because NMConnection is now a GObject subclass
8690                 - Use constant for the gobject data tag used on NMConnection objects for
8691                         storing the associated DBusGProxy
8692
8693 2007-09-14  Dan Williams  <dcbw@redhat.com>
8694
8695         * utils/Makefile.am
8696           utils/nm-utils.c
8697           utils/nm-utils.h
8698           src/supplicant-manager/Makefile.am
8699           src/dhcp-manager/Makefile.am
8700           src/backends/Makefile.am
8701           src/named-manager/Makefile.am
8702           src/ppp-manager/Makefile.am
8703           src/vpn-manager/Makefile.am
8704           test/libnm-util/Makefile.am
8705           test/test-common/Makefile.am
8706                 - Remove utils/; it was unused
8707
8708 2007-09-13  Dan Williams  <dcbw@redhat.com>
8709
8710         * libnm-glib/nm-vpn-manager.h
8711           libnm-glib/nm-vpn-manager.c
8712                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8713
8714 2007-09-13  Dan Williams  <dcbw@redhat.com>
8715
8716         * src/nm-device-802-3-ethernet.c
8717                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8718                         netlink monitor carrier signals on dispose, not bring down.  The
8719                         carrier signals should be handled over the entire lifetime of the
8720                         device anyway, not created/destroyed on up or down.
8721
8722 2007-09-13  Dan Williams  <dcbw@redhat.com>
8723
8724         * libnm-glib/nm-device.c
8725           libnm-glib/nm-device.h
8726                 - (nm_device_activate): take a connection object path rather than an
8727                         NMConnection because NMConnection isn't exported over D-Bus and
8728                         therefore it dbus-glib can't automatically get an object path from it
8729
8730 2007-09-13  Dan Williams  <dcbw@redhat.com>
8731
8732         * libnm-util/nm-setting.c
8733                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8734
8735 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8736
8737         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8738
8739 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8740
8741         * src/vpn-manager/nm-vpn-connection.[ch]: 
8742         * src/vpn-manager/nm-vpn-manager.[ch]:
8743         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8744         dbus-glib, GObjects, signals etc.
8745
8746         * libnm-glib/nm-vpn-manager.[ch]: 
8747         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8748         so much, rewrite these too.
8749
8750         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8751         the new introspection files.
8752
8753         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8754
8755         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8756         the header with the same name from libnm-utils.
8757
8758         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8759
8760         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8761
8762         * introspection/nm-vpn-plugin.xml: Implement.
8763
8764         * introspection/nm-vpn-connection.xml: Implement.
8765
8766         * introspection/nm-vpn-manager.xml: Implement.
8767
8768         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8769         the named manager argument, it can just as easily get it as the caller.
8770         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8771
8772         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8773
8774         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8775
8776         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8777         libnm-utils.
8778
8779         * libnm-util/nm-connection.c: Ditto.
8780
8781         * src/NetworkManagerMain.h: Remove, it's finally empty.
8782
8783         * configure.in: Remove utils/ from build.
8784
8785         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8786         of hard-coded strings.
8787
8788         * utils/: Move it over to libnm-util.
8789
8790         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8791
8792         * dispatcher-daemon/Makefile.am: Ditto.
8793
8794         * src/Makefile.am: Ditto.
8795
8796 2007-09-12  Dan Williams  <dcbw@redhat.com>
8797
8798         Wireless connections can be made with config data from the applet now.
8799         
8800         Yay.
8801
8802         * src/supplicant-manager/nm-supplicant-config.h
8803           src/supplicant-manager/nm-supplicant-config.c
8804                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8805                 - (nm_supplicant_config_add_setting_wireless,
8806                    nm_supplicant_config_add_setting_wireless_security): new functions;
8807                         add key/value pairs from the settings objects to the supplicant
8808                         config
8809
8810         * src/nm-device-802-11-wireless.c
8811                 - (cull_scan_list): fix check to not prune currently associated AP
8812                 - (build_supplicant_config, real_act_stage2_config): call the functions
8813                         of the NMSupplicantConfig that parse settings objects rather than
8814                         doing it manually here
8815
8816 2007-09-12  Dan Williams  <dcbw@redhat.com>
8817
8818         * src/supplicant-manager/nm-supplicant-interface.c
8819           src/supplicant-manager/nm-supplicant-marshal.list
8820                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8821                         "connection-error" signal arguments should be STRING not CHAR
8822
8823 2007-09-12  Dan Williams  <dcbw@redhat.com>
8824
8825         * src/NetworkManagerUtils.c
8826           src/NetworkManagerUtils.h
8827                 - (nm_utils_hexstr2bin): new function
8828
8829 2007-09-11  Dan Williams  <dcbw@redhat.com>
8830
8831         * src/nm-manager.c
8832                 - (connection_get_settings_cb): emit connection-added signal
8833                 - (connection_removed_cb): uncomment bits for system settings service,
8834                         send connection-removed when appropriate
8835                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8836                         the stack by trying to g_object_set_data() on something that's
8837                         not a GObject; handle case where settings service returns
8838                         empty settings hash table
8839
8840 2007-09-11  Dan Williams  <dcbw@redhat.com>
8841
8842         * src/NetworkManagerPolicy.c
8843                 - (connection_added, connection_removed): trigger device change checks
8844                         on connection changes
8845
8846 2007-09-11  Dan Williams  <dcbw@redhat.com>
8847
8848         * src/nm-activation-request.c
8849                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8850
8851 2007-09-11  Dan Williams  <dcbw@redhat.com>
8852
8853         * src/nm-device-802-11-wireless.c
8854                 - (real_connection_secrets_updated): fix erroneous check
8855
8856 2007-09-11  Dan Williams  <dcbw@redhat.com>
8857
8858         * introspection/nm-device.xml
8859           libnm-glib/nm-device.c
8860           libnm-glib/nm-device.c
8861                 - Fix Activate call argument borkage; Activate takes 3 arguments
8862
8863 2007-09-11  Dan Williams  <dcbw@redhat.com>
8864
8865         * libnm-glib/nm-access-point.c
8866           libnm-glib/nm-access-point.c
8867                 - (nm_access_point_get_frequency): now returns guint32 to match
8868                         property change on 2007-09-10
8869
8870 2007-09-11  Dan Williams  <dcbw@redhat.com>
8871
8872         * src/nm-device-802-11-wireless.c
8873                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8874                         somewhere defines 'index' and I missed this one when I fixed the
8875                         shadow declaration errors earlier
8876
8877 2007-09-11  Dan Williams  <dcbw@redhat.com>
8878
8879         * libnm-util/nm-connection.c
8880                 - (nm_connection_update_secrets, need_secrets_check): move
8881                         802-11-wireless-security need_secrets checks to the setting object
8882                         itself, where it belongs
8883
8884         * libnm-util/nm-setting.c
8885           libnm-util/nm-setting.h
8886                 - (nm_setting_need_secrets): new function
8887                 - (setting_wireless_security_verify,
8888                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8889                 - (setting_wireless_security_need_secrets): mostly copy code over
8890                         from nm-connection.c
8891
8892 2007-09-11  Dan Williams  <dcbw@redhat.com>
8893
8894         * libnm-util/nm-setting.c
8895           libnm-util/nm-setting.h
8896                 - (nm_setting_update_secrets): new function; add a virtual function that
8897                         subclasses can implement to update their secrets
8898                 - (setting_wireless_security_update_secrets): implement that function
8899                         for the 802-11-wireless-security subclass
8900
8901         * libnm-util/nm-connection.c
8902           libnm-util/nm-connection.h
8903                 - (nm_connection_update_secrets): update secrets for a Setting and
8904                         emit a signal on success
8905
8906         * src/nm-manager.c
8907           src/nm-manager.h
8908           src/nm-marshal.list
8909                 - (connection_get_settings_cb): enable system settings bits
8910                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8911                         to request secrets from the settings dbus service and to
8912                         push those secrets to the NMConnection itself
8913
8914         * src/nm-activation-request.c
8915           src/nm-activation-request.h
8916                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8917                         currently being activated, and proxy that signal to other listeners.
8918                         Goes through the activation request because the activation request
8919                         is the thing that manages the lifetime of the NMConnection that's
8920                         being activated.
8921
8922         * src/nm-device-802-11-wireless.c
8923                 - (real_connection_secrets_updated): implement the connection secrets
8924                         updated notification and restart activation when secrets are
8925                         received
8926                 - (real_act_stage2_config): request secrets from the settings dbus
8927                         service if secrets are needed
8928
8929         * src/nm-device.c
8930           src/nm-device.h
8931                 - (clear_act_request, nm_device_activation_cancel,
8932                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8933                         where the activation request is cleared
8934                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8935                         updated secrets signal of activation request and add a function
8936                         that subclasses can override to handle it easily
8937
8938 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8939
8940         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8941         removal of NetworkManagerAPList.
8942
8943 2007-09-10  Dan Williams  <dcbw@redhat.com>
8944
8945         * src/NetworkManagerAP.c
8946           src/NetworkManagerAP.h
8947           introspection/nm-access-point.xml
8948                 - Change 'freq' property to a guint32 instead of a double since we
8949                         weren't using the floating point bits anyway
8950
8951 2007-09-10  Dan Williams  <dcbw@redhat.com>
8952
8953         * NetworkManagerAP.c
8954           NetworkManagerAP.h
8955           NetworkManagerPolicy.c
8956           NetworkManagerSystem.c
8957           NetworkManagerUtils.c
8958           NetworkManagerUtils.h
8959           nm-device-802-11-wireless.c
8960           nm-device-802-3-ethernet.c
8961           nm-hal-manager.c
8962           nm-manager.c
8963           vpn-manager/nm-dbus-vpn.c
8964                 - Warning fixes; casts and removal of unused variables
8965
8966 2007-09-10  Dan Williams  <dcbw@redhat.com>
8967
8968         * include/NetworkManager.h
8969                 - Kill NMNetworkType; AP types don't matter any more
8970
8971         * src/NetworkManagerAPList.c
8972           src/NetworkManagerAPList.h
8973           src/Makefile.am
8974                 - Kill; NMAccessPointList has outlived it's usefulness
8975
8976         * src/NetworkManagerAP.c
8977           src/NetworkManagerAP.h
8978                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8979                         functions; check if an NMConnection object is compatible with the
8980                         settings of this AP
8981                 - (freq_to_channel, channel_to_freq): utility functions for
8982                         channel <-> frequency conversion
8983
8984         * src/nm-device.c
8985           src/nm-device.h
8986                 - (nm_device_get_best_connection): pass the specific object around
8987                          (which might be the object path of a specific AP to connect to).
8988                          The get_best_connection() call should populate this on return
8989                          if needed (wireless does).
8990
8991         * src/nm-device-802-3-ethernet.c
8992                 - (real_get_best_connection): handle specific_object argument
8993
8994         * src/NetworkManager.c
8995           src/NetworkManagerMain.h
8996                 - Remove unused includes
8997
8998         * src/nm-device-802-11-wireless.c
8999           src/nm-device-802-11-wireless.h
9000                 - Convert the ap_list into a GSList from an NMAccessPointList
9001                 - No need for caching the 'activation_ap' since this is now determined
9002                         from the specific_object of the activation request, which is
9003                         populated from the get_best_connection() call or from a user request
9004                 - (nm_device_802_11_wireless_update_bssid): fix warning
9005                 - (get_wireless_capabilities): fix error message format arguments
9006                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9007                 - (find_best_connection, real_get_best_connection): implement
9008                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9009                         move here from NetworkManagerAPList
9010                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9011                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9012                         already verified earlier
9013                 - (real_act_stage2_config): use nm_connection_need_secrets()
9014
9015         * src/NetworkManagerPolicy.c
9016                 - (nm_policy_auto_get_best_device): handle specific objects
9017                 - (create_connection): remove; automatic connection creation functionality
9018                         is handled by the Connection objects
9019                 - (nm_policy_device_change_check): handle specific_object
9020
9021         * libnm-util/nm-connection.c
9022                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9023
9024 2007-09-10  Dan Williams  <dcbw@redhat.com>
9025
9026         * src/nm-manager.c
9027                 - (query_connections): fix uninitialized variable problem that caused
9028                         segfault
9029                 - (nm_manager_add_device): take devices down on startup so that we can
9030                         be assured that nm_device_is_up() won't short-circuit the init
9031                         process.  Hack until the is_up check gets split into two pieces
9032                         that aren't behaviorally confusing.
9033
9034 2007-09-09  Dan Williams  <dcbw@redhat.com>
9035
9036         * introspection/nm-device.xml
9037                 - The 'Activate' method now takes 3 arguments, a service name for the
9038                 settings service (user or system), the object path of the connection
9039                 to activate, and the specific object to activate, if any
9040
9041         * src/nm-device-interface.c
9042                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9043                 Add error bits
9044                 - (impl_device_activate): adapt to new Activate arguments; validate
9045                 the service name and get the Connection object from the NMManager
9046                 before starting to activate the device with the specified connection
9047
9048         * src/nm-device-802-3-ethernet.c
9049                 - (real_get_best_connection): find the best connection, or create a
9050                 default one if no existing connections can be used
9051
9052         * src/NetworkManagerPolicy.c
9053                 - (nm_policy_auto_get_best_device): Get the device's best connection
9054                 and only pick the device if it has one
9055                 - (nm_policy_device_change_check): disable wireless bits for now until
9056                 wireless get_best_connection() can be implemented (replacing "best_ap");
9057                 don't create a default connection here as the device subclass will do
9058                 that if needed
9059
9060         * src/nm-manager.h
9061           src/nm-manager.c
9062                 - (nm_manager_get): make NMManager a singleton and expose the getter
9063                 internally
9064                 - Rework internal NMManager connection handling to use the same
9065                 routines for both the system and user settings services.  Most calls
9066                 take a new NMConnectionType argument specifying either system or user
9067                 connections
9068                 - (nm_manager_get_connection_by_object_path): new function; get a
9069                 connection keyed on its object path
9070
9071         * src/NetworkManager.c
9072                 - (main): use nm_manager_get()
9073
9074 2007-09-09  Dan Williams  <dcbw@redhat.com>
9075
9076         * src/nm-device.h
9077           src/nm-device.c
9078                 - (nm_device_get_best_connection): new function; get best connection
9079                         for the device at that time
9080
9081 2007-09-09  Dan Williams  <dcbw@redhat.com>
9082
9083         * src/nm-device-interface.h
9084                 - Add NMDeviceInterfaceError with an UnknownConnection error
9085
9086 2007-09-09  Dan Williams  <dcbw@redhat.com>
9087
9088         Stupid mistake on my part; object path and interface for settings service
9089         and connection objects can be the same, only the service name must be
9090         different for the system and user settings services.
9091
9092         * include/NetworkManager.h
9093           src/nm-manager.c
9094           introspection/nm-settings-connection.xml
9095           introspection/nm-settings.xml
9096           libnm-glib/nm-settings.c
9097                 - (nm_connection_settings_init, query_user_connections,
9098                    new_connection_cb): Unify NetworkManagerSettings and Connection
9099                    interface name and object path
9100
9101 2007-09-06  Dan Williams  <dcbw@redhat.com>
9102
9103         * libnm-glib/nm-object.c
9104                 - (nm_object_get_string_property, nm_object_get_object_path_property,
9105                    nm_object_get_int_property, nm_object_get_uint_property,
9106                    nm_object_get_boolean_property, nm_object_get_byte_property,
9107                    nm_object_get_double_property, nm_object_get_byte_array_property):
9108                         clear GValues after copying their contents, fixes memory leaks
9109                         after every property access because dbus-glib copies the values
9110                         from the DBusMessage into the GValue already.
9111
9112 2007-09-06  Dan Williams  <dcbw@redhat.com>
9113
9114         * introspection/nm-access-point.xml
9115                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9116                         them to be.  There's some magic property name parsing going on in
9117                         dbus-glib that breaks up property names based on studly-caps and
9118                         puts - between words.
9119
9120         * libnm-glib/nm-access-point.c
9121                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9122                         Fix property names
9123
9124 2007-09-06  Dan Williams  <dcbw@redhat.com>
9125
9126         * src/nm-manager.c
9127                 - (nm_manager_user_connections_destroy): clear the user connections hash
9128                         table, don't destroy it
9129                 - (finalize): only destroy the hash table on NMManager finalization
9130
9131 2007-09-02  Dan Williams  <dcbw@redhat.com>
9132
9133         * include/NetworkManager.h
9134           libnm-glib/nm-settings.c
9135                 - defines for the user settings daemon D-Bus bits
9136
9137         * src/NetworkManager.c
9138                 - Remove stuff that referred to the old NetworkManagerInfo service
9139
9140         * src/vpn-manager/nm-dbus-vpn.h
9141                 - Move old NMI defines to the only place they are used still
9142
9143         * libnm-util/nm-connection.c
9144           libnm-util/nm-connection.h
9145           src/nm-activation-request.c
9146                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9147
9148         * src/nm-manager.c
9149           src/nm-manager.h
9150                 - Get connections and their settings from the user settings daemon
9151                         at the appropriate times
9152
9153 2007-09-02  Dan Williams  <dcbw@redhat.com>
9154
9155         * libnm-util/nm-setting.c
9156                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9157                 - (setting_wireless_hash): set the right value on the item
9158
9159 2007-09-02  Dan Williams  <dcbw@redhat.com>
9160
9161         * test/Makefile.am
9162           test/nminfotest.c
9163                 - Remove, no longer useful
9164
9165 2007-08-30  Dan Williams  <dcbw@redhat.com>
9166
9167         * src/Makefile.am
9168           src/NetworkManagerDbus.c
9169           src/NetworkManagerDbus.h
9170           src/vpn-manager/nm-dbus-vpn.c
9171                 - Remove, no longer necessary.  Move last bits to the only place its
9172                 used, in nm-dbus-vpn.c
9173
9174         * src/NetworkManagerAPList.c
9175           src/nm-device.c
9176           src/NetworkManager.c
9177           src/nm-device-802-11-wireless.c
9178           src/vpn-manager/nm-vpn-manager.c
9179           src/vpn-manager/nm-vpn-service.c
9180           src/NetworkManagerPolicy.c
9181           src/nm-manager.c
9182                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9183                 that was message_is_error()
9184
9185 2007-08-30  Dan Williams  <dcbw@redhat.com>
9186
9187         * libnm-util/sha1.c
9188                 - Include config.h to get defines for endiannes (gnome.org #420216)
9189
9190 2007-08-30  Dan Williams  <dcbw@redhat.com>
9191
9192         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9193
9194         * src/ppp-manager/Makefile.am
9195                 - use -fPIC (gnome.org #471825)
9196
9197 2007-08-29  Dan Williams  <dcbw@redhat.com>
9198
9199         * include/NetworkManager.h
9200                 - Keep NMConnection object path in sync
9201
9202         * libnm-glib/nm-settings.c
9203           libnm-glib/nm-settings.h
9204                 - Break D-Bus object registration out of the init function, because
9205                 every object that's exported over D-Bus needs to use the _same_
9206                 DBusConnection.  Otherwise, each object would get a different object
9207                 path tree and wouldn't be callable.
9208
9209 2007-08-29  Dan Williams  <dcbw@redhat.com>
9210
9211         * libnm-util/nm-setting.h
9212           libnm-util/nm-setting.c
9213           libnm-util/nm-connection.c
9214           src/NetworkManagerPolicy.c
9215                 - 'info' settings object should be 'connection' says the spec
9216                 at NetworkManagerConfigurationSpecification
9217
9218 2007-08-29  Dan Williams  <dcbw@redhat.com>
9219
9220         * libnm-glib/nm-settings.c
9221           libnm-glib/nm-settings.h
9222                 - make the dbus path a property of the object, and autogenerate it.
9223                 It can't be composed of the 'id' field becuase that's not available
9224                 yet during the GObject creation in nm_connection_settings_init()
9225
9226 2007-08-29  Dan Williams  <dcbw@redhat.com>
9227
9228         * introspection/nm-settings-connection.xml
9229           introspection/nm-settings.xml
9230                 - Service name -> NetworkManagerUserSettings because two services
9231                 can't share part of the same path.  I'm not really sure how we'll use
9232                 the same code with the system-settings daemon...
9233
9234 2007-08-28  Dan Williams  <dcbw@redhat.com>
9235
9236         * src/nm-device-interface.c
9237           src/nm-device-interface.h
9238                 - Kill one more bit of NMData
9239
9240 2007-08-28  Dan Williams  <dcbw@redhat.com>
9241
9242         * src/NetworkManagerSystem.h
9243           src/nm-device.c
9244           src/nm-device.h
9245           src/nm-hal-manager.c
9246           src/NetworkManager.c
9247           src/nm-device-802-11-wireless.c
9248           src/nm-hal-manager.h
9249           src/nm-device-802-3-ethernet.c
9250           src/vpn-manager/nm-vpn-service.h
9251           src/vpn-manager/nm-vpn-manager.c
9252           src/vpn-manager/nm-vpn-manager.h
9253           src/vpn-manager/nm-vpn-service.c
9254           src/nm-device-802-11-wireless.h
9255           src/NetworkManagerMain.h
9256           src/nm-device-802-3-ethernet.h
9257           src/backends/NetworkManagerGentoo.c
9258           src/backends/NetworkManagerPaldo.c
9259           src/backends/NetworkManagerFrugalware.c
9260           src/backends/NetworkManagerRedHat.c
9261           src/backends/NetworkManagerSlackware.c
9262           src/backends/NetworkManagerGeneric.c
9263           src/backends/NetworkManagerArch.c
9264           src/backends/NetworkManagerSuSE.c
9265           src/backends/NetworkManagerGeneric.h
9266           src/backends/NetworkManagerDebian.c
9267                 - Kill NMData
9268
9269 2007-08-28  Dan Williams  <dcbw@redhat.com>
9270
9271         * src/NetworkManagerMain.h
9272           src/nm-device-802-11-wireless.c
9273           src/NetworkManager.c
9274                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9275                 for now we should set the 'invalid' property on individual APs, and when
9276                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9277                 that ESS
9278
9279 2007-08-28  Dan Williams  <dcbw@redhat.com>
9280
9281         * src/NetworkManagerAP.c
9282           src/NetworkManagerAP.h
9283                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9284                         'autoconnect' property instead
9285
9286         * src/NetworkManager.c
9287           src/NetworkManagerMain.h
9288           src/NetworkManagerPolicy.c
9289           src/NetworkManagerPolicy.h
9290                 - Remove the 'allowed_ap_list', which should be replaced by 
9291                         NMConnection/NMSettings instead, since _those_ are the allowed
9292                         things that NM can connect to
9293
9294         * src/nm-device-802-11-wireless.c
9295                 - Remove both allowed_ap_list usage and 'fallback' checking
9296
9297 2007-08-28  Dan Williams  <dcbw@redhat.com>
9298
9299         * src/nm-device.c
9300           src/named-manager/nm-named-manager.c
9301           src/named-manager/nm-named-manager.h
9302           src/NetworkManager.c
9303           src/vpn-manager/nm-vpn-manager.c
9304           src/NetworkManagerMain.h
9305           src/NetworkManagerSystem.c
9306                 - Remove the named-manager object from NMData structure in preparation
9307                 for NMData's timely death.  Make the NMNamedManager the singleton that
9308                 it really is
9309
9310 2007-08-28  Dan Williams  <dcbw@redhat.com>
9311
9312         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9313         each AP's capabilities, and by NMConnection/NMSettings objects for user
9314         defined connections.
9315
9316         * include/NetworkManager.h
9317                 - Redefine 802.11 security properties.  There are now device capabilities
9318                         and AP flags and AP security flags.  It was way to unclear before.
9319
9320         * src/Makefile.am
9321           src/nm-ap-security-leap.h
9322           src/nm-ap-security-leap.c
9323           src/nm-ap-security-wpa-eap.c
9324           src/nm-ap-security-wpa-eap.h
9325           src/nm-ap-security-private.h
9326           src/nm-ap-security-wpa-psk.c
9327           src/nm-ap-security-wpa-psk.h
9328           src/nm-ap-security-wep.c
9329           src/nm-ap-security-wep.h
9330           src/nm-ap-security.c
9331           src/nm-ap-security.h
9332                 - Removed, to be replaced with NMConnection/NMSettings objects
9333
9334         * src/nm-dbus-nmi.c
9335           src/nm-dbus-nmi.h
9336                 - Removed, to be replaced by code that talks to the new info daemon
9337                         interface and gets NMConnection/NMSettings objects
9338
9339         * src/backends/NetworkManagerSuSE.c
9340                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9341                         info-daemon that does the same thing but talks the new info-daemon
9342                         D-Bus interface
9343
9344         * src/NetworkManagerAP.h
9345           src/NetworkManagerAP.c
9346           src/NetworkManagerAPList.c
9347           libnm-glib/libnm-glib-test.c
9348                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9349                         WPA/RSN
9350
9351         * libnm-glib/nm-access-point.c
9352           libnm-glib/nm-access-point.h
9353           introspection/nm-access-point.xml
9354           test/nm-tool.c
9355                 - Adjust to new flags for AP security
9356
9357         * utils/nm-utils.c
9358           utils/nm-utils.h
9359           src/vpn-manager/nm-dbus-vpn.c
9360                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9361                         stuff which is the only place it's used
9362
9363         * src/nm-device-interface.c
9364           src/nm-device-interface.h
9365           introspection/nm-device.xml
9366           src/nm-activation-request.c
9367           src/nm-activation-request.h
9368           src/nm-device.c
9369                 - Add a new 'specific_object' argument that hints to NM what actual
9370                         AP or other device-specific thing the connection should apply to.
9371                         NMConnection objects can apply to more than one actual device/AP.
9372
9373         * libnm-util/nm-connection.c
9374         * libnm-util/nm-connection.h
9375                 - Add 'have_secrets" call stubs
9376
9377         * libnm-util/cipher.h
9378                 - Move NM_AUTH_TYPE_* defines here for now
9379
9380         * src/nm-device-802-11-wireless.c
9381                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9382                         NMSettings objects
9383
9384         * src/NetworkManagerDbus.c
9385         * src/NetworkManagerPolicy.c
9386                 - Remove usage of update_allowed_networks, should be pushing data in
9387                         a different manner
9388
9389 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9390
9391         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9392         dbus-glib frees it when the call is done.
9393
9394 2007-08-26  Dan Williams  <dcbw@redhat.com>
9395
9396         * introspection/nm-device.xml
9397                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9398
9399 2007-08-26  Dan Williams  <dcbw@redhat.com>
9400
9401         * src/nm-device-802-3-ethernet.c
9402                 - (constructor): move connection of interface-connected/disconnected
9403                         signals here from real_bring_up().  Should be listening to netlink
9404                         for carrier events no matter what the initial state of the device
9405                         is.
9406
9407 2007-08-26  Dan Williams  <dcbw@redhat.com>
9408
9409         * src/nm-netlink-monitor.c
9410                 - (nm_netlink_monitor_class_init): fix marshalling types for
9411                         interface-connected/interface-disconnected
9412                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9413                         check
9414
9415 2007-08-26  Dan Williams  <dcbw@redhat.com>
9416
9417         Convert to using interface indexes as the primary method of identifying
9418         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9419         be renamed at any time.  Device object paths now refer to the device
9420         index rather than the name, and you can map those two manually if you like
9421         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9422         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9423         to use interface indexes rather than names.
9424
9425 2007-08-26  Dan Williams  <dcbw@redhat.com>
9426
9427         * src/nm-netlink-monitor.h
9428                 - Remove one last bit of wireless-event signal
9429
9430 2007-08-26  Dan Williams  <dcbw@redhat.com>
9431
9432         * src/nm-netlink-monitor.c
9433                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9434                         don't need the 'wireless-event' signal anymore since that's all
9435                         handled by wpa_supplicant
9436
9437 2007-08-25  Dan Williams  <dcbw@redhat.com>
9438
9439         It's 2007. Remove support for drivers that don't support wireless scanning.
9440
9441         * test/nm-tool.c
9442           include/NetworkManager.h
9443           src/NetworkManagerUtils.c
9444           src/NetworkManagerPolicy.c
9445           src/nm-device-802-11-wireless.c
9446                 - Remove special handling for non-scanning devices and mark them
9447                         as unsupported/unhandled
9448
9449 2007-08-20  Dan Williams  <dcbw@redhat.com>
9450
9451         * src/nm-device-802-11-wireless.c
9452           src/nm-device-802-3-ethernet.c
9453                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9454                         because when the card is pulled or the module removed, the device
9455                         is already !IFF_UP and then device-specific cleanup (removing
9456                         the supplicant interface, periodic checks, etc) never gets done
9457
9458 2007-08-20  Dan Williams  <dcbw@redhat.com>
9459
9460         * src/nm-manager.c
9461                 - (nm_manager_remove_device): bring device down before disconnecting
9462                         signal handlers, so that the 'state' signal will get broadcast when
9463                         the device enters the DOWN state
9464                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9465                         of states that cause the NMManager to recheck its state
9466
9467 2007-08-20  Dan Williams  <dcbw@redhat.com>
9468
9469         * src/supplicant-manager/nm-supplicant-interface.c
9470                 - (interface_disconnect_done): don't try to dispose of the net proxy
9471                         when it may already have been disposed of
9472
9473 2007-08-20  Dan Williams  <dcbw@redhat.com>
9474
9475         * src/nm-device-802-11-wireless.c
9476                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9477                         the SSID isn't available; this can happen when the card is pulled
9478                         or the module unloaded, during the post-removal deactivation
9479                         paths, when the ioctl returns ENODEV
9480
9481 2007-08-20  Dan Williams  <dcbw@redhat.com>
9482
9483         * src/nm-device-802-11-wireless.c
9484                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9485                         frequency, and mode match.  Applets are now responsible for grouping
9486                         access points
9487
9488 2007-08-20  Dan Williams  <dcbw@redhat.com>
9489
9490         * src/NetworkManagerAP.c
9491         * src/NetworkManagerAP.h
9492                 - (nm_ap_print_self): new function
9493
9494         * src/NetworkManagerAPList.c
9495                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9496                         to do it all here
9497         
9498 2007-08-17  Dan Williams  <dcbw@redhat.com>
9499
9500         * src/nm-device-802-3-ethernet.c
9501                 - (real_bring_down): don't try to dispose of stuff that might not
9502                         exist
9503
9504 2007-08-17  Dan Williams  <dcbw@redhat.com>
9505
9506         * src/NetworkManagerAP.c
9507                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9508                         applet.  This ensures that the case between the seen-bssids and
9509                         the bssids reported by the driver match.
9510
9511 2007-08-17  Dan Williams  <dcbw@redhat.com>
9512
9513         * src/nm-device-802-11-wireless.c
9514                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9515                         we dispose of the interface proxy in NM
9516
9517 2007-08-16  Dan Williams  <dcbw@redhat.com>
9518
9519         * libnm-glib/nm-client.c
9520                 - (nm_client_init): create VPN connections hash table with key free
9521                         function
9522                 - (proxy_vpn_connection_added): VPN connections hash table key should
9523                         be a duplicated value, not the same memory address as the VPN
9524                         connection name.  This is because the VPN connection name could
9525                         potentially be freed and set to something else during the lifetime
9526                         of the NMVPNConnection object.
9527
9528 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9529
9530         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9531         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9532         with the file descriptors. Send a child setup function to change the pppd
9533         progress group.
9534
9535 2007-08-15  Dan Williams  <dcbw@redhat.com>
9536
9537         * src/supplicant-manager/nm-supplicant-interface.c
9538                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9539                         an interface
9540                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9541                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9542                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9543                         the interface internally
9544
9545 2007-08-15  Dan Williams  <dcbw@redhat.com>
9546
9547         * src/nm-device-802-11-wireless.c
9548                 - (real_bring_down): move most of this function into device_cleanup()
9549                         so that it can be called from elsewhere
9550                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9551                         and stuff on dispose.  These would normally get cleaned up when
9552                         the device is marked down and deactivated, but when the device is
9553                         hot-unplugged, it's already down and real_down() never gets run
9554
9555 2007-08-15  Dan Williams  <dcbw@redhat.com>
9556
9557         * src/nm-dbus-nmi.c
9558                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9559                         caused a reference leak on device for which NM requested a key
9560
9561 2007-08-15  Dan Williams  <dcbw@redhat.com>
9562
9563         * libnm-glib/nm-client.c
9564                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9565
9566 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9567
9568         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9569         nothing is using it at the moment, but it'll be all useful and stuff later on.
9570
9571         * libnm-util/nm-setting.h: Define NMSettingPPP.
9572
9573         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9574
9575         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9576
9577         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9578
9579         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9580
9581         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9582
9583 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9584
9585         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9586
9587         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9588         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9589         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9590         name and different arguments and it won't compile anymore. To fix this, we now have
9591         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9592         that is new API + compatibility API and used by the daemon. The other, 
9593         nm-manager-client.xml is only the new API without compatibility bits and is used
9594         by libnm-glib to make it compile.
9595
9596         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9597
9598         * src/nm-manager.c (impl_manager_legacy_sleep)
9599         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9600         interface functions for 0.6 branch.
9601
9602 2007-08-14  Dan Williams  <dcbw@redhat.com>
9603
9604         * src/NetworkManagerAP.c
9605                 - (nm_ap_new_from_properties): fix mistaken check of return value
9606                         from memcmp (should expect 0)
9607
9608 2007-08-14  Dan Williams  <dcbw@redhat.com>
9609
9610         (force-commit to fix wrong comment and partial commit of r2685; this
9611          commit actually applies to r2685)
9612
9613         * src/NetworkManagerUtils.c
9614                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9615                         ignores trailing nulls in the SSID to work around mismatches in
9616                         expectations between WEXT and what the info-daemon passes back.  The
9617                         info-daemon would pass back the correct length, but due to the
9618                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9619                         the device would always have an SSID + 1 depending on what versions
9620                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9621                         visible by just quitting the applet and relaunching, which caused
9622                         NM to reassociated to the same network over again when reloading
9623                         the save networks.
9624
9625         * src/NetworkManagerPolicy.c
9626           src/NetworkManagerUtils.h
9627           src/nm-device-802-11-wireless.c
9628                 - Update for new parameter to nm_utils_same_ssid()
9629
9630 2007-08-14  Dan Williams  <dcbw@redhat.com>
9631
9632         * src/NetworkManagerAP.c
9633                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9634                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9635                         setting the BSSID to all 0s.  That confused the heck out of NM,
9636                         plus it's useless and probably out-of-spec.
9637
9638 2007-08-14  Dan Williams  <dcbw@redhat.com>
9639
9640         * callouts/Makefile.am
9641           src/dhcp-manager/nm-dhcp-manager.c
9642           src/dhcp-manager/nm-dhcp-manager.h
9643           src/dhcp-manager/Makefile.am
9644                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9645
9646 2007-08-14  Dan Williams  <dcbw@redhat.com>
9647
9648         * src/dhcp-manager/nm-dhcp-manager.c
9649                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9650                         it's really needed, get rid of unused xtra_args parameter
9651
9652 2007-08-14  Dan Williams  <dcbw@redhat.com>
9653
9654         * include/NetworkManagerVPN.h
9655           src/vpn-manager/nm-dbus-vpn.c
9656           src/vpn-manager/nm-dbus-vpn.h
9657           src/vpn-manager/nm-vpn-act-request.c
9658           src/vpn-manager/nm-vpn-act-request.h
9659           src/vpn-manager/nm-vpn-service.c
9660           src/vpn-manager/nm-vpn-service.h
9661           libnm-glib/nm-vpn-connection.c
9662           libnm-glib/nm-vpn-connection.h
9663           libnm-glib/nm-client.h
9664                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9665                         NMVPNServiceState to clarify what they apply to
9666                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9667                         NMVPNActStage -> NMVPNConnectionState for the same reason
9668
9669         * libnm-glib/nm-client.c
9670                 - Constant + type renames from above
9671                 - Properly handle NameOwnerChanged/manager_running signals
9672                         for NM service; only emit when state really changes
9673                 - Use hash tables correctly so that the key (which was previously owned
9674                         by the D-Bus message) now has the same lifetime as the value, since
9675                         the key is now taken from the the NMVPNConnection itself.  This
9676                         really fixes the double-VPN names in the applet
9677
9678 2007-08-13  Dan Williams  <dcbw@redhat.com>
9679
9680         Patch from Michael Biebl <biebl@debian.org>
9681
9682         * po/POTFILES.in
9683           po/POTFILES.skip
9684                 - Update for vpn-properties move
9685
9686 2007-08-13  Dan Williams  <dcbw@redhat.com>
9687
9688         * libnm-glib/nm-client.c
9689                 - Convert internal VPN connection tracking from a list to a hash table
9690                         to easily avoid duplicates
9691                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9692                         must be freed by the caller, like nm_client_get_devices()
9693                 - (nm_client_remove_vpn_connection): don't let the removal signal
9694                         leak through for NMVPNConnection objects that aren't actually
9695                         tracked.
9696                 - (manager_running): throw away VPN connection list when NM goes away,
9697                         like with the device list
9698
9699 2007-08-13  Dan Williams  <dcbw@redhat.com>
9700
9701         * src/dhcp-manager/nm-dhcp-manager.c
9702                 - Stop any dhclient instance that might be already running for a
9703                         particular interface before starting an NM spawned dhclient.  Fixes
9704                         dhclient processes left over if NM crashes, stuff like that.
9705
9706 2007-08-13  Dan Williams  <dcbw@redhat.com>
9707
9708         * src/NetworkManagerAP.c
9709                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9710                         when the AP wasn't broadcasting it's SSID
9711
9712 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9713
9714         * include/NetworkManager.h: added DBus path for connection settings.
9715
9716         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9717         nm_connection_settings_signal_updated,
9718         nm_connection_settings_signal_removed): new functions to wrap the
9719         objects' signals.
9720         (nm_connection_settings_init): register GObject with DBus.
9721         (nm_connection_settings_get_dbus_object_path): new function.
9722
9723         * libnm-glib/Makefile.am: added libnmutil to link flags.
9724
9725 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9726
9727         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9728
9729         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9730         libnm_glib directory got merged with libnm-glib/.
9731
9732         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9733
9734         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9735         Rename the library from libnm-glib to libnm_glib to maintain the library API
9736         compatibility with 0.6 branch.
9737
9738         * Makefile.am: Remove gnome/ SUBDIR.
9739
9740         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9741
9742         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9743
9744         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9745
9746         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9747         anymore.
9748         Remove checks for wpa_supplicant binary, it's used over dbus.
9749         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9750
9751         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9752         Link the binaries with libnm_glib.la.
9753
9754 2007-08-12  Dan Williams  <dcbw@redhat.com>
9755
9756         * src/NetworkManagerPolicy.c
9757                 - (nm_policy_device_change_check): fix policy to deactivate old device
9758                         before activating new one, at least until the multiple active
9759                         device support lands
9760
9761 2007-08-12  Dan Williams  <dcbw@redhat.com>
9762
9763         * src/NetworkManagerPolicy.c
9764                 - (nm_policy_new): hook up to connection-added / connection-removed
9765                         signals instead of connections-changed
9766
9767 2007-08-12  Dan Williams  <dcbw@redhat.com>
9768
9769         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9770         Robert Frank <rfrank@redhat.com>
9771
9772         * src/dhcp-manager/nm-dhcp-manager.c
9773           src/dhcp-manager/nm-dhcp-manager.c
9774           src/nm-device.c
9775                 - Spawn and communicate with dhclient directly, through means of a
9776                 custom dhclient callout script.  Process callout D-Bus signals
9777                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9778                 sent via gobject signals rather than being driven by the dhcp manager
9779                 directly.
9780
9781 2007-08-12  Dan Williams  <dcbw@redhat.com>
9782
9783         * callouts/nm-dhcp-client-action.c
9784                 - (build_message): ignore non-DHCP-related environment variables
9785
9786 2007-08-12  Dan Williams  <dcbw@redhat.com>
9787
9788         * Makefile.am
9789           configure.in
9790           callouts/Makefile.am
9791           callouts/nm-dhcp-client-action.c
9792           callouts/nm-dhcp-client.conf
9793                 - Add dhclient-executed callout that takes the place of dhclient-script
9794                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9795                 NM then listens for
9796
9797 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9798
9799         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9800
9801         * libnm-glib/nm-client.h:
9802         * libnm-glib/nm-object.h:
9803         * libnm-glib/nm-vpn-connection.h:
9804         * libnm-glib/nm-settings.h:
9805         * libnm-glib/nm-device.h:
9806         * libnm-glib/nm-ip4-config.h:
9807         * libnm-glib/nm-access-point.h:
9808         * libnm-glib/nm-device-802-3-ethernet.h:
9809         * libnm-util/nm-setting.h: 
9810         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9811
9812         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9813
9814         * libnm-glib/nm-access-point.c: Strength has type char.
9815
9816         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9817         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9818
9819         * introspection/nm-access-point.xml: Strength property is char, not int.
9820
9821         * src/NetworkManagerAP.c (set_property): Set strength from char.
9822         (get_property): Handle hidden APs (with empty SSID).
9823         Get strength value from char.
9824         (nm_ap_class_init): Strength property has char type.
9825
9826 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9827
9828         * introspection/Makefile.am:
9829         * introspection/nm-settings.xml:
9830         * introspection/nm-settings-connection.xml: added Settings interfaces.
9831
9832         * libnm-glib/nm-settings.[ch]:
9833         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9834         containing the DBus implementation.
9835
9836 2007-07-26  Dan Williams  <dcbw@redhat.com>
9837
9838         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9839
9840         * src/NetworkManagerSystem.c
9841                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9842                         same subnet (#437396)
9843
9844 2007-07-26  Dan Williams  <dcbw@redhat.com>
9845
9846         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9847
9848         * gnome/vpn-properties/nm-vpn-properties.c
9849                 - Fix translatable strings (#445865)
9850
9851 2007-07-26  Dan Williams  <dcbw@redhat.com>
9852
9853         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9854
9855         * configure.in
9856                 - Remove useless junk (#412530)
9857
9858 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9859
9860         Patch from Robert Buchholz <rbu@gentoo.org>:
9861
9862         * configure.in:
9863         * Makefile.am:
9864         * introspection/Makefile.am:
9865         Make make distcheck work again.
9866
9867 2007-06-27  Dan Williams  <dcbw@redhat.com>
9868
9869         * Make SSIDs GByteArrays everywhere
9870         * Rename "essid" -> "ssid" everywhere that's appropriate
9871         * Refcount activation_ap member of the 802.11 wireless device class
9872
9873 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9874
9875         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9876
9877 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9878
9879         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9880         that we got a new AP when we just update existing AP properties.
9881
9882 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9883
9884         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9885
9886         * nm-utils.[ch]: Remove.
9887
9888         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9889         objects for easy property access and dbus connection handling.
9890
9891         * libnm-glib/nm-client.c: Derive from NMObject.
9892
9893         * libnm-glib/nm-device.c: Ditto.
9894
9895         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9896
9897         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9898
9899         * libnm-glib/nm-ip4-config.c: Ditto.
9900
9901         * libnm-glib/nm-access-point.c: Ditto.
9902
9903         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9904         comparision. Currently used by the device activation code to determine if the new
9905         activation is the same as the old one.
9906
9907         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9908         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9909         able to ask password for the AP.
9910
9911         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9912         up if the device is already connected, tear down it's connection (if it isn't the
9913         same as new one) and start the activation.
9914
9915         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9916
9917         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9918         the issue where all APs are always listed as encrypted.
9919
9920         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9921         their own registered paths.
9922
9923         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9924         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9925
9926 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9927
9928         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9929         (0 & 0 == 0, doh)
9930
9931         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9932         because the handling code will cause the next state change and signal listeners
9933         get the signals in wrong order.
9934
9935         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9936         correctly in case of pending activation.
9937
9938         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9939         Convert the essid byte array to string correctly, including the terminating NULL.
9940
9941         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9942         mode with correct types.
9943
9944         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9945         constructed info to dbus call instead of the activation request.
9946
9947 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9948
9949         Patch from Christian Persch <chpe@gnome.org>
9950
9951         * libnm-glib/Makefile.am:
9952         * dispatcher-daemon/Makefile.am:
9953         Use the correct variables, the correct paths, and correct ordering. (446315)
9954
9955 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9956
9957         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9958         argument. The activation request is easy to retrieve.
9959
9960         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9961         just to be a convenient location for devices to store random stuff.
9962
9963 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9964
9965         Patch from Alex Smith <alex@alex-smith.me.uk>
9966
9967         * src/backends/NetworkManagerFrugalware.c:
9968         Update the FrugalWare backend to fix a few segfaults. (#392642)
9969
9970 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9971
9972         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9973
9974         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9975         setting.
9976         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9977
9978 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9979
9980         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9981         automagically.
9982         Implement NMSettingIP4Config.
9983         Finish NMSettingWired by adding all known members.
9984         (setting_wired_verify): Implement.
9985         Finish NMSettingWireless by adding all known members.
9986         (setting_wireless_verify): Implement.
9987
9988         * libnm-util/nm-connection.c: Register "ipv4" setting.
9989         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9990         dump function, we can introspect the GHashTable which is used for sending connections
9991         over dbus.
9992
9993         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9994         Take GByteArray for essid, it's really not a string.
9995
9996         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9997         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9998         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9999         means overriding the values we got from DHCP.
10000         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10001         (nm_device_deactivate_quickly): Ditto.
10002
10003         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10004         for debugging.
10005
10006 2007-05-07  Tambet Ingo  <tambet@ximian.com>
10007
10008         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10009         NMConnection.
10010
10011         * libnm-glib/nm-device-802-11-wireless.c:
10012         (nm_device_802_3_ethernet_activate): Remove.
10013
10014         * libnm-glib/nm-device-802-3-ethernet.c
10015         (nm_device_802_3_ethernet_activate): Remove.
10016
10017         * libnm-glib/nm-device.c (nm_device_activate): Implement.
10018
10019         * src/nm-device-802-3-ethernet.c: Implement the new activation using
10020         NMConnection.
10021
10022         * src/nm-device-802-11-wireless.c: Store an activation AP once the
10023         activation has started.
10024         Implement the new activation using NMConnection.
10025
10026         * src/nm-activation-request.c: Store a generic connection object instead
10027         of a wireless-specific AP.
10028
10029         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10030         on device type, create a device specific connection object suitable for
10031         device activation.
10032
10033         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10034         specific check to validate the connection and on success start the
10035         activation.
10036
10037         * src/nm-device-interface.h: Add a activate virtual function to the
10038         interface definition.
10039
10040         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10041         (impl_device_activate): Implement.
10042
10043         * introspection/nm-device.xml: Add a generic device activation interface
10044         that accepts an abstract NMConnection structure that has device-specific
10045         information in it.
10046
10047         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10048         activation interface.
10049
10050         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10051         activation interface.
10052
10053         * libnm-util/nm-connection.c: 
10054         * libnm-util/nm-connection.h: 
10055         * libnm-util/nm-setting.c:
10056         * libnm-util/nm-setting.h: Add.
10057
10058         * libnm-util/Makefile.am: Build the added files.
10059
10060         * src/nm-dbus-manager.c
10061         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10062         DbusConnection argument from 'name-owner-changed' signal. The manager
10063         is already passed as a first argument to the signal and the connection
10064         is easy enough to get from it.
10065
10066         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10067         Update the signature of the function.
10068
10069         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10070         Ditto.
10071
10072         * src/NetworkManager.c: Ditto.
10073
10074         * src/named-manager/nm-named-manager.c
10075         (nm_named_manager_name_owner_changed): Ditto.
10076
10077         * src/supplicant-manager/nm-supplicant-manager.c
10078         (nm_supplicant_manager_name_owner_changed): Ditto.
10079
10080         * src/nm-hal-manager.c (name_owner_changed): Ditto.
10081
10082         * src/dhcp-manager/nm-dhcp-manager.c
10083         (nm_dhcp_manager_name_owner_changed): Ditto.
10084
10085         * src/nm-hal-manager.c: Add a list of device detectors and creators
10086         to make it easier to add new devices. Each device type has it's own
10087         entry in the table so adding new device types is only a matter of
10088         implementing a couple of functions, one for device detection and the
10089         other for device creation.
10090
10091 2007-04-25  Dan Williams  <dcbw@redhat.com>
10092
10093         * initscript/RedHat/NetworkManager.in: remove trailing backslash
10094                 (gnome.org #432401)
10095
10096 2007-03-30  Dan Williams  <dcbw@redhat.com>
10097
10098         * src/NetworkManagerSystem.c
10099                 - (nm_system_device_set_ip4_route): clean up and fix argument
10100                         to nm_dev_sock_open()
10101
10102 2007-03-28  Tambet Ingo  <tambet@ximian.com>
10103
10104         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10105         data to correct types instead of always using string.
10106
10107         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10108         _not_ have NM_802_11_CAP_PROTO_NONE.
10109         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10110         is not set.
10111
10112 2007-03-27  Tambet Ingo  <tambet@ximian.com>
10113
10114         * libnm-glib/Makefile.am: Fix the build issue.
10115
10116 2007-03-26  Tambet Ingo  <tambet@ximian.com>
10117
10118         * libnm-glib/nm-vpn-connection.h: 
10119         * libnm-glib/nm-vpn-connection.c: Implement.
10120
10121         * libnm-glib/nm-client.c: Add VPN support.
10122
10123         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10124         handler for VPN.
10125
10126         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10127         on DBUS again.
10128
10129 2007-03-26  Dan Williams  <dcbw@redhat.com>
10130
10131         * src/NetworkManagerAPList.c
10132         * src/nm-device-802-11-wireless.c
10133         * src/NetworkManagerAP.c:
10134                 - Store last seen as glong instead of GTimeVal.
10135                 - Fix the upper bound of capabilities, it's a bitfield.
10136
10137 2007-03-16  Tambet Ingo  <tambet@ximian.com>
10138
10139         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10140
10141         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10142         "manager-running" signal that notifies the appearance/disappearance of NM.
10143         (nm_client_sleep): Implement.
10144
10145         * libnm-glib/nm-device.c:
10146         * libnm-glib/nm-device-802-11-wireless.c: 
10147         * libnm-glib/nm-device-802-3-ethernet.c: 
10148
10149         Don't inherit from DBusGProxy, add a proxy to private
10150         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10151         for anything but their own dbus interface. DBusGProxy objects support only one
10152         interfaces and to work around this, NMDevice has spearate proxy for each dbus
10153         interface. The nice side effect of this change is that we do not create a new
10154         DBusGProxy object for each property access.
10155
10156 2007-03-15  Tambet Ingo  <tambet@ximian.com>
10157
10158         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10159         with zeroes before passing them to functions - the functions never do that and
10160         reading the values back may produce wrong values.
10161         (real_bring_up): Store the signal handler id ...
10162         (real_bring_down): ... So that it can be removed here.
10163         Disconnect the supplicant interface here as well.
10164         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10165         from the access point instead of old $device/Networks/$essid.
10166
10167         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10168         device state is connected (instead of just having link/carrier).
10169
10170         * src/nm-activation-request.c: Don't store NMData in activation request, it's
10171         already easily accessible through the device.
10172
10173         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10174         store it within the object.
10175         (nm_ap_get_dbus_path): Export it to public as well.
10176
10177         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10178         of the singleton.
10179
10180 2007-03-12  Dan Williams  <dcbw@redhat.com>
10181
10182         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
10183         for non-carrier-detect capable devices, and useless for carrier-detect
10184         devices since we get notifications from netlink about carrier status anyway.
10185
10186         * src/nm-device-802-3-ethernet.c
10187                 - remove 'link_source_id' member from private data
10188                 - (probe_link): remove and collapse into real_update_link()
10189                 - (nm_device_802_3_periodic_update): remove
10190                 - (real_is_up): check for sup_iface rather than link_source_id
10191                 - (real_bring_up): return gboolean for success/fail; require that
10192                         sup_iface be valid for device bringup to succeed
10193                 - (real_bring_down): zero out link signal ids
10194
10195         * src/nm-device.c
10196                 - (nm_device_activate_stage2_device_config): fail activation if device
10197                         bringup fails
10198                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10199                         fails
10200                 - (nm_device_bring_up): return success/fail
10201
10202         * src/nm-device.h
10203                 - bring_up now returns success/fail
10204
10205         * src/nm-device-802-11-wireless.c
10206                 - (real_bring_up): return success from bringup
10207
10208 2007-03-07  Dan Williams  <dcbw@redhat.com>
10209
10210         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
10211         * src/nm-ap-security-wpa-psk.c
10212                 - (real_write_supplicant_config): work with PSKs that may contain
10213                         zeros in the binary format rather than treating it as a string
10214
10215 2007-03-02  Tambet Ingo  <tambet@ximian.com>
10216
10217         * libnm-glib/nm-device-802-11-wireless.c
10218         (nm_device_802_11_wireless_get_capabilities): Implement.
10219
10220         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10221
10222         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10223
10224         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10225         reply only if it's not NULL. Not sure why this started happening right now.
10226
10227         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10228         code paths for when devices get removed on shutdown or when a device is just
10229         removed.
10230         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10231         gets freed so any signal from a device (disconnected for instance) would invoke
10232         NMState update which would crash.
10233         (nm_manager_remove_device): Bring the device down when it gets removed.
10234
10235         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10236         the unused dev_type.
10237
10238         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10239         reference to the added device, NMManager will own it (if it wants).
10240
10241         * test/nm-tool.c: Rewrite using libnm-glib.
10242
10243         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10244         We get signalled when it changes.
10245
10246         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10247         when it changes.
10248
10249         * libnm-glib/nm-device.c: Cache the device state property.
10250
10251         * libnm-glib/nm-access-point.c: Cache the strength property.
10252
10253         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10254         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10255         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10256         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10257         the device is down, activating, or activated (in case of A/B/G cards).
10258         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10259         it's all done through supplicant now.
10260
10261         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10262         counting issues with pending calls which caused leaks and crashes when
10263         interface was removed (now that the interface actually gets removed).
10264
10265         * src/nm-call-store.c: Make a copy of data before running a foreach
10266         with user callback on it - The most common usage pattern is to cancel
10267         (and thus remove) all pending calls with foreach which would modify
10268         the hash table we're iterating over.
10269
10270         * src/nm-manager.c: When a device is added, make sure it is "up". When
10271         it's removed or disabled due to disabling wireless or networking, bring
10272         it down.
10273
10274         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10275
10276         * src/nm-device-802-11-wireless.c: 
10277         * src/nm-device-802-3-ethernet.c: 
10278         * src/nm-device.c:
10279                 - Remove "init" virtual function, all gobjects have a place for that
10280                   already (constructor).
10281                 - Replace "start" virtual function with "bring_up", devices can be
10282                   brought up and down more than just on startup now.
10283                 - Add "is_up" virtual function.
10284                 - Implement one way to bring a device down instead of previous 4 different
10285                   ways, each of witch did something different.
10286
10287         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10288         all it needs is the device interface.
10289
10290         Get rid of NMData.dev_list (3 members to go).
10291         Get rif of NMData in a lot of places.
10292
10293         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10294
10295 2007-02-23  Dan Williams  <dcbw@redhat.com>
10296
10297         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10298
10299         * src/NetworkManagerAP.c
10300                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10301                         OR-ing rather than AND-ing
10302
10303 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10304
10305         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10306         "network-removed" signals.
10307
10308         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10309
10310         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10311         when receiving the signal from dbus.
10312
10313         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10314         property.
10315
10316         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10317         deactivation of the previously activated device working again.
10318
10319         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10320         and setter.
10321
10322         * src/nm-device.c (nm_device_is_activated): Remove.
10323         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10324
10325         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10326         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10327         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10328         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10329         Remove NMNetworkStatus and NMActStage enums.
10330
10331 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10332
10333         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10334         Handle device state changes and disconnect VPN if it's device deactivates.
10335
10336         * src/nm-dbus-nm.c: 
10337         * src/nm-dbus-nm.h: 
10338         * src/nm-dbus-device.c: 
10339         * src/nm-dbus-device.c: 
10340         * src/nm-dbus-net.c: 
10341         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10342
10343         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10344
10345         * src/nm-device.c (nm_device_get_by_udi):
10346         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10347         implemented in the correct location (NMManager).
10348         Rip out all the test_device stuff.
10349
10350         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10351         failure handlers, it's all done by NMDevice already.
10352
10353         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10354         Remove the iochannel hack to route the unix signals to the main thread since
10355         we're not threaded anymore.
10356
10357         * src/NetworkManagerAP.c: Implement HWAddress property.
10358
10359         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10360         automatically with dbus-glib.
10361
10362         * src/nm-netlink-monitor.c: 
10363         * src/nm-netlink-monitor.h:
10364                 - Move it low in the class hierarchy, don't reference any NM types.
10365                 - Remove private data from the header.
10366                 - Use type safe checks in public API methods.
10367                 - Make it a singleton so we don't have to pass the single reference around.
10368
10369 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10370
10371         * introspection/nm-ip4-config.xml: Implement.
10372
10373         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10374
10375         * libnm-glib/nm-ip4-config.c:
10376         * libnm-glib/nm-ip4-config.c: Implement.
10377
10378         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10379         securities. APs reference security.
10380
10381         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10382         be exported over DBUS.
10383
10384         * src/nm-device-802-3-ethernet.c: Ditto.
10385
10386         * src/NetworkManagerAP.c:
10387         * src/NetworkManagerAP.h:
10388                 - Convert to GObject, export over DBUS.
10389
10390         * src/nm-ip4-config.h:
10391         * src/nm-ip4-config.h:
10392                 - Convert to GObject, export over DBUS.
10393
10394 2007-02-12  Dan Williams  <dcbw@redhat.com>
10395
10396         Patch from Helmut Schaa <hschaa@suse.de>
10397
10398         * vpn-daemons/pptp/configure.in
10399           vpn-daemons/pptp/Makefile.am
10400           vpn-daemons/openvpn/configure.in
10401           vpn-daemons/openvpn/Makefile.am
10402           vpn-daemons/vpnc/configure.in
10403           vpn-daemons/vpnc/Makefile.am
10404                 - Add --without-gnome switch which disables building gnome bits
10405
10406 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10407
10408         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10409
10410         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10411
10412         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10413         'HwAddress'.
10414
10415         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10416
10417         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10418
10419         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10420
10421         * src/:
10422                 - Remove old low-level dbus interface implementations and replace them
10423                   with dbus-glib one.
10424
10425         * configure.in:
10426                 - Require dbus-glib >= 0.72.
10427                 - Plug in new sources to build.
10428
10429         * libnm-glib/:
10430                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10431                   to make it more convenient to use from GObject based programs.
10432
10433         * introspection/:
10434                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10435
10436 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10437
10438         * src/nm-device-802-11-wireless.c:
10439                 - Add "network-added" and "network-removed" signals.
10440                 - Use gobject boilerplate macros to define the GObject.
10441                 - Implement wireless device activation.
10442                 - Remove activation_failure_handler and activation_success_handler
10443                   and instead listen on state-changed signals and run the same code
10444                   from there.
10445
10446         * src/nm-device.c:
10447                 - Implment NMDeviceInterface::deactivate.
10448                 - Remove activation_failure_handler and activation_success_handler
10449                   virtual methods. Each device which is interested in these events
10450                   can just listen on it's state changed signals.
10451
10452         * src/NetworkManagerPolicy.c:
10453                 - Move a bit more NMData usage to NMManager.
10454                 - Remove activation scheduling bits.
10455                 - Add listeners for wireless device's "network-added" and
10456                   "network-removed" signals.
10457                 - Listen device changed signals and deactivate currently activated
10458                   device when another device start activating (for now).
10459                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10460                   for calling this, the policy code knows exactly when this should happen,
10461                   by listening on events from NMManager and NMDevices.
10462
10463         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10464         Implement.
10465
10466         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10467         method on the specific device instead of going to through policy code
10468         and determining the device type by passed in AP's existance.
10469
10470         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10471         abstract NMDevice deactivation.
10472
10473 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10474
10475         * src/NetworkManager.c:
10476                 - Set up all the shiny new managers.
10477
10478         * src/NetworkManagerPolicy.c:
10479                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10480                   classes to call into policy code, make the policy code kind of like
10481                   a supervisor that monitors what's going on and drives the whole NM.
10482
10483         * src/nm-hal-manager.c: 
10484         * src/nm-hal-manager.h:
10485                 - Collect all libhal code scattered around NM to this one class.
10486                 - Listen libhal and NMManager events and add/remove devices to
10487                   NMManager.
10488
10489         * src/nm-manager.c:
10490         * src/nm-manager.h:
10491                 - Implment a replacement for NMData. NMData is now officially
10492                 deprecated.
10493
10494 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10495
10496         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10497         * src/supplicant-manager/nm-supplicant-interface.h
10498         * src/supplicant-manager/nm-supplicant-interface.c
10499         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10500         argument to boolean from enum.
10501
10502         Make NMDevice abstract class, remove almost all references to it's
10503         subclasses (the last place gets removed with new policy manager). Add
10504         NMDeviceInterface (which NMDevice implements) so that when we have
10505         NMDevice exported over DBUS, there's a common NMDevice interface which
10506         all instances have, plus there's a device specific interface for each
10507         specific type.
10508         Remove functions (nm_device_is_802_3_ethernet) and
10509         (nm_device_is_802_11_wireless). There are already standard GObject macros
10510         for type safe checks.
10511         Use the updated supplican manager API.
10512
10513         * src/nm-device-interface.h: 
10514         * src/nm-device-interface.c: 
10515         * src/nm-call-store.h: 
10516         * src/nm-call-store.c: Implement.
10517
10518         * src/supplicant-manager/nm-supplicant-interface.c:
10519         * src/supplicant-manager/nm-supplicant-interface.h:
10520         * src/supplicant-manager/nm-supplicant-manager.c:
10521         * src/supplicant-manager/nm-supplicant-manager.h:
10522                 - Remove all private data type references from public header files.
10523                 - Remove all references to other NM classes, this class is just a
10524                   proxy between wpa_supplicant and NM so it doesn't have to know
10525                   any internals.
10526                 - Convert to dbus-glib bindings.
10527                 - Type safe checks for public methods' arguments.
10528                 - Store pending DBUS call ids to NMCallStore.
10529
10530         * src/supplicant-manager/nm-supplicant-config.c:
10531                 - Store config values in a GHashTable instead of GSList.
10532
10533         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10534
10535         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10536         singleton now.
10537
10538         * src/nm-device.c: Use the new DHCP manager API.
10539
10540         * src/nm-activation-request.c:
10541         * src/nm-activation-request.h:
10542                 - Remove all dhcp related properties and methods.
10543
10544         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10545
10546         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10547
10548         * src/dhcp-manager/nm-dhcp-manager.c:
10549         * src/dhcp-manager/nm-dhcp-manager.h:
10550                 - Convert it to GObject since we need to signal state changes.
10551                 - Remove all references to other NM classes, this class is one
10552                   of the lowest classes in our hierarchy.
10553                 - One less class to use NMActRequest.
10554                 - Make it singleton, one less user of NMData.
10555                 - Remove a couple of sleep() calls.
10556                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10557                   One less class to use the NM's custom tailored signal handlig.
10558
10559         * Makefile.am: Generate marshallers, add them to build.
10560
10561 2007-02-02  Dan Williams  <dcbw@redhat.com>
10562
10563         * configure.in
10564           gnome/Makefile.am
10565           nm-applet.desktop
10566           Makefile.am
10567                 - Remove last bits referencing gnome applet
10568
10569 2007-02-02  Dan Williams  <dcbw@redhat.com>
10570
10571         * src/vpn-manager/nm-vpn-service.c
10572                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10573                         and NBNS server addresses
10574
10575 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10576
10577         * src/nm-dbus-manager.c:
10578         * src/nm-dbus-manager.h:
10579                 - Convert all internal DBUS code to use dbus-glib bindings.
10580                 - Remove GObject properties, we don't need them here.
10581                 - Don't explicitly set things to NULL after freeing, glib is
10582                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10583                 - Make public API argument checks type safe.
10584                 - Remove unnecessary (and wrong) cast to GObject for the first
10585                   argument to g_signal_* calls - The first argument is a gpointer.
10586                 - Export DBusGConnection to other cool classes that (are going to)
10587                   use dbus-glib.
10588
10589 2007-01-26  Dan Williams  <dcbw@redhat.com>
10590
10591         * libnm-util/dbus-dict-helpers.c
10592           libnm-util/dbus-dict-helpers.h
10593                 - Coordinate style with wpa_supplicant version to minimize diff
10594                 - Add uint32 array support
10595                 - (nmu_dbus_dict_append_uint32_array): new function
10596                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10597                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10598                         version; allow adding string array elements individually
10599
10600         * test/libnm-util/test-dbus-dict-helpers.c
10601                 - Test uint32 arrays
10602
10603 2007-01-27  Jürg Billeter  <j@bitron.ch>
10604
10605         * src/backends/NetworkManagerPaldo.c
10606                 - (nm_system_update_dns): clear nscd hosts cache
10607
10608 2007-01-04  Dan Williams  <dcbw@redhat.com>
10609
10610         Threading removal related cleanups:
10611
10612         - Use the glib default main context.  Remove the device main context
10613                 member from NMDevice, and the main_context member from NMData.  Change
10614                 all the idle and timeout scheduler functions to use plain
10615                 g_idle_add() and g_timeout_add().
10616
10617         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10618                 takes an argument; fix that up too.
10619
10620         - Remove all locking, which is useless since we no longer use threads.  For
10621                 example, nm_get_device_by_iface_locked() has been removed.  The global
10622                 device list lock, the AP List lock, and all static locks in
10623                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10624                 in NetworkManagerUtils.c have also been removed.
10625
10626         - Other cleanups in spacing and code style
10627
10628 2007-01-01  Dan Williams  <dcbw@redhat.com>
10629
10630         Found by Bill Moss:
10631
10632         * src/supplicant-manager/nm-supplicant-interface.c
10633                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10634                         the supplicant interface wasn't already disconnected.  Always
10635                         call removeNetwork and disconnect unless the supplicant interface
10636                         is in the DISCONNECTED or INACTIVE state.
10637
10638 2006-12-28  Dan Williams  <dcbw@redhat.com>
10639
10640         Use a single thread for everything.  With the move to wpa_supplicant
10641         and communication over D-Bus, there's no reason for multiple threads.
10642         Almost all of the blocking code has been removed, with one exception in
10643         the DHCP manager and a few in the VPN manager.  This commit removes the
10644         per-device worker thread and fixes activation cancellation in the absence
10645         of threads.  Further removal of thread-related code would be removing
10646         any locking code (like the device list lock) and simplification of logic
10647         around areas of code or data structures that are currently locked.
10648
10649         * autoip.c
10650           dhcp-manager/nm-dhcp-manager.c 
10651           nm-device-802-11-wireless.c
10652           nm-device-802-3-ethernet.c
10653           nm-device.c
10654           nm-device.h
10655                 - Remove usage of multiple threads
10656
10657 2006-12-19  Dan Williams  <dcbw@redhat.com>
10658
10659         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10660         plus a few other patches from wpa_supplicant bugzilla.
10661
10662         * src/Makefile.am
10663           src/NetworkManagerPolicy.c
10664           src/NetworkManagerUtils.c
10665           src/NetworkManagerUtils.h
10666           src/nm-ap-security-leap.c
10667           src/nm-ap-security-wep.c
10668           src/nm-ap-security-wpa-eap.c
10669           src/nm-ap-security-wpa-psk.c
10670           src/nm-ap-security.c
10671           src/nm-ap-security.h
10672           src/nm-device-802-11-wireless.c
10673           src/nm-device-802-11-wireless.h
10674           src/supplicant-manager/nm-supplicant-config.c
10675           src/supplicant-manager/nm-supplicant-config.h
10676           src/supplicant-manager/nm-supplicant-interface.c
10677           src/supplicant-manager/nm-supplicant-interface.h
10678           src/supplicant-manager/nm-supplicant-marshal.list
10679           src/supplicant-manager/nm-supplicant-settings-verify.c
10680           src/supplicant-manager/nm-supplicant-settings-verify.h
10681                 - Move all connection management and association handling to
10682                         wpa_supplicant over dbus, rather than spawning a private copy
10683
10684 2006-12-19  Dan Williams  <dcbw@redhat.com>
10685
10686         * src/NetworkManagerPolicy.c
10687                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10688                         better locking of the device change check handler ID.  Incorrect
10689                         locking was causing lost device change requests
10690
10691 2006-12-18  Dan Williams  <dcbw@redhat.com>
10692
10693         * libnm-util/dbus-dict-helpers.c
10694                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10695                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10696                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10697
10698 2006-12-18  Dan Williams  <dcbw@redhat.com>
10699
10700         * gnome/libnm_glib/libnm_glib.c
10701                 - Change dbus_connection_close() -> dbus_connection_unref()
10702
10703 2006-12-11  Dan Williams  <dcbw@redhat.com>
10704
10705         * src/supplicant-manager/nm-supplicant-interface.c
10706                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10707                         wpa_supplicant interface state
10708                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10709                         state before transitioning to READY state
10710
10711 2006-12-04  Dan Williams  <dcbw@redhat.com>
10712
10713         * src/nm-device-802-11-wireless.c
10714                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10715                         odd length of ESSID returned from ieee80211 stack-based drivers
10716
10717 2006-12-04  Dan Williams  <dcbw@redhat.com>
10718
10719         * src/nm-device-802-11-wireless.c
10720                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10721                         IE handling blocks that cause mis-parsing of the IE
10722
10723 2006-12-04  Dan Williams  <dcbw@redhat.com>
10724
10725         * src/nm-device-802-11-wireless.c
10726                 - (init_supplicant_interface): new function; pull supplicant interface
10727                         setup code out into standalone function since it must be called from
10728                         two different places
10729                 - (real_init): sup_mgr is now in private object data; get and track
10730                         the supplicant manager object over the NMDevice subclass' lifetime
10731                         and register a signal handler for its state signals; only try to
10732                         initialize the supplicant interface if the supplicant manager is in
10733                         the IDLE state (and therefore is ready for requests)
10734                 - (request_wireless_scan): reschedule the scan request if (a) there is
10735                         no supplicant interface yet (meaning wpa_supplicant isn't running
10736                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10737                         for requests yet
10738                 - (supplicant_iface_connection_state_cb): new function; stub for
10739                         handling supplicant interface connection state signals
10740                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10741                         comes and goes
10742                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10743                         supplicant manager object that's being tracked starting with this
10744                         commit
10745
10746 2006-12-04  Dan Williams  <dcbw@redhat.com>
10747
10748         * src/supplicant-manager/nm-supplicant-interface.c
10749                 - (nm_supplicant_interface_set_property): track signal handler ID
10750                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10751
10752 2006-12-04  Dan Williams  <dcbw@redhat.com>
10753
10754         * src/supplicant-manager/nm-supplicant-interface.[ch]
10755                 - (nm_supplicant_interface_get_state): new function
10756
10757 2006-12-04  Dan Williams  <dcbw@redhat.com>
10758
10759         * src/supplicant-manager/nm-supplicant-interface.c
10760                 - (bssid_properties_cb): don't treat DBus errors as valid
10761                         scanned AP messages
10762
10763 2006-12-04  Dan Williams  <dcbw@redhat.com>
10764
10765         * src/supplicant-manager/nm-supplicant-interface.[ch]
10766                 - (nm_supplicant_interface_get_connection_state): new function
10767                 - define new supplicant connection states
10768                 - send a signal when the supplicant connection state changes
10769
10770 2006-12-03  Dan Williams  <dcbw@redhat.com>
10771
10772         * src/supplicant-manager/Makefile.am
10773           src/supplicant-manager/nm-supplicant-connection.h
10774           src/supplicant-manager/nm-supplicant-connection.c
10775           src/supplicant-manager/nm-supplicant-config.h
10776           src/supplicant-manager/nm-supplicant-config.c
10777           src/supplicant-manager/nm-supplicant-types.h
10778           src/supplicant-manager/nm-supplicant-interface.h
10779           src/supplicant-manager/nm-supplicant-interface.c
10780                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10781
10782 2006-12-03  Dan Williams  <dcbw@redhat.com>
10783
10784         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10785
10786         * po/POTFILES.in
10787           po/POTFILES.skip
10788                 - Move VPN-related translatables to .skip
10789
10790         * vpn-daemons/pptp/po/POTFILES.in
10791                 - Update with new translatables
10792
10793 2006-12-02  Dan Williams  <dcbw@redhat.com>
10794
10795         Patch from Christian Persch <chpe@gnome.org>
10796
10797         * gnome/applet/Makefile.am
10798           gnome/applet/applet-dbus-devices.c
10799           gnome/applet/applet-notifications.c
10800           gnome/applet/applet.c
10801           gnome/applet/applet.h
10802           gnome/applet/main.c
10803                 - Be a GtkStatusIcon on GTK+ >= 2.10
10804
10805 2006-12-02  Dan Williams  <dcbw@redhat.com>
10806
10807         * gnome/applet/applet.c
10808                 - (nma_update_info): fix two unecessary allocations
10809
10810 2006-12-02  Dan Williams  <dcbw@redhat.com>
10811
10812         Patch from Michael Biebl <biebl@teco.edu>
10813         * configure.in
10814           man/NetworkManager.1.in
10815           man/NetworkManagerDispatcher.1.in
10816           man/NetworkManager.8.in
10817           man/NetworkManagerDispatcher.8.in
10818                 - Add .SH NAME stanzas
10819                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10820
10821 2006-12-02  Dan Williams  <dcbw@redhat.com>
10822
10823         Patch from Christian Persch <chpe@gnome.org>
10824
10825         * configure.in
10826                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10827
10828 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10829
10830         Patch by Timo Hoenig <thoenig@suse.de>:
10831         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10832         DBUS-1.0.
10833
10834         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10835         we can't use the one from the main source directory.
10836
10837 2006-11-27  Dan Williams  <dcbw@redhat.com>
10838
10839         Patch from Christian Persch <chpe@gnome.org>
10840
10841         * gnome/applet/applet-dbus-devices.c
10842                 - (hal_info_product_cb): fix memleak; free duped string.
10843                         Gnome.org #379908
10844
10845 2006-11-27  Dan Williams  <dcbw@redhat.com>
10846
10847         Patch from Christian Persch <chpe@gnome.org>
10848
10849         * gnome/applet/menu-items.c
10850                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10851                         as gtk_progress_set_percentage is deprecated.  Should
10852                         work as far back as GTK+ 2.4.  Gnome.org #379780
10853
10854 2006-11-26  Dan Williams  <dcbw@redhat.com>
10855
10856         Scan using wpa_supplicant over DBus.
10857
10858         * src/nm-device-802-11-wireless.c
10859                 - remove wireless extensions netlink event handler bits
10860                         (wireless_event_helper, nm_device_802_11_wireless_event)
10861                 - remove wireless extensions scan event handler bits
10862                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10863                         hex2byte, hex2num, request_and_convert_scan_results,
10864                         free_process_scan_cb_data, scan_results_timeout,
10865                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10866                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10867                         and request scans from the supplicant interface rather than directly
10868                 - Move functionality of convert_scan_results() to cull_scan_list() and
10869                         supplicant_iface_scanned_ap_cb()
10870                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10871                         at the scan interval when the current scan has finished
10872                 - (supplicant_iface_state_cb): start scanning when the supplicant
10873                         interface enters the READY state, and stop scanning when it
10874                         enters the DOWN state
10875                 - (cull_scan_list): weed out old access points from the scan list
10876                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10877                         point into an NMAccessPoint and merge it into the device's scan list
10878
10879         * src/supplicant-manager/nm-supplicant-interface.c
10880           src/supplicant-manager/nm-supplicant-interface.h
10881                 - Add a new signal "scan-result" which is issued when the supplicant
10882                         notifies NM that a scan has completed
10883                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10884                         point found in the scan.  Called once for each access point that
10885                         the supplicant interface object receives from the supplicant as a
10886                         result of the "scanResults" method call
10887                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10888                         for the initial scan results
10889                 - (scan_request_cb): new function; send listeners the result
10890                         (success, error) of a wireless scan request
10891                 - (nm_supplicant_interface_request_scan): new function; ask the
10892                         supplicant to perform an immediate wireless scan
10893
10894 2006-11-25  Dan Williams  <dcbw@redhat.com>
10895
10896         * src/supplicant-manager/Makefile.am
10897                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10898                         add HAL cflags/includes and named-manager includes directory
10899
10900         * src/supplicant-manager/nm-supplicant-interface.h
10901                 - New state STARTING to handle transition from INIT to READY where
10902                         the addInterface pending call is still outstanding
10903
10904         * src/supplicant-manager/nm-supplicant-interface.c
10905                 - track pending calls differently since we may have more than one
10906                         going on at any given time
10907                 - request scan results from wpa_supplicant; but don't do it more often
10908                         than every 4 seconds.  Drivers that do background scanning
10909                         (like the 'ipw' drivers) send a continuous stream of scan completion
10910                         notifications, so we don't want to hammer the supplicant or dbus
10911                         with requests for all scan results every time we get a completion
10912                         notification.
10913
10914 2006-11-25  Dan Williams  <dcbw@redhat.com>
10915
10916         * src/supplicant-manager/nm-supplicant-types.h
10917                 - new file; move all supplicant manager object typedefs here for
10918                         #include sanity
10919
10920         * src/supplicant-manager/nm-supplicant-interface.c
10921           src/supplicant-manager/nm-supplicant-interface.h
10922                 - new file; an object that interfaces an NMDevice object to the
10923                         supplicant and handles signals from the supplicant.  This object
10924                         does all necessary DBus communication with wpa_supplicant.
10925
10926         * src/supplicant-manager/nm-supplicant-manager.c
10927           src/supplicant-manager/nm-supplicant-manager.h
10928                 - Actually do something.  Track the state of the wpa_supplicant service
10929                         and deal with its comings & goings.  Handle life events of
10930                         supplicant interfaces too.
10931                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10932
10933         * src/supplicant-manager/nm-supplicant-connection.h
10934                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10935
10936         * src/supplicant-manager/Makefile.am
10937                 - Add new files to build, and add libnm-util to includes
10938
10939         * src/nm-marshal.list
10940                 - New marshaler type: VOID:UINT,UINT
10941
10942         * src/nm-device-802-3-ethernet.c
10943                 - (real_init): grab a supplicant interface
10944                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10945                 - (supplicant_iface_state_cb): new function, stub for handling
10946                         supplicant interface state changes
10947
10948         * src/nm-device-802-11-wireless.c
10949                 - (real_init): grab a supplicant interface
10950                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10951                 - (supplicant_iface_state_cb): new function, stub for handling
10952                         supplicant interface state changes
10953
10954         * src/NetworkManager.c
10955                 - (main): create and keep the supplicant manager around for the lifetime
10956                         of NetworkManager
10957
10958         * src/Makefile.am
10959                 - Link to the supplicant manager sub-library and use the supplicant
10960                         manager includes
10961
10962 2006-11-25  Dan Williams  <dcbw@redhat.com>
10963
10964         Rework DBus manager signal handling to be more flexible.  Previously,
10965         only one signal handler could be registered for a particular interface.
10966         The DBus manager now reference counts DBus bus matches and allows multiple
10967         clients to register signal handlers for the same interface and sender.
10968
10969         * src/NetworkManager.c
10970                 - (main): track NMI signal handler ID and remove it when we quit
10971
10972         * src/NetworkManagerMain.h
10973                 - Keep track of NMI signal handler ID
10974
10975         * src/nm-dbus-manager.c
10976           src/nm-dbus-manager.h
10977                 - rework signal handling; each signal handler references one signal
10978                         match, but a signal match may be referenced by one or more
10979                         signal handlers.  Matches are refcounted and are destroyed when the
10980                         last signal handler that references the match is removed.  This is
10981                         necessary because two signal handlers may end up requiring the same
10982                         dbus bus match, so the match must live until the last signal handler
10983                         is destroyed (for example, with the wpa_supplicant network interface
10984                         dbus interface).
10985
10986         * src/dhcp-manager/nm-dhcp-manager.c
10987                 - (nm_dhcp_manager_new): track DHCP signal handler id
10988                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10989
10990         * src/vpn-manager/nm-vpn-service.c
10991                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10992                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10993
10994 2006-11-25  Dan Williams  <dcbw@redhat.com>
10995
10996         Suggested by Helmut Schaa <hschaa@suse.de>
10997
10998         * src/vpn-daemons/nm-vpn-service.c
10999                 - (supplicant_child_setup): new function
11000                 - (supplicant_exec): make child process use a new process group id
11001
11002         * src/nm-device-802-11-wireless.c
11003                 - (nm_vpn_service_child_setup): new function
11004                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11005                         process group id
11006
11007 2006-11-19  Dan Williams  <dcbw@redhat.com>
11008
11009         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
11010         * gnome/vpn-properties/nm-vpn-properties.c
11011                 - clean up after renamed VPN connection
11012
11013 2006-11-19  Dan Williams  <dcbw@redhat.com>
11014
11015         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
11016         * gnome/applet/applet-dbus-vpn.c
11017                 - (nma_dbus_vpn_properties_cb): sort VPN connections
11018
11019         * gnome/vpn-properties/nm-vpn-properties.c
11020                 - (init_app): sort VPN connections
11021
11022 2006-11-09  Dan Williams  <dcbw@redhat.com>
11023
11024         * src/NetworkManagerAPList.c
11025                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11026                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11027                 from the nm_ap_list_get_ap_by_address() call was incorrect and
11028                 broke hidden SSID matching.  Found by Bill Moss.
11029
11030 2006-10-25  Dan Williams  <dcbw@redhat.com>
11031
11032         * src/nm-dbus-nm.c
11033                 - (nm_dbus_nm_set_active_device): return an empty success message on
11034                         success, rather than falling through to the error case.
11035
11036 2006-10-25  Dan Williams  <dcbw@redhat.com>
11037
11038         * src/NetworkManagerUtils.c
11039                 - (nm_utils_supplicant_request_with_check): suppress messages for the
11040                         "SCAN" command
11041
11042 2006-10-24  Dan Williams  <dcbw@redhat.com>
11043
11044         Reduce the number of times the Gnome applet wakes up, especially when
11045         it's doing absolutely nothing and is hidden.  Initial patch by
11046         Chris Aillon.
11047
11048         * gnome/applet/applet-dbus.c
11049                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11050                         kill the redraw timeout.  When NM starts up, start the redraw
11051                         timeout.  Also, if we get kicked off the bus for some reason,
11052                         start the reconnection timeout if one's not already running.
11053                 - (nma_dbus_init): better handling of error conditions, don't leak
11054                         a half-initialized dbus connection
11055                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11056                         the applet's data, just call nm_dbus_init_helper()
11057                 - (nma_start_dbus_connection_watch): new function, starts a periodic
11058                         timeout that calls nma_dbus_connection_watcher()
11059                 - (nma_dbus_init_helper): if we get a successful connection, kill the
11060                         reconnection timeout, and don't start the reconnection timeout
11061                         unconditionally anymore
11062
11063         * gnome/applet/applet-dbus.h
11064                 - Expose nma_start_dbus_connection_watch()
11065
11066         * gnome/applet/applet.c
11067                 - (nma_update_state): no longer static, called from applet-dbus.c for
11068                         immediate UI updates on certain events
11069                 - (nma_set_running): new function; take over setting applet->running,
11070                         when not running (ie, NM is not active), don't activate the redraw
11071                         timeout because we're not showing the applet anyway.  When we are
11072                         running (ie, NM is active), and only when we're running, start the
11073                         redraw timeout.
11074                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11075                         kill any reconnection timeout
11076                 - (nma_get_instance): move one-off dbus initialization code here since
11077                         nm_dbus_init_helper() gets called more than once, possibly by the
11078                         reconnection timeout function too.  And, when we start up, if we
11079                         can't get a connection to the bus, start the reconnection timeout.
11080                         But don't start the redraw timeout yet, only do that when we get
11081                         NM's state and find out if it's running or not.
11082
11083         * gnome/applet/applet.h
11084                 - Add the reconnection GSource ID
11085                 - Add prototypes for nma_set_running() and the no-longer-static
11086                         nma_update_state()
11087
11088 2006-10-24  Dan Williams  <dcbw@redhat.com>
11089
11090         * src/vpn-daemons/nm-dbus-vpnc.c
11091                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11092                         pending call tracker
11093                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11094                         pending call tracker; register one-vpn-connection update pending
11095                         call in pending call tracker
11096                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11097                         update pending call in pending call tracker
11098                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11099                         update pending call in pending call tracker; don't block waiting
11100                         for call to return
11101
11102 2006-10-19  Robert Love  <rml@novell.com>
11103
11104         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11105           refresh the cache.
11106
11107 2006-10-14  Dan Williams  <dcbw@redhat.com>
11108
11109         * src/dhcp-manager/nm-dhcp-manager.c
11110                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11111                 the dbus connection and the device object path rather than
11112                 constructing it inside both functions.  Saves a bit of memory
11113                 and clarifies a failure path.
11114                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11115                 and allocate device path here rather than each of the two
11116                 functions above.
11117
11118 2006-10-13  Dan Williams  <dcbw@redhat.com>
11119
11120         * src/NetworkManager.c
11121                 - (nm_name_owner_changed_handler): handle NMI coming and going,
11122                 this somehow droppout in the refactor
11123
11124 2006-10-13  Dan Williams  <dcbw@redhat.com>
11125
11126         * Huge DBus refactor:
11127                 - Create a "DBus Manager" object which manages the connection and
11128                 sends signals on NameOwnerChanged and connection/disconnection events,
11129                 handles reconnection to the bus if NM gets kicked off, and abstracts
11130                 signal handling
11131                 - Remove DBusConnection members from places where they are no
11132                 longer needed due to the refactor, like the dbus-connection
11133                 property of the named manager, and from NMData
11134                 - Reformats a bunch of the code to gnome style
11135                 (8-space tabs, braces on same line as statement, 80-col width).
11136                 Consider it open season to reformat any bits to gnome style.
11137                 style that aren't already.
11138
11139 2006-10-13  Dan Williams  <dcbw@redhat.com>
11140
11141         * src/supplicant-manager/Makefile.am
11142                 - Add new files
11143
11144         * src/supplicant-manager/nm-supplicant-manager.[ch]:
11145                 - Make it a minimal GObject
11146
11147         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
11148                 - Verify settings destined for wpa_supplicant
11149
11150         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
11151                 - Minimal GObject to track wpa_supplicant controlled device
11152                 connections
11153
11154 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
11155
11156         * gnome/applet/applet.c: (nma_update_info),
11157         (nma_act_stage_to_pixbuf), (nma_update_state):
11158         Mark missing strings for translation. Fixes bug #343306.
11159
11160 2006-10-01  Dan Williams  <dcbw@redhat.com>
11161
11162         * src/vpn-manager/nm-vpn-manager.c
11163                 - (nm_vpn_manager_load_services): split and clean up
11164                 for readability and correctness.  Restrict VPN service
11165                 files to ending in ".name", as was meant from the
11166                 beginning (but not coded in).  Better error reporting.
11167
11168 2006-10-01  Dan Williams  <dcbw@redhat.com>
11169
11170         * utils/nm-utils.h
11171                 - Clean up formatting of debug/info/warning log messages
11172
11173 2006-09-27  Robert Love  <rml@novell.com>
11174
11175         Patch by Tambet Ingo <tambet@ximian.com>:
11176         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11177           actually work.
11178
11179 2006-09-07  Dan Williams <dcbw@redhat.com>
11180
11181         * test/Makefile.am
11182           test/libnm-util/Makefile.am
11183           test/nm-supplicant-test.c
11184                 - Add test program emulating the way NM drives wpa_supplicant
11185                 to help debug supplicant issues
11186
11187 2006-08-24  Dan Williams <dcbw@redhat.com>
11188
11189         * configure.in
11190           src/Makefile.am
11191           src/supplicant-manager/Makefile.am
11192           src/supplicant-manager/nm-supplicant-manager.c
11193           src/supplicant-manager/nm-supplicant-manager.h
11194                 - Add skeleton bits of the wpa_supplicant manager
11195
11196 2006-08-24  Dan Williams <dcbw@redhat.com>
11197
11198         Patch from Ed Catmur:
11199         * src/NetworkManagerUtils.c
11200                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11201                 if netmask is 0 (Gnome #352634)
11202
11203 2006-08-17  Robert Love  <rml@novell.com>
11204
11205         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11206           package is now DBUS-enabled and listens for the NM signals.
11207
11208 2006-08-14  Dan Williams  <dcbw@redhat.com>
11209
11210         * Patch from Christian Persch <chpe gnome org>
11211         * configure.in
11212           po/LINGUAS
11213           vpn-daemons/openvpn/po/LINGUAS
11214           vpn-daemons/openvpn/configure.in
11215           vpn-daemons/pptp/po/LINGUAS
11216           vpn-daemons/pptp/configure.in
11217           vpn-daemons/vpnc/po/LINGUAS
11218           vpn-daemons/vpnc/configure.in
11219                 - Convert to LINGUAS method so translators don't have to modify
11220                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
11221                 0.35 or higher
11222
11223 2006-08-14  Dan Williams  <dcbw@redhat.com>
11224
11225         Patch from Alex Smith <alex.extreme2@gmail.com>
11226         * configure.in
11227           src/backends/Makefile.am
11228           src/backends/NetworkManagerFrugalware.c
11229                 - Add support for Frugalware
11230
11231 2006-08-13  Dan Williams  <dcbw@redhat.com>
11232
11233         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11234         * src/nm-device-802-11-wireless.c
11235                 - (supplicant_exec): spawn wpa_supplicant without debug spew
11236                 Gnome #346875
11237
11238 2006-08-13  Dan Williams  <dcbw@redhat.com>
11239
11240         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11241         * src/nm-ap-security.c
11242           src/nm-ap-security.h
11243                 - Add authentication_required bits for subclasses to specify whether
11244                 or not real authentication is required for connections, i.e. whether
11245                 the AP rejects us when an encryption key is wrong or not.
11246
11247         * src/nm-ap-security-wep.c
11248           src/nm-ap-security-wpa-eap.c
11249           src/nm-ap-security-wpa-psk.c
11250           src/nm-ap-security-leap.c
11251                 - Implement authentication_required appropriately for each method
11252
11253         * src/nm-device-802-11-wireless.c
11254                 - Be smarter about when to request a key; for example, using a wrong key
11255                 in WEP shared key mode previously just timed out and did not request
11256                 a new key
11257
11258 2006-08-13  Dan Williams  <dcbw@redhat.com>
11259
11260         * gnome/libnm_glib/libnm_glib.c
11261                 - dbus_connection_disconnect() -> dbus_connection_close() for
11262                 dbus >= 0.90
11263
11264 2006-08-07  Dan Williams  <dcbw@redhat.com>
11265
11266         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11267         * src/NetworkManagerSystem.c
11268                 - Respect specified MTU.  Gnome #344967
11269
11270 2006-08-07  Dan Williams  <dcbw@redhat.com>
11271
11272         * src/vpn-manager/nm-vpn-service.c
11273                 - Simplify print_vpn_config() arguments
11274
11275         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11276         * src/vpn-manager/Makefile.am
11277           src/vpn-manager/nm-vpn-service.c
11278                 - Add new API for passing VPN config options as a dict. Gnome #344967
11279
11280 2006-08-06  Dan Williams  <dcbw@redhat.com>
11281
11282         * gnome/applet/applet-dbus-devices.c
11283           gnome/applet/applet-dbus-vpn.c
11284           gnome/applet/applet-dbus.c
11285           gnome/applet/applet-dbus.h
11286           src/nm-dbus-nmi.c
11287           utils/nm-utils.c
11288           utils/nm-utils.h
11289                 - Make pending call tracking code generic,
11290                 so we can use it in NM as well as the applet
11291
11292 2006-08-06  Dan Williams  <dcbw@redhat.com>
11293
11294         * src/nm-activation-request.c
11295                 - Refcount pending call objects
11296
11297 2006-08-06  Dan Williams  <dcbw@redhat.com>
11298
11299         Patch from Christan Chiesa <christanc@gmail.com>
11300         * configure.in
11301                 - Tell sha1.c to use bigendian mode on PPC
11302
11303 2006-08-04  Robert Love  <rml@novell.com>
11304
11305         Glib Memory Slices!
11306         * configure.in: Require glib 2.10 or later.
11307         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11308           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11309           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11310           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11311           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11312           Memory Slices are the greatest thing since bread slices.
11313         * src/NetworkManagerAP.c: Also, fix memory leak.
11314
11315 2006-08-01  Robert Love  <rml@novell.com>
11316
11317         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11318
11319 2006-07-31  Robert Love  <rml@novell.com>
11320
11321         * src/backends/interface_parser.c: Declarations must begin the block.
11322
11323 2006-07-24  Dan Williams  <dcbw@redhat.com>
11324
11325         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11326         * src/backends/Makefile.am
11327           src/backends/NetworkManagerArch.c
11328           src/backends/NetworkManagerDebian.c
11329           src/backends/NetworkManagerGeneric.c
11330           src/backends/NetworkManagerGeneric.h
11331           src/backends/NetworkManagerGentoo.c
11332           src/backends/NetworkManagerPaldo.c
11333           src/backends/NetworkManagerRedHat.c
11334           src/backends/NetworkManagerSlackware.c
11335           src/backends/NetworkManagerSuSE.c
11336                 - Genericize common backend functions
11337
11338 2006-07-18  Robert Love  <rml@novell.com>
11339
11340         * configure.in: Add "--with-notify" option to allow disabling of
11341           libnotify support.
11342
11343 2006-07-13  Dan Williams  <dcbw@redhat.com>
11344
11345         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11346         * gnome/applet/applet.glade
11347           gnome/applet/Makefile.am
11348           gnome/applet/nm-gconf-wso.c
11349           gnome/applet/nm-gconf-wso-leap.c
11350           gnome/applet/nm-gconf-wso-leap.h
11351           gnome/applet/wireless-security-manager.c
11352           gnome/applet/wso-leap.c
11353           gnome/applet/wso-leap.h
11354           include/NetworkManager.h
11355           libnm-util/dbus-helpers.c
11356           libnm-util/dbus-helpers.h
11357           src/Makefile.am
11358           src/NetworkManagerAP.c
11359           src/nm-ap-security.c
11360           src/nm-ap-security-leap.c
11361           src/nm-ap-security-leap.h
11362                 - Add LEAP authentication support
11363
11364 2006-07-13  Dan Williams  <dcbw@redhat.com>
11365
11366         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11367         * configure.in
11368           src/backends/NetworkManagerArch.c
11369           src/backends/NetworkManagerDebian.c
11370           src/backends/NetworkManagerGentoo.c
11371           src/backends/NetworkManagerPaldo.c
11372           src/backends/NetworkManagerRedHat.c
11373           src/backends/NetworkManagerSlackware.c
11374           src/backends/NetworkManagerSuSE.c
11375                 - Convert hardcoding of 'ip' path to configure-time
11376                         detected one
11377
11378 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11379
11380         * configure.in: added ru to ALL_LINGUAS
11381
11382 2006-07-10  Dan Williams  <dcbw@redhat.com>
11383
11384         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11385         * src/nm-device.c
11386                 - (real_act_stage3_ip_config_start): don't infinite loop when
11387                         dhcdbd isn't running (Gnome #346845)
11388
11389 2006-07-09  Dan Williams  <dcbw@redhat.com>
11390
11391         * gnome/applet/applet.c
11392                 - (nma_destroy): don't pass NULL to notify_notification_close
11393                         (RH #197917)
11394
11395 2006-07-09  Dan Williams  <dcbw@redhat.com>
11396
11397         * gnome/applet/applet.c
11398                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11399
11400 2006-07-04  Tor Krill  <tor@krill.nu>
11401
11402         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11403         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11404         (nm_system_restart_mdns_responder), (ArchReadConfig),
11405         (nm_system_device_get_system_config):
11406                 - Explicitly check for DHCP configuration
11407                 - Check if daemons are running before starting them
11408
11409 2006-06-25  Dan Williams  <dcbw@redhat.com>
11410
11411         * libnm-util/dbus-dict-helpers.[ch]
11412           test/libnm-util/test-dbus-dict-helpers.c
11413                 - Add string array support
11414
11415 2006-06-24  Dan Williams  <dcbw@redhat.com>
11416
11417         * src/dhcp-manager/nm-dhcp-manager.c
11418                 - (nm_dhcp_manager_process_signal): clean up spacing
11419
11420 2006-06-21  Dan Williams  <dcbw@redhat.com>
11421
11422         * src/nm-dbus-device.c
11423                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11424                         through dbus
11425
11426 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11427
11428         * configure.in: Added 'lv' to ALL_LINGUAS
11429
11430 2006-06-19  Dan Williams  <dcbw@redhat.com>
11431
11432         * src/NetworkManagerAP.c
11433                 - Clarify usage of user_created
11434
11435         * src/nm-ap-security-wep.c
11436           src/nm-ap-security-wpa-eap.c
11437           src/nm-ap-security-wpa-psk.c
11438           src/nm-ap-security.c
11439           src/nm-ap-security.h
11440                 - s/user_created/adhoc, because we really do mean adhoc
11441
11442         Patch from Bernard Blackham <bernard@blackham.com.au>
11443         * src/nm-device-802-11-wireless.c         
11444                 - (supplicant_send_network_config): instead of user_created,
11445                         use adhoc, and do AP_SCAN 2 for adhoc networks
11446
11447 2006-06-18  Robert Love  <rml@novell.com>
11448
11449         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11450           we have a value to set.  Gconf generates a warning if `val' is NULL.
11451         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11452           unless we actually received a valid private key file passphrase or
11453           password.  Otherwise, we don't know to later ask the applet to pull
11454           the key from the keyring.
11455
11456 2006-06-17  Dan Williams  <dcbw@redhat.com>
11457
11458         * libnm-util/dbus-dict-helpers.[ch]
11459           test/libnm-util/test-dbus-dict-helpers.c
11460                 - Fixes for zero-length byte arrays
11461                 - Replace return values of 0 with FALSE for clarity
11462                 - Test zero-length byte arrays
11463
11464 2006-06-17  Dan Williams  <dcbw@redhat.com>
11465
11466         * libnm-util/dbus-dict-helpers.[ch]
11467           test/libnm-util/test-dbus-dict-helpers.c
11468                 - Add helpers for byte arrays
11469                 - Rework bits of the testcase
11470
11471 2006-06-16  Dan Williams  <dcbw@redhat.com>
11472
11473         * libnm-util/Makefile.am
11474         * libnm-util/dbus-dict-helpers.[ch]
11475                 - Add some helpers to take the pain out of using dict types in
11476                         dbus.
11477
11478         * test/libnm-util/Makefile.am
11479         * test/libnm-util/test-dbus-dict-helpers.c
11480                 - Test cases for the dict helper functions
11481
11482 2006-06-15  Robert Love  <rml@novell.com>
11483
11484         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11485           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11486           if there is no key to pass.
11487         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11488           receiving a non-NULL key.
11489
11490 2006-06-14  Robert Love  <rml@novell.com>
11491
11492         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11493           copy the strings.
11494
11495
11496 2006-06-14  Dan Williams  <dcbw@redhat.com>
11497
11498         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11499         * src/nm-device-802-11-wireless.c
11500                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11501                         or ones where the driver is unknown
11502                 - (supplicant_exec): don't wait for supplicant startup here
11503                 - (supplicant_interface_init): finer grained polling for supplicant
11504                         startup
11505
11506 2006-06-13  Robert Love  <rml@novell.com>
11507
11508         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11509           if it is currently set to TRUE.  Otherwise, we will reset the value
11510           when we connect normally.
11511         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11512           the old BSSID is valid, too.  The recently added ESSID check may not be
11513           sufficient (we can remove it?).  What we really want to catch is the
11514           case of going from all-zeros to the BSSID of some other network, which
11515           happens on failure.
11516
11517 2006-06-09  Dan Williams  <dcbw@redhat.com>
11518
11519         * src/NetworkManagerSystem.[ch]
11520                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11521                         it was unused and pointless
11522                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11523                         fix for set_up_down_with_iface change
11524
11525         * src/vpn-manager/nm-vpn-connection.c
11526                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11527
11528         * src/backends/NetworkManagerPaldo.c
11529           src/backends/NetworkManagerRedHat.c
11530           src/backends/NetworkManagerSuSE.c
11531           src/backends/NetworkManagerArch.c
11532           src/backends/NetworkManagerDebian.c
11533           src/backends/NetworkManagerGentoo.c
11534                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11535                         appropriate
11536                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11537                         where appropriate
11538
11539 2006-06-09  Dan Williams  <dcbw@redhat.com>
11540
11541         Patch from Peter Jones:
11542         * src/nm-device-802-11-wireless.c
11543                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11544                         SSID hasn't changed from what we expect before automatically
11545                         updating the saved BSSID from a new AP
11546
11547 2006-06-08  Robert Love  <rml@novell.com>
11548
11549         Add 'fallback' support.  NetworkManager will attempt to brute-force
11550         connect to networks marked as fallback if there are no better wireless
11551         connections available.  This is useful as a method of last resort, to
11552         work around driver problems, and for use with hidden networks.
11553         * gnome/applet/applet-dbus-devices.c,
11554           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11555         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11556           pass it on via DBUS.
11557         * gnome/applet/applet.c: No fallback by default.
11558         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11559           Update other-network-dialog to add UI checkbox toggling fallback.
11560         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11561           propery from AP object.  Add "fallback" property to AP object.
11562         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11563         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11564         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11565           separate function.  Add get_best_fallback_ap() for returning an AP
11566           on which to attempt fallback.
11567         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11568         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11569
11570 2006-06-07  Robert Love  <rml@novell.com>
11571
11572         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11573           checked that the return type was GCONF_VALUE_STRING, not the correct
11574           GCONF_VALUE_BOOL, and thus it never worked.
11575         * src/NetworkManagerAPList.c: Before concluding that two networks are
11576           identical based on their BSSID, make sure that the BSSID in question
11577           is actually valid.  Specifically, an empty or all zero BSSID does not
11578           cut it.
11579         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11580           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11581           similar invariant clean up.
11582
11583 2006-06-02  Robert Love  <rml@novell.com>
11584
11585         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11586
11587 2006-05-28  Dan Williams  <dcbw@redhat.com>
11588
11589         * gnome/applet/applet.glade
11590           gnome/vpn-properties/nm-vpn-properties.glade
11591                 - Set window icons on dialogs  (Gnome.org #333420)
11592
11593 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11594
11595         * gnome/vpn-properties/nm-vpn-properties.glade:
11596         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11597         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11598         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11599                 - Make the VPN properties pages prettier and more HIG
11600                   compliant. Gnome Bug #336913.
11601
11602 2006-05-28  Dan Williams  <dcbw@redhat.com>
11603
11604         Patch from Christian Persch <chpe@gnome.org>
11605         * gnome/vpn-properties/nm-vpn-properties.c
11606         * gnome/vpn-properties/nm-vpn-properties.glade
11607                 - HIG-ification love  (Gnome.org #336846)
11608
11609 2006-05-28  Dan Williams  <dcbw@redhat.com>
11610
11611         Patch from Christian Persch <chpe@gnome.org>
11612         * configure.in
11613           gnome/vpn-properties/nm-vpn-properties.c
11614                 - (main): Fix option parsing.  Gnome.org #336847
11615
11616 2006-05-28  Dan Williams  <dcbw@redhat.com>
11617
11618         * gnome/vpn-properties/nm-vpn-properties.c
11619                 - (find_vpn_ui_by_service_name): protect against NULL service names
11620                 - (update_edit_del_sensitivity): protect against NULL service names
11621                         Gnome.org #341306
11622
11623 2006-05-28  Dan Williams  <dcbw@redhat.com>
11624
11625         Patch from Chris Fuller <crf@grandecom.net>:
11626         * src/nm-device-802-11-wireless.c
11627                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11628                         don't dispose of wireless-specific stuff unless it is actually
11629                         initialized.  Gnome.org #341263
11630
11631 2006-05-28  Dan Williams  <dcbw@redhat.com>
11632
11633         * src/NetworkManagerPolicy.c
11634                 - (nm_policy_device_change_check): don't switch devices if the "best"
11635                         AP is essentially the same as the current activation request, but
11636                         the current activation request isn't done activating yet.  Fixes
11637                         multiple requests for keyring password on startup for Gnome applet.
11638                         Gnome.org #341297
11639
11640 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11641
11642         * src/NetworkManager.c: use GOptions instead of getopt
11643         * configure.in: bump glib required version to >= 2.6 for GOption
11644           support
11645
11646 2006-05-25  Robert Love  <rml@novell.com>
11647
11648         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11649           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11650           instead of dumping ifdef's throughout the code.
11651         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11652           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11653           use nm_ioctl_info() in lieu.
11654
11655 2006-05-25  Robert Love  <rml@novell.com>
11656
11657         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11658         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11659           not using gcrypt.  Otherwise, we get a linker error.
11660
11661 2006-05-25  Robert Love  <rml@novell.com>
11662
11663         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11664         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11665           configure flag to disable building of the GNOME-based applet.
11666
11667 2006-05-25  Robert Love  <rml@novell.com>
11668
11669         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11670           parameter from link, because it shadows a global variable with some
11671           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11672           should never have exported to the entire system a common four letter
11673           word.  But we here at NetworkManager are team players.  Fixes
11674           GNOME bug #336532.
11675
11676 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11677
11678         * configure.in: Added mk.po, Macedonian translation.
11679
11680 2006-05-24  Robert Love  <rml@novell.com>
11681
11682         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11683           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11684           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11685
11686 2006-05-24  Robert Love  <rml@novell.com>
11687
11688         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11689           libnm-util/Makefile.am, src/Makefile.am,
11690           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11691           vpn-daemons/openvpn/properties/Makefile.am,
11692           vpn-daemons/pptp/auth-dialog/Makefile.am,
11693           vpn-daemons/pptp/properties/Makefile.am,
11694           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11695           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11696           user passed for --datadir, if anything, when setting the GNOME locale
11697           directory.  It should be a function of the specified datadir and not
11698           the prefix.
11699
11700 2006-05-24  Robert Love  <rml@novell.com>
11701
11702         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11703           src/NetworkManager.c: Take care to call bindtextdomain with the
11704           location of msgid files.
11705         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11706           files.
11707
11708 2006-05-22  Robert Love  <rml@novell.com>
11709
11710         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11711           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11712           99% of the time there is a real problem with wireless, and a
11713           seemingly successful connection via Zeroconf just confuses the user.
11714           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11715
11716 2006-05-22  Robert Love  <rml@novell.com>
11717
11718         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11719           autofs on interface up if NIS is configured.  On interface down, do
11720           nothing.
11721
11722 2006-05-22  Robert Love  <rml@novell.com>
11723
11724         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11725           to avoid calling g_object_unref() on stale pointers on error in
11726           nma_icons_free().  This happens because we short-circuit loaded the
11727           icons on the first failure but then free all icons.  Normally we have
11728           no issue because the icons were zero'ed out malloc, but we have stale
11729           pointer data after nma_icon_theme_changed().
11730         * gnome/applet/main.c: Return error code if nma_new() failed.
11731
11732 2060-05-21  Dan Williams  <dcbw@redhat.com>
11733
11734         * initscript/NetworkManager.in
11735                 - Ensure both dhcdbd and named are started before NM
11736
11737 2006-05-21  Dan Williams  <dcbw@redhat.com>
11738
11739         * configure.in
11740                 - Bump version to 0.7 to signify we are in 0.7 development
11741
11742 2006-05-21  Dan Williams  <dcbw@redhat.com>
11743
11744         Patch from Adam Schreiber <sadam@clemson.edu>
11745         * gnome/vpn-properties/nm-vpn-properties.c
11746                 - (main): correct Gnome program name  (gnome.org #342498)
11747
11748 2006-05-21  Dan Williams  <dcbw@redhat.com>
11749
11750         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11751
11752         * src/NetworkManagerDbus.[ch]
11753                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11754                         clarify that function's argument should be an escaped dbus object
11755                         path, and look for path segment end before returning a match
11756         * src/nm-dbus-nm.c:
11757                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11758
11759 2006-05-17  Robert Love  <rml@novell.com>
11760
11761         Functionality to differentiate Ad-Hoc networks from infrastructure
11762         networks in the applet, by displaying a special icon:
11763         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11764         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11765         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11766           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11767           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11768           networks, encrypted or not.
11769         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11770           accessor functions to get and set the mode of a given network,
11771           wireless_network_get_mode() and wireless_network_set_mode().
11772
11773 2006-05-17  Robert Love  <rml@novell.com>
11774
11775         Functionality to automatically add BSSIDs to the allowed-MAC list as
11776         one roams from access point to access point on a given network:
11777         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11778           helper function to compare two ether_addr structures and return TRUE
11779           if they contain the same MAC address.
11780         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11781           prototype.
11782         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11783           stored with the current AP.  If the BSSID has indeed changed, we
11784           send it out to the applet, allowing the allowed-MAC list to grow
11785           automatically in response to roaming.
11786
11787 2006-05-16  Robert Love  <rml@novell.com>
11788
11789         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11790           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11791
11792 2006-05-13  Dan Williams  <dcbw@redhat.com>
11793
11794         * src/nm-device-802-3-ethernet.c
11795                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11796                         carrier detect (Debian bug #366373)
11797
11798 2006-05-11  Dan Williams  <dcbw@redhat.com>
11799
11800         Patch from Michael Biebl <biebl@teco.edu>
11801         * src/backends/NetworkManagerDebian.c
11802                 - Debian backend fixups
11803
11804 2006-05-10  Robert Love  <rml@novell.com>
11805
11806         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11807
11808 2006-05-09  Robert Love  <rml@novell.com>
11809
11810         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11811           private certificate passphrase, if any, in the GNOME Keyring.
11812         * libnm-utils/dbus-helpers.c: Update.
11813
11814 2006-05-05  Dan Williams  <dcbw@redhat.com>
11815
11816         * src/nm-device-802-11-wireless.c
11817                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11818                         nm_device_802_11_wireless_disable_encryption() since that's all
11819                         we use it for anymore; we don't ever set WEP keys ourselves.
11820                 - (real_deactivate_quickly): reset SSID and encryption keys
11821                 - (real_deactivate): move SSID and encryption key reset to
11822                         real_deactivate_quickly(), which gets run before us anyway
11823
11824 2006-05-05  Robert Love  <rml@novell.com>
11825
11826         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11827           root has a wacky default of its own (or, more common, a user has a
11828           bad umask and uses su/sudo to restart NetworkManager).  Anything
11829           other than 0022 does not do what we want with, for example,
11830           resolv.conf.  This problem is amplified by our judicious use of
11831           fopen(), which uses mode 0666 -- implying that the only way to get
11832           the permissions we want is with a umask of 0022.
11833
11834 2006-05-05  Dan Williams  <dcbw@redhat.com>
11835
11836         * gnome/libnm_glib/libnm_glib.c
11837                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11838                         to reconnect; instead wait a bit more with each reconnect attempt
11839                         up to a max of one minute.
11840
11841 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11842
11843         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11844           the WirelessNetwork structure using the proper function instead of
11845           just casting it directly to (const char *) (gnome.org #336991)
11846
11847 2006-05-03  Robert Love  <rml@novell.com>
11848
11849         * src/backends/NetworkManagerSuSE.c: Respect the variable
11850           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11851           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11852           to dynamically update /etc/resolv.conf.
11853
11854 2006-05-02  Peter Jones  <pjones@redhat.com>
11855
11856         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11857
11858 2006-05-02  Robert Love  <rml@novell.com>
11859
11860         Patch by Timo Hoenig;
11861         * tests/nm-online.c: Print pretty status indicator as timeout winds
11862           down.  Also fix possible race between DBUS startup and failure
11863           return.
11864
11865 2006-05-01  Robert Love  <rml@novell.com>
11866
11867         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11868           empty, too.
11869
11870 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11871
11872         * src/nm-device.c (discover_device_type): Actually use the hal
11873         device type instead of ioctl poking
11874
11875 2006-04-26  Robert Love  <rml@novell.com>
11876
11877         * tests/nm-online.c: New file.  Simple utility that returns exit status
11878           noting whether the connection is offline or online.  If offline on
11879           start, it waits 30 seconds (or a command-line given value) for an
11880           online signal.  If it times out, it again returns offline.  This is
11881           useful for scripts that want to wait for network connections.
11882
11883 2006-04-25  Robert Love  <rml@novell.com>
11884
11885         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11886           key mode (the authentication algorithm), e.g. open or shared, when we
11887           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11888           only shared was broken.  If the user specified a shared key, set it
11889           explicitly, otherwise let wpa_supplicant go with the default.
11890
11891 2006-04-24  Dan Williams  <dcbw@redhat.com>
11892
11893         * src/nm-device-802-11-wireless.c
11894                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11895
11896 2006-04-24  Dan Williams  <dcbw@redhat.com>
11897
11898         Commit the async scanning patch
11899
11900         * src/nm-device-802-11-wireless.c
11901                 - get rid of scan_mutex
11902                 - (wireless_event_helper): act on wireless scan events
11903                 - (real_start): schedule a pending scan
11904                 - (link_to_specific_ap): fake the link to the AP during a scan
11905                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11906                         strength during scans
11907                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11908                         nm_device_set_bitrate): unused with new scanning code, disable
11909                 - (nm_device_wireless_schedule_scan): removed
11910                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11911                 - (request_and_convert_scan_results): new function; retrieve scan
11912                         results from the driver and schedule the processing function
11913                 - (scan_results_timeout): timeout triggered when card doesn't send
11914                         a scan results wireless event during a certain interval
11915                 - (schedule_scan_results_timeout): new function; schedule the scan
11916                         results timeout
11917                 - (cancel_scan_results_timeout): new function; cancel the scan
11918                         results timeout
11919                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11920                         to do the scanning.  Otherwise, just request a scan but don't
11921                         grab results here; instead schedule a timeout for scan results and
11922                         let netlink notify us of scan completion events
11923                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11924                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11925                 - (supplicant_status_cb): ignore disconnect events while scanning
11926                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11927                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11928                         timeouts
11929                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11930
11931 2006-04-24  Dan Williams  <dcbw@redhat.com>
11932
11933         * gnome/applet/applet-dbus.c
11934                 - Disable the pending call debug stuff, seems under control now
11935
11936 2006-04-20  Robert Love  <rml@novell.com>
11937
11938         Fix bug where hidden ESSID's would not show up in the applet, even
11939         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11940         because nm_policy_device_list_update_from_allowed_list() would merge
11941         the data, putting a name to the hidden networks, but never notify NMI
11942         of the changes.  Simple fix is to invoke the function
11943         nm_dbus_signal_wireless_network_change() if we make a mapping.
11944         * src/NetworkManagerAPList.c: Call the function
11945           nm_dbus_signal_wireless_network_change() if we made a successful
11946           BSSID to ESSID mapping, notifying the applet of the "new" network.
11947         * src/NetworkManagerAPList.h: Update the prototypes for both
11948           nm_ap_list_copy_essids_by_address() and
11949           nm_ap_list_copy_one_essid_by_address().
11950
11951 2006-04-20  Robert Love  <rml@novell.com>
11952
11953         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11954           not set.  Just return zero.
11955
11956 2006-04-20  Robert Love  <rml@novell.com>
11957
11958         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11959           only one copy of nm-vpn-properties is running at a time via the 'ol
11960           X selection trick.  This prevents the user from opening two "VPN
11961           Connections" windows from within the applet, which leads to mass
11962           hysteria.
11963         * clipboard.c: New file, implementing simple X selection logic.
11964         * clipboard.h: New file.
11965         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11966
11967 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11968
11969         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11970         * configure.in
11971           initscript/Gentoo/Makefile.am
11972           initscript/Gentoo/NetworkManagerDispatcher.in
11973                 - New script
11974         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11975           Gentopia
11976
11977 2006-04-16  Dan Williams  <dcbw@redhat.com>
11978
11979         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11980         * configure.in
11981           initscript/Slackware/Makefile.am
11982           initscript/Slackware/rc.networkmanager-dispatcher.in
11983           initscript/Slackware/rc.networkmanager.in
11984                 - Update slackware initscripts
11985
11986 2006-04-10  Robert Love  <rml@novell.com>
11987
11988         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11989           the "delete_event" signal on the druid's parent window and handle it
11990           our way, lest using the WM to close the druid results in a series of
11991           bloody and ultimately lethal errors.
11992
11993 2006-04-10  Robert Love  <rml@novell.com>
11994
11995         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11996           'Back' too or else the 'Forward' option is initially disabled despite
11997           valid input.
11998
11999 2006-04-06  Robert Love  <rml@novell.com>
12000
12001         Fix bad but simple bug where an active modem connection did not update
12002         NM's connection state, breaking any app that did online/offline:
12003         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12004           represented whether a dial up connection is active, or not.
12005         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12006           to modem activation and deactivation.
12007         * src/NetworkManagerDbus.c: When asked our state, do not return
12008           disconnected if the modem is active.
12009
12010 2006-04-04  Robert Love  <rml@novell.com>
12011
12012         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12013           applet.  It just confuses the crap out of people and does not make a
12014           lot of sense, as the daemon still runs.
12015
12016 2006-04-02  Tor Krill  <tor@krill.nu>
12017
12018         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12019           in start of service.
12020         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12021           get Archlinux backend up to date.
12022
12023 2006-03-29  Robert Love  <rml@novell.com>
12024
12025         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12026         to add support for per-route MSS and improve support for per-interface
12027         MTU:
12028         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12029           optionally take an MSS parameter and set it for the given route.
12030           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
12031           NMIP4Config's stored MSS, if any.
12032         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12033           the interface's MTU and the route's MSS, respectively.  Add functions
12034           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12035           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12036           MSS.
12037         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12038           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12039           nm_ip4_config_set_mss.
12040         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12041           VPN daemon.
12042         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12043           Change the retval of nm_system_get_mtu to guint32.
12044         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12045           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
12046           servers can specify MTU's, we should set it here if the MTU was not
12047           provided.
12048
12049 2006-03-27  Jürg Billeter  <j@bitron.ch>
12050
12051         * configure.in:
12052         * initscript/Makefile.am:
12053         * initscript/paldo/Makefile.am:
12054         * initscript/paldo/NetworkManager.in:
12055         * initscript/paldo/NetworkManagerDispatcher.in:
12056         * src/backends/Makefile.am:
12057         * src/backends/NetworkManagerPaldo.c:
12058                 - Add paldo support
12059
12060 2006-03-27  Dan Williams  <dcbw@redhat.com>
12061
12062         Patch from Christian Persch <chpe@gnome.org>
12063         * gnome/applet/applet.glade
12064                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12065
12066 2006-03-27  Dan Williams  <dcbw@redhat.com>
12067
12068         Patch from Diffe <diffie@blazebox.homeip.net>
12069         * src/backends/NetworkManagerSlackware.c
12070                 - Don't restart howl, since it's been replaced by Avahi
12071                         in most distributions
12072
12073 2006-03-27  Dan Williams  <dcbw@redhat.com>
12074
12075         Patch from Tor Krill <bugzilla@krill.nu>
12076         * configure.in
12077           initscript/Makefile.am
12078           src/backends/Makefile.am
12079           src/backends/NetworkManagerArch.c
12080           initscript/Arch/Makefile.am
12081           initscript/Arch/networkmanager-dispatcher.in
12082           initscript/Arch/networkmanager.in
12083                 - Add Arch Linux support, fixes gnome.org #335147
12084
12085 2006-03-27  Dan Williams  <dcbw@redhat.com>
12086
12087         Patch from Diffe <diffie@blazebox.homeip.net>
12088      * initscript/Slackware/rc.networkmanager
12089         - update, fixed gnome.org #333368
12090
12091 2006-03-27  Robert Love  <rml@novell.com>
12092
12093         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12094           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12095
12096 2006-03-27  Robert Love  <rml@novell.com>
12097
12098         Patch by Jürg Billeter <j@bitron.ch>:
12099         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12100           systems.
12101         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12102           as we prefer glibc over kernel headers, if possible.
12103
12104 2006-03-27  Robert Love  <rml@novell.com>
12105
12106         Patch by Jon Escombe <list@dresco.co.uk>:
12107         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12108         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12109           fail, don't bail out.  We don't expect all of the various WPA-EAP
12110           values to be present.
12111         * src/nm-ap-security.c: We need to match all capabilities for each
12112           encryption type, not any one of them.
12113
12114 2006-03-27  Robert Love  <rml@novell.com>
12115
12116         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12117           restart, not reload, ypbind.  Unfortunately there is no superior
12118           solution.
12119
12120 2006-03-24  Christopher Aillon  <caillon@redhat.com>
12121
12122         * gnome/applet/applet-notifications.c:
12123         When displaying a notification, make sure to get rid of the
12124         previous notification so as to not have competing bubbles,
12125         and stop leaking the old one.
12126
12127         * gnome/applet/applet.c:
12128         * gnome/applet/applet.h:
12129         Add a new 'notification' member to the applet, and zero it out
12130         and free it appropriately.
12131
12132 2006-03-23  Robert Love  <rml@novell.com>
12133
12134         Patch by j <j@bootlab.org>:
12135         * gnome/applet/applet.glade: Don't set the invisible_char property,
12136           which simply overrides the GTK default.  By and by, this behavior
12137           ought to be fixed in Glade.
12138
12139 2006-03-22  Robert Love  <rml@novell.com>
12140
12141         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12142
12143 2006-03-22  Robert Love  <rml@novell.com>
12144
12145         Bug fix by Timo Hoenig <thoenig@suse.de>:
12146         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12147           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
12148           and the applet going AWOL.
12149
12150 2006-03-22  Robert Love  <rml@novell.com>
12151
12152         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12153           preprocessor define and use it instead of open-coded the DHCP
12154           timeout, which is currently 25 seconds, everywhere.
12155
12156 2006-03-22  Robert Love  <rml@novell.com>
12157
12158         Implement "Dynamic WEP", which is basically WPA authentication and WEP
12159         key exchange via WPA, ostensibly providing good security without
12160         requiring hardware that supports full WPA.  Also, add UI elements to
12161         allow the user to select the pairwise & group cipher for WPA Enterprise
12162         networks, too:
12163         * gnome/applet/applet.glade: Update glade file.
12164         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12165           key type, too, to and from gconf.
12166         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12167           wso_wpa_create_key_type_model(), noting whether we are handling PSK
12168           or EAP configuration, and in the latter case add in "Dynamic WEP" if
12169           the capabilities match.
12170         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12171           prototype.
12172         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12173           serialize from UI to DBUS.
12174         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12175           one element.
12176         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12177           nmu_security_serialize_wpa_eap_with_cipher(), and
12178           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12179           serialize/deserialize the key type via DBUS as the new third DBUS
12180           parameter.
12181         * libnm-util/dbus-helpers.h: Update prototypes.
12182         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12183           too.  If the key type is WEP104, do Dynamic WEP, which means
12184           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
12185           pairwise and group ciphers (fixes a FIXME).
12186
12187 2006-03-21  Robert Love  <rml@novell.com>
12188
12189         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12190           nm_system_get_mtu(), which returns a user-provided or system-mandated
12191           MTU value for a given device, if any, or zero if no such value
12192           exists.  Add nm_system_set_mtu() to set the MTU for a given device
12193           if we have a provided value.
12194         * src/nm-device.c: Set the MTU of devices.
12195         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12196         * src/backends/NetworkManagerDebian.c,
12197           src/backends/NetworkManagerGentoo.c,
12198           src/backends/NetworkManagerRedHat.c,
12199           src/backends/NetworkManagerSlackware.c: Implement stub functions.
12200
12201 2006-03-21  Robert Love  <rml@novell.com>
12202
12203         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12204           configuration file.
12205
12206 2006-03-17  Robert Love  <rml@novell.com>
12207
12208         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12209           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12210           it, in case it is not running in the first place.  We just want its
12211           configuration reloaded.  Also, do not "rcypbind stop" on device down.
12212
12213 2006-03-15  Robert Love  <rml@novell.com>
12214
12215         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12216           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12217           label "WEP 40/128-bit" is inconsistent because the physical key size
12218           is 40 or 104-bits, to which a 24-bit initialisation vector is
12219           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
12220           to read "40/104" or "64/128".  I do not care much which, but most
12221           users think of "silver" and "gold" encryption as 64 and 128-bits, so
12222           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
12223           WEP passphrase support only handles 128-bit keys, and any future
12224           64-bit passphrase support will require a new option (no way to auto-
12225           detect the target key size), explicitly label our passphrase support
12226           "WEP 128-bit Passphrase".
12227
12228 2006-03-15  Robert Love  <rml@novell.com>
12229
12230         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12231           the system init scripts (or some other mechanism) starting it (or a
12232           compatible DBUS service) before NetworkManager runs.  This means that
12233           distributions might need to update their init scripts.  This fixes
12234           possible races and is quite a bit cleaner.
12235         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12236           starting the NetworkManager daemon.
12237
12238
12239 2006-03-14  Robert Love  <rml@novell.com>
12240
12241         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12242           before adding anything.
12243
12244 2006-03-13  Robert Love  <rml@novell.com>
12245
12246         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12247           widgets, too, if they exist, in case the user hit the back button.
12248           Fixes a bug where the details page contains the widgets of multiple
12249           VPN modules (Novell bug #157048).
12250
12251 2006-03-13  Robert Love  <rml@novell.com>
12252
12253         Patch by Timo Hoenig <thoenig@suse.de>:
12254         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12255           daemon survive DBUS restarts, too.
12256
12257 2006-03-10  Robert Love  <rml@novell.com>
12258
12259         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12260           passphrase or key.
12261         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12262           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12263           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12264           in response to "toggled" signal on new toggle.
12265
12266 2006-03-10  Robert Love  <rml@novell.com>
12267
12268         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12269           serialization if strings are NULL, lest DBUS get angry.
12270
12271 2006-03-10  Robert Love  <rml@novell.com>
12272
12273         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12274
12275 2006-03-09  Robert Love  <rml@novell.com>
12276
12277         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12278           configurations.
12279
12280 2006-03-09  Dan Williams  <dcbw@redhat.com>
12281
12282         Track pending call requests in the applet, and report how many are
12283         outstanding, and how long each completed one takes.
12284         
12285         * gnome/applet/applet-dbus-devices.c
12286           gnome/applet/applet-dbus-vpn.c
12287                 - Track pending calls
12288
12289         * gnome/applet/applet-dbus.[ch]
12290                 - Remove some unused enums
12291                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12292                         new functions to track dbus pending calls and spit out some
12293                         statistics about them
12294
12295 2006-03-09  Robert Love  <rml@novell.com>
12296
12297         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12298           nm_ap_set_timestamp() take the second and micro-second parameters as
12299           direct arguments, which avoids both a dynamic memory allocation and a
12300           structure-to-structure copy!  Add a new interface, the aptly named
12301           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12302           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12303           the return from nm_ap_get_timestamp().  New users should use the new
12304           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12305           the extreme benefit to performance.
12306         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12307           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12308
12309 2006-03-08  Robert Love  <rml@novell.com>
12310
12311         * gnome/applet/applet.glade: Hide the password entry text with
12312           asterisks.
12313
12314 2006-03-08  Robert Love  <rml@novell.com>
12315
12316         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12317           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12318           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12319           a second argument, NMData.
12320         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12321         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12322           config files as trusted.
12323
12324 2006-03-06  Robert Love  <rml@novell.com>
12325
12326         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12327         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12328           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12329           Rivera, detect if the applet was auto-started.  If so, ask the user
12330           if he or she would like to stop automatically running the applet on
12331           login.  If so, disable autostart.
12332
12333 2006-03-06  Robert Love  <rml@novell.com>
12334
12335         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12336           directory in CFLAGS so developers can actually use NetworkManager.h.
12337
12338 2006-03-06  Robert Love  <rml@novell.com>
12339
12340         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12341           open-coded integer constants.  Add state_to_string() to map a given
12342           state to a textual description, and provide that when notifying of
12343           state change.
12344         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12345           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12346           this header directly, but it is currently not installed on most
12347           systems.
12348
12349 2006-03-05  Dan Williams  <dcbw@redhat.com>
12350
12351         Process netlink messages in device subclasses rather than in
12352         NetworkManager.c.  Also add support for recognizing Wireless Events.
12353         
12354         * configure.in
12355                 - Find GLIB_GENMARSHAL
12356
12357         * src/Makefile.am
12358                 - Since we're marshalling custom types for wireless event signals,
12359                         we get to create our own marshallers using GLIB_GENMARSHAL
12360
12361         * src/NetworkManager.c
12362                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12363                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12364                         cut down somewhat.  We no longer process signals here.
12365                 - (nm_data_new): create the netlink monitor here, and remove a
12366                         useless call to nm_policy_schedule_device_change_check()
12367                 - (nm_data_free): get rid of the netlink monitor here
12368                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12369                 - (main): don't create the netlink monitor here, let nm_data_new
12370                         do that.  Call nm_policy_schedule_device_change_check() right
12371                         before we jump to the mainloop to figure out which device
12372                         to use first
12373
12374         * src/NetworkManagerSystem.[ch]
12375                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12376                         convert back and forth from interface names to interface
12377                         indexes
12378
12379         * src/nm-device-802-11-wireless.c
12380                 - (real_init): connect to wireless-event signals from the netlink
12381                         monitor object
12382                 - (nm_device_802_11_wireless_event): new function, schedule handler
12383                         for wireless event signals from the netlink monitor object.  We
12384                         want the handler to run in the device's context
12385                 - (wireless_event_helper): handle wireless-event signals from netlink
12386                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12387                         signal handler
12388
12389         * src/nm-device-802-11-wireless.h
12390                 - remove unused prototype for nm_device_802_11_wireless_new
12391
12392         * src/nm-device-802-3-ethernet.c
12393                 - (real_init): new function; set up signal handlers for link events
12394                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12395                         handler for netlink link activated events on device's main loop
12396                 - (link_activated_helper): when we get a link activated event, set
12397                         the device's link to be active
12398                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12399                         handler for netlink link deactivated events on device's main loop
12400                 - (link_deactivated_helper): when we get a link deactivated event, set
12401                         the device's link to be inactive
12402                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12403                         dispose
12404
12405         * src/nm-device-802-3-ethernet.h
12406                 - remove unused prototype for nm_device_802_3_ethernet_new
12407
12408         * src/nm-device.[ch]
12409                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12410                         but locks the device list
12411                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12412
12413         * src/nm-netlink-monitor.[ch]
12414                 - (nm_netlink_monitor_class_install_signals): New signal
12415                         "wireless-event"
12416                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12417                         at the device list
12418                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12419
12420         * src/nm-marshal-main.c
12421                 - Include generated nm-marshal.c and nm-marshal.h
12422
12423         * src/nm-marshal.list
12424                 - List of custom marshal functions
12425
12426 2006-03-05  Dan Williams  <dcbw@redhat.com>
12427
12428         * gnome/applet/applet-notifications.h
12429                 - Protect prototype of nma_send_event_notification() because it
12430                         includes libnotify-specific types
12431                 - Include libnotify/libnotify.h too, since we technically need it
12432
12433         * gnome/applet/applet.c
12434                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12435                 - (nma_show_vpn_login_banner_dialog): add some error checking
12436
12437 2006-03-04  Dan Williams  <dcbw@redhat.com>
12438
12439         Clean up activation cancellation.  Should be a lot faster now.  Observed
12440         an issue with wireless devices between stage 2 and 3 of activation, where
12441         activation would be cancelled, but the device thread wouldn't notice until
12442         the supplicant association timed out.  Reorganize activation such that
12443         a cancellation handler gets immediately scheduled in the device's thread,
12444         and devices have a chance to perform any custom cleanup too.
12445
12446         * src/nm-device.[ch]
12447                 - (activation_cancel_handler): new device-type-specific function
12448                         for cleaning up device-type-specific stuff on cancellation
12449                 - (cancel_activation): removed
12450                 - (nm_device_activation_cancel): subsume functionality of
12451                         real_cancel_activation, but instead of doing anything, punt
12452                         operation to a handler that's run in device-thread context
12453                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12454                         a warning message
12455                 - (activation_handle_cancel_helper): cancellation handler run in
12456                         device-thread context, calls device-type-specific cancelation,
12457                         then tears down the activation request
12458                 - (real_activation_cancel_handler): generic cancellation handler,
12459                         deals with cancelling any in-process DHCP request
12460                 - (nm_device_activate_stage1_device_prepare,
12461                    nm_device_activate_stage2_device_config,
12462                    nm_device_activate_stage3_ip_config_start,
12463                    nm_device_activate_stage4_ip_config_get,
12464                    nm_device_activate_stage4_ip_config_timeout,
12465                    nm_device_activate_stage5_ip_commit): don't call
12466                         nm_device_schedule_activation_handle_cancel() any more, since
12467                         cancellation will have been already scheduled for us by
12468                         nm_device_activation_cancel().  Just exit the function and
12469                         assume that the cancel handler will be called next.
12470
12471         * src/nm-device-802-3-ethernet.c
12472                 - (real_act_stage2_config): remove; didn't do anything anyway
12473
12474         * src/nm-device-802-11-wireless.c
12475                 - (supplicant_status_cb): ensure we don't do anything if the activation
12476                         got cancelled
12477                 - (real_activation_cancel_handler): implement; cancel user key request
12478                         on activation cancellation
12479
12480 2006-03-04  Dan Williams  <dcbw@redhat.com>
12481
12482         * src/nm-device-802-11-wireless.c
12483                 - (supplicant_send_network_config): assume that drivers that don't
12484                         support WPA pretty much suck, and can't handle NM scanning
12485                         along with wpa_supplicant.
12486
12487 2006-03-03  Robert Love  <rml@novell.com>
12488
12489         * configure.in: Bump version to 0.6.0.
12490         * NEWS: Update.
12491
12492 2006-03-03  Robert Love  <rml@novell.com>
12493
12494         * configure.in: Require DBUS 0.60 or later.
12495
12496 2006-03-03  Dan Williams  <dcbw@redhat.com>
12497
12498         Fix a crash if an "Other wireless network" was chosen, failed, then
12499         chosen again from the applet's menu.  If the other network wasn't
12500         noticed in a scan, it wouldn't have any capabilities, but would still
12501         be listed because the user forced the network.  To fix this, we set
12502         sensible capabilities on the forced network, which will get overwritten
12503         with the correct ones if the network shows up later in a scan.
12504         
12505         * src/nm-ap-security.h
12506                 - Add a new "get_default_capabilities_func" member to the
12507                         NMAPSecurity class
12508
12509         * src/nm-ap-security.c
12510                 - (nm_ap_security_get_default_capabilities): new function
12511
12512         * src/nm-ap-security.c
12513           src/nm-ap-security-wep.c
12514           src/nm-ap-security-wpa-psk.c
12515           src/nm-ap-security-wpa-eap.c
12516                 - Implement get_default_capabilities_func() for all, which
12517                         uses the information contained in a specific NMAPSecurity
12518                         object to determine default AP capabilites necessary
12519                         to support that object
12520
12521         As a secondary measure, we now prune artificial access points that fail
12522         to be activated right away.  The thing failed, and we have no scan data for
12523         it, so it's pretty much useless since security information is only saved
12524         in the applets when a connection is successful.
12525
12526         * src/NetworkManagerAPList.c
12527                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12528                         not artificial.  If we see it, it's no longer a figment of the
12529                         user's imagination :)
12530
12531         * src/NetworkManagerPolicy.c
12532                 - (nm_policy_activation_failed): send along the failed AP if we
12533                         have it
12534
12535         * src/nm-device-802-11-wireless.c
12536                 - (real_activation_failure_handler): remove artificial APs from
12537                         the device list, because activation failed
12538
12539 2006-03-02  Robert Love  <rml@novell.com>
12540
12541         Add support for retrieving both the per-device speed and the
12542         per-network maximum supported rate.  Then change the getProperties
12543         DBUS API for both networks and devices to report this informaiton.
12544         Finally, display the information via both nm-applet and nm-tool:
12545         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12546           and set it.
12547         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12548           Information' dialog.
12549         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12550         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12551           network_device_get_speed() and network_device_set_speed() for
12552           retrieving and setting, respectively, a network device's current
12553           speed.
12554         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12555         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12556           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12557           not matter (yet) what the units are, because we only feed it its own
12558           output.  Implement SIOCGIRATE and set the per-network maximum
12559           supported rate during scanning.
12560         * src/nm-device-802-11-wireless.h: Export the function
12561           nm_device_802_11_wireless_get_bitrate().
12562         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12563           function nm_device_802_3_ethernet_get_speed() for returning an
12564           802.3's current speed, in Mb/s.
12565         * test/nm-tool.c: Display the per-device current speed, if available,
12566           and the per-network maximum rate.
12567
12568 2006-03-02  Dan Williams  <dcbw@redhat.com>
12569
12570         * src/nm-device-802-11-wireless.c
12571                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12572                         card when it gets initialized.  Since devices don't get added to
12573                         the scan list until they are initialized, this function wasn't
12574                         setting the intitial scan interval correctly, and was leaving
12575                         it at 0.  This caused cards to get many scan requests in a short
12576                         amount of time when they were initialized
12577
12578 2006-03-02  Robert Love  <rml@novell.com>
12579
12580         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12581           active device.  But do not do what we used to do and override the
12582           state, which caused the dreaded icon race of '05.
12583
12584 2006-03-02  Robert Love  <rml@novell.com>
12585
12586         Commit Dan's update of my previous commit:
12587         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12588           set_mode() function itself does the check.  But do only set the
12589           frequency if in Ad-Hoc mode.
12590
12591 2006-03-02  Robert Love  <rml@novell.com>
12592
12593         Patch by Brian Magnuson <magnuson@rcn.com>:
12594         * src/nm-device-802-11-wireless.c: During scanning, only set the
12595           wireless mode to infrastructure if it is not currently in
12596           infrastructure mode.  For some driver, setting the mode is a costly
12597           operation, apparently.
12598
12599 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12600
12601         * Makefile.am: use the correct dir for autostart mechanism.
12602
12603 2006-02-28  Dan Williams  <dcbw@redhat.com>
12604
12605         Patch from Brian Magnuson <magnuson@rcn.com>
12606         * gnome/applet/applet.c
12607                 - (nma_show_vpn_failure_dialog): fix errors left over from
12608                         libnotify support changes
12609
12610 2006-02-28  Dan Williams  <dcbw@redhat.com>
12611
12612         * src/vpn-manager/nm-vpn-act-request.[ch]
12613                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12614                         just one value
12615                 - (nm_vpn_act_request_is_failed): new function; return whether or
12616                         not the vpn activation request has failed
12617
12618         * src/vpn-manager/nm-vpn-manager.c 
12619                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12620                         daemon to kill the connection when the activation request fails.
12621                         Fixes issue where NM would get confused if the VPN activation
12622                         request timed out, and would not allow further VPN connections
12623                         on that service.
12624
12625 2006-02-28  Dan Williams  <dcbw@redhat.com>
12626
12627         * gnome/applet/applet.c
12628                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12629                         overlapping connection requests, disable all VPN menu items
12630                         but the active VPN connection
12631
12632 2006-02-28  Dan Williams  <dcbw@redhat.com>
12633
12634         * src/vpn-manager/nm-vpn-connection.c
12635                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12636                         called g_object_unref() on the connection's parent device
12637                         when it should have been ref-ed instead.  Fixes crash with
12638                         repeated vpn connect requests
12639
12640 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12641
12642         * gnome/applet/applet.glade:
12643         Mark a few strings non-translatable, since they shouldn't be.
12644
12645 2006-02-28  Dan Williams  <dcbw@redhat.com>
12646
12647         * src/vpn-manager/nm-vpn-service.c
12648                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12649                         already running, don't blindly ask it to connect, but wait until
12650                         it's in the STOPPED state first.  Fixes an assertion when user
12651                         starts a second vpn connection without stopping the first.
12652                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12653                         dbus service exists before continuing with the connection
12654                         process, and reduce latency while waiting for it to become
12655                         available
12656                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12657                         waiting for the vpn service daemon to become available
12658                 - General log message cleanups; show progress via "Stage x of 4"
12659                         rather than not telling anyone how many stages there are
12660
12661 2006-02-28  Robert Love  <rml@novell.com>
12662
12663         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12664         * src/backends/NetworkManagerSuSE.c: Implement the interface
12665           nm_system_should_modify_resolv_conf() for SUSE.
12666         * src/backends/NetworkManagerDebian.c,
12667           src/backends/NetworkManagerGentoo.c,
12668           src/backends/NetworkManagerRedHat.c,
12669           src/backends/NetworkManagerSlackware.c: Add stub.
12670         * src/named-manager/Makefile.am: Grab includes from src.
12671         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12672           automatic updating of resolv.conf.  This is useful for testing,
12673           broken static configurations, and administrator lock-down.
12674
12675 2006-02-28  Dan Williams  <dcbw@redhat.com>
12676
12677         * src/nm-device-802-11-wireless.c
12678                 - Move all the wpa_supplicant-related management stuff into its
12679                         own struct, just for oranization's sake
12680                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12681                         to a GIOChannel/GSource
12682                 - (supplicant_log_stdout): new function; grab output from the
12683                         wpa_supplicant stdout pipe and write it to our logs.
12684
12685 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12686
12687         * src/nm-device-802-11-wireless.c:
12688         Err, fix thinko in my previous commit.
12689
12690 2006-02-28  Robert Love  <rml@novell.com>
12691
12692         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12693
12694 2006-02-28  Robert Love  <rml@novell.com>
12695
12696         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12697           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12698           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12699           deserializers are responsible for freeing the returned DBUS strings.
12700
12701 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12702
12703         * src/nm-device-802-11-wireless.c:
12704         The scan list is being pruned prematurely.  We should prune after
12705         the device has gone MIA for three scans, not one.  Split out the
12706         interval to realtime seconds function to better serve this.
12707
12708 2006-02-27  Robert Love  <rml@novell.com>
12709
12710         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12711           Open the pid file O_TRUNC, so if it already exists we truncate it to
12712           zero length.  Also, be more verbose about warnings generated during
12713           writing out the pid file.  Finally, always write out the pid file if
12714           in daemon mode.  Use "--pid-file" to override the default.
12715
12716 2006-02-27  Robert Love  <rml@novell.com>
12717
12718         Patch by R. Vinay <rvinay@novell.com>:
12719         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12720           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12721           Novell bug #153628).
12722           
12723 2006-02-27  Robert Love  <rml@novell.com>
12724
12725         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12726           entry so user can hit <ENTER> after entering passphrase (Novell bug
12727           #153738).
12728
12729 2006-02-27  Dan Williams  <dcbw@redhat.com>
12730
12731         * gnome/applet/*
12732                 - Mass search/replace of:
12733                         nmwa -> nma
12734                         NMWirelessApplet -> NMApplet
12735                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12736                    (it ain't just for wireless anymore, ma!)
12737                 - Fix duplicate function name printing when using nm_warning
12738                 - wireless-applet.glade -> applet.glade
12739
12740 2006-02-27  Dan Williams  <dcbw@redhat.com>
12741
12742         * dispatcher-daemon/NetworkManagerDispatcher.c
12743                 - Accept --pid-file with a path to a pidfile, write it out on
12744                         startup, and delete it on shutdown
12745
12746         * src/NetworkManager.c
12747                 - Accept --pid-file with a path to a pidfile, write it out on
12748                         startup, and delete it on shutdown
12749                 - Move nm_print_usage() lower
12750
12751         * initscripts/RedHat/NetworkManager.in
12752                 - Use new --pid-file option
12753                 - Fix service stopping to wait a bit for NM to quit
12754
12755         * initscripts/RedHat/NetworkManagerDispatcher.in
12756                 - Use new --pid-file option
12757
12758 2006-02-26  Dan Williams  <dcbw@redhat.com>
12759
12760         * src/Makefile.am
12761                 - make and install nm-crash-logger
12762
12763         * src/nm-logging.[ch]
12764                 - New files; consolidate logging and crash handling
12765
12766         * src/nm-crash-logger.c
12767           src/gdb-cmd
12768                 - Standalong crashlogger for NM, grab a backtrace
12769                         using GDB
12770
12771         * src/NetworkManager.[ch]
12772                 - Remove signal handling and put it into nm-logging.c
12773
12774 2006-02-26  Dan Williams  <dcbw@redhat.com>
12775
12776         * configure.in
12777           gnome/applet/Makefile.am
12778                 - Conditionalize all the notify stuff
12779
12780         Merge most of Chris Aillon's notification patch:
12781         
12782         * gnome/applet/applet-notifications.[ch]
12783                 - New files; show a notification
12784         
12785         * gnome/applet/applet-dbus-devices.[ch]
12786                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12787                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12788                         new functions, do the right thing when a device change occurs
12789
12790         * gnome/applet/applet-dbus.c
12791                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12792                         signals, so we can handle them specially
12793
12794         * gnome/applet/applet.[ch]
12795                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12796                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12797                 - (nmwa_notify_state): remove
12798                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12799                         notification work is now done when the appropriate dbus signals
12800                         are received.
12801                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12802                         defer execution of the notification/dialog stuff.  That was an
12803                         artifact of the previous multi-threaded nature of the applet
12804                         and is now pointless.
12805                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12806                         no longer needed.  Function folded into applet-notifications.c
12807
12808         * src/NetworkManagerPolicy.c
12809                 - (nm_policy_activation_finish): send the AP along with the device
12810                         status change signal, if the connection is wireless.  Should
12811                         fix the race where applet would show a connection to "unknown"
12812
12813 2006-02-25  Robert Love  <rml@novell.com>
12814
12815         Add WPA Enterprise support:
12816         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12817           nm-gconf-wso-wpa-eap.h.
12818         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12819           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12820           serialization and deserialization.
12821         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12822           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12823           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12824         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12825           settings related to WPA Enterprise.
12826         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12827           instantiate WPA Enterprise wireless-security-option.
12828         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12829           Implement WPA Enterprise wireless-security-option object.
12830         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12831           defines.  Cleanup.
12832         * libnm-util/cipher-wpa-psk-hex.c,
12833           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12834         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12835           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12836           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12837           including the cipher to DBUS method, and
12838           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12839           to output.
12840         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12841           nm-ap-security-wpa-eap.h
12842         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12843           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12844         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12845           files.  Implement NMAPSecurityWPA_EAP object.
12846         * src/nm-ap-security-wpa-psk.c: Cleanup.
12847         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12848           an NMAPSecurityWPA_EAP object via the method
12849           nm_ap_security_wpa_eap_new_deserialize().
12850         * src/nm-dbus-nm.c: Cleanup.
12851         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12852           WPA Enterprise support.
12853
12854 2006-02-24  Robert Love  <rml@novell.com>
12855
12856         Patch from Timo Hoenig <thoenig@suse.de>:
12857         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12858
12859 2006-02-24  Robert Love  <rml@novell.com>
12860
12861         Patch from Dan Winship <danw@novell.com>:
12862         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12863           area to transparent.
12864
12865 2006-02-21  Dan Williams  <dcbw@redhat.com>
12866
12867         * gnome/applet/applet.[ch]
12868           gnome/applet/applet-dbus.c
12869                 - Implement notification support for VPN messages too
12870
12871 2006-02-21  Dan Williams  <dcbw@redhat.com>
12872
12873         * gnome/applet/applet-dbus-info.c
12874                 - Clean up warning messages to not double-print the function
12875
12876 2006-02-21  Dan Williams  <dcbw@redhat.com>
12877
12878         * gnome/applet/applet-compat.c
12879                 - (convert_one_entry): accept entries without a key_type and
12880                         convert them to unencrypted networks
12881
12882 2006-02-21  Dan Williams  <dcbw@redhat.com>
12883
12884         * gnome/libnm_glib/libnm_glib.c
12885                 - Use __func__ everywhere we can
12886                 - Code cleanups
12887                 - Use dbus pending calls rather than blocking
12888                 - Reduce busywaits for our thread to start and stop
12889                         (gnome.org #330562)
12890                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12891                         stomp on others using the default shared dbus connection.
12892                         Fixes #rh177546# and gnome.org #326572
12893
12894 2006-02-21  Dan Williams  <dcbw@redhat.com>
12895
12896         Patch from Rodney Dawes <dobey@novell.com>
12897         * configure.in
12898           gnome/applet/Makefile.am
12899           gnome/applet/applet.c
12900                 - Add libnotify support if '--enable-notify=yes' is passed
12901                   at configure time
12902
12903 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12904
12905         * configure.in (ALL_LINGUAS): ko added. (Korean)
12906
12907 2006-02-15  Robert Love  <rml@novell.com>
12908
12909         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12910           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12911           and WPA_SUPPLICANT_CONTROL_SOCKET.
12912         
12913 2006-02-15  Robert Love  <rml@novell.com>
12914
12915         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12916           information about what connection stage we are at, provide the total
12917           number of stages, e.g. "Stage 2 of 5", so users know how far along
12918           they are if they experience problems.
12919
12920 2006-02-15  Robert Love  <rml@novell.com>
12921
12922         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12923           define to $sysconfdir.
12924         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12925           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12926           type of VPN and then editing another results in a mangled dialog
12927           box containing the widgets from both VPNs (fixes Novell #150854).
12928           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12929
12930 2006-02-14  Robert Love  <rml@novell.com>
12931
12932         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12933           syslog's file descriptor.
12934
12935 2006-02-14  Robert Love  <rml@novell.com>
12936
12937         Fix bug around since the change to "deal with APs changing settings on
12938         us," checked in on the fifth of February in the year of the dog, 
12939         wherein connecting to non-broadcast encrypted networks always fails
12940         because nm_ap_get_encrypted() always returns FALSE, even when the user
12941         provided a key, because the newly-created fake AP does not have any
12942         capabilities set, which is a sypmtom of security settings not matching
12943         capabilities (Novell bug #150784):
12944         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12945           nm_ap_add_capabilities_from_security(), which sets the given AP's
12946           capabilities off the given security settings.  Also improve our
12947           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12948           NM_AUTH_CIPHER_AUTO.
12949         * src/nm-device-802-11-wireless.c: Call the function
12950           nm_ap_add_capabilities_from_security() to ensure that capabilities
12951           match newly updated security settings.
12952
12953 2006-02-14  Robert Love  <rml@novell.com>
12954
12955         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12956           error as a string, not an integer, if possible; do not print the
12957           function name twice; always give the interface, if possible; misc.
12958           cleanup.
12959
12960 2006-02-12  Dan Williams  <dcbw@redhat.com>
12961
12962         Patch from Tom Parker <palfrey@tevp.net>
12963         * src/NetworkManagerSystem.h
12964                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12965                         no longer used
12966
12967         * src/backends/NetworkManagerDebian.c
12968                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12969                         unused variables
12970
12971 2006-02-12  Dan Williams  <dcbw@redhat.com>
12972
12973         * vpn-daemons/openvpn/intltool-extract.in
12974           vpn-daemons/openvpn/intltool-merge.in
12975           vpn-daemons/openvpn/intltool-update.in
12976           vpn-daemons/pptp/intltool-extract.in
12977           vpn-daemons/pptp/intltool-merge.in
12978           vpn-daemons/pptp/intltool-update.in
12979                 - Remove from CVS, they should get created by intltoolize,
12980                         shouldn't they?
12981
12982 2006-02-12  Dan Williams  <dcbw@redhat.com>
12983
12984         * vpn-daemons/pptp/src/pppd/patchlevel.h
12985         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12986                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12987                         Makefile-defined VERSION
12988
12989 2006-02-09  Dan Williams  <dcbw@redhat.com>
12990
12991         Patch from: Vinay A R <rvinay@novell.com>
12992         * src/vpn-manager/nm-vpn-act-request.[ch]
12993                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12994                         IPSec VPNs require them for std gateway.
12995                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12996                         and 'user_routes_count'
12997                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12998                         defined routes  from NMVPNActRequest object, returns the string
12999                         array of routes.
13000
13001         * src/vpn-manager/nm-vpn-manager.[ch]
13002                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13003                         for 'user_routes' and 'user_routes_count'
13004         
13005         * src/vpn-manager/nm-dbus-vpn.c
13006                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13007                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13008         
13009         * src/vpn-manager/nm-vpn-service.c
13010                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13011                         the vpn daemon
13012
13013         Modifications by Dan:
13014         * src/vpn-manager/nm-vpn-service.c
13015                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13016                         arrays into dbus
13017
13018         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13019         * vpn-daemons/pptp/src/nm-pptp-service.c
13020         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13021                 - Grab user routes from dbus message
13022                 - Free all string arrays we got from dbus
13023
13024 2006-02-07  Robert Love  <rml@novell.com>
13025
13026         Patch by Stefan Seyfried <seife@suse.de>:
13027         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13028
13029 2006-02-06  Robert Love  <rml@novell.com>
13030
13031         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13032
13033 2006-02-06  Robert Love  <rml@novell.com>
13034
13035         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13036           test ">=" is never false.  If no newline is found, we loop forever.
13037           We can just check for ">" because the following if() will see the
13038           zero-th argument if the while() gets that far.
13039
13040 2006-02-05  Dan Williams  <dcbw@redhat.com>
13041
13042         Refine handling of non-broadcast networks.
13043
13044         * src/NetworkManagerAPList.c
13045                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13046                         property from scanned AP to the AP from the device list
13047
13048         * src/nm-device-802-11-wireless.c
13049                 - (supplicant_send_network_config): use ap_scan=1 for all networks
13050                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
13051                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
13052                         networks since those don't have APs.
13053                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13054                         AP as non-SSID-broadcasting
13055                 - (process_scan_results): don't handle non-SSID-broadcasting here
13056
13057 2006-02-05  Dan Williams  <dcbw@redhat.com>
13058
13059         * src/nm-device-802-11-wireless.c
13060                 - (get_supplicant_timeout): new function; return
13061                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13062                         14 channels.  These are likely a/b/g cards, like Atheros, and
13063                         slow as hell to scan.
13064                 - (supplicant_timeout_cb, supplicant_monitor_start): use
13065                         get_supplicant_timeout()
13066
13067 2006-02-05  Dan Williams  <dcbw@redhat.com>
13068
13069         * src/dhcp-manager/nm-dhcp-manager.c
13070                 - Loose a commit race with Robert; make sure size check
13071                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
13072
13073 2006-02-05  Robert Love  <rml@novell.com>
13074
13075         Patch by Christoph Brill <chrisbrill@gmx.net>:
13076         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13077           with DHCP_SERVICE_NAME.
13078
13079 2006-02-05  Dan Williams  <dcbw@redhat.com>
13080
13081         Remove anything having to do with device_setup_func from the
13082         AP security objects, since it's no longer used.
13083
13084         * src/nm-ap-security.h
13085                 - Kill device_setup_func and nm_ap_security_device_setup()
13086
13087         * src/nm-ap-security-wep.c
13088           src/nm-ap-security-wpa-psk.c
13089                 - (real_device_setup): remove
13090
13091         * src/nm-ap-security.c
13092                 - (real_device_setup): remove
13093                 - (nm_ap_security_device_setup): remove
13094
13095         * src/nm-device-802-11-wireless.[ch]
13096                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13097                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13098                         and done by wpa_supplicant now anyway
13099
13100 2006-02-05  Dan Williams  <dcbw@redhat.com>
13101
13102         * src/nm-device-802-11-wireless.c
13103                 - (ap_need_key, real_act_stage2_config): deal with APs changing
13104                         settings on us.  Previously NM would loop asking for the
13105                         key but getting the same one back.  Now, if the NMI-supplied
13106                         cipher doesn't overlap with the scanned AP capabilities,
13107                         we request a completely new key from the user.
13108
13109 2006-02-05  Dan Williams  <dcbw@redhat.com>
13110
13111         * src/NetworkManagerUtils.c
13112                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13113                         Handle newline killing better
13114
13115 2006-02-05  Dan Williams  <dcbw@redhat.com>
13116
13117         * gnome/applet/nm-gconf-wso.c
13118                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
13119                         of unencrypted access point security info.
13120
13121 2006-02-03  Robert Love  <rml@novell.com>
13122
13123         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13124           user's encryption key, so we print the err_msg_cmd not the command,
13125           if available.  So long as SUPPLICANT_DEBUG is default, this makes
13126           sense.
13127
13128 2006-02-03  Christopher Aillon  <caillon@redhat.com>
13129
13130         * initscript/RedHat/NetworkManagerDispatcher.in:
13131         * initscript/RedHat/NetworkManager.in: modify the pidfile location
13132         Patch from Dan Walsh <dwalsh@redhat.com>
13133
13134 2006-02-03  Robert Love  <rml@novell.com>
13135
13136         * dispatcher-daemon/NetworkManagerDispatcher.c,
13137           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13138           but use the sysconfdir.
13139
13140 2006-02-03  Robert Love  <rml@novell.com>
13141
13142         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13143           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13144           'char *'.
13145         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13146           nm_ip4_config_get_hostname() and
13147           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13148         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
13149           leak g_strdup() result.
13150
13151 2006-02-03  Robert Love  <rml@novell.com>
13152
13153         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13154           broadcast == TRUE.  Also, copy broadcast and artificial properties
13155           from source network to destination in nm_ap_copy().
13156         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13157           since we now default new networks to non-hidden.
13158
13159 2006-02-03  Dan Williams  <dcbw@redhat.com>
13160
13161         * gnome/applet/main.c
13162                 - (main): change the NEVER->ALWAYS so we start at the
13163                         beginning of the session, if being session-managed
13164
13165 2006-02-03  Dan Williams  <dcbw@redhat.com>
13166
13167         * gnome/applet/main.c
13168                 - (main): in a variation on Robert's patch, change
13169                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
13170                         he wants.
13171
13172 2006-02-02  Robert Love  <rml@novell.com>
13173
13174         * src/Makefile.am: If we aren't going to create the run directory at,
13175           uh, run-time, create it during install.  Then users just doing
13176           'make install' are cool, too.  While we are here, create the
13177           dispatcher.d directory, too.
13178         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13179           the exact run directory.
13180         * Makefile.am: Install nm-applet.desktop.
13181
13182 2006-02-02  Robert Love  <rml@novell.com>
13183
13184         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13185           structure, which denotes whether or not the AP is hidden.  This is a
13186           superset of 'artificial' -- we need 'broadcast' because a hidden AP
13187           can show up in the scan list.  Add nm_ap_get_broadcast() and
13188           nm_ap_set_broadcast() accessor interfaces.
13189         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13190           nm_ap_set_broadcast().
13191         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13192           "getProperties" method, which denotes whether or not the given
13193           network is hidden.
13194         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13195           an artificial network.  Set broadcast to TRUE when scanning returns
13196           an ESSID and FALSE when not.
13197         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13198           from "getProperties" method on a network.  Possible TODO is to
13199           somehow display this.
13200         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13201
13202 2006-02-02  Dan Williams  <dcbw@redhat.com>
13203
13204         * src/nm-device-802-11-wireless.c
13205                 - (supplicant_interface_init): don't try to create
13206                         /var/run/NetworkManager, since that should be done by
13207                         the distro package.  Causes problems for stuff like SELinux
13208
13209 2006-02-02  Robert Love  <rml@novell.com>
13210
13211         Patch by Sureshkumar T <tsureshkumar@novell.com>:
13212         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13213           Check for and handle empty string for iface.
13214
13215 2006-02-01  Robert Love  <rml@novell.com>
13216
13217         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13218           manpage.
13219
13220 2006-01-31  Dan Williams  <dcbw@redhat.com>
13221
13222         * nm-applet.desktop
13223                 - Add --sm-disable to Exec arguments, presuming that when
13224                         using autostart, we don't want session management
13225
13226 2006-01-31  Robert Love  <rml@novell.com>
13227
13228         * src/NetworkManagerAP.c: Add two new manufacturer default network
13229           names: linksys-a and linksys-g.  These are found (at least) on the
13230           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13231           own ESSID.
13232
13233 2006-01-31  Robert Love  <rml@novell.com>
13234
13235         * src/NetworkManagerAP.c: Optimize the function
13236           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
13237           machine code.  This is the first in a series of code tweaks aiming to
13238           generate better machine code and make NetworkManager all the better.
13239           Just kidding.  Who has time to go through the assembly generated for
13240           every function?  I certainly don't.  I have a wife, a kid, a job,
13241           a mortgage, a mistress.  But this function was so bad, I was called
13242           to arms.  Like the book.
13243
13244 2006-01-31  Robert Love  <rml@novell.com>
13245
13246         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13247           AP is not broadcasting, to scan with probe request frames.  Required
13248           for non-broadcast networks.
13249
13250 2006-01-31  Robert Love  <rml@novell.com>
13251
13252         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13253           preprocessor define (still 20s).  Fix message text in nm_info()
13254           s/too too/took too/.
13255
13256 2006-01-30  Dan Williams  <dcbw@redhat.com>
13257
13258         * src/nm-device-802-11-wireless.c
13259                 - (supplicant_monitor_start): increase connect/auth timeout to
13260                         20 seconds from 10 seconds
13261
13262 2006-01-30  Dan Williams  <dcbw@redhat.com>
13263
13264         * src/Makefile.am
13265                 - Define LOCALSTATEDIR
13266
13267         * src/nm-device-802-11-wireless.c
13268                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13269                         socket where we want it to
13270
13271         * src/wpa_ctrl.[ch]
13272                 - (wpa_ctrl_open): accept location to put local control socket
13273
13274 2006-01-30  Robert Love  <rml@novell.com>
13275
13276         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13277           get_ip4_string() for "domain_name".
13278
13279 2006-01-30  Robert Love  <rml@novell.com>
13280
13281         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13282           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13283           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13284           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13285           support for "Automatic" pairwise and group cipher configuration by
13286           letting wpa_supplicant handle the details.  Add UI elements, new
13287           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13288           charm.  Note this does more than add a nice feature, it fixes a bug.
13289           Apparently, some people have AP's where the pairwise cipher does not
13290           match the group cipher.  Insane, but true.
13291
13292 2006-01-30  Dan Williams  <dcbw@redhat.com>
13293
13294         * gnome/applet/applet-dbus-devices.c
13295                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13296                         functions, grab device driver name from NetworkManager
13297                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13298
13299         * gnome/applet/applet.c
13300                 - (nmwa_update_info): show driver name in Connection Information
13301                         dialog
13302
13303         * gnome/applet/nm-device.[ch]
13304                 - (network_device_get_driver, network_device_set_driver): add
13305                         accessors for driver name
13306
13307         * gnome/applet/wireless-applet.glade
13308                 - Add line for driver name to Connection Information dialog
13309
13310         * src/nm-dbus-device.c
13311                 - (nm_dbus_device_get_driver): new function to return driver name
13312                 - (nm_dbus_device_methods): hook up driver name function to dbus
13313
13314         * test/nm-tool.c
13315                 - (get_driver_name): new function
13316                 - (detail_device): grab and show driver name
13317
13318 2006-01-30  Robert Love  <rml@novell.com>
13319
13320         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13321           does not parse the markup if it is not part of the format.
13322
13323 2006-01-30  Robert Love  <rml@novell.com>
13324
13325         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13326           FALSE, we have no security options for this dialog, so we throw up
13327           an error dialog instead of a broken passphrase dialog.  Fixes
13328           Novell #138404.
13329         * gnome/applet/wireless-security-manager.c,
13330           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13331           does not add any security options, not even NONE, print a warning
13332           and return FALSE.  This let's functions constructing a dialog bail
13333           out if the device's capabilities and the network's requirements have
13334           zero overlap.
13335
13336 2006-01-27  Robert Love  <rml@novell.com>
13337
13338         * configure.in: Require wpa_supplicant.  Detect location of binary and
13339           use it.  Override with "--with-wpa_supplicant=foo".
13340         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13341           path to wpa_supplicant but use the auto-detected or user-provided
13342           value from configure.
13343
13344 2006-01-27  Robert Love  <rml@novell.com>
13345
13346         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13347           but the DHCP server did not return a hostname, try to look up our
13348           name via DNS and set the system hostname to that.
13349
13350 2006-01-27  Dan Williams  <dcbw@redhat.com>
13351
13352         * src/backends/NetworkManagerRedHat.c
13353                 - Add NM_CONTROLLED system network script support for RH/Fedora
13354
13355 2006-01-27  Dan Williams  <dcbw@redhat.com>
13356
13357         * src/backends/NetworkManagerGentoo.c
13358                 - (nm_system_device_get_disabled): add missing function.
13359                         Gnome BZ #328780
13360
13361 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13362
13363         * configure.in: Added vi in ALL_LINGUAS line.
13364         
13365 2006-01-26  Robert Love  <rml@novell.com>
13366
13367         * src/Makefile.am, src/kernel-types.h: Now that two different source
13368           files are feeling the crack-addled leakage of kernel types such as
13369           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13370           types in user-space -- define a header and include it as needed.
13371         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13372         * src/nm-device-802-3-ethernet.h: Remove defines.
13373         * src/wpa.c: Remove defines and include kernel-types.h.
13374
13375 2006-01-26  Robert Love  <rml@novell.com>
13376
13377         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13378           work.
13379
13380 2006-01-26  Robert Love  <rml@novell.com>
13381
13382         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13383         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13384           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13385           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13386           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13387           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13388           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13389           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13390           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13391           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13392           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13393           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13394           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13395           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13396           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13397           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13398           Kill unused variables, labels, and static functions.  Don't pass
13399           string literals as the format string for printf-like functions.
13400
13401 2006-01-25  Dan Williams  <dcbw@redhat.com>
13402
13403         * gnome/applet/wireless-applet.glade
13404                 - Remove WPA2 Checkbox
13405
13406         * gnome/applet/wireless-security-manager.c
13407                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13408                         This means the Wireless Security menu now has two WPA options,
13409                         one for "WPA Personal" and one for "WPA2 Personal"
13410
13411         * gnome/applet/wso-wpa-psk.[ch]
13412                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13413                         'wpa2' argument to determine WPA version to use
13414                 - (append_dbus_params_func): pass stored WPA version to cipher
13415                         rather than using the (removed) checkbox
13416
13417 2006-01-24  Robert Love  <rml@novell.com>
13418
13419         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13420           before we g_strdup(), not the ultimate string.
13421
13422 2006-01-23  Dan Williams  <dcbw@redhat.com>
13423
13424         * src/NetworkManagerAP.[ch]
13425                 - (nm_ap_new_from_ap): copy original essid too
13426                 - (nm_ap_unref): free original essid
13427                 - (nm_ap_get_orig_essid): new function
13428                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13429                         but keep original essid around too
13430
13431         * src/nm-device-802-11-wireless.c
13432                 - (supplicant_send_network_config): send wpa_supplicant the
13433                         _original_ essid, and not as a string, but in hex.  Should
13434                         allow us to connect to more APs that use wierd character
13435                         encodings for their essids
13436
13437         * utils/nm-utils.[ch]
13438                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13439                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13440                         use the current locale as a hint for what encoding the essid
13441                         might be in.  Obviously not 100% accurate, but the idea here is
13442                         that if a user's locale is ex. ja_JP, they are more likely than
13443                         not to be in Japan, where access points will likely be in some
13444                         Japanese encoding.
13445
13446 2006-01-23  Dan Williams  <dcbw@redhat.com>
13447
13448         * libnm-util/cipher-private.h
13449           libnm-util/cipher.c
13450           libnm-util/cipher.h
13451                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13452
13453 2006-01-23  Robert Love  <rml@novell.com>
13454
13455         Patch by Timo Hoenig <thoenig@suse.de>:
13456         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13457           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13458           by DHCP and pass it to the backends, allowing distribution-specific
13459           behavior with respect to the DHCP-supplied hostname (if nothing else,
13460           some distributions might not want to set the hostname).
13461         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13462           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13463           Also update our NIS behavior.
13464         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13465           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13466           Add stub functions.
13467
13468 2006-01-23  Robert Love  <rml@novell.com>
13469
13470         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13471           gnome-session does autostart.  TODO: We need to install this to
13472           $prefix/share/autostart/.
13473
13474 2006-01-22  Dan Williams  <dcbw@redhat.com>
13475
13476         * src/NetworkManagerAP.[ch]
13477           src/nm-dbus-nmi.c
13478           src/nm-device-802-11-wireless.c         
13479                 - Make nm_ap_get_essid return "const char *"
13480
13481 2006-01-22  Dan Williams  <dcbw@redhat.com>
13482
13483         * src/NetworkManagerAP.[ch]
13484                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13485
13486         * src/NetworkManagerAPList.[ch]
13487                 - (nm_ap_list_diff): removed
13488                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13489                         deal with access points changing essids on us
13490
13491         * src/nm-device-802-11-wireless.c
13492                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13493                         src/NetworkManagerAPList.c
13494                 - (real_can_interrupt_activation): new function; allow interruption
13495                         of device activation if we are waiting for a network key
13496
13497         * src/NetworkManagerPolicy.c
13498                 - (nm_policy_device_change_check): allow interruption of currently
13499                         activating devices if the device allows it.  Previous behavior
13500                         would refuse to activate a just-plugged wired device if a
13501                         wireless device was waiting for a key.
13502
13503         * src/nm-device.[ch]
13504                 - (nm_device_can_interrupt_activation): new function; ask devices
13505                         whether their activation can be interrupted
13506
13507 2006-01-20  Robert Love  <rml@novell.com>
13508
13509         * Makefile.am, configure.in: Add new man subdirectory.
13510         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13511           man/Makefile.am: Add man pages for NetworkManager and its
13512           crime-solving bumbling buddy, NetworkManagerDispatcher.
13513         * man/.cvsignore: Add.
13514         * initscript/Debian/NetworkManager,
13515           initscript/Gentoo/NetworkManager.in,
13516           initscript/RedHat/NetworkManager.in,
13517           initscript/RedHat/NetworkManagerDispatcher.in,
13518           initscript/SUSE/networkmanager-dispatcher.in,
13519           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13520
13521 2006-01-20  Robert Love  <rml@novell.com>
13522
13523         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13524           instead of queuing.  This prevents the running of multiple NM
13525           daemons concurrently, which does not work whatsoever and results in
13526           neither daemon working correctly.  Also, we don't handle queuing and
13527           name-owner-changes, anyhow.
13528
13529 2006-01-20  Robert Love  <rml@novell.com>
13530
13531         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13532         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13533           to sbin, not bin.
13534
13535 2006-01-19  Robert Love  <rml@novell.com>
13536
13537         * configure.in: Require hal 0.5.0 or later.
13538
13539 2006-01-18  Robert Love  <rml@novell.com>
13540
13541         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13542           Allow backends to flag a device (in whatever distro-dependent way
13543           they so desire) as disabled.  NM will ignore any such device.
13544         * src/backends/NetworkManagerDebian.c,
13545           src/backends/NetworkManagerRedHat.c,
13546           src/backends/NetworkManagerSlackware.c: Add stub function
13547           nm_system_device_get_disabled() that always returns FALSE (enabled).
13548         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13549           SUSE-specific configuration structure.  Fill it in from the
13550           NM_CONTROLLED variable in the system networking scripts.  If this var
13551           exists and is "no", we ignore the device.
13552
13553 2006-01-17  Robert Love  <rml@novell.com>
13554
13555         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13556           identical for NM.  For a full discussion, see the thread at
13557           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13558
13559 2006-01-17  Dan Williams  <dcbw@redhat.com>
13560
13561         * src/nm-device.c
13562                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13563                         function.  Fixes crash when wired DHCP fails.
13564
13565 2006-01-16  Robert Love  <rml@novell.com>
13566
13567         * src/Makefile.am: Don't install NMLoadModules
13568         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13569           from src/ to test/ as no one uses it anymore.  Note that I would be
13570           fine with removing it altogether.
13571
13572 2006-01-16  Robert Love  <rml@novell.com>
13573
13574         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13575           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13576           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13577           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13578           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13579           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13580           declarations, ever.
13581         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13582           NM_STATE_DISCONNECTED is zero).
13583
13584 2006-01-16  Robert Love  <rml@novell.com>
13585
13586         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13587           uninitialized parameter and buffer overflow.  Novell #143496.
13588
13589 2006-01-16  Dan Williams  <dcbw@redhat.com>
13590
13591         Apply the PtP Address bits of a patch from Tim Niemueller
13592
13593         * src/nm-ip4-config.[ch]
13594                 - Add ip4_ptp_address member to object
13595                 - (nm_ip4_config_copy): copy ptp address too
13596                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13597                         new functions
13598                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13599                         rather than local tunnel ip address
13600
13601         * src/vpn-manager/nm-vpn-service.c
13602                 - (print_vpn_config): update for PtP address
13603                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13604                         DBusMessageIters in preparation for getting routes from the VPN
13605                         service daemons too
13606
13607         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13608                 - (send_config_info): update for PtP address, clean up code
13609                 - (main): update for PtP address, clean up code, fix typo
13610
13611         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13612                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13613
13614         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13615                 - (pptp_ip_up): update for PtP address
13616
13617         * vpn-daemons/pptp/src/nm-pptp-service.c
13618                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13619
13620         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13621                 - (print_vpn_config): update for PtP address
13622                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13623
13624 2006-01-16  Dan Williams  <dcbw@redhat.com>
13625
13626         * gnome/applet/applet.c
13627                 - (nmwa_add_networks_helper): don't indicate an active network
13628                         if NM is disconnected or asleep
13629
13630 2006-01-16  Dan Williams  <dcbw@redhat.com>
13631
13632         * src/NetworkManagerPolicy.c
13633                 - (nm_policy_device_change_check): switch devices if we lose the link
13634                         on an ethernet device. 
13635
13636 2006-01-16  Dan Williams  <dcbw@redhat.com>
13637
13638         * gnome/applet/wso-wpa-psk-hex.[ch]
13639                 - Renamed -> wso-wpa-psk.[ch]
13640
13641         * gnome/applet/wso-wpa-psk.[ch]
13642                 - New files
13643
13644         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13645                 - Removed, rolled into wso-wpa-psk.[ch]
13646
13647         * gnome/applet/Makefile.am
13648                 - Updated for above changes
13649
13650         * gnome/applet/wireless-applet.glade
13651                 - Consolidate WPA-PSK options into one notebook
13652                         widget, and make dialogs invisible by default
13653                         to fix screen oddities
13654
13655         * gnome/applet/wireless-security-manager.c
13656                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13657                         than both the old hex & passphrase ones
13658
13659 2006-01-16  Dan Williams  <dcbw@redhat.com>
13660
13661         * gnome/applet/other-network-dialog.c
13662                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13663
13664 2006-01-16  Dan Williams  <dcbw@redhat.com>
13665
13666         * gnome/applet/applet.c
13667                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13668                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13669                         prevention to realize window before trying to get server
13670                         time
13671
13672         * gnome/applet/other-network-dialog.c
13673                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13674                         prevention to realize window before trying to get server
13675                         time
13676
13677         * gnome/applet/passphrase-dialog.c
13678                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13679                         prevention to realize window before trying to get server
13680                         time
13681
13682 2006-01-16  Robert Love  <rml@novell.com>
13683
13684         Patch from Timo Hoenig  <thoenig@suse.de:
13685         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13686           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13687           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13688           libnm-util/dbus-helpers.h: add checks whether headers are used
13689           within a C++ build.
13690
13691 2006-01-16  Dan Williams  <dcbw@redhat.com>
13692
13693         * gnome/applet/wireless-security-option.c
13694                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13695
13696 2006-01-16  Dan Williams  <dcbw@redhat.com>
13697
13698         * libnm-util/cipher-wpa-psk-passphrase.c
13699                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13700                         be 8 - 63 characters inclusive
13701
13702 2006-01-16  Dan Williams  <dcbw@redhat.com>
13703
13704         * src/nm-dbus-nm.c
13705                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13706
13707 2006-01-13  Robert Love  <rml@novell.com>
13708
13709         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13710         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13711           modules that do not use an interface.
13712
13713 2006-01-13  Dan Williams  <dcbw@redhat.com>
13714
13715         * src/nm-device.c
13716           src/nm-device.h
13717                 - Allow subclasses to implement deactivate_quickly()
13718                 - (nm_device_deactivate_quickly): call subclass
13719                         deactivate_quickly() methods
13720                 - (nm_device_set_active_link): small cleanups, and don't
13721                         deactivate the device right away because we risk a deadlock
13722                         when called from device thread, waiting for the device
13723                         thread to cancel activation
13724
13725         * src/nm-device-802-11-wireless.c
13726                 - (real_deactivate_quickly): new function
13727                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13728                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13729                         so that we kill the supplicant when we sleep too
13730                 - (supplicant_interface_init): work around naive naming attempts of
13731                         wpa_ctrl when naming sockets
13732
13733 2006-01-13  Dan Williams  <dcbw@redhat.com>
13734
13735         * src/nm-device-802-11-wireless.c
13736                 - (supplicant_cleanup): delete old device control sockets too
13737                 - (supplicant_get_device_socket_path): new function to consolidate
13738                         locations that need a path to a device's control socket
13739
13740 2006-01-12  Robert Love  <rml@novell.com>
13741
13742         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13743           description so that the description is unique for each
13744           pair (device,provider).  Fixes Novell #142773.
13745
13746 2006-01-12  Dan Williams  <dcbw@redhat.com>
13747
13748         * src/nm-device-802-11-wireless.c
13749                 - (supplicant_exec): ensure GError is correctly initialized
13750                         Reported by Diego González (gnome.org #326708)
13751
13752 2006-01-11  Robert Love  <rml@novell.com>
13753
13754         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13755           define if_mii(), open code the same results, and do so without any
13756           type punning.
13757
13758 2006-01-11  Robert Love  <rml@novell.com>
13759
13760         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13761           that wso_foo_new() returned non-NULL.  Instead, only append the new
13762           wso to wsm->options if the wso is non-NULL.  The crux is that we
13763           assume that the relevant key types are implied by WEP and WPA as
13764           appropriate.  To be sure, they should be, but we should not expect
13765           drivers to not be oozing piles of wolf fecal matter.
13766
13767 2006-01-11  Robert Love  <rml@novell.com>
13768
13769         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13770         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13771           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13772           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13773           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13774           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13775           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13776         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13777           comparing values within DBL_EPSILON.  Also fix shadowed variable
13778           usage.
13779
13780 2006-01-11  Dan Williams  <dcbw@redhat.com>
13781
13782         Add options for WPA2 and WPA1+CCMP (AES).
13783
13784         * gnome/applet/wireless-applet.glade
13785                 - Add UI bits for WPA+CCMP
13786
13787         * gnome/applet/other-network-dialog.c
13788                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13789                         and don't allow creation of WPA2 Ad-Hoc networks since
13790                         wpa_supplicant doesn't support them
13791
13792         * gnome/applet/wireless-security-manager.c
13793                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13794                         on to the specific wireless security option being created
13795
13796         * gnome/applet/wireless-security-option.[ch]
13797                 - (wso_wpa_create_key_type_model): new utility function to create
13798                         the model required for WPA Key Type combo box
13799
13800         * gnome/applet/wso-private.h
13801           gnome/applet/wireless-security-option.h
13802                 - Move private function prototypes into wso-private.h
13803
13804         * gnome/applet/wso-wpa-psk-hex.[ch]
13805           gnome/applet/wso-wpa-psk-passphrase.[ch]
13806                 - (append_dbus_params_func): get WPA version from checkbox and pass
13807                         it to the dbus serialization helper
13808                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13809                         key type combo changes
13810                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13811                         model and options
13812
13813         * libnm-util/cipher-wpa-psk-hex.c
13814           libnm-util/cipher-wpa-psk-passphrase.c
13815                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13816                         new function; allow the cipher to be changed after object creation
13817
13818         * src/nm-ap-security-wpa-psk.c
13819                 - (set_description): Do WPA2 descriptions too
13820
13821         * src/nm-ap-security.c
13822                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13823
13824 2006-01-11  Robert Love  <rml@novell.com>
13825
13826         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13827           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13828           from the ifreq structure in lieu of an open coded solution.  Removes
13829           a life-threatening type-punning.
13830         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13831           types, ever, whatsoever, baby.
13832
13833 2006-01-11  Robert Love  <rml@novell.com>
13834
13835         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13836           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13837           assignments to applet->nm_state into a new nmwa_set_state() function
13838           for both cleanliness and to help debugging.
13839
13840 2006-01-10  Robert Love  <rml@novell.com>
13841
13842         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13843           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13844           seconds, exclusive.  That is, we want to sleep x seconds such that
13845           1 < x < 2.
13846
13847 2006-01-10  Robert Love  <rml@novell.com>
13848
13849         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13850           the attr fields according to the example in the email available at
13851           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13852           Conversely, we do have to free 'name', so we do so, fixing a leak.
13853
13854 2006-01-10  Robert Love  <rml@novell.com>
13855
13856         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13857           sure that we close the socket!
13858
13859 2006-01-10  Robert Love  <rml@novell.com>
13860
13861         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13862           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13863           src/nm-device.c: Fix a FIXME!  Reimplement the function
13864           nm_device_update_hw_address() in device subclass variants,
13865           nm_device_802_3_ethernet_set_address() and
13866           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13867           This fixes the existing bug where MAC addresses are all zeros.
13868
13869 2006-01-10  Robert Love  <rml@novell.com>
13870
13871         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13872           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13873           option to give users ability to globally disconnect and put NM to
13874           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13875           clean disconnect.
13876
13877 2006-01-09  Robert Love  <rml@novell.com>
13878
13879         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13880           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13881           User-space does not supply these types, so we have to define them
13882           ourselves.  The relevant kernel maintainer refused to accept a patch
13883           switching these headers to the proper C99 types.
13884
13885 2006-01-09  Dan Williams  <dcbw@redhat.com>
13886
13887         Apply Robert's 'tray icon redo' patch with fixes
13888         * gnome/applet/applet.c
13889           gnome/applet/applet.h
13890                 - Instead of using a menu bar + menu item, simulate menu
13891                         behavior using a popup menu.  Highlight the area around
13892                         the icon more like a menu too, by playing with the
13893                         applet's size requisition
13894
13895 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13896         * libnm-util/dbus-helpers.c
13897           libnm-util/dbus-helpers.h
13898                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13899                         to 'exception_namespace' (:namespace is a keyword in
13900                         C++)
13901
13902 2006-01-09  Dan Williams  <dcbw@redhat.com>
13903
13904         * src/NetworkManagerPolicy.c
13905                 - (nm_policy_device_change_check): don't autoswitch away from
13906                         Ad-Hoc networks, since there's really no concept of
13907                         "link"
13908
13909         * src/nm-dbus-nm.c
13910                 - (nm_dbus_nm_create_wireless_network): mark created networks
13911                         as Ad-Hoc networks
13912
13913         * src/nm-device-802-11-wireless.c
13914                 - (real_activation_success_handler): add user-created Ad-Hoc
13915                         networks to the device's scan list
13916
13917 2006-01-08  Dan Williams  <dcbw@redhat.com>
13918
13919         We now require a patch for wpa_supplicant to support Ad-Hoc
13920         networks:
13921           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13922
13923         * src/nm-device-802-11-wireless.c
13924                 - (supplicant_send_network_config): turn off wpa_supplicant's
13925                         scanning.  Fixes Ad-Hoc networks.
13926
13927 2006-01-08  Dan Williams  <dcbw@redhat.com>
13928
13929         * src/nm-ap-security.c
13930           src/nm-ap-security.h
13931                 - Add a user_created argument to the write_supplicant_config
13932                         functions
13933
13934         * src/nm-ap-security-wep.c
13935           src/nm-ap-security-wpa-psk.c
13936           src/nm-device-802-11-wireless.c
13937                 - Make Ad-Hoc mode somewhat work, at least write the
13938                         correct options to wpa_supplicant
13939
13940 2006-01-08  Dan Williams  <dcbw@redhat.com>
13941
13942         * src/nm-device-802-11-wireless.c
13943                 - Remove unused code from the old device activation path
13944
13945 2006-01-08  Dan Williams  <dcbw@redhat.com>
13946
13947         * libnm-util/dbus-helpers.c
13948                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13949                         dbus when key == NULL
13950
13951 2006-01-08  Dan Williams  <dcbw@redhat.com>
13952
13953         * gnome/applet/nm-gconf-wso-wpa-psk.c
13954                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13955                         correct arguments to nmu_security_deserialize_wpa_psk()
13956
13957         * src/nm-ap-security-wpa-psk.c
13958                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13959                         arguments to nmu_security_deserialize_wpa_psk()
13960
13961 2006-01-08  Dan Williams  <dcbw@redhat.com>
13962
13963         * gnome/applet/wso-wpa-psk-hex.c
13964           gnome/applet/wso-wpa-psk-passphrase.c
13965                 - Hook up the append_dbus_params_func() function
13966
13967 2006-01-08  Dan Williams  <dcbw@redhat.com>
13968
13969         * src/nm-device-802-11-wireless.c
13970                 - (get_wireless_capabilities): correctly detect driver WPA
13971                         capabilities
13972
13973 2006-01-08  Dan Williams  <dcbw@redhat.com>
13974
13975         * gnome/applet/Makefile.am
13976           gnome/applet/wso-wpa-psk-hex.c
13977           gnome/applet/wso-wpa-psk-hex.h
13978                 - New files, implement WPA-PSK Hex key input
13979
13980         * gnome/applet/wireless-applet.glade
13981                 - Change existing wpa-psk stuff to wpa-psk-hex
13982                 - Add new widgets for wpa-psk-passphrase
13983
13984         * gnome/applet/wireless-security-manager.c
13985                 - (wsm_set_capabilities): enable WPA options
13986
13987         * gnome/applet/wso-wpa-psk-passphrase.c
13988                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13989                         for WPA-PSK passphrase
13990
13991 2006-01-08  Dan Williams  <dcbw@redhat.com>
13992
13993         * include/NetworkManager.h
13994                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13995                         applet/info-daemons
13996
13997         * gnome/applet/passphrase-dialog.c
13998                 - Use the constant.  Fixes a bug where the arguments to
13999                         dbus_message_new_error() were incorrect
14000
14001         * src/nm-dbus-nmi.c
14002                 - Use the constant
14003
14004 2006-01-07  Dan Williams  <dcbw@redhat.com>
14005
14006         * src/nm-device-802-11-wireless.c
14007                 - Add a link timeout so we allow the supplicant time to
14008                         reassociate if it can, before we deactivate the card
14009                 - Fix up link status and link updating so things work better
14010
14011 2006-01-07  Dan Williams  <dcbw@redhat.com>
14012
14013         * src/nm-device-802-11-wireless.c
14014                 - Switch over to using wpa_supplicant
14015                 - Add a timeout of 10s for association of the supplicant
14016                 - Start the monitor callback of the supplicant
14017
14018 2006-01-07  Dan Williams  <dcbw@redhat.com>
14019
14020         * src/NetworkManagerUtils.c
14021                 - (nm_utils_supplicant_request,
14022                   nm_utils_supplicant_request_with_check):
14023                         pass correct buffer length to wpa_ctrl_request()
14024
14025 2006-01-07  Dan Williams  <dcbw@redhat.com>
14026
14027         * src/nm-device-private.h
14028           src/nm-device.c
14029                 - (nm_device_activate_schedule_stage3_ip_config_start): make
14030                         this function available to subclasses
14031
14032 2006-01-06  Robert Love  <rml@novell.com>
14033
14034         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14035           user plugging in a network cable signals their preference for to
14036           switch, unless the user explicitly selected a wireless network and
14037           therefore signaled their preference for said wireless network over
14038           wired.  In other words, do exactly what makes sense.
14039
14040 2006-01-06  Robert Love  <rml@novell.com>
14041
14042         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14043           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14044           src/NetworkManagerWireless.h: Remove, no longer used and they keep
14045           showing up in my greps.
14046
14047 2006-01-06  Robert Love  <rml@novell.com>
14048
14049         * gnome/applet/applet-dbus-devices.c,
14050           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14051           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14052           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
14053           New Network' both failed in the non-encrypted case because we were
14054           not appending the security options to the DBUS message.  And
14055           'Connect to Other' was also failing in the encrypted case because
14056           we were not incrementing to the next DBUS parameter.  All fixed.
14057           Thanks to dcdw for some debugging help.
14058
14059 2006-01-06  Robert Love  <rml@novell.com>
14060
14061         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14062           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14063           hangup code and add per-device hangup.  Tie last commit into the
14064           GNOME applet.  TODO:  Save, understand, and respond to the state of
14065           each dialup device.
14066
14067 2006-01-06  Robert Love  <rml@novell.com>
14068
14069         Patch by Timo Hoenig <thoenig@suse.de>:
14070         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14071           hangup specific dialup devices.
14072         * src/backends/NetworkManagerDebian.c,
14073           src/backends/NetworkManagerGentoo.c,
14074           src/backends/NetworkManagerRedHat.c,
14075           src/backends/NetworkManagerSlackware.c: Add stub backend.
14076         * src/backends/NetworkManagerRedHat.c,
14077           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14078           hangup specific dialup devices.
14079
14080 2006-01-04  Robert Love  <rml@novell.com>
14081
14082         * gnome/applet/applet-dbus-devices.c,
14083           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14084           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14085           connections.
14086
14087 2006-01-04  Dan Williams  <dcbw@redhat.com>
14088
14089         First dump of wpa_supplicant-related code.  It's not hooked up to
14090         anything yet though.  Thanks to Kay Sievers for
14091         wpa_supplicant_wrapper.c, which formed the basis for this work,
14092         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14093
14094         * src/Makefile.am
14095           src/wpa_ctrl.[ch]
14096                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14097
14098         * src/NetworkManagerUtils.[ch]
14099                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14100                         Add convenience functions for talking to wpa_supplicant
14101
14102         * src/nm-ap-security.[ch]
14103           src/nm-ap-security-wep.c
14104           src/nm-ap-security-wpa-psk.[ch]
14105                 - Update and implement real_write_supplicant_config functions
14106                         in all security types
14107                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14108                         nm-ap-security-wpa-psk.c
14109
14110         * src/nm-device-802-11-wireless.c
14111                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14112                    wpa_supplicant_start, wpa_supplicant_interface_init,
14113                    wpa_supplicant_send_network_config): add functions to talk to
14114                         wpa_supplicant and write network config to it
14115
14116 2006-01-04  Robert Love  <rml@novell.com>
14117
14118         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14119           values so that distribution-backends can differentiate between the
14120           various types (modem, ISDN, et cetera) of dialup device that they
14121           support.
14122         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14123           needed.
14124
14125 2006-01-03  Dan Williams  <dcbw@redhat.com>
14126
14127         * src/NetworkManagerPolicy.c
14128           src/nm-device.[ch]
14129           src/nm-device-802-11-wireless.c
14130                 - Move wireless-specific activation failure and success code
14131                         into wireless device class
14132
14133 2006-01-03  Robert Love  <rml@novell.com>
14134
14135         Patch by Preggna S:
14136         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14137           IPsec does not require that a VPN client be bound to an interface,
14138           due to the use of the in-kernel IPSec bits.  So make the tunnel
14139           device optional.
14140
14141 2006-01-03  Dan Williams  <dcbw@redhat.com>
14142
14143         * src/NetworkManagerAP.c
14144                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14145                         the WPA IE specifies that WEP is supported
14146
14147         * src/nm-device-802-11-wireless.c
14148                 - (process_scan_results): don't mark an AP as supporting WEP
14149                         if there's already other encryption capability info
14150
14151 2006-01-03  Dan Williams  <dcbw@redhat.com>
14152
14153         * src/dhcp-manager/nm-dhcp-manager.c
14154                 - Recognize activation cancellation when waiting for DHCP
14155                         configuration from dhcdbd
14156                 - Ignore non-dhcdbd messages
14157
14158         * src/nm-device.c
14159                 - (real_act_stage3_ip_config_start): return to correct behavior
14160                         of letting the dhcp-manager notify us of failure or
14161                         success rather than incorrectly doing that ourselves
14162                 - (nm_device_activate_stage4_ip_config_get): deal with
14163                         activation cancellation a bit earlier
14164
14165 2006-01-03  Dan Williams  <dcbw@redhat.com>
14166
14167         * src/nm-device-802-11-wireless.c
14168           src/nm-device.[ch]
14169                 - Add hooks to subclasses for stage3_ip_config_start and
14170                         stage4_ip_config_timeout
14171
14172         * src/nm-device-802-3-ethernet.c
14173                 - (real_get_generic_capabilities): make devices NM-supported
14174                         by default
14175
14176 2006-01-03  Robert Love  <rml@novell.com>
14177
14178         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14179           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14180           latter cannot differentiate between error and the address -1; misc.
14181           clean up.
14182
14183 2006-01-03  Dan Williams  <dcbw@redhat.com>
14184
14185         * src/NetworkManager.c
14186                 - Move link-checking/probing into the device subclasses
14187                         themselves
14188
14189         * src/nm-device.[ch]
14190           src/nm-device-802-11-wireless.c
14191           src/nm-device-802-3-ethernet.c
14192                 - Do periodic link checking in device subclasses rather
14193                         than being triggered from NetworkManager.c
14194                 - discover_wireless_capabilities -> get_wireless_capabilities
14195                 - discover_generic_capabilities -> get_generic_capabilities
14196                 - Device subclass activation routines now return a value of type
14197                         NMActStageReturn to indicate what step to perform next
14198                 - Devices now override stage4_get_ip4_config if they choose
14199
14200 2006-01-01  Dan Williams  <dcbw@redhat.com>
14201
14202         * src/nm-device-802-11-wireless.c
14203                 - (real_init): don't chain up to parent init because we don't
14204                         need to do that anymore
14205
14206         * src/nm-device.c
14207                 - (discover_device_type): fix arguments to ioctl() to correctly
14208                         pass interface name
14209                 - (nm_device_new): consolidate generic device initialization into
14210                         nm_device_new()
14211                 - (real_init): remove, consolidated to nm_device_new()
14212                 - (nm_device_deactivate, real_deactivate): consolidate
14213
14214 2006-01-01  Dan Williams  <dcbw@redhat.com>
14215
14216         * src/nm-activation-request.c
14217                 - Change dhcp_state member of the NMActRequest structure
14218                         from guint8 to guint32
14219
14220         * src/dhcp-manager/nm-dhcp-manager.[ch]
14221                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14222                         than guint8 to match the dbus argument.  Turns out we were
14223                         overwriting memory since we were passing in only a guint8
14224
14225 2005-12-31  Dan Williams  <dcbw@redhat.com>
14226
14227         * refactor NMDevice into a GObject-based framework with separate
14228                 objects for wired and wireless.  The following files are no
14229                 longer used but should stick around for a bit so we don't
14230                 loose code through the cracks:
14231                         NetworkManagerDevice.c
14232                         NetworkManagerDevice.h
14233                         NetworkManagerWireless.c
14234                         NetworkManagerWireless.h
14235
14236         The intent here is to allow each device type to manage its own
14237         connection & activation life-cycle, ie to allow wireless devices
14238         to interface with wpa_supplicant, etc.  There's a fair bit of
14239         encapsulation breakage right now that should gradually get pulled
14240         back into each device, along with things like periodic property
14241         updates and link probing.
14242
14243 2005-12-29  Dan Williams  <dcbw@redhat.com>
14244
14245         * include/NetworkManager.h
14246                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14247                         between networks that don't have any encryption at all
14248
14249 2005-12-29  Dan Williams  <dcbw@redhat.com>
14250
14251         * test/test-common.c
14252           test/test-common.h
14253           test/Makefile.am
14254                 - Move to a test-common subdirectory
14255
14256         * test/libnm-util/test-ciphers.c
14257                 - Move test data to test-inputs.h
14258                 - Test WPA ciphers too
14259
14260         * test/libnm-util/test-dbus-helpers.c
14261                 - Test serialization/deserialization of ciphers
14262
14263 2005-12-29  Dan Williams  <dcbw@redhat.com>
14264
14265         * gnome/applet/applet-dbus-devices.c
14266                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14267                         in dbus calls to NM
14268                 - Set capabilities on WirelessNetwork objects
14269                 - Receive and save type-specific device capabilities too
14270
14271         * gnome/applet/applet-dbus-info.c
14272           gnome/applet/applet-dbus.c
14273                 - Passphrase dialog no longer a singleton; new instance gets created
14274                         on each request.  Updates to deal with that.
14275
14276         * gnome/applet/applet.c
14277                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14278                         than single 'encrypted' flag
14279                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14280                         menu items
14281                 - Passphrase dialog updates per above
14282
14283         * gnome/applet/menu-items.c
14284                 - (network_menu_item_update): use AP capabilities to determine
14285                         encryption
14286
14287         * gnome/applet/nm-device.[ch]
14288                 - Add accessors for type-specific device capabilities
14289
14290         * gnome/applet/other-network-dialog.c
14291                 - Rework to respect device capabilities.  i.e., if the device doesn't
14292                         support WPA, remove that option from the security dropdown
14293
14294         * gnome/applet/passphrase-dialog.c
14295                 - Massive rework so that a new instance is created each time
14296                         it's used, to support wireless network capabilities
14297
14298         * gnome/applet/wireless-network.[ch]
14299                 - Add accessors and members for wireless network capabilities
14300
14301         * gnome/applet/wireless-security-manager.[ch]
14302                 - (wsm_set_capabilities): called after creation to set which
14303                         security options get shown to the user
14304
14305 2005-12-29  Dan Williams  <dcbw@redhat.com>
14306
14307         * libnm-util/cipher-wpa-psk-passphrase.c
14308                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14309                         like other ciphers
14310
14311 2005-12-23  Dan Williams  <dcbw@redhat.com>
14312
14313         * gnome/applet/applet-dbus-info.c
14314                 - (nmi_dbus_get_key_for_network): if there's no entry in
14315                         GConf for a network, assume we want a new key
14316                 - (nmi_save_network_info): serialize wireless security info
14317                         into GConf so its saved
14318
14319         * src/nm-dbus-nm.c
14320                 - Fix warning as we may not be passed security info when
14321                         connecting to a wireless network
14322
14323 2005-12-23  Dan Williams  <dcbw@redhat.com>
14324
14325         * gnome/applet/applet-compat.c
14326                 - Fix bugs in GConf entry conversion
14327
14328         * gnome/applet/applet-dbus-info.c
14329                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14330                         list being zero-length
14331
14332         * libnm-util/cipher-*
14333           libnm-util/dbus-helpers.c
14334                 - All ciphers must now return hashed keys as UTF-8 valid
14335                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14336                         through dbus as strings too.
14337                 - Consolidate various functions that do bin->hex and hex->bin
14338                         conversion into cipher.c
14339
14340         * src/nm-ap-security-wep.c
14341           src/nm-ap-security-wpa-psk.c
14342                 - Handle NULL keys since we may not know keys right away
14343
14344         * src/nm-dbus-nmi.c
14345                 - (nm_dbus_get_network_data_cb): actually advance to the start
14346                         of the wireless security info before we try to deserialize it
14347
14348         * libnm-util/test-ciphers.c
14349                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14350
14351 2005-12-22  Dan Williams  <dcbw@redhat.com>
14352
14353         * gnome/applet/applet-compat.[ch]
14354                 - Convert old-format GConf and keyring entries
14355                         when the applet starts up.
14356
14357         * gnome/applet/applet.c
14358                 - (nmwa_get_instance): Call the conversion function
14359                         on startup before dbus is initialized
14360
14361 2005-12-22  Dan Williams  <dcbw@redhat.com>
14362
14363         * gnome/applet/applet-dbus-info.c
14364                 - Remove nmi_dbus_create_error_message() in favor of
14365                         nmu_create_dbus_error_message()
14366                 - (nmi_dbus_get_network_properties): Error message cleanups
14367                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14368                         gconf key rather than 'addresses', since they really are BSSIDs
14369                 - (nmi_dbus_get_network_properties): Dispose of the security
14370                         object when we're done with it
14371
14372 2005-12-21  Dan Williams  <dcbw@redhat.com>
14373
14374         * Consolidate the info-daemon's "updateNetworkInfo" and
14375                 "addNetworkAddress" calls into just "updateNetworkInfo"
14376
14377 2005-12-21  Dan Williams  <dcbw@redhat.com>
14378
14379         * Make connection after key retrieval work again
14380
14381 2005-12-21  Dan Williams  <dcbw@redhat.com>
14382
14383         * gnome/applet/nm-gconf-wso*
14384                 - Make the serialize functions return gboolean
14385                         rather than int
14386
14387         * gnome/applet/nm-gconf-wso.c
14388                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14389                         parent class handling so we don't segfault
14390
14391         * src/NetworkManagerAP.[ch]
14392                 - (nm_ap_get_capabilities): new function, return capabilities
14393                         now that something can use them
14394                 - (nm_ap_set_encrypted): assume that an access point supports
14395                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14396                         we even tell whether it just supports WEP40?
14397
14398         * src/NetworkManagerDevice.c
14399                 - (ap_need_key): resurrect and update for the New World Order
14400                 - (nm_device_wireless_get_activation_ap): if we're not given
14401                         security info to use, create some based on access point
14402                         capabilities
14403
14404         * src/nm-ap-security-wep.c
14405                 - (nm_ap_security_wep_new_from_ap): create a new object
14406                         based on a certain access point's capabilities
14407
14408         * src/nm-ap-security.c
14409                 - (nm_ap_security_new_from_ap): delegate creation of a new
14410                         object based on access point capabilities to a subclass
14411                 - (nm_ap_security_copy_properties): don't segfault if we
14412                         don't have a key yet
14413
14414         * src/nm-dbus-nm.c
14415                 - (nm_dbus_nm_set_active_device): provide more informative
14416                         output when errors occur.  Also construct security info
14417                         for a given access point if we weren't given any
14418
14419 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14420
14421         * configure.in: Added Lithuanian to ALL_LINGUAS.
14422
14423 2005-12-21  Dan Williams  <dcbw@redhat.com>
14424
14425         * test/libnm-util
14426                 - Add some testcases for WEP ciphers
14427
14428 2005-12-17  Dan Williams  <dcbw@redhat.com>
14429
14430         * Fix bugs
14431
14432 2005-12-17  Dan Williams  <dcbw@redhat.com>
14433
14434         * include/NetworkManager.h
14435                 - Finally kill NMEncKeyType
14436
14437         * gnome/applet/applet-dbus-info.c
14438                 - (nmi_save_network_info): convert to NMGConfWSO
14439
14440         * gnome/applet/nm-gconf-wso-*.c
14441                 - Implement gconf serialization functions
14442
14443         * src/NetworkManagerPolicy.c
14444                 - (nm_policy_activation_finish): fix up meaning of
14445                         automatic/user_requested
14446
14447 2005-12-17  Dan Williams  <dcbw@redhat.com>
14448
14449         * gnome/applet/*
14450                 - More applet cleanups
14451                 - Use the dbus-method-dispatcher
14452
14453         * libnm-util/dbus-method-dispatcher.[ch]
14454                 - Generalize the implementation from NM in
14455                         NetworkManagerUtils.c
14456
14457 2005-12-16  Dan Williams  <dcbw@redhat.com>
14458
14459         * gnome/applet/*
14460                 - Fix up the passphrase dialog to use all the
14461                         WirelessSecurityOption stuff (untested)
14462
14463 2005-12-16  Dan Williams  <dcbw@redhat.com>
14464
14465         * Move nm_gconf_get_*_helper() functions to separate files,
14466                 gconf-helpers.c & gconf-helpers.h
14467
14468         * New NMGConfWSO objects for managing the gconf side of things.
14469                 Eventually these should be merged with the
14470                 WirelessSecurityOption objects and a common base (that can
14471                 serialize/deserialize from dbus & gconf) should be
14472                 refactored out, but for now they are separate.
14473
14474 2005-12-16  Robert Love  <rml@novell.com>
14475
14476         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14477           binaries unless they exist (nm_spawn_process() emits a warning if
14478           asked to spawn a non-existant process).
14479
14480 2005-12-16  Dan Williams  <dcbw@redhat.com>
14481
14482         * gnome/applet/applet-dbus-info.c
14483                 - Clean up lots of gconf-related code
14484
14485 2005-12-16  Robert Love  <rml@novell.com>
14486
14487         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14488
14489 2005-12-16  Dan Williams  <dcbw@redhat.com>
14490
14491         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14492
14493         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14494                 bits still to be done)
14495
14496 2005-12-16  Dan Williams  <dcbw@redhat.com>
14497
14498         * Finally move info-daemon related stuff out of
14499                 NetworkManagerDbus.c to nm-dbus-nmi.c
14500
14501 2005-12-16  Dan Williams  <dcbw@redhat.com>
14502
14503         * Kill auth_method for access points, since that's now done
14504                 by NMAPSecurity objects
14505
14506         * Add a copy-constructor of sorts to NMAPSecurity
14507                 (how do you do this properly in glib???)
14508
14509 2005-12-15  Dan Williams  <dcbw@redhat.com>
14510
14511         * Exorcise encryption key hashing on APs
14512         * Use libnm-util's serialization/deserialization in both the
14513                 applet and NM
14514         * Random other stuff
14515
14516 2005-12-15  Robert Love  <rml@novell.com>
14517
14518         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14519           is being added to the icon naming spec, so let's use that (Tango CVS
14520           has the icon).  Because it is new, however, we fall back to the
14521           current "gnome-lockscreen" if the new icon is not around, thus
14522           behavior is the same.
14523         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14524           factory junk.
14525
14526 2005-12-15  Robert Love  <rml@novell.com>
14527
14528         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14529           well, help to give.  Couple other misc. bits.
14530
14531 2005-12-15  Dan Williams  <dcbw@redhat.com>
14532
14533         * libnm-util/dbus-helpers.[ch]
14534                 - Make this the one-stop-shop for serializing/deserializing
14535                         AP & connection security settings over dbus.  Both NM
14536                         and applets should use this to ensure consistent dbus
14537                         API going forwared.
14538
14539 2005-12-15  Robert Love  <rml@novell.com>
14540
14541         Patch by Timo Hoenig  <thoenig@suse.de>:
14542         * src/NetworkManagerDbus.c
14543                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14544                         if HAL jumps off the system bus.  Otherwise libdbus
14545                         (dbus_connection_dispatch) will try to run the filter
14546                         function of our libhal context which is already freed.
14547
14548 2005-12-15  Alexander Shopov  <ash@contact.bg>
14549
14550         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14551
14552 2005-12-14  Dan Williams  <dcbw@redhat.com>
14553
14554         * include/NetworkManager.h
14555           src/NetworkManagerWireless.c
14556                 - Rearrange 802.11 wireless-specific capabilities again
14557
14558         * src/Makefile.am
14559                 - Forgot to add wpa.c/wpa.h to the makefiles
14560
14561         * src/NetworkManagerAP.[ch]
14562                 - Implement access point capabilities and parse the
14563                         WPA/RSN IEs into the capability bitfield
14564                 - Switch the "encrypted" attribute to utilize the bitfield
14565                         and capabilities rather than being independent
14566
14567         * src/NetworkManagerDevice.c
14568                 - (nm_device_wireless_get_activation_ap): break it horribly
14569                         until we can push NMAPSecurity objects into access point
14570                         objects and through the activation chain
14571                 - Stuff WPA & RSN IEs into AP capabilities
14572
14573         * src/nm-dbus-nm.c
14574                 - Take a shot at actually making setActiveDevice work
14575
14576         * src/wpa.[ch]
14577                 - Make the API a bit saner
14578
14579 2005-12-14  Dan Williams  <dcbw@redhat.com>
14580
14581         * include/NetworkManager.h
14582                 - Add 802.11-specific capability for 802.1x key
14583                         management
14584
14585         * src/wpa.[ch]
14586                 - Pull in WPA IE and RSN IE parsing code from
14587                         wpa_supplicant so we can determine access point
14588                         capabilities
14589                 - Move WPA-related constants here from NetworkManagerAP.h
14590                         and NetworkManagerDevice.c
14591
14592         * src/NetworkManagerDevice.c
14593           src/NetworkManagerAP.[ch]
14594                 - Use WPA-related constants from wpa.h
14595
14596 2005-12-14  Dan Williams  <dcbw@redhat.com>
14597
14598         * include/NetworkManager.h
14599                 - Update and split 802.11 wireless-specific capabilities from
14600                         generic device capabilities
14601
14602         * src/NetworkManagerDevice.c
14603           src/NetworkManagerDevicePrivate.h
14604                 - (nm_device_wireless_discover_capabilities): Move 802.11
14605                         wireless-specific capability checks to
14606                         NetworkManagerWireless.c
14607                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14608                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14609
14610         * src/NetworkManagerWireless.[ch]
14611                 - (nm_802_11_wireless_discover_capabilities): Check extended
14612                         802.11 wireless-specific capabilities of the driver
14613
14614 2005-12-14  Robert Love  <rml@novell.com>
14615
14616         Patch from Stefan Scheler <sscheler@suse.de>:
14617         * src/NetworkManagerDevice.c: call backend code to activate and
14618           deactivate NIS.
14619         * src/NetworkManagerSystem.h: add new NIS interfaces.
14620         * src/backends/NetworkManagerDebian.c,
14621           src/backends/NetworkManagerGentoo.c,
14622           src/backends/NetworkManagerRedHat.c,
14623           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14624           support.
14625         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14626
14627 2005-12-14  Dan Williams  <dcbw@redhat.com>
14628
14629         * src/nm-ap-security*.[ch]
14630                 - Add AP security abstractions to NetworkManager
14631
14632         * src/nm-dbus-device.c
14633                 - Begin to parse new format dbus messages from the applet
14634                         and construct an AP security object from the message
14635
14636         * libnm-util/dbus-helpers.c
14637                 - Use message iters so we can append the key as a fixed
14638                         array of bytes, which actually works rather than
14639                         using dbus_message_append_args() as we were before
14640
14641 2005-12-14  Dan Williams  <dcbw@redhat.com>
14642
14643         * src/NetworkManagerDbus.c
14644           gnome/applet/applet-dbus.c
14645                 - Fix up dbus service replacement options.  The applet
14646                         should allow replacement, NM itself should not.
14647
14648 2005-12-13  Robert Love  <rml@novell.com>
14649
14650         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14651           Instead, fail silently if config is NULL by not asserting and not
14652           returning FALSE.  Also, make sure we always fclose() the file.
14653
14654 2005-12-13  Robert Love  <rml@novell.com>
14655
14656         Patch by Stefan Scheler <sscheler@suse.de>:
14657         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14658            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14659            via DHCP.  Still need the backends to commit the NIS domain name and
14660            and servers to yp.conf as needed.
14661
14662 2005-12-13  Robert Love  <rml@novell.com>
14663
14664         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14665           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14666
14667 2005-12-13  Robert Love  <rml@novell.com>
14668
14669         * src/named-manager/nm-named-manager.c: Don't unref the config until
14670           after we call rewrite_resolv_conf(), because get_last_default_domain()
14671           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14672           `config != NULL' failed" assertion failures and "Could not commit DNS
14673           changes" warnings.
14674
14675 2005-12-12  Dan Williams  <dcbw@redhat.com>
14676
14677         * libnm-util/dbus-helpers.[ch]
14678           libnm-util/Makefile.am
14679                 - new helper calls to consolidate locations where
14680                         NM's setDevice method is called
14681
14682         * gnome/applet/applet-dbus-devices.c
14683           gnome/applet/wireless-security-option.c
14684           gnome/applet/wso-*
14685                 - Implement dbus message param append function for
14686                         all wireless security options
14687
14688 2005-12-12  Robert Love  <rml@novell.com>
14689
14690         * libnm-util/cipher-wep-passphrase.c,
14691           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14692           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14693           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14694           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14695           When handling keys, we don't care what the sign is.  The compiler
14696           guarantees us that we get our 8-bits, which is all we care about.
14697         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14698
14699 2005-12-12  Dan Williams  <dcbw@redhat.com>
14700
14701         * gnome/applet/applet-dbus-devices.[ch]
14702           gnome/applet/applet.c
14703           gnome/applet/other-network-dialog.c
14704           gnome/applet/wireless-security-manager.[ch]
14705           gnome/applet/wireless-security-option.[ch]
14706           gnome/applet/wso-*
14707                 - Push the wireless security options further into the applet
14708
14709 2005-12-12  Robert Love  <rml@novell.com>
14710
14711         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14712           return any name servers.  That is perfectly valid.  (Novell #134369).
14713
14714 2005-12-11  Dan Williams  <dcbw@redhat.com>
14715
14716         * gnome/applet/wso-*
14717           gnome/applet/wireless-security-option.*
14718           gnome/applet/Makefile.am
14719                 - split each security option out so we can eventually
14720                         have each one build up their own dbus message
14721                         arguments to send to NM
14722
14723 2005-12-11  Dan Williams  <dcbw@redhat.com>
14724
14725         * Make validation of the key work correctly
14726
14727 2005-12-11  Dan Williams  <dcbw@redhat.com>
14728
14729         * Hook more bits of the Other Network Dialog up to the
14730                 wireless security manager stuff, and restructure
14731                 bits of the dialog so there's less code.
14732
14733 2005-12-10  Dan Williams  <dcbw@redhat.com>
14734
14735         * gnome/applet/Makefile.am
14736                 - Add libnm-util to includes
14737                 - Add libnm-util to link list
14738                 - Add wireless-security-common.* to compile list
14739
14740         * gnome/applet/other-network-dialog.c
14741                 - Convert to using the WirelessSecurityManager code and
14742                         widgets
14743
14744         * gnome/applet/passphrase-dialog.c
14745                 - Comment out references to stuff in the glade file that
14746                         cause runtime errors until it can be fixed up
14747                         to use the WirelessSecurityManager code
14748
14749         * gnome/applet/wireless-applet.glade
14750                 - Rename some widgets
14751                 - Add widgets for the WirelessSecurityManager code
14752                 - Remove passphrase-related stuff since that's now
14753                         handled by the WirelessSecurityManager code
14754
14755 2005-12-10  Dan Williams  <dcbw@redhat.com>
14756
14757         * gnome/applet/applet-dbus-devices.c
14758                 - Print out error message details for dbus pending call callbacks
14759                 - Move nmwa_dbus_update_devices() up
14760
14761         * gnome/applet/applet-dbus-vpn.c
14762                 - Print out error message details for dbus pending call callbacks
14763
14764 2005-12-10  Dan Williams  <dcbw@redhat.com>
14765
14766         * libnm-util/*
14767                 - More fixups
14768                 - Remove cipher-manager.* because we don't need it
14769                 - Forgot to add gnome-keyring-md5 files to compile list
14770
14771 2005-12-09  Dan Williams  <dcbw@redhat.com>
14772
14773         * libnm-util/*
14774           configure.in
14775           Makefile.am
14776                 - Add a utility library for clients of NetworkManager.  It's
14777                         only targetted at applets for the moment, and contains
14778                         a generalized 802.11 cipher framework for different
14779                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14780
14781 2005-12-09  Robert Love  <rml@novell.com>
14782
14783         * src/NetworkManagerDevice.c: handle error better in
14784           nm_device_set_mode().
14785
14786 2005-12-08  Robert Love  <rml@novell.com>
14787
14788         * include/NetworkManager.h: add WPA capabilities constants
14789         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14790           or WPA2 and add the capabilities bits as appropriate.
14791
14792 2005-12-08  Robert Love  <rml@novell.com>
14793
14794         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14795           NetworkManagerDispatcher.
14796         * configure.in, initscript/SUSE/.cvsignore,
14797           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14798           initscript.
14799
14800 2005-12-08  Robert Love  <rml@novell.com>
14801
14802         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14803
14804 2005-12-08  Robert Love  <rml@novell.com>
14805
14806         * src/NetworkManagerDevice.c: We want to fall back on and default to
14807           IW_MODE_AUTO, not -1, which is more in line with our previous
14808           behavior.  Otherwise, we try to set the wireless mode to -1 in
14809           nm_device_set_mode().
14810
14811 2005-12-07  Robert Love  <rml@novell.com>
14812
14813         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14814           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14815           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14816           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14817           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14818           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14819           zero.
14820
14821 2005-12-07  Robert Love  <rml@novell.com>
14822
14823         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14824           supplied IP is invalid, fall back to DHCP.
14825
14826 2005-12-07  Dan Williams  <dcbw@redhat.com>
14827
14828         * Convert NETWORK_MODE_* constants to IW_MODE_*
14829         * Make all the get_mode/set_mode functions take and return 'int'
14830         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14831
14832 2005-12-07  Robert Love  <rml@novell.com>
14833
14834         * src/NetworkManagerDevice.c: strncpy() buffer check.
14835         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14836
14837 2005-12-06  Dan Williams  <dcbw@redhat.com>
14838
14839         * gnome/applet/applet-dbus.c
14840                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14841
14842         * gnome/applet/applet-dbus-vpn.c
14843                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14844                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14845                         to TRUE here if stage was ACTIVATED
14846
14847 2005-12-06  Dan Williams  <dcbw@redhat.com>
14848
14849         * Change nm_device_is_* functions to better names:
14850                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14851                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14852
14853 2005-12-06  Dan Williams  <dcbw@redhat.com>
14854
14855         * Change naming of NMDeviceType to something more sensible:
14856                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14857                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14858                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14859
14860 2005-12-06  Dan Williams  <dcbw@redhat.com>
14861
14862         * Move NetworkManager.h -> include/NetworkManager.h
14863         * Split out VPN stuff into include/NetworkManagerVPN.h
14864         * Fix up makefiles to include new location
14865         * Fix up sources to include NetworkManagerVPN.h
14866
14867 2005-12-06  Dan Williams  <dcbw@redhat.com>
14868
14869         Various changes in the applet to move VPN connection "state" -> "stage",
14870         which it actually is.  I'd like to change the signal as well when we
14871         break compat in the near future.
14872
14873 2005-12-06  Dan Williams  <dcbw@redhat.com>
14874
14875         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14876         * initscript/Slackware/rc.networkmanager
14877                 - Cosmetic fix
14878
14879         * src/backends/NetworkManagerSlackware.c
14880                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14881                         interfaces
14882
14883 2005-12-05  Robert Love  <rml@novell.com>
14884
14885         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14886           to free, particularly here as it just barfs.
14887
14888 2005-12-05  Dan Williams  <dcbw@redhat.com>
14889
14890         * gnome/applet/applet-dbus.c
14891                 - Work with dbus 0.6 too
14892
14893 2005-12-03  Dan Williams  <dcbw@redhat.com>
14894
14895         * src/NetworkManagerUtils.[ch]
14896           src/nm-ip4-config.c
14897                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14898                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14899
14900 2005-12-01  Robert Love  <rml@novell.com>
14901
14902         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14903           need a NULL for the '...' parameter, too, to fill the so-called
14904           sentinel.
14905
14906 2005-12-01  Robert Love  <rml@novell.com>
14907
14908         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14909           interface is already gone, so don't call rtnl_link_change() to down
14910           it (which will segfault, anyhow).
14911
14912 2005-11-22  Robert Love  <rml@novell.com>
14913
14914         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14915           gateway is not set, just print a little note.  Configurations without
14916           gateways are valid.
14917
14918 2005-11-22  Robert Love  <rml@novell.com>
14919
14920         * README: update
14921
14922 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14923
14924         * configure.in: Added Finnish translation to ALL_LINGUAS
14925
14926 2005-11-14  Robert Love  <rml@novell.com>
14927
14928         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14929           Niemueller <tim@niemueller.de>.
14930
14931 2005-11-08  Dan Williams  <dcbw@redhat.com>
14932
14933         Patch from Bill Moss <bmoss@clemson.edu>
14934         * src/NetworkManagerDevice.c
14935                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14936                         of nm_policy_schedule_activation_finish() to prevent a
14937                         race condition that causes the link to be dropped
14938
14939 2005-11-08  Dan Williams  <dcbw@redhat.com>
14940
14941         Patch from Bill Moss <bmoss@clemson.edu>
14942         * src/NetworkManagerAPList.c
14943           src/NetworkManagerDevice.c
14944           src/NetworkManagerDbus.c
14945                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14946                         we get more readable ether/mac addresses
14947
14948 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14949
14950         * gnome/applet/main.c: Don't set the restart command.  This fixes
14951         the issue where the restart command was getting copies of all its
14952         arguments for each time the applet was restarted.
14953
14954 2005-11-02  Robert Love  <rml@novell.com>
14955
14956         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14957           if the widget state differs from our saved state.  This ensures we
14958           do not enter an endless loop of death and destruction.  Also, this
14959           guarantees us that we enforce the widget state.
14960
14961 2005-11-02  Robert Love  <rml@novell.com>
14962
14963         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14964         * gnome/applet/applet-dbus-devices.c: invoke the new function
14965           nmwa_enable_wireless_set_active() to ensure that the state of the
14966           'Enable Wireless' checkbox matches the daemon's state.  This is a
14967           concern because the daemon remembers the state.
14968
14969 2005-11-02  Robert Love  <rml@novell.com>
14970
14971         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14972           Enabled", as checkboxes should be actions/commands not positive
14973           statements, otherwise they are confusing in the unselected case.  See
14974           examples in GNOME HIG, Chapter 6.
14975
14976 2005-11-02  Robert Love  <rml@novell.com>
14977
14978         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14979           show a list of wireless networks or the wireless devices or the
14980           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14981           a bad bug: If wireless is disabled and the user picks a wireless
14982           network, NM will switch to the network, only to immediately switch
14983           back, as wireless is disabled.  This also reassures people that NM
14984           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14985
14986 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14987
14988         * gnome/applet/applet.c:
14989         * gnome/applet/applet.h:
14990         Partial backout of Dan's timeout animation patch.
14991         Timeout IDs cannot legally be 0, so revert the code in place to handle
14992         a timeout ID of 0 to denote the timeout isn't running.
14993
14994 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14995
14996         * src/NetworkManagerPolicy.c:
14997         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14998
14999 2005-10-28  Robert Love  <rml@novell.com>
15000
15001         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15002           "Import Saved Configuration..." to make it clear that importing is
15003           not the next step, but an option.  As an aside, a nice TODO would be
15004           to move Importing out of the vpn-specific dialog and into the main
15005           property editor, as Importing goes with Adding, but that will require
15006           some rearchitecting of the VPN stuff I suspect.
15007
15008 2005-10-27  Dan Williams  <dcbw@redhat.com>
15009
15010         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
15011         we should replace most of the distro-specific backend code
15012         with libnl stuff.
15013
15014         Get it here:  http://people.suug.ch/~tgr/libnl/
15015
15016         * configure.in
15017           src/Makefile.am
15018                 - Add checks for libnl pkgconfig file
15019                 - Use LIBNL_LIBS & LIBNL_CFLAGS
15020
15021         * src/NetworkManagerSystem.c
15022           src/nm-ip4-config.[ch]
15023                 - Use libnl rather than ioctl() for most things
15024                 - Remove unused functions
15025
15026 2005-10-27  Robert Love  <rml@novell.com>
15027
15028         * src/backends/NetworkManagerSuSE.c: fix warning message text
15029
15030 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15031
15032         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15033
15034 2005-10-27  Christopher Aillon  <caillon@redhat.com>
15035
15036         * gnome/applet/applet.c: The applet's about dialog can advertise our 
15037         project page <http://www.gnome.org/projects/NetworkManager/>
15038
15039 2005-10-26  Christopher Aillon  <caillon@redhat.com>
15040
15041         * gnome/applet.c: Also use translator credits if we don't have
15042         the new GtkAboutDialog (older versions of GTK+)
15043
15044 2005-10-26  Robert Love  <rml@novell.com>
15045
15046         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15047           failure; correct usage text for "--no-daemon"
15048
15049 2005-10-25  Dan Williams  <dcbw@redhat.com>
15050
15051         * src/NetworkManagerDevice.c
15052                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15053                         no scan results
15054                 - (free_process_scan_cb_data): unref the device when freeing results
15055                 - (nm_device_wireless_process_scan_results): free scan results a bit later
15056                         so we don't unref the device underneath ourselves
15057
15058 2005-10-25  Dan Williams  <dcbw@redhat.com>
15059
15060         * Back out 2005-10-24 commit from Tor Krill.  Patch
15061                 causes nameservers never to be removed from named.
15062
15063 2005-10-24  Dan Williams  <dcbw@redhat.com>
15064
15065         Clean up wireless scanning and wireless link probing.
15066
15067         * src/NetworkManagerDevice.c
15068                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15069                         just see if there's an activation request on the device, and check the
15070                         current link against the activation request access point's ESSID.
15071                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15072                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15073                         don't call process_scan_results() on zero-length data
15074                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
15075                         15 seconds (from 10)
15076
15077 2005-10-24  Dan Williams  <dcbw@redhat.com>
15078
15079         Cleanup some applet stuff:
15080
15081         - Animation timeouts.  If NM died while the applet was animating,
15082                 the applet would not hide itself.  This is now fixed.
15083
15084         - Remove some dead code
15085
15086         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15087                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15088
15089         - Track animation timeout using a gboolean rather than the timeout's
15090                 ID, since timeout IDs can legally be 0.
15091
15092 2005-10-24  Dan Williams  <dcbw@redhat.com>
15093
15094         * src/backends/interface_parser.c
15095                 - Add void to function declarations that need it
15096                         to match patch from Engin AYDOGAN
15097
15098         * src/backends/interface_parser.h
15099                 - Remove unused prototype for ifparser_interfaces()
15100
15101         Patch from Engin AYDOGAN <engin@bzzzt.biz>
15102         * src/backends/interface_parser.h:
15103                 - Compile fixes for gcc 4.0.2 (add void)
15104
15105 2005-10-24  Dan Williams  <dcbw@redhat.com>
15106
15107         Patch from Tor Krill <tor@krill.nu>
15108         * src/named-manager/nm-named-manager.c
15109                 - Write more than just the first nameserver to /etc/resolv.conf
15110                 - Write out valid /etc/resolv.conf on exit
15111
15112 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15113
15114         * gnome/applet/applet-dbus-vpn.c:
15115         Get rid of spurious newlines in debug console output
15116
15117 2005-10-21  Christopher Aillon  <caillon@redhat.com>
15118
15119         * src/backends/NetworkManagerGentoo.c:
15120         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
15121
15122 2005-10-20  Robert Love  <rml@novell.com>
15123
15124         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15125           direct comparison of floating point values, which is never correct.
15126           Also some misc. cleanup.
15127
15128 2005-10-19  Robert Love  <rml@novell.com>
15129
15130         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15131
15132 2005-10-19  Robert Love  <rml@novell.com>
15133
15134         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15135           sensitivity of the buttons.  Specificaly, do the right thing if
15136           there are no entries.
15137
15138 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15139
15140         * configure.in: Update check for adequate wireless-tools
15141         with an AC_TRY_COMPILE for the new symbols we use.
15142
15143 2005-10-19  Dan Williams  <dcbw@redhat.com>
15144
15145         * src/NetworkManagerDevice.c
15146                 - (process_scan_results): don't drop the last (or only)
15147                         access point we see
15148
15149 2005-10-19  Christopher Aillon  <caillon@redhat.com>
15150
15151         * src/backends/NetworkManagerSlackware.c:
15152         Patch from Nico <lordllucifer@gmail.com>
15153                 - Update the Slackware backend.
15154
15155 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15156
15157         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15158         if we've got GLib 2.8.0
15159
15160 2005-10-18  Robert Love  <rml@novell.com>
15161
15162         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15163           function nm_schedule_state_change_signal_broadcast() when we
15164           deactivate a device, too.
15165
15166 2005-10-18  Robert Love  <rml@novell.com>
15167
15168         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15169           be used uninitialized.
15170
15171 2005-10-18  Christopher Aillon  <caillon@redhat.com>
15172
15173         * test/libnm_glib_test.c: Test unregistering, too.
15174
15175 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15176
15177         * configure.in: Bump to 0.5.0
15178
15179 2005-10-17  Dan Williams  <dcbw@redhat.com>
15180
15181         * NetworkManager.h
15182                 - Remove WPA-related constants so they aren't part of the
15183                         upcoming release.
15184
15185 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15186
15187         * gnome/applet/applet.c:
15188         * gnome/applet/applet.h:
15189         Desensitize the 'Connection Information' menu item when there is
15190         no active connection.
15191
15192 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15193
15194         * gnome/libnm_glib/libnm_glib.c:
15195         Make libnm_glib_unregister_callback () actually unregister the callback
15196
15197 2005-10-17  Robert Love  <rml@novell.com>
15198
15199         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15200           two seconds -- tries is updated every 1/10 of a second, not every
15201           second..
15202
15203 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15204
15205         * gnome/applet/applet-dbus-info.c:
15206         Let D-BUS know that we haven't handled a message when we haven't.
15207
15208 2005-10-17  Robert Love  <rml@novell.com>
15209
15210         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15211           in order to remain 64-bit clean.
15212
15213 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15214
15215         * gnome/applet/applet-dbus-info.c:
15216         Find network encryption keys asynchronously
15217
15218 2005-10-17  Robert Love  <rml@novell.com>
15219
15220         * src/backends/NetworkManagerDebian.c,
15221           src/backends/NetworkManagerRedHat,
15222           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15223           comment delimiter.
15224
15225 2005-10-17  Robert Love  <rml@novell.com>
15226
15227         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15228           "/etc"
15229
15230 2005-10-17  Christopher Aillon  <caillon@redhat.com>
15231
15232         * src/NetworkManagerDevice.c: (process_scan_results)
15233         Fix logic that checks to see whether we have an ESSID.
15234
15235 2005-10-15  Dan Williams  <dcbw@redhat.com>
15236
15237         Move scanning code into NetworkManager rather than use iwlib's
15238         iw_scan() function, so that we can figure out AP capabilities.
15239
15240         * NetworkManager.h
15241                 - Add AP capability bits
15242
15243         * src/NetworkManagerAP.[ch]
15244                 - Add capability field to NMAccessPoint structure
15245                 - Add WPA & RSN Information Element fields and accessor
15246                         functions to NMAccessPoint
15247
15248         * src/NetworkManagerDevice.c
15249                 - Remove usage of iw_scan
15250                 - Add scanning code to NetworkManager rather than use
15251                         iw_scan() from iwlib
15252
15253         * src/NetworkManagerUtils.[ch]
15254                 - (nm_dispose_scan_results): remove, unused
15255
15256 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15257
15258         * gnome/libnm_glib/libnm_glib.c:
15259         * gnome/libnm_glib/libnm_glib.h:
15260         Use guint instead of gint for callback IDs.
15261
15262 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15263
15264         * gnome/applet/applet.c:
15265         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15266         every 1000ms.  It will unconditionally call nmwa_update_state which
15267         kills the existing animation timeout and registers a new one with a
15268         callback to draw a new frame every 100ms.  There are 11 connecting
15269         icon frames, so the last 2 frames kept getting dropped.  Only reset
15270         the animation timeout if we aren't animating.
15271
15272 2005-10-11  Dan Williams  <dcbw@redhat.com>
15273
15274         * gnome/applet/applet-dbus-devices.c
15275                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15276                         We want to grab the product & vendor from net.physical_dev
15277                         rather than info.parent.
15278
15279 2005-10-11  Dan Williams  <dcbw@redhat.com>
15280
15281         * src/NetworkManagerDevice.c
15282                 - Use the driver's WE version for scanning rather than
15283                         the WE version NM was compiled with.  Fixes random
15284                         crashes in iw_scan () in iwlib.
15285
15286 2005-10-10  Dan Williams  <dcbw@redhat.com>
15287
15288         * Remove nm_system_load_device_modules() from backend files
15289                 and from NetworkManager.c
15290
15291 2005-10-10  Dan Williams  <dcbw@redhat.com>
15292
15293         * src/NetworkManagerPolicy.c
15294                 - Fix some bugs introduced by the capabilities patch
15295
15296 2005-10-10  Dan Williams  <dcbw@redhat.com>
15297
15298         * gnome/applet/applet-dbus-info.c
15299                 - (nmi_dbus_get_network_key): hide the menu when putting up
15300                         the keyring dialog.  (not sure if the code is right...)
15301
15302 2005-10-09  Dan Williams  <dcbw@redhat.com>
15303
15304         Patch from Bill Moss <bmoss@clemson.edu>
15305         * src/NetworkManagerDevice.c
15306                 - (nm_device_set_user_key_for_network): don't try to set auth
15307                         mode on the AP from the allowed list if it's NULL
15308
15309 2005-10-09  Dan Williams  <dcbw@redhat.com>
15310
15311         * Replace the "driver support level" stuff with capabilities.  The
15312                 capability field is a bitfield that is more flexible than the
15313                 old driver support level thing.  It's mostly so we can easily
15314                 figure out what supports WPA and what doesn't, but should be
15315                 quite useful later.
15316
15317 2005-10-09  Dan Williams  <dcbw@redhat.com>
15318
15319         * test/nmtest.c
15320                 - Removed
15321
15322         * test/nm-tool.c
15323           test/Makefile.am
15324                 - Added new "nm-tool" tool that gives quite a bit more
15325                         information
15326
15327 2005-10-07  Robert Love  <rml@novell.com>
15328
15329         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15330           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15331           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15332           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15333           appropriate
15334
15335 2005-10-07  Robert Love  <rml@novell.com>
15336
15337         * configure.in: Change our compile flags for the betterment of mankind.
15338           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15339           prototype is very bad on 64-bit platforms as types default to int but
15340           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15341           "-Wmissing-declarations" to warn if we define an exported function
15342           but fail to put it in a header.
15343
15344 2005-10-07  Robert Love  <rml@novell.com>
15345
15346         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15347           by the name nm_update_device_wireless_timeouts() and once tried,
15348           without success, to steal my pet turtle.
15349
15350 2005-10-07  Robert Love  <rml@novell.com>
15351
15352         * Cleanup prototypes: put some functions in header files and mark
15353           others as 'static' -- feel free to invert
15354         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15355           nm_vpn_manager_vpn_connection_list_copy()
15356         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15357           nm_vpn_service_get_dbus_connection()
15358         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15359           nm_vpn_manager_vpn_connection_list_copy()
15360         * src/vpn-manager/nm-vpn-service.c: make
15361           nm_vpn_service_act_request_failed() and
15362           nm_vpn_service_stage2_daemon_wait() static
15363         * src/vpn-manager/nm-vpn-service.h: add prototype for
15364           nm_vpn_service_get_dbus_connection()
15365
15366 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15367
15368         * gnome/applet/applet.c:
15369         * gnome/applet/applet.h:
15370         * gnome/applet/icons/Makefile.am:
15371         Convey information about the current connection stage in the
15372         icons themselves instead of creating a separate progress bar.
15373
15374 2005-10-04  Robert Love  <rml@novell.com>
15375
15376         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15377           convert an ether_addr structure's MAC into a string, because the
15378           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15379           versus 07:3B:04, while the former will not.
15380
15381 2005-10-04  Robert Love  <rml@novell.com>
15382
15383         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15384           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15385           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15386           default route in the 'Connection Information' dialog, send primary
15387           and secondary name servers in in "getProperties" DBUS method, add
15388           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15389           secondary domain name servers are crucial pieces of information
15390           that a user might need in debugging a network problem.
15391
15392 2005-10-04  Robert Love  <rml@novell.com>
15393
15394         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15395           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15396           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15397           default route in the 'Connection Information' dialog, send default
15398           route in "getProperties" DBUS method, add network_device_set_route(),
15399           and network_device_get_route().  The Gateway is a crucial piece of
15400           connection-related information that a user might need in debugging a
15401           network problem.
15402
15403 2005-10-03  Robert Love  <rml@novell.com>
15404
15405         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15406           NULL.
15407
15408 2005-10-02  Dan Williams  <dcbw@redhat.com>
15409
15410         * Shorten time taken to sleep by fastpathing bits of device deactivation
15411                 necessary for sleep.
15412
15413         * Fix issue where deactivating a device might deactivate the active
15414                 VPN connection, even if the VPN was not using the device.
15415
15416 2005-10-02  Dan Williams  <dcbw@redhat.com>
15417
15418         * gnome/applet/applet.c
15419                 - Adjust signal strength -> icon mapping values slightly
15420                         (so that 51% signal doesn't show a 75% icon) by adding
15421                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15422                         shows 50% icon, etc.
15423
15424 2005-09-29  Robert Love  <rml@novell.com>
15425
15426         * src/NetworkManager.c: removed unused variable.
15427
15428 2005-09-28  Dan Williams  <dcbw@redhat.com>
15429
15430         Support for named + DBus, using Red Hat DBus patches for named.  You
15431         can find those patches here, with "dbus" in the patch's filename:
15432
15433                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15434
15435         Don't forget the named dbus service file either.
15436
15437         Instead of writing a config file and spawing a named process, NM will
15438         use an already-running dbus-enabled named if it finds one.  NM will
15439         update named's forwarder configuration on the fly using dbus.
15440
15441         If there is no dbus-enabled named running, NM will automatically fall
15442         back to writing the most-recent DNS server information to /etc/resolv.conf
15443         and calling nm_system_update_dns() to kick the system's resolver.
15444
15445         Accordingly, all named-related configure-time options have been removed.
15446
15447 2005-09-26  Robert Love  <rml@novell.com>
15448
15449         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15450           ISDN support!
15451         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15452           bug in error path if "ASKPASSWORD" is "no".
15453
15454 2005-09-26  Robert Love  <rml@novell.com>
15455
15456         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15457           comment in /etc/resolv.conf -- ';' is not.
15458
15459 2005-09-19  Dan Williams  <dcbw@redhat.com>
15460
15461         * src/backends/NetworkManagerRedHat.c:
15462         * src/backends/NetworkManagerDebian.c:
15463         * src/backends/NetworkManagerSlackware.c:
15464         * src/backends/NetworkManagerGentoo.c:
15465         * src/backends/NetworkManagerSUSE.c:
15466         Fix invocations of "/sbin/ip address" to use short form instead
15467
15468 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15469
15470         * src/nm-dbus-device.c: Don't assert when getting
15471         addresses of a not yet connected interface.
15472
15473         * gnome/applet/applet.c: Free icons if loading fails.
15474         Use translator-credits so translators can make themselves known.
15475
15476 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15477
15478         * src/NetworkManagerAP.c:
15479         * src/NetworkManagerAP.h:
15480         * src/NetworkManagerDevice.c:
15481         Set a blacklist for certain common manufacturer default ESSIDs:
15482         APs with these ESSIDs are extremely likely to be completely
15483         different networks: connecting to one should not make NM
15484         auto-connect to every other AP with the same default ESSID.
15485
15486 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15487
15488         * gnome/applet/wireless-applet.glade:
15489         The passphrase entry should also activate the default
15490
15491         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15492
15493         * gnome/applet/applet-dbus-devices.c:
15494         * gnome/applet/applet.c:
15495         * gnome/applet/nm-device.c:
15496         * gnome/applet/nm-device.h:
15497         * src/NetworkManagerUtils.c:
15498         * src/NetworkManagerUtils.h:
15499         * src/nm-dbus-device.c:
15500         I've got a fever, and the only cure for it is less ioctl.
15501         Make NM push IP data rather than make the applet open a socket
15502         to the device.
15503
15504 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15505
15506         * gnome/applet/applet.c:
15507         * gnome/applet/applet-dbus-devices.c:
15508         * gnome/applet/applet-dbus-info.c:
15509         * gnome/applet/passphrase-dialog.c:
15510         * gnome/libnm_glib/libnm_glib.c:
15511         * gnome/vpn-properties/nm-vpn-properties.c:
15512         * src/autoip.c:
15513         * src/backends/NetworkManagerRedHat.c:
15514         * src/named-manager/nm-named-manager.c:
15515         * src/NetworkManagerAPList.c:
15516         * src/NetworkManager.c:
15517         * src/NetworkManagerDbus.c:
15518         * src/NetworkManagerDevice.c:
15519         * src/NetworkManagerPolicy.c:
15520         * src/NetworkManagerSystem.c:
15521         * src/nm-dbus-device.c:
15522         * src/nm-dbus-nm.c:
15523         * src/vpn-manager/nm-vpn-manager.c:
15524         * src/vpn-manager/nm-vpn-service.c:
15525         * test/libnm_glib_test.c:
15526         * test/nminfotest.c:
15527         * test/nmtestdevices.c:
15528         Fix a bunch of 'unused variable' compiler warnings
15529
15530         * NetworkManager.h:
15531         * gnome/applet/applet-dbus-info.c:
15532         * gnome/applet/applet-dbus-info.h:
15533         * gnome/applet/applet.c:
15534         * gnome/applet/applet.h:
15535         * src/NetworkManager.c:
15536         * src/NetworkManagerDbus.c:
15537         * src/NetworkManagerDbus.h:
15538         * src/NetworkManagerDevice.c:
15539         * src/NetworkManagerDevice.h:
15540         * src/NetworkManagerMain.h:
15541         * src/NetworkManagerWireless.c:
15542         * src/NetworkManagerWireless.h:
15543         * src/nm-dbus-nm.c:
15544         Make NetworkManager be smart about how frequently to scan
15545         based on its current state.  Remove the UI for choosing when
15546         to scan.  Scanning still may disabled completely by the user
15547         via the "Wireless Enabled" menu item.
15548
15549 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15550
15551         * gnome/applet/applet.c:
15552         Also overlay the vpn connecting icons onto the wired icon,
15553         when appropriate.
15554
15555         * gnome/vpn-properties/nm-vpn-properties.glade:
15556         Clean up a few strings to use better grammar and proper casing.
15557
15558 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15559
15560         * gnome/applet/vpn-connection.c:
15561         * gnome/applet/vpn-connection.h:
15562         Add nmwa_vpn_connection_is_activating ()
15563
15564         * gnome/applet/applet.c:
15565         * gnome/applet/applet.h:
15566         * gnome/applet/icons/nm-vpn-connecting*.png:
15567         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15568         the user know something's happening between clicking the VPN item and it
15569         actually being connected.
15570
15571 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15572
15573         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15574         failure case as well.
15575
15576 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15577
15578         * gnome/panel/eggtrayicon.[ch]:
15579         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15580
15581 2005-09-07  Dan Williams  <dcbw@redhat.com>
15582
15583         Patch from Bill Moss <bmoss@clemson.edu>
15584         * src/applet-dbus.c
15585                 - (nmwa_dbus_filter): strip whitespace from beginning
15586                         and end of VPN login banner
15587
15588 2005-09-07  Dan Williams  <dcbw@redhat.com>
15589
15590         * The great VPN Manager rewrite of 2005
15591
15592 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15593
15594         * gnome/applet/menu-items.c:
15595         * gnome/applet/nm-device.c:
15596         * gnome/applet/wireless-network.c:
15597         * gnome/libnm_glib/libnm_glib.c:
15598         * src/NetworkManagerDbusUtils.c:
15599         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15600         g_malloc0 doesn't return NULL
15601
15602 2005-09-06  Dan Williams  <dcbw@redhat.com>
15603
15604         Patch from Tomislav Vujec <tvujec@redhat.com>
15605         * src/NetworkManagerDevice.c
15606                 - (nm_get_device_by_udi): don't return a device when we
15607                         actually didn't find what we were looking for
15608
15609 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15610
15611         * gnome/applet/applet-dbus-devices.c:
15612         * gnome/applet/applet-dbus-devices.h:
15613         * gnome/applet/applet-dbus.c:
15614         * src/NetworkManagerDbus.c:
15615         * src/NetworkManagerDbus.h:
15616         * src/NetworkManagerDevice.c:
15617         * src/nm-dbus-device.c:
15618         Make NM push updates about active device strength when it changes,
15619         rather than having the applet poll every 2s.
15620
15621 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15622
15623         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15624         network_device_set_strength
15625
15626 2005-09-04  Dan Williams  <dcbw@redhat.com>
15627
15628         Patch from Bill Nottingham <notting@redhat.com>
15629         * src/NetworkManagerDevice.c
15630                 - (nm_device_activation_cancel): reset the quit_activation flag
15631
15632 2005-09-04  Dan Williams  <dcbw@redhat.com>
15633
15634         * src/nm-activation-request.c
15635                 - (nm_act_request_unref): actually free the structure,
15636                         which we didn't seem to be doing before
15637
15638 2005-09-04  Dan Williams  <dcbw@redhat.com>
15639
15640         Patch from John Palmieri <johnp@redhat.com>
15641         * gnome/applet/applet-dbus-devices.c
15642                 - Fix up unreffing of DBusMessage objects
15643
15644 2005-09-04  Dan Williams  <dcbw@redhat.com>
15645
15646         Patch from John Palmieri <johnp@redhat.com>
15647         * gnome/applet/nm-device.c
15648                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15649
15650 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15651
15652         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15653
15654 2005-09-02  Bill Nottingham  <notting@redhat.com>
15655
15656         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15657
15658 2005-09-01  Dan Williams  <dcbw@redhat.com>
15659
15660         * src/NetworkManager.c
15661                 - (nm_remove_device_from_list): rename to nm_remove_device
15662                 - (nm_hal_device_removed): call nm_remove_device()
15663
15664         * src/NetworkManagerDevice.c
15665                 - Change the NMWirelessScanCB member 'reschedule' which
15666                         wasn't used to 'force' to indicate that we need to
15667                         force a scan when adding a device
15668
15669         * src/nm-dbus-nm.c
15670                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15671                         from the device list
15672                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15673
15674 2005-09-01  Robert Love  <rml@novell.com>
15675
15676         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15677           and the check "!iface" in the error case is probably never true.
15678
15679 2005-09-01  Dan Williams  <dcbw@redhat.com>
15680
15681         Patch from Bill Nottingham <notting@redhat.com>
15682         * src/backends/NetworkManagerRedHat.c
15683                 - Add initial dialup support to Red Hat/Fedora backend
15684
15685 2005-09-01  Dan Williams  <dcbw@redhat.com>
15686
15687         * gnome/applet/applet-dbus-devices.c
15688                 - Sort both wireless networks and devices again, which got
15689                         broken when removing threading
15690
15691 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15692
15693         * gnome/applet/applet.c:
15694         Only show the "Stop/Start All Wireless Devices" menuitem
15695         if we actually have wireless devices.
15696
15697         * gnome/applet/applet-dbus-info.c:
15698         * gnome/applet/applet.c:
15699         * gnome/applet/other-network-dialog.c:
15700         * gnome/applet/vpn-password-dialog.c:
15701         Drop the gtk_dialog_run () calls in favor of connecting to
15702         "response" signals, needed now that the applet is not threaded.
15703
15704 2005-08-31  Dan Williams  <dcbw@redhat.com>
15705
15706         Patch from Bill Moss <bmoss@clemson.edu>
15707         * src/NetworkManagerDevice.c
15708                 - (nm_device_wireless_scan): fix scan timeout values
15709
15710 2005-08-30  Dan Williams  <dcbw@redhat.com>
15711
15712         * gnome/applet/wireless-applet.glade
15713                 - HIG-ify the Other Wireless Networks dialog a bit more
15714                 - Fix some potential segfaults in the info dialog
15715
15716 2005-08-30  Dan Williams  <dcbw@redhat.com>
15717
15718         * gnome/applet/applet-dbus-devices.c
15719                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15720
15721 2005-08-30  Dan Williams  <dcbw@redhat.com>
15722
15723         * gnome/applet/applet-dbus.[ch]
15724                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15725                         they weren't being used anyway
15726
15727 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15728
15729         * test/nmtestdevices.c: (print_usage), (main):
15730         Check the number of arguments, and fix a typo
15731
15732 2005-08-29  Dan Williams  <dcbw@redhat.com>
15733
15734         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15735         * gnome/applet/applet.c
15736                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15737
15738 2005-08-29  Dan Williams  <dcbw@redhat.com>
15739
15740         * gnome/applet/*
15741                 - Don't use threads any more.  Anything that blocks
15742                         (like gtk_dialog_run()) will  have to get fixed up which
15743                         should happen quickly.  We really only had threads to make
15744                         the animation smooth, and when everything got converted over
15745                         to DBus Pending Calls, the need for threads kind of went away
15746
15747 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15748
15749         * gnome/applet/applet.c: Draw VPN connections as radio items
15750         since we don't yet support multiple VPNs.
15751         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15752         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15753
15754 2005-08-29  Dan Williams  <dcbw@redhat.com>
15755
15756         Patch from j@bootlab.org
15757         - Make --without-named work
15758         - Make --with-dhcdbd work correctly
15759
15760 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15761
15762         * configure.in: Added "ca" to ALL_LINGUAS.
15763
15764 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15765
15766         * Fix up VPN state handling between the applet and NetworkManager,
15767                 so that the applet doesn't show a VPN as connected when one
15768                 really is not
15769                         - The applet no longer has a pointer to the active VPN's
15770                                 name, but tracks each VPNs state individually
15771                         - NM no longer has a "getActiveVPNConnection" method
15772                         - NM no longer broadcasts the "VPNConnectionChange" signal
15773                         - NM now broadcasts a "VPNConnectionStateChange" signal
15774                                 whenever the state of a VPN changes
15775
15776 2005-08-26  Dan Williams <dcbw@redhat.com>
15777
15778         * gnome/applet/applet-dbus-devices.c
15779           gnome/applet/applet-dbus-vpn.c
15780                 - Remove calls to dbus_pending_call_ref() because we already
15781                         "own" the pending call
15782                 - Remove calls to dbus_pending_call_get_completed() because
15783                         when we are in the callback, the pending call is completed
15784                         by definition
15785
15786 2005-08-22  Dan Williams <dcbw@redhat.com>
15787
15788         Patch by Bill Moss <bmoss@clemson.edu>
15789         * src/dhcp-manager/nm-dhcp-manager.c
15790                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15791                         some time to send out a RELEASE if they like
15792
15793 2005-08-22  Dan Williams <dcbw@redhat.com>
15794
15795         Noticed by Bill Moss <bmoss@clemson.edu>
15796         * src/NetworkManagerDbus.c
15797                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15798                         instead of just cancelling its activation
15799
15800         * src/NetworkManagerDevice.c
15801                 - (nm_device_deactivate): some small cleanups
15802                 - (nm_device_set_user_key_for_network): deactivate the device
15803                         instead of just cancelling its activation
15804
15805 2005-08-22  Dan Williams <dcbw@redhat.com>
15806
15807         Noticed by Bill Moss <bmoss@clemson.edu>
15808         * src/NetworkManagerDevice.c
15809                 - (nm_device_wireless_scan): fix scan timeout, we were
15810                         waiting way too long for scans to complete
15811
15812 2005-08-22  Dan Williams <dcbw@redhat.com>
15813
15814         Patch from j@bootlab.org:
15815         * src/backends/NetworkManagerDebian.c
15816                 - Make the Debian backend work for static IP again
15817
15818 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15819
15820         * gnome/applet/other-network-dialog.c:
15821         The "Create New Network" and "Connect to Other Network"
15822         dialogs share alot of code, but shouldn't share a window
15823         title.  Give them different ones.
15824
15825         * gnome/applet/wireless-applet.glade:
15826         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15827         Some more minor UI tweaks.
15828
15829 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15830
15831         * gnome/applet/other-network-dialog.c:
15832         * gnome/applet/wireless-applet.glade:
15833         Also need mnemonic widgets, and underline enabled.
15834
15835 2005-08-19  Dan Williams <dcbw@redhat.com>
15836
15837         * vpn-daemons/vpnc/nm-vpnc-service.c
15838                 - (vpnc_watch_cb): remove no-longer-relevant comment
15839                 - (write_config_option): new function, helper to write
15840                         config options to vpnc's stdin
15841                 - (nm_vpnc_config_write): use the new helper, make the
15842                         code shorter
15843
15844 2005-08-19  Christopher Aillon <caillon@redhat.com>
15845
15846         * gnome/applet/passphrase-dialog.c:
15847         * gnome/applet/wireless-applet.glade:
15848         Make the passphrase dialog response based, and treat
15849         responses other than OK (such as Esc, [X]) as a cancel.
15850
15851 2005-08-18  Christopher Aillon <caillon@redhat.com>
15852
15853         * initscript/Gentoo/NetworkManager:
15854         * initscript/RedHat/NetworkManager:
15855         * initscript/RedHat/NetworkManagerDispatcher:
15856         * initscript/SUSE/networkmanager:
15857         CVS remove these in place of .in replacements
15858
15859         * configure.in:
15860         * initscript/Gentoo/NetworkManager.in:
15861         * initscript/RedHat/NetworkManager.in:
15862         * initscript/RedHat/NetworkManagerDispatcher.in:
15863         * initscript/SUSE/networkmanager.in:
15864         These scripts now are generated so they work still when
15865         NM is built using a bindir other than /usr/bin
15866
15867 2005-08-18  Dan Williams <dcbw@redhat.com>
15868
15869         * gnome/applet/main.c
15870                 - Revert previous change for --no-session since
15871                         --sm-disable does the same thing
15872
15873 2005-08-18  Dan Williams <dcbw@redhat.com>
15874
15875         * gnome/applet/applet-dbus-info.c
15876                 - (nmi_dbus_create_error_message): new function
15877                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15878                         functions.  Also don't check for both device _and_ network before
15879                         asking for a user's key, because we may not have gotten all our
15880                         networks back from NM quite yet (due to the dbus pending calls
15881                         coming in later).  Fixes a hang in NM/nm-applet.
15882
15883         * src/NetworkManagerDbus.c
15884                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15885                         slightly more sane manner, even though we are still broken for
15886                         certain other error conditions.
15887                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15888                         to the info-daemon too
15889
15890         * src/NetworkManagerDevice.c
15891                 - Fix some debug messages to be info messages instead
15892
15893 2005-08-18  Dan Williams <dcbw@redhat.com>
15894
15895         * gnome/applet/main.c
15896                 - Add new "--no-session" parameter that disables applet
15897                         session management, ie for testing
15898
15899 2005-08-18  Christopher Aillon <caillon@redhat.com>
15900
15901         * gnome/applet/other-network-dialog.c:
15902         * gnome/applet/wireless-applet.glade: More mnemonics
15903
15904 2005-08-17  Robert Love  <rml@novell.com>
15905
15906         * initscript/SUSE/networkmanager: update
15907
15908 2005-08-17  Dan Williams  <dcbw@redhat.com>
15909
15910         * Tag NM_0_4_1_RELEASE
15911
15912 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15913
15914         * gnome/applet/applet.c: More translatable string cleanup
15915
15916
15917 2005-08-17  Dan Williams  <dcbw@redhat.com>
15918
15919         * gnome/applet/applet-dbus-info.c
15920                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15921                         from the dbus message, which tells us to unconditionally
15922                         ask the user for a new key.  Otherwise, we pull the key from
15923                         the keyring and return it.  If we fail to get the key from the
15924                         keyring, we ask the user for a new key.
15925                 - (nmi_dbus_get_network_key): new function to grab the key for
15926                         an essid from the keyring.
15927                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15928                         Also, don't return any key in the dbus message.
15929
15930         * src/NetworkManagerDbus.[ch]
15931                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15932                         indicate that we unconditionally want a new key.  This function
15933                         is now also used to get keys from the info-daemon which are
15934                         pre-stored, not just for asking the user for a new key.  The
15935                         "new_key" parameter indicates whether or not we wish to ask the
15936                         user for a new key.
15937                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15938                         info-daemon in the return message, so use NULL instead.  The
15939                         key will be filled in at connect time by calling
15940                         nm_dbus_get_user_key_for_network()
15941
15942         * src/NetworkManagerDevice.c
15943                 - (nm_device_wireless_configure): update for "new_key" param to
15944                         nm_dbus_get_user_key_for_network().  We initially set new_key
15945                         to FALSE to see if we have a stored key in the info-daemon, but
15946                         if the connection is unsuccessful at this stage we request a
15947                         new one
15948
15949 2005-08-17  Dan Williams  <dcbw@redhat.com>
15950
15951         * gnome/applet/icons/nm-no-connection.png
15952           gnome/applet/icons/nm-device-wired.png
15953                 - Use Diana's new RJ45 connector icons
15954
15955 2005-08-17  Dan Williams  <dcbw@redhat.com>
15956
15957         * src/NetworkManagerPolicy.c
15958                 - (nm_policy_device_change_check): clarify switching rules if
15959                         both new and old devices are valid; mainly, don't switch
15960                         away from user-requested wireless connection back to a wired
15961                         one
15962
15963 2005-08-17  Dan Williams  <dcbw@redhat.com>
15964
15965         * gnome/applet/Makefile.am
15966                 - Relocate the applet to /usr/bin since it is no longer
15967                         executed by anything, but directly by the user
15968
15969 2005-08-17  Dan Williams  <dcbw@redhat.com>
15970
15971         Patch from Bill Moss <bmoss@clemson.edu>
15972
15973         * gnome/applet/applet-dbus-info.[ch]
15974                 - (nmi_save_network_info): save timestamp for network if it
15975                         was a change requested by the user
15976                 - (nmi_dbus_update_network_info): get user_requested from dbus
15977                         message and pass to nmi_save_network_info()
15978
15979         * gnome/applet/applet.c
15980                 - (nmwa_update_network_timestamp): remove
15981                 - (nmwa_menu_item_activate): don't set timestamp on networks
15982                         here, only after a successful connect in nmi_save_network_info()
15983
15984         * src/NetworkManagerDbus.[ch]
15985                 - (nm_dbus_update_network_info): pass user_requested into the 
15986                         dbus message
15987
15988         * src/NetworkManagerPolicy.c
15989                 - (nm_policy_activation_finish): pass user_requested to
15990                         nm_dbus_update_network_info()
15991
15992 2005-08-16  Robert Love  <rml@novell.com>
15993
15994         * gnome/applet/applet.c: Better "Dial Up" menu item.
15995
15996 2005-08-16  Robert Love  <rml@novell.com>
15997
15998         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15999           "Connection Information" menu item.
16000
16001 2005-08-16  Dan Williams  <dcbw@redhat.com>
16002
16003         Patch from j@bootlab.org
16004         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16005
16006         * configure.in: allow specifying the path to dhcdbd
16007
16008 2005-08-16  Robert Love  <rml@novell.com>
16009
16010         Patch from j@bootlab.org
16011         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16012           src/backends/interface_parser.h: Debian dialup support.
16013
16014 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16015
16016         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16017         * gnome/applet/applet.c: Add some mnemonics for VPNC
16018
16019         * vpn-daemons/.cvsignore: fix this up a little bit
16020
16021 2005-08-16  Robert Love  <rml@novell.com>
16022
16023         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16024           support.
16025
16026 2005-08-16  Christopher Aillon  <caillon@redhat.com>
16027
16028         * gnome/applet/applet.c: Split markup out of translatable strings
16029         and clean up logic a little bit.  (fixes #309012)
16030
16031 2005-08-15  Christopher Aillon  <caillon@redhat.com>
16032
16033         * gnome/vpn-properties/nm-vpn-properties.c:
16034         * gnome/vpn-properties/nm-vpn-ui-interface.h:
16035         * vpn-daemons/vpnc/properties/nm-vpnc.c:
16036         Makeshift fix to remove newlines from translatable strings.
16037         Note that we now return an allocated string, so callers of
16038         get_confirmation_details () must now call g_free () on the
16039         result. (fixes #309033).
16040
16041 2005-08-12  Robert Love  <rml@novell.com>
16042
16043         * gnome/applet/applet-dbus.c: remove newlines from translatable
16044           strings--not needed here anyway. (fix b.g.o #309011)
16045         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16046
16047 2005-08-11  Robert Love  <rml@novell.com>
16048
16049         * gnome/applet/applet.c: mark string as translatable.
16050
16051 2005-08-11  Robert Love  <rml@novell.com>
16052
16053         * initscript/SUSE/networkmanager: update.
16054
16055 2005-08-11  Dan Williams  <dcbw@redhat.com>
16056
16057         * src/nm-dhcp-manager.c
16058                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16059                         an gateway returned from DHCP, try to use the address of the DHCP
16060                         server as the gateway instead.  Found by Ralf Ertzinger.
16061
16062 2005-08-10  Robert Love  <rml@novell.com>
16063
16064         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16065           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16066
16067 2005-08-10  Dan Williams  <dcbw@redhat.com>
16068
16069         Patch from Bill Moss <bmoss@clemson.edu>
16070         * Consolidate writes of access point information updates to the info daemon
16071                 so that we only do it when the connection to the access point was
16072                 successful.  Also consolidates updates to GConf in the Gnome applet.
16073
16074         * src/nm-netlink-monitor.c
16075                 - Silence compile warning when calling g_object_new()
16076
16077 2005-08-08  Dan Williams  <dcbw@redhat.com>
16078
16079         Patch from Steev <steev@steev.net>:
16080         * src/backends/NetworkManagerGentoo.c
16081                 - Stub new dialup backend functions
16082
16083 2005-08-08  Dan Williams  <dcbw@redhat.com>
16084
16085         Patch from Colin Slater:
16086         * src/backends/NetworkManagerGentoo.c
16087                 - (nm_system_update_dns): Fix exit status check for restarting
16088                         nscd
16089
16090 2005-08-05  Robert Love  <rml@novell.com>
16091
16092         * NetworkManager.h,
16093           gnome/applet/applet-dbus-devices.c,
16094           gnome/applet/applet-dbus-devices.h,
16095           gnome/applet/applet-dbus.c,
16096           gnome/applet/applet.c,
16097           gnome/applet/applet.h,
16098           src/NetworkManager.c,
16099           src/NetworkManagerMain.h,
16100           src/NetworkManagerSystem.h,
16101           src/backends/NetworkManagerRedHat.c,
16102           src/backends/NetworkManagerSuSE.c,
16103           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16104
16105 2005-08-05  Robert Love  <rml@novell.com>
16106
16107         * gnome/applet/other-network-dialog.c: default the adhoc network to the
16108           machine's hostname to make adhoc creation idiot-proof.
16109
16110 2005-08-04  Robert Love  <rml@novell.com>
16111
16112         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16113           freed.
16114
16115 2005-08-04  Dan Williams  <dcbw@redhat.com>
16116
16117         * gnome/applet/applet-dbus-info.c
16118           gnome/applet/applet-dbus-info.h
16119                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16120                         to store key, key type, and auth method rather than just auth method
16121                 - (nmi_dbus_update_network_info): new function
16122                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16123
16124         * gnome/applet/passphrase-dialog.c
16125                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16126                         of saving the info ourselves
16127
16128         * gnome/libnm_glib/libnm_glib.c
16129                 - Remove the stupid version check for dbus
16130
16131         * src/NetworkManagerAP.c
16132           src/NetworkManagerAP.h
16133                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16134
16135         * src/NetworkManagerDbus.c
16136           src/NetworkManagerDbus.h
16137                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16138                         more than just the auth method
16139
16140         * src/NetworkManagerDevice.c
16141                 - Update network info at the appropriate times
16142
16143 2005-07-29  Ray Strode  <rstrode@redhat.com>
16144
16145         * src/NetworkManager.c (nm_info_handler): don't use input as format
16146         string (Spotted by Ian Jackson).
16147
16148 2005-07-27  Dan Williams  <dcbw@redhat.com>
16149
16150         * src/nm-dbus-nm.c
16151           src/nm-dbus-net.c
16152                 - Random cleanups of spacing
16153
16154         * gnome/applet/applet.h
16155           gnome/applet/other-network-dialog.c
16156           gnome/applet/passphrase-dialog.c
16157                 - Conslidate usage of NMWAEncryptionKeyTypes enum
16158
16159         Patch from Bill Moss:
16160                 - Make Other Wireless Networks work again with encryption keys
16161
16162 2005-07-26  Dan Williams  <dcbw@redhat.com>
16163
16164         Patch from Steev <steev@steev.net>:
16165         * src/backends/NetworkManagerGentoo.c
16166           src/backends/Makefile.am
16167                 - Fix up Gentoo backend
16168
16169 2005-07-26  Robert Love  <rml@novell.com>
16170
16171         * src/backends/NetworkManagerSuSE.c: misc. cleanup
16172
16173 2005-07-25  Robert Love  <rml@novell.com>
16174
16175         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16176           in the same group as the wireless networks, since they are all
16177           mutually exclusive.
16178
16179 2005-07-24  Ray Strode  <rstrode@redhat.com>
16180
16181         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
16182         remove unneeded NULL arg from g_object_new().  Any
16183         warnings caused by not having the extra NULL are just a
16184         result of a bug in glib 2.7.0 - 2.7.2.
16185
16186 2005-07-22  Robert Love  <rml@novell.com>
16187
16188         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16189
16190 2005-07-22  Robert Love  <rml@novell.com>
16191
16192         * src/nm-netlink-monitor.c: g_object_new() needs at least three
16193           parameters (gcc 4.0.2 warning fix).
16194
16195 2005-07-18  Robert Love  <rml@novell.com>
16196
16197         Suggested by Aaron Bockover (abockover@novell.com)
16198         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16199           s/Ascii/ASCII
16200         * gnome/applet/passphrase-dialog.c: ditto
16201         * gnome/applet/wireless-applet.glade: ditto
16202
16203 2005-07-13  Dan Williams  <dcbw@redhat.com>
16204
16205         Patch from Ray Strode <halfline@gmail.com>
16206         * vpn-daemons/vpnc/nm-vpnc-service.c
16207                 - Don't let vpnc daemonize, fixes some races with PID file reading
16208
16209 2005-07-13  Dan Williams  <dcbw@redhat.com>
16210
16211         Patch from Ray Strode <halfline@gmail.com>
16212         * Random cleanups for strict CFLAGS
16213
16214 2005-07-07  Dan Williams  <dcbw@redhat.com>
16215
16216         Patch from Derek Atkins <warlord@MIT.EDU>
16217         * src/nm-dbus-net.c:
16218                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16219
16220 2005-07-07  Dan Williams  <dcbw@redhat.com>
16221
16222         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16223         * src/backends/NetworkManagerGentoo.c
16224                 - Gentoo backend Static IP nameserver fixes
16225                 - General Gentoo backend goodness
16226
16227 2005-07-07  Dan Williams  <dcbw@redhat.com>
16228
16229         Patch from Bastien Nocera:
16230         * gnome/applet/applet.c
16231                 - Fix up error reporting when icons or glade files are missing
16232
16233 2005-07-07  Robert Love  <rml@novell.com>
16234
16235         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16236           are not any VPN connections above it.
16237
16238 2005-07-07  Robert Love  <rml@novell.com>
16239
16240         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16241
16242 2005-07-05  Robert Love  <rml@novell.com>
16243
16244         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16245           zero.
16246
16247 2005-07-05  Robert Love  <rml@novell.com>
16248
16249         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16250           on wired or unencrypted wireless.
16251
16252 2005-07-01  Robert Love  <rml@novell.com>
16253
16254         * src/NetworkManagerSystem.c: Print the error via strerror().
16255
16256 2005-06-30  Robert Love  <rml@novell.com>
16257
16258         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16259           then exit if the glade file is not found.  currently the application
16260           just hangs.
16261
16262 2005-06-30  Robert Love  <rml@novell.com>
16263
16264         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16265           explicitly up all interfaces on wake from sleep.
16266
16267 2005-06-30  Robert Love  <rml@novell.com>
16268
16269         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16270           with information about the currently active connection.
16271         * gnome/applet/applet.h: (ditto)
16272         * gnome/applet/wireless-applet.glade: (ditto), new file
16273
16274 2005-06-30  Robert Love  <rml@novell.com>
16275
16276         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16277         * src/nm-dbus-nm.c: print when we sleep and wake up.
16278         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16279         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16280           in /sbin unless D-BUS is, folks).
16281         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16282
16283 2005-06-27  Robert Love  <rml@novell.com>
16284
16285         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16286           case.
16287
16288 2005-06-27  Robert Love  <rml@novell.com>
16289
16290         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16291           items radios.
16292
16293 2005-06-26  Robert Love  <rml@novell.com>
16294
16295         * src/NetworkManagerDevice.c: be specific about which device in
16296           nm_info() message.
16297
16298 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16299
16300         * src/nm-netlink-monitor.c: correct spelling error.
16301
16302 2005-06-23  Robert Love  <rml@novell.com>
16303
16304         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16305         * gnome/applet/passphrase-dialog.c: more of that keyring!
16306
16307 2005-06-23  Robert Love  <rml@novell.com>
16308
16309         * configure.in: remove extraneous GNOMEKEYRING directives.
16310         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16311         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16312         * gnome/applet/passphrase-dialog.c: whitespace.
16313
16314 2005-06-23  Robert Love  <rml@novell.com>
16315
16316         * src/NetworkManagerDevice.c: division in assignment was flipped.
16317
16318 2005-06-23  David Zeuthen  <david@fubar.dk>
16319
16320         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16321         signal to the child to indicate that we got what we wanted when we
16322         see two new-lines right after each other.
16323         (nmwa_vpn_request_password): Pass a structure with several members
16324         instead of just the passwords
16325
16326 2005-06-23  Dan Williams <dcbw@redhat.com>
16327
16328         * src/NetworkManager.c
16329           src/NetworkManagerMain.h
16330                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16331                 - (nm_hal_init): new function, init libhal context then add devices
16332                 - (nm_hal_deinit): new function, clean up libhal context
16333                 - (nm_data_free): Move Hal cleanup here
16334                 - (main): check whether Hal is running, and if so, get a list of
16335                         network devices from it
16336
16337         * src/NetworkManagerDbus.c
16338                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16339                         and when it appears, get a list of network devices from it.  If
16340                         Hal goes away, clean up the libhal context
16341
16342 2005-06-22  Robert Love  <rml@novell.com>
16343
16344         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16345           permissions of scripts before executing.
16346
16347 2005-06-21  Robert Love  <rml@novell.com>
16348
16349         * initscript/SUSE/networkmanager: update.
16350         * src/backends/NetworkManagerSuSE.c: cleanup.
16351
16352 2005-06-21  Robert Love <rml@novell.com>
16353
16354         * gnome/applet/applet.c: use menu mnemonics.
16355         * gnome/applet/menu-items.c: (ditto)
16356
16357 2005-06-21  Robert Love  <rml@novell.com>
16358
16359         * applet/applet-dbus-devices.c: mark non-static functions static.
16360         * applet/applet-dbus-vpn.c: (ditto)
16361         * applet/applet.c: (ditto)
16362         * applet/nm-device.h: (ditto)
16363         * applet/other-network-dialog.c: (ditto)
16364         * applet/passphrase-dialog.c: (ditto)
16365         * NetworkManager.c: (ditto)
16366         * NetworkManagerDbus.c: (ditto)
16367         * NetworkManagerDevice.c: (ditto)
16368         * NetworkManagerPolicy.c: (ditto)
16369         * NetworkManagerUtils.c: (ditto)
16370         * NetworkManagerWireless.c: (ditto)
16371         * NetworkManagerWireless.h: (ditto)
16372         * nm-netlink-monitor.c: (ditto)
16373         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16374         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16375         * autoip.c: include autoip.h.
16376         * autoip.h: new file.  define get_autoip().
16377         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16378         * NetworkManagerDbus.h: remove duplicate definitions.
16379
16380 2005-06-20  Robert Love  <rml@novell.com>
16381
16382         * Makefile.am: Add missing intltool-foo.in generated files to
16383           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16384           with the start of stuff to cleanup on 'distclea'.
16385         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16386           stuff right and 'distcheck' works.
16387         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16388           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16389           Makefile.am for each.  And systray/Makefile needs to be redone.
16390
16391 2005-06-19  Dan Williams <dcbw@redhat.com>
16392
16393         * src/NetworkManagerDevice.c
16394         - (nm_device_wireless_process_scan_results): scan every 20s when
16395           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16396
16397 2005-06-19  Dan Williams <dcbw@redhat.com>
16398
16399         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16400
16401 2005-06-18  Ray Strode <rstrode@redhat.com>
16402
16403         * src/nm-netlink-monitor.c 
16404         (nm_netlink_monitor_event_handler): check for the presence
16405         of either error condition not both. 
16406         
16407         (nm_netlink_monitor_error_handler): emit error signal if
16408         error occurs.
16409
16410         (nm_netlink_monitor_event_handler),
16411         (nm_netlink_monitor_error_handler),
16412         (nm_netlink_monitor_disconnect_handler): if an 
16413         assertion fails disconnect the event handler to prevent 
16414         infinite loops.
16415
16416         * src/nm-netlink-monitor.h: add new error condition
16417         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16418
16419 2005-06-18  Ray Strode <rstrode@redhat.com>
16420
16421         * src/nm-netlink-monitor.c 
16422         (nm_netlink_monitor_event_handler): remove bogus < 0
16423         check on unsigned value and return early if the kernel
16424         didn't send any bytes.
16425
16426 2005-06-17  Robert Love  <rml@novell.com>
16427
16428         * initscript/SUSE/networkmanager: Change the Provides and default
16429         run levels
16430
16431 2005-06-16  Dan Williams <dcbw@redhat.com>
16432
16433         Patch from Robert Love:
16434         * gnome/applet/applet.c
16435                 - Beautify some applet menu item names
16436
16437 2005-06-17  David Zeuthen  <davidz@redhat.com>
16438
16439         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16440         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16441         Also add new methods can_export, import_file and export.
16442
16443         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16444         to the main UI
16445
16446         * gnome/vpn-properties/nm-vpn-properties.c:
16447         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16448         nm-vpn-ui-interface.h.
16449         (update_edit_del_sensitivity): Also update "Export" sensitivity
16450         (add_vpn_connection): Also add new SVC_NAME column
16451         (import_settings): New function
16452         (retrieve_data_from_selected_connection): New function
16453         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16454         this function
16455         (export_cb): New function
16456         (init_app): Also setup the "export" widget
16457         (main): Support the --import-service and --import-file commandline
16458         arguments
16459
16460         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16461         D-BUS 0.34
16462
16463 2005-06-16  Dan Williams <dcbw@redhat.com>
16464
16465         Patch from Robert Love:
16466         * gnome/applet/menu-items.c
16467                 - (network_menu_item_new): pass -1 as wireless network
16468                         menu items height size request rather than ascent / 2
16469
16470 2005-06-16  Dan Williams <dcbw@redhat.com>
16471
16472         * Clean up wording in Wireless Scan Methods menu items and constants
16473
16474 2005-06-16  Robert Love  <rml@novell.com>
16475
16476         * po/POTFILES.in
16477                 - remove gtkcell* files
16478
16479 2005-06-15  Dan Williams <dcbw@redhat.com>
16480
16481         Patch from Robert Love: make the applet stetic
16482
16483         * gnome/applet/Makefile.am
16484                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16485
16486         * gnome/applet/gtkcellview.h
16487           gnome/applet/gtkcellview.c
16488           gnome/applet/gtkcellrendererprogress.h
16489           gnome/applet/gtkcellrendererprogress.c
16490                 - Removed
16491
16492         * gnome/applet/menu-items.c
16493                 - Progress bars are 5:1 size ratio
16494                 - Use GTK progress bars rather than internal ones
16495
16496 2005-06-15  Dan Williams <dcbw@redhat.com>
16497
16498         Patch from Robert Love:
16499         * initscript/SUSE/networkmanager
16500                 - Fix typo
16501
16502 2005-06-15  Dan Williams <dcbw@redhat.com>
16503
16504         * src/backends/NetworkManagerSuSE.c
16505           src/backends/NetworkManagerRedHat.c
16506           src/backends/NetworkManagerDebian.c
16507                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16508
16509 2005-06-15  Dan Williams <dcbw@redhat.com>
16510
16511         * src/backends/NetworkManagerDebian.c
16512                 - Add nm_system_device_get_use_dhcp() to debian backend
16513
16514         Patch from Kay Sievers:
16515         * src/backends/NetworkManagerSuSE.c
16516                 - Update debian backend for static IP nameservers
16517
16518         * src/NetworkManagerDevice.c
16519                 - Actually set the device to use static IP or DHCP rather
16520                         than always DHCP
16521
16522 2005-06-15  Dan Williams <dcbw@redhat.com>
16523
16524         Patch from Thom May:
16525         * src/backends/NetworkManagerDebian.c
16526                 - Update debian backend for static IP nameservers
16527
16528 2005-06-15  Dan Williams <dcbw@redhat.com>
16529
16530         Patches from Robert Love:
16531         * gnome/applet/wireless-applet.glade
16532                 - Tighten up wording
16533
16534         * src/NetworkManagerDevice.c
16535                 - Remove misplaced ';'
16536
16537         * configure.in
16538           initscript/Makefile.am
16539           initscript/SUSE/Makefile.am
16540           initscript/SUSE/networkmanager
16541                 - Add SUSE initscript
16542
16543 2005-06-12  David Zeuthen  <davidz@redhat.com>
16544
16545         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16546
16547         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16548
16549         * gnome/vpn-properties/nm-vpn-properties.c: New file
16550
16551         * gnome/vpn-properties/Makefile.am: New file
16552
16553         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16554         array of passwords
16555
16556         * src/vpn-manager/nm-vpn-manager.c
16557         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16558         instead of just a single one
16559
16560         * src/vpn-manager/nm-dbus-vpn.c:
16561         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16562         here
16563         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16564
16565         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16566         Change the interface here to give a list of passwords. Also, don't
16567         require username, but do require service
16568
16569         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16570         the binary for the auth-dialog and use that instead of putting up a
16571         dialog asking for a single password
16572
16573         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16574         however do remember the service
16575
16576         * gnome/applet/main.c (main): Setup i18n
16577
16578         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16579         connection to '%s'" to the tooltip if we are connected using VPN
16580         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16581         key to determine whether we the auth-dialog needs to
16582         reprompt. Also cope with the fact that the auth-dialog now returns
16583         an array of passwords.
16584         (nmwa_menu_configure_vpn_item_activate): New handler for
16585         "Configure VPN..." menu item
16586         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16587         (is_vpn_available): New function to determine if we got any
16588         NM-compatible VPN software installed
16589         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16590         items only if we have NM-compatible VPN software installed
16591         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16592         logic for detecting when VPN connections are removed
16593
16594         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16595         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16596         since these are defined elsewhere
16597
16598         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16599         function used to keep track of whether the last attempt succeded
16600         (nmwa_dbus_filter): Update last_attempt according to whether the
16601         VPN connection could be established or not
16602
16603         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16604         Change prototype to take an array of passwords, not just a single
16605         password
16606
16607         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16608         update service, not user
16609         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16610         dbus_active_vpn_name is not NULL before using it
16611         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16612         string array instead of assuming a single password
16613
16614         * gnome/applet/applet-dbus-info.c:
16615         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16616         user name; don't read from gconf
16617
16618         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16619         VPN_NAME_FILES_DIR
16620
16621         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16622
16623         * configure.in: Add checks for gmodule-2.0.
16624         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16625         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16626         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16627         for details
16628
16629         * vpn-daemons/Makefile.am: Removed
16630
16631         * vpn-daemons/README: New file to describe extensions points for VPN
16632         software
16633
16634 2005-06-10  Dan Williams <dcbw@redhat.com>
16635
16636         * src/backends/NetworkManagerRedHat.c
16637                 - (get_current_profile_name): new function, grab current network profile name from
16638                         /etc/sysconfig/network
16639                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16640                         update an IP4 Config structure's settings from it
16641                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16642                         get DNS info from current network profile
16643
16644 2005-06-09  Dan Williams <dcbw@redhat.com>
16645
16646         Patch from Robert Love:
16647         * src/NetworkManagerDevice.c
16648           src/NetworkManagerUtils.c
16649                 - 64-bit build fixes
16650
16651 2005-06-09  Dan Williams <dcbw@redhat.com>
16652
16653         Patch from Kay Sievers and Robert Love:
16654         * configure.in
16655           src/backends/Makefile.am
16656           src/backends/NetworkManagerSuSE.c
16657                 - Add SuSE support
16658
16659 2005-06-09  Dan Williams <dcbw@redhat.com>
16660
16661         * NetworkManager.h
16662                 - Add NMWirelessScanMethod enum for scan methods
16663
16664         * gnome/applet/applet-dbus-devices.c
16665                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16666                 - (nmwa_dbus_update_scanning_enabled): remove
16667                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16668                         since it got removed
16669                 - (nmwa_dbus_enable_scanning): remove
16670
16671         * gnome/applet/applet-dbus-info.c
16672                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16673                         update the wireless scanning method from NMI
16674                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16675                         method value to NetworkManager
16676                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16677
16678         * gnome/applet/applet-dbus-info.h
16679                 - Add prototype for nmi_dbus_signal_update_scan_method
16680
16681         * gnome/applet/applet.c
16682                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16683                         Wireless Scanning menu based on current wireless scan method
16684                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16685                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16686                         and update our menu items to make sure the right one is checked
16687                 - (nmwa_set_scanning_enabled_cb): remove
16688                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16689                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16690                         Scanning menu item
16691                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16692                         from GConf
16693                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16694                         so we get notified of preference values too
16695                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16696
16697         * gnome/applet/applet.h
16698                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16699                 - Add wireless scan method member to applet data
16700                 - Remove pause_scanning_item, add Wireless Scanning submenu
16701
16702         * src/NetworkManager.c
16703                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16704                 - (main): grab scanning method from NMI if we can
16705
16706         * src/NetworkManagerDbus.c
16707                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16708                         nm_dbus_update_wireless_scan_method()
16709                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16710                         from NMI
16711                 - (nm_dbus_nmi_is_running): redundant function, removed
16712                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16713                         when NMI comes back
16714
16715         * src/NetworkManagerDevice.c
16716                 - (nm_device_is_activated): return TRUE if the device is activated
16717                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16718                         and we are activated
16719
16720         * src/nm-dbus-nm.c
16721                 - (nm_dbus_nm_set_scanning_enabled): removed
16722                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16723                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16724
16725 2005-06-09  Dan Williams <dcbw@redhat.com>
16726
16727         * NetworkManager.h
16728           src/vpn-manager/nm-vpn-service.c
16729                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16730
16731 2005-05-27  Dan Williams <dcbw@redhat.com>
16732
16733         * vpn-daemons/vpnc/nm-vpnc-service.c
16734                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16735                         Should fix the bug where the VPN connection terminates the first time.
16736
16737 2005-05-20  Dan Williams <dcbw@redhat.com>
16738
16739         * NetworkManager.h
16740                 - Differentiate VPN config signals between bad VPN config options
16741                         and bad IP config
16742
16743         * gnome/applet/applet-dbus-info.h
16744                 - Add prototypes for wireless network and vpn connection update functions
16745
16746         * gnome/applet/applet-dbus.c
16747                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16748
16749         * gnome/applet/applet.c
16750                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16751                         error signals
16752                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16753                         propogation to NetworkManager
16754                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16755                         notify propogation to NetworkManager
16756
16757         * src/NetworkManagerDbus.c
16758                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16759                         are updating so a network can be removed from it if necessary
16760
16761         * src/vpn-manager/nm-vpn-manager.c
16762                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16763
16764         * vpn-daemons/vpnc/nm-vpnc-service.c
16765                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16766                 - (nm_vpnc_dbus_signal_launch_failed): remove
16767                 - (nm_vpnc_dbus_signal_connect_failed): remove
16768                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16769                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16770                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16771                         for new generalized error signal function, remove config file stuff
16772                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16773                         we can write configuration options to it
16774                 - (nm_vpnc_config_file_generate): removed
16775                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16776                 - (nm_vpnc_config_options_validate): validate the config options we receive
16777                         from NetworkManager to block potential exploits
16778                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16779                         starting vpnc
16780                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16781                         to NetworkManager
16782
16783 2005-05-16  Dan Williams  <dcbw@redhat.com>
16784
16785         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16786                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16787                         is not "connect"
16788
16789 2005-05-16  Dan Williams  <dcbw@redhat.com>
16790
16791         Patch from Tomislav Vujec <tvujec@redhat.com>
16792         * gnome/applet/applet-dbus-info.c
16793                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16794                         GConf and pass them to NetworkManager.  New key is 'routes' under
16795                         the VPN connection, and should be a string list
16796
16797         * src/NetworkManagerSystem.c
16798                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16799                         set them on the device when we set the rest of the VPN config.  Ensure
16800                         they are in the correct format since they are passed directly to the
16801                         command line.
16802
16803         * src/backends/NetworkManagerRedHat.c
16804           src/backends/NetworkManagerDebian.c
16805                 - (nm_system_device_add_route_via_device_with_iface): new function
16806
16807         * src/vpn-manager/nm-dbus-vpn.c
16808                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16809
16810         * src/vpn-manager/nm-vpn-manager.c
16811                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16812                         them into the IP4 config functions
16813
16814 2005-05-15  Dan Williams  <dcbw@redhat.com>
16815
16816         From Filip Miletic:
16817         * po/sr.po
16818           po/sr@Latn.po
16819           configure.in
16820                 - Serbian translation added
16821
16822 2005-05-15  Dan Williams  <dcbw@redhat.com>
16823
16824         * dispatcher-daemon/NetworkManagerDispatcher.c
16825                 - (main): sync arguments with NetworkManager and the applet, now use
16826                         "--no-daemon" rather than "daemon=no"
16827                 - (nmd_print_usage): Fix script path in usage message
16828
16829 2005-05-15  Dan Williams  <dcbw@redhat.com>
16830
16831         * src/NetworkManagerDevice.[ch]
16832           src/NetworkManagerPolicy.c
16833           src/NetworkManager.c
16834           src/nm-dbus-nm.c
16835                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16836                         longer send the DeviceNoLongerActive signal unconditionally, but only
16837                         when the device is actually active.
16838
16839         * dispatcher-daemon/NetworkManagerDispatcher.c
16840                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16841                         and simplify the logic
16842                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16843                         we free it later on
16844
16845         * initscript/RedHat/Makefile.am
16846           initscript/RedHat/NetworkManagerDispatcher
16847                 - Add initscript for NetworkManagerDispatcher
16848
16849
16850         Patch from Bill Moss:
16851         * dispatcher-daemon/NetworkManagerDispatcher.c
16852                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16853
16854         * src/NetworkManagerDbus.c
16855                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16856                         and DeviceNowActive gets signaled, then the device has a new IP address
16857                         anyway.  There's no need for a separate signal.
16858
16859         * src/NetworkManagerDevice.c
16860                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16861
16862         * src/NetworkManagerPolicy.c
16863                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16864                         activates successfully.  This kind of went missing when I reworked the
16865                         activation code.
16866
16867 2005-05-15  Dan Williams  <dcbw@redhat.com>
16868
16869         * configure.in
16870                 - Check for dhcdbd and error if its not found
16871
16872         * src/dhcp-manager/Makefile.am
16873           src/dhcp-manager/nm-dhcp-manager.c
16874                 - Use path to dhcdbd that configure found
16875
16876 2005-05-14  Dan Williams  <dcbw@redhat.com>
16877
16878         * gnome/applet/nm-device.c
16879                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16880                         sort wireless networks alphabetically
16881
16882         * gnome/applet/applet-dbus-devices.c
16883                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16884                         before copying them over to the GUI
16885
16886 2005-05-14  Dan Williams  <dcbw@redhat.com>
16887
16888         * src/NetworkManager.c
16889                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16890                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16891                         the device list, as does nm_get_active_device() which is called from
16892                         nm_vpn_manager_deactivate_vpn_connection().
16893
16894 2005-05-14  Dan Williams  <dcbw@redhat.com>
16895
16896         * NetworkManager.h
16897                 - Add signals for VPN Launch and Connect failures
16898
16899         * gnome/applet/applet-dbus.c
16900                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16901
16902         * gnome/applet/applet.c
16903                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16904                         function to handle all VPN failure messages
16905                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16906                         function to hanlde all VPN failure  messages
16907                 - (show_warning_dialog): work around focus-stealing prevention
16908
16909         * gnome/applet/other-network-dialog.c
16910           gnome/applet/passphrase-dialog.c
16911                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16912                         problem where it never enabled for ASCII Key and Hex Key types
16913
16914         * gnome/applet/wireless-applet.glade
16915                 - Add window title to Other Wireless Network Dialog
16916
16917         * src/vpn-manager/nm-dbus-vpn.c
16918                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16919                         function to handle all VPN failure messages
16920
16921         * src/vpn-manager/nm-vpn-manager.c
16922                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16923
16924         * vpn-daemons/vpnc/nm-vpnc-service.c
16925                 - (nm_vpnc_dbus_signal_launch_failed): new function
16926                 - (nm_vpnc_dbus_signal_connect_failed): new function
16927                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16928                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16929                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16930                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16931
16932 2005-05-11  Dan Williams  <dcbw@redhat.com>
16933
16934         * vpn-daemons/vpnc/nm-vpnc-service.c
16935                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16936                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16937                         file exists before trying to write it out.
16938
16939 2005-05-10  Dan Williams  <dcbw@redhat.com>
16940
16941     * gnome/applet/applet-dbus-device.c
16942         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16943             prevented just entering ESSID and leaving key and key type up to
16944             NetworkManager (which should have them already cached)
16945
16946 2005-05-08  Dan Williams  <dcbw@redhat.com>
16947
16948         * src/NetworkManagerPolicy.c
16949                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16950                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16951                         fix a situation where NM is told to terminate and the device stops activation,
16952                         but the main thread isn't aware of that because it would never have run
16953                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16954                         had already quit.
16955
16956         * src/NetworkManagerDevice.c
16957                 - (nm_device_probe_wired_link_state): cosmetic fixes
16958                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16959                         we've failed to activate or been canceled.
16960                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16961
16962 2005-05-08  Dan Williams  <dcbw@redhat.com>
16963
16964         * src/NetworkManagerWireless.c
16965                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16966                         value of WEXT quality structures, and add a debug message when we cannot
16967                         determine any quality % at all
16968
16969 2005-05-08  Dan Williams  <dcbw@redhat.com>
16970
16971         * src/dhcp-manager/nm-dhcp-manager.c
16972                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16973                         it goes down.
16974
16975 2005-05-06  Dan Williams  <dcbw@redhat.com>
16976
16977         * gnome/applet/applet-dbus-device.c
16978           gnome/applet/applet-dbus-info.c
16979           gnome/applet/applet-dbus.c
16980           gnome/applet/applet.c
16981           gnome/applet/applet.h
16982                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16983
16984         * gnome/applet/applet-dbus.c
16985                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16986                         so we notice when wired device's carriers come back on.  Should
16987                         fix issue with wired devices being grayed out even if the cable
16988                         is in, for devices that support carrier detection.
16989
16990         * gnome/applet/applet.c
16991                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16992                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16993                         tooltip message
16994                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16995                         Fix situation where applet wouldn't respond to menu selections
16996
16997         * src/NetworkManager.c
16998           src/NetworkManagerDevice.c
16999           src/NetworkManagerDbus.c
17000           src/NetworkManagerDbus.h
17001                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17002
17003         * src/NetworkManagerDbus.c
17004                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17005                         Remove, no longer used or relevant
17006                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17007                 - (nm_dbus_schedule_device_status_change_signal): add
17008
17009         * src/NetworkManagerDevice.c
17010                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17011                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17012                         ie don't deactivate them unless explicitly told to by the user.  Also send
17013                         CARRIER_OFF / CARRIER_ON signals when link changes
17014                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17015                         Don't print error message when device is no longer around
17016                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17017                         not just during activation
17018
17019         * src/NetworkManagerPolicy.c
17020                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17021                         auto-device-selection.
17022                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17023
17024         * src/NetworkManagerSystem.c
17025                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17026                         is no longer present (Bill Moss)
17027
17028         * src/backends/shvar.c
17029                 - (svOpenFile): Open read-only to make SELinux happy
17030
17031         * src/backends/NetworkManagerRedHat.c
17032                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17033                         the path to the ifcfg-* files
17034
17035 2005-05-05  Dan Williams  <dcbw@redhat.com>
17036
17037         * Expose activation stages to NetworkManager clients, like the applet
17038         * Add Diana's progress icons to the applet, cued off NM activation stage
17039         * Use more descriptive tooltips, cued off NM activation stage
17040
17041 2005-05-05  Ray Strode  <rstrode@redhat.com>
17042
17043         * src/nm-netlink-monitor.c:
17044                 - Use clear_event_source instead of g_nullify_pointer() again.
17045
17046 2005-05-05  Dan Williams  <dcbw@redhat.com>
17047
17048         * gnome/applet/main.c
17049                 - Fix session management so the applet is actually managed now
17050
17051         * gnome/applet/passphrase-dialog.c
17052                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17053
17054 2005-05-05  Dan Williams  <dcbw@redhat.com>
17055
17056         Patch from Bill Moss:
17057         * gnome/libnm_glib/libnm_glib.c
17058                 - Fix for dbus-0.33
17059
17060 2005-05-05  Dan Williams  <dcbw@redhat.com>
17061
17062         Suggestion from Bill Moss:
17063         * src/NetworkManagerSystem.c
17064                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17065
17066
17067         * src/NetworkManager.c
17068                 - (nm_data_free): move destruction of the various managers after
17069                         release of device list, because deactivating and freeing a device
17070                         requires at least the named manager
17071                 - (nm_poll_and_update_wireless_link_state):
17072                   (nm_device_link_activated):
17073                   (nm_device_link_deactivated):
17074                         don't grab the device list lock when actually updating device
17075                         link status or strength, since nm_device_set_link_active()
17076                         needs to call nm_get_active_device(), which also locks the device list.
17077
17078         * src/NetworkManagerDevice.c
17079                 - (nm_device_set_link_active): if a device's link switches from off->on,
17080                         and it's wired, and the active device is wireless (or there is no
17081                         active device), activate the new device whose link just came on
17082                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17083                         my only calling the link to the current ap "failed" when more than 2
17084                         consecutive link checks have failed
17085
17086 2005-05-04  Dan Williams  <dcbw@redhat.com>
17087
17088         * src/NetworkManagerDevice.c
17089                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17090                         but let link_to_specific_ap() do the locking where it needs
17091
17092         Patch from Bill Moss:
17093         * src/NetworkManagerSystem.c
17094                 - Set MTU of VPN devices to 1412
17095
17096 2005-05-04  Dan Williams  <dcbw@redhat.com>
17097
17098         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17099
17100         * Fix some holes in device activation and retaining the currently connected
17101                 access point
17102
17103 2005-05-03  Dan Williams  <dcbw@redhat.com>
17104
17105         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
17106           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
17107           means you need dhcdbd, which you can get here (get the latest one):
17108
17109                 http://people.redhat.com/jvdias/dhcdbd/
17110
17111           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17112           interface as dhcdbd.
17113
17114         * Rewrite device activation to facilitate the new DHCP infrastructure and
17115           future improvements.  Its now "activation request" based, ie there is a single
17116           activation request composed of the device, access point, and other info which
17117           follows the entire activation process.  There are 5 stages of the activation
17118           process which correspond to:
17119
17120                 1) Device preparation
17121                 2) Device configuration (bring it up, set ESSID/Key/etc)
17122                 3) IP Config Start (fire off DHCP if we're using it)
17123                 4) IP Config Get (grab config from DHCP or static config files)
17124                 5) IP Config Commit (set device's IP address, DNS, etc)
17125
17126           Note that there is no longer a "scanning" step, since the access point must
17127           be known _before_ activation starts.  If the access point drops out or does
17128           not exist for some reason, the entire activation process fails and must be
17129           restarted for a different access point or device.
17130
17131         Patch from Bill Moss:
17132         * gnome/applet/applet.c
17133                 - Fix type of vpn_failure dialog -> vpn_banner dialog
17134
17135 2005-04-27  Dan Williams  <dcbw@redhat.com>
17136
17137         * gnome/applet/applet-dbus-vpn.c
17138           gnome/applet/applet.c
17139           gnome/applet/applet.h
17140                 - Fix up active VPN handling so that we reliably know when a VPN
17141                         connection has been deactivated
17142
17143         * src/vpn-manager/nm-vpn-manager.c
17144                 - Remove duplicate VPNConnectionChange signal
17145
17146 2005-04-27  Dan Williams  <dcbw@redhat.com>
17147
17148         Patch from Peter Jones:
17149         * Remove usage of varargs to fix crashes on PPC (RH #154336)
17150
17151         Patch from Bill Moss:
17152         * src/NetworkManagerSystem.c
17153                 - Fix checking of return value from ioctl()
17154
17155 2005-04-27  Dan Williams  <dcbw@redhat.com>
17156
17157         * Fix choosing of wireless networks and "Other wireless network..." from the applet
17158         * Warn and exit if icons cannot be found
17159
17160 2005-04-27  Dan Williams  <dcbw@redhat.com>
17161
17162         Patch from Tom Parker:
17163         * Update debian backend
17164
17165 2005-04-27  Dan Williams  <dcbw@redhat.com>
17166
17167         * Merge the applet and the info-daemon, and move the converged
17168                 applet under gnome/applet
17169         * Move libnm_glib to gnome/libnm_glib
17170         * Convert most dbus calls between the applet, info-daemon, and NM
17171                 into async calls
17172         * Fix a few things valgrind noticed
17173         * Make NM broadcast state more reliably
17174
17175 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
17176
17177         * configure.in: Added ne in ALL_LINGUAS
17178
17179 2005-04-15  Dan Williams  <dcbw@redhat.com>
17180
17181         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17182                 code for dbus 0.2x versions
17183
17184 2005-04-15  Dan Williams  <dcbw@redhat.com>
17185
17186         Patches from Tom Parker:
17187         - Fix memleaks
17188         - Join with worker thread rather than polling for its exit
17189
17190         Patch from Bill Moss:
17191         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17192
17193 2005-04-15  Dan Williams  <dcbw@redhat.com>
17194
17195         - Fixes to pass 'make distcheck'
17196
17197 2005-04-15  Dan Williams  <dcbw@redhat.com>
17198
17199         Initial VPN Support
17200                 - supports 'vpnc'
17201                 - reworks device IP configuration, backend files have changed and will need
17202                         to be updated for all distributions.  I will try to do what I can for
17203                         them, but I cannot test them.
17204
17205         - Move named directory to src/named-manager
17206         - Make backends directory self-contained
17207
17208 2005-04-06  Dan Williams  <dcbw@redhat.com>
17209
17210         Add debug code for socket/file descriptor leaks.  We register every socket
17211         that we open (except for stuff in dhcpcd/) for tracking, and print out the
17212         list of sockets that we forgot to close on shutdown.  This also consolidates
17213         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17214
17215 2005-04-06  Dan Williams  <dcbw@redhat.com>
17216
17217         * dhcpcd/dhcpcd.c
17218                 - (dhcp_interface_free): fix a file descriptor leak that may have
17219                         caused network drivers to not unload due to refcounts > 0
17220
17221 2005-04-04  Dan Williams  <dcbw@redhat.com>
17222
17223         * panel-applet/NMWirelessAppletDbus.c
17224                 - (nmwa_dbus_call_nm_method): remove some commented code
17225
17226         * src/NetworkManagerAPList.[ch]
17227                 - (nm_ap_list_remove_ap_by_essid): new function
17228
17229         * src/NetworkManagerDevice.c
17230                 - (nm_device_wireless_force_use): remove access points from the ignore list
17231                         when the user forces them
17232
17233         * src/nm-dbus-device.c
17234                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17235
17236 2005-04-04  Dan Williams  <dcbw@redhat.com>
17237
17238         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17239
17240 2005-04-04  Dan Williams  <dcbw@redhat.com>
17241
17242         * src/NetworkManagerDevice.c:
17243                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17244                         of only erroring after the second consecutive scan times out.  Also
17245                         don't exit when the card requires more time than we can give it, just
17246                         log the event and continue.
17247
17248 2005-04-01  Steve Murphy  <murf@e-tools.com>
17249
17250         * configure.in: Added "rw" to ALL_LINGUAS.
17251
17252 2005-04-01  Dan Williams <dcbw@redhat.com>
17253
17254         Perform scans during device activation, if needed.  Both activation 
17255         and scans run in the same GMainContext.  Therefore, if an access point
17256         is not found by the time the device starts activation, it will not
17257         be available until after activation.  We now try to scan during
17258         activation (in nm_wa_test) every 15s so that all available access
17259         points are more likely to be found and available for the activation
17260         procedure.
17261
17262         Also change nm_wireless_link_state_handle() to only update the "best"
17263         AP if we are not forcing a device and if we are not about to change
17264         state.  This attempts to work around a race when forcing a device,
17265         where the forced AP would get cleared out too soon by the link state
17266         checking timeout in the main thread, and the activation attempt with
17267         that AP would fail.
17268
17269 2005-04-01  Dan Williams <dcbw@redhat.com>
17270
17271         * po/POTFILES.in
17272                 - Update with new translatables
17273
17274 2005-03-31  Dan Williams <dcbw@redhat.com>
17275
17276         * panel-applet/NMWirelessAppletDbus.c
17277                 - Fix device names now that hal has changed device parenting for
17278                         network devices.
17279
17280 2005-03-31  Dan Williams <dcbw@redhat.com>
17281
17282         Tighten up handling of wireless devices that don't support wireless
17283         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17284         hadn't been doing pseudo-scanning for a while either and would just
17285         spin waiting for an access point.  They are now manual devices where
17286         the user must choose the access point from the menu every time.  All
17287         "allowed" access points are listed in the applet's menu regardless
17288         of whether or not they can be seen by the card, since it can't scan
17289         anyway.
17290
17291         * src/NetworkManager.c
17292                 - (nm_wireless_link_state_handle): new function, but only update
17293                         the "best" ap for non-scanning devices when its not activating,
17294                         and when no device is being forced on the card
17295                 - (nm_link_state_monitor): split wireless link state handling out
17296                         into separate function
17297
17298         * src/NetworkManagerDevice.c
17299                 - (nm_device_copy_allowed_to_dev_list): new function
17300                 - (nm_device_new): populate non-scanning cards' AP lists with
17301                         access points from the "allowed" list
17302                 - (nm_device_new): don't start a scanning timeout for devices that
17303                         can't scan
17304                 - (nm_device_activation_schedule_finish): new parameter, should be
17305                         the AP that failed to be connected to, pass it on to the
17306                         activation finish function in NetworkManagerPolicy.c
17307                 - (nm_device_activate_wireless): don't ever try to get a new AP
17308                         for non-scanning devices, just fail.  The user must choose
17309                         a new access point manually.
17310                 - (nm_device_activate): grab the AP that failed connection and
17311                         pass it on
17312                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17313                         a link to it, user must manually choose a new one
17314                 - (nm_device_do_pseudo_scan): remove function
17315                 - (nm_device_wireless_process_scan_results): remove bits for non-
17316                         scanning cards since they never get here
17317                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17318                         and fake the scan list for test devices a bit earlier
17319
17320         * src/NetworkManagerPolicy.c
17321                 - (nm_policy_activation_finish): use the failed_ap that we get
17322                         passed rather than getting the best_ap from the card, which
17323                         may have changed since we were scheduled
17324                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17325                         update their scan list directly from the allowed list when
17326                         we get updates to the allowed list from NetworkManagerInfo
17327
17328         * src/NetworkManagerPolicy.h
17329                 - New member for failed access point in NMActivationResult
17330
17331   -------------------------------------
17332
17333         Driver Notification patch: notifies the user when their driver
17334                 sucks.  Gives them the option to ignore further insertions
17335                 of the card that has the sucky driver.
17336
17337         * NetworkManager.h
17338                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17339                         enum and replace it with NO_CARRIER_DETECT and
17340                         NO_WIRELESS_SCAN
17341
17342         * panel-applet/NMWirelessApplet.[ch]
17343                 - Merge essid.glade -> wireless-applet.glade
17344                 - Implement the "Your driver sucks" notification dialog
17345
17346         * panel-applet/NMWirelessAppletDbus.c
17347                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17348                 - Grab hardware address for each device from NM too
17349                 - Check whether the driver for each device sucks or not whenever
17350                         a new device is noticed
17351
17352         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17353                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17354
17355         * src/NetworkManager.c
17356                 - Fix a double-unref on device removal
17357
17358         * src/NetworkManagerUtils.c
17359                 - Set appropriate driver support level on a device that doesn't
17360                         support scanning or carrier detection
17361
17362         * src/nm-dbus-device.c
17363                 - New "getHWAddress" dbus method on devices
17364                 - getSupportsCarrierDetect -> getDriverSupportLevel
17365
17366 2005-03-31  Dan Williams <dcbw@redhat.com>
17367
17368         * src/NetworkManagerDevice.c
17369                 - (nm_device_wireless_scan): Fix leak of scan results in some
17370                         instances
17371
17372 2005-03-29  Dan Williams <dcbw@redhat.com>
17373
17374         * src/NetworkManager.c
17375                 - (nm_poll_and_update_wireless_link_state): make code less indented
17376
17377         Patch from Bill Moss:
17378         * src/NetworkManager.c
17379                 - (nm_device_update_link_state): Update signal strength on wireless
17380                         devices every time we update link state too.
17381
17382 2005-03-29  Dan Williams <dcbw@redhat.com>
17383
17384         * src/NetworkManagerDevice.c
17385                 - (nm_device_set_essid): Work around Orinoco cards which need
17386                         extra time after setting the ESSID
17387
17388 2005-03-29  Dan Williams <dcbw@redhat.com>
17389
17390         * src/NetworkManagerDevice.c
17391                 - Merge one more bit of Peter Jones' completion patch
17392
17393 2005-03-29  Dan Williams <dcbw@redhat.com>
17394
17395         * src/NetworkManagerDevice.c
17396                 - (nm_device_force_use): Fix possible segfault
17397
17398 2005-03-29  Dan Williams <dcbw@redhat.com>
17399
17400         * src/NetworkManagerDevice.c
17401                 - Use iw_get_ext() where we should rather than iw_set_ext()
17402
17403 2005-03-29  Dan Williams <dcbw@redhat.com>
17404
17405         * src/NetworkManagerDevice.c
17406                 - (nm_device_set_up_down): remove check for unsupported devices
17407                         that caused NM to not bring devices up when they were
17408                         added to the device list.
17409
17410 2005-03-28  Dan Williams <dcbw@redhat.com>
17411
17412         * src/NetworkManagerDevice.c
17413                 - (mdio_read): Fix two bugs that caused all devices to fail
17414                         the MII carrier detection support checks
17415
17416 2005-03-26  Dan Williams <dcbw@redhat.com>
17417
17418         * src/NetworkManagerDevice.c
17419                 - (nm_device_wireless_scan): Remove duplicated scanning code
17420
17421 2005-03-25  Dan Williams <dcbw@redhat.com>
17422
17423         * panel-applet/NMWirelessApplet.c
17424                 - (nmwa_about_cb): Add some more contributors
17425                 - (nmwa_update_state): show the applet when there's no connection
17426                 - Enable the "Stop/Resume all wireless devices" option in the
17427                         context menu
17428                 - New "no connection" icon
17429
17430         * src/NetworkManager.c
17431                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17432                         wireless is disabled or we're asleep
17433
17434         * src/NetworkManagerDHCP.c
17435                 - Remove trailing "\n" on debug messages
17436
17437         * src/NetworkManagerDbus.c
17438                 - (nm_dbus_network_status_from_data): new state "asleep"
17439
17440         * src/NetworkManagerDevice.c
17441                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17442                         latency and wait times for most operations
17443                 - (nm_device_wireless_scan): Don't scan when asleep
17444
17445         * src/NetworkManagerPolicy.c
17446                 - (nm_policy_get_best_device): return no device when asleep
17447                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17448                         for all wireless devices on update, not just active device
17449
17450         * src/NetworkManagerUtils.c
17451                 - Merge Peter Jones' "completion" patch
17452
17453         * src/nm-dbus-nm.c
17454                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17455                         we're told to disable them
17456                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17457
17458         * utils/nm-utils.h
17459                 - New variants of the warn/info/error/debug print functions that can take
17460                         variables rather than static strings
17461
17462 2005-03-24  Dan Williams <dcbw@redhat.com>
17463
17464         * src/NetworkManagerUtils.c
17465                 - (nm_get_device_driver_name): driver names are now on the parents of
17466                         "Network Interface" objects, so look for them there
17467
17468 2005-03-24  Dan Williams <dcbw@redhat.com>
17469
17470         * test/nmtest.c
17471                 - Escape some forgotten object paths before we shove them through dbus
17472
17473 2005-03-24  Dan Williams <dcbw@redhat.com>
17474
17475         * dhcpcd/dhcpcd.[ch]
17476           src/NetworkManagerDHCP.c
17477                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17478                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17479
17480         * src/NetworkManagerDbus.c
17481                 - spacing cleanups
17482
17483         * src/nm-dbus-dhcp.c
17484                 - Make the API suck less.  There is now only 1 type of each function,
17485                         ie only "getInteger" and no longer also "getIntegerv".  All types
17486                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17487                         that will never have more than 1 element.  This should simplify
17488                         things greatly.
17489
17490         * test/nm-dhcp-opt-test.c
17491                 - Make the tool not segfault
17492                 - adapt to new DHCP Options API
17493
17494 2005-03-22  Dan Williams <dcbw@redhat.com>
17495
17496         * src/NetworkManager.c
17497                 - (nm_wired_link_deactivated): actually ignore netlink events from
17498                         wireless devices.
17499
17500 2005-03-22  Dan Williams <dcbw@redhat.com>
17501
17502         * src/NetworkManager.c
17503                 - (nm_wired_link_activated): actually ignore netlink events from
17504                         wireless devices.
17505
17506 2005-03-17  Dan Williams <dcbw@redhat.com>
17507
17508         Patch from Tom Parker:
17509         * src/nm-netlink-monitor.c
17510                 - Include unistd.h
17511         * info-daemon/NetworkManagerInfoDbus.c
17512                 - (nmi_dbus_update_network_auth_method): free GConf values
17513
17514         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17515         * src/NetworkManagerDevice.c
17516                 - (nm_device_set_wireless_config): wait for successful
17517                         association longer for some cards (Atheros a/b/g)
17518
17519 2005-03-15  Ray Strode  <rstrode@redhat.com>
17520
17521         * src/NetworkManager.c:
17522         (sigterm_pipe_handler):
17523         remove bogus FIXME
17524
17525 2005-03-15  Ray Strode  <rstrode@redhat.com>
17526
17527         * src/NetworkManagerDbus.c:
17528         Fix some sign weirdness that gcc4 doesn't like,
17529         and add a header file so PPC can hopefully find
17530         SIGTRAP
17531
17532 2005-03-14  Ray Strode  <rstrode@redhat.com>
17533         
17534         Fourth (probably working) cut at porting to
17535         dbus 0.30 api and new hal. This cut adds
17536         some new logging macros to make debugging
17537         easier.
17538
17539         * dispatcher-daemon/NetworkManagerDispatcher.c:
17540         * info-daemon/NetworkmanagerInfo.c:
17541         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17542         * info-daemon/NetworkManagerInfoVPN.c:
17543         * src/NetworkManager.c:
17544         * src/NetworkManagerAP.c:
17545         * src/NetworkManagerAPList.c:
17546         * src/NetworkManagerDHCP.c:
17547         * src/NetworkManagerDbus.c:
17548         * src/NetworkManagerDevice.c:
17549         * src/NetworkManagerPolicy.c:
17550         * src/NetworkManagerSystem.c:
17551         * src/NetworkManagerUtils.c:
17552         * src/NetworkManagerWireless.c:
17553         * src/autoip.c:
17554         * src/nm-dbus-nm.c:
17555         * src/backends/NetworkManagerDebian.c:
17556         * src/backends/NetworkManagerGentoo.c:
17557         * src/backends/NetworkManagerRedHat.c:
17558         * src/backends/NetworkManagerSlackware.c:
17559         use new logging macros.
17560
17561         * dispatcher-daemon/NetworkManagerDispatcher.c:
17562         (nmd_dbus_filter): s/dbus_free/g_free/
17563
17564         * info-daemon/Makefile.am: link in utils library.
17565         * info-daemon/NetworkmanagerInfo.c: use new logging 
17566         macros.
17567         (nmi_dbus_get_network): don't assume enumerations
17568         are 32-bit.
17569         (nmi_dbus_nmi_message_handler): don't free what 
17570         doesn't belong to us.
17571
17572         * libnm_glib/libnm_glib.c:
17573         (libnm_glib_get_nm_status): 
17574         (libnm_glib_init): don't free what doesn't
17575         belong to us.
17576         (libnm_glib_dbus): strdup result, so it doesn't get
17577         lost when message is unref'd.
17578
17579         * panel-applet/NMWirelessAppletDbus.c:
17580         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17581
17582         * src/NetworkManager.c:
17583         (nm_monitor_wired_link_state): request initial status 
17584         dump of all cards when we start up, instead of relying
17585         on /sys/.../carrier.
17586         (nm_info_handler), (nm_set_up_log_handlers): 
17587         log handlers to specify what syslog priorites 
17588         the logging macros default to.
17589
17590         * src/NetworkManagerAPList.c: 
17591         (nm_ap_list_populate_from_nmi):
17592         s/dbus_free_string_array/g_strfreev/
17593
17594         * src/NetworkManagerDbus.c:
17595         (nm_dbus_get_network_object):
17596         validate d-bus message argument types.
17597         Advance message iterator after reading argument,
17598         prepend instead of append to GSList.
17599
17600         * src/NetworkManagerDevice.c:
17601         (nm_device_probe_wired_link_status):
17602         remove redundant /sys in /sys path. remove wrong
17603         contents == NULL means has carrier assumption.
17604
17605         * src/nm-netlink-monitor.c 
17606         (nm_netlink_monitor_request_status): implement
17607         function to ask kernel to dump interface link
17608         status over netlink socket.
17609
17610         * test/*.c: s/dbus_free/g_free/
17611
17612         * utils/nm-utils.h:
17613         (nm_print_backtrace): new macro to print backtrace.
17614         (nm_get_timestamp): new macro to get sub-second precise
17615         unix timestamp.
17616         (nm_info), (nm_debug), (nm_warning), (nm_error):
17617         new logging functions. nm_info just prints,
17618         nm_debug includes timestamp and function,
17619         nm_warning includes function, nm_error includes
17620         backtrace and sigtrap.
17621
17622 2005-03-11  Ray Strode  <rstrode@redhat.com>
17623
17624         Third (unfinished, partially working) cut at porting to 
17625         dbus 0.30 api and new hal.
17626
17627         * info-daemon/NetworkManagerInfoDbus.c:
17628                 don't free null arrays.
17629
17630         * panel-applet/NMWirelessAppletDbus.c: 
17631         * src/nm-dbus-device.c:
17632         * src/nm-dbus-net.c: 
17633         * src/NetworkManagerDbus.c: more 
17634         STRING -> OBJECT_PATH fun
17635         * src/NetworkManagerDevice.c:
17636         * src/NetworkManagerDevice.h:
17637         (rename nm_device_get_link_active): rename to 
17638         nm_device_has_active_link
17639         (nm_device_wireless_link_active): rename to
17640         nm_device_probe_wireless_link_state
17641         (nm_device_wired_link_active): rename to
17642         nm_device_probe_wired_link_state.  Rewrite to
17643         use carrier file since hal doesn't maintain
17644         link state anymore.
17645         (nm_device_update_link_active): rename to
17646         nm_device_update_link_state
17647         * src/NetworkManagerPolicy.c 
17648           (nm_policy_activation_finish): check for NULL
17649           MAC address.
17650
17651         * src/Makefile.am:
17652         * src/NetworkManagerMain.h: 
17653         * src/NetworkManager.c:
17654         * src/nm-netlink-monitor.c:
17655         * src/nm-netlink-monitor.h: New class to support
17656         monitoring wired ethernet link status, since HAL
17657         doesn't export that information anymore.
17658
17659 2005-03-09  Ray Strode  <rstrode@redhat.com>
17660
17661         Second (unfinished, unworking) cut at porting to 
17662         dbus 0.30 api.
17663
17664         * dispatcher-daemon/NetworkManagerDispatcher.c:
17665         * info-daemon/NetworkManagerInfoDbus.c:
17666         * panel-applet/NMWirelessAppletDbus.c:
17667         * src/NetworkManagerDbusUtils.c:
17668         * src/NetworkManagerDbusUtils.h:
17669         * src/nm-dbus-device.c:
17670         * src/nm-dbus-nm.c:
17671         * test/nmtest.c: support dbus "object path" type
17672
17673         * configure.in: 
17674         * Makefile.am:
17675         * info-daemon/Makefile.am:
17676         * libnm_glib/Makefile.am:
17677         * panel-applet/Makefile.am:
17678         * dispatcher-daemon/Makefile.am
17679         * src/Makefile.am:
17680         * test/Makefile.am:
17681         * utils/Makefile.am: 
17682         * utils/nm-utils.c: 
17683         * utils/nm-utils.h: new utils static lib
17684
17685 2005-03-07  Ray Strode  <rstrode@redhat.com>
17686
17687         * info-daemon/NetworkManagerInfoDbus.c:
17688         * libnm_glib/libnm_glib.c:
17689         * panel-applet/NMWirelessAppletDbus.c:
17690         * src/NetworkManager.c:
17691         * src/NetworkManagerDbus.c:
17692         * src/NetworkManagerDevice.c:
17693         * src/NetworkManagerUtils.c:
17694         * src/nm-dbus-device.c:
17695         * src/nm-dbus-dhcp.c:
17696         * src/nm-dbus-net.c:
17697         * src/nm-dbus-nm.c:
17698         * test/nminfotest.c:
17699         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17700
17701 2005-03-04  Dan Williams  <dcbw@redhat.com>
17702
17703         * configure.in
17704                 - Mark HEAD as 0.4
17705
17706 2005-03-04  Dan Williams  <dcbw@redhat.com>
17707
17708         Patch from Peter Jones:
17709         - Make stuff work with gcc 4.0
17710
17711 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17712
17713         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17714
17715 2005-02-27  Jim Huang  <jserv@kaffe.org>
17716
17717         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17718
17719 2005-02-27  Dan Williams  <dcbw@redhat.com>
17720
17721         Patch from Bill Moss:
17722         * panel-applet/NMWirelessAppletDbus.c
17723                 - Make sure strength for current access point is up-to-date when we
17724                         update the gui data model
17725
17726 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17727
17728         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17729
17730 2005-02-27  Dan Williams  <dcbw@redhat.com>
17731
17732         * src/backends/NetworkManagerRedHat.c
17733                 - (nm_system_init): Kill any dhclient processes lying around as well
17734                         as stopping 'nifd' if its already been started.  NetworkManager
17735                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17736
17737 2005-02-27  Dan Williams  <dcbw@redhat.com>
17738
17739         * panel-applet/NMWirelessApplet.c
17740                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17741                         dbus data model, not the GUI data model twice.
17742
17743 2005-02-27  Dan Williams  <dcbw@redhat.com>
17744
17745         * panel-applet/NMWirelessApplet.[ch]
17746           panel-applet/NMWirelessAppletDbus.[ch]
17747                 - Move to incremental network updates.  Instead of blowing away our list
17748                         of devices every time we get a signal from NetworkManager, we now
17749                         incrementally add/remove networks when NetworkManager notifies us that
17750                         a new network has appeared or disappered.  Strength updates now happen
17751                         on-the-fly for each access point as well.  There are now two copies of
17752                         data from NetworkManager: one for the dbus side, and one for the gui side.
17753                         When the dbus side data is modified, it is copied over to the gui side
17754                         so we don't have to hold the data_mutex for long periods of time (and
17755                         therefore block animation of the applet's icon).
17756                 - Clean up some memleaks too
17757
17758         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17759                 - Minor code beautification
17760
17761         * src/NetworkManagerAPList.c
17762                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17763                         completely new and whether or not an existing one's strength was updated.
17764                         Try to fix multiple access points and signal strength by using the highest
17765                         signal strength in each scan for any given ESSID.
17766
17767         * src/NetworkManagerDbus.[ch]
17768                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17769                         wireless networks; now we have only WirelessNetworkUpdate which includes
17770                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17771                 - Kill usage of DbusMessageIter
17772
17773         * src/NetworkManagerDevice.c
17774                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17775                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17776                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17777                         currently associated with from the network list.
17778                 - Update for new signals during scan, send out Appeared, Disappeared, or
17779                         StrengthChanged when necessary.
17780
17781 2005-02-25  Dan Williams  <dcbw@redhat.com>
17782
17783         * README
17784                 - Line break the README
17785
17786 2005-02-25  Dan Williams  <dcbw@redhat.com>
17787
17788         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17789                 - Remove usage of gtk_window_set_default_size()
17790
17791         * panel-applet/essid.glade
17792                 - Stick default size here
17793                 - Add in random crap that current glade wants to add in now
17794
17795 2005-02-25  Dan Williams  <dcbw@redhat.com>
17796
17797         * src/backends/NetworkManagerRedHat.c
17798                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17799                         and that we actually tell nscd to reload the hosts cache when it changes
17800
17801 2005-02-25  Dan Williams  <dcbw@redhat.com>
17802
17803         * info-daemon/NetworkManagerInfoDbus.c
17804                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17805
17806         * test/nminfotest.c
17807                 - Whack usage of DbusMessageIter
17808                 - Clean up DbusError and DbusMessage handling and freeing
17809                 - Remove unused unregister handler
17810
17811         * test/nmtest.c
17812                 - Whack usage of DbusMessageIter
17813
17814         * test/nmtestdevices.c
17815                 - Whack usage of DbusMessageIter
17816
17817 2005-02-25  Dan Williams  <dcbw@redhat.com>
17818
17819         * NetworkManager.h
17820                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17821                         signal
17822
17823 2005-02-25  Dan Williams  <dcbw@redhat.com>
17824
17825         * named/nm-named-manager.c
17826                 - Ensure that pid and watch variables for child named process get cleared out
17827                         when the child goes away.
17828
17829 2005-02-22  Dan Williams  <dcbw@redhat.com>
17830
17831         * src/NetworkManagerPolicy.c
17832                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17833                         and NULL out data->active_device so that we have to choose another one.
17834                         This may make NetworkManager keep attempting to connect to a wired network
17835                         if it fails, but if it keeps failing the wired network has more problems than
17836                         just NetworkManager.
17837
17838         * src/backends/NetworkManagerRedHat.c
17839                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17840                         is already running
17841
17842         * named/nm-named-manager.c
17843                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17844                         named so that the distro can flush whatever name service caching
17845                         daemon it uses
17846
17847 2005-02-21  Dan Williams  <dcbw@redhat.com>
17848
17849         * src/NetworkManagerDHCP.[ch]
17850                 - (nm_device_dhcp_remove_timeouts): new function
17851
17852         * src/NetworkManagerDevice.c
17853                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17854                         remove the DHCP timeouts.
17855
17856 2005-02-21  Dan Williams  <dcbw@redhat.com>
17857
17858         * panel-applet/NMWirelessApplet.[ch]
17859           panel-applet/menu-info.[ch]
17860                 - Give the panel applet some major love: menu items are no longer
17861                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17862                         This allows the applet to actually reflect theme changes correctly,
17863                         since themeing of subclassed items in GTK _sucks_.
17864
17865 2005-02-18  Dan Williams  <dcbw@redhat.com>
17866
17867         * libnm_glib/libnm_glib.[ch]
17868           test/libnm_glib_test.c
17869                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17870                         and its data, and doesn't have to free the callback data anymore
17871
17872 2005-02-18  Dan Williams  <dcbw@redhat.com>
17873
17874         * panel-applet/NMWirelessApplet.c
17875                 - Revert 2005-02-18 William Jon McCann fix for standard
17876                         copyright string until it passes 'make distcheck'.
17877                         With standard copyright string, xgettext complains
17878                         about "Non-ASCII string at ...".
17879
17880 2005-02-18  Dan Williams  <dcbw@redhat.com>
17881
17882         * panel-applet/essid.glade
17883           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17884                 - Correct spelling of "adaptor"->"adapter"
17885
17886 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17887
17888         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17889         (nmwa_about_cb): Use standard copyright string.  Update comment
17890         text to reflect that it is a notification area applet.  Remove
17891         leading newline in authors list.
17892         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17893         instead of on parent menu item activation.  Fixes #167550.
17894
17895 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17896
17897         * panel-applet/essid.glade: Capitalize items as per HIG.
17898           Fixes #167632
17899
17900 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17901
17902         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17903         files for GTK 2.4 or lower, since now public in GTK 2.6.
17904
17905         * panel-applet/essid.glade: Don't specify window size.
17906         
17907 2005-02-17  Dan Williams  <dcbw@redhat.com>
17908
17909         Caught by Bill Moss:
17910         * dhcpcd/client.c
17911                 - Time remaining for DHCP transaction calculation was incorrectly
17912                         inside a #ifdef DEBUG
17913
17914 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17915
17916         * configure.in: Added fr (French) to ALL_LINGUAS.
17917
17918 2005-02-14  Dan Williams  <dcbw@redhat.com>
17919
17920         * src/NetworkManagerDHCP.c
17921                 - (set_domain_searches): Fix free of invalid pointer
17922
17923 2005-02-14  Dan Williams  <dcbw@redhat.com>
17924
17925         Patch from Peter Jones:
17926         * dhcpcd/client.c
17927                 - Ensure we return RET_DHCP_CEASED everywhere we should
17928         * dhcpcd/udpipgen.c
17929                 - Use faster TOS for IP packets
17930                 - Don't set ip_id since we're UDP
17931
17932         Patch from Tomislav Vujec:
17933         * src/nm-dbus-dhcp.c
17934           test/nm-dhcp-opt-test.c
17935                 - Clean up warnings to enable cvs tree compilation.
17936
17937 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17938
17939         * configure.in
17940           po/hr.po
17941                 - Add the Croatian locale.
17942
17943 2005-02-14  Colin Walters  <walters@verbum.org>
17944
17945         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17946         list of domains to search.
17947         
17948         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17949
17950 2005-02-13  Dan Williams  <dcbw@redhat.com>
17951
17952         * dhcpcd/client.c
17953                 - Debug output cleanups of DHCP option printing and parsing.
17954
17955 2005-02-13  Dan Williams  <dcbw@redhat.com>
17956
17957         Patch from Dan Reed:  DHCP options D-BUS API
17958                 Exposes the DHCP options that a device receives to clients over D-BUS.
17959
17960         * configure.in
17961                 - A few cleanups
17962
17963         * dhcpcd/client.h
17964                 - Correct names, option length, and types for DHCP options
17965
17966         * dhcpcd/dhcpcd.[ch]
17967                 - Clarify function names that access DHCP options & data
17968
17969         * src/NetworkManagerDHCP.c
17970                 - Use new DHCP data access functions
17971
17972         * src/NetworkManagerDbus.c
17973                 - Message handler for DHCP functions
17974
17975         * src/nm-dbus-dhcp.[ch] (new)
17976                 - DHCP dbus methods
17977
17978         * test/nm-dhcp-opt-test.c
17979                 - Test DHCP D-BUS API and return all present DHCP options
17980
17981 2005-02-12  Dan Williams  <dcbw@redhat.com>
17982
17983         * test/Makefile.am
17984           test/nmclienttest.c
17985           test/nmtest.c
17986                 - Move nmclienttest.c -> nmtest.c
17987
17988 2005-02-12  Dan Williams  <dcbw@redhat.com>
17989
17990         * dhcpcd/buildmsg.c
17991                 - Pad DHCP packets until they are at least 300 bytes in size.
17992
17993 2005-02-11  Dan Williams  <dcbw@redhat.com>
17994
17995         * dhcpcd/client.c
17996                 - (dhcp_init): only print out client ID and class ID if they are specified
17997
17998         * src/NetworkManagerDbus.[ch]
17999           src/nm-dbus-nm.[ch]
18000           src/nm-dbus-device.[ch]
18001           src/nm-dbus-net.[ch]
18002                 - Move NM, Device, and Net functions to separate files and use the
18003                         dbus method list stuff in NetworkManagerDbusUtils.c to do
18004                         method dispatching
18005
18006         * src/NetworkManagerDbusUtils.c
18007                 - Add new validate_method called before each dispatch (if present)
18008                         that can validate the method call
18009
18010         * src/NetworkManagerWireless.c
18011                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18012                         levels never to be evaluated
18013
18014         Patch from j@bootlab.org
18015         * src/NetworkManagerDevice.c
18016                 - Add typedef for "u64"
18017
18018         * src/backends/NetworkManagerDebian.c
18019                 - Copy in Dave Woodhouse's fixes for IPv6
18020
18021 2005-02-11  Dan Williams  <dcbw@redhat.com>
18022
18023         Patch from Dave Woodhouse for IPv6:
18024         * src/NetworkManagerUtils.c
18025                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18026                         and multicast addresses
18027
18028         * src/NetworkManagerDevice.c
18029                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18030                         after bringing up a card.
18031
18032 2005-02-10  Dan Williams  <dcbw@redhat.com>
18033
18034         Patch from Dave Woodhouse:
18035         * src/NetworkManagerSystem.h
18036           src/backends/NetworkManagerDebian.c
18037           src/backends/NetworkManagerGentoo.c
18038           src/backends/NetworkManagerSlackware.c
18039                 - New nm_system_device_add_ip6_link_address() function to add link-local
18040                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
18041
18042         * src/backends/NetworkManagerRedHat.c
18043                 - (nm_system_device_add_ip6_link_address): implement
18044                 - (nm_system_device_flush_addresses): revert to previous behavior of
18045                         flushing all addresses
18046
18047 2005-02-10  Dan Williams  <dcbw@redhat.com>
18048
18049         Patch from Tom Parker:
18050         * src/NetworkManagerDevice.c
18051                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18052                         mii.h headers are broken, and instead use our own typedefs
18053
18054 2005-02-10  Dan Williams  <dcbw@redhat.com>
18055
18056         * dhcpcd/buildmsg.c
18057                 - (fill_host_and_class_id): only fill in client and class IDs if
18058                         they are set by callers.
18059
18060         * dhcpcd/client.c
18061                 - (class_id_setup): don't autogenerate a class ID, only use one
18062                         we're given, if any.
18063                 - (client_id_setup): don't autogenerate a client ID, only use one
18064                         we're given, if any.
18065
18066         * dhcpcd/dhcpcd.c
18067                 - (dhcp_interface_init): ensure that client options are correctly
18068                         NULL terminated
18069
18070         * src/NetworkManagerDHCP.c
18071                 - (nm_device_dhcp_request): pass hostname to dhcp library
18072
18073 2005-02-10  Dan Williams  <dcbw@redhat.com>
18074
18075         * dhcpcd/client.c
18076                 - #rh147661# Don't send kernel version in DHCP requests
18077
18078         * src/NetworkManagerSystem.h
18079           src/backends/NetworkManagerDebian.c
18080           src/backends/NetworkManagerGentoo.c
18081           src/backends/NetworkManagerRedHat.c
18082           src/backends/NetworkManagerSlackware.c
18083                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18084                         functions, they are no longer used anyway
18085
18086         * src/backends/NetworkManagerRedHat.c
18087                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18088                         addresses in an attempt to keep IPv6 local-scope addresses around
18089
18090 2005-02-10  Dan Williams  <dcbw@redhat.com>
18091
18092         * src/NetworkManager.c
18093                 - (nm_create_device_and_add_to_list): change the add message slightly
18094
18095         * src/NetworkManagerUtils.c
18096                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18097                         Return driver name to calling function
18098                 - (nm_get_driver_support_level): print out the driver a device is using
18099                         during the support check
18100
18101         Patch from Dave Woodhouse:
18102         * dhcpcd/udpipgen.c
18103                 - (in_cksum): copy last byte of odd-sized packets into a
18104                         'u_short' rather than a 'u_char', should fix wrong checksums
18105                         on big-endian platforms
18106
18107 2005-02-09  Dan Williams  <dcbw@redhat.com>
18108
18109         * Clean up usage of GSList objects and looping through their members
18110         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18111                 now.
18112         * Fix problem where even if scanning was turned off, card would still
18113                 cycle through frequencies.
18114
18115 2005-02-08  Dan Williams  <dcbw@redhat.com>
18116
18117         * panel-applet/NMWirelessApplet.c
18118                 - Fix for gtk 2.4
18119
18120 2005-02-08  Dan Williams  <dcbw@redhat.com>
18121
18122         Patch from Bill Moss
18123         * panel-applet/NMWirelessApplet.c
18124                 - Restore correct ESSID in tooltips
18125
18126 2005-02-07  Dan Williams  <dcbw@redhat.com>
18127
18128         * panel-applet/NMWirelessApplet.[ch]
18129                 - Add a context menu that contains:
18130                         Pause/Resume Wireless Scanning
18131                         Stop/Start All Wireless Devices
18132                         About...
18133                 - Grab active device strength off active device,
18134                         not its network
18135
18136         * panel-applet/NMWirelessAppletDbus.[ch]
18137                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18138                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18139                 - Update active device strength every 2 seconds, not every 1 second
18140
18141         * panel-applet/menu-info.c
18142                 - Only disable wired devices in the menu when they support carrier detection,
18143                         and don't currently have a link.  Non-carrier-detect devices will always
18144                         remain choosable
18145
18146         * src/Makefile.am
18147           src/NetworkManagerDbusUtils.[ch]
18148                 - Add new new dbus utils sources
18149
18150         * src/NetworkManager.c
18151                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18152                         with the boolean parameter
18153                 - Set scanning_enabled & wireless_enabled to TRUE
18154
18155         * src/NetworkManagerDbus.c
18156                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18157                 - Implement scanning & wireless enable/disable calls
18158                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18159
18160         * src/NetworkManagerDevice.c
18161                 - New link detection stuff again...
18162                         o  Create device's mainloop earlier (but don't run it earlier)
18163                         o  Hook up new carrier-detect support stuff
18164                         o  Add in the ethtool & mii support detection code
18165                 - Don't scan if scanning is disabled
18166
18167         * src/NetworkManagerPolicy.c
18168                 - Never automatically choose a device that doesn't support carrier detection
18169                 - Don't automatically choose a wireless device if wireless is disabled
18170
18171 2005-02-07  Dan Williams  <dcbw@redhat.com>
18172
18173         * libnm_glib/libnm_glib.c
18174                 - Small cleanup in element list iteration
18175
18176 2005-02-07  Dan Williams  <dcbw@redhat.com>
18177
18178         * src/NetworkManagerWireless.c
18179                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18180                         to be in line with the WEXT quality specification
18181
18182 2005-02-02  Dan Williams  <dcbw@redhat.com>
18183
18184         Patch from Nathan Fredrickson <nathan@silverorange.com>
18185         * Fix up compile for deprecation of libgnomeui
18186                 - Switch to <glib/gi18n.h> from <libintl.h>
18187                 - Remove <libgnomeui/libgnomeui.h> includes
18188                 - Use gtk_window_set_default_icon_from_file() rather than
18189                         gnome_window_set_default_icon_from_file()
18190
18191         * named/nm-named-manager.c
18192                 - (generate_named_conf): Fix return-nothing in non-void
18193                         function
18194
18195 2005-02-02  Dan Williams  <dcbw@redhat.com>
18196
18197         * Clean up unused variables and the like
18198
18199 2005-02-02  Dan Williams  <dcbw@redhat.com>
18200
18201         * src/NetworkManagerAPList.c
18202                 - (nm_ap_list_merge_scanned_ap): merge strength too
18203
18204         * src/NetworkManagerUtils.c
18205                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18206                         of locking issues by printing out prettier information than g_mutex_lock
18207                 - Print out names of mutexes registered with nm_register_mutex_desc()
18208                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18209                         us to seemingly block here for too long
18210
18211         * src/NetworkManager.c
18212           src/NetworkManagerAPList.c
18213           src/NetworkManagerDevice.c
18214                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18215                         so we get better debug information printed
18216
18217         * src/NetworkManagerDbus.c
18218                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18219                         since it sometimes has locking side effects
18220                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18221                         from 10s
18222                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18223                         we don't need a switch.  This gets called often enough that we can't block
18224                         until the scan mutex is acquired, because we'll block on device activation
18225                         and a few other things, which hangs main thread for too long.
18226
18227         * src/NetworkManagerPolicy.c
18228                 - (nm_policy_auto_get_best_device): reduce the possiblity that
18229                         nm_device_need_ap_switch() will be called               
18230
18231 2005-02-02  Dan Williams  <dcbw@redhat.com>
18232
18233         * panel-applet/NMWirelessApplet.c
18234                 - Display name of wireless network we are connecting to or connected to
18235                         in the tooltip of the applet
18236
18237 2005-02-02  Dan Williams  <dcbw@redhat.com>
18238
18239         * src/NetworkManagerDHCP.c
18240                 - Hopefully fix double-default-route problem by cleaning up the default
18241                         route added by DHCP code right before the DHCP transaction begins
18242
18243 2005-02-02  Dan Williams  <dcbw@redhat.com>
18244
18245         * named/nm-named-manager.c
18246                 - Write out valid resolv.conf when we exit
18247
18248 2005-02-01  Dan Williams  <dcbw@redhat.com>
18249
18250         Patch from Colin Walters:
18251         * named/nm-named-manager.c
18252                 - Make multi-domain search options work
18253
18254 2005-01-31  Dan Williams  <dcbw@redhat.com>
18255
18256         * info-daemon/NetworkManagerInfoDbus.c
18257                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18258
18259         * src/NetworkManagerDevice.c
18260                 - (nm_device_new): Don't store the entire range struct, use only what we need
18261                         (which is currently avg_quality, max_quality, and frequencies).  Also
18262                         zero device structure when we've free'd it to maybe expose errors down
18263                         the line.
18264                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18265                         quality data from the card since quality will be useless during a scan.
18266                         Call updated wireless qual-to-percent function with values stored in
18267                         nm_device_new() earlier.
18268                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18269                         nm_device_get_bad_crypt_packets())
18270                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18271                         nm_device_new()
18272                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18273                         list if available.  Problem was this: when the WEP key is wrong, NM will
18274                         try OS then SK modes, and then get stuck in SK mode after that.  This
18275                         should reset it.
18276                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18277                         function
18278
18279         * src/NetworkManagerWireless.c
18280                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18281                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18282                         if that's all present, otherwise fall back to signal-to-noise ratios.
18283
18284 2005-01-29  Dan Williams  <dcbw@redhat.com>
18285
18286         * initscript/RedHat/NetworkManager
18287                 - Don't spit out sysctl stuff to console
18288
18289         * libnm_glib/libnm_glib.c
18290                 - (libnm_glib_init): call dbus_g_thread_init()
18291
18292         * panel-applet/NMWirelessAppletDbus.c
18293                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18294
18295         * src/NetworkManager.c
18296                 - (main): call dbus_g_thread_init()
18297
18298         * src/NetworkManagerAPList.c
18299                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18300                         so we can actually see what's there in a normal syslog
18301
18302         * src/NetworkManagerDevice.c
18303                 - (nm_device_activate_wireless): print out the "waiting for access point"
18304                         message only once, then say what access point we actually got after
18305                         the wait.
18306                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18307                         function, wait until the scan is done.  Scans may change the ESSID of
18308                         the card, making this function think we need to switch access points
18309                 - (nm_device_wireless_process_scan_results): for artificial access points
18310                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18311                         prevents collisions with the scanning code, which may change the card's
18312                         ESSID and cause the access point to get dropped from the device's AP
18313                         list.  Also increase the keep-around time to 2m from 60s since the max
18314                         scan interval could be 60s in some cases.
18315
18316         * src/NetworkManagerPolicy.c
18317                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18318                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18319                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18320                         between NM and NMI.
18321
18322 2005-01-27  Dan Williams  <dcbw@redhat.com>
18323
18324         * info-daemon/NetworkManagerInfoDbus.c
18325                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18326                         GConf, make a minimal entry for it (essid & timestamp)
18327
18328         * src/NetworkManagerAPList.c
18329                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18330                         NetworkManagerInfo isn't running
18331
18332         * src/NetworkManagerDbus.[ch]
18333                 - (nm_dbus_nmi_is_running): new function
18334
18335         * src/NetworkManagerDevice.c
18336                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18337                         address to garbage.
18338
18339         * src/NetworkManagerPolicy.c
18340                 - (nm_policy_activation_finish): On successful activation, make sure
18341                         the "best" AP has a MAC address, and don't tell NMI to add the
18342                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18343                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18344                         access point after refreshing our allowed list if it doesn't already
18345                         have a "best" access point.
18346
18347 2005-01-25  Dan Williams  <dcbw@redhat.com>
18348
18349         * panel-applet/NMWirelessAppletDbus.c
18350                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18351                         so we check for NM_DBUS_SERVICE rather than not for it
18352
18353         * libnm_glib/libnm_glib.c
18354                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18355                         ServiceOwnerChanged signal
18356
18357 2005-01-25  Dan Williams  <dcbw@redhat.com>
18358
18359         * configure.in
18360                 - Check DBUS version in configure, and set the C macros
18361                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18362
18363         * info-daemon/NetworkManagerInfoDbus.c
18364                 - Remove #if 0-d section of code that quit NMI if NM went away.
18365
18366         * panel-applet/NMWirelessAppletDbus.c
18367                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18368
18369         * src/NetworkManager.c
18370           src/NetworkManagerMain.h
18371           src/NetworkManagerDbus.c
18372                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18373                 - Make updating of our Allowed Wireless Network lists from NMI
18374                         an idle function in the main thread now, with a high priority.
18375
18376 2005-01-24  Dan Williams  <dcbw@redhat.com>
18377
18378         * panel-applet/gtkcellview.[ch]
18379           panel-applet/menu-info.c
18380                 - Fix GTK version checks to be <= rather than <
18381
18382         * test/Makefile.am
18383                 - Include the libtool archive of libnm_glib rather than
18384                         trying to pull in the .so
18385
18386 2005-01-24  Dan Williams  <dcbw@redhat.com>
18387
18388         * src/NetworkManagerDevice.c
18389           src/NetworkManagerDevicePrivate.h
18390                 - Block nm_device_new() until our device's worker thread has had a
18391                         chance to start up.  Fixes a race between main thread and worker
18392                         thread starting that caused activation requests to get lost.
18393
18394 2005-01-24  Dan Williams  <dcbw@redhat.com>
18395
18396         * initscript/RedHat/NetworkManager
18397                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18398                         to add the NM startup script at priority 50, which was
18399                         way too early
18400
18401 2005-01-24  Colin Walters  <walters@redhat.com>
18402
18403         * named/named.conf: Use any port for query source instead of
18404         restricting to port 53.
18405
18406 2005-01-24  Dan Williams  <dcbw@redhat.com>
18407
18408         * initscript/RedHat/NetworkManager
18409                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18410                         to add the NM startup script at priority 50, which was
18411                         way too early
18412
18413 2005-01-24  Dan Williams  <dcbw@redhat.com>
18414
18415         Patch from Tom Parker <palfrey@tevp.net>
18416         * Fix up compile warnings & errors in the wireless applet
18417
18418 2005-01-24  Dan Williams  <dcbw@redhat.com>
18419
18420         * panel-applet/NMWirelessApplet.c
18421                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18422
18423 2005-01-24  Dan Williams  <dcbw@redhat.com>
18424
18425         * panel-applet/gtkcellview.[ch]
18426                 - Only compile these files for GTK 2.4 or lower, since 
18427                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18428                         when choosing "Other Wireless Networks" from the panel
18429                         applet menu
18430
18431 2005-01-21  Dan Williams  <dcbw@redhat.com>
18432
18433         * src/NetworkManager.c
18434                 - Daemonize earlier so that glib doesn't get confused (?)
18435
18436 2005-01-21  Dan Williams  <dcbw@redhat.com>
18437
18438         * panel-applet/NMWirelessApplet.[ch]
18439           panel-applet/NMWirelessAppletDbus.c
18440           panel-applet/menu-info.c
18441           src/NetworkManagerDevice.c
18442                 - Disable wired devices in the menu when they have no link.
18443
18444 2005-01-21  Dan Williams  <dcbw@redhat.com>
18445
18446         * Cache last-known-good wireless authentication method in
18447                 NetworkManagerInfo, and use that method first during
18448                 wireless device activation.  Should speed up devices that
18449                 need Shared Key authentication method since Open System is
18450                 now the default.
18451
18452         * Remove the hack to not do full activation on wired connections
18453                 that are active when we launch, it causes too many problems
18454                 with name resolution and was a hack in the first place.
18455
18456         * Re-work wireless device activation again somewhat to have a
18457                 clearer chain of events and to use last-known-good
18458                 authentication method of the access point.  Also provide
18459                 better status throughout activation to ensure the applet
18460                 can tell the user exactly what's going on.
18461
18462         * Remove the "find wireless network" code and now simply attempt
18463                 to activate with that access point.  This reduces the delay
18464                 between selecting "Other wireless Network" and actually
18465                 connecting to that network.
18466
18467         * Correctly stop the device's worker thread when its removed.
18468
18469 2005-01-21  Dan Williams  <dcbw@redhat.com>
18470
18471         * dhcpcd/client.c
18472                 - Clean up some of the debug messages
18473
18474 2005-01-21  Dan Williams  <dcbw@redhat.com>
18475
18476         * Add new icons, more frames of animation
18477         * Remove some hacks to get the panel applet to display correct
18478                 status, an NM update will soon follow that will fix the
18479                 real issue.
18480
18481 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18482
18483         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18484         the first include for working i18n. Also, don't include it in .h files
18485         * panel-applet/NMWirelessApplet.h: Same
18486         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18487         * panel-applet/menu-info.c: Same
18488
18489 2005-01-18  Dan Williams <dcbw@redhat.com>
18490
18491         * dhcpcd/client.c
18492                 - Remove some debug messages
18493                 - Wrap others in #ifdef DEBUG/#endif
18494
18495         * src/NetworkManager.c
18496                 - Remove some debug messages
18497                 - Clarify some debug messages
18498                 - Remove code related to old single-thread wireless scanning
18499
18500         * src/NetworkManagerAP.[ch]
18501                 - New AP property "last_seen" to track how recently an AP was
18502                         found in a scan
18503                 - Start using 'const' more in function arguments
18504
18505         * src/NetworkManagerAPList.[ch]
18506                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18507                         of an AP found in an AP list from a source AP, or if not found
18508                         in the list add the source AP
18509                 - (nm_ap_list_combine): remove, no longer needed
18510
18511         * src/NetworkManagerDevice.c
18512                 - Each device now has a "worker" thread from start to end of its life.
18513                         Scanning for wireless devices now happens in that thread,
18514                         not in a single "wireless scanning thread" for all devices as
18515                         previously.  Activation consists of adding an idle handler to the
18516                         thread's main loop/context, which gets run at the next available
18517                         opportunity.
18518                 - Wireless scanning is also simplified, there is now only one list of
18519                         access points per wireless device, and APs older than 60s are
18520                         removed from the list.  Previously, we kept results for the last
18521                         3 scans and merged whole lists, which was complicated.
18522                 - Cleaned up activation debug messages.
18523                 - Wireless activation and access-point search routines now use Open System
18524                         authentication before trying Shared Key.
18525                 - Removed some code in nm_device_update_best_ap() that could cause cards
18526                         to loose their link to the access point.
18527                 - Scanning now uses a backoff algorithm, where the inverval becomes
18528                         progressively longer between scans when the list of scanned access
18529                         points doesn't change.  A change will revert to the shortest scan
18530                         interval (20s).
18531
18532         * src/NetworkManagerWireless.[ch]
18533                 - Remove code related to old single-thread wireless scanning
18534
18535 2005-01-18  Colin Walters  <walters@redhat.com>
18536
18537         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18538         of older nameservers.
18539
18540 2005-01-18  Colin Walters  <walters@redhat.com>
18541
18542         * named/nm-named-manager.c (generate_named_conf): Many fixes
18543         to config file generation.
18544         (safer_kill): Remove, was too much trouble for little gain.
18545         (nm_named_manager_start): Run named as NM_NAMED_USER.
18546
18547         * configure.in: Add option --with-named-user.
18548
18549 2005-01-14  Colin Walters  <walters@redhat.com>
18550
18551         Patch from ed@catmur.co.uk (Ed Catmur)
18552
18553         * named/nm-named-manager.c: Add "context" property.
18554         Use it to add child watch source in specific GMainContext.
18555
18556         * src/NetworkManager.c (nm_data_new): Initialize
18557         named with correct main context.  Start named only
18558         after forking.
18559
18560 2005-01-14  Colin Walters  <walters@redhat.com>
18561
18562         * named/nm-named-manager.c (generate_named_conf): Write config
18563         and pid files into NM_NAMED_DATA_DIR; this allows things to
18564         work better with FC3 named SELinux policy.  Also fix up silly
18565         format error.
18566
18567         * configure.in: Add --with-named-dir option.
18568
18569 2005-01-14  Colin Walters  <walters@redhat.com>
18570
18571         * configure.in: Make named support require passing --with-named.
18572
18573         * named/nm-named-manager.c: Support writing resolv.conf directly
18574         without running named.
18575
18576 2005-01-13  Dan Williams <dcbw@redhat.com>
18577
18578         * named/nm-named-manager.c
18579                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18580
18581         * src/NetworkManagerDevice.c
18582                 - Rework wireless link detection code to be more reliable
18583
18584 2005-01-12  Dan Williams <dcbw@redhat.com>
18585
18586         * initscripts/RedHat/NetworkManager
18587                 - Change initial level to "-" rather than "345" so that
18588                         we don't activate ourselves by default on install
18589
18590 2005-01-12  Dan Williams <dcbw@redhat.com>
18591
18592         * libnm_glib/
18593                 - Client library for applications using glib
18594
18595         * configure.in
18596           various Makefiles
18597                 - Split NM_CFLAGS and NM_LIBS into separate variables
18598                         like DBUS_*, HAL_* and GLIB_*
18599
18600         * src/NetworkManager.c
18601           src/NetworkManagerMain.h
18602                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18603                         broadcast a status changed signal over DBUS from the main thread.
18604                         Still unused anywhere for the moment.
18605
18606         Patch from j@bootlab.org
18607         * panel_applet/NMWirelessAppletDbus.c
18608           src/NetworkManagerDbus.c
18609                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18610                         for the "getMode" method call
18611
18612 2005-01-10  Dan Williams <dcbw@redhat.com>
18613
18614         * src/NetworkManagerDevice.c
18615                 - Minor fixups & corrections to "auto" frequency mode, make it
18616                         less chatty with syslog
18617
18618 2005-01-10  Dan Williams <dcbw@redhat.com>
18619
18620         * src/NetworkManagerDevice.c
18621                 - Implement "auto" frequency/channel support, since cards like Atheros
18622                         can't use other frequencies at all when you've told it to use a
18623                         specific one, even for scanning.
18624                 - Grab the scan mutex around places where we can't tolerate wireless
18625                         settings changing underneath us, like nm_device_wireless_network_exists()
18626                         and nm_device_activate_wireless()
18627
18628         * src/NetworkManagerWireless.c
18629                 - Back scan interval off to 20s instead of 14s
18630
18631 2005-01-09  Dan Williams <dcbw@redhat.com>
18632
18633         * src/NetworkManagerDevice.c
18634                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18635                         already set.  Stops some drivers like Atmel from continually
18636                         reloading the firmware, which they do upon every configuration
18637                         change.
18638
18639 2005-01-09  Dan Williams <dcbw@redhat.com>
18640
18641         * dhcpcd/client.c
18642                 - Use correct timeout value
18643
18644         * info-daemon/NetworkManagerInfoDbus.c
18645           src/NetworkManagerDbus.c
18646                 - Consolidate communication between NM and NMI by doing only 1 dbus
18647                         method call to get Wireless Network info from NMI instead of 6
18648
18649         * src/NetworkManager.c
18650                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18651                         when we didn't have an AP to use, we'd wait for one forever without
18652                         quitting
18653
18654         * src/NetworkManagerDevice.c
18655                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18656                         activation, dhcp might not have started yet but we don't quit activation
18657                         before starting it, so the quit signal gets lost
18658
18659 2005-01-07  Dan Williams <dcbw@redhat.com>
18660
18661         * dhcpcd/client.c
18662                 - Rework the DHCP client code to be much less chatty when
18663                         it receives non-DHCP UDP packets during the DHCP run
18664                         (reported by and preliminary patches from Bill Moss)
18665
18666         * Move wireless scanning to a separate thread.  This thread forwards the
18667                 results to the main thread when done where they are integrated into
18668                 the device's access point lists.  This keeps the main thread (which
18669                 does all the DBUS communication) from being blocked for long periods
18670                 of time by wireless scanning.
18671
18672         * Make state modification an idle routine in the main loop, and trigger
18673                 state changes rather than polling for them.
18674
18675         * src/backends/NetworkManagerGentoo.c
18676                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18677
18678         * src/NetworkManagerDevice.c
18679                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18680                         router advertisements, causing problems and infinite loop
18681                         during "best" device determination due to link going up/down
18682                         (reported by Bill Moss)
18683
18684         Apply patch from Peter Jones
18685         * src/NetworkManagerDevice.c
18686                 - Shortcut for link-checking for ipw2x00 cards
18687                 - Split out association check into separate routine
18688
18689 2004-01-05  Colin Walters  <walters@redhat.com>
18690
18691         * named/named.conf: Add PID_FILE.
18692
18693         * named/nm-named-manager.c: Always generate a pid
18694         file, since older BIND versions don't support
18695         "pid-file none".
18696
18697 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18698
18699         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18700
18701 2004-12-22  Dan Williams <dcbw@redhat.com>
18702
18703         * src/NetworkManagerDevice.c
18704                 - Silently fail when setting bitrate doesn't work
18705
18706
18707         Patches from j@bootlab.org:
18708         * src/backends/NetworkManagerDebian
18709                 - Update backend to match functionality in RedHat backend
18710         * src/NetworkManagerDevice.c
18711                 - Take down then bring up wired devices after connection so
18712                 they send out ipv6 router advertisements
18713
18714 2004-12-21  Colin Walters  <walters@verbum.org>
18715
18716         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18717         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18718
18719 2004-12-21  Colin Walters  <walters@redhat.com>
18720
18721         * configure.in: Correct named detection.
18722
18723 2004-12-21  Colin Walters  <walters@redhat.com>
18724
18725         * src/NetworkManager.c (nm_data_new): Initialize named.
18726         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18727         the mainloop when these signals are received.
18728         (nm_data_free): Unref named.
18729         (sigterm_handler, sigterm_pipe_handler): New functions for
18730         exiting mainloop.
18731         
18732         * src/NetworkManagerMain.h (NMData): Add signal handling and
18733         nameserver bits.
18734
18735         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18736         unref.
18737
18738         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18739         set nameservers from DHCP response data.
18740         (set_domain_search): Set domain search from DHCP response.
18741         (nm_device_dhcp_configure): Invoke them.
18742
18743         * src/NetworkManagerSystem.c
18744         (nm_system_device_update_resolv_conf): Delete.  Deleting
18745         code is totally sweet.
18746
18747         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18748
18749         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18750         implements an object which controls a nameserver.  Currently
18751         uses bind 9.
18752
18753         * configure.in: Check for named.
18754
18755         * Makefile.am (SUBDIRS): Add named dir.
18756
18757         * named/named.conf: New template config file.
18758
18759 2004-12-20  Colin Walters  <walters@redhat.com>
18760
18761         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18762         instead of '='.
18763
18764 2004-12-17  Dan Williams  <dcbw@redhat.com>
18765
18766         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18767                 link-local addresses instead of doing DHCP.
18768
18769         * In the panel applet, there's a new "Create new Wireless Network..." item
18770
18771         * The panel applet also sticks around now even if NetworkManager dies, but
18772                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18773                 a bug, I'll fix that later.
18774
18775         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18776                 lookups after a switch rather than actually doing them.
18777
18778         * Clean up some of those warnings in nm_ap_list_* functions
18779
18780         * Delay between scans changed to 15s instead of 10s
18781
18782 2004-12-15  Dan Williams  <dcbw@redhat.com>
18783
18784         Patch from Tom Parker
18785         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18786                 address
18787
18788         * Longer pause after setting ESSID on cards that support a larger number
18789                 of channels to give the card time to find the right channel
18790
18791         * Add system hook to restart mDNSResponder (or whatever the local implementation
18792                 of Multicast DNS is) when we activate interfaces
18793
18794 2004-12-15  Dan Williams  <dcbw@redhat.com>
18795
18796         * Rework the DHCP code again to revert to sending full ethernet frames
18797                 rather then relying on the kernel to do the right thing with our
18798                 packets.
18799
18800 2004-12-06  Dan Williams  <dcbw@redhat.com>
18801
18802         * dhcpcd/client.c
18803                 - Fix some minor errors in dhcp_handle_transaction() that caused
18804                         unexpected early timeouts of DHCP transactions
18805
18806         * dhcpcd/client.h
18807                 - DHCP retransmit time from 4s -> 5s
18808
18809 2004-12-05  Dan Williams  <dcbw@redhat.com>
18810
18811         * Major rework of the DHCP code, taking some cues from pump.  We don't
18812                 write raw Ethernet packets anymore, which simplifies the code quite
18813                 a bit.  The new code should be more robust, not hang in recvfrom()
18814                 as much, and generally work better.  This also means that we need
18815                 to force HAL/dbus to use a created GMainContext rather than the
18816                 default context, since having the DHCP renew/rebind thread using
18817                 its own GMainContext seemed to give dbus a fit.  There is also more
18818                 debugging information printed from the DHCP loop to help with future
18819                 problems.
18820
18821         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18822                 assume that the default gateway should be the DHCP server.
18823
18824         Patch from Matthew Schick <matt oss-institute org>
18825         * src/backends/NetworkManagerGentoo.c
18826                 - Fix compilation error due to missing "ip4_broadcast"
18827
18828 2004-12-03  Dan Williams  <dcbw@redhat.com>
18829
18830         * initscript/Makefile.am
18831         * initscript/Debian/NetworkManager
18832         * initscript/Gentoo/NetworkManager
18833         * initscript/RedHat/NetworkManager
18834         * initscript/NMLaunchHelper.c
18835                 - Remove NMLaunchHelper, if you need to wait until the network
18836                         comes up, use the dead code from CVS.
18837
18838 2004-12-01  Colin Walters  <walters@redhat.com>
18839         
18840         * configure.in: Suck in gcc warnings code from Rhythmbox,
18841         but use fewer default flags, and in particular add -Wno-unused,
18842         since the codebase has a lot of unused variables.
18843
18844         * test/nmtestdevices.c (create_device): 
18845         * test/nminfotest.c (get_network_string_property) 
18846         (get_networks_of_type): 
18847         * test/nmclienttest.c (main): 
18848         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18849         * initscript/NMLaunchHelper.c (get_nm_status): 
18850         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18851         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18852         Fix declarations after statements.
18853
18854 2004-12-01  Colin Walters  <walters@redhat.com>
18855
18856         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18857         (nmi_dbus_get_vpn_userpass): New method.
18858         (nmi_dbus_nmi_message_handler): Invoke it.
18859
18860         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18861
18862         * info-daemon/NetworkManagerInfoVPN.h,
18863         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18864         to requests for VPN passwords.
18865
18866         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18867
18868 2004-12-01  Colin Walters  <walters@redhat.com>
18869
18870         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18871         includes.
18872
18873 2004-12-01  Colin Walters  <walters@redhat.com>
18874
18875         * panel-applet/NMWirelessAppletDbus.c
18876         (nmwa_dbus_update_active_device_strength): Fix missing
18877         return value.
18878
18879 2004-12-01  Colin Walters  <walters@redhat.com>
18880
18881         * panel-applet/NMWirelessApplet.c: Add missing include.
18882
18883 2004-12-01  Colin Walters  <walters@redhat.com>
18884
18885         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18886         Remove useless CLAMP (); the value is unsigned, and the case tests
18887         qual->qual < 100, so the value must always be between 0 and 100.
18888
18889 2004-12-01  Colin Walters  <walters@redhat.com>
18890
18891         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18892
18893 2004-11-22  Colin Walters  <walters@verbum.org>
18894
18895         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18896         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18897         which is essentially a noop since nscd caches hosts on disk too.
18898         
18899 2004-11-22  Colin Walters  <walters@redhat.com>
18900
18901         * src/Makefile.am (NetworkManager_SOURCES): Add
18902         NetworkManagerDevicePrivate.h.
18903
18904 2004-11-22  Dan Williams <dcbw@redhat.com>
18905
18906         * src/NetworkManagerDevicePrivate.h
18907                 - Split out the NMDevice struct to a different file so that stuff like
18908                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18909
18910         * dhcpcd/client.c
18911                 - fprintf->syslog
18912                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18913                         need to cancel the dhcp request during the send and recv
18914
18915         * dhcpcd/client.h
18916                 - Move the DHCP option enum to dhcpcd.h
18917
18918         * src/NetworkManagerDHCP.c
18919                 - Split out the actual IP/netmask/etc setting code
18920                 - New Renew/Rebind functions
18921                 - New timer setup function for renew/rebind operations
18922
18923         * src/NetworkManagerDevice.c
18924                 - For device activation, if we are using DHCP then keep the activation thread
18925                         alive until device deactivation.  We need to renew/rebind the DHCP address
18926                         after the T1 (renew) and T2 (rebind) times have expired.
18927                 - Increase some timeouts after bringing wireless cards up/down
18928
18929 2004-11-17  Dan Williams <dcbw@redhat.com>
18930
18931         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18932                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18933                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18934                 show known access points that don't broadcast their ESSID in the menus without
18935                 any user intervention whatsoever.
18936
18937         * info-daemon/NetworkManagerInfoDbus.c
18938                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18939                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18940
18941         * src/NetworkManagerAP.[ch]
18942                 - Add a "user_addresses" data member to the NMAccessPoint structure
18943                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18944                         the user_addresses data member
18945
18946         * src/NetworkManagerAPList.c
18947                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18948                         the AP's reported address
18949                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18950
18951         * src/NetworkManagerDHCP.c
18952                 - Increase DHCP timeout from 25s -> 30s
18953
18954         * src/NetworkManagerDbus.[ch]
18955                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18956                         user addresses
18957
18958         * src/NetworkManagerDevice.c
18959                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18960                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18961                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18962                         So, we take the card down to clear it out.
18963                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18964                         too, since that's where the user_addresses are
18965
18966         * src/NetworkManagerPolicy.c
18967                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18968                         that wireless networks' user_addresses list upon successful activation
18969
18970 2004-11-16  Dan Williams <dcbw@redhat.com>
18971
18972         * src/NetworkManagerDevice.[ch]
18973                 - (nm_device_clear_activation_fail): new function
18974
18975         * src/NetworkManagerPolicy.c
18976                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18977                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18978
18979 2004-11-16  Dan Williams <dcbw@redhat.com>
18980
18981         * src/NetworkManagerDevice.c
18982                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18983                         leak the structure, better updating of now_scanning status
18984                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18985
18986 2004-11-15  Dan Williams <dcbw@redhat.com>
18987
18988         Major rework of link detection code.  We now use DHCP
18989         as part of the link detection which proves to be much more robust,
18990         and also supports Open System authentication for wireless networks.
18991
18992         We no longer use external DHCP client programs.  Instead, we use 
18993         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18994         which was written by:
18995                 Yoichi Hariguchi <yoichi@fore.com>
18996                 Sergei Viznyuk <sv@phystech.com>
18997                 http://www.phystech.com/download/
18998         It resides in the "dhcpcd" directory and was refactored into a general
18999         purpose DHCP client library by me.
19000
19001         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19002         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19003
19004 2004-11-15  Dan Williams <dcbw@redhat.com>
19005
19006         Patch from Tom Parker <palfrey@tevp.net>:
19007
19008         * src/NetworkManagerDevice.c
19009                 - Less output to console when no access
19010                         points are found during a scan
19011
19012 2004-11-15  Dan Williams <dcbw@redhat.com>
19013
19014         Patch from Tom Parker <palfrey@tevp.net>:
19015
19016         * src/backends/interface_parser.c
19017                 - Use g_strdup ()
19018                 - Check for inp == NULL
19019                 - use syslog ()
19020
19021 2004-11-13  Colin Walters  <walters@redhat.com>
19022
19023         Patch from Tom Parker <palfrey@tevp.net>:
19024
19025         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19026         
19027         * src/backends/NetworkManagerRedHat.c: Switch to
19028         including shvar.h instead of shvar.c.
19029
19030         * src/backends/NetworkManagerDebian.c: Don't include
19031         interface_parser.c in source file.
19032
19033         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19034         and interface_parser.[ch].
19035         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19036         Include shvar.c and shvar.h here.
19037         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19038         interface_parser.c and interface_parser.h here.
19039
19040 2004-11-12  Colin Walters  <walters@redhat.com>
19041
19042         * configure.in: Strip out TARGET_DISTRO and
19043         SYSTEM_BACKEND_FILE variables.  Switch to Automake
19044         conditionals.
19045
19046         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19047         (libnmbackend_la_SOURCES): Use Automake conditionals
19048         to add distro-specific files.
19049
19050         * initscript/Makefile.am (SUBDIRS): Update to
19051         use conditionals.
19052
19053 2004-11-12  Colin Walters  <walters@redhat.com>
19054
19055         Patches from j bootlab org
19056
19057         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
19058         Add interface_parser.[ch].
19059
19060         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19061         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19062
19063 2004-11-12  Colin Walters  <walters@redhat.com>
19064
19065         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19066         call to nmi_dbus_is_running too, not necessary anymore.
19067         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19068         pick up exit().
19069
19070 2004-11-11  Colin Walters  <walters@verbum.org>
19071
19072         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19073         Delete.
19074         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19075         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19076         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19077         This avoids a race condition that made it pretty easily
19078         possible to get two NetworkManagerInfo daemons running.
19079
19080 2004-11-11  Colin Walters  <walters@verbum.org>
19081         
19082         * src/NetworkManager.c (main): Use daemon(3).
19083
19084         * info-daemon/NetworkManagerInfo.c (main): Ditto.
19085
19086         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19087
19088 2004-11-10 Dan Williams <dcbw@redhat.com>
19089
19090         Patches from j bootlab org
19091         * src/NetworkManagerDevice.c
19092                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19093                         whether the card has a link or not, some cards are slow
19094                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19095
19096         * info-daemon/NetworkManagerInfoPassphraseDialog.c
19097                 - Disable the "Login" button on the passphrase dialog until the user
19098                         enters a valid passphrase or key
19099
19100         Patches from Tom Parker <palfrey tevp net>
19101         * src/backends/NetworkManagerDebian.c
19102                 - Add static IP support to the debian backend
19103
19104         * src/backends/interface_parser.[ch]
19105                 - Parse debian interface config files
19106
19107 2004-11-08 Dan Williams <dcbw@redhat.com>
19108
19109         * src/NetworkManagerDevice.c
19110                 - Some random fprintf->syslog conversions
19111                 - (nm_device_wireless_network_exists): double-check for network
19112                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19113
19114         * src/NetworkManagerWireless.[ch]
19115                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19116                         so that the binary->ascii conversion works (if unsigned, the bitshift
19117                         will fill with zeros, which is what's required).  Also mask bitshift
19118                         result with 0xF for futher assurance.
19119
19120 2004-11-06 Dan Williams <dcbw@redhat.com>
19121
19122         * src/NetworkManagerUtils.c
19123                 - (nm_get_wireless_driver_support_level): default to
19124                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19125                         flip this when changing from whitelist->blacklist of
19126                         wireless drivers
19127
19128 2004-11-05 Dan Williams <dcbw@redhat.com>
19129
19130         Patch from Robert Paskowitz:
19131         * src/backends/NetworkManagerGentoo.c
19132                 - Update static IP config code
19133
19134 2004-11-05 Dan Williams <dcbw@redhat.com>
19135
19136         * info-daemon/NetworkManagerInfoDbus.c
19137           src/NetworkManagerDbus.[ch]
19138           src/NetworkManagerDevice.c
19139                 - Keep track of the # of attempts to get the WEP key
19140                         from the user and pass that along to the info daemon
19141
19142 2004-11-05 Dan Williams <dcbw@redhat.com>
19143
19144         * src/NetworkManagerUtils.c
19145                 - Blacklist wireless cards rather than whitelisting them.
19146                 - Grab driver name from HAL rather than trying to find it
19147                         ourselves.
19148
19149 2004-11-03 Dan Williams <dcbw@redhat.com>
19150
19151         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19152                 - Disable OK button until valid data is entered
19153                         for encryption stuff too
19154
19155         * panel-applet/NMWirelessApplet.c
19156                 - Report card strength for current AP if the card
19157                         doesn't report strength data for scanned access
19158                         points
19159
19160         * src/NetworkManagerDevice.c
19161                 - Smooth out cards reported quality, Atmel card was
19162                         intermittently reporting no quality data but soon
19163                         recovers
19164
19165         * src/NetworkManagerWireless.c
19166                 - Better quality data percentage calculation.  Atmel
19167                         cards (mine at least) seem to report the quality
19168                         in percentage format already, so honor that
19169
19170         Patch from <j@bootlab.org>
19171         * NetworkManager.h
19172           info-daemon/NetworkManagerInfoPassphraseDialog.c
19173           info-daemon/passphrase.glade
19174           panel-applet/NMWirelessAppletOtherNetworkDialog.c
19175           panel-applet/essid.glade
19176           src/NetworkManagerAP.c
19177           src/NetworkManagerDevice.c
19178           src/NetworkManagerWireless.[ch]
19179                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19180
19181 2004-11-03 Dan Williams <dcbw@redhat.com>
19182
19183         * src/NetworkManagerDevice.[ch]
19184                 - (nm_device_set_enc_key): Add parameter to set Authentication
19185                         Mode (Open System, Shared Key, or None).  We're still using
19186                         Shared Key for now though.
19187
19188 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
19189
19190         * panel-applet/menu-info.c: change from bold text to light
19191         colored, may cause problems with some themes, i've tested a lot
19192         and they seem fine. 
19193
19194         * panel-applet/NMWirelessApplet.c: fix strength tooltip
19195
19196 2004-11-01  Colin Walters  <walters@verbum.org>
19197
19198         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19199         (nm_wireless_128bit_key_from_passphrase): Add const.
19200
19201         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19202         (nm_ap_set_enc_key_source): Add const.
19203         
19204 2004-11-01  Colin Walters  <walters@verbum.org>
19205
19206         * .cvsignore: Update.
19207
19208 2004-10-29 Dan Williams <dcbw@redhat.com>
19209
19210         * src/NetworkManagerDevice.c
19211                 - (nm_device_wireless_network_exists): Actually use the encryption
19212                         key we got from the applet when attempting to find a wireless network
19213                 - Don't bring devices down so much since on some cards it triggers
19214                         firmware hotplugs each time
19215
19216         * src/NetworkManagerDbus.c
19217                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19218                         from the caller
19219
19220 2004-10-29 Dan Williams <dcbw@redhat.com>
19221
19222         * src/NetworkManager.c
19223                 - (nm_hal_device_property_modified): unlock a locked active
19224                         wireless device when a wired connection gets a link.
19225                         (Means you'll switch to wired whenever you plug in no
19226                         matter what).
19227
19228 2004-10-29 Dan Williams <dcbw@redhat.com>
19229
19230         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19231                 - New files, implement the "Other wireless network" dialog
19232
19233         * panel-applet/NMWirelessApplet.c
19234                 - Move "other wireless network" dialog to separate file
19235
19236         * panel-applet/NMWirelessAppletDbus.[ch]
19237                 - Take key and key_type paramaters for the set_device function
19238
19239         * panel-applet/essid.glade
19240                 - Add UI bits for encryption settings
19241
19242         * src/NetworkManagerDbus.c
19243                 - Retrieve key and key_type params for "setActiveDevice" method call
19244                         and pass them on
19245                 - unref AP returned from nm_device_get_best_ap() when needed
19246
19247         * src/NetworkManagerDevice.c
19248                 - (nm_device_get_best_ap): ref the ap before returning it
19249                 - unref AP returned from nm_device_get_best_ap() when needed
19250                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19251                         need to call nm_device_get_best_ap() here, it was pretty much
19252                         redundant anyway
19253                 - (AP_NEED_KEY): break second link check condition out into separate
19254                         function, and fix segfault when ap->enc_key_source was NULL
19255                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19256                         pass them along to nm_device_wireless_network_exists().  If the
19257                         network does exist, set the passed-in key+key_type on the AP
19258
19259         * src/NetworkManagerPolicy.c
19260                 - unref AP returned from nm_device_get_best_ap() when needed
19261
19262 2004-10-28 Dan Williams <dcbw@redhat.com>
19263
19264         * src/NetworkManagerUtils.c
19265                 - (nm_spawn_process): Fix a potential dereference of NULL
19266
19267         Patches from Peter Jones:
19268
19269         * src/NetworkManagerDevice.c
19270                 - (nm_device_test_wireless_extensions): Better check for
19271                         wireless devices
19272
19273         * src/NetworkManagerUtils.c
19274                 - (nm_spawn_process): Pass in valid stdout and stderr so
19275                         executed programs don't randomly SIGPIPE and fail
19276                 - (nm_get_wired_driver_support_level): quash hal warning
19277                         when checking for USB ethernet device
19278
19279 2004-10-27 Dan Williams <dcbw@redhat.com>
19280
19281         * info-daemon/NetworkManagerInfo.c
19282           info-daemon/NetworkManagerInfoDbus.c
19283           info-daemon/NetworkManagerInfoPassphraseDialog.c
19284           panel-applet/NMWirelessApplet.c
19285                 - Properly escape gconf keys
19286
19287         * src/NetworkManager.c
19288                 - remove unused variables
19289
19290         * src/NetworkManagerAP.c
19291                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19292                         refcount since it got set in nm_ap_new()
19293
19294         * src/NetworkManagerAPList.c
19295                 - (nm_ap_list_combine): Give up ownership of newly created
19296                         access points to the ap list, fixes memleak
19297
19298         * src/NetworkManagerDevice.c
19299                 - Remove cached_ap_list4 member since its not really needed
19300                 - (nm_device_wireless_network_exists): Try to get correct
19301                         encryption status of a found AP if its already in our
19302                         device list
19303                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19304                         memory allocs/deallocs a bit clearer and shorter-lived
19305
19306 2004-10-26 Ray Strode <rstrode@redhat.com>
19307
19308         * panel-applet/NMWirelessApplet.c:
19309           (custom_essid_item_selected):  kill some compiler
19310         warnings 
19311
19312 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19313
19314         * info-daemon/NetworkManagerInfoDbus.c
19315                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19316                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19317
19318 2004-10-23 Dan Williams <dcbw@redhat.com>
19319
19320         * info-daemon/NetworkManagerInfoDbus.c
19321                 - Trap the "DeviceActivationFailed" signal
19322
19323         * docs/NetworkManager DBUS API.txt
19324                 - Add "DeviceActivationFailed" signal
19325
19326         * panel-applet/NMWirelessAppletDbus.c
19327                 - Quash the "NetworkManager service not available" message
19328
19329         * src/NetworkManagerDbus.[ch]
19330                 - Add the "DeviceActivationFailed" signal
19331
19332         * src/NetworkManagerDevice.c
19333                 - Add support for activation_failed flag
19334                 - Fix deadlock where activation thread didn't clean itself up, making
19335                         main thread still believe it was alive forever (didn't reset activation
19336                         flags like activating, just_activated, etc when IP configuration
19337                         failed)
19338
19339         * src/NetworkManagerPolicy.c
19340                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19341                         for wireless networks, try to fall back to some other access point
19342
19343 2004-10-23 Dan Williams <dcbw@redhat.com>
19344
19345         * panel-applet/NMWirelessApplet.[ch]
19346                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19347                         to the applet object, so we can get tooltips
19348                 - Add tooltips (RH #136866)
19349
19350         * src/NetworkManagerDevice.c
19351                 - When trying to find a wireless network, try to connect with encryption
19352                         turned on first, so that we can more accurately detect whether or not
19353                         we need to use encryption for the actual association later on
19354
19355 2004-10-21 Dan Williams <dcbw@redhat.com>
19356
19357         * Add some support for telling NetworkManagerInfo to tell the user
19358                 that they are using a device that's not fully supported
19359
19360         * Fix some assertions in debug messages due to null access point args
19361
19362 2004-10-21 Dan Williams <dcbw@redhat.com>
19363
19364         * src/NetworkManagerDevice.c
19365                 - Don't try to activate/bring up/down unsupported
19366                         devices
19367
19368         * src/NetworkManagerUtils.c
19369                 - Fix case of PCI ID checks for driver support levels
19370
19371 2004-10-21 Dan Williams <dcbw@redhat.com>
19372
19373         * NetworkManager.h
19374                 - New file, now contains commonly used structures and bits
19375                         for the dbus API of NetworkManager
19376
19377         * Makefile.am
19378                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19379
19380         * src/NetworkManager.h
19381                 - Rename -> src/NetworkManagerMain.c
19382
19383         * Various fixups all around to use NetworkManager.h and new
19384                 src/NetworkManagerMain.h, remove redundant bits that got
19385                 moved into NetworkManager.h
19386
19387         * src/NetworkManagerDevice.[ch]
19388           src/NetworkManagerUtils.[ch]
19389           src/NetworkManagerPolicy.c
19390           src/NetworkManagerDbus.c
19391                 - Whitelist wireless drivers, and blacklist some wired
19392                         drivers.  Also blacklist cipsec and ethernet-over-usb
19393                         devices at this time (RH #135722, RH #135648)
19394                 - Don't leak unsupported devices out over dbus, or allow
19395                         them to be set as the active device.  Skip over them
19396                         during automatic device picking
19397
19398         * test/nmclienttest.c
19399                 - Clean up the dbus code a lot
19400
19401 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19402
19403         * configure.in: post release bump.
19404
19405 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19406
19407         * configure.in:
19408         * NEWS: Released NetworkManager-0.3.1
19409
19410 2004-10-18 Dan Williams <dcbw@redhat.com>
19411
19412         Patches from Thom May:
19413         * test/nmtestdevices.c
19414                 - Include <string.h>
19415         * src/backends/NetworkManagerDebian.c:
19416                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19417                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19418                         Move to using g_strdup_printf rather than arbitrary buffers
19419                 - (nm_system_device_setup_static_ip4_config) Implement function.
19420                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19421
19422 2004-10-17 Dan Williams <dcbw@redhat.com>
19423
19424         * info-daemon/NetworkManagerInfoDbus.c
19425                 - Display name of network in the "network not found" dialog
19426
19427         * panel-applet/NMWirelessAppletDbus.c
19428                 - (nmwa_dbus_call_nm_method): new function replaces all other
19429                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19430                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19431                         consolidated into nmwa_dbus_get_object_name()
19432
19433 2004-10-15 Dan Williams <dcbw@redhat.com>
19434
19435         * src/NetworkManagerDbus.c
19436           info-daemon/NetworkManagerInfoDbus.c
19437                 - Display an error dialog when the user tries to use an
19438                         "Other wireless network" that's not found.
19439
19440 2004-10-15 Dan Williams <dcbw@redhat.com>
19441
19442         * panel-applet/NMWirelessApplet.[ch]
19443                 - Fix up corner cases in applet state, making it
19444                         look more responsive.  Change state to "connecting" when
19445                         the user is forcing a device too.
19446
19447 2004-10-15 Dan Williams <dcbw@redhat.com>
19448
19449         * src/NetworkManagerAPList.c
19450                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19451
19452         * src/NetworkManagerDbus.c
19453                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19454
19455         * src/NetworkManagerDevice.c
19456                 - Disown APs after the device's AP list takes ownership
19457
19458 2004-10-15 Dan Williams <dcbw@redhat.com>
19459
19460         * panel-applet/NMWirelessApplet.c
19461                 - Update our applet state from the GUI thread
19462
19463         * panel-applet/NMWirelessAppletDbus.c
19464                 - Greatly simplify the locking to make the GUI thread
19465                         smoother.  Update a private copy of the device list
19466                         and active device and only when done talking to
19467                         NetworkManager turn it over to the GUI thread.
19468
19469 2004-10-15 Dan Williams <dcbw@redhat.com>
19470
19471         * src/NetworkManagerAP.[ch]
19472                 - Add "artificial" get/set functions, set for APs that
19473                         aren't discovered as part of a scan but instead
19474                         discovered by force-setting the ESSID
19475
19476         * src/NetworkManagerDevice.[ch]
19477                 - (nm_device_wireless_network_exists): pass back whether
19478                         or not the discovered AP was encrypted.  Also, try
19479                         falling back to encrypted mode on the card if unencrypted
19480                         association doesn't work
19481                 - (nm_device_find_and_use_essid): If the network requested
19482                         did in fact exists, but it wasn't in our scan list, add
19483                         an "artificial" entry for it.  Some Cisco cards don't
19484                         see non-ESSID-broadcasting APs in their scan but can still
19485                         associate with them if you know the ESSID, this works around
19486                         that behavior
19487                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19488                         to scan if the card is currently associated with that AP
19489
19490 2004-10-15 Dan Williams <dcbw@redhat.com>
19491
19492         ---- We have a website ----
19493         http://people.redhat.com/dcbw/NetworkManager
19494
19495         Patch from Robert Paskowitz:
19496         * src/NetworkManager.c
19497                 - (main): Make sure we are run as root
19498         * src/NetworkManagerDevice.c
19499                 - Fix type in ad-hoc setting function
19500
19501         Patch from Thom May:
19502         * src/backends/NetworkManagerDebian.c
19503                 - Make Debian backend compile again
19504
19505 2004-10-14 Dan Williams <dcbw@redhat.com>
19506
19507         * Tagged NetworkManager-0_3
19508
19509 2004-10-14 Dan Williams <dcbw@redhat.com>
19510
19511         Patch from Robert Paskowitz:
19512         * NEWS
19513           src/NetworkManagerDevice.[ch]
19514           src/backends/NetworkManagerDebian.c
19515           src/backends/NetworkManagerGentoo.c
19516           src/backends/NetworkManagerRedHat.c
19517           src/backends/NetworkManagerSlackware.c
19518                 - Add support for grabbing and using a broadcast address
19519                         from system config files
19520                 - Some Gentoo backend fixes for grabbing network config
19521                 - Fix LOG_WARN->LOG_WARNING
19522
19523 2004-10-14 Dan Williams <dcbw@redhat.com>
19524
19525         * NEWS: a few small fixes in the credits
19526
19527 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19528
19529         * NEWS: prep for release.
19530
19531 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19532
19533         * panel-applet/NMWirelessAppletDbus.c
19534         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19535
19536 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19537
19538         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19539         applet->state == APPLET_STATE_NO_NM animation.
19540
19541         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19542         set the text correctly.
19543
19544 2004-10-14 Dan Williams <dcbw@redhat.com>
19545
19546         * src/NetworkManager.c
19547                 - Only accept and manager 802.3 and 802.11 devices
19548
19549         * src/NetworkManagerDbus.[ch]
19550                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19551                         logic into NetworkManagerDevice.c
19552                 - (nm_dbus_network_status_from_data): new function
19553                 - (nm_dbus_signal_network_status_change): new function, unused for now
19554                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19555
19556         * src/NetworkManagerDevice.[ch]
19557                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19558                         a random ESSID.
19559
19560 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19561
19562         * info-daemon/NetworkManagerInfo.c 
19563                 - (main): Added session management
19564
19565 2004-10-14 Dan Williams <dcbw@redhat.com>
19566
19567         * panel-applet/NMWirelessAppletDbus.[ch]
19568                 - Expose network_device_[un]ref()
19569                 - Expose wireless_network_[un]ref()
19570                 - (wireless_network_new_with_essid): new function, create and return
19571                         a wireless network with a particular essid
19572
19573         * panel-applet/NMWirelessApplet.c
19574                 - Hook up the "other network" dialog to do something
19575
19576 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19577
19578         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19579         doesn't work yet, but it looks okay.
19580
19581         * panel-applet/icons/*png: Resize to 22x22 and install in the
19582         right place.
19583
19584 2004-10-13 Dan Williams <dcbw@redhat.com>
19585
19586         * panel-applet/NMWirelessApplet.c
19587                 - Add function to print out applet_state in a readable
19588                         manner
19589
19590         * src/NetworkManager.c
19591                 - (main): Don't segfault when nm_dbus_init() fails, we had
19592                         a left-over call to hal_shutdown() into which we passed NULL
19593
19594         * src/NetworkManagerAP.c
19595                 - (nm_ap_set_essid): Allow NULL essids
19596
19597         * src/NetworkManagerAPList.[ch]
19598                 - More use of nm_ap_list_[un]lock ()
19599                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19600                         network/essid, just return nothing.  Also skip over NULL
19601                         essid access points in the list when searching
19602                 - (nm_ap_list_get_ap_by_address): new function
19603                 - (nm_ap_list_update_network): set the access point's key source to
19604                         NULL when the key returned from NetworkManagerInfo is NULL or
19605                         of 0 length
19606                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19607                         copy timestamp over too
19608                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19609                         find the correct ESSID for a blank-essid access point by searching
19610                         through another list and matching access point MAC addresses
19611                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19612
19613         * src/NetworkManagerDbus.c
19614                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19615                         may specify.  This is mainly for access points that don't
19616                         broadcast their essid.  So if the user tells us to associate with
19617                         some random ESSID that's not in our access point list, we find
19618                         out if the access point does in fact exist (by attempting association
19619                         and then matching that access point's MAC address with the essid the
19620                         user gave us) and then we switch to it.
19621                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19622                         to the returned list of networks for the "getNetworks" method
19623
19624         * src/NetworkManagerDevice.[ch]
19625                 - Extra debugging info for link detection
19626                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19627                         based on MAC address
19628                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19629                 - (nm_device_wireless_network_exists): new function, find out whether
19630                         a random ESSID exists by attempting to associate with it
19631                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19632                         device list as long as they have an AP MAC address we can use.
19633                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19634                         devices too.  Lets the applet update more frequently.
19635
19636         * src/backends/NetworkManagerGentoo.c
19637                 - Patch from: Robert Paskowitz
19638                         - Update backend code for Gentoo
19639                         - Implement nm_system_device_update_config_info ()
19640
19641         * test/nmclienttest.c
19642                 - (set_network_device): new function, takes a command-line argument
19643                         and tells NetworkManager to use that wireless network
19644
19645 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19646
19647         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19648         if the notification icon crashes 5 times within 5 seconds of each respawn 
19649
19650 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19651
19652         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19653         g_print.
19654
19655 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19656
19657         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19658
19659         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19660         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19661         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19662         Change the name of the icons.
19663
19664         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19665         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19666         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19667         (nm_menu_wireless_expose_event): Really bad hack to get the style
19668         to draw in the right color.
19669
19670 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19671
19672         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19673         Notification if it crashes
19674
19675 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19676
19677         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19678         (nmwa_dbus_get_string): remove unused functions
19679
19680         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19681         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19682         remove unused functions
19683
19684         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19685
19686 2004-10-12 Dan Williams <dcbw@redhat.com>
19687
19688         * panel-applet/NMWirelessAppletDbus.c
19689                 - New functions:
19690                         wireless_network_new
19691                         wireless_network_copy
19692                         network_device_new
19693                         network_device_copy
19694
19695         * src/NetworkManagerDevice.[ch]
19696                 - New functions:
19697                         nm_device_set_mode_managed
19698                         nm_device_set_mode_adhoc
19699                 - Use these functions where appropriate
19700                 - When creating a new wireless device, force the card
19701                         to managed/Infrastructure mode as soon as possible
19702
19703 2004-10-12 Dan Williams <dcbw@redhat.com>
19704
19705         * src/NetworkManagerDevice.c
19706                 - Force wireless cards into Infrastructure mode before we use them
19707
19708 2004-10-12 Dan Williams <dcbw@redhat.com>
19709
19710         * TODO
19711                 - Remove bit about static IP address support
19712
19713         * src/NetworkManagerUtils.c
19714                 - (nm_spawn_process): Add some error reporting
19715
19716         * src/NetworkManagerDevice.c
19717                 - (nm_device_activation_configure_ip): hook up to the static config
19718                         routines in the backends
19719
19720         * src/backends/NetworkManagerRedHat.c
19721                 - (nm_system_device_update_config_info): use shvar.c routines to
19722                         parse the config file iformation, not our own
19723                 - (nm_system_device_setup_static_ip4_config): new function, based
19724                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19725                         with a static IP address and gateway
19726
19727         * src/backends/shvar.[ch]
19728                 - Parser (filched from initscripts package) for ifcfg-* files
19729
19730         * src/backends/NetworkManagerSystem.h
19731           src/backends/NetworkManagerGentoo.c
19732           src/backends/NetworkManagerDebian.c
19733           src/backends/NetworkManagerSlackware.c
19734                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19735
19736 2004-10-11 Dan Williams <dcbw@redhat.com>
19737
19738         * TODO
19739                 - Remove bit about more robust AP diffing since I just implemented it
19740
19741 2004-10-11 Dan Williams <dcbw@redhat.com>
19742
19743         * src/NetworkManagerAP.c
19744                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19745                         enough RAM to allocate new AP structures, but return NULL instead
19746
19747         * src/NetworkManagerAPList.[ch]
19748                 - (nm_ap_list_is_empty): new function
19749                 - (nm_ap_list_combine): new function, combine two access point lists
19750                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19751                         into another
19752
19753         * src/NetworkManagerDevice.[ch]
19754                 - Rename some functions to be clearer:
19755                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19756                         nm_device_just_activated     -> nm_device_is_just_activated
19757                         nm_device_activating         -> nm_device_is_activating
19758                         nm_device_now_scanning       -> nm_device_is_scanning
19759                 - Cache the last 4 scans so that the access point list is more stable.
19760                         We combine the lastest two scans and use that as the AP list,
19761                         and diff that combined list against the combination of the earliest
19762                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19763
19764 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19765
19766         * info-daemon/NWManagerInfo.h
19767                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19768
19769         * info-daemon/NWManagerInfoDbus.c
19770                 - (shutdown_callback): new function
19771                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19772                         if NetworkManager goes away.  Kill the timeout
19773                         if NetworkManager restarts before the 30 seconds
19774                         are up.
19775                 - (nmi_dbus_service_init): 
19776                         - call gtk_main_quit if NetworkManager is not running
19777                         - add filters to monitor dbus service creations and
19778                                 deletions
19779         
19780 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19781
19782         * panel-applet/NMWirelessApplet.c
19783                 - (nmwa_update_state): Hide notification icon if we are only
19784                         showing one wired card and no wireless interfaces 
19785                         (Red Hat Bug #134895)
19786
19787         * panel-applet/NMWirelessAppletDbus.c
19788                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19789
19790         * info-daemon/NWManagerInfo.c
19791                 - (main): Terminated the notification_icon_cmd array with a NULL
19792
19793 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19794
19795         * configure.in (ALL_LINGUAS): Added de (German).
19796
19797 2004-10-08 Dan Williams <dcbw@redaht.com>
19798
19799         * src/NetworkManagerDevice.c
19800                 - Be a bit more robust about link checking, ie make sure that
19801                         the WEP key we were given actually has some data in it
19802
19803 2004-10-08 Dan Williams <dcbw@redhat.com>
19804
19805         * info-daemon/NetworkManagerInfo.c (main):
19806                 - Initialize GError object to NULL
19807
19808 2004-10-08 Dan Williams <dcbw@redhat.com>
19809
19810         * panel-applet/NMWirelessAppletDbus.c
19811                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19812
19813 2004-10-08 Dan Williams <dcbw@redhat.com>
19814
19815         * info-daemon/NetworkManagerInfo.[ch]
19816           info-dameon/NetworkManagerInfoDbus.[ch]
19817           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19818                 - Preserve original label text in the passphrase dialog so that
19819                         it actually gets updated with the new network name the next
19820                         time around.  Previously, we were overwriting it so you'd get
19821                         the wrong network name to enter a key for
19822                 - Add a "Key Type" combo to the passphrase dialog, user selects
19823                         encryption key type now, type is stored in GConf too
19824                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19825
19826         * src/NetworkManagerAP.[ch]
19827                 - Remove all the encyption method magic.  It's now set by the user
19828                         and NetworkManager retrieves the type of encryption key from
19829                         NetworkManagerInfo
19830
19831         * src/NetworkManagerAPList.[ch]
19832           src/NetworkManagerDbus.[ch]
19833                 - Adjust to new way of setting encryption key and method
19834                 - Pull encryption method down from NMI along with key
19835
19836         * src/NetworkManagerDevice.[ch]
19837                 - Removed encryption method fallback magic as the method is now
19838                         determined by the user.  This greatly simplifies the connection
19839                         logic.
19840                 - More robust connection/link logic.  Besides removing the encryption
19841                         method fallback magic, check whether or not the card is receiving
19842                         invalidly encrypted packets, which usually indicates that we have
19843                         a bad WEP key set.
19844                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19845
19846         * test/nminfotest.c
19847                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19848
19849 2004-10-07 Dan Williams <dcbw@redhat.com>
19850
19851         * info-daemon/NetworkManagerInfo.conf
19852                 - Allow root user to run NMI too
19853
19854 2004-10-06 Dan Williams <dcbw@redhat.com>
19855
19856         * src/NetworkManagerDevice.[ch]
19857           src/NetworkManagerDbus.c
19858           doc/NetworkManager DBUS API.txt
19859                 - Add a new status tag "scanning", which is set when there
19860                         is no active network connection, but NetworkManager is
19861                         looking for an access point to associate with
19862
19863         * panel-applet/main.c
19864                 - Cast the applet appropriately for gtk_widget_show_all ()
19865
19866 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19867
19868         * panel-applet/eggtrayicon.[ch]:
19869         * panel-applet/main.c: Add missing file
19870
19871 2004-10-04 Dan Williams <dcbw@redhat.com>
19872
19873         * src/NetworkManagerDevice.[ch]
19874                 - Add a slightly more robust method of determining if the WEP key
19875                         is correct or not, by checking the WEP-discarded packet count
19876                         on the card
19877
19878         * info-daemon/NetworkManagerInfo.c
19879                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19880                         un-escape values we pull out rather than escaping them
19881
19882 2004-10-03  Marcel Telka  <marcel@telka.sk>
19883
19884         * configure.in (ALL_LINGUAS): Added sk.
19885
19886 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19887
19888         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19889         and feel.  We should be back to working, and have a good, clean
19890         look.
19891
19892 2004-09-30 Dan Williams <dcbw@redhat.com>
19893
19894         * info-daemon/NetworkManagerInfo.c
19895           info-daemon/NetworkManagerInfoDbus.c
19896           test/nminfotest.c
19897                 - Escape ESSIDs in gconf
19898
19899         * src/NetworkManagerDevice.c
19900                 - Fix pseudo-scanning to use netowrk list from info daemon
19901
19902 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19903
19904         * configure.in: Add a temporary --enable-notification-icon.  This
19905         will prolly go away.
19906
19907         * info-daemon/Makefile.am:
19908         * info-daemon/NetworkManagerInfo.c:
19909         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19910
19911         * panel-applet/Makefile.am:
19912         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19913         * panel-applet/NMWirelessApplet.h:
19914
19915 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19916
19917         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19918         before 'select custom ESSID'.
19919
19920         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19921         fully complete, but syncing in prep for merge.
19922
19923         * panel-applet/icons/*png: New images
19924
19925 2004-09-28 Dan Williams <dcbw@redhat.com>
19926
19927         * src/NetworkManager.c
19928           src/NetworkManagerDevice.c
19929           src/NetworkManagerPolicy.c
19930                 - Don't blow away an active wired connection on startup
19931
19932 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19933
19934         Changes from J5
19935         
19936         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19937
19938         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19939         syslog output
19940
19941 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19942
19943         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19944         have a wireless card.
19945
19946 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19947
19948         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19949         Also, get the right device strings.
19950
19951 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19952
19953         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19954         the logic to make this right.
19955
19956         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19957         devices so that wired networks are always first.
19958
19959 2004-09-22    <clarkbw@cvs.gnome.org>
19960
19961         * initscript/Debian/.cvsignore:
19962         * initscript/Slackware/.cvsignore:
19963         Added new cvsignores for Makefile, Makefile.in
19964         
19965         * test/.cvsignore:
19966         Added nmtestdevices
19967         
19968         * src/NetworkManagerDevice.c: 
19969         * src/NetworkManager.c: 
19970         Updated the wireless/wired HAL device strings from net.ethernet to
19971         net.80203 or net.80211 depending on wired or wireless respectively
19972         
19973         * examples/python/NetworkManager.py: 
19974         s/Quality/Strength/
19975
19976         * examples/python/systray/network_tray.py:
19977         Lots of little changes and fixes.  been rotting for a while so I
19978         figured I'd finally sync them all with CVS
19979
19980 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19981
19982         * configure.in: Add graphics
19983
19984         * panel-applet/Makefile.am: Add graphics
19985
19986         * panel-applet/icons/*: Add graphics
19987
19988         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19989         the icons fully lined up.
19990
19991         * panel-applet/menu-info.c: 
19992         * panel-applet/menu-info.h: Add another menu type.
19993
19994 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19995
19996         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19997
19998         * panel-applet/menu-item.[ch]: Wireless menu item.
19999
20000 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
20001
20002         * info-daemon/NetworkManagerInfo.conf
20003                 - Created a more robust security policy for the DBus service
20004                         - everything is denied by default
20005                         - root can own and send to the service
20006                         - users logged in at the console can send to the service
20007
20008 2004-09-13  Dan Williams <dcbw@redhat.com>
20009
20010         * src/NetworkManagerDevice.c
20011                 - (nm_device_get_essid): use iw_get_basic_config() rather than
20012                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20013                         the latter
20014
20015 2004-09-13  Dan Williams <dcbw@redhat.com>
20016
20017         * TODO: fix typo
20018
20019         * docs/NetworkManager DBUS API.txt
20020                 - Update for new signal strength changes
20021
20022         * panel-applet/NMWirelessApplet.c
20023                 - Make panel icon show strength of the current connection
20024                 - Cleanups and memleak fixes
20025
20026         * panel-applet/NMWirelessApplet.h
20027                 - Add data members for signal strength on devices and networks
20028
20029         * panel-applet/NMWirelessAppletDbus.c
20030                 - Free more DBusErrors
20031                 - Update for new signal strength changes
20032                 - Make devices and networks more like real objects, use ref/unref methods
20033                 - Actually unlock the mutex when updating the active device
20034
20035         * src/NetworkManagerAP.c
20036                 - Change AP functions and data members from "quality"->"strength"
20037
20038         * src/NetworkManagerDbus.c
20039                 - Kill "getMaxQuality" and "getQuality" methods
20040                 - Add "getStrength" methods for Networks and Devices
20041
20042         * src/NetworkManagerDevice.[ch]
20043                 - Add accessors for device strength
20044                 - Add functions to update strength for a device.  Note that not all drivers
20045                         actually support signal strength for scanned access points (Atmel drivers
20046                         being one)
20047                 - Calculate signal strength for each AP during scan
20048
20049         * src/NetworkManagerWireless.[ch]
20050                 - Add function to return signal strength % from a device and a raw quality struct
20051
20052         * test/nmclienttest.c
20053                 - Update for new signal strength changes
20054
20055 2004-09-11  Dan Williams <dcbw@redhat.com>
20056
20057         * src/NetworkManager.c
20058                 - Fix race condition between initscripts and NM on card insertion
20059                         which could cause a card to keep an IP address and routes around
20060                         even when it was not the active device
20061
20062         * src/NetworkManagerDbus.c
20063                 - Fix compile errors, free more DBusErrors
20064
20065 2004-09-11  Dan Williams <dcbw@redhat.com>
20066
20067         * docs/NetworkManager DBUS API.txt
20068                 - Add an explanation of NM's API
20069
20070         * src/NetworkManagerDbus.c
20071                 - Free some more DBusErrors if needed
20072
20073 2004-09-11  Dan Williams <dcbw@redhat.com>
20074
20075         * panel-applet/NMWirelessApplet.c
20076           panel-applet/NMWirelessAppletDbus.c
20077                 - Start using NetworkDevice/WirelessNetwork structures in more places
20078                 - Update for unified device/network forcing in NetworkManager
20079
20080         * src/NetworkManager.c
20081                 - some code consolidation
20082
20083         * src/NetworkManagerDbus.c
20084                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20085                         or two arguments:  the first is the NM ID of the device to switch to,
20086                         and the second (optional) argument is the ESSID of a wireless network
20087                         to use as well.
20088                 - Get rid of "setNetwork" method due to above change
20089
20090         * src/NetworkManagerDevice.c
20091                 - (nm_device_new): perform scan and update best AP on device creation
20092                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20093                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20094                         spin waiting for cancellation to finish before returning
20095
20096         * src/NetworkManagerPolicy.c
20097                 - Changes here clarify the situations in which a device switch occurs, and 
20098                         make sure to keep using a forced device and network if the user gives
20099                         us one
20100                 - Remove old unused code
20101
20102 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
20103
20104         * configure.in: Added Danish (da) to ALL_LINGUAS.
20105
20106 2004-09-09  Dan Williams <dcbw@redhat.com>
20107
20108         * panel-applet/NMWirelessAppletDbus.c
20109                 - Pull fresh devices and networks from NM when wireless networks
20110                         change.  Provides faster feedback of a forced wireless network
20111
20112         * src/NetworkManagerDbus.c
20113                 - Return error when "getMaxQuality" is called on a wired device
20114                 - Make best_ap freezing actually work again, and signal cancellation
20115                         of activation if there's already a device activation when the user
20116                         freezes the best_ap
20117
20118         * src/NetworkManagerDevice.c
20119                 - Don't clear out the best_ap for wireless devices when the link goes
20120                         down, that's done elsewhere
20121                 - Kill any dhcp daemons when cancelling device activation since they
20122                         may be stuck waiting for a DHCP address, and since we're cancelling
20123                         activation we don't care about that anymore
20124
20125         * src/NetworkManagerPolicy.c
20126                 - Make sure to unref the device we ref earlier (we refed it to make sure
20127                         it stuck around during device activation and such)
20128                 - If we were going to change the best device, but its activating currently
20129                         (and therefore the change didn't occur due to the check earlier)
20130                         we mark the state changed to we come back to it later when device
20131                         activation has canceled and its no longer activating
20132
20133         * src/backends/NetworkManagerRedHat.c
20134                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20135
20136 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
20137
20138         * info-daemon/passphrase.glade: 
20139         set passphrase input to activates_default : True
20140
20141         * examples/python/systray/network_tray.py
20142         (network_tray.sort_networks):
20143
20144         Added support for having wireless always scanning
20145
20146 2004-09-09  Dan Williams <dcbw@redhat.com>
20147
20148         NOTE: this commit changes the behavior of wireless devices in
20149         NetworkManager.  They are now up all the time, scanning all
20150         the time.  Only the active device has an IP address and routing
20151         information set up however.  Also, NetworkManager will no longer
20152         opportunistically switch wireless networks when a better one
20153         comes in range, it will remain associated with one wireless network
20154         until that one drops out.
20155
20156         * panel-applet/NMWirelessApplet.c
20157           panel-applet/NMWirelessAppletDbus.c
20158                 - List all wireless cards and their respective networks
20159
20160         * src/NMLoadModules
20161                 - Use full path to /sbin/ip
20162
20163         * src/NetworkManager.c
20164                 - Keep wireless devices up all the time so they can scan
20165
20166         * src/NetworkManagerDbus.c
20167                 - On a WirelessNetworkUpdate signal from NMI, don't update
20168                         the "best" AP
20169
20170         * src/NetworkManagerDevice.c
20171                 - (nm_device_set_link_active): clear out the best ap for
20172                         wireless devices when the link is set to FALSE
20173                 - Scan on all wireless cards, all the time
20174                 - (nm_device_activation_worker): split out the wireless card
20175                         link-waiting code to a separate function
20176                 - Keep wireless cards up even if device activation fails
20177                 - Don't update the "best" ap as much
20178
20179         * src/NetworkManagerPolicy.c
20180                 - Don't update the best ap when checking if its frozen,
20181                         let link checking clear out a frozen best ap for us
20182
20183         * src/NetworkManagerWireless.c
20184                 - Scan on all wireless cards, all the time
20185
20186 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
20187
20188         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20189
20190 2004-09-09  Ankit Patel <ankit@redhat.com>
20191
20192         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20193
20194 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
20195
20196         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20197
20198 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
20199
20200         * examples/python/NetworkManager.py: 
20201         added CONNECTED, CONNECTING, and DISCONNECTED states
20202         added methods to return number of devices of a single type
20203
20204         * examples/python/systray/network_tray.py: 
20205         did some tweaks to get the menu looking near what it is supposed
20206         to look like.  Also did a Airo card hack to make it show the
20207         correct AP quality
20208
20209 2004-09-08  Dan Williams <dcbw@redhat.com>
20210
20211         * panel-applet/no-networkmanager.png
20212           panel-applet/Makefile.am
20213           panel-applet/NMWirelessApplet.c
20214                 - Add a "NetworkManager not running" icon and use it
20215                 - Use new consolidated GConf keys rather than Preferred/Trusted
20216
20217         * TODO: update
20218
20219         * info-daemon/NetworkManagerInfo.c
20220           info-daemon/NetworkManagerInfoDbus.[ch]
20221           info-daemon/NetworkManagerInfoPassphraseDialog.c
20222                 - There are now no longer two separate lists of wireless networks,
20223                         but one list where each network is "trusted" or not trusted
20224                 - Add a "getNetworkTrusted" dbus method
20225                 - "WirelessNetworkUpdate" signal now sent rather than
20226                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20227                 - Start freeing some dbus errors (not completed yet)
20228
20229         * info-daemon/passphrase.glade
20230                 - Remove the "don't show" hints for pager and taskbar
20231                 - Add a title since its going to be in the taskbar
20232
20233         * src/NetworkManager.[ch]
20234           src/NetworkManagerAPList.[ch]
20235                 - There are now no longer two separate lists of wireless networks,
20236                         but one list where each network is "trusted" or not trusted
20237
20238         * src/NetworkManagerAP.[ch]
20239                 - Add get/set "trusted" accessors and data bit
20240
20241         * src/NetworkManagerDbus.[ch]
20242                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20243                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20244
20245         * src/NetworkManagerDevice.[ch]
20246                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20247                 - (nm_device_new): Get device config from backend when initializing devices
20248                 - (nm_device_activation_worker): Split out device configuration on
20249                         activation to deal with static/dynamic IP differences, and try encryption
20250                         fallbacks on a device if the encryption method for the best AP is not good
20251                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20252                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20253
20254         * src/NetworkManagerWireless.c
20255                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20256
20257         * src/backends/NetworkManagerRedHat.c
20258           src/backends/NetworkManagerSystem.h
20259                 - (nm_system_device_update_config_info): Add function to get device configuration
20260                         from system data in ifcfg-* files
20261
20262         * src/backends/NetworkManagerDebian.c
20263           src/backends/NetworkManagerGentoo.c
20264           src/backends/NetworkManagerSlackware.c
20265                 - Add stub functions for getting device configuration
20266
20267 2004-09-07  Dan Williams <dcbw@redhat.com>
20268
20269         * src/backends/NetworkManagerRedhat.c
20270           src/backends/NetworkManagerSlackware.c
20271                 - Use full path to /sbin/ip everywhere
20272
20273 2004-09-07  Dan Williams <dcbw@redhat.com>
20274
20275         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20276
20277         * configure.in
20278           initscript/Makefile.am
20279           initscript/Slackware/Makfile.am
20280           initscript/Slackware/rc.networkmanager
20281           src/Makefile.am
20282           src/backends/NetworkManagerSlackware.c
20283                 - Add Slackware support
20284
20285 2004-09-07  Dan Williams <dcbw@redhat.com>
20286
20287         Patches below from:
20288                 <j@bootlab.org>
20289                 Mark Roach <mrroach@okmaybe.com>
20290                 Thom May <thom@debian.org>
20291
20292         * configure.in
20293           initscript/Debian/NetworkManager
20294           initscript/Debian/Makefile.am
20295                 - Initscript for Debian
20296
20297         * src/backends/NetworkManagerDebian.c
20298                 - Add missing system init function to allow compilation
20299                         on Debian
20300
20301 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20302
20303         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20304
20305 2004-09-03  Akagic Amila <bono@linux.org.ba>
20306
20307         * configure.in: Added 'bs' to ALL_LINGUAS.
20308
20309 2004-09-02  Colin Walters  <walters@verbum.org>
20310
20311         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20312         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20313         g_strdup_printf instead of arbitrarily sized buffers.
20314
20315 2004-09-01  Colin Walters  <walters@verbum.org>
20316
20317         * NetworkManager.pc.in: New file.
20318
20319         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20320
20321 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20322         
20323         * configure.in: Punjabi(pa) is added to po/.
20324
20325 2004-08-31  Dan Williams <dcbw@redhat.com>
20326
20327         * Remove 'debug' extern global from all files since we now
20328                 use syslog()
20329
20330         * src/NetworkManager.[ch]
20331                 - Break out routine that get the net.interface property from HAL,
20332                         removing that logic from nm_create_device_and_add_to_list()
20333                 - (nm_create_device_and_add_to_list): make this a bit more general so
20334                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20335                         the create of test devices.
20336                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20337                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20338                         which makes NetworkManager listen for dbus commands to create test
20339                         devices, which have no backing hardware.  Use when you're on a plane
20340                         for example, and/or forgot your wireless card at home.  Test devices
20341                         _cannot_ be created unless NM is started with --enable-test-devices.
20342
20343         * src/NetworkManagerDbus.[ch]
20344                 - New "getLinkActive" method for devices
20345                 - New "setLinkActive" method for devices (only works on test devices)
20346                 - New "createTestDevice" method on NetworkManager object to create a test
20347                         device of a specified type (ie wired, wireless).  UDI is created from
20348                         scratch, as is the interface name.  Only works when NM is started with
20349                         --enable-test-devices switch.
20350                 - New "removeTestDevice" method on NetworkManager object which removes a
20351                         test device.  Only works when NM is started with --enable-test-devices
20352
20353         * src/NetworkManagerDevice.[ch]
20354                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20355                         whether a device is a test device or not, and what its link status is.
20356                 - Deal with test devices in most functions.  For those that work directly on hardware
20357                         special-case test devices.
20358                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20359                         command-line.
20360                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20361                         checking to separate functions to facilitate test device link checking.
20362                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20363                         don't make a distinction between System Authentication and Encryption
20364                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20365                         on the card.  We don't deal with Shared Key auth yet.
20366                 - (nm_device_activation_worker): split the activation cancel check logic out into
20367                         a separate routine nm_device_activation_cancel_if_needed()
20368                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20369                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20370                         a list of fake access points that they can "see"
20371                 - (nm_device_is_test_device): return whether or not a device is a test device
20372
20373         * src/NetworkManagerPolicy.c
20374                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20375                         previously if you "locked"/forced NM to use a wireless device but then
20376                         selected a wireless network for NM to use, it would switch to a wired device.
20377                         So, if the active device is wireless and it has a "forced" best AP, use it
20378                         if the "forced" best AP is still valid
20379                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20380                         there were no usable network devices, or the last one was removed
20381
20382         * src/backends/NetworkManager*.c
20383                 - Deal with test devices, mostly just return success for operations like getting
20384                         a DHCP address
20385
20386         * test/nmtestdevices.c
20387                 - Test tool to create/remove/link-switch test devices
20388
20389 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20390
20391         * examples/python/NetworkManager.py: 
20392         added convience functions has_wired_device and has_wireless_device
20393
20394         * examples/python/systray/network_tray.py: 
20395         cleaned up a bunch of cruft, added support for listing wireless
20396         networks just like the real applet.  This is probably all I'm
20397         going to work on this applet from now on.
20398         TODO: add support for actually changing networks and devices
20399
20400         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20401         changed "nm.networks" into a dict from a list so I can store all
20402         the cool information about networks in there
20403
20404         * examples/python/systray/network_tray.py: 
20405         Added nice message when you try to run without running make first
20406
20407         * examples/python/NetworkManager.py: 
20408         Bug fixes to the code so we get all the device information
20409         that we need in get_device()
20410         
20411         * examples/python/NMTester.py: 
20412         Fixed _print_device_list to print_device_list
20413
20414 2004-08-29  Seth Nickell  <seth@gnome.org>
20415
20416         * configure.in:
20417
20418         Actually properly setup the Debian backend in configure.
20419         
20420 2004-08-29  Colin Walters  <walters@verbum.org>
20421
20422         * test/nminfotest.c: Include string.h and stdlib.h.
20423         (get_network_string_property, get_networks_of_type): Return NULL.
20424
20425         * test/nmclienttest.c (get_device_name, get_active_device): Return
20426         NULL.
20427
20428         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20429         use strlen, fgets always NULL-terminates the string.
20430
20431         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20432         dbus_message_get_member): Remove /* in comment.
20433
20434         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20435
20436         * src/NetworkManager.c (quit): Unused, delete.
20437         (nm_data_free): Cast arg to GFunc.
20438
20439         * panel-applet/NMWirelessAppletDbus.c: Need to include
20440         string.h, and dbus-glib-lowlevel.h (the latter is needed
20441         for dbus_connection_setup_with_g_main at present).
20442         (nmwa_dbus_update_wireless_network_list): Parenthesize
20443         assignment in conditional.
20444         (nmwa_dbus_worker): Return NULL.
20445
20446         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20447         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20448         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20449         (nmwa_populate_menu): Return NULL on failure, instead of just
20450         return;
20451
20452         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20453
20454         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20455         variables.
20456
20457         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20458         delete.
20459         
20460 2004-08-29  Colin Walters  <walters@verbum.org>
20461
20462         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20463         a GTimeVal instead of time_t.  This is easier to work with,
20464         since time_t may be a long or double, we don't know.
20465
20466         * src/NetworkManagerDbus.h: Update prototype.
20467         
20468         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20469         instead of time_t.
20470         (nm_ap_get_timestamp): Update to return GTimeVal.
20471         (nm_ap_set_timestamp): Update to take GTimeVal.
20472         
20473         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20474         to handle GTimeVal.
20475
20476         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20477         GTimeVal change.
20478         (nm_ap_list_print_members): Fix warnings in printf format.
20479
20480 2004-08-29  Colin Walters  <walters@verbum.org>
20481         
20482         * panel-applet/NMWirelessApplet.c: Include config.h.
20483
20484 2004-08-29  Colin Walters  <walters@verbum.org>
20485
20486         * configure.in: Generate config.h.
20487
20488         * configure.in: Dump dependency on OpenSSL; we can't
20489         use it since this package is GPL:
20490         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20491         Instead, check for libgcrypt, use it if available,
20492         otherwise use included MD5 code.
20493
20494         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20495         Suck in from gnome-keyring, munge a bit.
20496         
20497         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20498         gnome-keyring-md5.h gnome-keyring-md5.c.
20499         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20500
20501         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20502         libgcrypt or included gnome-keyring md5 bits.
20503         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20504
20505 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20506
20507         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20508
20509 2004-08-27  Bryan Clark  <bclark@redhat.com>
20510
20511         * examples/python/systray/Makefile: 
20512
20513         Updated the clean section
20514         
20515         * examples/python/systray/trayiconmodule.c: 
20516         * examples/python/systray/trayicon.override: 
20517         * examples/python/systray/network_tray.py: 
20518         * examples/python/systray/eggtrayicon.h: 
20519         * examples/python/systray/eggtrayicon.c: 
20520         * examples/python/systray/Makefile: 
20521         * examples/python/README: 
20522         * examples/python/NetworkManager.py: 
20523         * examples/python/NMTester.py: 
20524
20525         Initial commit of these python example files
20526
20527 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20528
20529         * panel-applet/NMWirelessApplet.c
20530                 - Make current device bold
20531                 - Show more user-friendly device name if we got one from hal
20532
20533         * panel-applet/NMWirelessAppletDbus.c
20534                 - Grab "info.product" key from hal for network devices
20535                 - Cache the current active device
20536
20537 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20538
20539         * configure.in: Added en_CA to ALL_LINGUAS.
20540
20541 2004-08-27  Christian Rose  <menthos@menthos.com>
20542
20543         * configure.in: Added "sv" to ALL_LINGUAS.
20544
20545 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20546
20547         * Tag NetworkManager-0.2
20548
20549 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20550
20551         * initscripts/Makefile.am
20552         * configure.in: Make pass distcheck
20553
20554         * po/ChangeLog: added
20555
20556 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20557
20558         * panel-applet/NMWirelessApplet.c
20559                 - Remove debugging code
20560                 - Enable device switching from menus
20561
20562         * panel-applet/NMWirelessAppletDbus.[ch]
20563                 - Method for asking NM to switch devices
20564
20565         * src/NetworkManagerDevice.c
20566                 - Set dev->activating earlier, avoids race between
20567                         the dbus signal of "DeviceActivating" and setting
20568                         dev->activating (which is what NM's "status" method call
20569                         looks at)
20570
20571 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20572
20573         * panel-applet/NMWirelessApplet.[ch]
20574                 - Rework menu code to add devices to menu, and to show
20575                         signal strength for each access point.  Code cleanups
20576                         too.
20577
20578         * panel-applet/NMWirelessAppletDbus.c
20579                 - Grab network devices from NetworkManager too
20580                 - Grab quality information from NM for wireless networks
20581
20582         * src/NetworkManagerDbus.[ch]
20583                 - Add dbus methods for getting the HAL UDI from a device and
20584                         for getting its base quality, if its wireless
20585                 - Consolidate some functions (wireless network notifications,
20586                         device notifications)
20587                 - Add method for requesting NM to use a particular device
20588
20589         * src/NetworkManager.c
20590                 - Change for function consolidations from NetworkManagerDbus.c
20591                 - Implement active device locking and user-requested devices
20592                         (ie, tell NM to use a particular device instead of the one
20593                         it autochose)
20594
20595         * src/NetworkManagerDevice.c
20596                 - Add method for getting the base quality of a device, if its
20597                         wireless
20598                 - Grab device base quailty info from iwlib during scans
20599
20600         * src/NetworkManagerPolicy.c
20601                 - Use a user-requested device rather than the auto-chosen device
20602                         if we are told to
20603
20604 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20605
20606         * Makefile.am: add po as a supdir
20607
20608         * autogen.sh: use gnome-autogen.sh
20609
20610         * initscript/Gentoo/.cvsignore:
20611         * initscript/RedHat/.cvsignore: Shut up cvs
20612
20613         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20614
20615         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20616         (nmwa_fill): Use gettext.
20617
20618         * configure.in: add gettext support
20619         * po/.cvsignore:
20620         * po/NetworkManager.pot:
20621         * po/POTFILES.in:
20622
20623 2004-08-26  Seth Nickell  <seth@gnome.org>
20624
20625         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20626         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20627         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20628         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20629         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20630         * panel-applet/NMWirelessApplet.h:
20631
20632         Use a menu bar instead of a button for the main clickable
20633         thingy.
20634         
20635 2004-08-25  Dan Williams <dcbw@redhat.com>
20636
20637         * src/NetworkManagerDevice.c
20638                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20639                         turning encryption off, because the Cisco driver doesn't associate
20640                         with WEP-enabled access points unless we are in "open"
20641
20642 2004-08-25  Dan Williams <dcbw@redhat.com>
20643
20644         * src/NetworkManagerWireless.c
20645                 - Don't try to defererence blank passphrases
20646
20647 2004-08-25  Dan Williams <dcbw@redhat.com>
20648
20649         * panel-applet/NMWirelessApplet.c
20650                 - Rebuild the menu whenever a user clicks
20651
20652 2004-08-25  Dan Williams <dcbw@redhat.com>
20653
20654         * panel-applet/NMWirelessApplet.c
20655                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20656                         when NM isn't around or when its not connected
20657
20658         * src/NetworkManagerDevice.c
20659                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20660                         canceled.
20661
20662 2004-08-25  Dan Williams <dcbw@redhat.com>
20663
20664         * panel-applet/NMWirelessAppletDbus.c
20665                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20666                         for getting encryption, and don't stop on "val" once we've gotten it
20667                         from NetworkManager.  Short form:  encryption should now show up.
20668
20669 2004-08-25  Dan Williams <dcbw@redhat.com>
20670
20671         * panel-applet/NMWirelessApplet.c
20672                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20673                         network to associate with
20674
20675 2004-08-25  Dan Williams <dcbw@redhat.com>
20676
20677         * panel-applet/*
20678                 - Rework the panel applet to do all DBUS communication in a separate
20679                         thread
20680
20681 2004-08-25  Dan Williams <dcbw@redhat.com>
20682
20683         * info-daemon/NetworkManagerInfo.[ch]
20684                 - Remove "get_next_priority" function
20685
20686         * info-daemon/NetworkManagerInfoDbus.[ch]
20687                 - Convert "priority" functions to "timestamp"
20688
20689 2004-08-25  Dan Williams <dcbw@redhat.com>
20690
20691         * src/NetworkManagerAP.[ch]
20692                 - Add a "enc_method_good" member and accessors to an Access Point
20693                         to signal when we've found the correct encryption method
20694                         for an access point
20695                 - Add a "timestamp" member and accessors, remove "priority" member
20696                         and accessors (use timestamps instead)
20697                 - Rename "wep_key"->"enc_key"
20698                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20699                         for a specified encryption method using the access points
20700                         source encryption key/passphrase
20701
20702         * src/NetworkManagerAPList.c
20703                 - When updating a network with dbus, grab timestamp now instead of
20704                         priority
20705
20706         * src/NetworkManagerDBus.[ch]
20707                 - Add signal for "DeviceActivating"
20708                 - Switch priority->timestamp
20709
20710         * src/NetworkManagerDevice.c
20711                 - Change references of "wep_key" -> "enc_key" or "key"
20712                 - Signal DeviceActivating when starting activation
20713                 - When activating a wireless device, if the access point we are connecting
20714                         to is encrypted, and we have a source key, try to generate a mangled
20715                         key and use that (ie, generate real WEP key from a passphrase)
20716                 - Rework device activation to fallback to other encryption methods if
20717                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20718                         first, then if that doesn't work fall back to direct hex key).
20719                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20720                         priority.  We now prefer the latest access point used, rather than using
20721                         a priority scheme
20722                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20723                         points we've just discovered, and merge in correct info from the global
20724                         access point lists
20725
20726 2004-08-25  Seth Nickell  <seth@gnome.org>
20727
20728         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20729         Debian support.
20730         
20731         * src/Makefile.am:
20732         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20733         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20734         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20735         (nm_system_delete_default_route),
20736         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20737         (nm_system_load_device_modules):
20738
20739 2004-08-24  Dan Willemsen <dan@willemsen.us>
20740
20741         * src/NetworkManager.c
20742           src/backends/NetworkManagerGentoo.c
20743           src/backends/NetworkManagerRedHat.c
20744           src/backends/NetworkManagerSystem.h
20745                 - Implement preliminary Gentoo support, adding a
20746                         nm_system_init function to the backend specification
20747
20748         * configure.in
20749                 - Distribution auto-detection, lowercase any user-fed
20750                         distribution names
20751
20752         * initscript/.cvsignore
20753           initscript/Makefile.am
20754           initscript/RedHat/Makefile.am
20755           initscript/RedHat/NetworkManager
20756           initscript/Gentoo/Makefile.am
20757           initscript/Gentoo/NetworkManager
20758                 - Refactored initscript code separately for each
20759                         distribution
20760
20761 2004-08-23  Dan Williams <dcbw@redhat.com>
20762
20763         * configure.in
20764           src/Makefile.am
20765           src/NetworkManagerDevice.c
20766           src/NetworkManager.c
20767           src/NetworkManagerUtils.[ch]
20768           src/backends/NetworkManagerSystem.h
20769           src/backends/NetworkManagerRedHat.c
20770           src/backends/NetworkManagerGentoo.c
20771                 - Refactor system-specific code into separate backends for
20772                         each distribution
20773
20774 2004-08-23  Dan Willemsen <dan@willemsen.us>
20775
20776         * dispatcher-daemon/NetworkManagerDispatcher.c
20777           info-daemon/NetworkManagerInfo.[ch]
20778           info-daemon/NetworkManagerInfoDbus.c
20779           info-daemon/NetworkManagerInfoPassphraseDialog.c
20780           src/NetworkManager.c
20781           src/NetworkManagerAP.c
20782           src/NetworkManagerAPList.c
20783           src/NetworkManagerDbus.c
20784           src/NetworkManagerDevice.c
20785           src/NetworkManagerPolicy.c
20786           src/NetworkManagerUtils.[ch]
20787           src/NetworkManagerWireless.c
20788                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20789
20790         * src/NetworkManager.c
20791                 - Fixed usage wording for --no-daemon
20792
20793 2004-08-23  Dan Williams <dcbw@redhat.com>
20794
20795         * panel-applet/NMWirelessApplet.c
20796                 - Update our state every second to get more responsive panel icon
20797                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20798                         was causing our marching ants status blips to never move when
20799                         looking for a wireless network
20800
20801         * src/NetworkManagerDevice.c
20802                 - (nm_device_activation_begin): return if activation has already begun
20803                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20804                         trusted/preferred network into the device's access point when the
20805                         scan list is processed
20806
20807 2004-08-23  Dan Williams <dcbw@redhat.com>
20808
20809         * initscript/NetworkManager
20810                 - Use NMLaunchHelper rather than sleeping
20811
20812         * initscript/NMLaunchHelper.c
20813           Makefile.am
20814                 - Add helper program that exits only when NM activates a device,
20815                         or 10 seconds have passed, whichever happens first.  This
20816                         stops the boot processes until we have a network connection,
20817                         which NM can't do because it daemonizes and brings the connection
20818                         up in the background.  Allows stuff like NFS to not die.
20819
20820 2004-08-20  Dan Williams <dcbw@redhat.com>
20821
20822         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20823                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20824                         for a network, set the essid as well since it may not exist yet
20825                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20826                         since WEP keys/passphrases are long and prone to entry-error
20827
20828         * panel-applet/Makefile.am
20829           panel-applet/wired.png
20830                 - Add (pulled from system-config-network temporarily)
20831
20832         * panel-applet/NMWirelessApplet.[ch]
20833                 - Show wired picture when a wired connection is used
20834                 - Rename wireless icon enums, adding WIRELESS
20835
20836         * src/NetworkManagerDevice.c
20837                 - (nm_device_activate_wireless): unset encryption before bringing
20838                         down the card and setting the essid
20839                 - (nm_device_activatin_worker): request a key from the user if the
20840                         AP we are connecting to is encrypted but we don't have a key
20841                         for it yet
20842                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20843                         strcmp() that prevented a user-entered key from actually getting
20844                         used
20845
20846 2004-08-16  Dan Williams <dcbw@redhat.com>
20847
20848         * initscript/NetworkManager
20849                 - Check for /sbin/ip
20850                 - Do sysctl magic that network service does
20851                 - sleep 4s after start to allow network time to come up [hack]
20852
20853         * src/Makefile.am
20854           src/NMLoadModules
20855                 - Load all network device kernel modules (hal doesn't know devices
20856                         are ethernet until the module is loaded, and therefore we don't know)
20857
20858         * src/NetworkManager.c
20859                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20860                         network devices, and bring up the loopback device explicitly
20861
20862         * src/NetworkManagerUtils.[ch]
20863                 - (nm_enable_loopback): new function
20864
20865 2004-08-13  Dan Williams <dcbw@redhat.com>
20866
20867         * configure.in
20868           panel-applet/Makefile.am
20869                 - Fix up cleanfiles and server_DATA/server_in_files
20870
20871         * README
20872                 - Update with some comments on theory of operation
20873
20874         * CONTRIBUTING
20875           Makefile.am
20876                 - Add CONTRIBUTING
20877
20878 2004-08-12  Dan Williams <dcbw@redhat.com>
20879
20880         * info-daemon/passphrase.glade
20881                 - Set window title to " "
20882
20883         * panel-applet/Makefile.am
20884           panel-applet/keyring.png
20885                 - Deliver to correct place
20886
20887         * panel-applet/NMWirelessApplet.[ch]
20888                 - Add comments
20889                 - Remove applet->have_active_device as its no longer used
20890                 - (nmwa_load_theme): load keyring.png too
20891                 - (error_dialog): remove
20892                 - (show_warning_dialog): subsume functionality of error dialog too
20893                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20894                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20895                         the networks menu
20896                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20897                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20898                         and when we get broadcasts of changed wireless access points only, not when the
20899                         user clicks on the button to display the menu (too long of a wait)
20900                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20901                         networks that are encrypted
20902                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20903                         menu item with g_object_set_data()
20904
20905         * panel-applet/NMWirelessAppletDbus.[ch]
20906                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20907                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20908                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20909                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20910                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20911                         activation/deactivation signals and rebuild the menu when they happen
20912
20913         * src/NetworkManager.c
20914                 - (main): use new nm_spawn_process() rather than system()
20915
20916         * src/NetworkManagerDbus.c
20917                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20918                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20919                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20920                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20921                         to freeze the best_ap.
20922
20923         * src/NetworkManagerDevice.[ch]
20924                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20925                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20926                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20927                         ap list
20928
20929         * src/NetworkManagerUtils.[ch]
20930                 - (nm_spawn_process): add replacement for system() usage
20931
20932 2004-08-11  Dan Williams <dcbw@redhat.com>
20933
20934         * panel-applet/NMWirelessApplet.[ch]
20935                 - Fix up copyright and credits to include Bastien and Eskil,
20936                         who created the gnome-applets wireless applet, from whose
20937                         skeleton this one was created
20938                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20939                         pixmap to draw is computed during nmwa_update_state()
20940                 - Applet now shows itself all the time due to panel packing issues
20941                         which caused the applet to previously never come back after hiding.
20942                         When a wired device is the active device, the applet shows "not connected"
20943
20944         * panel-applet/NMWirelessAppletDbus.[ch]
20945                 - Clean up error messages and show what function they are from
20946                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20947                 - Add new device type getters, and a status getter
20948
20949         * src/NetworkManagerDbus.c
20950                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20951                         network is actually in the device's ap list
20952                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20953
20954         * src/NetworkManagerDevice.c
20955                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20956                         card
20957
20958         * test/nmclienttest.c
20959                 - Report status of NetworkManager too
20960
20961 2004-08-11  Dan Williams <dcbw@redhat.com>
20962
20963         * info-daemon/NetworkManagerInfo.c:
20964                 - (main): clean up Seth's code style
20965
20966         * info-daemon/NetworkManagerInfoDbus.c:
20967                 - Use the more aptly-named path/service/interface constants from NetworkManager
20968                 - Don't return empty strings ("") as object paths ever, instead return errors
20969
20970         * panel-applet/NMWirelessApplet.c:
20971                 - Clean up Seth's code style
20972
20973         * src/NetworkManager.[ch]
20974                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20975                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20976
20977         * src/NetworkManagerAPList.[ch]
20978                 - Move Iter struct right above the iter functions to preserve opacity
20979                 - (nm_ap_list_remove_ap): implement
20980                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20981                         remove AP if NetworkManagerInfo doesn't know anything about it
20982                 - (nm_ap_list_diff): user NMAPList iterators
20983                 - (nm_ap_list_print_members): implement debugging function
20984
20985         * src/NetworkManagerDbus.[ch]
20986                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20987                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20988                         and move the actual key setting stuff into NetworkManagerDevice.c
20989                 - (nm_dbus_get_network_priority): return -1 now on errors
20990                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20991                         get lost, and force the active device to update its "best" ap when AP lists change
20992                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20993                         method call due to pending_device member removal
20994
20995         * src/NetworkManagerDevice.[ch]
20996                 - Move NMDevice structure to the top
20997                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20998                 - Remove Pending Action stuff from everywhere
20999                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21000                         activation for us.  This thread blocks until all conditions for activation have
21001                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21002                         then setup up the interface and runs dhclient.  We have to do this because there
21003                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21004                         run our main loop and respond to dbus method calls or HAL device removals/inserts
21005                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21006                         can tell nm_device_activation_worker() that we've got a key
21007                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21008                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21009                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21010                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21011
21012         * src/NetworkManagerPolicy.c
21013                 - Remove anything to do with pending_device
21014                 - Adjust device activation to deal with activation-in-worker-thread
21015
21016         * src/NetworkManagerUtils.c
21017                 - Clean up locking debugging a bit
21018
21019         * src/NetworkManagerWireless.[ch]
21020                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
21021                         was badly named and is better as a device function
21022
21023         * panel-applet/.cvsignore: add
21024
21025 2004-08-09  Seth Nickell  <seth@gnome.org>
21026
21027         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21028         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21029         (nmwa_new):
21030         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21031
21032         Don't load the menus until clicked on (also removes a call outside
21033         normal code paths at first load).
21034
21035         Hide applet when NM is not present.
21036         
21037         Improve printf debugging stuff.
21038         
21039 2004-08-09  Dan Williams <dcbw@redhat.com>
21040
21041         * dispatcher-daemon/NetworkManagerDispatcher.c:
21042                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21043                 - Use constants for NetworkManager interface, service, and path
21044
21045 2004-08-09  Dan Williams <dcbw@redhat.com>
21046
21047         * src/NetworkManagerDbus.c:
21048                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21049                         instead return an error message
21050                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21051                         on a wired device.  Also never return an empty object path, instead return an error message
21052
21053 2004-08-06  Seth Nickell  <seth@gnome.org>
21054
21055         * panel-applet/NMWirelessApplet.c: (nmwa_new):
21056
21057         Check the error code when getting a connection.
21058         
21059         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21060
21061         Check if the NM service exists when initializing (rather than
21062         assuming it does not).
21063         
21064         * src/NetworkManagerDbus.c: (nm_dbus_init):
21065
21066         Don't acquire the well-known service name until we have
21067         registered object/path handlers and can actually receive
21068         calls.
21069         
21070 2004-08-06  Dan Williams <dcbw@redhat.com>
21071
21072         * panel-applet/*
21073                 - Add panel applet
21074
21075         * src/NetworkManagerPolicy.c
21076           src/NetworkManager.c
21077                 - Get access point lists from NetworkManagerInfo on-demand,
21078                         and look for ServiceCreate/ServiceDeleted signals to see when
21079                         we should query NMI for lists
21080         * src/NetworkManagerAPList.c
21081                 - Make sure to init the list's mutex
21082                 - Convert traversals of the list over to the list iter functions
21083
21084         * src/NetworkManagerDbus.[ch]
21085                 - Use more aptly-named path/service/interface constants
21086                 - Treat both active and pending devices the same for "getActiveDevice"
21087                 - Add a "status" method returning "connected", "connecting", or "disconnected"
21088
21089         * src/NetworkManagerDevice.c
21090                 - Honor "ignored" network list when picking best ap to use
21091
21092 2004-08-06  Seth Nickell  <seth@gnome.org>
21093
21094         * aclocal.m4:
21095
21096         Autogenerated, remove from CVS.
21097         
21098         * autogen.sh:
21099
21100         Don't hardcode automake version.
21101         
21102         * configure.in:
21103         * info-daemon/Makefile.am:
21104         * info-daemon/NetworkManagerInfo.c: (main):
21105
21106         Use GnomeProgram et al. for doing session management.
21107         Use popt stuff for argument parsing rather than doing
21108         it manugally.
21109         
21110 2004-08-05  Dan Williams <dcbw@redhat.com>
21111
21112         * test/nminfotest.c
21113                 - Update to new NMI dbus API, check different network types
21114
21115         * info-daemon/NetworkManagerInfoDbus.c
21116                 - Update to new NM dbus API, ie network type sent in query message
21117
21118 2004-08-05  Dan Williams <dcbw@redhat.com>
21119
21120         * An assload of changes
21121
21122 2004-08-02  Dan Williams <dcbw@redhat.com>
21123
21124         * TODO
21125                 - new task: proper logging support
21126
21127         * info-daemon/NetworkManagerInfo.c
21128                 - Correct spelling of "canceled"
21129                 - Correct casting of objects for g_signal_connect()
21130
21131         * info-daemon/NetworkManagerInfoDbus.c
21132                 - Add defines for NetworkManager namespace and object path, and use them
21133                 - Add filter function to trap new signals from NetworkManager:
21134                         WirelessNetworkAppeared, WirelessNetworkDisappeared
21135
21136         * info-daemon/passphrase.glade
21137                 - Change name of "ok" button to "Login to Network..."
21138                 - Mark invisible
21139
21140         * src/NetworkManager.c
21141                 - Code and debug message cleanups
21142                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21143                 - (nm_add_initial_devices) Check returned string array of devices
21144                         and don't try to add devices if array is NULL
21145                 - (main) Initialize libhal a bit later, make code a bit clearer
21146
21147         * src/NetworkManagerAP.[ch]
21148                 - New accessor and data member "matched": used to speed up AP list
21149                         diffing
21150                 - New accessor and data member "enc_method": will be used during key
21151                         fallback to cache which passphrase->key conversion actually works
21152                         so we don't have to do it every time
21153
21154         * src/NetworkManagerAPList.[ch]
21155                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21156                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21157                         between them, and send WirelessNetworkAppeared/Disappeared signals over
21158                         dbus in response to those differences
21159
21160         * src/NetworkManagerDbus.[ch]
21161                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21162                         make an object path for that access point (NOTE that we don't yet check to
21163                         make sure that access point is actually in the device's AP list yet)
21164                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21165                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21166                         New: signal appearance/disappearance of wireless networks
21167                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21168                         key entry
21169
21170         * src/NetworkManagerDevice.[ch]
21171                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21172                 - (nm_device_ap_list_get) New: return the AP list (static function)
21173                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21174                         new one resulting from the scan with the old one
21175
21176         * src/NetworkManagerWireless.c
21177                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21178
21179         * test/nminfotest.c
21180                 - #define object paths and namespaces and use the #defines rather than static strings
21181                 - Test out user-key functionality of NetworkManagerInfo too
21182
21183 2004-07-29  Dan Williams <dcbw@redhat.com>
21184
21185         * info-daemon/NetworkManagerInfoDbus.c
21186           src/NetworkManagerDbus.c
21187                 - Update to current DBus (ie don't use decomposed paths when registering
21188                         object paths/fallbacks)
21189
21190 2004-07-27  Dan Williams <dcbw@redhat.com>
21191
21192         * Remove various Makefile.in files
21193
21194         * TODO
21195                 - Add some more items
21196
21197         * configure.in
21198                 - Add checks for OpenSSL/md5 headers and libs
21199
21200         * src/Makefile.am
21201                 - Use OpenSSL CFLAGS
21202
21203         * src/NetworkManagerAP.[ch]
21204                 - Remove 'stamp' functions, replace with 'invalid' functions
21205                         to support user cancelling WEP key entry
21206
21207         * src/NetworkManagerDbus.c
21208                 - Remove 'stamp' return functions
21209                 - Treat returned user key as a passphrase and convert to a WEP key,
21210                         but don't actually use the WEP key yet.  We use the returned user
21211                         key as a hexadecimal WEP key until we can figure out a UI for
21212                         passphrase-vs-hex key
21213
21214         * src/NetworkManagerWireless.[ch]
21215                 - Add passphrase-to-128bit-key function
21216
21217 2004-07-27  Dan Williams <dcbw@redhat.com>
21218
21219         * TODO
21220                 - Add a couple of items
21221
21222 2004-07-27  Dan Williams <dcbw@redhat.com>
21223
21224         * info-daemon/NetworkManagerInfo.c
21225                 - Update allowed network's GConf key when user enters a WEP key explicitly
21226
21227         * info-daemon/NetworkManagerDbus.c
21228                 - Fix some comments
21229                 - nmi_dbus_get_allowed_networks(): kill warning
21230
21231 2004-07-27  Dan Williams <dcbw@redhat.com>
21232
21233         * initscript/Makefile.in
21234                 - Remove
21235
21236         * initscript/Makefile.am
21237                 - Add correct rules to install the init.d initscript
21238
21239         * info-daemon/NetworkManagerInfoDbus.c
21240                 - Remove debug fprintf
21241
21242         * src/NetworkManagerDbus.[ch]
21243                 - Remove debug fprintfs
21244                 - Add macros for NetworkManagerInfo object path/namespace
21245                 - Use said macros instead of constant strings
21246
21247 2004-07-27  Dan Williams <dcbw@redhat.com>
21248
21249         * initscript/.cvsignore
21250                 - Add
21251
21252         * info-daemon/Makefile.am
21253                 - Install .glade files and keyring.png
21254                 - Fix stupid omission of a \ that caused half the flags not to be
21255                         passed to gcc
21256
21257         * info-daemon/NetworkManagerInfo.c
21258                 - gtk_signal_connect->g_signal_connect
21259                 - Alert NetworkManagerInfo to new glade file location
21260
21261 2004-07-27  Dan Williams <dcbw@redhat.com>
21262
21263         * test/nmclienttest.c
21264           test/nminfotest.c
21265                 - Add missing <dbus/dbus.h> headers
21266                 - Add GPL message at top
21267
21268 2004-07-27  Dan Williams <dcbw@redhat.com>
21269
21270         * src/NetworkManagerAPList.[ch]
21271           src/Makefile.am
21272                 - Add.  Deal with allowed network list additions, deletions, and updates
21273
21274         * dispatcher-daemon/NetworkManagerDispatcher.c
21275                 - Add missing <dbus/dbus.h> header
21276
21277         * info-daemon/NetworkManagerInfo.[ch]
21278                 - Add missing <dbus/dbus.h> header
21279                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21280                         network change
21281                 - Better error checking
21282
21283         * info-daemon/NetworkManagerInfoDbus.[ch]
21284                 - Add missing <dbus/dbus.h> header
21285                 - Convert to using dbus_message_append_args/dbus_message_get_args
21286                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21287                         that an allowed network changed.  We don't want to signal on individual
21288                         keys _inside_ an allowed network really, just want NM to query the info
21289                         daemon for updated info on all keys.
21290                 - Better error checking
21291
21292         * src/NetworkManager.[ch]
21293                 - Add missing <dbus/dbus.h> header
21294                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21295                 - Zero out NMData structure on free
21296                 - No longer use a thread for allowed_ap_list updating, instead its now done
21297                         through dbus queries against NetworkManagerInfo
21298                 - Populate allowed_ap_list initially before adding existing network devices
21299                         to the device list, so wireless devices can get their "best" AP
21300
21301         * src/NetworkManagerDbus.[ch]
21302                 - Convert to using dbus_message_append_args/dbus_message_get_args
21303                 - Better error checking
21304                 - Implement Allowed Network info functions to request allowed network
21305                         info from NetworkManagerInfo
21306                 - Implement the filter function to process signals from NetworkManagerInfo
21307                         about changing allowed networks
21308
21309         * src/NetworkManagerDevice.c
21310                 - Fix file descriptor leak in nm_device_update_ip4_address()
21311
21312 2004-07-27  Dan Williams <dcbw@redhat.com>
21313
21314         * .cvsignore
21315           src/.cvsignore
21316           test/.cvsignore
21317           dispatcher-daemon/.cvsignore
21318           info-daemon/.cvsignore
21319                 - Add .cvsignore files to reduce noise when diffing
21320
21321 2004-07-24  Dan Williams <dcbw@redhat.com>
21322
21323         * src/NetworkManager.[ch]
21324           src/NetworkManagerDbus.[ch]
21325           src/NetworkManagerDevice.[ch]
21326           src/NetworkManagerPolicy.c
21327           src/NetworkManagerWireless.[ch]
21328                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21329                 - Pass the NMData application data structure through all calls
21330                         that need it so we can get rid of nm_get_global_data()
21331                 - Change deallocation of the allowed_ap_list GSList in preparation
21332                         for not completely clearing it every time we get an update,
21333                         but instead getting incremental updates via GConf/dbus
21334
21335 2004-07-22  Dan Williams <dcbw@redhat.com>
21336
21337         * configure.in
21338                 - Add checks for GConf libs & headers & flags
21339
21340         * info-daemon/Makefile.am
21341                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21342
21343         * info-daemon/NetworkManagerInfo.[ch]
21344                 - Don't use gquarks for data storage, just use normal data storage
21345                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21346
21347         * info-daemon/NetworkManagerDbus.[ch]
21348                 - Add method call for getting allowed networks
21349                 - Add method calls for getting an allowed network's essid, priority, and key
21350                 - Hook the method calls up to GConf
21351                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21352                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21353                 
21354         * src/NetworkManagerDbus.[ch]
21355                 - Switch for enumeration of networks to using essid instead
21356
21357         * test/Makefile.am
21358           test/nminfotest.c
21359                 - Add test program for NetworkManagerInfo
21360
21361 2004-07-19  Dan Williams <dcbw@redhat.com>
21362
21363         * src/NetworkManagerDbus.c
21364                 - Switch from indexed device paths to names.  Less code, more efficient.
21365                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21366
21367 2004-07-19  Dan Williams <dcbw@redhat.com>
21368
21369         * dispatcher-daemon/NetworkManagerDispatcher.c
21370                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21371
21372 2004-07-19  Dan Williams <dcbw@redhat.com>
21373
21374         * Makefile.am
21375                 - Add info-daemon directory
21376
21377         * configure.in
21378                 - Check for glade libs and headers
21379                 - Add info-daemon directory
21380
21381         * src/NetworkManagerAP.c
21382                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21383                         copied over to the new AP.
21384
21385         * src/NetworkManagerDbus.c
21386           src/NetworkManagerDbus.h
21387                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21388                 - Remove nm_dbus_signal_need_key_for_network()
21389                 - Add disabled code for asynchronous user wep key callbacks
21390                 - Add functions for getting, setting, and cancelling user key operations
21391                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21392                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21393
21394         * src/NetworkManagerDevice.c
21395           src/NetworkManagerDevice.h
21396                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21397                         logic is in device activation now
21398                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21399                         key is wrong) trigger get-user-key pending action
21400                 - Implement get-user-key pending action stuff, tie to dbus messages
21401                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21402                 - Add nm_device_ap_list_get_ap_by_essid()
21403                 - Instead of copying "best" access points, ref them instead so that the key we set
21404                         sticks around
21405
21406         * src/NetworkManagerPolicy.c
21407                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21408                 - Don't cancel pending actions on a device if its the same device as last iteration
21409                 - Only promote pending_device->active_device if activation was successfull
21410
21411         * src/Makefile.am
21412                 - Rename nmclienttest->nmtest
21413
21414         * info-daemon/Makefile.am
21415           info-daemon/NetworkManagerInfo.c
21416           info-daemon/NetworkManagerInfo.h
21417           info-daemon/NetworkManagerInfoDbus.c
21418           info-daemon/NetworkManagerInfoDbus.h
21419           info-daemon/passphrase.glade
21420           info-daemon/NetworkManagerInfo.conf
21421           info-daemon/keyring.png
21422                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21423                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21424                         lists to NetworkManager by proxying user's GConf
21425           
21426
21427 2004-07-15  Dan Williams <dcbw@redhat.com>
21428
21429         * src/Makefile.am
21430                 - Turn on warnings
21431
21432         * src/NetworkManager.c
21433                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21434                         that doing the deactivation ourselves
21435                 - Cancel an pending actions on a device if its being removed
21436                 - Break up link state checking a bit, make non-active wireless cards
21437                         deactivated to save power
21438                 - Remove unused variables
21439
21440         * src/NetworkManager.h
21441                 - Add support for "pending" device
21442
21443         * src/NetworkManagerAP.h
21444           src/NetworkManagerAP.c
21445                 - Add support for determining whether and AP has encryption enabled or not
21446                 - AP address is now "struct ether_addr" rather than a string
21447
21448         * src/NetworkManagerDbus.h
21449           src/NetworkManagerDbus.c
21450                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21451                 - Changes for AP address from struct ether_addr->string
21452
21453         * src/NetworkManagerDevice.h
21454           src/NetworkManagerDevice.c
21455                 - Remove unused variables, fix warnings
21456                 - Add support for Pending Actions (things that block a device from being "active"
21457                         until they are completed).
21458                 - First pending action:  Get a WEP key from the user
21459                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21460                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21461                 - Update wireless link checking to try to determine if the AP we are associated
21462                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21463                         trigger the GetUserKey pending action on the device
21464                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21465                         up in that case, otherwise we can't scan or link-check on it
21466                 - Add IP address change notifications at appropriate points (still needs some work)
21467                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21468
21469         * src/NetworkManagerPolicy.h
21470           src/NetworkManagerPolicy.c
21471                 - Split out "best" access point determiniation into separate function
21472                 - Make device activation 2-stage:  first the device is pending, then
21473                         in the next iteration through it becomes "active" unless it has
21474                         pending actions
21475
21476         * src/NetworkManagerUtils.h
21477           src/NetworkManagerUtils.c
21478                 - Clean up unused variables and warnings
21479                 - Wrap our debug macros in {} to prevent possible confusion
21480
21481         * src/NetworkManagerWireless.c
21482                 - Forgot to return current best priority, which lead to last available AP always
21483                         being chosen no matter what its priority was.  Corrected.
21484
21485 2004-07-15  Dan Williams <dcbw@redhat.com>
21486
21487         * dispatcher-daemon/Makefile.am
21488                 - Turn on warnings
21489
21490         * dispatcher-daemon/NetworkManagerDispatcher.c
21491                 - Remove unused variables due to warnings
21492                 - Fix some comments
21493                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21494
21495 2004-07-06  Dan Williams <dcbw@redhat.com>
21496
21497         * src/NetworkManager.c
21498                 - Add IPv4 address update for active device during link state check
21499                 - Don't allow wireless cards to be powered up when they are not the
21500                         active device
21501
21502         * src/NetworkManagerDbus.c
21503           src/NetworkManagerDbus.h
21504                 - Add DBUS IPv4 address change signal
21505                 - Add DBUS IPv4 address get method for devices
21506
21507         * src/NetworkManagerDevice.c
21508                 - Make setting the WEP key actually work
21509                 - Move IP address get/set/update stuff here, per-device
21510                 - Power down/bring down wireless device when deactivated
21511                 - For scanning wireless devices, if first scan returned ENODATA, try again
21512
21513         * src/NetworkManagerPolicy.c
21514                 - Only set the WEP key for an allowed access point if there is one.
21515                         We were setting it to be blank if one wasn't specified.
21516
21517         * src/NetworkManagerUtils.h
21518           src/NetworkManagerUtils.c
21519                 - Move the IP address stuff to NetworkManagerDevice.c
21520
21521         * dispatcher-daemon/NetworkManagerDispatcher.c
21522                 - Add device IPv4 address change notification stuff
21523
21524 2004-07-05  Dan Williams <dcbw@redhat.com>
21525
21526         * dispatcher-daemon/NetworkManagerDispatcher.c
21527                 - A bit more descriptive state message
21528                 - Don't segfault when reading directory
21529
21530         * src/NetworkManager.h
21531                 - Remove NMData desired_ap member, its now
21532                         per-device rather than global
21533
21534         * src/NetworkManager.c
21535                 - Remove references to desired_ap
21536                 - Move the allowed AP list refresh stuff into a thread
21537
21538         * src/NetworkManagerDevice.c
21539           src/NetworkManagerDevice.h
21540                 - Each wireless device now has a "best ap"
21541                 - Make device activate/deactivate functions per-device
21542                 - Make wireless scanning per-device
21543                 - Add IPv4 address discover functions, stub IPv6 ones
21544                 - Move ethernet address validation functions to NetworkManagerUtils.c
21545                 - Add wireless access point accessor function
21546                 - Get/Set functions for "best ap"
21547
21548         * src/NetworkManagerPolicy.c
21549                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21550                 - Deal with per-device "best ap" rather than data->desired_apa
21551                 - Implement allowed access point worker thread
21552                 - Add nm_policy_essid_is_allowed() function
21553
21554         * src/NetworkManagerUtils.c
21555           src/NetworkManagerUtils.h
21556                 - Add nm_ethernet_address_is_valid() function
21557                 - Add IPv4/IPv6 address get functions
21558
21559         * src/NetworkManagerWireless.c
21560           src/NetworkManagerWireless.h
21561                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21562
21563 2004-06-29  Dan Williams <dcbw@redhat.com>
21564
21565         * dispatcher-daemon/NetworkManagerDispatcher.c
21566                 - Implement script callout functionality
21567
21568 2004-06-24  Dan Williams <dcbw@redhat.com>
21569
21570         * NetworkManager.c
21571             - Spacing cleanups
21572             - Flush device routes and ip addresses when added to the device list
21573
21574         * NetworkManagerDbus.c
21575             - Spacing cleanups
21576             - Add missing returns in the two signal functions
21577         
21578         * NetworkManagerPolicy.c
21579             - Spacing and variable cleanups
21580
21581 2004-06-24  Dan Williams <dcbw@redhat.com>
21582
21583         * Makefile.am
21584           Makefile.in
21585           configure.in
21586           dispatcher-daemon/Makefile.am
21587           dispatcher-daemon/Makefile.in
21588           dispatcher-daemon/NetworkManagerDispatcher.c
21589             - Add a daemon that receives signals from NetworkManager
21590                         and will (eventually) call scripts in /etc/somewhere
21591                         when devices go up or down.
21592         
21593         * NetworkManager.c
21594             - Spacing cleanups
21595             - Flush device routes and ip addresses when added to the device list
21596
21597         * NetworkManagerDbus.c
21598             - Spacing cleanups
21599             - Add missing returns in the two signal functions
21600         
21601         * NetworkManagerPolicy.c
21602             - Spacing and variable cleanups
21603             - Rename nm_policy_switch_interface->nm_policy_switch_device
21604             - nm_policy_switch_device():
21605                                 Use kill (pid) instead of system ("kill <pid>")
21606             - nm_state_modification_monitor():
21607                                 Add wireless essid to output of debug statements
21608                                 Correct typo in device compare to switch or not (should be !=)
21609                                 Don't sleep after sending "no longer active" signal, was useless
21610
21611 2004-06-24  Dan Williams <dcbw@redhat.com>
21612
21613         * Initial import